/* nk-perforated-pipe: L7 지그재그 알터네이팅 / HD3 전체폭 안내바 / HR2 그라데이션 중앙 / CT7 아웃라인 박스 1버튼 / FT1 3단 / CF7 원인결과형 */
.nk-perforated-pipe {
    --nk-primary: #5C4708;
    --nk-bg: #FBF9F0;
    --nk-accent: #3E6E9B;
    font-family: 'Song Myung', serif;
    background: var(--nk-bg);
    color: #4a3a0a;
}

.nk-perforated-pipe h1,
.nk-perforated-pipe h2 {
    font-family: 'Cormorant Garamond', serif;
}

/* HD3: 상단 전체 폭 안내 바 + 좁은 보조 라벨 */
.nk-perforated-pipe .nk-hd-bar {
    background: var(--nk-primary);
    color: #fbf3d8;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 0.3rem 0.3rem 0 0;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.nk-perforated-pipe .nk-hd-sub {
    text-align: center;
    font-size: 0.8rem;
    color: #8a7130;
    background: #f2ecd4;
    padding: 0.4rem;
    margin: 0 0 2rem;
    border-radius: 0 0 0.3rem 0.3rem;
}

/* HR2: 상하 그라데이션 배경, 중앙 정렬 */
.nk-perforated-pipe .nk-hero {
    background: linear-gradient(180deg, #3E6E9B 0%, #5C4708 100%);
    color: #ffffff;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2.5rem;
}

.nk-perforated-pipe .nk-hero h1 {
    font-size: 2.3rem;
    margin: 0 0 0.6rem;
    color: #ffffff;
}

.nk-perforated-pipe .nk-hero-sub {
    color: #f2ecd4;
    font-size: 1rem;
    margin: 0 auto;
    max-width: 34rem;
}

.nk-perforated-pipe .nk-body {
    margin-bottom: 2rem;
}

.nk-perforated-pipe .nk-body p {
    line-height: 1.9;
    margin: 0 0 1.1rem;
}

.nk-perforated-pipe .nk-body p:last-child {
    margin-bottom: 0;
}

/* L7: 지그재그 알터네이팅 */
.nk-perforated-pipe .nk-zigzag {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.75rem;
    margin: 2.5rem 0;
}

.nk-perforated-pipe .nk-zigzag-reverse {
    flex-direction: row-reverse;
}

.nk-perforated-pipe .nk-zig-text {
    flex: 1 1 280px;
}

.nk-perforated-pipe .nk-zig-text h2 {
    font-size: 1.3rem;
    color: var(--nk-primary);
    margin: 0 0 0.75rem;
}

.nk-perforated-pipe .nk-zig-text p {
    line-height: 1.9;
    margin: 0;
}

.nk-perforated-pipe .nk-zig-figure {
    flex: 1 1 280px;
    margin: 0;
    text-align: center;
}

.nk-perforated-pipe .nk-zig-figure img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
}

.nk-perforated-pipe .nk-zig-figure figcaption {
    font-size: 0.82rem;
    color: #8a7130;
    margin-top: 0.5rem;
}

.nk-perforated-pipe .nk-link {
    color: var(--nk-accent);
    font-weight: 700;
    text-decoration: underline dotted;
    text-underline-offset: 2px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: inherit;
}

.nk-perforated-pipe .nk-link:focus-visible {
    outline: 2px solid var(--nk-accent);
    outline-offset: 2px;
}

/* CT7: 아웃라인 보더 박스 + 버튼 1개 */
.nk-perforated-pipe .nk-cta-outline {
    border: 2px solid var(--nk-accent);
    border-radius: 0.5rem;
    text-align: center;
    padding: 1.75rem;
    margin: 2.5rem 0;
    background: transparent;
}

.nk-perforated-pipe .nk-cta-outline a {
    color: var(--nk-accent);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border-bottom: 2px solid var(--nk-accent);
    padding-bottom: 0.15rem;
}

.nk-perforated-pipe .nk-cta-outline a:focus-visible {
    outline: 2px solid var(--nk-primary);
    outline-offset: 3px;
}

/* FT1: 3단 그리드 */
.nk-perforated-pipe .nk-ft {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-top: 1px solid #e2d9ad;
    padding-top: 1.75rem;
    margin-top: 2.5rem;
}

.nk-perforated-pipe .nk-ft-col h4 {
    font-size: 0.85rem;
    margin: 0 0 0.6rem;
    color: var(--nk-primary);
}

.nk-perforated-pipe .nk-tag {
    display: inline-block;
    background: rgba(62, 110, 155, 0.12);
    color: #2b4d6c;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    margin: 0 0.35rem 0.35rem 0;
}

.nk-perforated-pipe .nk-ft-note {
    font-size: 0.82rem;
    color: #8a7130;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 640px) {
    .nk-perforated-pipe .nk-ft {
        grid-template-columns: 1fr;
    }
    .nk-perforated-pipe .nk-zigzag,
    .nk-perforated-pipe .nk-zigzag-reverse {
        flex-direction: column;
    }
}
