/* 관리자 상단 툴바 */
#board-list .board-admin-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
}

#board-list .chk-all-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
}

#board-list .btn-select-del {
    background: #ef4444;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

/* 체크박스 정렬 및 여백 */
#board-list .board-chk-wrap {
    padding-left: 18px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

#board-list input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #1a3952;
    cursor: pointer;
}
#board-list .board-item {
    display: flex !important;
    align-items: center !important;
}
#board-list {
    padding: 24px 16px;
    box-sizing: border-box;
    background: #ffffff; 
    min-height: calc(100vh - 120px);
}

#board-list .wrap {
    max-width: 500px;
    margin: 0 auto;
}


#board-list .board-list-box {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e8eb;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

#board-list .board-item {
    border-bottom: 1px solid #f1f3f5;
    box-sizing: border-box;
    transition: background 0.15s ease;
}

#board-list .board-item:last-child {
    border-bottom: none;
}

#board-list .board-item:hover {
    background: #f8f9fa;
}

#board-list .gall_li_tit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    text-decoration: none;
    box-sizing: border-box;
}

#board-list .board-subject {
    font-size: 15px;
    font-weight: 500;
    color: #212529;
    letter-spacing: -0.3px;
    padding-right: 10px;
    flex: 1; 
    white-space: normal; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: keep-all; 
    line-height: 1.4;
}

#board-list .gall_li_tit {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

#board-list .board-subject {
    flex: 1;
}

#board-list .board-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
}

#board-list .board-arrow img {
    width: 8px;
    height: 13px;
    display: block;
    object-fit: contain;
    opacity: 0.4;
}

#board-list .empty_table {
    padding: 50px 0;
    text-align: center;
    font-size: 14px;
    color: #6e6e6e;
}

#board-list .board-btn-wrap {
    margin-top: 20px;
    text-align: right;
}

#board-list .board-btn-wrap a {
    display: inline-block !important;
    padding: 12px 24px !important;
    background: #1a3952 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 27px !important; 
    text-decoration: none !important;
    font-family: 'Pretendard', sans-serif !important;
    box-shadow: 0 4px 12px rgba(26, 57, 82, 0.2) !important;
}
/* =========================================
   [게시판] 트렌디한 앱 스타일 페이징 리모델링
========================================= */
#board-list .paging {
    text-align: center;
    margin-top: 35px;
    margin-bottom: 20px;
}

#board-list .paging .pg_wrap {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

#board-list .paging span,
#board-list .paging a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 32px;
    height: 32px;
    margin: 0 2px;
    border-radius: 50%; 
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    background: transparent;
    color: #666666;
    border: none;
    transition: all 0.2s ease;
}

#board-list .paging a:hover {
    background: #f1f3f5;
    color: #111111;
}

#board-list .paging .sound_only {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

#board-list .paging strong,
#board-list .paging .current {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 32px;
    height: 32px;
    margin: 0 2px;
    border-radius: 50%;
    font-size: 13.5px;
    background: #1a3952;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(26, 57, 82, 0.25);
}

#board-list .paging .pg_page.pg_start,
#board-list .paging .pg_page.pg_end,
#board-list .paging .pg_page.pg_prev,
#board-list .paging .pg_page.pg_next {
    border-radius: 16px;
    font-size: 12px;
    color: #6e6e6e;
}


/* =========================================
   [싹다버림] 게시판 뷰페이지(view.skin.php) 모던 리폼 스타일
========================================= */

#bo_v {
    margin: 0 auto 40px;
    padding: 0 16px;
    box-sizing: border-box;

    max-width: 600px;
}

/* 본문을 감싸는 카드 컨테이너 */
article#bo_v {
    background: #ffffff; 
   padding: 0 20px;
    box-sizing: border-box;
}

#bo_v header {
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f3f5;
}

#bo_v_title {
    padding: 0;
    margin: 0 0 6px 0;
    border-bottom: none !important;
}

#bo_v_title span.bo_v_tit {
    display: block;
    font-size: 20px;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.4;
}

#bo_v header p {

    font-size: 13px;
    color: #6e6e6e;
    display: flex;
    align-items: center;

}

#bo_v_info {
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
    color: #666666;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #eaeaea;
    margin-top: 10px;
}
#bo_v_info h2 { display: none; }
#bo_v_info strong { font-weight: normal; color: #555555; }

#bo_v_top {
    margin: 16px 0;
    padding: 0;
}
#bo_v_share{display: none;}
#bo_v_top ul.bo_v_left {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end; 
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#bo_v_top ul.bo_v_left li a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: #f4f6f9;
    color: #495057;
    font-size: 12.5px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #e2e6ea;
    transition: all 0.2s ease;
}

#bo_v_top ul.bo_v_left li a:hover {
    background: #1a3952;
    color: #ffffff;
    border-color: #1a3952;
}

#bo_v_atc {
    padding: 16px 0;
}

#bo_v_con {
    margin-bottom: 24px;
    line-height: 1.75em;
    font-size: 15px;
    color: #212529;
    word-break: keep-all; overflow-wrap: break-word;
}

#bo_v_con img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 12px 0;
}

/* 첨부파일 및 관련링크 박스 */
#bo_v_file, #bo_v_link {
    margin-top: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid #eaeaea;
}

#bo_v_file ul, #bo_v_link ul { margin: 0; padding: 0; list-style: none; }
#bo_v_file li, #bo_v_link li { padding: 4px 0; font-size: 13px; }
#bo_v_file a, #bo_v_link a { color: #1a3952; text-decoration: none; }

/* 하단 이전글 / 다음글 / 목록 버튼 */
.bo_v_nb {
    display: flex;
    gap: 8px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.bo_v_nb li { flex: 1; }

.bo_v_nb li a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    background: #f1f3f5;
    color: #333333;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    box-sizing: border-box;
}

.bo_v_nb li.bo_v_prev a, 
.bo_v_nb li.bo_v_next a {
    background: #f8f9fa;
    border: 1px solid #eaeaea;
}

.bo_v_nb li a.btn_list {
    background: #1a3952;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(26, 57, 82, 0.2);
}
