/* nk-material-cost: L2 이미지/텍스트 분할 / HD2 중앙라벨 / HR2 그라데이션 / CT2 카드형 2버튼 / FT2 2단 */
.nk-material-cost {
    font-family: 'Nanum Myeongjo', serif;
    background: #FCF7F2;
    color: #3a2415;
}

.nk-material-cost h1,
.nk-material-cost h2,
.nk-material-cost h3,
.nk-material-cost h4 {
    font-family: 'Playfair Display', 'Nanum Myeongjo', serif;
    color: #6B3410;
}

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

.nk-material-cost .nk-hd-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #2F7A6B;
    text-transform: uppercase;
}

.nk-material-cost .nk-hd-sub {
    font-size: 0.85rem;
    color: #8a6a52;
    margin: 0.35rem 0 0;
}

/* HR2: 상하 그라데이션 배경, 중앙 정렬 */
.nk-material-cost .nk-hero {
    background: linear-gradient(180deg, #6B3410 0%, #8a4d1f 100%);
    color: #ffffff;
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2.5rem;
}

.nk-material-cost .nk-hero h1 {
    color: #ffffff;
    font-size: 2rem;
    margin: 0 0 0.6rem;
}

.nk-material-cost .nk-hero-sub {
    color: #f3e3d3;
    margin: 0;
    font-size: 1rem;
}

/* L2: 좌 이미지 / 우 텍스트 (모든 섹션 동일 방향, 마지막만 반전 표시용 nk-row-rev 예외 없이 순서만 CSS로 유지) */
.nk-material-cost .nk-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.nk-material-cost .nk-row-figure {
    order: -1;
    margin: 0;
}

.nk-material-cost .nk-row-figure img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
}

.nk-material-cost .nk-row-figure figcaption {
    font-size: 0.82rem;
    color: #8a6a52;
    margin-top: 0.5rem;
    text-align: center;
}

.nk-material-cost .nk-row-text p {
    line-height: 1.9;
    margin: 0;
}

.nk-material-cost .nk-link {
    color: #2F7A6B;
    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-material-cost .nk-link:hover {
    color: #205a4f;
}

.nk-material-cost .nk-link:focus-visible {
    outline: 2px solid #2F7A6B;
    outline-offset: 2px;
}

.nk-material-cost .nk-section {
    margin-bottom: 2.5rem;
}

.nk-material-cost .nk-section h2 {
    font-size: 1.4rem;
    margin: 0 0 1rem;
}

.nk-material-cost .nk-section p {
    line-height: 1.9;
    margin: 0 0 1rem;
}

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

/* CF4 비교표 */
.nk-material-cost .nk-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: #ffffff;
    font-family: 'Gothic A1', 'Nanum Myeongjo', serif;
}

.nk-material-cost .nk-table caption {
    caption-side: top;
    text-align: left;
    font-size: 0.85rem;
    color: #8a6a52;
    margin-bottom: 0.5rem;
}

.nk-material-cost .nk-table th,
.nk-material-cost .nk-table td {
    border: 1px solid #e6d4c2;
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.92rem;
}

.nk-material-cost .nk-table thead th {
    background: #6B3410;
    color: #ffffff;
    font-weight: 700;
}

.nk-material-cost .nk-table tbody tr:nth-child(even) {
    background: #f7ede1;
}

/* CT2: 카드형 박스 중앙배치 + 버튼 2개 가로 */
.nk-material-cost .nk-cta-card {
    background: #ffffff;
    border: 1px solid #e6d4c2;
    border-radius: 0.75rem;
    text-align: center;
    padding: 2rem;
    margin-bottom: 2.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.nk-material-cost .nk-cta-text {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    color: #6B3410;
    font-weight: 700;
}

.nk-material-cost .nk-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.nk-material-cost .nk-cta-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Gothic A1', 'Nanum Myeongjo', serif;
    font-size: 0.92rem;
    transition: opacity 0.15s ease;
}

.nk-material-cost .nk-cta-btn-solid {
    background: #6B3410;
    color: #ffffff;
}

.nk-material-cost .nk-cta-btn-outline {
    background: #ffffff;
    color: #2F7A6B;
    border: 1.5px solid #2F7A6B;
}

.nk-material-cost .nk-cta-btn:hover {
    opacity: 0.85;
}

.nk-material-cost .nk-cta-btn:focus-visible {
    outline: 2px solid #6B3410;
    outline-offset: 2px;
}

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

/* FT2: 2단 (좌 요약태그 / 우 관련링크) */
.nk-material-cost .nk-ft {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    border-top: 1px solid #e6d4c2;
    padding-top: 1.75rem;
}

.nk-material-cost .nk-ft-col h4 {
    font-size: 0.85rem;
    margin: 0 0 0.6rem;
    color: #6B3410;
}

.nk-material-cost .nk-tag {
    display: inline-block;
    font-size: 0.78rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: #f7ede1;
    color: #6B3410;
    border: 1px solid #e6d4c2;
    margin: 0 0.4rem 0.4rem 0;
}

.nk-material-cost .nk-ft-col .nk-link {
    display: block;
    margin-bottom: 0.4rem;
}

.nk-material-cost .nk-ft-note {
    font-size: 0.82rem;
    color: #8a6a52;
    margin: 0.5rem 0 0;
}

@media (max-width: 640px) {
    .nk-material-cost .nk-row,
    .nk-material-cost .nk-ft {
        grid-template-columns: 1fr;
    }
    .nk-material-cost .nk-row-figure {
        order: 0;
    }
}
