/* nk-rebuild: L4 세로타임라인 / HD2 중앙라벨+보조문구 / HR4 상단라벨+대형h1(무채색) / CT7 아웃라인박스 1버튼 / FT2 2단 / CF2 문답흐름형 */
.nk-rebuild {
    font-family: 'Song Myung', serif;
    background: #F3F9F6;
    color: #23332c;
}

.nk-rebuild h1,
.nk-rebuild h2,
.nk-rebuild h4 {
    font-family: 'Cormorant Garamond', 'Song Myung', serif;
    color: #234A38;
}

/* HD2: 중앙 정렬 라벨 + 얇은 중앙 보조문구 */
.nk-rebuild .nk-hd {
    text-align: center;
    margin-bottom: 2rem;
}

.nk-rebuild .nk-hd-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #234A38;
}

.nk-rebuild .nk-hd-sub {
    margin: 0.4rem 0 0;
    font-size: 0.85rem;
    color: #5c6f66;
}

/* HR4: 상단 얇은 라벨 + 대형 h1 + 한줄 설명, 무채색 배경 */
.nk-rebuild .nk-hero {
    background: #EFEFEC;
    border-radius: 0.5rem;
    padding: 3rem 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.nk-rebuild .nk-hero-label {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: #6b6b64;
    margin: 0 0 0.75rem;
}

.nk-rebuild .nk-hero h1 {
    font-size: 2.75rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.nk-rebuild .nk-hero-sub {
    margin: 0 auto;
    max-width: 34rem;
    color: #3f4b45;
    font-size: 1rem;
}

/* L4: 세로 타임라인 */
.nk-rebuild .nk-timeline {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 2rem;
}

.nk-rebuild .nk-timeline::before {
    content: "";
    position: absolute;
    left: 0.4rem;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 2px;
    background: #B07A2A;
}

.nk-rebuild .nk-timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.nk-rebuild .nk-timeline-marker {
    position: absolute;
    left: -1.75rem;
    top: 0.35rem;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    background: #234A38;
    border: 2px solid #F3F9F6;
    box-shadow: 0 0 0 2px #B07A2A;
}

.nk-rebuild .nk-timeline-content h2 {
    font-size: 1.4rem;
    margin: 0 0 0.9rem;
}

.nk-rebuild .nk-timeline-content p {
    line-height: 1.9;
    margin: 0 0 1rem;
}

.nk-rebuild .nk-timeline-content p:last-child {
    margin-bottom: 0;
}

.nk-rebuild .nk-link {
    color: #234A38;
    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-rebuild .nk-link:hover {
    color: #12271d;
}

.nk-rebuild .nk-link:focus-visible {
    outline: 2px solid #234A38;
    outline-offset: 2px;
}

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

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

.nk-rebuild .nk-figure figcaption {
    font-size: 0.85rem;
    color: #5c6f66;
    margin-top: 0.5rem;
}

/* 요약 박스 */
.nk-rebuild .nk-summary {
    background: #ffffff;
    border: 1px solid #d7e6de;
    border-left: 4px solid #B07A2A;
    border-radius: 0.375rem;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.5rem;
}

.nk-rebuild .nk-summary h2 {
    font-size: 1.1rem;
    margin: 0 0 0.6rem;
}

.nk-rebuild .nk-summary p {
    margin: 0;
    line-height: 1.8;
}

/* CT7: 아웃라인 보더 박스(투명 배경) + 버튼 1개 */
.nk-rebuild .nk-cta-outline {
    border: 2px solid #234A38;
    border-radius: 0.5rem;
    background: transparent;
    text-align: center;
    padding: 2.25rem;
    margin-bottom: 2.5rem;
}

.nk-rebuild .nk-cta-btn {
    display: inline-block;
    background: #234A38;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.85rem 2.25rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.nk-rebuild .nk-cta-btn:hover {
    background: #173226;
}

.nk-rebuild .nk-cta-btn:focus-visible {
    outline: 3px solid #B07A2A;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .nk-rebuild .nk-cta-btn {
        transition: none;
    }
}

/* FT2: 2단 */
.nk-rebuild .nk-ft {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    border-top: 1px solid #d7e6de;
    padding-top: 1.75rem;
}

.nk-rebuild .nk-ft-col h4 {
    font-size: 0.85rem;
    margin: 0 0 0.6rem;
}

.nk-rebuild .nk-tag {
    display: inline-block;
    font-size: 0.78rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: #e2efe8;
    color: #234A38;
    border: 1px solid #c7ddd0;
    margin: 0 0.4rem 0.4rem 0;
}

.nk-rebuild .nk-ft-col .nk-link {
    display: block;
    margin-bottom: 0.5rem;
}

.nk-rebuild .nk-ft-note {
    font-size: 0.82rem;
    color: #5c6f66;
    line-height: 1.6;
    margin: 0.4rem 0 0;
}

@media (max-width: 640px) {
    .nk-rebuild .nk-ft {
        grid-template-columns: 1fr;
    }
}
