/*
Theme Name: WF Daegu Wedding Fair Child
Template: generatepress
Description: 대구 웨딩박람회 (weddingfair.daegu.kr) 단독 자식 테마 (region-master v5 엔진, 미드나잇 인디고 밴드 레이아웃)
Author: gluciferj
Version: 1.1.1
Text Domain: wfdaegu-child
*/

:root {
    /* 대구(신규) 팔레트: 미드나잇 네이비 + 인디고 (자매 사이트 17계열과 색상 계열 중복 없음) */
    --color-primary: #0E1430;
    --color-accent: #4A54E1;
    --color-cream: #F4F6FB;
    --color-text: #1F2433;
    --color-text-muted: #68708C;
    --color-border: #E0E4F0;
    --color-white: #ffffff;
    --color-cta: #4A54E1;
    --color-cta-hover: #3640C4;
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(14,20,48,0.06);
    --radius-card: 14px;
    /* 대구 고유 레이아웃 토큰 (밴드·글래스 카드) */
    --dg-ink-2: #1D2760;
    --dg-soft: #ECEFF8;
    --dg-tint: #F3F4FE;
    --dg-tint-2: #E6E9FC;
    --dg-accent-2: #7A83F2;
    --dg-ice: #C9CEFF;
    --kt-col: 1060px;
    --kt-col-in: 1000px;
}

/* ============================================================
 * GeneratePress 헤더 통째로 제거
 * (SEO용 사이트 제목은 wp_title에 박힘, 시각적으론 숨김)
 * ============================================================ */
