/* ============================================================
   research_news — 사업소식 및 행사 리스트형 게시판 보조 CSS
   핵심 레이아웃: research01-02.css (bn-list-research01.type02 전용)
   본 파일: 관리자 체크박스 / 미게시·삭제 상태 / 상세 페이지 보조
   ============================================================ */

/* ── 카드 a 태그 기본 ── */
.research-news-list a {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

/* ── 관리자 체크박스 (카드 좌상단) ──
   솔루션 board.admin.js `makeControll()` 이 페이지 로드 시 `<input type="checkbox">` 를
   우리 빈 `<span class="article-chk">` 안에 자동 append. 따라서 시각 표시는 input 자체가 담당.
   우리 span 은 위치만 잡고 background/border/::after 없음 (이중 표시 방지). */
.bn-list-research01.type02.research-news-list .article-chk,
.research-news-list .article-chk {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    z-index: 5;
    display: block;
    width: auto;
    height: auto;
    background: transparent;
    border: 0;
    line-height: 0;
}
.research-news-list .article-chk input[type=checkbox] {
    width: 22px;
    height: 22px;
    margin: 0;
    cursor: pointer;
    accent-color: #01367E;
}

/* ── 상단 "전체 선택/비선택" 체크박스 ──
   `<span class="chk-toggle">` 안에도 board.admin.js 가 `<input id="adm-chk">` 자동 append.
   span 자체는 시각 표시 없이 input 만 보이게. */
.research-news-list .b-top-info-wrap .adm-chk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.research-news-list .b-top-info-wrap .chk-toggle {
    display: inline-block;
    line-height: 0;
    vertical-align: middle;
    background: transparent;
    border: 0;
    width: auto;
    height: auto;
}
.research-news-list .b-top-info-wrap .chk-toggle input[type=checkbox] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #01367E;
}
.research-news-list .b-top-info-wrap .adm-chk label {
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

/* ── 미게시 (관리자 목록) ── */
.research-news-list li.unpublished {
    opacity: 0.5;
}

/* ── 삭제됨 (deleteYn='Y') — thesis 패턴 따라 숨기지 않고 취소선/회색 표시.
   관리자 목록에서 삭제글이 보여야 복구가 가능하므로 display:none 금지. */
.research-news-list li.deleted .b-title-box,
.research-news-list li.deleted .b-title {
    text-decoration: line-through;
    color: #999;
}
.research-news-list li.deleted .b-img-box {
    opacity: 0.5;
}

/* ── 빈 목록 ── */
.research-news-list li.b-no-post {
    text-align: center;
    padding: 80px 0;
    color: #999;
    list-style: none;
}

/* ── 상단 관리자 체크박스 영역 ── */
.research-news-list .b-top-info-wrap {
    padding: 0 0 16px;
}

/* ── 상세 페이지 ── */
.research-news-view .b-view-title {
    font-size: 24px;
    font-weight: bold;
    padding: 16px 0;
    border-bottom: 1px solid #e5e5e5;
}

.research-news-view .b-view-info {
    color: #888;
    padding: 12px 0;
    font-size: 14px;
}

.research-news-view .b-view-content {
    padding: 32px 0;
    min-height: 200px;
    line-height: 1.6;
}
