.native-board-shell { padding-bottom: 70px; min-height: 50vh; }
.native-board-heading { margin-bottom: 0; }
.native-board-shell .sound_only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.native-board-shell #bo_v { width: 100%; }
.native-board-shell #bo_v_info .fhc-board-avatar { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #eee; color: #bbb; font-size: 26px; }
.native-board-shell #bo_v_top { float: right; }
.native-board-shell #bo_v_top .bo_v_com { margin-top: 20px; }
.native-board-shell #bo_v_img img { display: block; max-width: 100%; height: auto; margin: 0 auto 24px; }
.native-board-shell #bo_v_con { overflow-wrap: anywhere; }
.native-board-shell #bo_v_con > .fhc-article-copy { width: 100%; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.native-board-shell #bo_v_con img { max-width: 100%; height: auto; }
.native-board-shell .fhc-board-back { margin: 30px 0; }
.native-board-shell .fhc-board-back a { display: inline-block; padding: 10px 22px; border: 1px solid #ccc; }
.native-board-shell #bo_vc { border-top: 1px solid #eee; padding: 20px 0 50px; }
.native-board-shell #bo_vc h2 { font-size: 20px; }
.native-board-shell #bo_vc p { padding: 30px 0; text-align: center; color: #777; }
.native-board-shell #bo_btn_top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.native-board-shell #bo_btn_top::after { content: none !important; display: none !important; }
.native-board-shell .fhc-g7-board-search { display: flex; gap: 8px; }
.native-board-shell .fhc-g7-board-search input { width: 200px; padding: 8px 12px; border: 1px solid #ddd; border-radius: 3px; }
.native-board-shell .fhc-g7-board-search button { padding: 8px 14px; border: 1px solid #ddd; background: white; cursor: pointer; }
.native-board-shell .fhc-board-empty { text-align: center; padding: 60px 0; }
.native-board-shell .pg_wrap { display: block; text-align: center; margin: 25px 0; }
.native-board-shell .pg_wrap a {display: inline-block;aspect-ratio: 1 / 1;display: flex;align-items: center;width: 36px;justify-content: center;}
.native-board-shell .pg_wrap .pg_current {color: #fff;background: #1468c4;}
@media (max-width: 767px) {
    .native-board-shell #bo_btn_top { align-items: stretch; flex-direction: column; }
    .native-board-shell .fhc-g7-board-search { width: 100%; min-width: 0; }
    .native-board-shell .fhc-g7-board-search label { flex: 1 1 auto; min-width: 0; }
    .native-board-shell .fhc-g7-board-search input { width: 100%; min-width: 0; }
    .native-board-shell .fhc-g7-board-search button { flex: 0 0 auto; min-width: 64px; white-space: nowrap; }
}

/* G7 게시물 배열: 기존 게시판의 전체 폭 표와 같은 높이의 갤러리 행. */
body[data-native-board] .native-board-shell #bo_list .tbl_wrap,
body[data-native-board] .native-board-shell #bo_list table { width: 100%; }
body[data-native-board] .native-board-shell #bo_list table { table-layout: fixed; border-collapse: collapse; }
body[data-native-board] .native-board-shell #bo_list .td_num2,
body[data-native-board] .native-board-shell #bo_list th:first-child { width: 72px; }
body[data-native-board] .native-board-shell #bo_list .td_name,
body[data-native-board] .native-board-shell #bo_list th:last-child { width: 130px; }

/* 목록의 각 게시글을 표의 행으로 구분합니다. */
body[data-native-board] .native-board-shell #bo_list .tbl_head01 thead th {
    border-bottom: 1px solid #b9cfe2;
    padding: 12px 10px;
}
body[data-native-board] .native-board-shell #bo_list .tbl_head01 tbody td {
    border-bottom: 1px solid #dce5ee;
    padding-left: 10px;
    padding-right: 10px;
}
body[data-native-board] .native-board-shell #bo_list .tbl_head01 tbody tr:hover td {
    background: #f4f9fd;
}
body[data-native-board] .native-board-shell #bo_list .tbl_head01 th:nth-child(2),
body[data-native-board] .native-board-shell #bo_list .tbl_head01 .td_subject {
    text-align: left;
}

