@charset "utf-8";

:root {
    --g5-bg: #f5f7fb;
    --g5-surface: #fff;
    --g5-surface-2: #f8fafc;
    --g5-text: #191f28;
    --g5-muted: #6b7684;
    --g5-faint: #8b95a1;
    --g5-line: #e5e8eb;
    --g5-blue: #3182f6;
    --g5-blue-hover: #1b64da;
    --g5-shadow: 0 10px 30px rgba(25, 31, 40, 0.08);
    --g5-radius: 8px;
    --g5-radius-lg: 12px;
}

:root.dark {
    --g5-bg: #101317;
    --g5-surface: #171b21;
    --g5-surface-2: #20252d;
    --g5-text: #f2f4f6;
    --g5-muted: #b0b8c1;
    --g5-faint: #8b95a1;
    --g5-line: #2b313a;
    --g5-blue: #4593fc;
    --g5-blue-hover: #65a7ff;
    --g5-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

html { background: var(--g5-bg); }
body {
    min-width: 0;
    background: var(--g5-bg);
    color: var(--g5-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    font-size: 15px;
    line-height: 1.55;
    letter-spacing: 0;
}

a { color: inherit; }
a:hover { color: var(--g5-blue); text-decoration: none; }

#hd, #wrapper, #ft { min-width: 0; }
#hd_pop, #hd_wrapper, #tnb .inner, #gnb .gnb_wrap, #container_wr, #ft_wr {
    width: min(1120px, calc(100% - 32px));
}

#hd {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(229, 232, 235, 0.86);
    backdrop-filter: saturate(180%) blur(16px);
}

:root.dark #hd {
    background: rgba(23, 27, 33, 0.88);
    border-bottom-color: rgba(43, 49, 58, 0.88);
}

#tnb {
    border-bottom: 0;
    background: transparent;
}

#tnb .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
    margin: 0 auto;
}

#hd_define, #hd_qnb {
    display: flex;
    align-items: center;
    gap: 8px;
    float: none;
}

#hd_define li, #hd_qnb li {
    float: none;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 1;
    font-size: 13px;
}

#hd_define li a, #hd_qnb li a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--g5-muted);
    font-weight: 600;
}

#hd_define li.active a, #hd_define li a:hover, #hd_qnb li a:hover {
    background: var(--g5-surface-2);
    color: var(--g5-text);
}

#hd_qnb .visit .visit-num {
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    margin-left: 6px;
    padding: 0 6px;
    background: var(--g5-blue);
    color: #fff;
    font-size: 11px;
}

#hd_wrapper {
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr) auto;
    gap: 28px;
    align-items: center;
    height: 84px;
    margin: 0 auto;
}

#logo {
    float: none;
    padding: 0;
}

#logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--g5-text);
}

#logo img {
    width: auto;
    max-width: 154px;
    max-height: 36px;
}

.hd_sch_wr {
    float: none;
    width: auto;
    max-width: 480px;
    margin: 0;
    padding: 0;
    justify-self: stretch;
}

#hd_sch {
    height: 46px;
    border: 1px solid var(--g5-line);
    border-radius: 999px;
    background: var(--g5-surface-2);
    overflow: hidden;
}

#hd_sch form {
    display: flex;
    height: 100%;
}

#hd_sch #sch_stx {
    float: none;
    flex: 1;
    width: auto;
    height: 44px;
    padding: 0 18px;
    border: 0 !important;
    border-radius: 0;
    background: transparent;
    color: var(--g5-text);
    font-size: 15px;
}

#hd_sch #sch_submit {
    float: none;
    width: 48px;
    height: 44px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--g5-muted);
}

.hd_login {
    position: static;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.hd_login li {
    float: none;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 1;
}

.hd_login a {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 14px;
    border: 1px solid var(--g5-line);
    border-radius: 999px;
    background: var(--g5-surface);
    color: var(--g5-text);
    font-size: 14px;
    font-weight: 700;
}

.hd_login li:last-child a, .hd_login .tnb_admin a {
    border-color: var(--g5-blue);
    background: var(--g5-blue);
    color: #fff;
}

#gnb {
    background: transparent;
}

#gnb #gnb_1dul {
    display: flex;
    gap: 4px;
    padding: 0 0 14px;
    border-bottom: 0;
    overflow-x: auto;
}

