@charset "utf-8";

/*
|--------------------------------------------------------------------------
| 남양홍씨대종중 중앙종회 서브페이지
|--------------------------------------------------------------------------
|
| 파일명 : /css/sub.css
| 용도   : 서브 비주얼, 서브메뉴, 페이지 타이틀, 서브 콘텐츠
|
*/


/* ==========================================================================
   1. SUB VISUAL
   ========================================================================== */

.nh_sub_visual {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 310px;
    color: #fff;
    overflow: hidden;
}

.nh_sub_visual_bg {
    position: absolute;
    inset: 0;
    background:
        url("../img/main/visual.webp")
        center 48% / cover no-repeat;
    transform: scale(1.01);
}

.nh_sub_visual_overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 29, 23, 0.88) 0%,
            rgba(8, 29, 23, 0.66) 48%,
            rgba(8, 29, 23, 0.3) 100%
        );
}

.nh_sub_visual_inner {
    position: relative;
    z-index: 2;
    padding-top: 20px;
    padding-bottom: 20px;
}

.nh_sub_visual_kicker {
    margin-bottom: 14px;
    color: var(--nh-gold-light);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.2em;
}

.nh_sub_visual h2 {
    color: #fff;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.045em;
}

.nh_sub_visual_inner > p:last-child {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 16px;
}


/* ==========================================================================
   2. SUB NAVIGATION
   ========================================================================== */

.nh_sub_nav {
    position: relative;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid var(--nh-border);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.045);
}

.nh_sub_nav_list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-left: 1px solid var(--nh-border-light);
}

.nh_sub_nav_list li {
    border-right: 1px solid var(--nh-border-light);
    border-bottom: 1px solid var(--nh-border-light);
}

.nh_sub_nav_list li:nth-child(n + 7) {
    border-bottom: 0;
}

.nh_sub_nav_list a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 10px 8px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition:
        color var(--nh-transition),
        background var(--nh-transition);
}

.nh_sub_nav_list a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    background: var(--nh-gold);
    transform: scaleX(0);
    transition: transform var(--nh-transition);
}

.nh_sub_nav_list a:hover {
    color: var(--nh-primary);
    background: var(--nh-bg-green);
}

.nh_sub_nav_list .nh_active a {
    color: #fff;
    font-weight: 700;
    background: var(--nh-primary);
}

.nh_sub_nav_list .nh_active a::after {
    transform: scaleX(1);
}

.nh_sub_nav_mobile {
    display: none;
}


/* ==========================================================================
   3. SUB TITLE
   ========================================================================== */

.nh_sub_title {
    padding: 82px 0 58px;
    text-align: center;
    background: #fff;
}

.nh_sub_breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 30px;
    color: #999;
    font-size: 13px;
}

.nh_sub_breadcrumb a {
    transition: color var(--nh-transition);
}

.nh_sub_breadcrumb a:hover {
    color: var(--nh-primary);
}

.nh_sub_breadcrumb strong {
    color: var(--nh-primary);
    font-weight: 600;
}

.nh_sub_title_kicker {
    margin-bottom: 11px;
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
}

.nh_sub_title h1 {
    position: relative;
    padding-bottom: 23px;
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 43px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.045em;
}

.nh_sub_title h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 42px;
    height: 2px;
    background: var(--nh-gold);
    transform: translateX(-50%);
}

.nh_sub_title_desc {
    margin-top: 23px;
    color: var(--nh-text-light);
    font-size: 16px;
    line-height: 1.8;
}


/* ==========================================================================
   4. SUB CONTENT
   ========================================================================== */

.nh_sub_content {
    padding: 20px 0 130px;
    background: #fff;
}


/* ==========================================================================
   5. GREETING
   ========================================================================== */

.nh_greeting {
    display: grid;
    grid-template-columns: 400px minmax(0, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--nh-border-light);
    box-shadow: 0 18px 55px rgba(18, 51, 42, 0.08);
}

.nh_greeting_intro {
    position: relative;
    min-height: 760px;
    color: #fff;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            var(--nh-primary-dark),
            var(--nh-primary) 68%,
            var(--nh-primary-light)
        );
}

.nh_greeting_intro::before {
    content: "";
    position: absolute;
    top: -130px;
    right: -130px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(210, 183, 125, 0.22);
    border-radius: 50%;
}

.nh_greeting_intro::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: 80px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(210, 183, 125, 0.15);
    border-radius: 50%;
}

.nh_greeting_intro_inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    min-height: 760px;
    padding: 65px 50px 55px;
}

.nh_greeting_emblem {
    display: block;
    width: 86px;
    height: 86px;
}

.nh_greeting_emblem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nh_greeting_en {
    margin-top: 40px;
    color: var(--nh-gold-light);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.18em;
}

.nh_greeting_intro h2 {
    margin-top: 20px;
    color: #fff;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 35px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.045em;
}

.nh_greeting_intro_desc {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.9;
}

.nh_greeting_pattern {
    margin-top: auto;
    color: rgba(255, 255, 255, 0.09);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 57px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.08em;
    white-space: nowrap;
}

.nh_greeting_body {
    padding: 66px 70px 60px;
}

.nh_greeting_lead {
    position: relative;
    margin-bottom: 38px;
    padding-bottom: 23px;
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.5;
}

.nh_greeting_lead::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 2px;
    background: var(--nh-gold);
}

.nh_greeting_text {
    color: #4c4c4c;
    font-size: 16px;
    line-height: 2;
}

.nh_greeting_text p {
    margin-bottom: 22px;
}

.nh_greeting_text p:last-child {
    margin-bottom: 0;
}

.nh_greeting_text .nh_greeting_mid_title {
    margin-top: 40px;
    color: var(--nh-primary);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 21px;
    font-weight: 700;
}

.nh_greeting_signature {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--nh-border-light);
}

.nh_greeting_signature span {
    color: var(--nh-text-light);
    font-size: 14px;
}

.nh_greeting_signature strong {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.nh_greeting_signature em {
    color: var(--nh-text-light);
    font-size: 14px;
    font-style: normal;
}


/* ==========================================================================
   6. RESPONSIVE
   ========================================================================== */

@media screen and (max-width: 1100px) {

    .nh_sub_nav_list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .nh_sub_nav_list li:nth-child(n) {
        border-bottom: 1px solid var(--nh-border-light);
    }

    .nh_sub_nav_list li:nth-child(n + 9) {
        border-bottom: 0;
    }

    .nh_greeting {
        grid-template-columns: 330px minmax(0, 1fr);
    }

    .nh_greeting_intro_inner {
        padding-right: 38px;
        padding-left: 38px;
    }

    .nh_greeting_body {
        padding-right: 48px;
        padding-left: 48px;
    }

}


@media screen and (max-width: 900px) {

    .nh_sub_visual {
        min-height: 270px;
    }

    .nh_sub_visual h2 {
        font-size: 39px;
    }

    .nh_greeting {
        grid-template-columns: 1fr;
    }

    .nh_greeting_intro {
        min-height: 0;
    }

    .nh_greeting_intro_inner {
        min-height: 0;
        padding: 48px 45px;
    }

    .nh_greeting_intro h2 br,
    .nh_greeting_intro_desc br {
        display: none;
    }

    .nh_greeting_pattern {
        position: absolute;
        right: 35px;
        bottom: 35px;
        margin: 0;
    }

}


@media screen and (max-width: 700px) {

    .nh_sub_visual {
        min-height: 220px;
    }

    .nh_sub_visual_bg {
        background-position: 63% center;
    }

    .nh_sub_visual_overlay {
        background: rgba(8, 29, 23, 0.68);
    }

    .nh_sub_visual_kicker {
        margin-bottom: 9px;
        font-size: 10px;
        letter-spacing: 0.13em;
    }

    .nh_sub_visual h2 {
        font-size: 32px;
    }

    .nh_sub_visual_inner > p:last-child {
        margin-top: 10px;
        font-size: 14px;
    }

    /*
    |--------------------------------------------------------------------------
    | 모바일 서브메뉴
    |--------------------------------------------------------------------------
    */

    .nh_sub_nav {
        padding: 12px 0;
        background: var(--nh-primary);
    }

    .nh_sub_nav_list {
        display: none;
    }

    .nh_sub_nav_mobile {
        position: relative;
        display: block;
    }

    .nh_sub_nav_mobile::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 18px;
        width: 8px;
        height: 8px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        pointer-events: none;
        transform: translateY(-70%) rotate(45deg);
    }

    .nh_sub_nav_mobile select {
        width: 100%;
        height: 48px;
        padding: 0 45px 0 17px;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        background: var(--nh-primary);
        border: 1px solid rgba(255, 255, 255, 0.42);
        border-radius: 0;
        outline: none;
        appearance: none;
    }

    .nh_sub_nav_mobile option {
        color: #222;
        background: #fff;
    }

    /*
    |--------------------------------------------------------------------------
    | 페이지 제목
    |--------------------------------------------------------------------------
    */

    .nh_sub_title {
        padding: 58px 0 42px;
    }

    .nh_sub_breadcrumb {
        margin-bottom: 22px;
        font-size: 12px;
    }

    .nh_sub_title h1 {
        padding-bottom: 18px;
        font-size: 34px;
    }

    .nh_sub_title_desc {
        margin-top: 20px;
        font-size: 14px;
    }

    .nh_sub_title_desc br {
        display: none;
    }

    .nh_sub_content {
        padding: 10px 0 80px;
    }

    /*
    |--------------------------------------------------------------------------
    | 인사말
    |--------------------------------------------------------------------------
    */

    .nh_greeting_intro_inner {
        padding: 38px 28px;
    }

    .nh_greeting_emblem {
        width: 65px;
        height: 65px;
    }

    .nh_greeting_en {
        margin-top: 25px;
        font-size: 9px;
    }

    .nh_greeting_intro h2 {
        margin-top: 14px;
        font-size: 28px;
    }

    .nh_greeting_intro_desc {
        margin-top: 16px;
        font-size: 13px;
    }

    .nh_greeting_pattern {
        right: 20px;
        bottom: 25px;
        font-size: 39px;
    }

    .nh_greeting_body {
        padding: 42px 28px;
    }

    .nh_greeting_lead {
        margin-bottom: 30px;
        padding-bottom: 20px;
        font-size: 23px;
    }

    .nh_greeting_text {
        font-size: 15px;
        line-height: 1.9;
        word-break: keep-all;
    }

    .nh_greeting_text p {
        margin-bottom: 19px;
    }

    .nh_greeting_text .nh_greeting_mid_title {
        margin-top: 34px;
        font-size: 19px;
    }

    .nh_greeting_signature {
        align-items: flex-end;
        flex-direction: column;
        gap: 2px;
        margin-top: 40px;
        padding-top: 25px;
    }

    .nh_greeting_signature strong {
        font-size: 26px;
    }

}


@media screen and (max-width: 420px) {

    .nh_sub_visual h2 {
        font-size: 28px;
    }

    .nh_greeting_intro h2 {
        font-size: 25px;
    }

    .nh_greeting_pattern {
        display: none;
    }

    .nh_greeting_body {
        padding-right: 22px;
        padding-left: 22px;
    }

}

/* ==========================================================================
   PRIVACY POLICY
   ========================================================================== */

.nh_policy_section {
    padding-top: 10px;
}

.nh_policy_wrap {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.nh_policy_intro {
    position: relative;
    padding: 42px 45px;
    color: #444;
    font-size: 16px;
    line-height: 1.9;
    background: var(--nh-bg-green);
    border-top: 3px solid var(--nh-primary);
}

.nh_policy_intro > p {
    max-width: 850px;
}

.nh_policy_date {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.nh_policy_date span {
    padding: 5px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    background: var(--nh-primary);
}

.nh_policy_date strong {
    color: var(--nh-primary-dark);
    font-size: 14px;
}

.nh_policy_index {
    margin-top: 35px;
    padding: 35px 40px;
    border: 1px solid var(--nh-border);
}

.nh_policy_index h2 {
    margin-bottom: 22px;
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 24px;
}

.nh_policy_index ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 40px;
    counter-reset: none;
}

.nh_policy_index li {
    border-bottom: 1px solid var(--nh-border-light);
}

.nh_policy_index a {
    display: block;
    padding: 12px 5px;
    color: #555;
    font-size: 14px;
    transition:
        color var(--nh-transition),
        padding-left var(--nh-transition);
}

.nh_policy_index a:hover {
    padding-left: 10px;
    color: var(--nh-primary);
}

.nh_policy_content {
    margin-top: 70px;
}

.nh_policy_article {
    scroll-margin-top: 30px;
    padding: 0 0 70px;
}

.nh_policy_article + .nh_policy_article {
    padding-top: 70px;
    border-top: 1px solid var(--nh-border);
}

.nh_policy_article > h2 {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
}

.nh_policy_article > h2 span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    color: #fff;
    font-family:
        "Pretendard",
        "Noto Sans KR",
        sans-serif;
    font-size: 12px;
    background: var(--nh-primary);
    border-radius: 50%;
}

.nh_policy_article > h3 {
    position: relative;
    margin: 30px 0 13px;
    padding-left: 15px;
    color: #333;
    font-size: 17px;
    font-weight: 700;
}

.nh_policy_article > h3::before {
    content: "";
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 3px;
    background: var(--nh-gold);
}

.nh_policy_article > p {
    color: #555;
    font-size: 15px;
    line-height: 1.9;
}

.nh_policy_article > p + p {
    margin-top: 14px;
}

.nh_policy_list {
    margin: 20px 0;
    padding: 23px 28px;
    background: #fafafa;
    border: 1px solid var(--nh-border-light);
}

.nh_policy_list li {
    position: relative;
    padding: 5px 0 5px 17px;
    color: #555;
    font-size: 15px;
    line-height: 1.75;
}

.nh_policy_list li::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 2px;
    width: 5px;
    height: 5px;
    background: var(--nh-gold);
    border-radius: 50%;
}

.nh_policy_table_wrap {
    margin: 25px 0;
    overflow-x: auto;
}

.nh_policy_table {
    min-width: 680px;
    border-top: 2px solid var(--nh-primary);
}

.nh_policy_table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.nh_policy_table th,
.nh_policy_table td {
    padding: 17px 20px;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
    vertical-align: middle;
    border-right: 1px solid var(--nh-border-light);
    border-bottom: 1px solid var(--nh-border);
}

.nh_policy_table tr > *:last-child {
    border-right: 0;
}

.nh_policy_table thead th {
    color: var(--nh-primary-dark);
    font-weight: 700;
    text-align: center;
    background: var(--nh-bg-green);
}

.nh_policy_table tbody th {
    width: 180px;
    color: #333;
    font-weight: 600;
    background: #fafafa;
}

.nh_policy_col_title {
    width: 180px;
}

.nh_policy_notice {
    position: relative;
    margin-top: 15px !important;
    padding-left: 19px;
    color: #9a6d25 !important;
    font-size: 13px !important;
}

.nh_policy_notice::before {
    content: "※";
    position: absolute;
    left: 0;
}

.nh_policy_contact {
    margin-top: 25px;
    padding: 30px 35px;
    background: var(--nh-bg-green);
    border-left: 4px solid var(--nh-primary);
}

.nh_policy_contact dl > div {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    padding: 11px 0;
    border-bottom: 1px solid rgba(23, 63, 52, 0.1);
}

.nh_policy_contact dl > div:last-child {
    border-bottom: 0;
}

.nh_policy_contact dt {
    color: var(--nh-primary-dark);
    font-size: 14px;
    font-weight: 700;
}

.nh_policy_contact dd {
    color: #555;
    font-size: 14px;
}

.nh_policy_contact a {
    color: var(--nh-primary);
    font-weight: 600;
}

.nh_policy_history {
    display: flex;
    gap: 40px;
    margin-top: 25px;
    padding: 22px 28px;
    background: #fafafa;
    border: 1px solid var(--nh-border-light);
}

.nh_policy_history li {
    display: flex;
    align-items: center;
    gap: 13px;
}

.nh_policy_history strong {
    color: var(--nh-primary-dark);
    font-size: 14px;
}

.nh_policy_history span {
    color: #666;
    font-size: 14px;
}


/* 개인정보처리방침 모바일 */
@media screen and (max-width: 700px) {

    .nh_policy_intro {
        padding: 30px 24px;
        font-size: 14px;
    }

    .nh_policy_date {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .nh_policy_index {
        margin-top: 25px;
        padding: 27px 22px;
    }

    .nh_policy_index h2 {
        margin-bottom: 15px;
        font-size: 21px;
    }

    .nh_policy_index ol {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .nh_policy_index a {
        padding: 10px 3px;
        font-size: 13px;
    }

    .nh_policy_content {
        margin-top: 50px;
    }

    .nh_policy_article {
        padding-bottom: 50px;
    }

    .nh_policy_article + .nh_policy_article {
        padding-top: 50px;
    }

    .nh_policy_article > h2 {
        align-items: flex-start;
        gap: 13px;
        margin-bottom: 23px;
        font-size: 21px;
    }

    .nh_policy_article > h2 span {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 11px;
    }

    .nh_policy_article > p {
        font-size: 14px;
    }

    .nh_policy_list {
        padding: 18px 20px;
    }

    .nh_policy_list li {
        font-size: 14px;
    }

    .nh_policy_table th,
    .nh_policy_table td {
        padding: 14px 15px;
        font-size: 13px;
    }

    .nh_policy_contact {
        padding: 23px 21px;
    }

    .nh_policy_contact dl > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .nh_policy_history {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 19px 20px;
    }

}

/* ==========================================================================
   EMAIL COLLECTION REFUSAL
   ========================================================================== */

.nh_email_policy_section {
    padding-top: 10px;
}

.nh_email_policy {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--nh-border-light);
    box-shadow: 0 18px 55px rgba(18, 51, 42, 0.08);
}

.nh_email_policy_icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 660px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            var(--nh-primary-dark),
            var(--nh-primary) 70%,
            var(--nh-primary-light)
        );
}

.nh_email_policy_icon::before {
    content: "EMAIL";
    position: absolute;
    right: -25px;
    bottom: 45px;
    color: rgba(255, 255, 255, 0.055);
    font-size: 78px;
    font-weight: 800;
    letter-spacing: -0.06em;
    transform: rotate(-90deg);
}

.nh_email_policy_icon::after {
    content: "";
    position: absolute;
    top: -90px;
    left: -90px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(210, 183, 125, 0.2);
    border-radius: 50%;
}

.nh_email_icon_envelope {
    position: relative;
    z-index: 2;
    display: block;
    width: 132px;
    height: 92px;
    border: 3px solid var(--nh-gold-light);
    border-radius: 5px;
}

.nh_email_icon_envelope::before,
.nh_email_icon_envelope::after {
    content: "";
    position: absolute;
    top: 12px;
    width: 76px;
    height: 3px;
    background: var(--nh-gold-light);
}

.nh_email_icon_envelope::before {
    left: -3px;
    transform: rotate(34deg);
    transform-origin: left center;
}

.nh_email_icon_envelope::after {
    right: -3px;
    transform: rotate(-34deg);
    transform-origin: right center;
}

.nh_email_icon_block {
    position: absolute;
    z-index: 3;
    width: 180px;
    height: 180px;
    border: 7px solid #fff;
    border-radius: 50%;
    opacity: 0.88;
}

.nh_email_icon_block::after {
    content: "";
    position: absolute;
    top: 79px;
    left: 9px;
    width: 148px;
    height: 7px;
    background: #fff;
    transform: rotate(-45deg);
    transform-origin: center;
}

.nh_email_policy_content {
    padding: 70px 75px;
}

.nh_email_policy_kicker {
    margin-bottom: 14px;
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_email_policy_content > h2 {
    position: relative;
    padding-bottom: 25px;
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.045em;
}

.nh_email_policy_content > h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 2px;
    background: var(--nh-gold);
}

.nh_email_policy_text {
    margin-top: 35px;
    color: #555;
    font-size: 16px;
    line-height: 1.95;
}

.nh_email_policy_text p + p {
    margin-top: 18px;
}

.nh_email_policy_notice {
    margin-top: 35px;
    padding: 28px 30px;
    background: var(--nh-bg-green);
    border-left: 4px solid var(--nh-primary);
}

.nh_email_policy_notice strong {
    display: block;
    margin-bottom: 10px;
    color: var(--nh-primary-dark);
    font-size: 17px;
}

.nh_email_policy_notice p {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

.nh_email_policy_law {
    margin-top: 40px;
    padding-top: 35px;
    border-top: 1px solid var(--nh-border);
}

.nh_email_policy_law h3 {
    color: var(--nh-primary-dark);
    font-size: 18px;
    font-weight: 700;
}

.nh_email_policy_law_title {
    margin-top: 14px;
    color: #444;
    font-size: 15px;
    font-weight: 600;
}

.nh_email_policy_law ol {
    margin-top: 17px;
    counter-reset: nh-email-law;
}

.nh_email_policy_law li {
    position: relative;
    margin-top: 10px;
    padding-left: 30px;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    counter-increment: nh-email-law;
}

.nh_email_policy_law li::before {
    content: counter(nh-email-law);
    position: absolute;
    top: 3px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    background: var(--nh-primary);
    border-radius: 50%;
}

.nh_email_policy_date {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--nh-border-light);
}

.nh_email_policy_date span {
    padding: 5px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    background: var(--nh-primary);
}

.nh_email_policy_date strong {
    color: #555;
    font-size: 14px;
}


/* 이메일무단수집거부 태블릿 */
@media screen and (max-width: 900px) {

    .nh_email_policy {
        grid-template-columns: 1fr;
    }

    .nh_email_policy_icon {
        min-height: 260px;
    }

    .nh_email_policy_icon::before {
        right: 10px;
        bottom: -15px;
        font-size: 70px;
        transform: none;
    }

    .nh_email_icon_envelope {
        width: 115px;
        height: 80px;
    }

    .nh_email_icon_envelope::before,
    .nh_email_icon_envelope::after {
        width: 66px;
    }

    .nh_email_icon_block {
        width: 155px;
        height: 155px;
    }

    .nh_email_icon_block::after {
        top: 68px;
        left: 8px;
        width: 127px;
    }

}


/* 이메일무단수집거부 모바일 */
@media screen and (max-width: 700px) {

    .nh_email_policy_icon {
        min-height: 210px;
    }

    .nh_email_policy_content {
        padding: 42px 27px;
    }

    .nh_email_policy_content > h2 {
        padding-bottom: 20px;
        font-size: 25px;
    }

    .nh_email_policy_text {
        margin-top: 28px;
        font-size: 14px;
        line-height: 1.9;
    }

    .nh_email_policy_notice {
        margin-top: 28px;
        padding: 23px 21px;
    }

    .nh_email_policy_notice strong {
        font-size: 16px;
    }

    .nh_email_policy_law {
        margin-top: 32px;
        padding-top: 30px;
    }

    .nh_email_policy_law h3 {
        font-size: 17px;
        line-height: 1.6;
    }

    .nh_email_policy_law li {
        padding-left: 27px;
        font-size: 13px;
    }

    .nh_email_policy_date {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-top: 32px;
    }

}

/* ==========================================================================
   HISTORY PAGE
   ========================================================================== */

.nh_history_page {
    padding-top: 10px;
}

.nh_history_summary {
    display: grid;
    grid-template-columns: 370px minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 95px;
    overflow: hidden;
    background: var(--nh-primary-dark);
}

