/* nk-embankment: L8 좌측사이드바 목차 / HD2 중앙라벨 / HR3 좌측텍스트+우측SVG / CT4 본문인라인CTA / FT3 중앙1단스택 */
.nk-embankment {
    font-family: 'Gothic A1', sans-serif;
    background: #FAF8F2;
    color: #3a2f1c;
}

.nk-embankment h1,
.nk-embankment h2,
.nk-embankment h3 {
    font-family: 'Montserrat', 'Gothic A1', sans-serif;
    color: #4E3A18;
}

/* HD2: 중앙 정렬 라벨 + 얇은 중앙 보조문구 */
.nk-embankment .nk-hd {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e6ddc8;
}

.nk-embankment .nk-hd-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #4E3A18;
    text-transform: uppercase;
}

.nk-embankment .nk-hd-sub {
    font-size: 0.85rem;
    color: #7a6b4c;
    margin: 0.4rem 0 0;
}

/* HR3: 좌측 텍스트 / 우측 장식 SVG */
.nk-embankment .nk-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: #ffffff;
    border: 1px solid #ece3cd;
    border-radius: 0.75rem;
    padding: 2.25rem;
    margin-bottom: 2.5rem;
}

.nk-embankment .nk-hero-text h1 {
    font-size: 2rem;
    margin: 0 0 0.75rem;
}

.nk-embankment .nk-hero-sub {
    color: #55689B;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 34rem;
    margin: 0;
}

.nk-embankment .nk-hero-svg {
    width: 6.5rem;
    height: 6.5rem;
    color: #55689B;
    flex-shrink: 0;
}

/* L8: 좌측 사이드바 목차 + 우측 본문 */
.nk-embankment .nk-layout {
    display: block;
}

.nk-embankment .nk-toc {
    background: #ffffff;
    border: 1px solid #ece3cd;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.nk-embankment .nk-toc summary {
    cursor: pointer;
    font-weight: 700;
    color: #4E3A18;
}

.nk-embankment .nk-toc ul {
    list-style: none;
    margin: 0.85rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nk-embankment .nk-toc a {
    color: #55689B;
    text-decoration: none;
    font-size: 0.9rem;
}

.nk-embankment .nk-toc a:hover,
.nk-embankment .nk-toc a:focus-visible {
    text-decoration: underline;
}

.nk-embankment .nk-toc a:focus-visible {
    outline: 2px solid #55689B;
    outline-offset: 2px;
}

.nk-embankment .nk-section {
    margin-bottom: 2rem;
}

.nk-embankment .nk-section h2 {
    font-size: 1.2rem;
    margin: 0 0 0.85rem;
}

.nk-embankment .nk-section p {
    line-height: 1.8;
    margin: 0 0 0.9rem;
    color: #3a3020;
}

.nk-embankment .nk-section p:last-child {
    margin-bottom: 0;
}

.nk-embankment .nk-link {
    color: #55689B;
    font-weight: 700;
    text-decoration: underline dotted;
    text-underline-offset: 2px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.nk-embankment .nk-link:hover,
.nk-embankment .nk-link:focus-visible {
    color: #3d4c73;
}

.nk-embankment .nk-link:focus-visible {
    outline: 2px solid #55689B;
    outline-offset: 2px;
}

.nk-embankment .nk-figure {
    margin: 2rem auto;
    max-width: 100%;
    text-align: center;
}

.nk-embankment .nk-figure img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 0 auto;
    display: block;
}

.nk-embankment .nk-figure figcaption {
    font-size: 0.85rem;
    color: #7a6b4c;
    margin-top: 0.5rem;
}

/* CT4: 본문 문단 사이 인라인 CTA 1회 */
.nk-embankment .nk-inline-cta {
    background: #f2eee0;
    border-left: 3px solid #55689B;
    padding: 1rem 1.25rem;
    border-radius: 0.375rem;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 2rem 0;
}

.nk-embankment .nk-inline-cta a {
    color: #4E3A18;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.nk-embankment .nk-inline-cta a:focus-visible {
    outline: 2px solid #55689B;
    outline-offset: 2px;
}

/* FT3: 중앙정렬 1단 세로 스택 */
.nk-embankment .nk-ft {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    border-top: 1px solid #e6ddc8;
    padding-top: 1.75rem;
}

.nk-embankment .nk-ft .nk-tag {
    display: inline-block;
    font-size: 0.78rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: #f2eee0;
    color: #4E3A18;
    border: 1px solid #e6ddc8;
    margin: 0 0.25rem;
}

.nk-embankment .nk-ft-note {
    font-size: 0.82rem;
    color: #7a6b4c;
    line-height: 1.6;
    margin: 0.5rem 0 0;
}

@media (min-width: 768px) {
    .nk-embankment .nk-layout {
        display: flex;
        gap: 2rem;
        align-items: flex-start;
    }

    .nk-embankment .nk-toc {
        flex: 0 0 220px;
        position: sticky;
        top: 1rem;
    }

    .nk-embankment .nk-toc summary {
        display: none;
    }

    .nk-embankment .nk-toc > *:not(summary) {
        display: block !important;
    }

    .nk-embankment .nk-body {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .nk-embankment .nk-hero {
        flex-direction: column;
        text-align: center;
    }
}