#gnb .gnb_1dli {
    float: none;
    line-height: 1;
}

#gnb .gnb_mnal {
    order: 10;
    margin-left: auto;
}

.gnb_1da {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--g5-muted);
    font-size: 15px;
    font-weight: 800;
}

#gnb .gnb_1dli:hover > a, .gnb_1da:hover {
    background: var(--g5-surface-2);
    color: var(--g5-blue);
}

#gnb .gnb_menu_btn {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--g5-surface-2);
    color: var(--g5-text);
}

#gnb_all {
    top: 46px;
    border: 1px solid var(--g5-line);
    border-radius: var(--g5-radius-lg);
    background: var(--g5-surface);
    box-shadow: var(--g5-shadow);
    overflow: hidden;
}

.gnb_mobile_links {
    display: none;
}

#wrapper {
    padding: 34px 0 56px;
    background: var(--g5-bg);
}

#container_wr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    margin: 0 auto;
}

#container {
    float: none;
    width: auto;
    min-width: 0;
    min-height: 560px;
    margin: 0;
    font-size: 1rem;
}

#aside {
    float: none;
    width: auto;
    margin: 0;
}

#container_title {
    margin: 0 0 18px;
    font-size: 28px;
    font-weight: 900;
    color: var(--g5-text);
}

#container_title span {
    margin: 0;
    line-height: 1.25;
}

.latest_top_wr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 22px;
}

.latest_wr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
}

.lt_wr {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.lat, .pic_lt, .new_win_con, .ol, .poll, .visit, #bo_list, #bo_v, #bo_w, .bo_sch, .tbl_head01, .tbl_frm01, .login, .register {
    border: 1px solid var(--g5-line) !important;
    border-radius: var(--g5-radius-lg) !important;
    background: var(--g5-surface) !important;
    box-shadow: 0 1px 2px rgba(25, 31, 40, 0.03);
}

.latest_top_wr > *, .latest_wr > * {
    width: 100% !important;
    min-width: 0;
    float: none !important;
    clear: none !important;
}

.pic_li_lt {
    position: relative;
    width: 100% !important;
    float: none !important;
    padding: 20px !important;
    background: var(--g5-surface) !important;
}

.pic_li_lt .lat_title {
    display: block;
    margin: 0 56px 16px 0 !important;
    line-height: 1.35 !important;
    color: var(--g5-text) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

.pic_li_lt .lt_more, .pic_lt .lt_more, .lat .lt_more {
    top: 18px !important;
    right: 18px !important;
    width: auto !important;
    min-width: 40px;
    color: var(--g5-blue) !important;
    font-weight: 800;
}

.pic_li_lt li, .lat li {
    margin-bottom: 0 !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--g5-line) !important;
}

.pic_li_lt li:first-child {
    padding-top: 0 !important;
}

.pic_li_lt li .lt_img {
    display: block !important;
    width: 100%;
    margin: 0 0 12px !important;
    overflow: hidden;
    border-radius: 8px;
    background: var(--g5-surface-2);
}

.pic_li_lt li:not(:first-child) .lt_img {
    display: none !important;
}

.pic_li_lt li .pic_li_tit, .lat li a {
    display: inline;
    color: var(--g5-text) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

.lt_info {
    padding: 8px 0 0 !important;
    color: var(--g5-muted);
    font-size: 14px;
}

.pic_li_lt .empty_li, .lat .empty_li, .pic_lt .empty_li {
    display: flex;
    float: none !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 160px;
    padding: 24px !important;
    color: var(--g5-muted) !important;
    line-height: 1.6 !important;
    text-align: center;
}

.lat, .pic_lt, .pic_li_lt {
    padding: 20px !important;
}

.lat_title, .pic_lt h2, .lt_title {
    margin-bottom: 14px !important;
    color: var(--g5-text) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

.lat_title a, .pic_lt h2 a, .lt_title a {
    color: inherit !important;
}

.lat li, .pic_lt li {
    border-color: var(--g5-line) !important;
}

.lt_more, .lat .lt_more {
    color: var(--g5-blue) !important;
    font-weight: 800;
}

#bo_list {
    padding: 22px;
}

#bo_btn_top, .bo_fx {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 16px;
}