.nh_history_summary_year {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 270px;
    padding: 40px;
    background:
        linear-gradient(
            145deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_history_summary_year span {
    color: var(--nh-gold-light);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 42px;
    font-weight: 600;
}

.nh_history_summary_year i {
    display: block;
    width: 52px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.nh_history_summary_text {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 48px 60px;
    background: var(--nh-bg-green);
}

.nh_history_summary_kicker {
    margin-bottom: 13px;
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.nh_history_summary_text h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -0.045em;
}

.nh_history_summary_text > p:last-child {
    margin-top: 20px;
    color: #666;
    font-size: 15px;
    line-height: 1.85;
}

.nh_history_timeline {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.nh_history_period {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 70px;
    padding: 0 0 100px;
}

.nh_history_period + .nh_history_period {
    padding-top: 90px;
    border-top: 1px solid var(--nh-border);
}

.nh_history_period:last-child {
    padding-bottom: 0;
}

.nh_history_period_head {
    position: sticky;
    top: 30px;
    align-self: start;
    padding-top: 4px;
}

.nh_history_period_no {
    display: block;
    margin-bottom: 18px;
    color: var(--nh-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.nh_history_period_year {
    color: var(--nh-primary);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 20px;
    font-weight: 700;
}

.nh_history_period_head h2 {
    position: relative;
    margin-top: 15px;
    padding-bottom: 27px;
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 29px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.045em;
}

.nh_history_period_head h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 2px;
    background: var(--nh-gold);
}

.nh_history_period_body {
    position: relative;
    padding-left: 42px;
}

.nh_history_period_body::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 0;
    left: 7px;
    width: 1px;
    background: var(--nh-border);
}

.nh_history_event {
    position: relative;
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 30px;
    padding-bottom: 48px;
}

.nh_history_event:last-child {
    padding-bottom: 0;
}

.nh_history_event::before {
    content: "";
    position: absolute;
    top: 7px;
    left: -42px;
    width: 15px;
    height: 15px;
    background: #fff;
    border: 4px solid var(--nh-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 5px #fff;
}

.nh_history_event_date {
    padding-top: 1px;
}

.nh_history_event_date strong {
    display: block;
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.nh_history_event_date span {
    display: block;
    margin-top: 4px;
    color: var(--nh-gold-dark);
    font-size: 13px;
    font-weight: 600;
}

.nh_history_event_content {
    padding: 0 0 6px;
}

.nh_history_event_content h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.nh_history_event_content > p {
    color: #5c5c5c;
    font-size: 15px;
    line-height: 1.85;
}

.nh_history_event_content ul {
    padding: 20px 24px;
    background: #fafafa;
    border: 1px solid var(--nh-border-light);
}

.nh_history_event_content li {
    position: relative;
    padding: 4px 0 4px 16px;
    color: #5c5c5c;
    font-size: 14px;
    line-height: 1.75;
}

.nh_history_event_content li::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 1px;
    width: 5px;
    height: 5px;
    background: var(--nh-gold);
    border-radius: 50%;
}

.nh_history_event_content dl {
    padding: 22px 25px;
    background: #fafafa;
    border: 1px solid var(--nh-border-light);
}

.nh_history_event_content dl > div {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 20px;
    padding: 8px 0;
    border-bottom: 1px solid var(--nh-border-light);
}

.nh_history_event_content dl > div:last-child {
    border-bottom: 0;
}

.nh_history_event_content dt {
    color: var(--nh-primary-dark);
    font-size: 14px;
    font-weight: 700;
}

.nh_history_event_content dd {
    color: #5c5c5c;
    font-size: 14px;
    line-height: 1.75;
}

.nh_history_event_feature .nh_history_event_content {
    padding: 30px 34px;
    background: var(--nh-bg-green);
    border-left: 4px solid var(--nh-primary);
}

.nh_history_event_feature::before {
    background: var(--nh-gold);
    border-color: var(--nh-gold);
}

.nh_history_badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-bottom: 13px;
    padding: 4px 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    background: var(--nh-primary);
}

.nh_history_event_note {
    margin-top: 17px;
    padding-top: 17px;
    color: var(--nh-gold-dark) !important;
    font-size: 13px !important;
    font-weight: 600;
    border-top: 1px solid rgba(23, 63, 52, 0.13);
}


/* 연혁 태블릿 */
@media screen and (max-width: 1000px) {

    .nh_history_summary {
        grid-template-columns: 300px minmax(0, 1fr);
    }

    .nh_history_summary_text {
        padding: 43px 45px;
    }

    .nh_history_period {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 45px;
    }

    .nh_history_period_head h2 {
        font-size: 25px;
    }

}


/* 연혁 모바일 */
@media screen and (max-width: 700px) {

    .nh_history_summary {
        grid-template-columns: 1fr;
        margin-bottom: 65px;
    }

    .nh_history_summary_year {
        min-height: 150px;
        padding: 30px 20px;
    }

    .nh_history_summary_year span {
        font-size: 34px;
    }

    .nh_history_summary_text {
        padding: 35px 27px;
    }

    .nh_history_summary_text h2 {
        font-size: 25px;
    }

    .nh_history_summary_text h2 br {
        display: none;
    }

    .nh_history_summary_text > p:last-child {
        font-size: 14px;
    }

    .nh_history_period {
        display: block;
        padding-bottom: 70px;
    }

    .nh_history_period + .nh_history_period {
        padding-top: 65px;
    }

    .nh_history_period_head {
        position: static;
        margin-bottom: 38px;
    }

    .nh_history_period_head h2 {
        margin-top: 10px;
        padding-bottom: 20px;
        font-size: 25px;
    }

    .nh_history_period_body {
        padding-left: 27px;
    }

    .nh_history_period_body::before {
        left: 5px;
    }

    .nh_history_event {
        display: block;
        padding-bottom: 42px;
    }

    .nh_history_event::before {
        left: -28px;
        width: 13px;
        height: 13px;
        border-width: 3px;
    }

    .nh_history_event_date {
        display: flex;
        align-items: baseline;
        gap: 8px;
        margin-bottom: 10px;
    }

    .nh_history_event_date strong {
        font-size: 18px;
    }

    .nh_history_event_date span {
        margin: 0;
    }

    .nh_history_event_content h3 {
        margin-bottom: 13px;
        font-size: 18px;
    }

    .nh_history_event_content > p {
        font-size: 14px;
    }

    .nh_history_event_content ul,
    .nh_history_event_content dl {
        padding: 18px 19px;
    }

    .nh_history_event_content dl > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .nh_history_event_feature .nh_history_event_content {
        padding: 24px 21px;
    }

}

/* ==========================================================================
   CLAN MOTTO PAGE
   ========================================================================== */

.nh_motto_page {
    padding-top: 10px;
}


/* 종훈 소개 */

.nh_motto_intro {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 70px;
    overflow: hidden;
    background: var(--nh-bg-green);
    border-top: 3px solid var(--nh-primary);
}

.nh_motto_intro_symbol {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 300px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_motto_intro_symbol::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -90px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(210, 183, 125, 0.18);
    border-radius: 50%;
}

.nh_motto_intro_symbol::after {
    content: "";
    position: absolute;
    right: -75px;
    bottom: -95px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(210, 183, 125, 0.15);
    border-radius: 50%;
}

.nh_motto_intro_symbol span {
    position: relative;
    z-index: 2;
    color: var(--nh-gold-light);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 72px;
    font-weight: 500;
    line-height: 1;
}

.nh_motto_intro_content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
    padding: 50px 65px;
}

.nh_motto_intro_kicker {
    margin-bottom: 13px;
    color: var(--nh-gold-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
}

.nh_motto_intro_content h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.045em;
}

.nh_motto_intro_content > p:last-child {
    max-width: 680px;
    margin-top: 20px;
    color: #5d5d5d;
    font-size: 16px;
    line-height: 1.9;
}


/* 종훈 카드 */

.nh_motto_cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.nh_motto_card {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--nh-border);
    transition:
        border-color var(--nh-transition),
        box-shadow var(--nh-transition),
        transform var(--nh-transition);
}

.nh_motto_card:hover {
    border-color: var(--nh-primary);
    box-shadow: 0 18px 45px rgba(18, 51, 42, 0.11);
    transform: translateY(-8px);
}

.nh_motto_card_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 28px;
    background: var(--nh-primary);
}

.nh_motto_card_no {
    color: var(--nh-gold-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.nh_motto_card_hanja {
    color: rgba(255, 255, 255, 0.86);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.nh_motto_card_body {
    position: relative;
    z-index: 2;
    padding: 52px 32px 45px;
}

.nh_motto_card_en {
    min-height: 38px;
    color: var(--nh-gold-dark);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.11em;
}

.nh_motto_card_body h3 {
    position: relative;
    margin-top: 18px;
    padding-bottom: 24px;
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.045em;
}

.nh_motto_card_body h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 2px;
    background: var(--nh-gold);
}

.nh_motto_card_body > p:last-child {
    margin-top: 24px;
    color: #5d5d5d;
    font-size: 15px;
    line-height: 1.9;
}

.nh_motto_card_watermark {
    position: absolute;
    right: -8px;
    bottom: -25px;
    color: rgba(23, 63, 52, 0.04);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 150px;
    font-weight: 700;
    line-height: 1;
}


/* 종훈 하단 메시지 */

.nh_motto_message {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
    width: 100%;
    max-width: 1200px;
    min-height: 230px;
    margin: 75px auto 0;
    padding: 42px 65px;
    color: #fff;
    background:
        linear-gradient(
            110deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_motto_message_mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 105px;
    height: 105px;
}

.nh_motto_message-mark img,
.nh_motto_message_mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nh_motto_message_content {
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.nh_motto_message_content > p {
    margin-bottom: 13px;
    color: var(--nh-gold-light);
    font-size: 14px;
    font-weight: 600;
}

.nh_motto_message_content h2 {
    color: #fff;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 29px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.04em;
}


/* 종훈 태블릿 */

@media screen and (max-width: 1000px) {

    .nh_motto_intro {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .nh_motto_intro_content {
        padding-right: 45px;
        padding-left: 45px;
    }

    .nh_motto_cards {
        gap: 16px;
    }

    .nh_motto_card_head {
        padding-right: 20px;
        padding-left: 20px;
    }

    .nh_motto_card_hanja {
        font-size: 15px;
    }

    .nh_motto_card_body {
        padding-right: 25px;
        padding-left: 25px;
    }

}


/* 종훈 모바일 */

@media screen and (max-width: 700px) {

    .nh_motto_intro {
        grid-template-columns: 1fr;
        margin-bottom: 45px;
    }

    .nh_motto_intro_symbol {
        min-height: 190px;
    }

    .nh_motto_intro_symbol span {
        font-size: 56px;
    }

    .nh_motto_intro_content {
        min-height: 0;
        padding: 35px 27px;
    }

    .nh_motto_intro_content h2 {
        font-size: 27px;
    }

    .nh_motto_intro_content > p:last-child {
        margin-top: 16px;
        font-size: 14px;
    }

    .nh_motto_cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .nh_motto_card {
        min-height: 0;
    }

    .nh_motto_card_head {
        min-height: 66px;
        padding: 0 22px;
    }

    .nh_motto_card_hanja {
        font-size: 16px;
    }

    .nh_motto_card-body,
    .nh_motto_card_body {
        padding: 35px 25px 40px;
    }

    .nh_motto_card_en {
        min-height: 0;
    }

    .nh_motto_card_body h3 {
        margin-top: 14px;
        padding-bottom: 19px;
        font-size: 24px;
    }

    .nh_motto_card_body > p:last-child {
        margin-top: 20px;
        font-size: 14px;
    }

    .nh_motto_card_watermark {
        font-size: 115px;
    }

    .nh_motto_message {
        grid-template-columns: 1fr;
        margin-top: 50px;
        padding: 38px 27px;
        text-align: center;
    }

    .nh_motto_message_mark {
        width: 78px;
        height: 78px;
        margin: 0 auto 25px;
    }

    .nh_motto_message_content {
        padding: 25px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        border-left: 0;
    }

    .nh_motto_message_content h2 {
        font-size: 23px;
    }

    .nh_motto_message_content h2 br {
        display: none;
    }

}

/* ==========================================================================
   FORMER PRESIDENTS PAGE
   ========================================================================== */

.nh_president_page {
    padding-top: 10px;
}


/* 상단 소개 */

.nh_president_intro {
    display: grid;
    grid-template-columns: 370px minmax(0, 1fr);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 65px;
    overflow: hidden;
    background: var(--nh-bg-green);
    border-top: 3px solid var(--nh-primary);
}

.nh_president_intro_year {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    min-height: 270px;
    padding: 35px;
    background:
        linear-gradient(
            145deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_president_intro_year span {
    color: var(--nh-gold-light);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 41px;
    font-weight: 600;
    line-height: 1;
}

.nh_president_intro_year i {
    display: block;
    width: 48px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.nh_president_intro_content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 270px;
    padding: 45px 60px;
}

.nh_president_intro_kicker {
    margin-bottom: 12px;
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_president_intro_content h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.045em;
}

.nh_president_intro_content > p:last-child {
    max-width: 670px;
    margin-top: 18px;
    color: #606060;
    font-size: 15px;
    line-height: 1.85;
}


/* 현 회장 */

.nh_current_president {
    position: relative;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 85px;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(
            110deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_current_president::after {
    content: "21";
    position: absolute;
    right: 25px;
    bottom: -65px;
    color: rgba(255, 255, 255, 0.045);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 210px;
    font-weight: 700;
    line-height: 1;
}

.nh_current_president_label {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 20px;
    color: var(--nh-gold-light);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.16em;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    writing-mode: vertical-rl;
}

.nh_current_president_info {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 120px 250px minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    min-height: 240px;
    padding: 45px 65px;
}

.nh_current_president_number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 105px;
    height: 105px;
    border: 1px solid rgba(210, 183, 125, 0.55);
    border-radius: 50%;
}

.nh_current_president_number span {
    color: var(--nh-gold-light);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 19px;
    font-weight: 600;
}

.nh_current_president_name {
    padding-right: 35px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.nh_current_president_name p {
    color: rgba(255, 255, 255, 0.66);
    font-size: 13px;
}

.nh_current_president_name h2 {
    margin-top: 10px;
    color: #fff;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.nh_current_president_info dl > div {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    padding: 8px 0;
}

.nh_current_president_info dt {
    color: var(--nh-gold-light);
    font-size: 13px;
    font-weight: 600;
}

.nh_current_president_info dd {
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
}


/* 목록 제목 */

.nh_president_history {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.nh_president_section_head {
    margin-bottom: 35px;
}

.nh_president_section_head p {
    margin-bottom: 9px;
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_president_section_head h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 31px;
    font-weight: 700;
    letter-spacing: -0.045em;
}


/* 역대회장 표 */

.nh_president_table_wrap {
    overflow-x: auto;
}

.nh_president_table {
    min-width: 800px;
    border-top: 2px solid var(--nh-primary);
}

.nh_president_table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nh_president_col_number {
    width: 180px;
}

.nh_president_col_name {
    width: 210px;
}

.nh_president_col_branch {
    width: 230px;
}

.nh_president_table th,
.nh_president_table td {
    height: 78px;
    padding: 16px 24px;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid var(--nh-border-light);
    border-bottom: 1px solid var(--nh-border);
}

.nh_president_table tr > *:last-child {
    border-right: 0;
}

.nh_president_table thead th {
    height: 64px;
    color: var(--nh-primary-dark);
    font-weight: 700;
    background: var(--nh-bg-green);
}

.nh_president_table tbody th {
    color: #2f2f2f;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 19px;
    font-weight: 700;
    background: #fff;
}

.nh_president_table tbody tr {
    transition: background var(--nh-transition);
}

.nh_president_table tbody tr:hover {
    background: #fafcfb;
}

.nh_president_order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-width: 80px;
    min-height: 34px;
    padding: 5px 12px;
    color: var(--nh-primary);
    font-size: 14px;
    font-weight: 700;
    background: var(--nh-bg-green);
    border: 1px solid rgba(23, 63, 52, 0.12);
}

.nh_president_order small {
    display: block;
    margin-top: 2px;
    color: var(--nh-gold-dark);
    font-size: 10px;
    font-weight: 600;
}

.nh_president_acting {
    background: #fcfaf5;
}

.nh_president_acting .nh_president_order {
    color: var(--nh-gold-dark);
    background: #fffaf0;
    border-color: rgba(183, 147, 83, 0.25);
}

.nh_president_empty {
    color: #999;
    font-size: 13px;
}

.nh_president_current {
    background: var(--nh-bg-green);
}

.nh_president_current th,
.nh_president_current td {
    color: var(--nh-primary-dark);
    font-weight: 600;
}

.nh_president_current .nh_president_order {
    color: #fff;
    background: var(--nh-primary);
    border-color: var(--nh-primary);
}

.nh_president_current_badge {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 3px 8px;
    color: #fff;
    font-family:
        "Pretendard",
        "Noto Sans KR",
        sans-serif;
    font-size: 10px;
    font-weight: 700;
    vertical-align: middle;
    background: var(--nh-gold-dark);
}


/* 하단 메시지 */

.nh_president_message {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    gap: 35px;
    width: 100%;
    max-width: 1200px;
    min-height: 210px;
    margin: 75px auto 0;
    padding: 42px 65px;
    background: var(--nh-bg-green);
    border-top: 3px solid var(--nh-primary);
}

.nh_president_message_mark {
    display: block;
    width: 95px;
    height: 95px;
}

.nh_president_message_mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nh_president_message > div {
    padding-left: 35px;
    border-left: 1px solid rgba(23, 63, 52, 0.16);
}

.nh_president_message p {
    margin-bottom: 10px;
    color: var(--nh-gold-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.nh_president_message h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: -0.04em;
}


/* 역대회장 태블릿 */

@media screen and (max-width: 1000px) {

    .nh_president_intro {
        grid-template-columns: 300px minmax(0, 1fr);
    }

    .nh_president_intro_content {
        padding-right: 45px;
        padding-left: 45px;
    }

    .nh_current_president {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .nh_current_president_info {
        grid-template-columns: 100px 210px minmax(0, 1fr);
        gap: 25px;
        padding-right: 40px;
        padding-left: 40px;
    }

    .nh_current_president_number {
        width: 90px;
        height: 90px;
    }

}


/* 역대회장 모바일 */

@media screen and (max-width: 700px) {

    .nh_president_intro {
        grid-template-columns: 1fr;
        margin-bottom: 45px;
    }

    .nh_president_intro_year {
        min-height: 150px;
        padding: 30px 20px;
    }

    .nh_president_intro_year span {
        font-size: 34px;
    }

    .nh_president_intro_content {
        min-height: 0;
        padding: 35px 27px;
    }

    .nh_president_intro_content h2 {
        font-size: 25px;
    }

    .nh_president_intro_content h2 br {
        display: none;
    }

    .nh_president_intro_content > p:last-child {
        font-size: 14px;
    }

    /*
    |--------------------------------------------------------------------------
    | 현 회장
    |--------------------------------------------------------------------------
    */

    .nh_current_president {
        display: block;
        margin-bottom: 60px;
    }

    .nh_current_president::after {
        right: -10px;
        bottom: -35px;
        font-size: 150px;
    }

    .nh_current_president_label {
        min-height: 48px;
        padding: 12px 20px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        writing-mode: initial;
    }

    .nh_current_president_info {
        display: block;
        min-height: 0;
        padding: 35px 27px;
    }

    .nh_current_president_number {
        width: 76px;
        height: 76px;
    }

    .nh_current_president_number span {
        font-size: 16px;
    }

    .nh_current_president_name {
        margin-top: 25px;
        padding: 0 0 25px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .nh_current_president_name h2 {
        font-size: 31px;
    }

    .nh_current_president_info dl {
        margin-top: 20px;
    }

    .nh_current_president_info dl > div {
        grid-template-columns: 80px minmax(0, 1fr);
    }

    /*
    |--------------------------------------------------------------------------
    | 목록
    |--------------------------------------------------------------------------
    */

    .nh_president_section_head {
        margin-bottom: 25px;
    }

    .nh_president_section_head h2 {
        font-size: 26px;
    }

    .nh_president_table th,
    .nh_president_table td {
        height: 66px;
        padding: 13px 15px;
        font-size: 13px;
    }

    .nh_president_table tbody th {
        font-size: 16px;
    }

    .nh_president_order {
        min-width: 70px;
        font-size: 12px;
    }

    /*
    |--------------------------------------------------------------------------
    | 하단 메시지
    |--------------------------------------------------------------------------
    */

    .nh_president_message {
        grid-template-columns: 1fr;
        gap: 22px;
        min-height: 0;
        margin-top: 50px;
        padding: 35px 27px;
        text-align: center;
    }

    .nh_president_message_mark {
        width: 75px;
        height: 75px;
        margin: 0 auto;
    }

    .nh_president_message > div {
        padding: 23px 0 0;
        border-top: 1px solid rgba(23, 63, 52, 0.16);
        border-left: 0;
    }

    .nh_president_message h2 {
        font-size: 22px;
    }

    .nh_president_message h2 br {
        display: none;
    }

}

/* ==========================================================================
   ORGANIZATION PAGE
   ========================================================================== */

.nh_org_page {
    padding-top: 10px;
}


/* 소개 */

.nh_org_intro {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 80px;
    overflow: hidden;
    background: var(--nh-bg-green);
    border-top: 3px solid var(--nh-primary);
}

.nh_org_intro_symbol {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 280px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_org_intro_symbol::before,
.nh_org_intro_symbol::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(210, 183, 125, 0.18);
    border-radius: 50%;
}

.nh_org_intro_symbol::before {
    top: -100px;
    left: -90px;
    width: 250px;
    height: 250px;
}

.nh_org_intro_symbol::after {
    right: -80px;
    bottom: -100px;
    width: 230px;
    height: 230px;
}

.nh_org_intro_symbol span {
    position: relative;
    z-index: 2;
    color: var(--nh-gold-light);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 68px;
    font-weight: 500;
}

.nh_org_intro_content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
    padding: 45px 65px;
}

.nh_org_intro_kicker {
    margin-bottom: 12px;
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_org_intro_content h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.045em;
}

.nh_org_intro_content > p:last-child {
    max-width: 700px;
    margin-top: 20px;
    color: #5d5d5d;
    font-size: 16px;
    line-height: 1.9;
}


/* 조직도 전체 */

.nh_org_chart {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 55px 55px;
    background: #fafafa;
    border: 1px solid var(--nh-border);
}


/* 상단 조직 */

.nh_org_top {
    position: relative;
    display: grid;
    grid-template-columns: 230px minmax(250px, 1fr) 230px;
    align-items: start;
    gap: 80px;
}

.nh_org_top::before {
    content: "";
    position: absolute;
    top: 49px;
    right: 190px;
    left: 190px;
    height: 1px;
    background: #b8c4bf;
}

.nh_org_center {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.nh_org_center::after {
    content: "";
    position: absolute;
    top: 98px;
    left: 50%;
    width: 1px;
    height: 225px;
    background: #b8c4bf;
    transform: translateX(-50%);
}

.nh_org_side {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
}

.nh_org_box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 15px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #cfd6d3;
}

.nh_org_box strong {
    color: #333;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 19px;
    font-weight: 700;
}

.nh_org_box_primary {
    flex-direction: column;
    width: 250px;
    min-height: 100px;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
    border: 0;
    box-shadow: 0 15px 35px rgba(18, 51, 42, 0.18);
}

.nh_org_box_primary span {
    margin-bottom: 5px;
    color: var(--nh-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_org_box_primary strong {
    color: #fff;
    font-size: 27px;
}

.nh_org_box_sub {
    min-height: 100px;
    border-top: 3px solid var(--nh-primary);
}

.nh_org_box_small {
    min-height: 65px;
}


/* 중간 조직 */

.nh_org_middle {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 280px);
    justify-content: center;
    gap: 90px;
    margin-top: 135px;
}

.nh_org_middle::before {
    content: "";
    position: absolute;
    top: -54px;
    left: 50%;
    width: 370px;
    height: 1px;
    background: #b8c4bf;
    transform: translateX(-50%);
}

.nh_org_middle_item {
    position: relative;
}

.nh_org_middle_item::before {
    content: "";
    position: absolute;
    top: -54px;
    left: 50%;
    width: 1px;
    height: 54px;
    background: #b8c4bf;
}

.nh_org_group {
    min-height: 230px;
    padding: 30px;
    background: #fff;
    border: 1px solid #cfd6d3;
    border-top: 4px solid var(--nh-primary);
}

.nh_org_group h3 {
    margin-bottom: 25px;
    padding-bottom: 18px;
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid var(--nh-border);
}

.nh_org_group ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.nh_org_group li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    padding: 12px 8px;
    color: #444;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    background: var(--nh-bg-green);
}

.nh_org_group_association ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nh_org_group_association li {
    color: #fff;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 18px;
    background: var(--nh-primary);
}


/* 산하조직 */

.nh_org_subsidiary {
    position: relative;
    margin-top: 100px;
    padding: 50px 45px 45px;
    background: #fff;
    border: 1px solid var(--nh-border);
    border-top: 4px solid var(--nh-primary);
}

.nh_org_subsidiary::before {
    content: "";
    position: absolute;
    top: -101px;
    left: 50%;
    width: 1px;
    height: 100px;
    background: #b8c4bf;
}

.nh_org_subsidiary_title {
    margin-bottom: 35px;
    text-align: center;
}

.nh_org_subsidiary_title p {
    margin-bottom: 8px;
    color: var(--nh-gold-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_org_subsidiary_title h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 30px;
    font-weight: 700;
}

.nh_org_subsidiary_list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.nh_org_subsidiary_item {
    min-height: 190px;
    padding: 28px 30px;
    background: #fafafa;
    border: 1px solid var(--nh-border-light);
}

.nh_org_subsidiary_head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.nh_org_subsidiary_head span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    background: var(--nh-primary);
    border-radius: 50%;
}

.nh_org_subsidiary_head h3 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 21px;
    font-weight: 700;
}

.nh_org_subsidiary_item > p {
    color: #5e5e5e;
    font-size: 14px;
    line-height: 1.85;
}


/* 관련 조직 */

.nh_org_related {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
    padding: 24px 30px;
    background: var(--nh-bg-green);
    border-left: 4px solid var(--nh-gold);
}

.nh_org_related span {
    color: var(--nh-gold-dark);
    font-size: 13px;
    font-weight: 700;
}

.nh_org_related strong {
    color: var(--nh-primary-dark);
    font-size: 17px;
}


/* 태블릿 */

@media screen and (max-width: 1000px) {

    .nh_org_intro {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .nh_org_intro_content {
        padding-right: 45px;
        padding-left: 45px;
    }

    .nh_org_chart {
        padding-right: 35px;
        padding-left: 35px;
    }

    .nh_org_top {
        grid-template-columns: 190px minmax(220px, 1fr) 190px;
        gap: 45px;
    }

    .nh_org_top::before {
        right: 150px;
        left: 150px;
    }

    .nh_org_middle {
        grid-template-columns: repeat(2, 250px);
        gap: 60px;
    }

}


/* 모바일 */

@media screen and (max-width: 700px) {

    .nh_org_intro {
        grid-template-columns: 1fr;
        margin-bottom: 45px;
    }

    .nh_org_intro_symbol {
        min-height: 180px;
    }

    .nh_org_intro_symbol span {
        font-size: 54px;
    }

    .nh_org_intro_content {
        min-height: 0;
        padding: 35px 27px;
    }

    .nh_org_intro_content h2 {
        font-size: 27px;
    }

    .nh_org_intro_content > p:last-child {
        font-size: 14px;
    }

    .nh_org_chart {
        padding: 35px 20px;
    }

    .nh_org_top {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .nh_org_top::before,
    .nh_org_center::after {
        display: none;
    }

    .nh_org_center {
        order: 1;
    }

    .nh_org_side_left {
        order: 2;
    }

    .nh_org_side_right {
        order: 3;
    }

    .nh_org_side {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    .nh_org_side_left .nh_org_box:first-child {
        grid-column: span 2;
    }

    .nh_org_box_primary {
        width: 100%;
    }

    .nh_org_box_sub,
    .nh_org_box_small {
        min-height: 62px;
    }

    .nh_org_box strong {
        font-size: 16px;
    }

    .nh_org_middle {
        display: block;
        margin-top: 35px;
    }

    .nh_org_middle::before,
    .nh_org_middle_item::before {
        display: none;
    }

    .nh_org_middle_item + .nh_org_middle_item {
        margin-top: 18px;
    }

    .nh_org_group {
        min-height: 0;
        padding: 25px 20px;
    }

    .nh_org_group ul {
        grid-template-columns: 1fr;
    }

    .nh_org_group_association ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nh_org_group li {
        min-height: 58px;
    }

    .nh_org_subsidiary {
        margin-top: 55px;
        padding: 35px 20px 20px;
    }

    .nh_org_subsidiary::before {
        display: none;
    }

    .nh_org_subsidiary_list {
        grid-template-columns: 1fr;
    }

    .nh_org_subsidiary_item {
        min-height: 0;
        padding: 24px 22px;
    }

    .nh_org_related {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        padding: 21px 22px;
    }

}

/* ==========================================================================
   ARTICLES AND BYLAWS
   ========================================================================== */

.nh_rule_page {
    padding-top: 10px;
}


/* 소개 */

.nh_rule_intro {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    max-width: 1200px;
    margin: 0 auto 65px;
    overflow: hidden;
    background: var(--nh-bg-green);
    border-top: 3px solid var(--nh-primary);
}

.nh_rule_intro_symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 270px;
    background:
        linear-gradient(
            145deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_rule_intro_symbol span {
    color: var(--nh-gold-light);
    font-family: "Noto Serif KR", serif;
    font-size: 67px;
    font-weight: 500;
}

.nh_rule_intro_content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 270px;
    padding: 45px 65px;
}

.nh_rule_intro_kicker {
    margin-bottom: 12px;
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
}

.nh_rule_intro_content h2 {
    color: var(--nh-primary-dark);
    font-family: "Noto Serif KR", serif;
    font-size: 32px;
    line-height: 1.45;
}

.nh_rule_intro_content > p:last-child {
    margin-top: 18px;
    color: #606060;
    font-size: 15px;
    line-height: 1.9;
}


/* 탭 */

.nh_rule_tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1200px;
    margin: 0 auto 45px;
    border: 1px solid var(--nh-border);
}

.nh_rule_tab {
    min-height: 76px;
    color: #666;
    font-size: 17px;
    font-weight: 700;
    background: #fff;
    border: 0;
    cursor: pointer;
}

.nh_rule_tab + .nh_rule_tab {
    border-left: 1px solid var(--nh-border);
}

.nh_rule_tab span {
    margin-right: 10px;
    color: #aaa;
    font-size: 11px;
}

.nh_rule_tab.active {
    color: #fff;
    background: var(--nh-primary);
}

.nh_rule_tab.active span {
    color: var(--nh-gold-light);
}


/* 패널 */

.nh_rule_panel {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
}

.nh_rule_panel.active {
    display: block;
}


/* 문서 제목 */

.nh_rule_document_head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--nh-primary);
}

.nh_rule_document_head p {
    margin-bottom: 7px;
    color: var(--nh-gold-dark);
    font-family: "Noto Serif KR", serif;
    font-size: 13px;
    letter-spacing: .12em;
}

.nh_rule_document_head h2 {
    color: var(--nh-primary-dark);
    font-family: "Noto Serif KR", serif;
    font-size: 30px;
}

.nh_rule_document_head > span {
    color: #777;
    font-size: 13px;
}


/* 개정 이력 */

.nh_rule_revision {
    margin-bottom: 25px;
    padding: 25px 30px;
    background: var(--nh-bg-green);
}

.nh_rule_revision h3 {
    margin-bottom: 16px;
    color: var(--nh-primary-dark);
    font-size: 15px;
}

.nh_rule_revision_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nh_rule_revision_list span {
    padding: 7px 12px;
    color: #666;
    font-size: 12px;
    background: #fff;
    border: 1px solid var(--nh-border);
}


/* 장 */

.nh_rule_chapter {
    margin-top: 14px;
    border: 1px solid var(--nh-border);
}

.nh_rule_chapter summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 82px;
    padding: 20px 70px 20px 30px;
    list-style: none;
    cursor: pointer;
    background: #fff;
}

.nh_rule_chapter summary::-webkit-details-marker {
    display: none;
}

.nh_rule_chapter summary > span {
    min-width: 75px;
    color: var(--nh-gold-dark);
    font-size: 13px;
    font-weight: 700;
}

.nh_rule_chapter summary strong {
    color: var(--nh-primary-dark);
    font-family: "Noto Serif KR", serif;
    font-size: 23px;
}

.nh_rule_chapter summary i,
.nh_rule_chapter summary i::after {
    position: absolute;
    width: 16px;
    height: 2px;
    background: var(--nh-primary);
}

.nh_rule_chapter summary i {
    top: 50%;
    right: 30px;
}

.nh_rule_chapter summary i::after {
    content: "";
    transform: rotate(90deg);
    transition: transform .25s ease;
}

.nh_rule_chapter[open] summary i::after {
    transform: rotate(0);
}

.nh_rule_chapter[open] summary {
    background: var(--nh-primary);
}

.nh_rule_chapter[open] summary > span {
    color: var(--nh-gold-light);
}

.nh_rule_chapter[open] summary strong {
    color: #fff;
}

.nh_rule_chapter[open] summary i,
.nh_rule_chapter[open] summary i::after {
    background: #fff;
}


/* 조항 */

.nh_rule_articles {
    padding: 15px 40px 35px;
    background: #fff;
}

.nh_rule_article {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    padding: 30px 0;
    border-bottom: 1px solid var(--nh-border-light);
}

.nh_rule_article:last-child {
    border-bottom: 0;
}

.nh_rule_article h4 {
    color: var(--nh-primary-dark);
    font-size: 16px;
    line-height: 1.7;
}

.nh_rule_article h4 span {
    display: block;
    margin-top: 3px;
    color: #555;
    font-family: "Noto Serif KR", serif;
    font-size: 18px;
}

.nh_rule_article > p,
.nh_rule_article > ol,
.nh_rule_article > ul,
.nh_rule_article > div {
    color: #555;
    font-size: 15px;
    line-height: 1.9;
}

.nh_rule_article ol {
    counter-reset: rule-list;
    list-style: none;
}

.nh_rule_article ol > li {
    position: relative;
    padding-left: 28px;
}

.nh_rule_article ol > li + li {
    margin-top: 9px;
}

.nh_rule_article ol > li::before {
    counter-increment: rule-list;
    content: counter(rule-list);
    position: absolute;
    top: 4px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    color: var(--nh-primary);
    font-size: 10px;
    font-weight: 700;
    border: 1px solid var(--nh-primary);
    border-radius: 50%;
}

.nh_rule_article ul {
    padding-left: 20px;
    list-style: disc;
}

.nh_rule_article ul li + li {
    margin-top: 6px;
}

.nh_rule_article ul ul {
    margin-top: 7px;
}

.nh_rule_deleted {
    opacity: .65;
    background: #fafafa;
}

.nh_rule_appendix {
    border-color: rgba(183, 147, 83, .45);
}

.nh_rule_quota {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.nh_rule_quota span {
    padding: 11px 12px;
    color: #555;
    font-size: 13px;
    text-align: center;
    background: var(--nh-bg-green);
}


/* 태블릿 */

@media screen and (max-width: 1000px) {

    .nh_rule_intro {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .nh_rule_intro_content {
        padding-right: 45px;
        padding-left: 45px;
    }

    .nh_rule_article {
        grid-template-columns: 190px minmax(0, 1fr);
    }

}


/* 모바일 */

@media screen and (max-width: 700px) {

    .nh_rule_intro {
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }

    .nh_rule_intro_symbol {
        min-height: 170px;
    }

    .nh_rule_intro_symbol span {
        font-size: 52px;
    }

    .nh_rule_intro_content {
        min-height: 0;
        padding: 32px 25px;
    }

    .nh_rule_intro_content h2 {
        font-size: 25px;
    }

    .nh_rule_tabs {
        margin-bottom: 35px;
    }

    .nh_rule_tab {
        min-height: 65px;
        font-size: 14px;
    }

    .nh_rule_tab span {
        display: block;
        margin: 0 0 3px;
    }

    .nh_rule_document_head {
        display: block;
    }

    .nh_rule_document_head h2 {
        font-size: 24px;
        line-height: 1.5;
    }

    .nh_rule_document_head > span {
        display: block;
        margin-top: 12px;
    }

    .nh_rule_revision {
        padding: 22px 20px;
    }

    .nh_rule_chapter summary {
        min-height: 70px;
        padding: 17px 55px 17px 20px;
    }

    .nh_rule_chapter summary > span {
        min-width: 62px;
        font-size: 11px;
    }

    .nh_rule_chapter summary strong {
        font-size: 19px;
    }

    .nh_rule_chapter summary i {
        right: 20px;
    }

    .nh_rule_articles {
        padding: 5px 20px 20px;
    }

    .nh_rule_article {
        display: block;
        padding: 25px 0;
    }

    .nh_rule_article h4 {
        margin-bottom: 16px;
    }

    .nh_rule_article h4 span {
        display: inline;
        margin-left: 5px;
        font-size: 16px;
    }

    .nh_rule_article > p,
    .nh_rule_article > ol,
    .nh_rule_article > ul,
    .nh_rule_article > div {
        font-size: 14px;
    }

    .nh_rule_quota {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* ==========================================================================
   MEMORIAL RITE SCHEDULE
   ========================================================================== */

.nh_rite_page {
    padding-top: 10px;
}


/* 소개 */

.nh_rite_intro {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    max-width: 1200px;
    margin: 0 auto 50px;
    overflow: hidden;
    background: var(--nh-bg-green);
    border-top: 3px solid var(--nh-primary);
}

.nh_rite_intro_symbol {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 280px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_rite_intro_symbol::before,
.nh_rite_intro_symbol::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(210, 183, 125, 0.18);
    border-radius: 50%;
}

.nh_rite_intro_symbol::before {
    top: -100px;
    left: -90px;
    width: 250px;
    height: 250px;
}

.nh_rite_intro_symbol::after {
    right: -80px;
    bottom: -100px;
    width: 230px;
    height: 230px;
}

.nh_rite_intro_symbol span {
    position: relative;
    z-index: 2;
    color: var(--nh-gold-light);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 68px;
    font-weight: 500;
}

.nh_rite_intro_content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 280px;
    padding: 45px 65px;
}

.nh_rite_intro_kicker {
    margin-bottom: 12px;
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_rite_intro_content h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.045em;
}

.nh_rite_intro_content > p:last-child {
    max-width: 680px;
    margin-top: 20px;
    color: #5d5d5d;
    font-size: 16px;
    line-height: 1.9;
}


/* 안내 */

.nh_rite_notice {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 23px 28px;
    background: #fffaf0;
    border: 1px solid rgba(183, 147, 83, 0.28);
}

.nh_rite_notice_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: #fff;
    font-family: serif;
    font-size: 15px;
    font-weight: 700;
    background: var(--nh-gold-dark);
    border-radius: 50%;
}

.nh_rite_notice strong {
    display: block;
    margin-bottom: 5px;
    color: var(--nh-primary-dark);
    font-size: 15px;
}

.nh_rite_notice p {
    color: #6b6256;
    font-size: 14px;
    line-height: 1.75;
}


/* 일정 요약 */

.nh_rite_summary {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-width: 1200px;
    margin: 0 auto 65px;
    border-top: 2px solid var(--nh-primary);
    border-left: 1px solid var(--nh-border);
}

.nh_rite_summary_item {
    position: relative;
    min-height: 185px;
    padding: 27px 18px 23px;
    color: inherit;
    text-align: center;
    text-decoration: none;
    background: #fff;
    border-right: 1px solid var(--nh-border);
    border-bottom: 1px solid var(--nh-border);
    transition:
        background var(--nh-transition),
        transform var(--nh-transition);
}

.nh_rite_summary_item:hover {
    z-index: 2;
    background: var(--nh-bg-green);
    transform: translateY(-5px);
}

.nh_rite_summary_no {
    display: block;
    margin-bottom: 13px;
    color: var(--nh-gold-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.nh_rite_summary_item strong {
    display: block;
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 19px;
}

.nh_rite_summary_item p {
    margin-top: 15px;
    color: #626262;
    font-size: 13px;
    line-height: 1.55;
}

.nh_rite_summary_item em {
    display: block;
    margin-top: 7px;
    color: var(--nh-primary);
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
}


/* 상세 카드 */

.nh_rite_list {
    max-width: 1200px;
    margin: 0 auto;
}

.nh_rite_card {
    scroll-margin-top: 130px;
    background: #fff;
    border: 1px solid var(--nh-border);
}

.nh_rite_card + .nh_rite_card {
    margin-top: 28px;
}

.nh_rite_card_header {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 330px;
    align-items: center;
    min-height: 135px;
    background: var(--nh-bg-green);
    border-bottom: 1px solid var(--nh-border);
}

.nh_rite_card_number {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    color: var(--nh-gold-light);
    font-size: 15px;
    font-weight: 700;
    background: var(--nh-primary);
}

.nh_rite_card_title {
    padding: 25px 38px;
}

.nh_rite_card_title > span {
    display: block;
    margin-bottom: 6px;
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.nh_rite_card_title h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 29px;
    font-weight: 700;
}

.nh_rite_card_date {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    margin-right: 38px;
    padding: 20px 25px;
    background: #fff;
    border-left: 3px solid var(--nh-gold);
}

.nh_rite_card_date > span {
    grid-row: span 2;
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
}

.nh_rite_card_date strong {
    color: var(--nh-primary-dark);
    font-size: 17px;
}

.nh_rite_card_date em {
    margin-top: 3px;
    color: #666;
    font-size: 13px;
    font-style: normal;
}

.nh_rite_card_body {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    padding: 40px 45px;
}

.nh_rite_info {
    padding-right: 45px;
}

.nh_rite_info + .nh_rite_info {
    padding-right: 0;
    padding-left: 45px;
    border-left: 1px solid var(--nh-border);
}

.nh_rite_info h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--nh-primary-dark);
    font-size: 17px;
}

.nh_rite_info h3 span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #fff;
    font-size: 9px;
    background: var(--nh-primary);
    border-radius: 50%;
}

.nh_rite_info address {
    color: #555;
    font-size: 15px;
    font-style: normal;
    line-height: 1.8;
    word-break: keep-all;
}

.nh_rite_ancestors ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.nh_rite_ancestors li {
    position: relative;
    min-height: 47px;
    padding: 13px 13px 13px 29px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    background: #fafafa;
}

.nh_rite_ancestors li::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 15px;
    width: 5px;
    height: 5px;
    background: var(--nh-gold);
    border-radius: 50%;
}

.nh_rite_card_notice {
    padding: 15px 45px;
    color: #8a6640;
    font-size: 13px;
    background: #fffaf0;
    border-top: 1px solid rgba(183, 147, 83, 0.2);
}


/* 하단 메시지 */

.nh_rite_message {
    max-width: 1200px;
    margin: 70px auto 0;
    padding: 55px 40px;
    text-align: center;
    background:
        linear-gradient(
            120deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_rite_message p {
    margin-bottom: 13px;
    color: var(--nh-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_rite_message h2 {
    color: #fff;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.04em;
}


/* 태블릿 */

@media screen and (max-width: 1000px) {

    .nh_rite_intro {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .nh_rite_intro_content {
        padding-right: 45px;
        padding-left: 45px;
    }

    .nh_rite_summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nh_rite_card_header {
        grid-template-columns: 80px minmax(0, 1fr) 290px;
    }

    .nh_rite_card_date {
        margin-right: 25px;
    }

    .nh_rite_card_body {
        padding-right: 35px;
        padding-left: 35px;
    }

}


/* 모바일 */

@media screen and (max-width: 700px) {

    .nh_rite_intro {
        grid-template-columns: 1fr;
        margin-bottom: 35px;
    }

    .nh_rite_intro_symbol {
        min-height: 175px;
    }

    .nh_rite_intro_symbol span {
        font-size: 53px;
    }

    .nh_rite_intro_content {
        min-height: 0;
        padding: 33px 25px;
    }

    .nh_rite_intro_content h2 {
        font-size: 26px;
    }

    .nh_rite_intro_content > p:last-child {
        font-size: 14px;
    }

    .nh_rite_notice {
        padding: 20px;
    }

    .nh_rite_summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 45px;
    }

    .nh_rite_summary_item {
        min-height: 160px;
        padding: 22px 12px;
    }

    .nh_rite_card_header {
        display: grid;
        grid-template-columns: 65px minmax(0, 1fr);
        min-height: 0;
    }

    .nh_rite_card_number {
        grid-row: 1 / span 2;
        min-height: 160px;
    }

    .nh_rite_card_title {
        padding: 23px 22px 13px;
    }

    .nh_rite_card_title h2 {
        font-size: 24px;
    }

    .nh_rite_card_date {
        grid-column: 2;
        margin: 0;
        padding: 13px 22px 23px;
        background: transparent;
        border-left: 0;
    }

    .nh_rite_card_date > span {
        grid-row: auto;
    }

    .nh_rite_card_body {
        grid-template-columns: 1fr;
        padding: 27px 22px;
    }

    .nh_rite_info {
        padding: 0;
    }

    .nh_rite_info + .nh_rite_info {
        margin-top: 28px;
        padding: 27px 0 0;
        border-top: 1px solid var(--nh-border);
        border-left: 0;
    }

    .nh_rite_ancestors ul {
        grid-template-columns: 1fr;
    }

    .nh_rite_card_notice {
        padding: 14px 22px;
        line-height: 1.6;
    }

    .nh_rite_message {
        margin-top: 50px;
        padding: 42px 25px;
    }

    .nh_rite_message h2 {
        font-size: 23px;
    }

    .nh_rite_message h2 br {
        display: none;
    }

}

/* ==========================================================================
   NAMYANG HONG ORIGIN
   ========================================================================== */

.nh_origin_page {
    padding-top: 10px;
}

.nh_sub_visual_history .nh_sub_visual_bg {
    background-image: url("../img/main/history_bg.webp");
}


/* 소개 */

.nh_origin_intro {
    display: grid;
    grid-template-columns: 370px minmax(0, 1fr);
    max-width: 1200px;
    margin: 0 auto 65px;
    overflow: hidden;
    background: var(--nh-bg-green);
    border-top: 3px solid var(--nh-primary);
}

.nh_origin_intro_visual {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 330px;
    padding: 50px;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(
            145deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_origin_intro_visual::after {
    content: "洪";
    position: absolute;
    right: -25px;
    bottom: -45px;
    color: rgba(255, 255, 255, .045);
    font-family: "Noto Serif KR", serif;
    font-size: 210px;
    font-weight: 700;
    line-height: 1;
}

.nh_origin_intro_hanja {
    position: relative;
    z-index: 2;
    margin-bottom: 22px;
    color: var(--nh-gold-light);
    font-family: "Noto Serif KR", serif;
    font-size: 18px;
    letter-spacing: .18em;
}

.nh_origin_intro_visual p {
    position: relative;
    z-index: 2;
    font-family: "Noto Serif KR", serif;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.55;
}

.nh_origin_intro_content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 50px 65px;
}

.nh_origin_intro_kicker {
    margin-bottom: 12px;
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
}

.nh_origin_intro_content h2 {
    color: var(--nh-primary-dark);
    font-family: "Noto Serif KR", serif;
    font-size: 33px;
    line-height: 1.5;
    letter-spacing: -.045em;
}

.nh_origin_intro_content > p:last-of-type {
    margin-top: 19px;
    color: #606060;
    font-size: 15px;
    line-height: 1.9;
}

.nh_origin_stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--nh-border);
}

.nh_origin_stats > div {
    text-align: center;
}

.nh_origin_stats > div + div {
    border-left: 1px solid var(--nh-border);
}

.nh_origin_stats strong {
    display: block;
    color: var(--nh-primary-dark);
    font-family: "Noto Serif KR", serif;
    font-size: 24px;
}

.nh_origin_stats span {
    display: block;
    margin-top: 7px;
    color: #777;
    font-size: 12px;
}


/* 목차 */

.nh_origin_nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 1200px;
    margin: 0 auto 85px;
    border-top: 2px solid var(--nh-primary);
    border-left: 1px solid var(--nh-border);
}

.nh_origin_nav a {
    min-height: 105px;
    padding: 24px 15px;
    color: #444;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    background: #fff;
    border-right: 1px solid var(--nh-border);
    border-bottom: 1px solid var(--nh-border);
    transition: .25s ease;
}

.nh_origin_nav a:hover {
    color: #fff;
    background: var(--nh-primary);
}

.nh_origin_nav span {
    display: block;
    margin-bottom: 9px;
    color: var(--nh-gold-dark);
    font-size: 11px;
    letter-spacing: .12em;
}

.nh_origin_nav a:hover span {
    color: var(--nh-gold-light);
}


/* 공통 섹션 */

.nh_origin_section {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 85px 0;
    scroll-margin-top: 120px;
    border-top: 1px solid var(--nh-border);
}

.nh_origin_overview {
    padding-top: 0;
    border-top: 0;
}

.nh_origin_section_title {
    position: sticky;
    top: 130px;
    align-self: start;
}

.nh_origin_section_title > span {
    display: block;
    margin-bottom: 14px;
    color: var(--nh-gold-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .17em;
}

.nh_origin_section_title h2 {
    color: var(--nh-primary-dark);
    font-family: "Noto Serif KR", serif;
    font-size: 34px;
    line-height: 1.5;
    letter-spacing: -.045em;
}

.nh_origin_text > p {
    color: #555;
    font-size: 16px;
    line-height: 2;
    word-break: keep-all;
}

.nh_origin_text > p + p {
    margin-top: 24px;
}

.nh_origin_subtitle {
    margin: 55px 0 22px;
    padding-left: 18px;
    color: var(--nh-primary-dark);
    font-family: "Noto Serif KR", serif;
    font-size: 25px;
    border-left: 4px solid var(--nh-gold);
}


/* 인용문 */

.nh_origin_quote {
    position: relative;
    margin: 40px 0;
    padding: 40px 45px;
    background: var(--nh-bg-green);
    border-left: 4px solid var(--nh-primary);
}

.nh_origin_quote::before {
    content: "“";
    position: absolute;
    top: 10px;
    right: 25px;
    color: rgba(23, 63, 52, .1);
    font-family: Georgia, serif;
    font-size: 90px;
}

.nh_origin_quote p {
    position: relative;
    color: var(--nh-primary-dark);
    font-family: "Noto Serif KR", serif;
    font-size: 21px;
    line-height: 1.8;
}

.nh_origin_quote cite {
    display: block;
    margin-top: 15px;
    color: #777;
    font-size: 13px;
    font-style: normal;
}


/* 선시조 프로필 */

.nh_origin_profile {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    margin: 40px 0;
    overflow: hidden;
    border: 1px solid var(--nh-border);
}

.nh_origin_profile_name {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 230px;
    color: #fff;
    background: var(--nh-primary);
}

.nh_origin_profile_name span {
    color: var(--nh-gold-light);
    font-size: 11px;
    letter-spacing: .17em;
}

.nh_origin_profile_name strong {
    margin-top: 12px;
    font-family: "Noto Serif KR", serif;
    font-size: 31px;
}

.nh_origin_profile_name em {
    margin-top: 7px;
    color: rgba(255, 255, 255, .65);
    font-family: "Noto Serif KR", serif;
    font-size: 17px;
    font-style: normal;
}

.nh_origin_profile dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 30px 40px;
}

.nh_origin_profile dl > div {
    padding: 18px;
    border-bottom: 1px solid var(--nh-border-light);
}

.nh_origin_profile dt {
    margin-bottom: 7px;
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
}

.nh_origin_profile dd {
    color: #444;
    font-size: 15px;
}


/* 강조 박스 */

.nh_origin_point {
    margin-top: 38px;
    padding: 30px 35px;
    background: #fffaf0;
    border: 1px solid rgba(183, 147, 83, .28);
}

.nh_origin_point strong {
    display: block;
    margin-bottom: 10px;
    color: var(--nh-primary-dark);
    font-family: "Noto Serif KR", serif;
    font-size: 20px;
}

.nh_origin_point p {
    color: #665f56;
    font-size: 14px;
    line-height: 1.85;
}


/* 당홍·토홍 */

.nh_origin_lineage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 35px 0;
}

.nh_origin_lineage_item {
    border: 1px solid var(--nh-border);
}

.nh_origin_lineage_head {
    padding: 27px 30px;
    color: #fff;
    background: var(--nh-primary);
}

.nh_origin_lineage_head span {
    color: var(--nh-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
}

.nh_origin_lineage_head h3 {
    margin-top: 5px;
    font-family: "Noto Serif KR", serif;
    font-size: 25px;
}

.nh_origin_lineage_body {
    padding: 27px 30px;
}

.nh_origin_lineage_body > p {
    min-height: 75px;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

.nh_origin_lineage_body dl {
    margin-top: 20px;
    border-top: 1px solid var(--nh-border);
}

.nh_origin_lineage_body dl > div {
    display: grid;
    grid-template-columns: 75px minmax(0, 1fr);
    padding: 11px 0;
    border-bottom: 1px solid var(--nh-border-light);
}

.nh_origin_lineage_body dt {
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
}

.nh_origin_lineage_body dd {
    color: #555;
    font-size: 13px;
}


/* 공신호 */

.nh_origin_award {
    margin: 38px 0;
    padding: 42px 35px;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(
            120deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_origin_award span {
    color: var(--nh-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
}

.nh_origin_award strong {
    display: block;
    margin-top: 16px;
    font-family: "Noto Serif KR", serif;
    font-size: 23px;
    font-weight: 500;
    line-height: 1.7;
}

.nh_origin_award p {
    margin-top: 13px;
    color: rgba(255, 255, 255, .65);
    font-size: 12px;
}


/* 분파 */

.nh_origin_branch_list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.nh_origin_branch_list span {
    padding: 15px 10px;
    color: var(--nh-primary-dark);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    background: var(--nh-bg-green);
    border: 1px solid var(--nh-border-light);
}

.nh_origin_branch_list_small {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}


/* 본관 변천 */

.nh_origin_timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 38px 0;
    padding: 35px 25px;
    background: var(--nh-bg-green);
}

.nh_origin_timeline > div {
    text-align: center;
}

.nh_origin_timeline span {
    display: block;
    margin-bottom: 7px;
    color: #777;
    font-size: 11px;
}

.nh_origin_timeline strong {
    color: var(--nh-primary-dark);
    font-family: "Noto Serif KR", serif;
    font-size: 17px;
}

.nh_origin_timeline i {
    width: 28px;
    height: 1px;
    background: var(--nh-gold);
}


/* 출처 */

.nh_origin_source_group {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr);
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid var(--nh-border);
}

.nh_origin_source_group > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    background: var(--nh-primary);
    border-radius: 50%;
}

.nh_origin_source_group h3 {
    margin-bottom: 12px;
    color: var(--nh-primary-dark);
    font-family: "Noto Serif KR", serif;
    font-size: 20px;
}

.nh_origin_source_group ul {
    color: #555;
    font-size: 14px;
    line-height: 1.9;
}

.nh_origin_source_group li {
    position: relative;
    padding-left: 14px;
}

.nh_origin_source_group li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 4px;
    height: 4px;
    background: var(--nh-gold);
    border-radius: 50%;
}


/* 하단 */

.nh_origin_message {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 58px 40px;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(
            120deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_origin_message p {
    margin-bottom: 13px;
    color: var(--nh-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
}

.nh_origin_message h2 {
    font-family: "Noto Serif KR", serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.65;
}


/* 태블릿 */

@media screen and (max-width: 1000px) {

    .nh_origin_intro {
        grid-template-columns: 310px minmax(0, 1fr);
    }

    .nh_origin_intro_content {
        padding: 45px;
    }

    .nh_origin_section {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 50px;
    }

    .nh_origin_branch_list {
        grid-template-columns: repeat(3, 1fr);
    }

    .nh_origin_timeline {
        flex-wrap: wrap;
        gap: 20px;
    }

}


/* 모바일 */

@media screen and (max-width: 700px) {

    .nh_origin_intro {
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }

    .nh_origin_intro_visual {
        min-height: 220px;
        padding: 35px 27px;
    }

    .nh_origin_intro_visual p {
        font-size: 27px;
    }

    .nh_origin_intro_content {
        padding: 35px 27px;
    }

    .nh_origin_intro_content h2 {
        font-size: 25px;
    }

    .nh_origin_stats strong {
        font-size: 18px;
    }

    .nh_origin_stats span {
        font-size: 10px;
    }

    .nh_origin_nav {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 50px;
    }

    .nh_origin_nav a {
        min-height: 90px;
        font-size: 13px;
    }

    .nh_origin_section {
        display: block;
        padding: 55px 0;
    }

    .nh_origin_section_title {
        position: static;
        margin-bottom: 28px;
    }

    .nh_origin_section_title h2 {
        font-size: 27px;
    }

    .nh_origin_section_title h2 br {
        display: none;
    }

    .nh_origin_text > p {
        font-size: 14px;
        line-height: 1.9;
    }

    .nh_origin_quote {
        padding: 30px 25px;
    }

    .nh_origin_quote p {
        font-size: 18px;
    }

    .nh_origin_profile {
        grid-template-columns: 1fr;
    }

    .nh_origin_profile_name {
        min-height: 175px;
    }

    .nh_origin_profile dl {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .nh_origin_lineage {
        grid-template-columns: 1fr;
    }

    .nh_origin_lineage_body > p {
        min-height: 0;
    }

    .nh_origin_award {
        padding: 35px 22px;
    }

    .nh_origin_award strong {
        font-size: 19px;
    }

    .nh_origin_award strong br {
        display: none;
    }

    .nh_origin_branch_list,
    .nh_origin_branch_list_small {
        grid-template-columns: repeat(2, 1fr);
    }

    .nh_origin_timeline {
        display: grid;
        grid-template-columns: 1fr;
        padding: 28px 20px;
    }

    .nh_origin_timeline i {
        width: 1px;
        height: 22px;
        margin: 0 auto;
    }

    .nh_origin_message {
        padding: 43px 25px;
    }

    .nh_origin_message h2 {
        font-size: 22px;
    }

    .nh_origin_message h2 br {
        display: none;
    }

}

/* ==========================================================================
   ANCESTORS AND BRANCH FOUNDERS
   ========================================================================== */

.nh_ancestor_page {
    padding-top: 10px;
}


/* 상단 소개 */

.nh_ancestor_intro {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    max-width: 1200px;
    margin: 0 auto 65px;
    overflow: hidden;
    background: var(--nh-bg-green);
    border-top: 3px solid var(--nh-primary);
}

.nh_ancestor_intro_symbol {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 280px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_ancestor_intro_symbol::before,
.nh_ancestor_intro_symbol::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(210, 183, 125, 0.18);
    border-radius: 50%;
}

.nh_ancestor_intro_symbol::before {
    top: -90px;
    left: -90px;
    width: 250px;
    height: 250px;
}

.nh_ancestor_intro_symbol::after {
    right: -80px;
    bottom: -100px;
    width: 230px;
    height: 230px;
}

.nh_ancestor_intro_symbol span {
    position: relative;
    z-index: 2;
    color: var(--nh-gold-light);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 68px;
    font-weight: 500;
}

.nh_ancestor_intro_content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 280px;
    padding: 45px 65px;
}

.nh_ancestor_intro_kicker {
    margin-bottom: 12px;
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_ancestor_intro_content h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 33px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.045em;
}

.nh_ancestor_intro_content > p:last-child {
    max-width: 680px;
    margin-top: 19px;
    color: #5d5d5d;
    font-size: 15px;
    line-height: 1.9;
}


/* 선시조·중시조 */

.nh_ancestor_founders {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 65px;
}

.nh_ancestor_founder_card {
    position: relative;
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    min-height: 350px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--nh-border);
    transition:
        border-color var(--nh-transition),
        box-shadow var(--nh-transition),
        transform var(--nh-transition);
}

.nh_ancestor_founder_card:hover {
    border-color: var(--nh-primary);
    box-shadow: 0 18px 45px rgba(18, 51, 42, 0.11);
    transform: translateY(-6px);
}

.nh_ancestor_founder_label {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    background: var(--nh-primary);
}

.nh_ancestor_founder_label span {
    color: var(--nh-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.nh_ancestor_founder_label strong {
    margin-top: 10px;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 21px;
    font-weight: 600;
}

.nh_ancestor_founder_content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 45px 42px;
}

.nh_ancestor_founder_hanja {
    color: var(--nh-gold-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 16px;
    letter-spacing: 0.14em;
}

.nh_ancestor_founder_content h2 {
    margin-top: 8px;
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.nh_ancestor_founder_divider {
    width: 38px;
    height: 2px;
    margin: 23px 0;
    background: var(--nh-gold);
}

.nh_ancestor_founder_content > p:last-child {
    color: #5b5b5b;
    font-size: 15px;
    line-height: 1.9;
    word-break: keep-all;
}

.nh_ancestor_founder_watermark {
    position: absolute;
    right: -10px;
    bottom: -40px;
    color: rgba(23, 63, 52, 0.04);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 170px;
    font-weight: 700;
    line-height: 1;
}


/* 계보 흐름 */

.nh_ancestor_flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 90px;
    padding: 37px 40px;
    background: var(--nh-bg-green);
    border-top: 2px solid var(--nh-primary);
}

.nh_ancestor_flow_item {
    flex: 1;
    text-align: center;
}

.nh_ancestor_flow_item > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    background: var(--nh-primary);
    border-radius: 50%;
}

.nh_ancestor_flow_item p {
    color: #777;
    font-size: 12px;
}

.nh_ancestor_flow_item strong {
    display: block;
    margin-top: 5px;
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 17px;
}

.nh_ancestor_flow > i {
    flex-shrink: 0;
    width: 35px;
    height: 1px;
    background: var(--nh-gold);
}


/* 종파 목록 */

.nh_branch_section {
    max-width: 1200px;
    margin: 0 auto;
}

.nh_branch_section_head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 35px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--nh-primary);
}

.nh_branch_section_head p {
    margin-bottom: 8px;
    color: var(--nh-gold-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_branch_section_head h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 31px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.nh_branch_section_head > span {
    color: #aaa;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 15px;
    letter-spacing: 0.12em;
}

.nh_branch_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.nh_branch_card {
    position: relative;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: 205px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--nh-border);
    transition:
        border-color var(--nh-transition),
        box-shadow var(--nh-transition),
        transform var(--nh-transition);
}

.nh_branch_card:hover {
    border-color: var(--nh-primary);
    box-shadow: 0 14px 35px rgba(18, 51, 42, 0.09);
    transform: translateY(-5px);
}

.nh_branch_card_no {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nh-gold-light);
    font-size: 12px;
    font-weight: 700;
    background: var(--nh-primary);
    writing-mode: vertical-rl;
    letter-spacing: 0.15em;
}

.nh_branch_card_content {
    padding: 29px 27px;
}

.nh_branch_card_content > p {
    color: var(--nh-gold-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 13px;
    letter-spacing: 0.08em;
}

.nh_branch_card_content h3 {
    margin-top: 7px;
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 21px;
    font-weight: 700;
}

.nh_branch_card_content dl {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr);
    align-items: center;
    margin-top: 23px;
    padding-top: 19px;
    border-top: 1px solid var(--nh-border-light);
}

.nh_branch_card_content dt {
    color: #888;
    font-size: 12px;
}

.nh_branch_card_content dd {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.nh_branch_card_content dd strong {
    color: #333;
    font-size: 16px;
}

.nh_branch_card_content dd span {
    color: #888;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 13px;
}

.nh_branch_card_arrow {
    position: absolute;
    right: 20px;
    bottom: 18px;
    color: rgba(23, 63, 52, 0.18);
    font-size: 20px;
}


/* 유보 종파 */

.nh_branch_reserved {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 25px 30px;
    background: #fffaf0;
    border: 1px solid rgba(183, 147, 83, 0.3);
}

.nh_branch_reserved_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 29px;
    height: 29px;
    color: #fff;
    font-family: serif;
    font-size: 15px;
    font-weight: 700;
    background: var(--nh-gold-dark);
    border-radius: 50%;
}

.nh_branch_reserved strong {
    display: block;
    margin-bottom: 6px;
    color: var(--nh-primary-dark);
    font-size: 15px;
}

.nh_branch_reserved p {
    color: #6a6258;
    font-size: 14px;
    line-height: 1.75;
}


/* 하단 문구 */

.nh_ancestor_message {
    max-width: 1200px;
    margin: 70px auto 0;
    padding: 55px 40px;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(
            120deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_ancestor_message p {
    margin-bottom: 13px;
    color: var(--nh-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_ancestor_message h2 {
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: -0.04em;
}


/* 태블릿 */

@media screen and (max-width: 1000px) {

    .nh_ancestor_intro {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .nh_ancestor_intro_content {
        padding-right: 45px;
        padding-left: 45px;
    }

    .nh_ancestor_founder_card {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .nh_ancestor_founder_content {
        padding-right: 30px;
        padding-left: 30px;
    }

    .nh_branch_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* 모바일 */

@media screen and (max-width: 700px) {

    .nh_ancestor_intro {
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }

    .nh_ancestor_intro_symbol {
        min-height: 175px;
    }

    .nh_ancestor_intro_symbol span {
        font-size: 53px;
    }

    .nh_ancestor_intro_content {
        min-height: 0;
        padding: 33px 25px;
    }

    .nh_ancestor_intro_content h2 {
        font-size: 25px;
    }

    .nh_ancestor_intro_content > p:last-child {
        font-size: 14px;
    }

    .nh_ancestor_founders {
        grid-template-columns: 1fr;
        gap: 17px;
        margin-bottom: 45px;
    }

    .nh_ancestor_founder_card {
        grid-template-columns: 80px minmax(0, 1fr);
        min-height: 290px;
    }

    .nh_ancestor_founder_label strong {
        font-size: 17px;
    }

    .nh_ancestor_founder_content {
        padding: 32px 23px;
    }

    .nh_ancestor_founder_content h2 {
        font-size: 28px;
    }

    .nh_ancestor_founder_content > p:last-child {
        font-size: 14px;
    }

    .nh_ancestor_founder_watermark {
        font-size: 120px;
    }

    .nh_ancestor_flow {
        display: grid;
        grid-template-columns: 1fr;
        gap: 17px;
        margin-bottom: 55px;
        padding: 30px 20px;
    }

    .nh_ancestor_flow > i {
        width: 1px;
        height: 18px;
        margin: 0 auto;
    }

    .nh_branch_section_head {
        display: block;
    }

    .nh_branch_section_head h2 {
        font-size: 26px;
    }

    .nh_branch_section_head > span {
        display: block;
        margin-top: 10px;
    }

    .nh_branch_grid {
        grid-template-columns: 1fr;
    }

    .nh_branch_card {
        min-height: 185px;
    }

    .nh_branch_card_content {
        padding: 25px 22px;
    }

    .nh_branch_reserved {
        padding: 21px 20px;
    }

    .nh_ancestor_message {
        margin-top: 50px;
        padding: 43px 25px;
    }

    .nh_ancestor_message h2 {
        font-size: 22px;
    }

    .nh_ancestor_message h2 br {
        display: none;
    }

}

/* ==========================================================================
   GENERATION NAME TABLE
   ========================================================================== */

.nh_generation_page {
    padding-top: 10px;
}


/* 소개 */

.nh_generation_intro {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    max-width: 1200px;
    margin: 0 auto 50px;
    overflow: hidden;
    background: var(--nh-bg-green);
    border-top: 3px solid var(--nh-primary);
}

.nh_generation_intro_symbol {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 280px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_generation_intro_symbol::before,
.nh_generation_intro_symbol::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(210, 183, 125, 0.18);
    border-radius: 50%;
}

.nh_generation_intro_symbol::before {
    top: -95px;
    left: -90px;
    width: 250px;
    height: 250px;
}

.nh_generation_intro_symbol::after {
    right: -80px;
    bottom: -100px;
    width: 230px;
    height: 230px;
}

.nh_generation_intro_symbol span {
    position: relative;
    z-index: 2;
    color: var(--nh-gold-light);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 68px;
    font-weight: 500;
}

.nh_generation_intro_content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 280px;
    padding: 45px 65px;
}

.nh_generation_intro_kicker {
    margin-bottom: 12px;
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_generation_intro_content h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 33px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.045em;
}

.nh_generation_intro_content > p:last-child {
    max-width: 680px;
    margin-top: 19px;
    color: #5d5d5d;
    font-size: 15px;
    line-height: 1.9;
}


/* 안내 */

.nh_generation_guide {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1200px;
    margin: 0 auto 55px;
    border-top: 2px solid var(--nh-primary);
    border-left: 1px solid var(--nh-border);
}

.nh_generation_guide_item {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 15px;
    min-height: 150px;
    padding: 30px 25px;
    background: #fff;
    border-right: 1px solid var(--nh-border);
    border-bottom: 1px solid var(--nh-border);
}

.nh_generation_guide_item > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    background: var(--nh-primary);
    border-radius: 50%;
}

.nh_generation_guide_item strong {
    color: var(--nh-primary-dark);
    font-size: 16px;
}

.nh_generation_guide_item p {
    margin-top: 8px;
    color: #666;
    font-size: 13px;
    line-height: 1.7;
}


/* 탭 */

.nh_generation_tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1200px;
    margin: 0 auto 40px;
    border: 1px solid var(--nh-border);
}

.nh_generation_tab {
    min-height: 82px;
    color: #555;
    font-size: 17px;
    font-weight: 700;
    background: #fff;
    border: 0;
    cursor: pointer;
}

.nh_generation_tab + .nh_generation_tab {
    border-left: 1px solid var(--nh-border);
}

.nh_generation_tab span {
    margin-right: 12px;
    color: var(--nh-gold-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 13px;
    letter-spacing: 0.1em;
}

.nh_generation_tab.active {
    color: #fff;
    background: var(--nh-primary);
}

.nh_generation_tab.active span {
    color: var(--nh-gold-light);
}


/* 패널 */

.nh_generation_panel {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
}

.nh_generation_panel.active {
    display: block;
}

.nh_generation_panel_head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 23px;
    border-bottom: 2px solid var(--nh-primary);
}

.nh_generation_panel_head p {
    margin-bottom: 8px;
    color: var(--nh-gold-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_generation_panel_head h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 30px;
    font-weight: 700;
}

.nh_generation_panel_head > span {
    color: #777;
    font-size: 14px;
}


/* 제정 이력 */

.nh_generation_history {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 30px;
    background: var(--nh-bg-green);
}

.nh_generation_history article {
    min-height: 155px;
    padding: 29px 30px;
}

.nh_generation_history article + article {
    border-left: 1px solid rgba(23, 63, 52, 0.13);
}

.nh_generation_history span {
    display: block;
    margin-bottom: 9px;
    color: var(--nh-gold-dark);
    font-size: 11px;
    font-weight: 700;
}

.nh_generation_history strong {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 19px;
}

.nh_generation_history p {
    margin-top: 9px;
    color: #666;
    font-size: 13px;
}


/* 표 */

.nh_generation_table_wrap {
    overflow-x: auto;
}

.nh_generation_table {
    width: 100%;
    min-width: 650px;
    border-top: 2px solid var(--nh-primary);
}

.nh_generation_table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.nh_generation_table th,
.nh_generation_table td {
    height: 72px;
    padding: 14px 22px;
    color: #555;
    font-size: 15px;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid var(--nh-border-light);
    border-bottom: 1px solid var(--nh-border);
}

.nh_generation_table tr > *:last-child {
    border-right: 0;
}

.nh_generation_table thead th {
    height: 62px;
    color: var(--nh-primary-dark);
    font-weight: 700;
    background: var(--nh-bg-green);
}

.nh_generation_table tbody th {
    width: 150px;
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 18px;
    background: #fafafa;
}

.nh_generation_table tbody td strong {
    color: #333;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 19px;
    font-weight: 600;
}

.nh_generation_table tbody tr:hover {
    background: #fafcfb;
}

.nh_generation_position {
    display: inline-flex;
    min-width: 70px;
    padding: 5px 11px;
    color: var(--nh-primary);
    font-size: 12px;
    font-weight: 700;
    background: var(--nh-bg-green);
    border: 1px solid rgba(23, 63, 52, 0.12);
}

.nh_generation_element {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    color: #fff;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 17px;
    background: var(--nh-primary);
    border-radius: 50%;
}

.nh_generation_empty {
    color: #aaa;
}


/* 토홍 안내 */

.nh_generation_notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 22px 25px;
    background: #fffaf0;
    border: 1px solid rgba(183, 147, 83, 0.3);
}

.nh_generation_notice > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 27px;
    height: 27px;
    color: #fff;
    font-family: serif;
    font-size: 14px;
    font-weight: 700;
    background: var(--nh-gold-dark);
    border-radius: 50%;
}

.nh_generation_notice p {
    color: #685f55;
    font-size: 14px;
    line-height: 1.75;
}


/* 오행 순환 */

.nh_generation_cycle {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 48px 40px;
    background: var(--nh-bg-green);
    border-top: 3px solid var(--nh-primary);
}

.nh_generation_cycle_head {
    margin-bottom: 35px;
    text-align: center;
}

.nh_generation_cycle_head p {
    margin-bottom: 8px;
    color: var(--nh-gold-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_generation_cycle_head h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 27px;
}

.nh_generation_cycle_list {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nh_generation_cycle_list > div {
    flex: 1;
    max-width: 170px;
    text-align: center;
}

.nh_generation_cycle_list > div > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 13px;
    color: var(--nh-gold-light);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 27px;
    background: var(--nh-primary);
    border-radius: 50%;
}

.nh_generation_cycle_list strong {
    display: block;
    color: var(--nh-primary-dark);
    font-size: 15px;
}

.nh_generation_cycle_list p {
    margin-top: 7px;
    color: #777;
    font-size: 11px;
    line-height: 1.6;
}

.nh_generation_cycle_list > i {
    margin: 0 15px;
    color: var(--nh-gold-dark);
    font-size: 18px;
    font-style: normal;
}


/* 하단 */

.nh_generation_message {
    max-width: 1200px;
    margin: 70px auto 0;
    padding: 55px 40px;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(
            120deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_generation_message p {
    margin-bottom: 13px;
    color: var(--nh-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_generation_message h2 {
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.65;
}


/* 태블릿 */

@media screen and (max-width: 1000px) {

    .nh_generation_intro {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .nh_generation_intro_content {
        padding-right: 45px;
        padding-left: 45px;
    }

    .nh_generation_cycle {
        padding-right: 25px;
        padding-left: 25px;
    }

    .nh_generation_cycle_list > i {
        margin: 0 8px;
    }

}


/* 모바일 */

@media screen and (max-width: 700px) {

    .nh_generation_intro {
        grid-template-columns: 1fr;
        margin-bottom: 35px;
    }

    .nh_generation_intro_symbol {
        min-height: 175px;
    }

    .nh_generation_intro_symbol span {
        font-size: 53px;
    }

    .nh_generation_intro_content {
        min-height: 0;
        padding: 33px 25px;
    }

    .nh_generation_intro_content h2 {
        font-size: 25px;
    }

    .nh_generation_intro_content > p:last-child {
        font-size: 14px;
    }

    .nh_generation_guide {
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }

    .nh_generation_guide_item {
        min-height: 0;
        padding: 23px 20px;
    }

    .nh_generation_tabs {
        margin-bottom: 32px;
    }

    .nh_generation_tab {
        min-height: 70px;
        font-size: 14px;
    }

    .nh_generation_tab span {
        display: block;
        margin: 0 0 4px;
        font-size: 10px;
    }

    .nh_generation_panel_head {
        display: block;
    }

    .nh_generation_panel_head h2 {
        font-size: 25px;
    }

    .nh_generation_panel_head > span {
        display: block;
        margin-top: 9px;
    }

    .nh_generation_history {
        grid-template-columns: 1fr;
    }

    .nh_generation_history article {
        min-height: 0;
        padding: 23px 22px;
    }

    .nh_generation_history article + article {
        border-top: 1px solid rgba(23, 63, 52, 0.13);
        border-left: 0;
    }

    .nh_generation_table th,
    .nh_generation_table td {
        height: 64px;
        padding: 12px 14px;
        font-size: 13px;
    }

    .nh_generation_table tbody th {
        font-size: 16px;
    }

    .nh_generation_table tbody td strong {
        font-size: 16px;
    }

    .nh_generation_cycle {
        margin-top: 55px;
        padding: 38px 20px;
    }

    .nh_generation_cycle_list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .nh_generation_cycle_list > div {
        width: 100%;
        max-width: none;
    }

    .nh_generation_cycle_list > i {
        margin: 0;
        text-align: center;
        transform: rotate(90deg);
    }

    .nh_generation_message {
        margin-top: 50px;
        padding: 43px 25px;
    }

    .nh_generation_message h2 {
        font-size: 22px;
    }

    .nh_generation_message h2 br {
        display: none;
    }

}

/* ==========================================================================
   FAMILY LINEAGE CHART
   ========================================================================== */

.nh_worldline_page {
    padding-top: 10px;
}


/* 상단 소개 */

.nh_worldline_intro {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    max-width: 1200px;
    margin: 0 auto 45px;
    overflow: hidden;
    background: var(--nh-bg-green);
    border-top: 3px solid var(--nh-primary);
}

.nh_worldline_intro_symbol {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 280px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_worldline_intro_symbol::before,
.nh_worldline_intro_symbol::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(210, 183, 125, 0.18);
    border-radius: 50%;
}

.nh_worldline_intro_symbol::before {
    top: -95px;
    left: -90px;
    width: 250px;
    height: 250px;
}

.nh_worldline_intro_symbol::after {
    right: -80px;
    bottom: -100px;
    width: 230px;
    height: 230px;
}

.nh_worldline_intro_symbol span {
    position: relative;
    z-index: 2;
    color: var(--nh-gold-light);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 68px;
    font-weight: 500;
}

.nh_worldline_intro_content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 280px;
    padding: 45px 65px;
}

.nh_worldline_intro_kicker {
    margin-bottom: 12px;
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_worldline_intro_content h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.045em;
}

.nh_worldline_intro_content > p:last-child {
    max-width: 680px;
    margin-top: 18px;
    color: #5d5d5d;
    font-size: 15px;
    line-height: 1.9;
}


/* 안내 */

.nh_worldline_notice {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 23px 28px;
    background: #fffaf0;
    border: 1px solid rgba(183, 147, 83, 0.28);
}

.nh_worldline_notice_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 29px;
    height: 29px;
    color: #fff;
    font-family: serif;
    font-size: 15px;
    font-weight: 700;
    background: var(--nh-gold-dark);
    border-radius: 50%;
}

.nh_worldline_notice strong {
    display: block;
    margin-bottom: 6px;
    color: var(--nh-primary-dark);
    font-size: 15px;
}

.nh_worldline_notice p {
    color: #6a6258;
    font-size: 14px;
    line-height: 1.75;
}


/* 세계도 이미지 */

.nh_worldline_figure {
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px;
    background: #f7f4eb;
    border: 1px solid var(--nh-border);
}

.nh_worldline_image_button {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 0;
    cursor: zoom-in;
    box-shadow: 0 15px 45px rgba(38, 49, 44, 0.1);
}

.nh_worldline_image_button img {
    display: block;
    width: 100%;
    height: auto;
}

.nh_worldline_zoom {
    position: absolute;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    background: rgba(18, 51, 42, 0.9);
}

.nh_worldline_zoom i {
    position: relative;
    display: block;
    width: 15px;
    height: 15px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.nh_worldline_zoom i::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -4px;
    width: 7px;
    height: 2px;
    background: #fff;
    transform: rotate(45deg);
}

.nh_worldline_figure figcaption {
    margin-top: 18px;
    color: #777;
    font-size: 13px;
    text-align: center;
}


/* 세대 안내 */

.nh_worldline_generation {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 35px auto 0;
    padding: 35px 40px;
    background: var(--nh-bg-green);
    border-top: 2px solid var(--nh-primary);
}

.nh_worldline_generation > div {
    flex: 1;
    max-width: 260px;
    text-align: center;
}

.nh_worldline_generation span {
    display: block;
    margin-bottom: 7px;
    color: var(--nh-gold-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 13px;
    letter-spacing: 0.1em;
}

.nh_worldline_generation strong {
    display: block;
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 20px;
}

.nh_worldline_generation p {
    margin-top: 6px;
    color: #777;
    font-size: 12px;
}

.nh_worldline_generation > i {
    flex-shrink: 0;
    width: 60px;
    height: 1px;
    background: var(--nh-gold);
}


/* 하단 문구 */

.nh_worldline_message {
    max-width: 1200px;
    margin: 70px auto 0;
    padding: 55px 40px;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(
            120deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_worldline_message p {
    margin-bottom: 13px;
    color: var(--nh-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_worldline_message h2 {
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.65;
}


/* 확대 팝업 */

html.nh_modal_open,
body.nh_modal_open {
    overflow: hidden;
}

.nh_worldline_modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.82);
}

.nh_worldline_modal.active {
    display: flex;
}

.nh_worldline_modal_inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1250px;
    max-height: calc(100vh - 60px);
    overflow: hidden;
    background: #fff;
}

.nh_worldline_modal_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    min-height: 65px;
    padding: 0 22px 0 28px;
    color: #fff;
    background: var(--nh-primary);
}

.nh_worldline_modal_header strong {
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 18px;
}

.nh_worldline_modal_close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #fff;
    font-size: 35px;
    font-weight: 200;
    line-height: 1;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.nh_worldline_modal_body {
    flex: 1;
    overflow: auto;
    padding: 25px;
    background: #e8e6df;
}

.nh_worldline_modal_body img {
    display: block;
    width: auto;
    max-width: none;
    min-width: 928px;
    height: auto;
    margin: 0 auto;
}


/* 태블릿 */

@media screen and (max-width: 1000px) {

    .nh_worldline_intro {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .nh_worldline_intro_content {
        padding-right: 45px;
        padding-left: 45px;
    }

    .nh_worldline_figure {
        padding: 25px;
    }

}


/* 모바일 */

@media screen and (max-width: 700px) {

    .nh_worldline_intro {
        grid-template-columns: 1fr;
        margin-bottom: 35px;
    }

    .nh_worldline_intro_symbol {
        min-height: 175px;
    }

    .nh_worldline_intro_symbol span {
        font-size: 53px;
    }

    .nh_worldline_intro_content {
        min-height: 0;
        padding: 33px 25px;
    }

    .nh_worldline_intro_content h2 {
        font-size: 26px;
    }

    .nh_worldline_intro_content > p:last-child {
        font-size: 14px;
    }

    .nh_worldline_notice {
        padding: 20px;
    }

    .nh_worldline_figure {
        padding: 12px;
    }

    .nh_worldline_zoom {
        right: 10px;
        bottom: 10px;
        padding: 9px 12px;
        font-size: 11px;
    }

    .nh_worldline_generation {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 30px 20px;
    }

    .nh_worldline_generation > div {
        max-width: none;
    }

    .nh_worldline_generation > i {
        width: 1px;
        height: 18px;
        margin: 0 auto;
    }

    .nh_worldline_message {
        margin-top: 50px;
        padding: 43px 25px;
    }

    .nh_worldline_message h2 {
        font-size: 22px;
    }

    .nh_worldline_message h2 br {
        display: none;
    }

    .nh_worldline_modal {
        padding: 10px;
    }

    .nh_worldline_modal_inner {
        max-height: calc(100vh - 20px);
    }

    .nh_worldline_modal_header {
        min-height: 55px;
        padding-left: 18px;
    }

    .nh_worldline_modal_header strong {
        font-size: 16px;
    }

    .nh_worldline_modal-body,
    .nh_worldline_modal_body {
        padding: 12px;
    }

}

/* ==========================================================================
   SUB MENU
   ========================================================================== */

.nh_submenu {
    position: relative;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.nh_submenu .nh_inner {
    max-width: 1260px;
    padding-right: 0;
    padding-left: 0;
}

.nh_submenu_list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
    border-left: 1px solid #ddd;
}

.nh_submenu_list li {
    border-right: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

.nh_submenu_list li:nth-child(-n+4) {
    border-top: 0;
}

.nh_submenu_list a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 10px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.nh_submenu_list a:hover {
    color: #fff;
    background: #1c5142;
}

.nh_submenu_list li.nh_active a {
    color: #fff;
    font-weight: 700;
    background: #174b3d;
    border-bottom: 3px solid #bd8a32;
}

@media screen and (max-width: 768px) {

    .nh_submenu {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nh_submenu .nh_inner {
        min-width: 800px;
    }

    .nh_submenu_list {
        grid-template-columns: repeat(8, 1fr);
    }

    .nh_submenu_list li,
    .nh_submenu_list li:nth-child(n + 5) {
        border-bottom: 0;
    }

    .nh_submenu_list a {
        min-height: 48px;
        font-size: 13px;
    }

}

/* ==========================================================================
   LOCATION
   ========================================================================== */

.nh_location_page {
    padding-top: 10px;
}


/* 상단 소개 */

.nh_location_intro {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    max-width: 1200px;
    margin: 0 auto 45px;
    overflow: hidden;
    background: #f1f5f2;
    border-top: 3px solid #174b3d;
}

.nh_location_intro_symbol {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 280px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            #0d352d,
            #1b5647
        );
}

.nh_location_intro_symbol::before,
.nh_location_intro_symbol::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(218, 183, 108, 0.2);
    border-radius: 50%;
}

.nh_location_intro_symbol::before {
    top: -90px;
    left: -90px;
    width: 240px;
    height: 240px;
}

.nh_location_intro_symbol::after {
    right: -80px;
    bottom: -100px;
    width: 230px;
    height: 230px;
}

.nh_location_intro_symbol span {
    position: relative;
    z-index: 2;
    color: #dec58c;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 66px;
    font-weight: 500;
}

.nh_location_intro_content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 280px;
    padding: 45px 65px;
}

.nh_location_intro_kicker {
    margin-bottom: 12px;
    color: #a4752d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.nh_location_intro_content h2 {
    color: #163e34;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.045em;
}

.nh_location_intro_content > p:last-child {
    max-width: 680px;
    margin-top: 18px;
    color: #5e6561;
    font-size: 15px;
    line-height: 1.9;
}


/* 지도 및 위치 정보 */

.nh_location_main {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.75fr);
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 15px 45px rgba(24, 53, 44, 0.08);
}

.nh_location_map {
    position: relative;
    min-height: 540px;
    background: #e8ebe8;
}

.nh_location_map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 540px;
    border: 0;
}

.nh_location_info {
    padding: 52px 42px;
    background: #fff;
}

.nh_location_info_kicker {
    margin-bottom: 11px;
    color: #a4752d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.nh_location_info h2 {
    margin-bottom: 32px;
    color: #163e34;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.nh_location_info_list {
    margin: 0;
}

.nh_location_info_list > div {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    padding: 18px 0;
    border-bottom: 1px solid #e7e7e7;
}

.nh_location_info_list > div:first-child {
    border-top: 1px solid #174b3d;
}

.nh_location_info_list dt {
    color: #174b3d;
    font-size: 14px;
    font-weight: 700;
}

.nh_location_info_list dd {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

.nh_location_info_list dd a {
    color: #333;
    font-weight: 700;
}

.nh_location_info_list dd a:hover {
    color: #a4752d;
}


/* 지도 버튼 */

.nh_location_buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 30px;
}

.nh_location_button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 13px;
    color: #174b3d;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    background: #fff;
    border: 1px solid #174b3d;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.nh_location_button:first-child {
    grid-column: 1 / -1;
}

.nh_location_button:hover,
.nh_location_button:focus {
    color: #fff;
    background: #174b3d;
}

.nh_location_button_primary {
    color: #fff;
    background: #174b3d;
}

.nh_location_button_primary:hover,
.nh_location_button_primary:focus {
    background: #0f392f;
}

.nh_location_copy_message {
    min-height: 22px;
    margin-top: 10px;
    color: #a4752d;
    font-size: 12px;
    text-align: center;
}


/* 방문 안내 */

.nh_location_guide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 55px auto 0;
    border-top: 2px solid #174b3d;
    border-bottom: 1px solid #ddd;
}

.nh_location_guide_item {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    min-height: 245px;
    padding: 35px 30px;
    border-right: 1px solid #ddd;
}

.nh_location_guide_item:last-child {
    border-right: 0;
}

.nh_location_guide_no {
    color: #b78737;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 16px;
    font-weight: 700;
}

.nh_location_guide_content > span {
    display: block;
    margin-bottom: 10px;
    color: #a4752d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.nh_location_guide_content h3 {
    margin-bottom: 15px;
    color: #163e34;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 21px;
}

.nh_location_guide_content p {
    color: #666;
    font-size: 14px;
    line-height: 1.85;
}


/* 하단 연락처 */

.nh_location_contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 70px auto 0;
    padding: 48px 55px;
    color: #fff;
    background:
        linear-gradient(
            120deg,
            #0d352d,
            #1c5748
        );
}

.nh_location_contact_text > p {
    margin-bottom: 9px;
    color: #dec58c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.nh_location_contact_text h2 {
    margin-bottom: 10px;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 27px;
}

.nh_location_contact_text span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.nh_location_contact_number {
    flex-shrink: 0;
    padding-left: 48px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.nh_location_contact_number span {
    display: block;
    margin-bottom: 7px;
    color: #dec58c;
    font-size: 12px;
    text-align: right;
}

.nh_location_contact_number a {
    color: #fff;
    font-family:
        Arial,
        sans-serif;
    font-size: 31px;
    font-weight: 700;
    letter-spacing: -0.03em;
}


/* 태블릿 */

@media screen and (max-width: 1000px) {

    .nh_location_intro {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .nh_location_intro_content {
        padding-right: 45px;
        padding-left: 45px;
    }

    .nh_location_main {
        grid-template-columns: 1fr;
    }

    .nh_location_map,
    .nh_location_map iframe {
        min-height: 440px;
    }

    .nh_location_guide {
        grid-template-columns: 1fr;
    }

    .nh_location_guide_item {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid #ddd;
    }

    .nh_location_guide_item:last-child {
        border-bottom: 0;
    }

}


/* 모바일 */

@media screen and (max-width: 700px) {

    .nh_location_intro {
        grid-template-columns: 1fr;
        margin-bottom: 35px;
    }

    .nh_location_intro_symbol {
        min-height: 175px;
    }

    .nh_location_intro_symbol span {
        font-size: 52px;
    }

    .nh_location_intro_content {
        min-height: 0;
        padding: 33px 25px;
    }

    .nh_location_intro_content h2 {
        font-size: 25px;
    }

    .nh_location_intro_content > p:last-child {
        font-size: 14px;
    }

    .nh_location_map,
    .nh_location_map iframe {
        min-height: 350px;
    }

    .nh_location_info {
        padding: 35px 23px;
    }

    .nh_location_info h2 {
        font-size: 24px;
    }

    .nh_location_info_list > div {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .nh_location_buttons {
        grid-template-columns: 1fr;
    }

    .nh_location_button:first-child {
        grid-column: auto;
    }

    .nh_location_guide {
        margin-top: 40px;
    }

    .nh_location_guide_item {
        grid-template-columns: 45px minmax(0, 1fr);
        padding: 28px 20px;
    }

    .nh_location_contact {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 50px;
        padding: 38px 25px;
    }

    .nh_location_contact_text h2 {
        font-size: 23px;
    }

    .nh_location_contact_number {
        width: 100%;
        padding-top: 22px;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.22);
        border-left: 0;
    }

    .nh_location_contact_number span {
        text-align: left;
    }

    .nh_location_contact_number a {
        font-size: 27px;
    }

}

/* =========================================================
   자료실 - 족보의 유래
========================================================= */
.nh_archive_page {
    width: 100%;
    color: #333;
}

.nh_archive_intro {
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
    padding: 65px 70px;
    background:
        linear-gradient(
            135deg,
            rgba(68, 38, 21, 0.96),
            rgba(112, 74, 43, 0.92)
        );
    box-sizing: border-box;
}

.nh_archive_intro::before {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -150px;
    width: 370px;
    height: 370px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
}

.nh_archive_intro::after {
    content: '';
    position: absolute;
    right: 40px;
    bottom: -190px;
    width: 370px;
    height: 370px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.nh_archive_intro_label {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 18px;
    color: #d8bd91;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.nh_archive_intro h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-family: 'Noto Serif KR', serif;
    font-size: 37px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.04em;
}

.nh_archive_intro p {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.9;
    word-break: keep-all;
}

/* =========================================================
   자료실 공통 섹션
========================================================= */

.nh_archive_section {
    margin: 85px 0;
}

.nh_archive_heading {
    display: flex;
    align-items: center;
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto 35px;
    padding: 0 15px 22px;
    border-bottom: 2px solid #3f2b1d;
    box-sizing: border-box;
}

.nh_archive_number {
    display: flex;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    background: #704b2c;
}

.nh_archive_heading p {
    margin: 0 0 5px;
    color: #a27d50;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
}

.nh_archive_heading h3 {
    margin: 0;
    color: #2d241e;
    font-family: 'Noto Serif KR', serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.035em;
}

/* 본문 */

.nh_archive_content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_archive_content p {
    margin: 0 0 24px;
    color: #4f4b47;
    font-size: 17px;
    line-height: 2.05;
    word-break: keep-all;
}

.nh_archive_content p:last-child {
    margin-bottom: 0;
}

/* 강조 섹션 */
.nh_archive_section_highlight {
    padding: 45px 50px;
    border: 1px solid #ded5c7;
    background: #faf8f4;
    box-sizing: border-box;
}

.nh_archive_section_highlight .nh_archive_heading {
    margin-bottom: 28px;
}


/* 인용 박스 */
.nh_archive_quote {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 35px auto;
    padding: 32px 38px;
    border-left: 4px solid #8a6038;
    background: #f5f1ea;
    box-sizing: border-box;
}



.nh_archive_quote::before {
    content: '“';
    position: absolute;
    right: 25px;
    top: 3px;
    color: rgba(112, 75, 44, 0.12);
    font-family: Georgia, serif;
    font-size: 95px;
    line-height: 1;
}

.nh_archive_quote strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 14px;
    color: #5b3b22;
    font-family: 'Noto Serif KR', serif;
    font-size: 21px;
    font-weight: 700;
}

.nh_archive_quote p {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: #4f4b47;
    font-size: 15px;
    line-height: 1.9;
    word-break: keep-all;
}

.nh_archive_quote p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .nh_archive_quote {
        width: 100%;
        margin: 25px auto;
        padding: 25px 22px;
    }

    .nh_archive_quote::before {
        right: 15px;
        font-size: 72px;
    }

    .nh_archive_quote strong {
        font-size: 18px;
    }

    .nh_archive_quote p {
        font-size: 14px;
        line-height: 1.8;
    }
}

/* 일반 상식 카드 */
.nh_archive_knowledge_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_archive_knowledge_item {
    position: relative;
    min-height: 190px;
    padding: 32px 28px;
    border: 1px solid #e1dacf;
    background: #fff;
    box-sizing: border-box;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.nh_archive_knowledge_item:hover {
    transform: translateY(-4px);
    border-color: #b89a75;
    box-shadow: 0 12px 28px rgba(65, 45, 29, 0.08);
}

.nh_archive_knowledge_item > span {
    display: block;
    margin-bottom: 22px;
    color: #a47b4e;
    font-family: Georgia, serif;
    font-size: 26px;
    font-weight: 700;
}

.nh_archive_knowledge_item p {
    margin: 0;
    color: #4d4945;
    font-size: 15px;
    line-height: 1.85;
    word-break: keep-all;
}

.nh_archive_knowledge_item strong {
    color: #684629;
    font-weight: 700;
}


/* 족보 편제 */
.nh_archive_steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_archive_steps article {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    width: 100%;
    padding: 30px 32px;
    border: 1px solid #e2dcd3;
    background: #fff;
    box-sizing: border-box;
}

.nh_archive_steps article > span {
    flex: 0 0 auto;
    color: #b28b5e;
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.nh_archive_steps h4 {
    margin: 0 0 10px;
    color: #35271d;
    font-size: 18px;
    font-weight: 700;
}

.nh_archive_steps p {
    margin: 0;
    color: #615c57;
    font-size: 15px;
    line-height: 1.8;
    word-break: keep-all;
}

/* 족보 간행 */
.nh_archive_publish {
    position: relative;
    padding: 50px;
    background: #f8f5f0;
    box-sizing: border-box;
}

.nh_archive_publish::after {
    content: '族譜';
    position: absolute;
    right: 35px;
    bottom: 10px;
    color: rgba(76, 52, 34, 0.045);
    font-family: 'Noto Serif KR', serif;
    font-size: 130px;
    font-weight: 700;
    line-height: 1;
}

.nh_archive_publish .nh_archive_heading,
.nh_archive_publish .nh_archive_content {
    position: relative;
    z-index: 1;
}


/* 마지막 강조 영역 */
.nh_archive_message {
    position: relative;
    overflow: hidden;
    padding: 60px 55px;
    color: #fff;
    text-align: center;
    background: #36271f;
    box-sizing: border-box;
}

.nh_archive_message::before,
.nh_archive_message::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 120px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.nh_archive_message::before {
    left: 40px;
}

.nh_archive_message::after {
    right: 40px;
}

.nh_archive_message > span {
    display: block;
    margin-bottom: 18px;
    color: #d0aa78;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.nh_archive_message strong {
    display: block;
    color: #fff;
    font-family: 'Noto Serif KR', serif;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: -0.03em;
}

.nh_archive_message p {
    max-width: 720px;
    margin: 22px auto 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.9;
    word-break: keep-all;
}


/* =========================================================
   반응형
========================================================= */
@media screen and (max-width: 1024px) {

    .nh_archive_intro {
        padding: 55px 50px;
    }

    .nh_archive_intro h2 {
        font-size: 32px;
    }

  .nh_archive_knowledge_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_archive_knowledge_item {
    position: relative;
    min-height: 190px;
    padding: 32px 28px;
    border: 1px solid #e1dacf;
    background: #fff;
    box-sizing: border-box;
}

    .nh_archive_message::before,
    .nh_archive_message::after {
        display: none;
    }

}


@media screen and (max-width: 768px) {

    .nh_archive_intro {
        margin-bottom: 55px;
        padding: 42px 25px;
    }

    .nh_archive_intro_label {
        margin-bottom: 13px;
        font-size: 11px;
    }

    .nh_archive_intro h2 {
        font-size: 25px;
        line-height: 1.55;
    }

    .nh_archive_intro p {
        margin-top: 18px;
        font-size: 14px;
        line-height: 1.8;
    }

    .nh_archive_section {
        margin-bottom: 55px;
    }

    .nh_archive_heading {
        gap: 15px;
        margin-bottom: 24px;
        padding-bottom: 17px;
    }

    .nh_archive_number {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        font-size: 14px;
    }

    .nh_archive_heading p {
        margin-bottom: 3px;
        font-size: 10px;
    }

    .nh_archive_heading h3 {
        font-size: 22px;
    }

    .nh_archive_content {
        padding: 0;
    }

    .nh_archive_content p {
        margin-bottom: 15px;
        font-size: 14px;
        line-height: 1.9;
    }

    .nh_archive_section_highlight,
    .nh_archive_publish {
        padding: 30px 22px;
    }

    .nh_archive_quote {
        margin: 25px 0;
        padding: 25px 22px;
    }

    .nh_archive_quote strong {
        font-size: 18px;
    }

    .nh_archive_quote p {
        font-size: 14px;
    }

    .nh_archive_knowledge_grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nh_archive_knowledge_item {
        min-height: 0;
        padding: 25px 22px;
    }

    .nh_archive_knowledge_item > span {
        margin-bottom: 14px;
        font-size: 22px;
    }

    .nh_archive_knowledge_item p {
        font-size: 14px;
    }

    .nh_archive_steps article {
        gap: 18px;
        padding: 23px 20px;
    }

    .nh_archive_steps article > span {
        font-size: 23px;
    }

    .nh_archive_steps h4 {
        font-size: 16px;
    }

    .nh_archive_steps p {
        font-size: 14px;
    }

    .nh_archive_publish::after {
        right: 15px;
        font-size: 85px;
    }

    .nh_archive_message {
        padding: 42px 24px;
    }

    .nh_archive_message strong {
        font-size: 21px;
        line-height: 1.65;
    }

    .nh_archive_message p {
        margin-top: 17px;
        font-size: 14px;
    }

}


@media screen and (max-width: 480px) {

    .nh_archive_intro h2 br,
    .nh_archive_message strong br {
        display: none;
    }

    .nh_archive_steps article {
        flex-direction: column;
        gap: 12px;
    }

}

@media screen and (max-width: 768px) {

    .nh_archive_knowledge_grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0;
    }

    .nh_archive_steps {
        gap: 15px;
        padding: 0;
    }

    .nh_archive_steps article {
        padding: 23px 20px;
    }

}

/* =========================================================
   보학에 관한 상식
========================================================= */

/* 성·본관·항렬·이름 */
.nh_bohak_name_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 35px auto 0;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_bohak_name_grid article {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 130px;
    padding: 25px 22px;
    border: 1px solid #ded5c7;
    background: #fff;
    box-sizing: border-box;
}

.nh_bohak_name_grid article > span {
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    color: #fff;
    font-family: 'Noto Serif KR', serif;
    font-size: 17px;
    font-weight: 700;
    background: #704b2c;
}

.nh_bohak_name_grid h4 {
    margin: 0 0 7px;
    color: #33251c;
    font-size: 18px;
    font-weight: 700;
}

.nh_bohak_name_grid p {
    margin: 0;
    color: #625c56;
    font-size: 14px;
    line-height: 1.7;
    word-break: keep-all;
}


/* 나라별 족보 명칭 */
.nh_bohak_country_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_bohak_country_grid article {
    position: relative;
    min-height: 250px;
    padding: 32px 28px;
    border: 1px solid #e1d8cc;
    background: #fff;
    box-sizing: border-box;
}

.nh_bohak_country_grid article > span {
    display: block;
    margin-bottom: 22px;
    color: #a47b4e;
    font-family: Georgia, 'Noto Serif KR', serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .08em;
}

.nh_bohak_country_grid h4 {
    margin: 0 0 8px;
    color: #34261d;
    font-size: 17px;
    font-weight: 700;
}

.nh_bohak_country_grid strong {
    display: block;
    margin-bottom: 17px;
    color: #704b2c;
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 700;
}

.nh_bohak_country_grid p {
    margin: 0;
    color: #5e5954;
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}


/* 반응형 */
@media screen and (max-width: 1024px) {

    .nh_bohak_name_grid,
    .nh_bohak_country_grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media screen and (max-width: 768px) {

    .nh_bohak_name_grid,
    .nh_bohak_country_grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0;
    }

    .nh_bohak_name_grid {
        margin-top: 25px;
    }

    .nh_bohak_name_grid article {
        min-height: 0;
        padding: 22px 18px;
    }

    .nh_bohak_name_grid article > span {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
        font-size: 15px;
    }

    .nh_bohak_country_grid article {
        min-height: 0;
        padding: 26px 22px;
    }

    .nh_bohak_country_grid article > span {
        margin-bottom: 15px;
        font-size: 21px;
    }

    .nh_bohak_country_grid strong {
        font-size: 18px;
    }

}

/* =========================================================
   족보용어 및 해설
========================================================= */

/* 용어 카드 */
.nh_terms_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_terms_item {
    min-height: 220px;
    padding: 30px 28px;
    border: 1px solid #e1dacf;
    background: #fff;
    box-sizing: border-box;
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.nh_terms_item:hover {
    transform: translateY(-4px);
    border-color: #b89a75;
    box-shadow: 0 12px 28px rgba(65, 45, 29, .08);
}

.nh_terms_title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 22px;
}

.nh_terms_title strong {
    color: #442f20;
    font-family: 'Noto Serif KR', serif;
    font-size: 24px;
    font-weight: 700;
}

.nh_terms_title span {
    color: #a47b4e;
    font-family: Georgia, 'Noto Serif KR', serif;
    font-size: 15px;
    font-weight: 700;
}

.nh_terms_item p {
    margin: 0;
    color: #5b5651;
    font-size: 15px;
    line-height: 1.85;
    word-break: keep-all;
}


/* 가로형 용어 정의 */
.nh_terms_definition_list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_terms_definition_list article {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 30px;
    align-items: center;
    padding: 26px 30px;
    border: 1px solid #e2dcd3;
    background: #fff;
    box-sizing: border-box;
}

.nh_terms_word {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.nh_terms_word strong {
    color: #3e2b1f;
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 700;
}

.nh_terms_word span {
    color: #a47b4e;
    font-size: 14px;
    font-weight: 700;
}

.nh_terms_definition_list p {
    margin: 0;
    color: #5c5752;
    font-size: 15px;
    line-height: 1.85;
    word-break: keep-all;
}


/* 석물 번호형 카드 */
.nh_terms_number_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 32px auto 0;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_terms_number_grid article {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    min-height: 145px;
    padding: 27px 28px;
    border: 1px solid #e1dacf;
    background: #fff;
    box-sizing: border-box;
}

.nh_terms_number_grid article > span {
    flex: 0 0 auto;
    color: #a47b4e;
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.nh_terms_number_grid h4 {
    margin: 0 0 8px;
    color: #39291e;
    font-size: 17px;
    font-weight: 700;
}

.nh_terms_number_grid p {
    margin: 0;
    color: #5e5954;
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}


/* 방주·면주 기록 항목 */
.nh_terms_record_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_terms_record_list article {
    min-height: 145px;
    padding: 26px 25px;
    border: 1px solid #e1dacf;
    background: #fff;
    box-sizing: border-box;
}

.nh_terms_record_list span {
    display: block;
    margin-bottom: 16px;
    color: #a47b4e;
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: 700;
}

.nh_terms_record_list p {
    margin: 0;
    color: #57524d;
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}


/* 반응형 */
@media screen and (max-width: 1024px) {

    .nh_terms_grid,
    .nh_terms_record_list {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media screen and (max-width: 768px) {

    .nh_terms_grid,
    .nh_terms_number_grid,
    .nh_terms_record_list {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0;
    }

    .nh_terms_item {
        min-height: 0;
        padding: 25px 22px;
    }

    .nh_terms_title {
        margin-bottom: 15px;
    }

    .nh_terms_title strong {
        font-size: 21px;
    }

    .nh_terms-definition-list {
        padding: 0;
    }

    .nh_terms_definition_list {
        gap: 12px;
        padding: 0;
    }

    .nh_terms_definition_list article {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 23px 20px;
    }

    .nh_terms_word strong {
        font-size: 18px;
    }

    .nh_terms_number_grid {
        margin-top: 24px;
    }

    .nh_terms_number_grid article {
        min-height: 0;
        padding: 23px 20px;
    }

    .nh_terms_record_list article {
        min-height: 0;
        padding: 23px 20px;
    }

}

/* =========================================================
   육십간지 및 연대표
========================================================= */

/* 간지 구성 요약 */
.nh_calendar_summary {
    display: grid;
    grid-template-columns: 1fr 60px 1fr 60px 1fr;
    align-items: center;
    gap: 18px;
    max-width: 1200px;
    margin: 38px auto 0;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_calendar_summary article {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 135px;
    padding: 28px 26px;
    border: 1px solid #ded5c7;
    background: #fff;
    box-sizing: border-box;
}

.nh_calendar_summary article > span {
    display: flex;
    flex: 0 0 65px;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 27px;
    font-weight: 700;
    background: #704b2c;
}

.nh_calendar_summary strong {
    display: block;
    margin-bottom: 8px;
    color: #38291f;
    font-size: 19px;
    font-weight: 700;
}

.nh_calendar_summary p {
    margin: 0;
    color: #625c56;
    font-size: 14px;
    line-height: 1.7;
    word-break: keep-all;
}

.nh_calendar_formula {
    color: #9b764e;
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
}


/* 공통 표 */
.nh_table_wrap {
    overflow-x: auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px 5px;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.nh_archive_content + .nh_table_wrap {
    margin-top: 30px;
}

.nh_archive_table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    border-top: 2px solid #704b2c;
    table-layout: fixed;
}

.nh_archive_table caption {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
}

.nh_archive_table th,
.nh_archive_table td {
    padding: 17px 14px;
    border-right: 1px solid #e2dcd3;
    border-bottom: 1px solid #e2dcd3;
    color: #514c47;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    box-sizing: border-box;
}

.nh_archive_table th:first-child,
.nh_archive_table td:first-child {
    border-left: 1px solid #e2dcd3;
}

.nh_archive_table thead th {
    color: #3f2b1d;
    font-weight: 700;
    background: #f4f0e9;
}

.nh_archive_table tbody tr:nth-child(even) {
    background: #fbfaf8;
}

.nh_archive_table .nh_hanja {
    color: #704b2c;
    font-family: Georgia, 'Noto Serif KR', serif;
    font-size: 21px;
    font-weight: 700;
}

.nh_archive_table td small {
    display: block;
    margin-top: 3px;
    color: #a27d50;
    font-size: 12px;
}


/* 육십간지 목록 */
.nh_sixty_cycle_grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_sixty_cycle_grid article {
    position: relative;
    min-height: 125px;
    padding: 23px 18px;
    border: 1px solid #e1dacf;
    background: #fff;
    text-align: center;
    box-sizing: border-box;
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.nh_sixty_cycle_grid article:hover {
    transform: translateY(-3px);
    border-color: #b89a75;
    box-shadow: 0 10px 24px rgba(65, 45, 29, .08);
}

.nh_sixty_cycle_grid article > span {
    position: absolute;
    left: 9px;
    top: 8px;
    color: #b28b5e;
    font-family: Georgia, serif;
    font-size: 11px;
    font-weight: 700;
}

.nh_sixty_cycle_grid strong {
    display: block;
    margin: 8px 0 9px;
    color: #4b3323;
    font-family: Georgia, 'Noto Serif KR', serif;
    font-size: 25px;
    font-weight: 700;
}

.nh_sixty_cycle_grid p {
    margin: 0;
    color: #6a635d;
    font-size: 14px;
}


/* 십이지 */
.nh_zodiac_grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_zodiac_grid article {
    position: relative;
    min-height: 185px;
    padding: 26px 18px;
    border: 1px solid #ded5c7;
    background: #fff;
    text-align: center;
    box-sizing: border-box;
}

.nh_zodiac_grid article > span {
    position: absolute;
    left: 12px;
    top: 10px;
    color: #b28b5e;
    font-family: Georgia, serif;
    font-size: 12px;
    font-weight: 700;
}

.nh_zodiac_hanja {
    margin-bottom: 8px;
    color: #704b2c;
    font-family: Georgia, 'Noto Serif KR', serif;
    font-size: 43px;
    font-weight: 700;
    line-height: 1.2;
}

.nh_zodiac_grid strong {
    display: block;
    margin-bottom: 8px;
    color: #3d2c20;
    font-size: 17px;
    font-weight: 700;
}

.nh_zodiac_grid p {
    margin: 0;
    color: #645e58;
    font-size: 14px;
}

.nh_zodiac_grid p small {
    margin-left: 4px;
    color: #a27d50;
}


/* 24방위 */
.nh_direction_compass {
    position: relative;
    width: 420px;
    height: 420px;
    margin: 45px auto 0;
    border: 1px solid #cdbda8;
    border-radius: 50%;
    background:
        linear-gradient(45deg, transparent 49.8%, #ded3c4 50%, transparent 50.2%),
        linear-gradient(-45deg, transparent 49.8%, #ded3c4 50%, transparent 50.2%),
        linear-gradient(90deg, transparent 49.8%, #c9b79f 50%, transparent 50.2%),
        linear-gradient(0deg, transparent 49.8%, #c9b79f 50%, transparent 50.2%),
        #faf8f4;
    box-sizing: border-box;
}

.nh_direction_compass::before,
.nh_direction_compass::after {
    content: '';
    position: absolute;
    border: 1px solid #dfd4c6;
    border-radius: 50%;
}

.nh_direction_compass::before {
    inset: 45px;
}

.nh_direction_compass::after {
    inset: 95px;
}

.nh_direction_center {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
    transform: translate(-50%, -50%);
    color: #fff;
    border-radius: 50%;
    background: #704b2c;
}

.nh_direction_center strong {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
}

.nh_direction_center span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
}

.nh_direction_compass > span {
    position: absolute;
    color: #4a3425;
    font-family: 'Noto Serif KR', serif;
    font-size: 18px;
    font-weight: 700;
}

.nh_direction_north {
    left: 50%;
    top: 15px;
    transform: translateX(-50%);
}

.nh_direction_east {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.nh_direction_south {
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%);
}

.nh_direction_west {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.nh_direction_ne {
    right: 57px;
    top: 57px;
}

.nh_direction_se {
    right: 57px;
    bottom: 57px;
}

.nh_direction_sw {
    left: 57px;
    bottom: 57px;
}

.nh_direction_nw {
    left: 57px;
    top: 57px;
}


/* 간지 연대표 */
.nh_timeline_notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1170px;
    margin: 30px auto 18px;
    padding: 18px 22px;
    color: #fff;
    background: #704b2c;
    box-sizing: border-box;
}

.nh_timeline_notice strong {
    font-size: 15px;
}

.nh_timeline_notice span {
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
}

.nh_ganji_timeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_ganji_timeline article {
    display: grid;
    grid-template-columns: 190px 1fr;
    min-height: 82px;
    border: 1px solid #e1dacf;
    background: #fff;
    box-sizing: border-box;
}

.nh_ganji_name {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 20px;
    border-right: 1px solid #e1dacf;
    background: #f7f3ed;
    box-sizing: border-box;
}

.nh_ganji_name > span {
    color: #a47b4e;
    font-family: Georgia, serif;
    font-size: 12px;
    font-weight: 700;
}

.nh_ganji_name strong {
    color: #4a3121;
    font-family: Georgia, 'Noto Serif KR', serif;
    font-size: 24px;
    font-weight: 700;
}

.nh_ganji_name p {
    margin: 0;
    color: #6e655e;
    font-size: 14px;
}

.nh_ganji_years {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
}

.nh_ganji_years span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 66px;
    height: 34px;
    padding: 0 10px;
    color: #5c5650;
    font-size: 13px;
    border: 1px solid #ddd4c8;
    background: #fff;
    box-sizing: border-box;
}


/* =========================================================
   반응형
========================================================= */
@media screen and (max-width: 1024px) {

    .nh_calendar_summary {
        grid-template-columns: 1fr;
    }

    .nh_calendar_formula {
        line-height: 1;
    }

    .nh_sixty_cycle_grid,
    .nh_zodiac_grid {
        grid-template-columns: repeat(4, 1fr);
    }

}


@media screen and (max-width: 768px) {

    .nh_calendar_summary {
        gap: 12px;
        margin-top: 28px;
        padding: 0;
    }

    .nh_calendar_summary article {
        min-height: 0;
        padding: 22px 18px;
    }

    .nh_calendar_summary article > span {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .nh_calendar_formula {
        font-size: 26px;
    }

    .nh_table_wrap {
        padding: 0;
    }

    .nh_archive_table th,
    .nh_archive_table td {
        padding: 13px 10px;
        font-size: 13px;
    }

    .nh_sixty_cycle_grid,
    .nh_zodiac_grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 9px;
        padding: 0;
    }

    .nh_sixty_cycle_grid article {
        min-height: 105px;
        padding: 19px 10px;
    }

    .nh_sixty_cycle_grid strong {
        font-size: 21px;
    }

    .nh_zodiac_grid article {
        min-height: 160px;
        padding: 23px 12px;
    }

    .nh_zodiac_hanja {
        font-size: 36px;
    }

    .nh_direction_compass {
        width: 300px;
        height: 300px;
        margin-top: 32px;
    }

    .nh_direction_compass::before {
        inset: 35px;
    }

    .nh_direction_compass::after {
        inset: 72px;
    }

    .nh_direction_center {
        width: 100px;
        height: 100px;
    }

    .nh_direction_center strong {
        font-size: 16px;
    }

    .nh_direction_compass > span {
        font-size: 14px;
    }

    .nh_direction_ne,
    .nh_direction_nw {
        top: 40px;
    }

    .nh_direction_se,
    .nh_direction_sw {
        bottom: 40px;
    }

    .nh_direction_ne,
    .nh_direction_se {
        right: 40px;
    }

    .nh_direction_nw,
    .nh_direction_sw {
        left: 40px;
    }

    .nh_timeline_notice {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-top: 24px;
        padding: 16px 18px;
    }

    .nh_ganji_timeline {
        gap: 9px;
        padding: 0;
    }

    .nh_ganji_timeline article {
        grid-template-columns: 1fr;
    }

    .nh_ganji_name {
        border-right: 0;
        border-bottom: 1px solid #e1dacf;
    }

    .nh_ganji_years {
        padding: 14px 16px;
    }

    .nh_ganji_years span {
        min-width: 61px;
    }

}


@media screen and (max-width: 480px) {

    .nh_sixty_cycle_grid,
    .nh_zodiac_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nh_direction_compass {
        width: 260px;
        height: 260px;
    }

    .nh_direction_compass::before {
        inset: 30px;
    }

    .nh_direction_compass::after {
        inset: 63px;
    }

    .nh_direction_center {
        width: 88px;
        height: 88px;
    }

    .nh_direction_ne,
    .nh_direction_nw {
        top: 34px;
    }

    .nh_direction_se,
    .nh_direction_sw {
        bottom: 34px;
    }

    .nh_direction_ne,
    .nh_direction_se {
        right: 34px;
    }

    .nh_direction_nw,
    .nh_direction_sw {
        left: 34px;
    }

}

/* =========================================================
   고금관작대조표
========================================================= */

/* 품계 안내 */
.nh_office_rank_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_office-rank-grid article {
    min-width: 0;
}

.nh_office_rank_grid article {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 135px;
    padding: 27px 28px;
    border: 1px solid #ded5c7;
    background: #fff;
    box-sizing: border-box;
}

.nh_office_rank_grid article > span {
    display: flex;
    flex: 0 0 62px;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    color: #fff;
    font-family: Georgia, 'Noto Serif KR', serif;
    font-size: 24px;
    font-weight: 700;
    background: #704b2c;
}

.nh_office_rank_grid h4 {
    margin: 0 0 7px;
    color: #38291f;
    font-size: 18px;
    font-weight: 700;
}

.nh_office_rank_grid p {
    margin: 0;
    color: #625c56;
    font-size: 14px;
    line-height: 1.75;
    word-break: keep-all;
}


/* 모바일 안내 */
.nh_office_table_notice {
    display: none;
    max-width: 1200px;
    margin: 0 auto 12px;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_office_table_notice span {
    display: block;
    padding: 12px 15px;
    color: #725033;
    font-size: 13px;
    border: 1px solid #ded2c4;
    background: #faf7f2;
}


/* 대조표 */
.nh_office_table_wrap {
    overflow-x: auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px 8px;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.nh_office_table {
    width: 100%;
    min-width: 1550px;
    border-collapse: separate;
    border-spacing: 0;
    border-top: 2px solid #704b2c;
    table-layout: fixed;
}

.nh_office_table caption {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
}

.nh_office_table th,
.nh_office_table td {
    height: 68px;
    padding: 13px 11px;
    color: #534e49;
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid #e2dcd3;
    border-bottom: 1px solid #e2dcd3;
    background: #fff;
    box-sizing: border-box;
    word-break: keep-all;
}

.nh_office_table tr > :first-child {
    border-left: 1px solid #e2dcd3;
}

.nh_office_table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    height: 60px;
    color: #3f2b1d;
    font-size: 13px;
    font-weight: 700;
    background: #eee7dd;
}

.nh_office_table tbody tr:nth-child(even) td,
.nh_office_table tbody tr:nth-child(even) th {
    background: #fbfaf8;
}

.nh_office_table tbody tr:hover td,
.nh_office_table tbody tr:hover th {
    background: #f7f1e9;
}

.nh_office_table tbody tr.nh_rank_start > * {
    border-top: 2px solid #c5ad90;
}

.nh_office_table .nh_office_fixed {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 135px;
    color: #493222;
    font-family: 'Noto Serif KR', serif;
    font-size: 15px;
    font-weight: 700;
    background: #f6f1ea;
}

.nh_office_table thead .nh_office_fixed {
    z-index: 5;
    background: #ddd0bf;
}

.nh_office_table .nh_rank_fixed {
    position: sticky;
    left: 135px;
    z-index: 2;
    width: 90px;
    color: #704b2c;
    font-weight: 700;
    background: #faf7f2;
    box-shadow: 3px 0 5px rgba(64, 44, 29, .06);
}

.nh_office_table thead .nh_rank_fixed {
    z-index: 5;
    background: #e9dfd2;
}

.nh_office_table th:nth-child(n+3),
.nh_office_table td:nth-child(n+3) {
    width: 130px;
}

.nh_empty_cell {
    color: #c7bdb2;
}

.nh_office_table_note {
    max-width: 1170px;
    margin: 15px auto 0;
    color: #827970;
    font-size: 13px;
    line-height: 1.7;
    box-sizing: border-box;
}


/* 스크롤바 */
.nh_office_table_wrap::-webkit-scrollbar {
    height: 10px;
}

.nh_office_table_wrap::-webkit-scrollbar-track {
    background: #f0ece6;
}

.nh_office_table_wrap::-webkit-scrollbar-thumb {
    border: 2px solid #f0ece6;
    border-radius: 5px;
    background: #a98a68;
}


/* =========================================================
   반응형
========================================================= */
@media screen and (max-width: 1024px) {

    .nh_office_rank_grid {
        grid-template-columns: 1fr;
    }

}


@media screen and (max-width: 768px) {

    .nh_office_rank_grid {
        gap: 12px;
        padding: 0;
    }

    .nh_office_rank_grid article {
        min-height: 0;
        padding: 22px 18px;
    }

    .nh_office_rank_grid article > span {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .nh_office_table_notice {
        display: block;
        padding: 0;
    }

    .nh_office_table_wrap {
        width: calc(100% + 30px);
        max-width: none;
        margin-right: -15px;
        margin-left: -15px;
        padding: 0 15px 8px;
    }

    .nh_office_table {
        min-width: 1450px;
    }

    .nh_office_table th,
    .nh_office_table td {
        height: 62px;
        padding: 11px 9px;
        font-size: 12px;
    }

    .nh_office_table .nh_office_fixed {
        width: 112px;
        font-size: 13px;
    }

    .nh_office_table .nh_rank_fixed {
        left: 112px;
        width: 75px;
    }

    .nh_office_table_note {
        padding: 0;
        font-size: 12px;
    }

}

/* =========================================================
   계촌법
========================================================= */

/* 직계·방계 구분 */
.nh_kinship_type_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_kinship_type_grid article {
    display: flex;
    align-items: center;
    gap: 25px;
    min-height: 185px;
    padding: 32px 30px;
    border: 1px solid #ded5c7;
    background: #fff;
    box-sizing: border-box;
}

.nh_kinship_type_grid article > span {
    display: flex;
    flex: 0 0 78px;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    color: #fff;
    font-family: 'Noto Serif KR', serif;
    font-size: 23px;
    font-weight: 700;
    background: #704b2c;
}

.nh_kinship_type_grid h4 {
    margin: 0 0 9px;
    color: #38291f;
    font-size: 20px;
    font-weight: 700;
}

.nh_kinship_type_grid p {
    margin: 0 0 12px;
    color: #625c56;
    font-size: 15px;
    line-height: 1.8;
    word-break: keep-all;
}

.nh_kinship_type_grid strong {
    color: #8b643d;
    font-size: 14px;
    font-weight: 700;
}

.nh_kinship_content_spacing {
    margin-top: 35px;
}


/* 촌수 계산 흐름 */
.nh_kinship_formula {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_kinship_formula article {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 105px;
    padding: 23px 28px;
    border: 1px solid #e1dacf;
    background: #fff;
    box-sizing: border-box;
}

.nh_kinship_formula article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    height: 46px;
    padding: 0 16px;
    color: #493323;
    font-size: 15px;
    font-weight: 700;
    border: 1px solid #cab79f;
    background: #f8f4ee;
    box-sizing: border-box;
}

.nh_kinship_formula article > i {
    position: relative;
    flex: 1 1 auto;
    min-width: 60px;
    color: #9c7952;
    font-size: 12px;
    font-style: normal;
    text-align: center;
}

.nh_kinship_formula article > i::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    z-index: 0;
    height: 1px;
    background: #d9cabb;
}

.nh_kinship_formula article > i {
    z-index: 1;
}

.nh_kinship_formula article > i::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    transform: translateY(-50%) rotate(45deg);
    border-top: 1px solid #b69775;
    border-right: 1px solid #b69775;
}

.nh_kinship_formula article > i {
    line-height: 20px;
}

.nh_kinship_formula article > i {
    background:
        linear-gradient(
            transparent 0,
            transparent calc(50% - 10px),
            #fff calc(50% - 10px),
            #fff calc(50% + 10px),
            transparent calc(50% + 10px)
        );
}

.nh_kinship_formula article > strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 46px;
    padding: 0 13px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    background: #704b2c;
    box-sizing: border-box;
}


/* 직계 세대 표시 */
.nh_kinship_direct_line {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_kinship_direct_line article {
    position: relative;
    min-height: 150px;
    padding: 25px 14px;
    text-align: center;
    border: 1px solid #ded5c7;
    background: #fff;
    box-sizing: border-box;
}

.nh_kinship_direct_line article:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -11px;
    top: 50%;
    z-index: 2;
    width: 11px;
    height: 1px;
    background: #c9b79f;
}

.nh_kinship_direct_line article > span {
    display: block;
    margin-bottom: 20px;
    color: #a47b4e;
    font-size: 12px;
    font-weight: 700;
}

.nh_kinship_direct_line strong {
    display: block;
    margin-bottom: 8px;
    color: #3f2c20;
    font-family: 'Noto Serif KR', serif;
    font-size: 18px;
    font-weight: 700;
}

.nh_kinship_direct_line small {
    color: #8a8179;
    font-size: 13px;
}

.nh_kinship_direct_line .nh_current_person {
    color: #fff;
    border-color: #704b2c;
    background: #704b2c;
}

.nh_kinship_direct_line .nh_current_person > span,
.nh_kinship_direct_line .nh_current_person strong,
.nh_kinship_direct_line .nh_current_person small {
    color: #fff;
}


/* 친족 호칭 카드 */
.nh_kinship_relation_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_kinship_relation_grid article {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 118px;
    padding: 23px 20px;
    border: 1px solid #e1dacf;
    background: #fff;
    box-sizing: border-box;
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.nh_kinship_relation_grid article:hover {
    transform: translateY(-3px);
    border-color: #b89a75;
    box-shadow: 0 10px 24px rgba(65, 45, 29, .07);
}

.nh_kinship_relation_grid article > span {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    background: #8b633b;
}

.nh_kinship_relation_grid strong {
    display: block;
    margin-bottom: 4px;
    color: #39291e;
    font-size: 16px;
    font-weight: 700;
}

.nh_kinship_relation_grid small {
    display: block;
    color: #9b764e;
    font-size: 13px;
}

.nh_kinship_relation_grid p {
    margin: 7px 0 0;
    color: #756d66;
    font-size: 12px;
}


/* =========================================================
   반응형
========================================================= */
@media screen and (max-width: 1100px) {

    .nh_kinship_direct_line {
        grid-template-columns: repeat(4, 1fr);
    }

    .nh_kinship_relation_grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


@media screen and (max-width: 768px) {

    .nh_kinship_type_grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0;
    }

    .nh_kinship_type_grid article {
        min-height: 0;
        padding: 24px 20px;
    }

    .nh_kinship_type_grid article > span {
        flex-basis: 60px;
        width: 60px;
        height: 60px;
        font-size: 19px;
    }

    .nh_kinship_type_grid h4 {
        font-size: 18px;
    }

    .nh_kinship_type_grid p {
        font-size: 14px;
    }

    .nh_kinship_content_spacing {
        margin-top: 25px;
    }

    .nh_kinship_formula {
        gap: 12px;
        padding: 0;
    }

    .nh_kinship_formula article {
        flex-wrap: wrap;
        gap: 9px;
        padding: 20px 17px;
    }

    .nh_kinship_formula article > span {
        min-width: 70px;
        height: 40px;
        padding: 0 12px;
        font-size: 13px;
    }

    .nh_kinship_formula article > i {
        flex: 0 0 42px;
        min-width: 42px;
        font-size: 10px;
    }

    .nh_kinship_formula article > strong {
        min-width: 56px;
        height: 40px;
        font-size: 14px;
    }

    .nh_kinship_direct_line {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0;
    }

    .nh_kinship_direct_line article {
        min-height: 125px;
        padding: 22px 12px;
    }

    .nh_kinship_direct_line article::after {
        display: none;
    }

    .nh_kinship_relation_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 24px;
        padding: 0;
    }

    .nh_kinship_relation_grid article {
        min-height: 105px;
        padding: 19px 15px;
    }

    .nh_kinship_relation_grid article > span {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
        font-size: 12px;
    }

    .nh_kinship_relation_grid strong {
        font-size: 14px;
    }

}


@media screen and (max-width: 480px) {

    .nh_kinship_formula article {
        display: grid;
        grid-template-columns: 1fr;
    }

    .nh_kinship_formula article > span,
    .nh_kinship_formula article > strong {
        width: 100%;
    }

    .nh_kinship_formula article > i {
        width: 100%;
        height: 25px;
    }

    .nh_kinship_formula article > i::before {
        left: 50%;
        right: auto;
        top: 0;
        width: 1px;
        height: 25px;
    }

    .nh_kinship_formula article > i::after {
        left: 50%;
        right: auto;
        top: auto;
        bottom: 0;
        transform: translateX(-50%) rotate(135deg);
    }

    .nh_kinship_relation_grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   사례편람
========================================================= */

/* 사례 4가지 요약 */
.nh_rites_summary_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 38px auto 0;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_rites_summary_grid article {
    min-height: 205px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #ded5c7;
    background: #fff;
    box-sizing: border-box;
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.nh_rites_summary_grid article:hover {
    transform: translateY(-4px);
    border-color: #b89a75;
    box-shadow: 0 12px 28px rgba(65, 45, 29, .08);
}

.nh_rites_summary_grid article > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    color: #fff;
    font-family: 'Noto Serif KR', serif;
    font-size: 29px;
    font-weight: 700;
    background: #704b2c;
}

.nh_rites_summary_grid strong {
    display: block;
    margin-bottom: 10px;
    color: #39291e;
    font-size: 19px;
    font-weight: 700;
}

.nh_rites_summary_grid p {
    margin: 0;
    color: #625c56;
    font-size: 14px;
    line-height: 1.75;
    word-break: keep-all;
}


/* 관혼상제 절차 카드 */
.nh_rites_step_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 32px auto 0;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_rites_step_grid article {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-height: 155px;
    padding: 28px 25px;
    border: 1px solid #e1dacf;
    background: #fff;
    box-sizing: border-box;
}

.nh_rites_step_grid article > span {
    flex: 0 0 auto;
    color: #a47b4e;
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.nh_rites_step_grid h4 {
    margin: 0 0 10px;
    color: #39291e;
    font-size: 17px;
    font-weight: 700;
}

.nh_rites_step_grid h4 small {
    margin-left: 5px;
    color: #a47b4e;
    font-family: 'Noto Serif KR', serif;
    font-size: 13px;
    font-weight: 500;
}

.nh_rites_step_grid p {
    margin: 0;
    color: #5e5954;
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}

.nh_rites_funeral_grid {
    grid-template-columns: repeat(2, 1fr);
}


/* 혼례 세부 의식 */
.nh_rites_detail_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 18px auto 0;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_rites_detail_grid article {
    padding: 27px 28px;
    border-left: 4px solid #8a6038;
    background: #f7f3ed;
    box-sizing: border-box;
}

.nh_rites_detail_grid strong {
    color: #4b3424;
    font-size: 18px;
    font-weight: 700;
}

.nh_rites_detail_grid span {
    margin-left: 7px;
    color: #a47b4e;
    font-size: 13px;
}

.nh_rites_detail_grid p {
    margin: 13px 0 0;
    color: #5e5954;
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}

/* 혼례 상세 아래 인용박스 위치 맞춤 */
.nh_rites_detail_grid + .nh_archive_quote {
    width: auto;
    max-width: none;
    margin: 35px 15px 0;
}



/* 세로 타임라인 */
.nh_rites_timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_rites_timeline article {
    display: grid;
    grid-template-columns: 75px 1fr;
    min-height: 105px;
    border: 1px solid #e1dacf;
    background: #fff;
    box-sizing: border-box;
}

.nh_rites_timeline_number {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    background: #704b2c;
}

.nh_rites_timeline_content {
    padding: 23px 27px;
    box-sizing: border-box;
}

.nh_rites_timeline_content h4 {
    margin: 0 0 8px;
    color: #39291e;
    font-size: 17px;
    font-weight: 700;
}

.nh_rites_timeline_content h4 small {
    margin-left: 6px;
    color: #a47b4e;
    font-size: 13px;
    font-weight: 500;
}

.nh_rites_timeline_content p {
    margin: 0;
    color: #5e5954;
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}


/* 기제 기본사항 */
.nh_rites_info_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_rites_info_grid article {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 145px;
    padding: 27px 26px;
    border: 1px solid #ded5c7;
    background: #fff;
    box-sizing: border-box;
}

.nh_rites_info_grid article > span {
    display: flex;
    flex: 0 0 62px;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    color: #fff;
    font-family: 'Noto Serif KR', serif;
    font-size: 17px;
    font-weight: 700;
    background: #704b2c;
}

.nh_rites_info_grid h4 {
    margin: 0 0 7px;
    color: #39291e;
    font-size: 18px;
    font-weight: 700;
}

.nh_rites_info_grid p {
    margin: 0;
    color: #625c56;
    font-size: 14px;
    line-height: 1.75;
    word-break: keep-all;
}


/* 진설 원칙 */
.nh_rites_arrangement_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 32px auto 0;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_rites_arrangement_grid article {
    min-height: 185px;
    padding: 30px 25px;
    text-align: center;
    border: 1px solid #e1dacf;
    background: #fff;
    box-sizing: border-box;
}

.nh_rites_arrangement_grid article > span {
    display: block;
    margin-bottom: 17px;
    color: #a47b4e;
    font-family: 'Noto Serif KR', serif;
    font-size: 19px;
    font-weight: 700;
}

.nh_rites_arrangement_grid h4 {
    margin: 0 0 10px;
    color: #39291e;
    font-size: 17px;
    font-weight: 700;
}

.nh_rites_arrangement_grid p {
    margin: 0;
    color: #625c56;
    font-size: 14px;
    line-height: 1.75;
}


/* 축문 */
.nh_rites_prayer_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nh_rites_prayer_grid article {
    min-height: 220px;
    padding: 34px 32px;
    border: 1px solid #ded5c7;
    background: #fff;
    box-sizing: border-box;
}

.nh_rites_prayer_grid article > span {
    display: block;
    margin-bottom: 20px;
    color: #a47b4e;
    font-family: 'Noto Serif KR', serif;
    font-size: 24px;
    font-weight: 700;
}

.nh_rites_prayer_grid h4 {
    margin: 0 0 14px;
    color: #39291e;
    font-size: 19px;
    font-weight: 700;
}

.nh_rites_prayer_grid p {
    margin: 0;
    color: #5e5954;
    font-size: 14px;
    line-height: 1.9;
    word-break: keep-all;
}

.nh_rites_prayer_grid + .nh_archive_quote {
    max-width: 1170px;
    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   반응형
========================================================= */
@media screen and (max-width: 1024px) {

    .nh_rites_summary_grid,
    .nh_rites_arrangement_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nh_rites_step_grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media screen and (max-width: 768px) {

    .nh_rites_summary_grid,
    .nh_rites_step_grid,
    .nh_rites_funeral_grid,
    .nh_rites_detail_grid,
    .nh_rites_info_grid,
    .nh_rites_arrangement_grid,
    .nh_rites_prayer_grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0;
    }

    .nh_rites_summary_grid {
        margin-top: 28px;
    }

    .nh_rites_summary_grid article {
        min-height: 0;
        padding: 27px 21px;
    }

    .nh_rites_summary_grid article > span {
        width: 58px;
        height: 58px;
        margin-bottom: 15px;
        font-size: 24px;
    }

    .nh_rites_step_grid {
        margin-top: 24px;
    }

    .nh_rites_step_grid article {
        min-height: 0;
        padding: 23px 20px;
    }

    .nh_rites_detail_grid article {
        padding: 23px 20px;
    }

    .nh_rites_timeline {
        gap: 10px;
        padding: 0;
    }

    .nh_rites_timeline article {
        grid-template-columns: 55px 1fr;
        min-height: 0;
    }

    .nh_rites_timeline_number {
        font-size: 16px;
    }

    .nh_rites_timeline_content {
        padding: 20px 18px;
    }

    .nh_rites_info_grid article {
        min-height: 0;
        padding: 22px 18px;
    }

    .nh_rites_info_grid article > span {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
        font-size: 14px;
    }

    .nh_rites_arrangement_grid {
        margin-top: 24px;
    }

    .nh_rites_arrangement_grid article {
        min-height: 0;
        padding: 25px 20px;
    }

    .nh_rites_prayer_grid article {
        min-height: 0;
        padding: 27px 22px;
    }

}

/* ==========================================================================
   CONTRIBUTION GUIDE - 헌성금 안내
   ========================================================================== */

.nh_contribution_page {
    padding-top: 10px;
}


/* ==========================================================================
   상단 소개
   ========================================================================== */

.nh_contribution_intro {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 70px;
    overflow: hidden;
    background: var(--nh-bg-green);
    border-top: 3px solid var(--nh-primary);
}

.nh_contribution_intro_mark {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 300px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_contribution_intro_mark::before,
.nh_contribution_intro_mark::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(210, 183, 125, 0.18);
    border-radius: 50%;
}

.nh_contribution_intro_mark::before {
    top: -100px;
    left: -90px;
    width: 250px;
    height: 250px;
}

.nh_contribution_intro_mark::after {
    right: -80px;
    bottom: -100px;
    width: 230px;
    height: 230px;
}

.nh_contribution_intro_mark span {
    position: relative;
    z-index: 2;
    color: var(--nh-gold-light);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 68px;
    font-weight: 500;
    line-height: 1;
}

.nh_contribution_intro_content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 300px;
    padding: 45px 65px;
}

.nh_contribution_kicker {
    margin-bottom: 12px;
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_contribution_intro_content h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.045em;
}

.nh_contribution_intro_content blockquote {
    position: relative;
    margin: 25px 0 20px;
    padding: 22px 25px;
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.8;
    background: #fff;
    border-left: 4px solid var(--nh-gold);
    word-break: keep-all;
}

.nh_contribution_intro_content > p {
    margin-top: 15px;
    color: #5d5d5d;
    font-size: 15px;
    line-height: 1.9;
    word-break: keep-all;
}

.nh_contribution_intro_content > p:last-child {
    margin-bottom: 0;
}


/* ==========================================================================
   공통 섹션
   ========================================================================== */

.nh_contribution_section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 85px;
}

.nh_contribution_heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 23px;
    border-bottom: 2px solid var(--nh-primary);
}

.nh_contribution_heading > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    background: var(--nh-primary);
}

.nh_contribution_heading p {
    margin-bottom: 6px;
    color: var(--nh-gold-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_contribution_heading h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.04em;
}


/* ==========================================================================
   헌성금 사용처
   ========================================================================== */

.nh_contribution_use_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.nh_contribution_use_grid article {
    position: relative;
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 22px;
    min-height: 145px;
    padding: 28px 28px;
    background: #fff;
    border: 1px solid var(--nh-border);
    transition:
        border-color var(--nh-transition),
        box-shadow var(--nh-transition),
        transform var(--nh-transition);
}

.nh_contribution_use_grid article:hover {
    border-color: var(--nh-primary);
    box-shadow: 0 14px 35px rgba(18, 51, 42, 0.09);
    transform: translateY(-5px);
}

.nh_contribution_use_grid article:last-child {
    grid-column: 1 / -1;
}

.nh_contribution_use_no {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--nh-gold-light);
    font-size: 12px;
    font-weight: 700;
    background: var(--nh-primary);
}

.nh_contribution_use_grid h3 {
    margin-bottom: 9px;
    color: var(--nh-primary-dark);
    font-size: 18px;
    font-weight: 700;
}

.nh_contribution_use_grid p {
    color: #5d5d5d;
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}


/* ==========================================================================
   납부 계좌
   ========================================================================== */

.nh_contribution_account {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    overflow: hidden;
    margin-bottom: 25px;
    background: var(--nh-bg-green);
    border-top: 3px solid var(--nh-primary);
}

.nh_contribution_account_label {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 150px;
    padding: 30px 35px;
    color: #fff;
    background:
        linear-gradient(
            145deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_contribution_account_label span {
    margin-bottom: 7px;
    color: var(--nh-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.nh_contribution_account_label strong {
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 20px;
    font-weight: 600;
}

.nh_contribution_account_number {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 30px 45px;
}

.nh_contribution_account_number strong {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.nh_contribution_account_number p {
    margin-top: 9px;
    color: #666;
    font-size: 14px;
}


/* ==========================================================================
   입금 유의사항
   ========================================================================== */

.nh_contribution_notice {
    padding: 27px 30px;
    background: #fffaf0;
    border: 1px solid rgba(183, 147, 83, 0.3);
}

.nh_contribution_notice h3 {
    margin-bottom: 18px;
    color: var(--nh-primary-dark);
    font-size: 17px;
    font-weight: 700;
}

.nh_contribution_notice ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nh_contribution_notice li {
    position: relative;
    padding: 6px 0 6px 18px;
    color: #625c56;
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}

.nh_contribution_notice li::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 2px;
    width: 5px;
    height: 5px;
    background: var(--nh-gold);
    border-radius: 50%;
}

.nh_contribution_notice strong {
    color: var(--nh-primary-dark);
    font-weight: 700;
}

.nh_contribution_example {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.nh_contribution_example > span {
    margin-right: 5px;
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
}

.nh_contribution_example > strong {
    padding: 5px 11px;
    background: #fff;
    border: 1px solid var(--nh-border);
}


/* ==========================================================================
   문의 및 접수처
   ========================================================================== */

.nh_contribution_contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.nh_contribution_contact article {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    min-height: 130px;
    padding: 25px 28px;
    background: #fff;
    border: 1px solid var(--nh-border);
}

.nh_contribution_contact article > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    color: var(--nh-gold-light);
    font-size: 12px;
    font-weight: 700;
    background: var(--nh-primary);
}

.nh_contribution_contact h3 {
    margin-bottom: 7px;
    color: var(--nh-primary-dark);
    font-size: 17px;
    font-weight: 700;
}

.nh_contribution_contact a,
.nh_contribution_contact address {
    color: #5d5d5d;
    font-size: 15px;
    font-style: normal;
    line-height: 1.75;
    text-decoration: none;
}

.nh_contribution_contact a:hover {
    color: var(--nh-primary);
}


/* ==========================================================================
   하단 메시지
   ========================================================================== */

.nh_contribution_message {
    width: 100%;
    max-width: 1200px;
    margin: 70px auto 0;
    padding: 55px 40px;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(
            120deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_contribution_message p {
    margin-bottom: 13px;
    color: var(--nh-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_contribution_message h2 {
    color: #fff;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: -0.04em;
}


/* ==========================================================================
   태블릿
   ========================================================================== */

@media screen and (max-width: 1000px) {

    .nh_contribution_intro {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .nh_contribution_intro_content {
        padding-right: 45px;
        padding-left: 45px;
    }

}


/* ==========================================================================
   모바일
   ========================================================================== */

@media screen and (max-width: 700px) {

    .nh_contribution_intro {
        grid-template-columns: 1fr;
        margin-bottom: 45px;
    }

    .nh_contribution_intro_mark {
        min-height: 175px;
    }

    .nh_contribution_intro_mark span {
        font-size: 53px;
    }

    .nh_contribution_intro_content {
        min-height: 0;
        padding: 33px 25px;
    }

    .nh_contribution_intro_content h2 {
        font-size: 26px;
    }

    .nh_contribution_intro_content blockquote {
        margin: 20px 0 15px;
        padding: 19px 20px;
        font-size: 15px;
    }

    .nh_contribution_intro_content > p {
        font-size: 14px;
    }

    .nh_contribution_section {
        margin-bottom: 60px;
    }

    .nh_contribution_heading {
        gap: 14px;
        margin-bottom: 25px;
        padding-bottom: 18px;
    }

    .nh_contribution_heading > span {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 11px;
    }

    .nh_contribution_heading h2 {
        font-size: 23px;
    }

    .nh_contribution_use_grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nh_contribution_use_grid article,
    .nh_contribution_use_grid article:last-child {
        grid-column: auto;
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 15px;
        min-height: 0;
        padding: 22px 20px;
    }

    .nh_contribution_account {
        grid-template-columns: 1fr;
    }

    .nh_contribution_account_label {
        min-height: 0;
        padding: 22px 25px;
    }

    .nh_contribution_account_number {
        padding: 25px;
    }

    .nh_contribution_account_number strong {
        font-size: 23px;
    }

    .nh_contribution_notice {
        padding: 22px 20px;
    }

    .nh_contribution_contact {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nh_contribution_contact article {
        min-height: 0;
        padding: 22px 20px;
    }

    .nh_contribution_message {
        margin-top: 50px;
        padding: 43px 25px;
    }

    .nh_contribution_message h2 {
        font-size: 22px;
    }

    .nh_contribution_message h2 br {
        display: none;
    }

}

/* ==========================================================================
   SETTLEMENT VILLAGES - 집성촌 안내
   ========================================================================== */

.nh_village_page {
    padding-top: 10px;
}


/* ==========================================================================
   상단 소개
   ========================================================================== */

.nh_village_intro {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 45px;
    overflow: hidden;
    background: var(--nh-bg-green);
    border-top: 3px solid var(--nh-primary);
}

.nh_village_intro_symbol {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 280px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_village_intro_symbol::before,
.nh_village_intro_symbol::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(210, 183, 125, 0.18);
    border-radius: 50%;
}

.nh_village_intro_symbol::before {
    top: -95px;
    left: -90px;
    width: 250px;
    height: 250px;
}

.nh_village_intro_symbol::after {
    right: -80px;
    bottom: -100px;
    width: 230px;
    height: 230px;
}

.nh_village_intro_symbol span {
    position: relative;
    z-index: 2;
    color: var(--nh-gold-light);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 68px;
    font-weight: 500;
    line-height: 1;
}

.nh_village_intro_content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 280px;
    padding: 45px 65px;
}

.nh_village_intro_kicker {
    margin-bottom: 12px;
    color: var(--nh-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_village_intro_content h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 33px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.045em;
}

.nh_village_intro_content > p:last-child {
    max-width: 680px;
    margin-top: 19px;
    color: #5d5d5d;
    font-size: 15px;
    line-height: 1.9;
    word-break: keep-all;
}


/* ==========================================================================
   요약
   ========================================================================== */

.nh_village_summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1200px;
    margin: 0 auto 30px;
    border-top: 2px solid var(--nh-primary);
    border-left: 1px solid var(--nh-border);
}

.nh_village_summary article {
    min-height: 150px;
    padding: 30px 25px;
    text-align: center;
    background: #fff;
    border-right: 1px solid var(--nh-border);
    border-bottom: 1px solid var(--nh-border);
}

.nh_village_summary span {
    display: block;
    margin-bottom: 10px;
    color: var(--nh-gold-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_village_summary strong {
    display: block;
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 30px;
    font-weight: 700;
}

.nh_village_summary p {
    margin-top: 8px;
    color: #777;
    font-size: 13px;
}


/* ==========================================================================
   안내
   ========================================================================== */

.nh_village_notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto 65px;
    padding: 22px 25px;
    background: #fffaf0;
    border: 1px solid rgba(183, 147, 83, 0.28);
}

.nh_village_notice > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: #fff;
    font-family: serif;
    font-size: 14px;
    font-weight: 700;
    background: var(--nh-gold-dark);
    border-radius: 50%;
}

.nh_village_notice strong {
    display: block;
    margin-bottom: 5px;
    color: var(--nh-primary-dark);
    font-size: 15px;
}

.nh_village_notice p {
    color: #6a6258;
    font-size: 14px;
    line-height: 1.75;
}


/* ==========================================================================
   지역별 집성촌
   ========================================================================== */

.nh_village_section {
    max-width: 1200px;
    margin: 0 auto;
}

.nh_village_section_head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 35px;
    padding-bottom: 23px;
    border-bottom: 2px solid var(--nh-primary);
}

.nh_village_section_head p {
    margin-bottom: 8px;
    color: var(--nh-gold-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_village_section_head h2 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 31px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.nh_village_section_head > span {
    color: #aaa;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.13em;
}


/* ==========================================================================
   집성촌 카드
   ========================================================================== */

.nh_village_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.nh_village_card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 235px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--nh-border);
    transition:
        border-color var(--nh-transition),
        box-shadow var(--nh-transition),
        transform var(--nh-transition);
}

.nh_village_card:hover {
    border-color: var(--nh-primary);
    box-shadow: 0 14px 35px rgba(18, 51, 42, 0.09);
    transform: translateY(-5px);
}

.nh_village_card_number {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nh-gold-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    background: var(--nh-primary);
    writing-mode: vertical-rl;
}

.nh_village_card_body {
    padding: 31px 32px;
}

.nh_village_card_title {
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--nh-border-light);
}

.nh_village_card_title p {
    margin-bottom: 7px;
    color: var(--nh-gold-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.nh_village_card_title h3 {
    color: var(--nh-primary-dark);
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.04em;
}


/* ==========================================================================
   지역명 목록
   ========================================================================== */

.nh_village_places {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nh_village_places li {
    position: relative;
    min-height: 34px;
    padding: 7px 12px 7px 24px;
    color: #555;
    font-size: 13px;
    line-height: 1.5;
    background: var(--nh-bg-green);
    border: 1px solid rgba(23, 63, 52, 0.08);
}

.nh_village_places li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 11px;
    width: 4px;
    height: 4px;
    background: var(--nh-gold);
    border-radius: 50%;
    transform: translateY(-50%);
}


/* ==========================================================================
   하단 메시지
   ========================================================================== */

.nh_village_message {
    max-width: 1200px;
    margin: 70px auto 0;
    padding: 55px 40px;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(
            120deg,
            var(--nh-primary-dark),
            var(--nh-primary)
        );
}

.nh_village_message > p {
    margin-bottom: 13px;
    color: var(--nh-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nh_village_message h2 {
    color: #fff;
    font-family:
        "Noto Serif KR",
        "Nanum Myeongjo",
        serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: -0.04em;
}

.nh_village_message > span {
    display: block;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}


/* ==========================================================================
   태블릿
   ========================================================================== */

@media screen and (max-width: 1000px) {

    .nh_village_intro {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .nh_village_intro_content {
        padding-right: 45px;
        padding-left: 45px;
    }

}


/* ==========================================================================
   모바일
   ========================================================================== */

@media screen and (max-width: 700px) {

    .nh_village_intro {
        grid-template-columns: 1fr;
        margin-bottom: 35px;
    }

    .nh_village_intro_symbol {
        min-height: 175px;
    }

    .nh_village_intro_symbol span {
        font-size: 53px;
    }

    .nh_village_intro_content {
        min-height: 0;
        padding: 33px 25px;
    }

    .nh_village_intro_content h2 {
        font-size: 25px;
    }

    .nh_village_intro_content > p:last-child {
        font-size: 14px;
    }


    .nh_village_summary {
        grid-template-columns: 1fr;
    }

    .nh_village_summary article {
        min-height: 0;
        padding: 23px 20px;
    }

    .nh_village_summary strong {
        font-size: 25px;
    }


    .nh_village_notice {
        margin-bottom: 45px;
        padding: 20px;
    }


    .nh_village_section_head {
        display: block;
    }

    .nh_village_section_head h2 {
        font-size: 26px;
    }

    .nh_village_section_head > span {
        display: block;
        margin-top: 10px;
    }


    .nh_village_grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nh_village_card {
        grid-template-columns: 55px minmax(0, 1fr);
        min-height: 0;
    }

    .nh_village_card_body {
        padding: 25px 21px;
    }

    .nh_village_card_title {
        margin-bottom: 17px;
        padding-bottom: 16px;
    }

    .nh_village_card_title h3 {
        font-size: 20px;
    }

    .nh_village_places {
        gap: 6px;
    }

    .nh_village_places li {
        min-height: 31px;
        padding: 6px 10px 6px 21px;
        font-size: 12px;
    }

    .nh_village_places li::before {
        left: 9px;
    }


    .nh_village_message {
        margin-top: 50px;
        padding: 43px 25px;
    }

    .nh_village_message h2 {
        font-size: 22px;
    }

    .nh_village_message h2 br {
        display: none;
    }

    .nh_village_message > span {
        font-size: 13px;
    }

}

/* 24방위도 이미지 */
.nh_direction_image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 35px;
    text-align: center;
}

.nh_direction_image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .nh_direction_image {
        margin-top: 25px;
    }

    .nh_direction_image img {
        width: 100%;
        max-width: 500px;
    }
}

/* ==========================================================================
   계촌도 - 나를 기준으로
   ========================================================================== */

.nh_family_chart {
    width: 100%;
    margin-top: 35px;
    padding: 35px 30px;
    background: #faf8f4;
    border: 1px solid #e1dacf;
    box-sizing: border-box;
}

.nh_family_chart_title {
    margin-bottom: 30px;
    text-align: center;
}

.nh_family_chart_title span {
    display: block;
    margin-bottom: 7px;
    color: #a27d50;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.nh_family_chart_title strong {
    color: #2d241e;
    font-family: 'Noto Serif KR', serif;
    font-size: 24px;
    font-weight: 700;
}

.nh_family_chart_row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.nh_family_chart_arrow {
    padding: 8px 0;
    color: #a47b4e;
    text-align: center;
    font-size: 20px;
    line-height: 1;
}

.nh_family_chart_node {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 165px;
    min-height: 100px;
    padding: 16px 12px;
    text-align: center;
    background: #fff;
    border: 1px solid #ddd4c8;
    box-sizing: border-box;
}

.nh_family_chart_node > span {
    display: block;
    margin-bottom: 7px;
    color: #a47b4e;
    font-size: 12px;
    font-weight: 700;
}

.nh_family_chart_node strong {
    color: #35281f;
    font-size: 16px;
    font-weight: 700;
}

.nh_family_chart_node small {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 12px;
}

.nh_family_direct {
    background: #f3f7f4;
    border-color: rgba(22, 64, 51, 0.25);
}

.nh_family_branch {
    background: #fff;
}

.nh_family_me {
    min-width: 185px;
    min-height: 115px;
    color: #fff;
    background: var(--nh-primary);
    border-color: var(--nh-primary);
    box-shadow: 0 10px 25px rgba(18, 62, 50, 0.16);
}

.nh_family_me > span {
    color: var(--nh-gold-light);
}

.nh_family_me strong {
    color: #fff;
    font-family: 'Noto Serif KR', serif;
    font-size: 27px;
}

.nh_family_me small {
    color: rgba(255,255,255,.7);
}

.nh_family_chart_self_row {
    padding: 16px 0;
    background: rgba(23, 63, 52, 0.025);
    border-top: 1px dashed #ddd4c8;
    border-bottom: 1px dashed #ddd4c8;
}


/* 모바일 */
@media screen and (max-width: 768px) {

    .nh_family_chart {
        padding: 25px 15px;
    }

    .nh_family_chart_title strong {
        font-size: 21px;
    }

    .nh_family_chart_row {
        gap: 8px;
    }

    .nh_family_chart_node {
        width: calc(50% - 4px);
        min-height: 90px;
        padding: 13px 8px;
    }

    .nh_family_me {
        width: 100%;
        min-height: 105px;
    }

    .nh_family_me strong {
        font-size: 24px;
    }

    .nh_family_chart_arrow {
        padding: 6px 0;
        font-size: 17px;
    }
}

/* ==========================================================================
   사례편람 - 진설도 예시
   ========================================================================== */

.nh_rites_arrangement_examples {
    width: 100%;
    margin-top: 45px;
    padding-top: 35px;
    border-top: 1px solid #e1dacf;
}

.nh_rites_arrangement_examples_head {
    margin-bottom: 28px;
    text-align: center;
}

.nh_rites_arrangement_examples_head > span {
    display: block;
    margin-bottom: 8px;
    color: #a27d50;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}

.nh_rites_arrangement_examples_head h4 {
    margin: 0;
    color: #2d241e;
    font-family: 'Noto Serif KR', serif;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -.03em;
}

.nh_rites_arrangement_examples_head p {
    max-width: 760px;
    margin: 14px auto 0;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}


/* 진설도 2개 */
.nh_rites_arrangement_images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.nh_rites_arrangement_images figure {
    margin: 0;
    padding: 25px;
    background: #fff;
    border: 1px solid #ded5c9;
    box-sizing: border-box;
}

.nh_rites_arrangement_image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 390px;
    padding: 20px;
    background: #faf8f4;
    box-sizing: border-box;
}

.nh_rites_arrangement_image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 370px;
    margin: 0 auto;
}

.nh_rites_arrangement_images figcaption {
    padding-top: 18px;
    text-align: center;
}

.nh_rites_arrangement_images figcaption strong {
    display: block;
    margin-bottom: 7px;
    color: #4b3323;
    font-family: 'Noto Serif KR', serif;
    font-size: 17px;
    font-weight: 700;
}

.nh_rites_arrangement_images figcaption span {
    display: block;
    color: #777;
    font-size: 13px;
    line-height: 1.7;
}


/* ==========================================================================
   사례편람 - 제례 축문 쓰는 법
   ========================================================================== */

.nh_rites_prayer_write {
    width: 100%;
    margin-top: 45px;
}

.nh_rites_prayer_write_head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #704b2c;
}

.nh_rites_prayer_write_head > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    background: #704b2c;
}

.nh_rites_prayer_write_head p {
    margin: 0 0 5px;
    color: #a27d50;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
}

.nh_rites_prayer_write_head h4 {
    margin: 0;
    color: #2d241e;
    font-family: 'Noto Serif KR', serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.03em;
}


/* 축문 예시 카드 */
.nh_rites_prayer_example {
    margin-bottom: 25px;
    padding: 30px;
    background: #fff;
    border: 1px solid #ded5c9;
    box-sizing: border-box;
}

.nh_rites_prayer_example_title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.nh_rites_prayer_example_title > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    background: #8a6038;
}

.nh_rites_prayer_example_title strong {
    display: block;
    color: #38291f;
    font-family: 'Noto Serif KR', serif;
    font-size: 19px;
    font-weight: 700;
}

.nh_rites_prayer_example_title small {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 12px;
}


/* 한문 축문 */
.nh_rites_prayer_hanja {
    padding: 27px 30px;
    background: #f6f2eb;
    border-left: 4px solid #8a6038;
    box-sizing: border-box;
}

.nh_rites_prayer_hanja p {
    margin: 0 0 8px;
    color: #3e2c20;
    font-family: 'Noto Serif KR', serif;
    font-size: 16px;
    line-height: 1.9;
    word-break: keep-all;
}

.nh_rites_prayer_hanja p:last-child {
    margin-bottom: 0;
}

.nh_rites_prayer_hanja .nh_rites_prayer_last {
    margin-top: 5px;
    font-size: 23px;
    font-weight: 700;
}


/* 뜻풀이 */
.nh_rites_prayer_translation {
    margin-top: 18px;
    padding: 22px 25px;
    background: #fafafa;
    border: 1px solid #eee8df;
}

.nh_rites_prayer_translation strong {
    display: block;
    margin-bottom: 9px;
    color: #704b2c;
    font-size: 14px;
    font-weight: 700;
}

.nh_rites_prayer_translation p {
    margin: 0;
    color: #5d5853;
    font-size: 14px;
    line-height: 1.9;
    word-break: keep-all;
}


/* 작성 참고 */
.nh_rites_prayer_note {
    margin-top: 30px;
    padding: 28px 30px;
    background: #fffaf0;
    border: 1px solid rgba(183, 147, 83, .35);
    box-sizing: border-box;
}

.nh_rites_prayer_note > strong {
    display: block;
    margin-bottom: 14px;
    color: #5b3b22;
    font-family: 'Noto Serif KR', serif;
    font-size: 18px;
    font-weight: 700;
}

.nh_rites_prayer_note p {
    margin: 0 0 13px;
    color: #625c56;
    font-size: 14px;
    line-height: 1.9;
    word-break: keep-all;
}

.nh_rites_prayer_note p:last-child {
    margin-bottom: 0;
}


/* ==========================================================================
   모바일
   ========================================================================== */

@media screen and (max-width: 768px) {

    .nh_rites_arrangement_images {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .nh_rites_arrangement_images figure {
        padding: 16px;
    }

    .nh_rites_arrangement_image {
        min-height: 0;
        padding: 12px;
    }

    .nh_rites_arrangement_image img {
        max-height: none;
    }

    .nh_rites_prayer_write_head {
        gap: 13px;
    }

    .nh_rites_prayer_write_head > span {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .nh_rites_prayer_write_head h4 {
        font-size: 21px;
    }

    .nh_rites_prayer_example {
        padding: 20px 16px;
    }

    .nh_rites_prayer_hanja {
        padding: 20px 17px;
    }

    .nh_rites_prayer_hanja p {
        font-size: 14px;
        line-height: 1.85;
    }

    .nh_rites_prayer_translation {
        padding: 18px 16px;
    }

    .nh_rites_prayer_note {
        padding: 22px 18px;
    }
}


/* 고금관작 대조표 */
.nh_office_table_wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nh_office_table {
    width: 1200px;
    min-width: 1200px;
    table-layout: fixed;
    border-collapse: collapse;
}

.nh_office_table th,
.nh_office_table td {
    padding: 9px 4px;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    vertical-align: middle;
    word-break: keep-all;
    white-space: normal;
}

/* 각 컬럼 폭 */
.nh_office_table thead th:nth-child(1)  { width: 60px; }
.nh_office_table thead th:nth-child(2)  { width: 75px; }
.nh_office_table thead th:nth-child(3)  { width: 100px; }
.nh_office_table thead th:nth-child(4)  { width: 90px; }
.nh_office_table thead th:nth-child(5)  { width: 80px; }
.nh_office_table thead th:nth-child(6)  { width: 70px; }
.nh_office_table thead th:nth-child(7)  { width: 100px; }
.nh_office_table thead th:nth-child(8)  { width: 80px; }
.nh_office_table thead th:nth-child(9)  { width: 90px; }
.nh_office_table thead th:nth-child(10) { width: 105px; }
.nh_office_table thead th:nth-child(11) { width: 100px; }
.nh_office_table thead th:nth-child(12) { width: 90px; }
.nh_office_table thead th:nth-child(13) { width: 60px; }

.nh_kinship_chart_image {
    display: flex;
    justify-content: center;
}

.nh_kinship_chart_image img {
    max-width: 100%;
    height: auto;
}