.site-header,
.site-branding,
.site-title,
.main-title,
.site-description,
.inside-header,
.header-wrap {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 본문 영역 상단 여백 제거 */
.site-content,
.site-main,
#page,
.entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* GeneratePress 블록 갭 제거 */
.wp-site-blocks > * {
    margin-block-start: 0 !important;
}

/* ============================================================
 * GeneratePress flex wrapper 무력화 — 섹션이 가로로 늘어서는 문제 방지
 * ============================================================ */
.site-main { display: block !important; }
.kt-page-content {
    display: block;
    width: 100%;
    flex: 1 1 100%;
    max-width: 100%;
}
.kt-page-content > section,
.kt-page-content > article {
    display: block;
    width: 100%;
    clear: both;
}
/* 전폭 요소(히어로·밴드)는 위 규칙(width:100%)보다 우선해야 화면 끝까지 닿는다 */
.kt-page-content > .dg-band,
.kt-page-content > section.kt-hero,
.kt-page-content section.kt-hero {
    display: block;
    clear: both;
    width: 100vw;
}

/* GeneratePress 기본 밑줄 제거 — 카드/CTA 안의 링크 깔끔하게 */
.kt-page-content a,
.kt-page-content a:hover,
.kt-cta,
.kt-cta:hover,
.kt-sticky-cta,
.kt-sticky-cta:hover,
.kt-session-card,
.kt-session-card:hover,
.kt-session-card * {
    text-decoration: none !important;
}
/* 단, 본문 콘텐츠(.kt-content) 안의 링크는 가독성 위해 밑줄 유지 */
.kt-content a { text-decoration: underline !important; }

/* 전폭 밴드(100vw)가 세로 스크롤바 폭만큼 넘치는 것을 자른다. clip은 스크롤 컨테이너를 만들지 않아 sticky가 유지된다 */
html { overflow-x: hidden; }
body {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    color: var(--color-text);
    background: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

h1, h2, h3 { letter-spacing: -0.02em; font-weight: 700; }

/* ############################################################
 * [A] 회차 카드·캐러셀 블록
 * 마스터(region-master v5)와 규칙·수치가 동일하다. 팔레트 값만 대구 계열로 바꿨다.
 * 분리형 캐러셀이 붙은 뒤에는 이 블록을 건드리지 않는다.
 * ############################################################ */
.kt-session-list { max-width: 780px; margin: 48px auto; padding: 0 16px; }
.kt-session-card,
.kt-session-card:hover,
.kt-session-card * {
    text-decoration: none !important;
}
.kt-session-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-card);
    display: flex;
    gap: 18px;
    align-items: center;
    transition: transform .15s, box-shadow .15s;
    color: var(--color-primary);
}
.kt-session-card .thumb {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}
.kt-session-card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.06), 0 16px 32px rgba(0,0,0,0.08); }
.kt-session-card .thumb:not(.thumb-placeholder) { width: 120px; height: 120px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.kt-session-card .thumb-placeholder { width: 120px; height: 120px; border-radius: 12px; flex-shrink: 0; }
.kt-session-card .meta { flex: 1; }
.kt-session-card .title { font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; color: var(--color-primary); }
.kt-session-card .date { color: var(--color-text-muted); font-size: 0.9rem; }
.kt-session-card .badge {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-right: 4px;
}
.kt-session-card .badge.ended { background: #9ca3af; }
.kt-session-card .ticket-btn {
    background: var(--color-cta);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    flex-shrink: 0;
}
.kt-session-card .ticket-btn:hover { background: var(--color-cta-hover); color: #fff; }

.kt-session-card .badge.badge-upcoming { background: var(--color-accent); }
.kt-session-card .badge.badge-ongoing { background: #22c55e; }
.kt-session-card .badge.badge-ended { background: #9ca3af; }
.kt-session-card .badge-offer {
    display: inline-block;
    background: rgba(74,84,225,0.15);
    color: var(--color-accent);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 4px;
}
.kt-session-card .thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#0E1430,#1D2760);
    color: var(--color-accent);
    font-size: 2rem;
}

/* 일정 섹션 스포트라이트 (사이트의 메인 상품 강조) */
.kt-schedule-spotlight {
    max-width: 880px;
    margin: 48px auto !important;
    padding: 44px 28px 36px !important;
    background: linear-gradient(180deg, #fff 0%, #F3F4FE 100%);
    border: 1.5px solid rgba(74,84,225,0.25);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(74,84,225,0.12);
    position: relative;
}
.kt-schedule-spotlight::before {
    content: '';
    position: absolute;
    top: -1.5px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}
.kt-spotlight-badge {
    display: inline-block;
    background: var(--color-primary);
    color: var(--dg-ice);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}
.kt-schedule-spotlight h2 {
    font-size: 1.85rem !important;
    margin-bottom: 8px !important;
    color: var(--color-primary);
}
.kt-schedule-spotlight h2::after {
    display: none;
}
.kt-spotlight-sub {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 32px;
}
.kt-schedule-spotlight .kt-section-intro {
    margin-bottom: 28px;
}
.kt-schedule-spotlight + section { margin-top: 64px; }

/* 스포트라이트 안의 카드는 더 크고 눈에 띄게 */
.kt-schedule-spotlight .kt-session-list {
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.kt-schedule-spotlight .kt-session-card {
    padding: 22px;
    border: 2px solid transparent;
    transition: all .25s ease;
    margin-bottom: 16px;
}
.kt-schedule-spotlight .kt-session-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06), 0 16px 36px rgba(74,84,225,0.18);
}
.kt-schedule-spotlight .kt-session-card .thumb:not(.thumb-placeholder) {
    width: 140px;
    height: 140px;
    border-radius: 14px;
}
.kt-schedule-spotlight .kt-session-card .thumb-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 14px;
}
.kt-schedule-spotlight .kt-session-card .title {
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.4;
}
.kt-schedule-spotlight .kt-session-card .date {
    font-size: 0.95rem;
    margin-bottom: 10px;
}
.kt-schedule-spotlight .kt-session-card .badge {
    font-size: 0.82rem;
    padding: 5px 14px;
}
.kt-schedule-spotlight .kt-session-card .ticket-btn {
    background: linear-gradient(135deg, var(--color-accent) 0%, #7A83F2 100%);
    padding: 14px 24px;
    font-size: 0.98rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(74,84,225,0.35);
    border-radius: 10px;
}
.kt-schedule-spotlight .kt-session-card .ticket-btn:hover {
    box-shadow: 0 10px 26px rgba(74,84,225,0.5);
    transform: translateY(-1px);
}

/* D-day 뱃지에 미세한 펄스 (다가오는 회차만) */
.kt-schedule-spotlight .badge.badge-upcoming {
    animation: kt-pulse 2.5s ease-in-out infinite;
}
@keyframes kt-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74,84,225,0.55); }
    50% { box-shadow: 0 0 0 8px rgba(74,84,225,0); }
}

/* 회차 카드 장소 라벨 · 주소 · 혜택 한 줄 */
.kt-session-card .venue { color: var(--color-text-muted); font-size: 0.85rem; margin: 2px 0 4px; }
.kt-session-card .addr {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    margin: 2px 0 4px;
    line-height: 1.4;
}
.kt-session-card .offer-line {
    display: block;
    width: fit-content;
    max-width: 100%;
    background: #E9EBFD;
    color: var(--color-cta-hover);
    font-size: 0.83rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    margin: 6px 0;
    line-height: 1.4;
}
/* 배지 줄 — 혜택 아래에 D-day·초대권 배지가 나란히 정렬되도록 */
.kt-session-card .meta .badge {
    margin-top: 2px;
    vertical-align: middle;
}
.kt-session-card .badge-offer {
    vertical-align: middle;
}

/* 회차 카드 표준(2버튼): 주버튼 = CPA(채운 색, JS 버튼) / 보조버튼 = 상세페이지(아웃라인, 팔로우) */
.kt-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    align-items: stretch;
}
.kt-card-actions .ticket-btn { text-align: center; margin: 0; }
.kt-card-actions .detail-btn {
    display: inline-block;
    text-align: center;
    padding: 8px 14px;
    border-radius: 50px;
    border: 1.5px solid var(--color-accent);
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    background: transparent;
}
.kt-card-actions .detail-btn:hover { background: var(--color-accent); color: #fff; }
@media (max-width: 720px) {
    .kt-card-actions { width: 100%; }
}

/* 표준 가이드 v2: 이미지·타이틀 상세페이지 링크 */
.kt-session-card .thumb-link {
    display: block;
    flex-shrink: 0;
    line-height: 0;
}
.kt-session-card a.title {
    display: block;
    color: var(--color-primary);
}
.kt-session-card a.title:hover { color: var(--color-accent); }
@media (max-width: 640px) {
    .kt-session-card .thumb-link { width: 100%; }
}

/* D-day 색상 (가이드: 8일+ 초록 / 7일 이내 주황 / 진행 중 빨강) */
.kt-session-card .badge.dday-upcoming { background: #22c55e; }
.kt-session-card .badge.dday-soon { background: #f59e0b; }
.kt-session-card .badge.dday-today { background: #ef4444; }

/* CPA JS 버튼 (a → button 전환 대응) */
button.kt-cta, button.ticket-btn {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

/* 캐러셀 블록 모바일 */
@media (max-width: 640px) {
    .kt-schedule-spotlight {
        margin: 32px 16px !important;
        padding: 26px 18px 20px !important;
        border-radius: 16px;
        max-width: calc(100% - 32px);
    }
    .kt-schedule-spotlight h2 { font-size: 1.4rem !important; }
    .kt-spotlight-badge { font-size: 0.72rem; padding: 5px 12px; }
    .kt-spotlight-sub { font-size: 0.85rem; margin-bottom: 22px; }
    .kt-schedule-spotlight .kt-session-card {
        padding: 16px;
    }
    .kt-schedule-spotlight .kt-session-card .thumb:not(.thumb-placeholder),
    .kt-schedule-spotlight .kt-session-card .thumb-placeholder {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        max-width: 100%;
    }
    .kt-schedule-spotlight .kt-session-card .title { font-size: 1.05rem; }
    .kt-session-card { flex-direction: column; align-items: stretch; text-align: center; }
    .kt-session-card .thumb:not(.thumb-placeholder),
    .kt-session-card .thumb-placeholder {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    .kt-session-card .ticket-btn { margin-top: 8px; }
}
/* ############################ [A] 끝 ############################ */


/* ############################################################
 * [B] 대구 고유 디자인 — 전폭 밴드 · 좌측 정렬 히어로 · 글래스 카드 · 플랫 아코디언
 * ############################################################ */

/* ── 히어로: 전폭 다크 밴드, 좌측 정렬 ── */
.kt-hero {
    position: relative;
    left: 50%;
    width: 100vw;
    margin: 0 0 0 -50vw;
    padding: 88px 24px 104px;
    background:
        radial-gradient(900px 420px at 88% -12%, rgba(122,131,242,0.38), transparent 62%),
        linear-gradient(135deg, #0E1430 0%, #1D2760 100%);
    color: #fff;
    text-align: left;
    border-radius: 0;
    overflow: hidden;
}
.kt-hero::after {
    content: '';
    position: absolute;
    right: -140px;
    top: -140px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 0 0 70px rgba(255,255,255,0.025), 0 0 0 140px rgba(255,255,255,0.015);
    pointer-events: none;
}
.kt-hero-inner { position: relative; z-index: 1; max-width: var(--kt-col); margin: 0 auto; }
.kt-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.2;
    margin: 0 0 18px;
    color: #fff;
}
.kt-hero h1 .accent { color: var(--dg-ice); }
.kt-hero p {
    max-width: 640px;
    margin: 0 0 30px;
    color: rgba(255,255,255,0.78);
    font-size: 1.06rem;
    line-height: 1.8;
}
.dg-eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
}
.kt-hero .dg-eyebrow {
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 6px;
    color: var(--dg-ice);
    max-width: none;
    font-size: 0.74rem;
    line-height: 1.4;
}
.dg-hero-tag {
    font-size: 1.3rem !important;
    font-weight: 700;
    color: #fff !important;
    margin: -6px 0 14px !important;
    letter-spacing: -0.02em;
}

.kt-cta {
    display: inline-block;
    background: var(--color-accent);
    color: #ffffff;
    font-weight: 800;
    padding: 17px 34px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.04rem;
    box-shadow: 0 10px 28px rgba(74,84,225,0.45);
    transition: transform .15s, box-shadow .15s, background .15s;
}
.kt-cta:hover { transform: translateY(-2px); background: var(--color-cta-hover); box-shadow: 0 14px 34px rgba(74,84,225,0.55); color: #ffffff; }

/* 히어로 스탯: 글래스 카드 */
.kt-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 760px;
    margin-top: 40px;
    padding-top: 0;
    border-top: 0;
}
.kt-hero-stats > div {
    text-align: left;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    background: rgba(255,255,255,0.07);
    color: #fff;
}
.kt-hero-stats strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}
.kt-hero-stats span {
    display: block;
    margin-top: 4px;
    font-size: 0.84rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.68);
}

/* 홈 히어로: 좌 카피 · 우 스탯 패널 2단 */
@media (min-width: 901px) {
    .dg-hero .kt-hero-inner {
        display: grid;
        grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.85fr);
        column-gap: 64px;
        align-items: start;
    }
    .dg-hero .kt-hero-inner > * { grid-column: 1; justify-self: start; }
    .dg-hero .kt-hero-stats {
        grid-column: 2;
        grid-row: 1 / span 8;
        align-self: center;
        justify-self: stretch;
        grid-template-columns: 1fr;
        max-width: none;
        margin: 0;
        padding: 22px;
        border: 1px solid rgba(255,255,255,0.14);
        border-radius: 22px;
        background: rgba(255,255,255,0.05);
    }
    .dg-hero .kt-hero-stats > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
    .dg-hero .kt-hero-stats span { margin-top: 0; text-align: right; }
}

/* 회차 상세 히어로 */
.kt-hero-fair { padding: 72px 24px 80px; }
.kt-hero-fair h1 { font-size: 2.2rem; line-height: 1.35; }
.kt-hero-meta { color: rgba(255,255,255,0.86) !important; font-size: 1rem !important; margin: 6px 0 !important; }
.kt-hero-meta .ico { margin-right: 4px; }
.kt-hero-fair .kt-cta { margin-top: 22px; }
.kt-hero-home {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.82) !important;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none !important;
}
.kt-hero-home:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.5); color: #fff !important; }