#bo_list_total {
    float: none;
    color: var(--g5-muted);
    font-size: 14px;
}

.btn_bo_user {
    display: flex;
    gap: 8px;
    float: none;
}

.btn, .btn_b01, .btn_b02, .btn_admin, .btn_submit, .btn_cancel, .btn_frmline, .pg_page, .pg_current {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px !important;
    border: 1px solid var(--g5-line) !important;
    border-radius: 8px !important;
    background: var(--g5-surface) !important;
    color: var(--g5-text) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.btn_submit, .btn_b02, #bo_w .btn_submit, .btn_bo_user .btn_b01:last-child {
    border-color: var(--g5-blue) !important;
    background: var(--g5-blue) !important;
    color: #fff !important;
}

.btn:hover, .btn_b01:hover, .btn_submit:hover {
    transform: translateY(-1px);
}

.tbl_wrap {
    border: 0 !important;
    overflow-x: auto;
}

.tbl_head01 table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.tbl_head01 thead th {
    height: 44px;
    border: 0 !important;
    border-bottom: 1px solid var(--g5-line) !important;
    background: var(--g5-surface-2) !important;
    color: var(--g5-muted) !important;
    font-size: 13px;
    font-weight: 800;
}

.tbl_head01 tbody td {
    height: 58px;
    border: 0 !important;
    border-bottom: 1px solid var(--g5-line) !important;
    background: transparent !important;
    color: var(--g5-text);
}

.tbl_head01 tbody tr:hover {
    background: var(--g5-surface-2);
}

.td_subject .bo_tit a {
    color: var(--g5-text);
    font-size: 16px;
    font-weight: 800;
}

.td_name, .td_num, .td_num2, .td_datetime {
    color: var(--g5-muted) !important;
}

.new_icon, .notice_icon, .cnt_cmt, .bo_cate_link {
    border-radius: 999px !important;
    background: #eef6ff !important;
    color: var(--g5-blue) !important;
    font-weight: 900 !important;
}

:root.dark .new_icon, :root.dark .notice_icon, :root.dark .cnt_cmt, :root.dark .bo_cate_link {
    background: rgba(49, 130, 246, 0.16) !important;
}

.pg_wrap {
    margin: 22px 0 0;
}

.pg {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.pg_current {
    border-color: var(--g5-blue) !important;
    background: var(--g5-blue) !important;
    color: #fff !important;
}

.bo_sch_wrap {
    background: rgba(25, 31, 40, 0.28) !important;
}

.bo_sch {
    padding: 22px !important;
    box-shadow: var(--g5-shadow);
}

input[type=text], input[type=password], input[type=email], input[type=number], textarea, select {
    min-height: 40px;
    border: 1px solid var(--g5-line) !important;
    border-radius: 8px !important;
    background: var(--g5-surface) !important;
    color: var(--g5-text) !important;
    box-shadow: none !important;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--g5-blue) !important;
    box-shadow: 0 0 0 3px rgba(49, 130, 246, 0.14) !important;
}

#aside > * {
    margin-bottom: 18px !important;
}

#ft {
    background: #111827;
    color: #d1d6de;
}

#ft_wr {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 26px;
    width: min(1120px, calc(100% - 32px));
    max-width: none;
    margin: 0 auto;
    padding: 38px 0;
}

#ft_wr .ft_cnt {
    float: none;
    width: auto;
    padding: 0;
}

#ft_link a {
    color: #e5e7eb;
    font-weight: 800;
}

#ft_company, #ft_company h2 {
    color: #d1d6de;
}

#ft_copy {
    width: min(1120px, calc(100% - 32px));
    border-top-color: rgba(255, 255, 255, 0.08);
    color: #8b95a1;
}

#top_btn {
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    line-height: 40px;
    border: 1px solid var(--g5-line);
    border-radius: 999px;
    background: var(--g5-surface);
    color: var(--g5-text);
    box-shadow: var(--g5-shadow);
}