body[data-native-board] .native-board-shell #bo_gall #gall_ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    width: 100%; margin: 10px 0 0; padding: 0;
}
body[data-native-board] .native-board-shell #bo_gall .gall_li,
body[data-native-board] .native-board-shell #bo_gall .gall_box,
body[data-native-board] .native-board-shell #bo_gall .gall_con { height: 100%; min-width: 0; }
body[data-native-board] .native-board-shell #bo_gall .gall_con { display: flex; flex-direction: column; }
body[data-native-board] .native-board-shell #bo_gall .gall_img {
    width: 100%; height: auto !important; aspect-ratio: 3 / 2 !important;
    flex: none; overflow: hidden;
}
body[data-native-board] .native-board-shell #bo_gall .gall_img > a {
    width: 100%; height: 100% !important; aspect-ratio: auto !important;
}
body[data-native-board] .native-board-shell #bo_gall .gall_img img {
    width: 100% !important; height: 100% !important; object-fit: cover;
}
body[data-native-board] .native-board-shell #bo_gall .gall_img img.fhc-placeholder-thumb {
    object-fit: contain; padding: 12%; background: #edf3f8;
}
body[data-native-board] .native-board-shell #bo_gall .gall_text_href { margin: 14px 0 8px; }
body[data-native-board] .native-board-shell #bo_gall .bo_tit {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    overflow: hidden; line-height: 1.45; min-height: 2.9em;
}
body[data-native-board] .native-board-shell #bo_gall .bo_cnt {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
    overflow: hidden; line-height: 1.6; min-height: 4.8em;
    overflow-wrap: anywhere;
    color: #526274;
}
body[data-native-board] .native-board-shell #bo_gall .gall_info {
    margin-top: auto; color: #66788a; font-size: 14px;
}

@media (max-width: 850px) {
    body[data-native-board] .native-board-shell #bo_gall #gall_ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body[data-native-board] .native-board-shell #bo_list th:first-child,
    body[data-native-board] .native-board-shell #bo_list .td_num2 { display: none; }
    body[data-g7-board-slug="voice"] .native-board-shell #bo_list th:nth-child(2) { padding-left: 12px; }
}
@media (max-width: 650px) {
    body[data-native-board] .native-board-shell #bo_gall #gall_ul {
        grid-template-columns: minmax(0, 1fr);
    }
    body[data-native-board] .native-board-shell #bo_list .td_name,
    body[data-native-board] .native-board-shell #bo_list th:last-child { width: 98px; }
    body[data-native-board] .native-board-shell #bo_list .td_name { white-space: nowrap; font-size: 13px; }
    body[data-native-board] .native-board-shell #bo_list .td_subject { overflow-wrap: anywhere; }
}

/* 게시판 페이지 이동은 현재 위치 주변만 보여 모바일에서 한 줄로 유지합니다. */
.native-board-shell .pg_wrap { margin: 28px 0 40px; }
.native-board-shell .pg_wrap .pg,
.native-board-shell .pg_wrap .pg_numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.native-board-shell .pg_wrap .pg_numbers--mobile { display: none; }
.native-board-shell .pg_wrap .pg a,
.native-board-shell .pg_wrap .pg .pg_disabled {
    display: grid;
    flex: 0 0 40px;
    place-items: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    color: #1d344b;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
}
.native-board-shell .pg_wrap .pg a:hover,
.native-board-shell .pg_wrap .pg a:focus-visible { border-color: #1468c4; }
.native-board-shell .pg_wrap .pg .pg_current {
    border-color: #1468c4;
    background: #1468c4;
    color: #fff;
}
.native-board-shell .pg_wrap .pg .pg_disabled {
    background: #f8f8f8;
    color: #9ca8b3;
}
@media (max-width: 650px) {
    body[data-native-board] .native-board-shell #bo_list .tbl_head01 thead { display: none; }
    body[data-native-board] .native-board-shell #bo_list .tbl_head01 tbody tr {
        display: block;
        padding: 14px 0;
        border-left: 0;
        border-bottom: 1px solid #dce5ee;
    }
    body[data-native-board] .native-board-shell #bo_list .tbl_head01 tbody td.td_subject,
    body[data-native-board] .native-board-shell #bo_list .tbl_head01 tbody td.td_name {
        display: block;
        width: 100%;
        padding: 0 10px;
        border: 0;
        text-align: left;
    }
    body[data-native-board] .native-board-shell #bo_list .tbl_head01 .td_subject .bo_tit {
        display: block;
        line-height: 1.5;
    }
    body[data-native-board] .native-board-shell #bo_list .tbl_head01 tbody td.td_name {
        margin-top: 5px;
        color: #647687;
        font-size: 12px;
        line-height: 1.4;
    }
    .native-board-shell .pg_wrap .pg { gap: 4px; }
    .native-board-shell .pg_wrap .pg_numbers { gap: 4px; }
    .native-board-shell .pg_wrap .pg_numbers--desktop { display: none; }
    .native-board-shell .pg_wrap .pg_numbers--mobile { display: flex; }
    .native-board-shell .pg_wrap .pg a,
    .native-board-shell .pg_wrap .pg .pg_disabled {
        flex-basis: 34px;
        width: 34px;
        min-width: 34px;
        height: 38px;
        font-size: 13px;
    }
}