/* 회차 상세 상단 배너 이미지 */
.kt-hero-banner { max-width: 820px; margin: 0 auto; padding: 24px 16px 0; }
.kt-hero-banner img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: var(--shadow-card);
    display: block;
}
.kt-hero-banner + .kt-hero-fair { margin-top: 24px; }

/* 상태 뱃지 */
.kt-status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    margin: 0 0 16px 8px;
    vertical-align: top;
}
.kt-status-badge.badge-upcoming { background: rgba(201,206,255,0.18); color: var(--dg-ice); }
.kt-status-badge.badge-ongoing { background: rgba(34,197,94,0.2); color: #4ade80; }
.kt-status-badge.badge-ended { background: rgba(156,163,175,0.2); color: #cbd5e1; }

/* ── 3칸 요약 스트립 (히어로 하단에 겹침) ── */
.kt-tldr {
    position: relative;
    z-index: 2;
    max-width: var(--kt-col);
    margin: -46px auto 0;
    padding: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(14,20,48,0.10);
}
.kt-tldr ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.kt-tldr li { padding: 20px 26px; border-left: 1px solid var(--color-border); font-size: 0.94rem; color: var(--color-text); line-height: 1.6; }
.kt-tldr li:first-child { border-left: 0; }
.kt-tldr li strong { display: block; margin-bottom: 4px; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.06em; color: var(--color-accent); }

/* ── 섹션 · 제목 ── */
.kt-section { max-width: 820px; margin: 84px auto; padding: 0 16px; }
.kt-section h2 {
    position: relative;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.35;
    margin-bottom: 16px;
    color: var(--color-primary);
}
.kt-section h2::before {
    content: '';
    display: block;
    width: 28px;
    height: 4px;
    margin: 0 auto 16px;
    border-radius: 2px;
    background: var(--color-accent);
}
.kt-section h2::after { display: none; }
.dg-eyebrow + h2::before,
.kt-schedule-spotlight h2::before { display: none; }
.dg-center { text-align: center; }

.kt-section-intro {
    max-width: 740px;
    margin: 0 auto 36px;
    padding: 0 16px;
    text-align: center;
    color: var(--color-text-muted);
    line-height: 1.8;
    font-size: 1rem;
}
.kt-section-intro strong { color: var(--color-primary); font-weight: 700; }
.kt-schedule-spotlight .kt-section-intro { margin-bottom: 28px; }

/* ── 전폭 밴드 ── */
.dg-band {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    padding: 4px 0;
}
.dg-band > .kt-section { margin-top: 80px; margin-bottom: 80px; }
.dg-band--soft { background: var(--dg-soft); }
.dg-band--white { background: #fff; }
.dg-band--dark {
    background:
        radial-gradient(760px 360px at 8% 0%, rgba(122,131,242,0.22), transparent 60%),
        linear-gradient(160deg, #0E1430 0%, #171F4D 100%);
    color: #fff;
}
.dg-band--dark .kt-section h2 { color: #fff; }
.dg-band--dark .kt-section h2::before { background: var(--dg-ice); }
.dg-band--dark .dg-eyebrow { color: var(--dg-ice); }
.dg-band--dark .kt-section-intro { color: rgba(255,255,255,0.72); }
.dg-band--dark .kt-section-intro strong { color: #fff; }

/* 2단 분할(좌 제목 고정 · 우 본문) */
@media (min-width: 901px) {
    /* .kt-page-content > section { display:block } 보다 우선해야 2단이 된다 */
    .kt-page-content section.dg-split,
    .dg-band > section.dg-split { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.6fr); column-gap: 64px; align-items: start; }
    .dg-split-head { position: sticky; top: 32px; }
}
.dg-split-head h2 { text-align: left; }
.dg-split-head h2::before { margin-left: 0; }
.dg-split-head .kt-section-intro { text-align: left; margin: 0; padding: 0; max-width: none; }
.dg-split-head .dg-eyebrow { display: block; }
@media (max-width: 900px) {
    .dg-split-head { margin-bottom: 28px; }
}

/* ── 번호 카드 그리드 (방문 전 확인) ── */
.kt-doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; counter-reset: dgdoc; }
.kt-doc-card {
    position: relative;
    counter-increment: dgdoc;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px 24px 22px 78px;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.kt-doc-card:hover { border-color: var(--color-accent); box-shadow: 0 14px 30px rgba(74,84,225,0.10); transform: translateY(-2px); }
.kt-doc-card::before {
    content: counter(dgdoc, decimal-leading-zero);
    position: absolute;
    left: 24px;
    top: 24px;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--dg-tint-2);
    color: var(--color-accent);
    font-size: 0.88rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kt-doc-card h3 { margin: 0 0 8px; font-size: 1.04rem; font-weight: 800; color: var(--color-primary); }
.kt-doc-card p { margin: 0; font-size: 0.92rem; line-height: 1.78; color: var(--color-text); }
.kt-doc-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kt-doc-grid-4 .kt-doc-card { padding: 70px 22px 24px; }

/* 다크 밴드 안의 카드 = 글래스 */
.dg-band--dark .kt-doc-card,
.dg-band--dark .kt-place-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: none;
}
.dg-band--dark .kt-doc-card:hover,
.dg-band--dark .kt-place-card:hover { border-color: rgba(201,206,255,0.55); box-shadow: none; }
.dg-band--dark .kt-doc-card::before { background: rgba(201,206,255,0.16); color: var(--dg-ice); }
.dg-band--dark .kt-doc-card h3,
.dg-band--dark .kt-place-card h3 { color: #fff; }
.dg-band--dark .kt-doc-card p,
.dg-band--dark .kt-place-card p { color: rgba(255,255,255,0.74); }

/* ── 세로 타임라인 (진행 순서) ── */
.kt-steps { max-width: 780px; margin: 0 auto; padding: 0; list-style: none; counter-reset: ktstep; }
.dg-split .kt-steps { max-width: none; }
.kt-steps li {
    position: relative;
    counter-increment: ktstep;
    padding: 0 0 30px 66px;
    line-height: 1.8;
    color: var(--color-text);
    font-size: 0.97rem;
}
.kt-steps li::before {
    content: counter(ktstep, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kt-steps li::after {
    content: '';
    position: absolute;
    left: 21px;
    top: 52px;
    bottom: 8px;
    width: 2px;
    background: var(--color-border);
}
.kt-steps li:last-child { padding-bottom: 0; }
.kt-steps li:last-child::after { display: none; }
.kt-steps li strong { display: block; margin-bottom: 4px; font-size: 1.06rem; color: var(--color-accent); }

/* ── 플랫 아코디언 (FAQ) ── */
.dg-acc-list {
    max-width: var(--kt-col-in);
    margin: 0 auto;
    padding: 4px 30px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
}
.kt-acc { background: none; border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0; margin: 0; overflow: visible; }
.kt-acc:last-child { border-bottom: 0; }
.kt-acc summary {
    cursor: pointer;
    padding: 22px 0;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--color-primary);
    list-style: none;
    display: flex;
    gap: 14px;
    align-items: baseline;
}
.kt-acc summary::-webkit-details-marker { display: none; }
.kt-acc summary::after {
    content: "+";
    margin-left: auto;
    padding-left: 16px;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    color: var(--color-accent);
}
.kt-acc[open] summary::after { content: "\2212"; }
.kt-acc[open] summary { color: var(--color-accent); }
.kt-acc .kt-acc-num { flex-shrink: 0; min-width: 34px; color: var(--color-accent); font-weight: 800; }
.kt-acc > p { margin: 0; padding: 0 40px 24px 48px; color: var(--color-text); line-height: 1.85; font-size: 0.96rem; }
.kt-faq details { cursor: pointer; }
.kt-faq summary { outline: none; }

/* FAQ 카드 (회차·허브·월별 공통, 비아코디언) */
.kt-faq-card {
    position: relative;
    max-width: 780px;
    margin: 12px auto !important;
    padding: 22px 24px 22px 74px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    text-align: left;
}
.kt-faq-card h3 {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: none !important;
    display: block;
    font-size: 1.04rem;
    line-height: 1.55;
    text-align: left;
    color: var(--color-primary);
}
.kt-faq-num {
    position: absolute;
    left: 22px;
    top: 20px;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--dg-tint-2);
    color: var(--color-accent);
    font-size: 0.84rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.kt-faq-card p { margin: 10px 0 0; line-height: 1.8; text-align: left; color: var(--color-text); font-size: 0.95rem; }

/* ── 일정표 타임라인 ── */
.kt-timetable {
    margin: 0 auto;
    padding: 6px 30px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
}
.kt-timetable li {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}
.kt-timetable li:last-child { border-bottom: 0; }
.kt-timetable .tt-time {
    text-align: center;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 7px 8px;
    border-radius: 8px;
}
.kt-timetable div { font-size: 0.95rem; line-height: 1.8; color: var(--color-text); }
.kt-timetable strong { color: var(--color-primary); }

/* ── 장소 카드 ── */
.kt-place-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kt-place-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 26px 24px;
    transition: border-color .15s;
}
.kt-place-tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--dg-tint-2);
    color: var(--color-accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.dg-band--dark .kt-place-tag { background: rgba(201,206,255,0.16); color: var(--dg-ice); }
.kt-place-card h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 10px; color: var(--color-primary); }
.kt-place-card p { color: var(--color-text-muted); font-size: 0.93rem; line-height: 1.78; margin: 0; }

/* ── 문답 ── */
.kt-qa-list { max-width: 720px; margin: 0 auto; }
.dg-split .kt-qa-list { max-width: none; }
.kt-qa-item { margin-bottom: 14px; padding: 22px 24px; background: #fff; border: 1px solid var(--color-border); border-radius: 16px; }
.kt-qa-q { font-weight: 800; color: var(--color-primary); margin: 0 0 10px; font-size: 1.02rem; }
.kt-qa-q::before {
    content: 'Q';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 7px;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    vertical-align: 1px;
}
.kt-qa-a { margin: 0; padding: 0 0 0 34px; background: none; border: 0; border-radius: 0; color: var(--color-text); font-size: 0.95rem; line-height: 1.8; }

/* ── 정보 테이블 ── */
.kt-info-table {
    width: 100%;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}
.kt-info-table th, .kt-info-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}
.kt-info-table tr:last-child th, .kt-info-table tr:last-child td { border-bottom: none; }
.kt-info-table th {
    background: var(--dg-tint);
    color: var(--color-primary);
    width: 30%;
    font-weight: 700;
    font-size: 0.93rem;
}
.kt-info-table td { color: var(--color-text); font-size: 0.93rem; line-height: 1.7; }
.kt-info-table thead th { background: var(--color-primary); color: #fff; font-weight: 700; }

/* 비교 테이블 */
.kt-info-table.kt-compare-table thead { background: var(--color-primary); color: #fff; }
.kt-info-table.kt-compare-table thead th {
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    padding: 15px 16px;
    text-align: left;
}
.kt-info-table.kt-compare-table thead th:nth-child(2) { color: var(--dg-ice); }
.kt-info-table.kt-compare-table tbody th {
    background: var(--dg-tint);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.9rem;
    width: 24%;
}
.kt-info-table.kt-compare-table tbody td { font-size: 0.92rem; line-height: 1.65; }

/* ── 방면별 교통 (2열 카드) ── */
.kt-route-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
.kt-route-list li {
    position: relative;
    padding: 22px 24px 22px 28px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    font-size: 0.94rem;
    line-height: 1.8;
    color: var(--color-text);
    overflow: hidden;
}
.kt-route-list li::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--color-accent); }
.kt-route-list li strong { display: block; margin-bottom: 6px; font-size: 1rem; color: var(--color-primary); }
.kt-route-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ── 안내 링크 카드 ── */
.kt-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 780px; margin: 0 auto; }
.kt-related-item {
    position: relative;
    display: block;
    padding: 22px 46px 22px 22px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    text-decoration: none;
    transition: border-color .15s, transform .15s, box-shadow .15s;
}
.kt-related-item::after {
    content: '\2192';
    position: absolute;
    right: 20px;
    top: 22px;
    color: var(--color-accent);
    font-weight: 800;
    transition: transform .15s;
}
.kt-related-item:hover { border-color: var(--color-accent); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(74,84,225,0.10); }
.kt-related-item:hover::after { transform: translateX(3px); }
.kt-related-item strong { display: block; color: var(--color-primary); font-size: 1rem; margin-bottom: 6px; }
.kt-related-item span { display: block; color: var(--color-text-muted); font-size: 0.88rem; line-height: 1.65; }

/* ── 월 버튼 그리드 ── */
.kt-month-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    max-width: 660px;
    margin: 20px auto 0;
    padding: 0 16px;
}
.kt-month-grid a {
    display: block;
    text-align: center;
    padding: 15px 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-primary);
    font-weight: 700;
    transition: transform .15s, border-color .15s, color .15s, background .15s;
    text-decoration: none;
}
.kt-month-grid a:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-2px); }
.kt-month-grid a.current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
@media (max-width: 600px) { .kt-month-grid { grid-template-columns: repeat(4, 1fr); } }
.dg-month-sub { max-width: 740px; margin: 0 auto 4px; text-align: center; color: var(--color-text-muted); line-height: 1.8; }