@media (max-width: 980px) {
    #hd_wrapper {
        grid-template-columns: 1fr auto;
        height: auto;
        padding: 16px 0;
    }

    .hd_sch_wr {
        grid-column: 1 / -1;
        order: 3;
        max-width: none;
    }

    #container_wr {
        grid-template-columns: 1fr;
    }

    #aside {
        display: block;
        width: 100%;
        margin-top: 16px;
    }

    #aside .ol,
    #aside #ol_before,
    #aside #ol_after {
        display: none !important;
    }

    .latest_top_wr, .latest_wr {
        grid-template-columns: 1fr;
    }

    #ft_wr {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    #hd_pop, #hd_wrapper, #tnb .inner, #gnb .gnb_wrap, #container_wr, #ft_wr {
        width: min(100% - 20px, 1120px);
    }

    #tnb .inner {
        height: auto;
        padding: 10px 0;
        align-items: flex-start;
        gap: 8px;
        flex-direction: column;
    }

    #hd_wrapper {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hd_login {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    #wrapper {
        padding: 20px 0 40px;
    }

    #container_title {
        font-size: 24px;
    }

    #bo_list {
        padding: 16px;
    }

    #bo_btn_top, .bo_fx {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    #aside, #ft_wr {
        grid-template-columns: 1fr;
    }

    .tbl_head01 thead {
        display: none;
    }

    .tbl_head01 table, .tbl_head01 tbody, .tbl_head01 tr, .tbl_head01 td {
        display: block;
        width: 100%;
    }

    .tbl_head01 tbody tr {
        padding: 14px 0;
        border-bottom: 1px solid var(--g5-line);
    }

    .tbl_head01 tbody td {
        height: auto;
        padding: 4px 0 !important;
        border: 0 !important;
    }

    .td_num2, .td_num, .td_datetime {
        display: inline-block !important;
        width: auto !important;
        margin-right: 10px;
        font-size: 13px;
    }
}

/* Notion-like visual layer */
:root {
    --g5-bg: #fbfbfa;
    --g5-surface: #ffffff;
    --g5-surface-2: #f7f7f5;
    --g5-text: #2f3437;
    --g5-muted: #6f6f68;
    --g5-faint: #9b9a97;
    --g5-line: #e6e4df;
    --g5-blue: #2f3437;
    --g5-blue-hover: #111315;
    --g5-shadow: 0 1px 2px rgba(15, 15, 15, 0.04);
    --g5-radius: 6px;
    --g5-radius-lg: 8px;
}

:root.dark {
    --g5-bg: #191919;
    --g5-surface: #202020;
    --g5-surface-2: #2a2a2a;
    --g5-text: #ededed;
    --g5-muted: #b9b9b3;
    --g5-faint: #8f8f89;
    --g5-line: #373737;
    --g5-blue: #ededed;
    --g5-blue-hover: #ffffff;
    --g5-shadow: none;
}

body {
    background: var(--g5-bg);
    color: var(--g5-text);
    font-size: 15px;
    line-height: 1.65;
}

a:hover {
    color: var(--g5-text);
    background: rgba(55, 53, 47, 0.08);
}

#hd {
    position: static;
    background: rgba(251, 251, 250, 0.92);
    border-bottom: 1px solid var(--g5-line);
    backdrop-filter: blur(10px);
}

:root.dark #hd {
    background: rgba(25, 25, 25, 0.92);
}

#hd_pop,
#hd_wrapper,
#tnb .inner,
#gnb .gnb_wrap,
#container_wr,
#ft_wr {
    width: min(1080px, calc(100% - 40px));
}

#tnb .inner {
    height: 38px;
}

#hd_define li a,
#hd_qnb li a {
    min-height: 28px;
    padding: 0 8px;
    border-radius: 4px;
    color: var(--g5-muted);
    font-size: 13px;
    font-weight: 600;
}

#hd_define li.active a,
#hd_define li a:hover,
#hd_qnb li a:hover {
    background: rgba(55, 53, 47, 0.08);
    color: var(--g5-text);
}

#hd_qnb .visit .visit-num {
    background: rgba(55, 53, 47, 0.12);
    color: var(--g5-text);
}

#hd_wrapper {
    grid-template-columns: auto minmax(260px, 420px) auto;
    height: 72px;
    gap: 22px;
}

#logo img {
    max-width: 112px;
    max-height: 32px;
}

#hd_sch {
    height: 40px;
    border-radius: 6px;
    background: rgba(242, 241, 238, 0.78);
}

#hd_sch #sch_stx {
    height: 38px;
    padding: 0 14px;
    font-size: 14px;
}

#hd_sch #sch_submit {
    height: 38px;
}

.hd_login a {
    height: 34px;
    padding: 0 11px;
    border-color: transparent;
    border-radius: 4px;
    background: transparent;
    color: var(--g5-muted);
    font-size: 13px;
}

.hd_login li:last-child a,
.hd_login .tnb_admin a {
    border-color: #2f3437;
    background: #2f3437;
    color: #fff;
}

:root.dark .hd_login li:last-child a,
:root.dark .hd_login .tnb_admin a {
    border-color: #ededed;
    background: #ededed;
    color: #191919;
}

#gnb #gnb_1dul {
    padding-bottom: 12px;
}

.gnb_1da {
    height: 34px;
    padding: 0 10px;
    border-radius: 4px;
    color: var(--g5-muted);
    font-size: 14px;
    font-weight: 650;
}

#gnb .gnb_1dli:hover > a,
.gnb_1da:hover {
    background: rgba(55, 53, 47, 0.08);
    color: var(--g5-text);
}

#gnb .gnb_menu_btn {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    background: transparent;
}

#gnb .gnb_menu_btn:hover {
    background: rgba(55, 53, 47, 0.08);
}

#wrapper {
    padding: 38px 0 64px;
    background: var(--g5-bg);
}

#container_wr {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 30px;
}

#container_title {
    margin-bottom: 22px;
    font-size: 30px;
    font-weight: 760;
    letter-spacing: 0;
}

.lat,
.pic_lt,
.pic_li_lt,
.new_win_con,
.ol,
.poll,
.visit,
#bo_list,
#bo_v,
#bo_w,
.bo_sch,
.tbl_head01,
.tbl_frm01,
.login,
.register {
    border: 1px solid var(--g5-line) !important;
    border-radius: 8px !important;
    background: var(--g5-surface) !important;
    box-shadow: none !important;
}

.lat,
.pic_lt,
.pic_li_lt {
    padding: 18px !important;
}

.lat_title,
.pic_lt h2,
.lt_title,
.pic_li_lt .lat_title {
    color: var(--g5-text) !important;
    font-size: 17px !important;
    font-weight: 760 !important;
}

.latest_top_wr {
    gap: 16px;
}

.latest_wr {
    gap: 16px;
}

@media (max-width: 980px) {
    #container_wr.idx_container_wr {
        grid-template-columns: minmax(0, 1fr);
    }

    #container_wr.idx_container_wr #aside {
        display: none;
    }

    #container_wr.idx_container_wr .latest_top_wr,
    #container_wr.idx_container_wr .latest_wr {
        grid-template-columns: minmax(0, 1fr);
    }

    #container_wr.idx_container_wr .latest_top_wr > *,
    #container_wr.idx_container_wr .latest_wr > *,
    #container_wr.idx_container_wr .pic_li_lt,
    #container_wr.idx_container_wr .lt_wr,
    #container_wr.idx_container_wr .lat {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }

    #tnb {
        display: none;
    }

    #hd_wrapper {
        grid-template-columns: auto 1fr auto;
    }

    .hd_login {
        display: none;
    }

    #gnb .gnb_wrap {
        display: flex;
        justify-content: flex-end;
    }

    #gnb #gnb_1dul {
        display: flex;
        justify-content: flex-end;
        padding-bottom: 12px;
    }

    #gnb #gnb_1dul > .gnb_1dli:not(.gnb_mnal) {
        display: none;
    }

    #gnb .gnb_mnal {
        margin-left: 0;
    }

    #gnb_all {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        z-index: 1001;
        width: min(360px, calc(100% - 48px));
        height: 100vh;
        overflow-y: auto;
        border: 0;
        border-left: 1px solid var(--g5-line);
        border-radius: 0;
        box-shadow: -10px 0 24px rgba(0, 0, 0, 0.14);
    }

    #gnb_all h2 {
        padding: 18px 56px 16px 20px;
        border-bottom: 1px solid var(--g5-line);
        color: var(--g5-text);
        font-size: 18px;
    }

    #gnb_all .gnb_close_btn {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        border-radius: 4px;
        background: transparent;
        color: var(--g5-muted);
    }

    #gnb_all_bg {
        background: rgba(0, 0, 0, 0.32);
    }

    .gnb_mobile_links {
        display: block;
        padding: 14px 16px;
        border-bottom: 1px solid var(--g5-line);
    }

    .gnb_mobile_section {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 6px 0;
    }

    .gnb_mobile_section a {
        display: flex;
        align-items: center;
        min-height: 38px;
        padding: 8px 10px;
        border-radius: 4px;
        background: var(--g5-surface-2);
        color: var(--g5-text);
        font-weight: 650;
    }

    .gnb_mobile_section strong {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 20px;
        height: 20px;
        margin-left: 6px;
        padding: 0 6px;
        border-radius: 999px;
        background: rgba(55, 53, 47, 0.12);
        color: var(--g5-text);
        font-size: 12px;
    }

    #gnb_all .gnb_al_ul {
        display: block;
        padding: 10px 16px 22px;
    }

    #gnb_all .gnb_al_li {
        float: none;
        width: 100%;
        min-height: 0;
        padding: 10px 0;
        border-left: 0;
        border-bottom: 1px solid var(--g5-line);
    }

    #gnb_all .gnb_al_li .gnb_al_a {
        margin-bottom: 6px;
        color: var(--g5-text);
        font-size: 16px;
    }

    #gnb_all .gnb_al_li li {
        line-height: 1.6;
    }

    #gnb_all .gnb_al_li li a {
        display: block;
        padding: 5px 0;
        color: var(--g5-muted);
    }
}