/* ── 하단 고정 CTA 바 (wp_footer 출력, 실제 <a> CPA 2호) ── */
.kt-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(14,20,48,0.94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 -8px 24px rgba(14,20,48,0.18);
    padding: 10px 16px;
    display: flex;
    justify-content: center;
}
.kt-sticky-cta a {
    display: block;
    width: 100%;
    max-width: 420px;
    text-align: center;
    background: var(--color-accent);
    color: #ffffff !important;
    font-weight: 800;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(74,84,225,0.45);
}
.kt-sticky-cta a:hover { background: var(--color-cta-hover); }
body { padding-bottom: 78px; }

/* ── 제휴 고지 · 푸터 (다크) ── */
.kt-disclosure {
    background: #0A0F26;
    color: rgba(255,255,255,0.56);
    font-size: 0.78rem;
    line-height: 1.75;
    padding: 22px 16px;
    text-align: center;
}
.site-footer .site-info { background: #0A0F26; color: rgba(255,255,255,0.46); border-top: 1px solid rgba(255,255,255,0.08); }
.site-footer .site-info a { color: rgba(255,255,255,0.62); }

/* 지역별 링크(자매 도메인) 영역: 네트워크 정책상 출력하지 않지만 스타일은 남긴다 */
.kt-region-links { background: #0A0F26; border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 16px; }
.kt-region-links-in { max-width: 820px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.kt-region-links .lbl { font-weight: 700; font-size: 0.85rem; color: #fff; }
.kt-region-links a { font-size: 0.85rem; color: rgba(255,255,255,0.62); text-decoration: none; }
.kt-region-links a:hover { color: #fff; text-decoration: underline; }

/* ── 키워드 내비 (훅 해제 상태. 재활성화 대비 스타일만) ── */
.kt-keyword-nav { background: #fff; border-bottom: 1px solid var(--color-border); }
.kt-keyword-nav-in {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.kt-keyword-nav-in::-webkit-scrollbar { display: none; }
.kt-keyword-nav a {
    flex: 0 0 auto;
    padding: 14px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}
.kt-keyword-nav a:hover { color: var(--color-primary); }
.kt-keyword-nav a.brand { font-size: 15px; font-weight: 800; color: var(--color-primary); padding-left: 0; margin-right: auto; }
.kt-keyword-nav a.cur { color: var(--color-accent); font-weight: 700; border-bottom-color: var(--color-accent); }
@media (max-width: 640px) {
    .kt-keyword-nav a { padding: 12px 10px; font-size: 13px; }
    .kt-keyword-nav a.brand { font-size: 14px; }
}

/* ############################################################
 * [C] 회차 상세 · 허브 · 월별 캘린더 · 글 본문
 * ############################################################ */

/* 회차 자기완결 리드 문장 (AEO) */
.kt-lead-wrap { max-width: 780px; margin: 40px auto 0; padding: 0 16px; }
.kt-lead {
    position: relative;
    margin: 0;
    padding: 24px 26px 24px 30px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    font-size: 1.04rem;
    line-height: 1.9;
    color: var(--color-text);
    overflow: hidden;
}
.kt-lead::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--color-accent); }

/* 핵심 정보 카드 (4컬럼). section 직계라 display:block 규칙보다 우선하도록 선택자를 겹친다 */
.kt-info-grid,
.kt-page-content > section.kt-info-grid {
    max-width: 820px;
    margin: 32px auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.kt-info-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 22px 18px;
    text-align: left;
}
.kt-info-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: 11px;
    background: var(--dg-tint-2);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kt-info-card h3 { font-size: 0.8rem; color: var(--color-text-muted); font-weight: 700; margin-bottom: 6px; letter-spacing: 0.02em; }
.kt-info-card p { color: var(--color-primary); font-weight: 700; font-size: 0.95rem; line-height: 1.55; margin: 0; }

/* 회차 포스터 (1:1 정사각, 본문 위) */
.kt-session-poster { max-width: 520px; margin: 44px auto 0; padding: 0 16px; }
.kt-session-poster img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(14,20,48,0.14);
    display: block;
}

/* 본문 콘텐츠 (회차 롱폼) */
.kt-content {
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 36px;
    border-radius: 18px;
    line-height: 1.85;
}
.kt-content h2 {
    display: block;
    position: relative;
    text-align: left;
    font-size: 1.3rem;
    margin: 40px 0 16px;
    padding: 0 0 12px;
    line-height: 1.4;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}
.kt-content h2::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 64px;
    height: 2px;
    margin: 0;
    border-radius: 0;
    background: var(--color-accent);
}
.kt-content h2::after { display: none; }
.kt-content > h2:first-child { margin-top: 0; }
.kt-content h3 {
    display: block;
    text-align: left;
    font-size: 1.08rem;
    margin: 28px 0 10px;
    padding: 0 0 0 12px;
    border-left: 3px solid var(--color-accent);
    color: var(--color-primary);
}
.kt-content p { margin-bottom: 16px; color: var(--color-text); }
.kt-content ul, .kt-content ol { padding-left: 24px; margin-bottom: 16px; }
.kt-content li { margin-bottom: 6px; }
.kt-content .kt-info-table { margin: 14px 0 22px; }
.kt-content ul.kt-tips { max-width: none; margin: 0 0 18px; }
.kt-content ol { max-width: none; }

/* 방문 가이드 (번호 스텝) */
.kt-guide-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kt-guide-steps li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 22px;
    border-radius: 16px;
}
.kt-guide-steps .num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
}
.kt-guide-steps h3 { font-size: 1.02rem; color: var(--color-primary); margin-bottom: 4px; }
.kt-guide-steps p { color: var(--color-text-muted); font-size: 0.93rem; line-height: 1.7; margin: 0; }

/* 체크리스트 */
.kt-checklist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.kt-checklist-item {
    background: #fff;
    padding: 22px;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-accent);
    border-radius: 0 0 16px 16px;
}
.kt-checklist-item h3 { font-size: 1.02rem; margin-bottom: 8px; color: var(--color-primary); }
.kt-checklist-item p { color: var(--color-text-muted); font-size: 0.94rem; line-height: 1.7; margin: 0; }
.kt-checklist-item.kt-warning { border-top-color: #dc2626; background: linear-gradient(180deg, #fff 0%, #fef2f2 100%); }
.kt-checklist-item.kt-warning h3 { color: #b91c1c; }

/* 출처 인용 */
.kt-source-cite { max-width: 740px; margin: 16px auto 0; padding: 0 16px; color: #94a3b8; font-size: 0.78rem; text-align: right; font-style: italic; }

/* 계약 전 확인 시트 (체크박스형) */
.kt-check-sheet { max-width: 680px; margin: 0 auto; padding: 0; list-style: none; }
.kt-check-sheet li {
    position: relative;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 15px 18px 15px 52px;
    margin-bottom: 10px;
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--color-text);
}
.kt-check-sheet li::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 17px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-accent);
    border-radius: 5px;
    background: #fff;
}