.pic_li_lt li,
.lat li {
    padding: 10px 0 !important;
}

.pic_li_lt li .lt_img {
    border-radius: 4px;
    background: var(--g5-surface-2);
}

.pic_li_lt li .lt_img img,
.pic_li_lt li .lt_img video,
.pic_lt li .lt_img img,
.pic_lt li .lt_img video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.pic_li_lt li .pic_li_tit,
.lat li a,
.td_subject .bo_tit a {
    color: var(--g5-text) !important;
    font-size: 15px !important;
    font-weight: 650 !important;
}

.lt_info,
#bo_list_total,
.td_name,
.td_num,
.td_num2,
.td_datetime {
    color: var(--g5-muted) !important;
}

.lt_more,
.lat .lt_more,
.pic_li_lt .lt_more,
.pic_lt .lt_more {
    color: var(--g5-muted) !important;
    font-weight: 650;
}

.lt_more:hover,
.lat .lt_more:hover,
.pic_li_lt .lt_more:hover,
.pic_lt .lt_more:hover {
    color: var(--g5-text) !important;
    background: rgba(55, 53, 47, 0.08);
}

#bo_list {
    padding: 20px;
}

.btn,
.btn_b01,
.btn_b02,
.btn_admin,
.btn_submit,
.btn_cancel,
.btn_frmline,
.pg_page,
.pg_current {
    min-height: 34px;
    padding: 0 12px !important;
    border-color: transparent !important;
    border-radius: 4px !important;
    background: rgba(55, 53, 47, 0.08) !important;
    color: var(--g5-text) !important;
    font-size: 14px;
    font-weight: 650 !important;
}

.btn_submit,
.btn_b02,
#bo_w .btn_submit,
.btn_bo_user .btn_b01:last-child {
    border-color: #2f3437 !important;
    background: #2f3437 !important;
    color: #fff !important;
}

.btn:hover,
.btn_b01:hover,
.btn_submit:hover {
    transform: none;
    filter: brightness(0.97);
}

.tbl_head01 thead th {
    height: 42px;
    background: var(--g5-surface) !important;
    color: var(--g5-muted) !important;
    font-weight: 650;
}

.tbl_head01 tbody td {
    height: 54px;
}

.tbl_head01 tbody tr:hover {
    background: rgba(55, 53, 47, 0.04);
}

.new_icon,
.notice_icon,
.cnt_cmt,
.bo_cate_link {
    background: rgba(55, 53, 47, 0.08) !important;
    color: var(--g5-muted) !important;
    border-radius: 4px !important;
}

.pg_current {
    border-color: #2f3437 !important;
    background: #2f3437 !important;
    color: #fff !important;
}