/* 요약 노트 */
.kt-mini-note {
    max-width: 720px;
    margin: 0 auto;
    background: var(--dg-tint);
    border: 1px solid var(--dg-tint-2);
    border-radius: 16px;
    padding: 22px 26px;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.8;
}
.kt-mini-note a { color: var(--color-accent); font-weight: 700; }

/* 월별 빈 회차 블록 · 월 이동 */
.kt-month-empty {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
}
.kt-month-empty p { color: var(--color-text-muted); line-height: 1.75; margin: 0 0 16px; }
.kt-month-nav { text-align: center; margin: 8px 0 32px; font-size: 0.95rem; color: var(--color-text-muted); }
.kt-month-nav a { color: var(--color-accent); font-weight: 700; margin: 0 6px; }
.kt-month-nav a.current { color: var(--color-primary); text-decoration: underline; }

/* 월별 팁 · 장단점 */
.kt-tips { max-width: 780px; margin: 0 auto; padding-left: 20px; }
.kt-tips li { margin: 8px 0; line-height: 1.8; }
.kt-tips li::marker { color: var(--color-accent); }
.kt-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 780px; margin: 0 auto; }
.kt-proscons > div { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 22px 24px; }
.kt-proscons h3 { font-size: 1.04rem; margin: 0 0 10px; }
.kt-pros { border-top: 3px solid #16a34a !important; }
.kt-cons { border-top: 3px solid #dc2626 !important; }
.kt-pros h3 { color: #15803d; }
.kt-cons h3 { color: #b91c1c; }
.kt-proscons ul { margin: 0; padding-left: 18px; }
.kt-proscons li { margin: 6px 0; line-height: 1.7; color: var(--color-text); }
@media (max-width: 600px) { .kt-proscons { grid-template-columns: 1fr; } }

/* 허브 · 월별 캘린더 페이지 */
.kt-calendar-page .kt-hero h1 { font-size: 2.4rem; }
.kt-calendar-page .kt-section { max-width: 820px; }
.kt-calendar-page .kt-section h2 { text-align: left; }
.kt-calendar-page .kt-section h2::before { margin-left: 0; }
.kt-calendar-page .kt-section > p {
    max-width: 780px;
    margin: 14px auto;
    line-height: 1.9;
    color: var(--color-text);
    text-align: left;
}
.kt-calendar-page .kt-section > p a,
.kt-proscons a,
.kt-tips a { color: var(--color-accent); font-weight: 700; }
.kt-calendar-page .kt-tips,
.kt-calendar-page .kt-proscons { text-align: left; }
.kt-calendar-page .kt-section-intro { text-align: left; margin-left: 0; padding-left: 0; }

.kt-hub-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 780px; margin: 0 auto; }
.kt-hub-boxes > div {
    background: #fff;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    border-radius: 0 0 16px 16px;
    padding: 22px 24px;
}
.kt-hub-boxes h3 { margin: 0 0 8px; font-size: 1.02rem; color: var(--color-primary); }
.kt-hub-boxes p { margin: 0; font-size: 0.93rem; line-height: 1.75; color: var(--color-text); }
@media (max-width: 600px) { .kt-hub-boxes { grid-template-columns: 1fr; } }

.kt-hub-cta {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 28px;
    text-align: center;
    border-radius: 22px;
    background:
        radial-gradient(520px 240px at 100% 0%, rgba(122,131,242,0.30), transparent 60%),
        linear-gradient(135deg, #0E1430 0%, #1D2760 100%);
    color: #fff;
}
.kt-hub-cta h2,
.kt-calendar-page .kt-hub-cta h2 { margin: 0 0 12px; color: #fff; text-align: center; }
.kt-hub-cta h2::before,
.kt-calendar-page .kt-hub-cta h2::before { margin-left: auto; background: var(--dg-ice); }
.kt-hub-cta p,
.kt-calendar-page .kt-section.kt-hub-cta > p,
.kt-calendar-page .kt-hub-cta p { color: rgba(255,255,255,0.76); margin: 0 auto 24px; max-width: 560px; text-align: center; }

/* 마지막 CTA */
.kt-final-cta {
    text-align: center;
    background: linear-gradient(135deg, #0E1430 0%, #1D2760 100%);
    color: #fff;
    padding: 56px 24px;
    border-radius: 22px;
    margin: 64px 16px;
}
.kt-final-cta h2 { color: #fff; font-size: 1.5rem; }
.kt-final-cta p { color: rgba(255,255,255,0.76); margin: 16px 0 28px; }

/* 이번 달 달력 그리드 */
.kt-cal-grid {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 4px;
    table-layout: fixed;
}
.kt-cal-grid th { padding: 8px 0; font-size: 0.85rem; font-weight: 700; color: var(--color-text-muted); text-align: center; }
.kt-cal-grid th.sun { color: #E5484D; }
.kt-cal-grid th.sat { color: var(--color-accent); }
.kt-cal-grid td {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    vertical-align: top;
    padding: 8px 6px;
    height: 74px;
}
.kt-cal-grid td.empty { background: transparent; border-color: transparent; }
.kt-cal-grid td .day { display: block; font-size: 0.85rem; font-weight: 700; color: var(--color-text); margin-bottom: 2px; }
.kt-cal-grid td.sun .day { color: #E5484D; }
.kt-cal-grid td.sat .day { color: var(--color-accent); }
.kt-cal-grid td.today { border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent) inset; }
.kt-cal-grid .ev {
    display: block;
    font-size: 0.72rem;
    line-height: 1.35;
    background: var(--dg-tint-2);
    color: var(--color-accent);
    border-radius: 6px;
    padding: 3px 5px;
    margin-top: 3px;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.kt-cal-grid .ev:hover { background: var(--color-accent); color: #fff; }
.kt-cal-note { text-align: left; color: var(--color-text-muted); font-size: 0.88rem; margin-top: 14px; }
.kt-cal-months { grid-template-columns: 1fr 1fr; }
.kt-section.kt-section-wide { max-width: 1140px; }
.kt-section-wide .kt-cal-grid { max-width: 1100px; }
.kt-section-wide .kt-cal-grid td { height: 96px; }
@media (max-width: 640px) {
    .kt-section-wide .kt-cal-grid td { height: 54px; }
    .kt-cal-grid { border-spacing: 2px; }
    .kt-cal-grid td { height: 54px; padding: 5px 3px; border-radius: 6px; }
    .kt-cal-grid .ev {
        font-size: 0;
        height: 6px;
        width: 6px;
        padding: 0;
        border-radius: 50%;
        margin: 4px auto 0;
        background: var(--color-accent);
    }
    .kt-cal-months { grid-template-columns: 1fr; }
}

/* 월별 직답 블록 · 일정 표 (5~6열) */
.kt-month-answer .kt-lead { margin-bottom: 18px; }
.kt-month-table th a { color: var(--color-accent); text-decoration: none; font-weight: 700; }
.kt-month-table td { font-size: 0.88rem; }
.kt-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kt-table-scroll .kt-info-table { min-width: 760px; }
.kt-info-table.kt-month-table th { width: auto; }
.kt-info-table.kt-month-table thead th { white-space: nowrap; }
.kt-info-table.kt-month-table tbody th { width: 22%; }
.kt-info-table.kt-month-table td:nth-child(2),
.kt-info-table.kt-month-table td:nth-child(3),
.kt-info-table.kt-month-table td:nth-child(4),
.kt-schedule-table td:nth-child(5) { white-space: nowrap; }
.kt-info-table.kt-month-table td:last-child { width: 22%; }

/* 월별 일정 페이지(WP Page) 본문 */
.page .inside-article { max-width: 792px; margin: 0 auto; padding: 40px 16px 56px; }
.page .entry-title { font-size: 1.85rem; line-height: 1.35; color: var(--color-primary); margin-bottom: 10px; }
.page .entry-content { line-height: 1.85; color: var(--color-text); font-size: 1.02rem; }
.page .entry-content h2 { font-size: 1.4rem; color: var(--color-primary); margin: 40px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--color-primary); }
.page .entry-content p { margin: 14px 0; }
.page .entry-content a { color: var(--color-accent); font-weight: 700; }

/* ── 블로그 글 본문 (post 타입 single) ── */
.single-post .inside-article { max-width: 792px; margin: 0 auto; padding: 40px 16px 56px; }
.single-post .entry-header { margin-bottom: 12px; }
.single-post .entry-title { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.35; color: var(--color-primary); }
.single-post .entry-content { line-height: 1.9; font-size: 1.02rem; color: var(--color-text); }
.single-post .entry-content > * { margin-top: 24px; margin-bottom: 0; }
.single-post .entry-content > *:first-child { margin-top: 0; }

/* H2: 굵은 밑선 + 액센트 짧은 선 */
.single-post .entry-content h2 {
    display: block;
    position: relative;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 48px 0 18px !important;
    padding: 0 0 14px;
    line-height: 1.4;
    border: none;
    border-bottom: 2px solid var(--color-primary);
}
.single-post .entry-content h2::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 72px;
    height: 2px;
    background: var(--color-accent);
}
.single-post .entry-content h2::after { display: none; }

/* H3: 좌측 액센트 선 */
.single-post .entry-content h3 {
    position: relative;
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 30px 0 10px !important;
    padding: 0 0 0 14px;
    line-height: 1.45;
    border-left: 3px solid var(--color-accent);
    border-bottom: 0;
}
.single-post .entry-content h4 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 32px 0 12px !important;
    line-height: 1.5;
}
.single-post .entry-content p { margin: 15px 0; }
.single-post .entry-content img,
.single-post .entry-content .wp-block-image {
    margin: 28px auto !important;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(14,20,48,0.10);
    display: block;
    max-width: 100%;
    height: auto;
}
.single-post .entry-content figure { margin: 36px auto !important; }
.single-post .entry-content figure img { margin: 0 auto !important; }
.single-post .entry-content figcaption { text-align: center; color: var(--color-text-muted); font-size: 0.88rem; margin-top: 10px; }
.single-post .entry-content blockquote {
    background: var(--dg-tint);
    border-left: 4px solid var(--color-accent);
    padding: 20px 24px;
    margin: 32px 0 !important;
    border-radius: 0 14px 14px 0;
    color: var(--color-text);
    font-style: normal;
}
.single-post .entry-content blockquote p { margin: 8px 0; }
.single-post .entry-content ul,
.single-post .entry-content ol { margin: 20px 0; padding-left: 28px; }
.single-post .entry-content li { margin-bottom: 10px; line-height: 1.8; }
.single-post .entry-content ul li::marker { color: var(--color-accent); }
.single-post .entry-content strong { color: var(--color-primary); font-weight: 700; }
.single-post .entry-content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color .15s;
}
.single-post .entry-content a:hover { color: var(--color-cta-hover); }
.single-post .entry-content table {
    width: 100%;
    margin: 28px 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    font-size: 0.95rem;
}
.single-post .entry-content table th {
    background: var(--color-primary);
    color: #fff;
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    border-bottom: 1px solid var(--color-primary);
}
.single-post .entry-content table td { padding: 12px 16px; border-bottom: 1px solid var(--color-border); }
.single-post .entry-content table tr:last-child td { border-bottom: none; }
.single-post .entry-content table tr:nth-child(even) td { background: var(--dg-tint); }
.single-post .entry-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    margin: 48px 0 !important;
}
.single-post .entry-content > p:first-of-type { font-size: 1.08rem; color: var(--color-primary); font-weight: 500; line-height: 1.8; }

/* ############################################################
 * [D] 가로폭 통일 · 반응형
 * ############################################################ */
body .grid-container { max-width: 1200px; }
body .wp-block-group__inner-container { max-width: var(--kt-col); }

@media (min-width: 641px) {
    .kt-calendar-page .kt-hero p { max-width: 760px; }

    .kt-tldr,
    .kt-schedule-spotlight,
    .kt-section,
    .kt-calendar-page .kt-section,
    .kt-section.kt-section-wide,
    .kt-info-grid,
    .kt-hero-banner,
    .kt-keyword-nav-in,
    .kt-region-links-in { max-width: var(--kt-col); }
    .kt-section-wide .kt-cal-grid { max-width: 100%; }

    .kt-session-list,
    .kt-lead-wrap,
    .kt-tips,
    .kt-proscons,
    .kt-hub-boxes,
    .kt-related,
    .kt-hub-cta,
    .kt-steps,
    .kt-cal-grid,
    .kt-faq-card,
    .kt-calendar-page .kt-section > p { max-width: var(--kt-col-in); }
    .kt-section-intro,
    .kt-source-cite { max-width: 960px; }
    .kt-qa-list,
    .kt-mini-note { max-width: 940px; }
    .kt-check-sheet,
    .kt-month-grid { max-width: 900px; }
    .kt-hub-cta p { max-width: 700px; }
    .single-post .inside-article,
    .page .inside-article { max-width: 940px; }
    .dg-split .kt-steps,
    .dg-split .kt-qa-list { max-width: none; }
    .dg-split-head .kt-section-intro { max-width: none; }
}

@media (max-width: 1024px) {
    .kt-doc-grid-4 { grid-template-columns: 1fr 1fr; }
    .kt-related { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .kt-hero { padding: 72px 22px 92px; }
    .kt-hero h1 { font-size: 2.4rem; }
}

@media (max-width: 720px) {
    .kt-place-grid { grid-template-columns: 1fr; }
    .kt-route-list { grid-template-columns: 1fr; }
    .kt-guide-steps { grid-template-columns: 1fr; }
    .kt-related { grid-template-columns: 1fr; }
    .kt-tldr { margin: -40px 16px 0; }
    .kt-tldr ul { grid-template-columns: 1fr; }
    .kt-tldr li { border-left: 0; border-top: 1px solid var(--color-border); padding: 16px 20px; }
    .kt-tldr li:first-child { border-top: 0; }
    .kt-timetable { padding: 4px 20px; }
    .kt-timetable li { grid-template-columns: 1fr; gap: 10px; }
    .kt-timetable .tt-time { justify-self: start; min-width: 92px; }
}

@media (max-width: 640px) {
    .kt-hero { padding: 60px 20px 84px; }
    .kt-hero h1 { font-size: 2rem; }
    .kt-hero p { font-size: 0.98rem; }
    .dg-hero-tag { font-size: 1.1rem !important; }
    .kt-hero-fair { padding: 52px 20px 60px; }
    .kt-hero-fair h1 { font-size: 1.55rem; }
    .kt-calendar-page .kt-hero h1 { font-size: 1.75rem; }
    .kt-hero-stats { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }
    .kt-hero-stats > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 14px 16px; }
    .kt-hero-stats strong { font-size: 1.1rem; }
    .kt-hero-stats span { margin-top: 0; font-size: 0.78rem; text-align: right; }
    .kt-hero-home { font-size: 0.76rem; padding: 5px 10px; margin-bottom: 12px; }
    .kt-cta { display: block; text-align: center; padding: 16px 20px; }

    .kt-section { margin: 60px auto; }
    .kt-section h2 { font-size: 1.42rem; }
    .dg-band > .kt-section { margin-top: 56px; margin-bottom: 56px; }
    .kt-section-intro { font-size: 0.92rem; padding: 0 4px; margin-bottom: 28px; }
    .kt-source-cite { font-size: 0.72rem; padding: 0 20px; }

    .kt-doc-grid,
    .kt-doc-grid-4 { grid-template-columns: 1fr; }
    .kt-doc-card { padding: 22px 20px 20px 70px; }
    .kt-doc-card::before { left: 20px; top: 22px; }
    .kt-doc-grid-4 .kt-doc-card { padding: 22px 20px 20px 70px; }

    .kt-steps li { padding-left: 58px; font-size: 0.94rem; }
    .kt-steps li::before { width: 40px; height: 40px; }
    .kt-steps li::after { left: 19px; top: 48px; }

    .dg-acc-list { padding: 2px 18px; border-radius: 16px; }
    .kt-acc summary { padding: 18px 0; font-size: 0.96rem; gap: 10px; }
    .kt-acc > p { padding: 0 8px 20px 0; font-size: 0.93rem; }
    .kt-faq-card { padding: 20px 18px 20px 64px; }
    .kt-faq-num { left: 16px; top: 18px; }

    .kt-qa-item { padding: 18px; }
    .kt-qa-a { padding-left: 0; }
    .kt-checklist-grid { grid-template-columns: 1fr; }
    .kt-info-grid { grid-template-columns: repeat(2, 1fr); }
    .kt-hero-banner img { max-height: 280px; }
    .kt-info-table th { width: 35%; font-size: 0.85rem; padding: 12px 10px; }
    .kt-info-table td { font-size: 0.88rem; padding: 12px 10px; }
    .kt-info-table.kt-compare-table tbody th { width: 30%; font-size: 0.8rem; padding: 10px 8px; }
    .kt-info-table.kt-compare-table tbody td { font-size: 0.82rem; padding: 10px 8px; }
    .kt-content { padding: 24px 20px; }
    .kt-guide-steps li { padding: 18px; }
    .kt-hub-cta { padding: 36px 20px; }

    .single-post .entry-content { font-size: 0.98rem; padding: 0 14px; }
    .single-post .entry-content h2 { font-size: 1.3rem; margin: 44px 0 16px !important; }
    .single-post .entry-content h3 { font-size: 1.1rem; margin: 32px 0 14px !important; }
    .single-post .entry-content img,
    .single-post .entry-content figure,
    .single-post .entry-content .wp-block-image { margin: 28px auto !important; border-radius: 12px; }
    .single-post .entry-content blockquote { padding: 16px 18px; margin: 24px 0 !important; }
    .single-post .entry-content table { font-size: 0.88rem; }
    .single-post .entry-content table th,
    .single-post .entry-content table td { padding: 10px 12px; }
}