input[type=text],
input[type=password],
input[type=email],
input[type=number],
textarea,
select {
    border-radius: 4px !important;
    background: var(--g5-surface) !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #9b9a97 !important;
    box-shadow: 0 0 0 2px rgba(55, 53, 47, 0.12) !important;
}

#ft {
    border-top: 1px solid var(--g5-line);
    background: var(--g5-bg);
    color: var(--g5-muted);
}

#ft_wr {
    padding: 34px 0;
}

#ft_link a,
#ft_company,
#ft_company h2 {
    color: var(--g5-muted);
}

#ft .lat,
#ft .visit,
#ft .notice,
#ft #visit {
    border: 0 !important;
    background: transparent !important;
    color: var(--g5-muted) !important;
}

#ft .lat_title,
#ft .lat_title a,
#ft .notice h2,
#ft .notice h2 a,
#ft .visit h2,
#ft #visit h2,
#ft .visit strong,
#ft #visit dd strong,
#ft .visit a {
    color: var(--g5-text) !important;
}

#ft .lat li,
#ft .visit li,
#ft .notice li {
    border-color: var(--g5-line) !important;
}

#ft .empty_li,
#ft .notice li.empty_li,
#ft .notice li a,
#ft .lat li a,
#ft .visit span,
#ft #visit dt,
#ft #visit dd {
    color: var(--g5-muted) !important;
}

/* Responsive and dark-mode fixes */
#logo a span {
    color: var(--g5-text);
    font-weight: 760;
}

#logo img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.hd_login .top_action a {
    border-color: #2f3437;
    background: #2f3437;
    color: #fff;
}

:root.dark .hd_login .top_action a {
    border-color: #ededed;
    background: #ededed;
    color: #191919;
}

#theme_toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--g5-muted);
}

#theme_toggle:hover {
    background: rgba(55, 53, 47, 0.08);
    color: var(--g5-text);
}

:root.dark #hd_sch {
    background: var(--g5-surface-2);
}

:root.dark #hd_sch #sch_submit {
    background: var(--g5-line);
    color: var(--g5-text);
}

:root.dark #hd,
:root.dark #wrapper,
:root.dark #ft {
    color: var(--g5-text);
}

:root.dark .lat,
:root.dark .pic_lt,
:root.dark .pic_li_lt,
:root.dark .new_win_con,
:root.dark .ol,
:root.dark .poll,
:root.dark .visit,
:root.dark #bo_list,
:root.dark #bo_v,
:root.dark #bo_w,
:root.dark .bo_sch,
:root.dark .tbl_head01,
:root.dark .tbl_frm01,
:root.dark .login,
:root.dark .register {
    background: var(--g5-surface) !important;
    border-color: var(--g5-line) !important;
}

:root.dark #hd_define li.active a,
:root.dark #hd_define li a:hover,
:root.dark #hd_qnb li a:hover,
:root.dark .gnb_1da:hover,
:root.dark #gnb .gnb_menu_btn:hover,
:root.dark #theme_toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 760px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    #hd_pop,
    #hd_wrapper,
    #tnb .inner,
    #gnb .gnb_wrap,
    #container_wr,
    #ft_wr {
        width: calc(100% - 28px);
    }

    #hd_wrapper {
        display: grid;
        grid-template-columns: auto 1fr;
        height: auto;
        gap: 12px;
        padding: 14px 0;
    }

    #logo {
        justify-self: start;
    }

    .hd_sch_wr {
        grid-column: auto;
        order: 2;
        width: 100%;
        max-width: none;
    }

    #container_wr {
        display: block;
    }

    #container,
    #aside {
        width: 100%;
        max-width: 100%;
    }

    #aside {
        display: block;
        margin-top: 16px;
    }

    .latest_top_wr,
    .latest_wr {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        width: 100%;
    }

    .lt_wr,
    .latest_top_wr > *,
    .latest_wr > *,
    .pic_li_lt,
    .lat,
    .pic_lt,
    #bo_list {
        width: 100% !important;
        max-width: 100% !important;
    }

    #ft_wr {
        grid-template-columns: 1fr;
    }
}

#ft_link a:hover {
    color: var(--g5-text);
}

#ft_copy {
    border-top-color: var(--g5-line);
    color: var(--g5-faint);
}

#top_btn {
    border-radius: 4px;
    background: var(--g5-surface);
    box-shadow: none;
}
