/*
Theme Name: WF Gwangju Wedding Fair Child
Template: generatepress
Description: 광주 웨딩박람회 (gjweddingfair.gwangju.kr) 단독 자식 테마 (region-master v5 엔진, 로열블루 벤토 레이아웃)
Author: gluciferj
Version: 1.0.4
Text Domain: wfgwangju-child
*/

/* ============================================================
 * 광주2 팔레트: 로열블루 + 잉크 네이비 + 컬러 벤토 카드 (사장님 선택 2026-10-15, 참고 디자인 톤 그대로)
 * 회차 카드 블록(▼▼▼ … ▲▲▲)은 마스터 CSS 를 그대로 두고 색만 치환했다 (분리형 캐러셀 재료 동결).
 * 나머지(상단 공지 바·헤더·히어로·벤토·알약 배너·PICK 카드·공지·문의 띠·푸터)는 참고 디자인을 따라 새로 짰다.
 * 엔진이 그리는 허브·캘린더·회차 상세는 마크업을 못 바꾸므로 같은 디자인 언어를 CSS 로만 입혔다.
 * 새 컴포넌트 접두는 gj-. 엔진 클래스(kt-)는 이름만 쓰고 마크업은 엔진 그대로다.
 * ============================================================ */
:root {
    --color-primary: #15183A;
    --color-accent: #2F3BE5;
    --color-accent-2: #6A73F2;
    --color-cream: #F4F5FA;
    --color-text: #1D2033;
    --color-text-muted: #6A6F86;
    --color-border: #E4E6F0;
    --color-white: #ffffff;
    --color-cta: #2F3BE5;
    --color-cta-hover: #222CC4;
    --tint-blue: #ECEEFF;
    --b-gray: #F1F3F7;
    --b-gray-2: #E8EBF1;
    --b-yellow: #FFE33A;
    --b-yellow-soft: #FFF7C7;
    --b-green: #2BC98A;
    --b-green-soft: #E2F8EF;
    --b-sky-1: #6FD6F6;
    --b-sky-2: #3EAEF4;
    --b-coral: #FF8A47;
    --b-coral-soft: #FFEBDD;
    --ink-900: #1D1F26;
    --ink-800: #2A2C35;
    --shadow-card: 0 1px 2px rgba(21,24,58,0.04), 0 6px 18px rgba(21,24,58,0.06);
    --shadow-lift: 0 4px 10px rgba(21,24,58,0.06), 0 18px 36px rgba(47,59,229,0.16);
    --radius-card: 18px;
    --radius-bento: 22px;
    /* 가로폭: 섹션 바깥 1120, 안쪽 1088 = 섹션 패딩 16을 뺀 값. 회차 패널·요약·벤토·표·허브 히어로의 왼쪽 끝이 모두 이 안쪽 선에 선다 (사장님 지적 2026-10-15 v1.0.1: 넓은 화면에서 좁고 블록마다 끝이 달랐다) */
    --kt-col: 1120px;
    --kt-col-in: calc(var(--kt-col) - 32px);
}

/* ============================================================
 * 상단 공지 바 (홈 전용, inc-region-config.php 가 generate_before_header 로 출력. 참고 디자인의 맨 위 검은 띠)
 * 같은 페이지 앵커만 건다(사이트링크 재료가 아님)
 * ============================================================ */
.gj-topbar {
    background: var(--color-primary);
    color: #fff;
    text-align: center;
    font-size: 13px;
    line-height: 1.4;
    padding: 9px 16px;
    letter-spacing: -0.01em;
}
.gj-topbar strong { color: var(--b-yellow); font-weight: 800; margin-right: 6px; }
.gj-topbar a { color: #fff !important; text-decoration: none !important; display: inline-flex; align-items: center; gap: 6px; }
.gj-topbar a i {
    font-style: normal;
    display: inline-grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border: 1.5px solid rgba(255,255,255,0.75);
    border-radius: 50%;
    font-size: 10px;
    line-height: 1;
}

/* ============================================================
 * GeneratePress 헤더 → 왼쪽 로고 + 오른쪽 알약 버튼 하나 (참고 디자인의 헤더에서 메뉴만 뺀 모양).
 * 엔진이 사이트 제목을 <p class="main-title">로 바꿔 두므로 H1 중복이 없다. 내비는 엔진이 출력 자체를 막는다.
 * 오른쪽 버튼은 inc-region-config.php 가 generate_after_header_content 로 출력하는 같은 사이트 앵커 하나뿐이다.
 * ============================================================ */
.site-header {
    display: block !important;
    background: rgba(255,255,255,0.96) !important;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: saturate(160%) blur(6px);
}
.site-header .inside-header {
    max-width: var(--kt-col);
    margin: 0 auto;
    padding: 12px 16px !important;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.site-branding { display: block !important; float: none !important; margin: 0 !important; }
/* GeneratePress 모바일 규칙이 헤더를 세로로 쌓고 가운데 정렬하는 것을 막아 한 줄(로고 왼쪽·버튼 오른쪽)을 지킨다 */
.site-header .inside-header { flex-direction: row !important; flex-wrap: nowrap !important; text-align: left !important; }
.site-header .inside-header > * { margin: 0 !important; }
.main-title {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}
.main-title a {
    color: var(--color-primary) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
}
/* 로고 앞 아이콘: 겹친 반지 두 개 (CSS 만, 이미지 요청 없음) */
.main-title a::before {
    content: '';
    display: inline-block;
    width: 26px;
    height: 18px;
    margin-right: 8px;
    background:
        radial-gradient(circle at 9px 9px, transparent 5px, var(--color-accent) 5.5px, var(--color-accent) 8px, transparent 8.5px),
        radial-gradient(circle at 17px 9px, transparent 5px, var(--b-yellow) 5.5px, var(--b-yellow) 8px, transparent 8.5px);
}
.site-description, .header-widget, .mobile-menu-control-wrapper, .menu-toggle, .main-navigation { display: none !important; }
.gj-head-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-accent);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(47,59,229,0.25);
}
.gj-head-cta:hover { background: var(--color-cta-hover); color: #fff !important; }
.gj-head-cta .gj-head-ghost { display: none; }

/* 히어로·알약 띠는 화면 끝까지 (.kt-page-content > section/div 의 width 100% 보다 우선) */
.gj-home > .gj-hero, .gj-home > .gj-strip { width: 100vw; max-width: none; }

/* 본문 영역 상단 여백 제거 */
.site-content,
.site-main,
#page,
.entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.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,
.kt-page-content > div {
    display: block;
    width: 100%;
    clear: both;
}
body .grid-container { max-width: 1200px; }
body .wp-block-group__inner-container { max-width: var(--kt-col); }

/* 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 a { text-decoration: underline !important; }

html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    color: var(--color-text);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
    overflow-wrap: break-word;
    padding-bottom: 86px;
}
h1, h2, h3 { letter-spacing: -0.03em; font-weight: 800; color: var(--color-primary); }
[id] { scroll-margin-top: 76px; }

/* ============================================================
 * 엔진 히어로 (허브·캘린더·회차 상세 공통). 로열블루 둥근 배너 + 옅은 원 장식
 * ============================================================ */
.kt-hero {
    position: relative;
    overflow: hidden;
    max-width: var(--kt-col-in);
    margin: 20px auto 0;
    padding: 52px 32px 44px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 92% 12%, rgba(255,227,58,0.9) 0 26px, transparent 27px),
        radial-gradient(circle at 88% 80%, rgba(255,255,255,0.10) 0 120px, transparent 121px),
        radial-gradient(circle at 6% 0%, rgba(255,255,255,0.10) 0 90px, transparent 91px),
        linear-gradient(135deg, #2F3BE5 0%, #4651EE 55%, #6A73F2 100%);
    color: #fff;
    text-align: left;
}
.kt-hero-inner { position: relative; max-width: 760px; }
.kt-hero h1 {
    color: #fff;
    font-size: 2.1rem;
    line-height: 1.3;
    margin: 0 0 14px;
}
.kt-hero h1 .accent { color: var(--b-yellow); }
.kt-hero p { color: rgba(255,255,255,0.92); font-size: 1.02rem; line-height: 1.8; margin: 0 0 18px; }
.kt-hero-meta { font-size: 0.98rem; }
.kt-hero-home {
    display: inline-block;
    color: rgba(255,255,255,0.9) !important;
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: 14px;
}
.kt-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 6px;
}
.kt-hero-stats > div {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 14px;
    padding: 10px 16px;
    min-width: 120px;
}
.kt-hero-stats strong { display: block; color: #fff; font-size: 1.15rem; font-weight: 800; }
.kt-hero-stats span { color: rgba(255,255,255,0.85); font-size: 0.82rem; }

/* CTA 버튼: 흰 바탕에서는 로열블루, 로열블루 히어로 안에서는 흰 알약 + 네이비 글자 */
.kt-cta, .kt-cta-btn {
    display: inline-block;
    background: var(--color-cta);
    color: #fff !important;
    font-weight: 800;
    padding: 14px 26px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(47,59,229,0.28);
    transition: transform .15s, background .15s;
}
.kt-cta:hover, .kt-cta-btn:hover { background: var(--color-cta-hover); color: #fff !important; transform: translateY(-1px); }
.kt-hero .kt-cta, .kt-hero .kt-cta-btn {
    background: #fff;
    color: var(--color-primary) !important;
    box-shadow: 0 8px 22px rgba(13,18,80,0.25);
}
.kt-hero .kt-cta:hover { background: var(--b-yellow); color: var(--color-primary) !important; }

/* 상태 뱃지 (회차 상세 히어로) */
.kt-status-badge {
    display: inline-block;
    margin: 0 0 12px 8px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--b-yellow);
    color: var(--color-primary);
}
.kt-status-badge.ended, .kt-status-badge.badge-ended { background: rgba(255,255,255,0.3); color: #fff; }
.kt-status-badge.ongoing, .kt-status-badge.badge-ongoing { background: var(--b-green); color: #fff; }

/* ============================================================
 * 홈 히어로 (참고 디자인: 흰 바탕 가운데 정렬 큰 제목 + 양쪽 장식 + 네이비 알약 버튼)
 * ============================================================ */
.gj-hero {
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    text-align: center;
    padding: 64px 16px 40px;
    background:
        radial-gradient(ellipse 60% 70% at 50% 0%, rgba(236,238,255,0.9), rgba(255,255,255,0) 70%),
        #fff;
}
.gj-hero-inner { position: relative; max-width: 760px; margin: 0 auto; z-index: 2; }
.gj-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 999px;
    box-shadow: var(--shadow-card);
    margin: 0 0 20px;
}
.gj-eyebrow b {
    display: inline-block;
    background: var(--b-green);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
}
.gj-hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin: 0;
    color: var(--color-primary);
    letter-spacing: -0.045em;
}
/* 제목 옆 체크: 글자가 없는 장식 span 을 CSS 테두리로 그린다(H1 글자는 '광주 웨딩박람회' 그대로). SVG 는 일부 기기에서 X 처럼 깨져 보였다 (v1.0.1) */
.gj-hero h1 .gj-check {
    display: inline-block;
    width: 0.34em;
    height: 0.68em;
    margin: 0 0.24em 0.14em 0.18em;
    border-right: 0.14em solid var(--b-coral);
    border-bottom: 0.14em solid var(--b-coral);
    border-radius: 0 0 0.04em 0;
    transform: rotate(45deg);
    vertical-align: middle;
}
.gj-hero h1 .accent { color: var(--color-accent); }
.gj-hero-line {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.04em;
    line-height: 1.3;
    margin: 6px 0 16px;
}
.gj-hero-line em { font-style: normal; background: linear-gradient(transparent 62%, var(--b-yellow) 62%); padding: 0 2px; }
.gj-hero-sub { color: var(--color-text-muted); font-size: 1rem; line-height: 1.8; margin: 0 0 26px; }
.gj-hero .gj-hero-cta {
    background: var(--color-primary);
    color: #fff !important;
    padding: 15px 34px;
    font-size: 1.02rem;
    box-shadow: 0 10px 24px rgba(21,24,58,0.28);
}
.gj-hero .gj-hero-cta:hover { background: var(--color-accent); }
.gj-hero-chips {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.gj-hero-chips li {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    background: var(--b-gray);
    padding: 7px 13px;
    border-radius: 999px;
}
.gj-hero-chips li::before { content: '✓'; color: var(--color-accent); font-weight: 900; margin-right: 6px; }
/* 양쪽 장식 (참고 디자인의 단풍잎·깃털 자리). 장식이라 aria-hidden, 좁은 화면에서는 작게 */
.gj-deco { position: absolute; z-index: 1; pointer-events: none; }
.gj-deco svg { display: block; width: 100%; height: auto; }
.gj-deco-l { width: 128px; left: calc(50% - 470px); top: 36px; transform: rotate(-10deg); }
.gj-deco-r { width: 150px; right: calc(50% - 480px); top: 150px; transform: rotate(8deg); }
.gj-deco-s1 { width: 22px; left: calc(50% - 300px); top: 210px; }
.gj-deco-s2 { width: 16px; right: calc(50% - 330px); top: 70px; }

/* 섹션 바깥 틀. 회차 카드 블록보다 먼저 둔다: 뒤에 두면 같은 무게의 규칙이라 회차 패널의 폭(880px, 모바일 calc(100% - 32px))을 덮어쓴다 */
.kt-section {
    max-width: var(--kt-col);
    margin: 64px auto;
    padding: 0 16px;
}

/* ▼▼▼ 회차 카드 블록 (마스터 region-master v5 style.css 그대로, 색만 팔레트 치환. 분리형 캐러셀 재료라 마크업·치수 동결) ▼▼▼ */
.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(47,59,229,0.12);
    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,#2F3BE5,#6A73F2);
    color: #fff;
    font-size: 2rem;
}
.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: var(--tint-blue);
    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;
}
.kt-session-card .meta .badge { margin-top: 2px; vertical-align: middle; }
.kt-session-card .badge-offer { vertical-align: middle; }
.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; }
.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); }
.kt-session-card .badge.dday-upcoming { background: #22c55e; }
.kt-session-card .badge.dday-soon { background: #f59e0b; }
.kt-session-card .badge.dday-today { background: #ef4444; }

/* 일정 섹션 스포트라이트 (사이트의 메인 상품 강조) */
.kt-schedule-spotlight {
    max-width: 880px;
    margin: 48px auto !important;
    padding: 44px 28px 36px !important;
    background: linear-gradient(180deg, #fff 0%, #F5F6FF 100%);
    border: 1.5px solid rgba(47,59,229,0.22);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(47,59,229,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: #FFE33A;
    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(47,59,229,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%, #6A73F2 100%);
    padding: 14px 24px;
    font-size: 0.98rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(47,59,229,0.35);
    border-radius: 10px;
}
.kt-schedule-spotlight .kt-session-card .ticket-btn:hover { box-shadow: 0 10px 26px rgba(47,59,229,0.5); transform: translateY(-1px); }
.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(47,59,229,0.55); }
    50% { box-shadow: 0 0 0 8px rgba(47,59,229,0); }
}
@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; }
    .kt-session-card .thumb-link { width: 100%; }
}
@media (max-width: 720px) {
    .kt-card-actions { width: 100%; }
}
/* ▲▲▲ 회차 카드 블록 끝 ▲▲▲ */

/* 회차 패널 제목은 마스터처럼 가운데 (아래 섹션 공통 h2 를 왼쪽 정렬로 바꿨으므로 이 패널만 되돌린다. 배지는 마스터 그대로 왼쪽) */
.kt-schedule-spotlight > h2 { text-align: center !important; }
/* 회차 패널 바깥 폭을 다른 블록의 안쪽 선(--kt-col-in)에 맞춘다. 카드 마크업·치수는 동결 블록 그대로, 패널 상자 폭만 넓힌다 (v1.0.1) */
@media (min-width: 641px) { .kt-schedule-spotlight { max-width: var(--kt-col-in); } }

/* 광주 밖 회차: 카드 가로폭을 위 회차 패널 안 카드와 맞춘다 (동결 블록은 건드리지 않고 섹션 id 로만 덮는다) */
#kt-schedule-near .kt-session-list { max-width: var(--kt-col-in); padding: 0 29px; margin: 8px auto 24px; }
@media (max-width: 640px) { #kt-schedule-near .kt-session-list { padding: 0 19px; } }

/* ============================================================
 * 섹션 공통
 * ============================================================ */
.kt-section h2 {
    font-size: 1.55rem;
    line-height: 1.38;
    margin: 0 0 12px;
    text-align: left;
}
.kt-section h2::after { display: none; }
.kt-section h3 { font-size: 1.08rem; line-height: 1.45; margin: 0 0 8px; }
.kt-section p { line-height: 1.8; }
.kt-section-intro {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 24px;
    max-width: 760px;
}
.kt-section-intro strong { color: var(--color-primary); }
.kt-source-cite { color: var(--color-text-muted); font-size: 0.82rem; margin-top: 10px; }

/* 섹션 머리 (참고 디자인: 왼쪽 3D 아이콘 + 굵은 제목, 오른쪽 "전체보기") */
.gj-head { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.gj-head h2 { margin: 0 !important; }
.gj-ico {
    flex-shrink: 0;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--b-gray);
    font-size: 21px;
    line-height: 1;
}
.gj-more {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted) !important;
    white-space: nowrap;
}
.gj-more:hover { color: var(--color-accent) !important; }
.gj-head + .kt-section-intro { margin-top: 8px; }

/* 엔진 페이지(허브·캘린더·회차 상세)의 h2: 왼쪽 정렬 + 앞에 로열블루 점 */
.kt-calendar-page .kt-section h2,
.kt-fair-single .kt-section h2,
.kt-hub-page .kt-section h2 { text-align: left; }
.kt-calendar-page .kt-section h2::before,
.kt-fair-single .kt-section h2::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
    vertical-align: 4px;
    box-shadow: 14px 0 0 -2px var(--b-yellow);
    margin-right: 22px;
}
.kt-calendar-page .kt-section-intro { margin-left: 0; }
.kt-calendar-page .kt-hub-cta h2::before { display: none; }

/* 3줄 요약 (TL;DR). 참고 디자인의 회색 카드 톤 */
.kt-tldr {
    max-width: var(--kt-col-in);
    margin: 28px auto;
    background: var(--b-gray);
    border-radius: var(--radius-card);
    padding: 20px 24px;
}
.kt-page-content > .kt-tldr { width: auto; }
.kt-tldr ul { list-style: none; margin: 0; padding: 0; }
.kt-tldr li {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px dashed #D5D9E4;
    line-height: 1.65;
    font-size: 0.97rem;
}
.kt-tldr li:last-child { border-bottom: 0; }
.kt-tldr li strong {
    display: inline-block;
    min-width: 72px;
    color: var(--color-accent);
    font-weight: 800;
}

/* ============================================================
 * 홈: 벤토 서비스 카드 (참고 디자인 "오른손 서비스" 5칸: 회색·노랑·로열·초록 와이드·연회색)
 * ============================================================ */
.gj-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gj-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 236px;
    padding: 22px 22px 20px;
    border-radius: var(--radius-bento);
    background: var(--b-gray);
    color: var(--color-primary) !important;
    overflow: hidden;
    transition: transform .18s, box-shadow .18s;
}
a.gj-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.gj-tile-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.85;
    margin-bottom: 10px;
}
.gj-tile strong {
    display: block;
    font-size: 1.22rem;
    line-height: 1.38;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.gj-tile p { font-size: 0.9rem; line-height: 1.65; margin: 8px 0 0; opacity: 0.88; max-width: 92%; }
.gj-tile .gj-art { position: absolute; right: 58px; bottom: 14px; width: 104px; pointer-events: none; }
.gj-tile.is-yellow p, .gj-tile.is-light p { max-width: 64%; }
.gj-tile .gj-art svg { width: 100%; height: auto; display: block; }
.gj-tile .gj-go {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--color-primary);
    display: grid;
    place-items: center;
    font-style: normal;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(21,24,58,0.12);
    z-index: 2;
}
.gj-tile.is-yellow { background: var(--b-yellow); }
.gj-tile.is-royal { background: linear-gradient(150deg, #2F3BE5 0%, #3943EA 60%, #5560F0 100%); color: #fff !important; }
.gj-tile.is-royal strong, .gj-tile.is-royal p, .gj-tile.is-royal .gj-tile-label { color: #fff; }
.gj-tile.is-green { background: var(--b-green); color: #fff !important; }
.gj-tile.is-green strong, .gj-tile.is-green p, .gj-tile.is-green .gj-tile-label { color: #fff; }
.gj-tile.is-light { background: #F4F6FA; border: 1px solid var(--color-border); }
.gj-tile.is-wide { grid-column: span 2; }
/* 회색 칸 안의 작은 흰 타일 두 개 (참고 디자인의 "간단 등급테스트 / 정밀 등급테스트") */
.gj-mini-row { display: flex; gap: 10px; margin-top: auto; padding-top: 16px; }
.gj-mini {
    flex: 1;
    background: #fff;
    border-radius: 14px;
    padding: 14px 10px 12px;
    text-align: center;
    color: var(--color-primary) !important;
    box-shadow: 0 2px 8px rgba(21,24,58,0.06);
    transition: transform .15s;
}
.gj-mini:hover { transform: translateY(-2px); }
.gj-mini .e { display: block; font-size: 24px; line-height: 1; margin-bottom: 8px; }
.gj-mini b { display: block; font-size: 12.5px; font-weight: 700; }
.gj-mini i {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-style: normal;
    font-size: 11px;
}
/* 초록 와이드 칸의 아이콘 줄 */
.gj-icon-line { display: flex; gap: 12px; margin-top: auto; padding-top: 18px; flex-wrap: wrap; }
.gj-icon-line span {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 2px solid rgba(255,255,255,0.55);
    border-radius: 16px;
    font-size: 26px;
}
.gj-wave { display: flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 18px; }
.gj-wave i { display: block; width: 4px; border-radius: 4px; background: rgba(255,255,255,0.85); }

/* ============================================================
 * 홈: 알약 배너 줄 (참고 디자인의 하늘색·주황 긴 알약 두 개, 화면 양끝을 넘는 띠)
 * ============================================================ */
.gj-strip {
    position: relative;
    max-width: none;
    width: 100vw;
    margin: 56px 0 56px calc(50% - 50vw);
    padding: 0;
    overflow: hidden;
}
.gj-strip-track {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    padding: 6px 0;
    width: max(100%, 1240px);
    margin-left: 50%;
    transform: translateX(-50%);
}
.gj-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    height: 64px;
    padding: 0 12px 0 30px;
    border-radius: 999px;
    color: #fff !important;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    box-shadow: 0 10px 24px rgba(21,24,58,0.10);
    transition: transform .15s;
}
.gj-pill:hover { transform: translateY(-2px); }
.gj-pill.is-sky { background: linear-gradient(90deg, var(--b-sky-1), var(--b-sky-2)); min-width: 440px; }
.gj-pill.is-coral { background: linear-gradient(90deg, #FF9E5E, var(--b-coral)); min-width: 420px; }
.gj-pill .dots { display: inline-flex; gap: 6px; margin-left: auto; }
.gj-pill .dots i {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-style: normal;
    font-size: 17px;
    background: #fff;
}
.gj-pill .dots i.b { background: var(--color-accent); color: #fff; }
.gj-pill .dots i.y { background: var(--b-yellow); }
.gj-pill .dots i.k { background: var(--color-primary); color: #fff; }
.gj-bubble {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--b-sky-1);
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(21,24,58,0.10);
}
.gj-bubble.is-edge { background: var(--b-sky-2); border-color: #fff; }
.gj-bubble.is-edge-r { background: var(--b-coral); border-color: #fff; }

/* ============================================================
 * 홈: PICK 카드 (참고 디자인 "PICK! 파트너": 위 회색 정보칸 + 아래 그림칸)
 * ============================================================ */
.gj-pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gj-pick {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-bento);
    overflow: hidden;
    background: var(--b-gray);
    color: var(--color-primary) !important;
    transition: transform .18s, box-shadow .18s;
}
a.gj-pick:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.gj-pick-body { padding: 20px 20px 16px; }
.gj-pick-date { font-size: 12px; color: var(--color-text-muted); font-weight: 600; }
.gj-pick strong, .gj-pick h3 { display: block; font-size: 1.08rem; line-height: 1.45; margin: 8px 0 8px; font-weight: 800; }
.gj-pick p { font-size: 0.9rem; line-height: 1.7; margin: 0; color: #4A4F66; }
.gj-pick-meta { display: flex; gap: 12px; margin-top: 12px; font-size: 12px; color: var(--color-text-muted); font-weight: 600; }
.gj-pick-art {
    margin-top: auto;
    height: 150px;
    display: grid;
    place-items: center;
    font-size: 64px;
    line-height: 1;
}
.gj-pick-art.a1 { background: linear-gradient(160deg, #DDE1FF, #B9C0FF); }
.gj-pick-art.a2 { background: linear-gradient(160deg, #FFF3B0, #FFE33A); }
.gj-pick-art.a3 { background: linear-gradient(160deg, #CFF5E5, #8EE3C0); }
.gj-pick-art.a4 { background: linear-gradient(160deg, #FFE3D1, #FFB98A); }
.gj-pick-art.a5 { background: linear-gradient(160deg, #D7F3FC, #8ED9F6); }
.gj-pick-art.a6 { background: linear-gradient(160deg, #EDE0FF, #CDB6FF); }
.gj-center-btn { text-align: center; margin-top: 26px; }
.gj-ghost-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--b-gray);
    color: var(--color-primary) !important;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 999px;
    transition: background .15s;
}
.gj-ghost-btn:hover { background: var(--b-gray-2); }
.gj-ghost-btn i {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-style: normal;
    font-size: 11px;
}

/* ============================================================
 * 홈: 매거진 카드 (참고 디자인 "시니어라이프": 태그·날짜·제목·요약 + 아래 사진). 클러스터 글이 발행되면 보인다
 * ============================================================ */
.gj-mag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gj-mag {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-bento);
    overflow: hidden;
    background: var(--b-gray);
    color: var(--color-primary) !important;
    transition: transform .18s, box-shadow .18s;
}
.gj-mag:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.gj-mag-body { padding: 18px 20px 14px; }
.gj-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 11.5px; color: var(--color-text-muted); }
.gj-tags b { font-weight: 600; background: #fff; border: 1px solid var(--color-border); padding: 2px 8px; border-radius: 999px; color: var(--color-primary); }
.gj-mag strong { display: block; font-size: 1.04rem; line-height: 1.45; margin: 10px 0 6px; font-weight: 800; }
.gj-mag p { font-size: 0.86rem; line-height: 1.65; margin: 0; color: #4A4F66; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gj-mag-thumb { margin-top: auto; aspect-ratio: 16 / 10; background: var(--b-gray-2); overflow: hidden; }
.gj-mag-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gj-notes-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.gj-note-box { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 18px 20px; }
.gj-note-box h3 { font-size: 1rem; margin: 0 0 8px; }
.gj-note-box ul { list-style: none; margin: 0; padding: 0; }
.gj-note-box li { margin: 0; padding: 8px 0; border-top: 1px dashed var(--color-border); font-size: 0.93rem; line-height: 1.55; }
.gj-note-box li:first-child { border-top: 0; }
.gj-note-box a { color: var(--color-primary) !important; }
.gj-note-box a:hover { color: var(--color-accent) !important; }

/* ============================================================
 * 홈: 월별 일정 카드 (참고 디자인 "이벤트": 상태 칩 + 기간 + 제목 + 요약 + 아래 그림)
 * ============================================================ */
.gj-ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gj-ev {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-bento);
    overflow: hidden;
    background: var(--b-gray);
    color: var(--color-primary) !important;
    transition: transform .18s, box-shadow .18s;
}
.gj-ev:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.gj-ev-body { padding: 18px 20px 14px; }
.gj-ev-top { display: flex; gap: 8px; align-items: center; font-size: 11.5px; color: var(--color-text-muted); font-weight: 600; }
.gj-ev-top b { background: var(--color-primary); color: #fff; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.gj-ev-top b.is-next { background: var(--color-accent); }
.gj-ev-top b.is-later { background: #8A8FA6; }
.gj-ev strong { display: block; font-size: 1.04rem; line-height: 1.45; margin: 10px 0 6px; font-weight: 800; }
.gj-ev p { font-size: 0.86rem; line-height: 1.65; margin: 0; color: #4A4F66; }
.gj-ev-art { margin-top: auto; height: 140px; display: grid; place-items: center; font-size: 58px; line-height: 1; position: relative; overflow: hidden; }
.gj-ev-art.s-autumn { background: linear-gradient(160deg, #FFE3D1, #FF9E5E); }
.gj-ev-art.s-winter { background: linear-gradient(160deg, #DDE1FF, #8E97FF); }
.gj-ev-art.s-spring { background: linear-gradient(160deg, #FFE7F0, #FFB3CE); }
.gj-ev-art.s-summer { background: linear-gradient(160deg, #D7F3FC, #6FD6F6); }
.gj-ev-art em {
    position: absolute;
    left: 14px;
    bottom: 10px;
    font-style: normal;
    font-size: 40px;
    font-weight: 900;
    color: rgba(255,255,255,0.75);
    letter-spacing: -0.04em;
}

/* ============================================================
 * 홈: 알려드려요 (참고 디자인 2x2 공지 카드 + 오른쪽 위 화살표)
 * ============================================================ */
.gj-notice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gj-notice {
    position: relative;
    display: block;
    background: var(--b-gray);
    border-radius: 16px;
    padding: 20px 52px 18px 22px;
    color: var(--color-primary) !important;
    transition: background .15s;
}
.gj-notice:hover { background: var(--b-gray-2); }
.gj-notice strong { display: block; font-size: 0.97rem; line-height: 1.5; font-weight: 700; }
.gj-notice span { display: block; font-size: 12.5px; color: var(--color-text-muted); margin-top: 8px; }
.gj-notice::after {
    content: '↗';
    position: absolute;
    right: 20px;
    top: 18px;
    font-weight: 800;
    color: var(--color-primary);
}

/* ============================================================
 * 홈: 어두운 문의 띠 (참고 디자인 "서비스에 대해 궁금하세요?" + 흰 버튼 + 별 장식)
 * ============================================================ */
.gj-ask {
    position: relative;
    isolation: isolate;
    color: #fff;
    text-align: center;
    padding: 56px 16px;
    margin: 72px 0 0;
}
/* 띠 배경은 화면 끝까지 (본문 컨테이너 폭을 넘어 100vw, 가로 스크롤은 html·body overflow-x: clip 이 막는다) */
.gj-ask::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: var(--ink-800);
    z-index: -1;
}
.gj-ask h2 { color: #fff; font-size: 1.5rem; margin: 0 0 10px; }
.gj-ask p { color: rgba(255,255,255,0.78); margin: 0 0 20px; line-height: 1.7; }
.gj-ask a {
    display: inline-block;
    background: #fff;
    color: var(--color-primary) !important;
    font-weight: 800;
    font-size: 14px;
    padding: 11px 30px;
    border-radius: 999px;
}
.gj-ask a:hover { background: var(--b-yellow); }
.gj-ask .st { position: absolute; font-style: normal; line-height: 1; pointer-events: none; }
.gj-ask .st1 { left: calc(50% - 470px); top: -6px; font-size: 40px; color: var(--b-sky-1); }
.gj-ask .st2 { right: calc(50% - 440px); top: 14px; font-size: 26px; color: #8E6CFF; }
.gj-ask .st3 { left: calc(50% - 160px); bottom: 10px; font-size: 30px; color: var(--b-yellow); }
.gj-ask .st4 { right: calc(50% - 260px); bottom: 26px; font-size: 26px; color: var(--b-coral); }
.gj-ask .st5 { right: calc(50% - 380px); bottom: 4px; font-size: 44px; color: var(--b-green); }

/* ============================================================
 * 홈 본문 컴포넌트
 * ============================================================ */
/* 컬러 정보 타일 4칸 (오시는 길·주차 요약) */
.gj-info-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gj-info-tile { border-radius: 18px; padding: 18px 16px; background: var(--b-gray); }
.gj-info-tile .e { font-size: 26px; line-height: 1; display: block; margin-bottom: 10px; }
.gj-info-tile strong { display: block; font-size: 1.02rem; line-height: 1.4; font-weight: 800; color: var(--color-primary); }
.gj-info-tile span { display: block; font-size: 0.86rem; line-height: 1.6; color: #4A4F66; margin-top: 6px; }
.gj-info-tile:nth-child(4n+1) { background: var(--tint-blue); }
.gj-info-tile:nth-child(4n+2) { background: var(--b-yellow-soft); }
.gj-info-tile:nth-child(4n+3) { background: var(--b-green-soft); }
.gj-info-tile:nth-child(4n+4) { background: var(--b-coral-soft); }

/* 큰 숫자 칩 (주차 요금 등) */
.gj-num-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 18px; }
.gj-num-tile { background: #fff; border: 1px solid var(--color-border); border-radius: 18px; padding: 18px; text-align: center; }
.gj-num-tile b { display: block; font-size: 1.6rem; font-weight: 900; color: var(--color-accent); letter-spacing: -0.04em; }
.gj-num-tile span { display: block; font-size: 0.86rem; color: var(--color-text-muted); margin-top: 4px; line-height: 1.5; }

/* 말풍선 대화 (해요체 대화형: 질문 말풍선 왼쪽, 답 말풍선 오른쪽) */
.gj-chat { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.gj-chat .q, .gj-chat .a { max-width: 86%; padding: 14px 18px; border-radius: 18px; line-height: 1.7; font-size: 0.95rem; }
.gj-chat .q { align-self: flex-start; background: var(--b-gray); border-bottom-left-radius: 6px; font-weight: 700; color: var(--color-primary); }
.gj-chat .a { align-self: flex-end; background: var(--color-accent); color: #fff; border-bottom-right-radius: 6px; }
.gj-chat .a strong { color: var(--b-yellow); }

/* 번호 카드 (실수·순서) */
.gj-num-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: gjn; }
.gj-num-card { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: 18px; padding: 44px 18px 18px; counter-increment: gjn; }
.gj-num-card::before {
    content: counter(gjn, decimal-leading-zero);
    position: absolute;
    left: 18px;
    top: 14px;
    font-size: 15px;
    font-weight: 900;
    color: var(--color-accent);
    letter-spacing: 0.02em;
}
.gj-num-card h3 { font-size: 1rem; margin: 0 0 6px; }
.gj-num-card p { font-size: 0.9rem; line-height: 1.7; margin: 0; color: #4A4F66; }

/* VS 비교 카드 */
.gj-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; }
.gj-vs > div { border-radius: 18px; padding: 20px; background: var(--b-gray); }
.gj-vs > div:first-child { background: var(--tint-blue); }
.gj-vs > div:last-child { background: var(--b-yellow-soft); }
.gj-vs h3 { font-size: 1.04rem; margin: 0 0 10px; }
.gj-vs ul { margin: 0; padding-left: 18px; }
.gj-vs li { line-height: 1.7; font-size: 0.92rem; margin: 4px 0; }
.gj-vs-badge { align-self: center; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 900; font-size: 14px; }

/* 칩 줄 (권역·키워드) */
.gj-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; padding: 0; list-style: none; }
.gj-chips li { margin: 0; background: var(--b-gray); border-radius: 999px; padding: 7px 14px; font-size: 0.88rem; font-weight: 600; color: var(--color-primary); }

/* 단계 띠 (가로 스텝) */
.gj-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; counter-reset: gjs; list-style: none; padding: 0; margin: 0; }
.gj-steps li { position: relative; margin: 0; background: var(--b-gray); border-radius: 16px; padding: 42px 14px 16px; counter-increment: gjs; font-size: 0.88rem; line-height: 1.6; color: #4A4F66; }
.gj-steps li::before { content: counter(gjs); position: absolute; left: 14px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--color-accent); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.gj-steps li strong { display: block; color: var(--color-primary); font-size: 0.97rem; margin-bottom: 4px; }

/* 문서형 카드 그리드 */
.kt-doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kt-doc-card { background: #fff; border: 1px solid var(--color-border); border-radius: 18px; padding: 18px; transition: box-shadow .15s; }
.kt-doc-card:hover { box-shadow: var(--shadow-card); }
.kt-doc-card h3 { font-size: 1rem; margin: 0 0 6px; }
.kt-doc-card p { font-size: 0.9rem; line-height: 1.7; margin: 0; color: #4A4F66; }

/* 체크리스트 그리드 */
.kt-checklist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kt-checklist-item { background: var(--b-gray); border-radius: 16px; padding: 16px 18px; }
.kt-checklist-item h3 { font-size: 0.98rem; margin: 0 0 6px; }
.kt-checklist-item h3::before { content: '✓'; color: var(--color-accent); font-weight: 900; margin-right: 8px; }
.kt-checklist-item p { font-size: 0.9rem; line-height: 1.7; margin: 0; color: #4A4F66; }
.kt-checklist-item.kt-warning { background: var(--b-coral-soft); }
.kt-checklist-item.kt-warning h3::before { content: '!'; color: #E0640A; }

/* 번호 스텝 */
.kt-steps { list-style: none; counter-reset: kts; padding: 0; margin: 0; }
.kt-steps li { position: relative; counter-increment: kts; padding: 14px 0 14px 50px; border-bottom: 1px dashed var(--color-border); line-height: 1.75; margin: 0; }
.kt-steps li::before { content: counter(kts); position: absolute; left: 0; top: 14px; width: 32px; height: 32px; border-radius: 10px; background: var(--tint-blue); color: var(--color-accent); font-weight: 900; display: grid; place-items: center; }
.kt-steps li strong { color: var(--color-primary); }

/* 아코디언 FAQ (플러스 아이콘) */
.kt-faq details, .kt-acc {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    margin: 0 0 10px;
    padding: 0;
    overflow: hidden;
}
.kt-acc summary, .kt-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 56px 18px 20px;
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
    line-height: 1.55;
}
.kt-acc summary::-webkit-details-marker { display: none; }
.kt-faq summary::-webkit-details-marker { display: none; }
.kt-acc summary::after, .kt-faq summary::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--b-gray);
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--color-accent);
}
.kt-acc[open] summary::after, .kt-faq details[open] summary::after { content: '−'; background: var(--color-accent); color: #fff; }
.kt-acc .kt-acc-num { color: var(--color-accent); margin-right: 6px; }
.kt-acc > p, .kt-faq details p { padding: 0 20px 18px; margin: 0; line-height: 1.8; color: #444A61; }

/* 정보 테이블 */
.kt-info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    margin: 6px 0 18px;
    font-size: 0.93rem;
}
.kt-info-table th, .kt-info-table td { padding: 13px 16px; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; line-height: 1.65; }
.kt-info-table tr:last-child th, .kt-info-table tr:last-child td { border-bottom: 0; }
.kt-info-table th { width: 30%; background: #F7F8FB; color: var(--color-primary); font-weight: 700; }
.kt-info-table td { color: #3E4359; }
.kt-info-table.kt-compare-table thead th { background: var(--color-primary); color: #fff; width: auto; }
.kt-info-table.kt-compare-table thead th:nth-child(2) { background: var(--color-accent); }
.kt-info-table.kt-compare-table tbody th { width: 24%; }
.kt-info-table.kt-compare-table tbody td { width: auto; }
.kt-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kt-table-scroll .kt-info-table { min-width: 640px; }
.kt-info-table.kt-month-table th { width: auto; }
.kt-info-table.kt-month-table thead th { background: var(--color-primary); color: #fff; white-space: nowrap; }
.kt-info-table.kt-month-table tbody th { width: 22%; }
.kt-schedule-table td:nth-child(5) { white-space: nowrap; }
.kt-info-table.kt-month-table td:last-child { width: 22%; }
.kt-month-table th a { color: var(--color-primary) !important; }
.kt-month-table th a:hover { color: var(--color-accent) !important; }
.kt-month-table td { white-space: normal; }
.kt-info-table + p, .kt-info-table + ul, .kt-table-scroll + p, .kt-table-scroll + ul { margin-top: 20px; }

/* 팁 목록 */
.kt-tips { list-style: none; padding: 0; margin: 0 0 16px; }
.kt-tips li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px dashed var(--color-border); line-height: 1.75; margin: 0; }
.kt-tips li::before { content: ''; position: absolute; left: 6px; top: 20px; width: 12px; height: 12px; border-radius: 4px; background: var(--b-yellow); box-shadow: 4px 4px 0 var(--color-accent); }
.kt-tips li strong { color: var(--color-primary); }
.kt-tips a, .kt-proscons a, .kt-calendar-page .kt-section > p a { color: var(--color-accent) !important; font-weight: 700; }

/* 타임라인 (준비 일정표·동선) */
.kt-timetable { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--tint-blue); }
.kt-timetable li { position: relative; display: flex; gap: 16px; padding: 12px 0 12px 22px; margin: 0; }
.kt-timetable li::before { content: ''; position: absolute; left: -8px; top: 18px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--color-accent); }
.kt-timetable .tt-time { flex-shrink: 0; min-width: 92px; font-weight: 800; color: var(--color-accent); font-size: 0.92rem; }
.kt-timetable div { line-height: 1.7; }
.kt-timetable strong { color: var(--color-primary); }

/* 문답 (말풍선형) */
.kt-qa-list { display: flex; flex-direction: column; gap: 12px; }
.kt-qa-item { background: var(--b-gray); border-radius: 18px; padding: 16px 18px; }
.kt-qa-q { font-weight: 800; color: var(--color-primary); margin: 0 0 6px; }
.kt-qa-q::before { content: 'Q'; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--color-accent); color: #fff; font-size: 12px; margin-right: 8px; }
.kt-qa-a { margin: 0; line-height: 1.75; color: #444A61; }

/* 체크 시트 (준비물) */
.kt-check-sheet { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kt-check-sheet li { position: relative; margin: 0; background: #fff; border: 1px solid var(--color-border); border-radius: 14px; padding: 13px 14px 13px 44px; line-height: 1.65; font-size: 0.93rem; }
.kt-check-sheet li::before { content: '✓'; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 6px; background: var(--b-green); color: #fff; font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.kt-check-sheet li strong { color: var(--color-primary); }

/* 방면별 교통 리스트 */
.kt-route-list { list-style: none; padding: 0; margin: 0; }
.kt-route-list li { margin: 0; padding: 14px 16px; background: var(--b-gray); border-radius: 14px; margin-bottom: 8px; line-height: 1.7; }
.kt-route-list li strong { display: inline-block; min-width: 110px; color: var(--color-accent); }

/* 장소 카드 */
.kt-place-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kt-place-card { background: #fff; border: 1px solid var(--color-border); border-radius: 18px; padding: 18px; }
.kt-place-tag { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--tint-blue); color: var(--color-accent); margin-bottom: 8px; }
.kt-place-card:nth-child(2) .kt-place-tag { background: var(--b-yellow-soft); color: #8A6A00; }
.kt-place-card:nth-child(3) .kt-place-tag { background: var(--b-green-soft); color: #13804F; }
.kt-place-card h3 { font-size: 1rem; margin: 0 0 6px; }
.kt-place-card p { font-size: 0.9rem; line-height: 1.7; margin: 0; color: #4A4F66; }

/* 요약 노트 */
.kt-mini-note { background: var(--b-yellow-soft); border-radius: 14px; padding: 14px 16px; font-size: 0.92rem; line-height: 1.7; margin: 14px 0; color: #4A4520; }
.kt-mini-note a { color: var(--color-accent) !important; font-weight: 700; }

/* 허브 공용: 박스 그리드·관련 카드·마감 CTA·FAQ 카드·리드 */
.kt-hub-boxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kt-hub-boxes > div { background: var(--b-gray); border-radius: 18px; padding: 18px 20px; }
.kt-hub-boxes > div:nth-child(4n+1) { background: var(--tint-blue); }
.kt-hub-boxes > div:nth-child(4n+2) { background: var(--b-yellow-soft); }
.kt-hub-boxes > div:nth-child(4n+3) { background: var(--b-green-soft); }
.kt-hub-boxes > div:nth-child(4n+4) { background: var(--b-coral-soft); }
.kt-hub-boxes h3 { font-size: 1rem; margin: 0 0 6px; }
.kt-hub-boxes p { font-size: 0.92rem; line-height: 1.75; margin: 0; color: #3E4359; }
.kt-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kt-related-item {
    position: relative;
    display: block;
    background: var(--b-gray);
    border-radius: 16px;
    padding: 18px 46px 18px 18px;
    color: var(--color-primary) !important;
    transition: background .15s, transform .15s;
}
.kt-related-item::after { content: '→'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.kt-related-item:hover { background: var(--tint-blue); transform: translateY(-2px); }
.kt-related-item strong { display: block; font-size: 0.98rem; line-height: 1.45; }
.kt-related-item span { display: block; font-size: 0.84rem; color: var(--color-text-muted); margin-top: 4px; line-height: 1.55; }
.kt-hub-cta {
    max-width: var(--kt-col-in);
    margin: 56px auto;
    background: var(--ink-800);
    color: #fff;
    border-radius: 24px;
    padding: 40px 24px;
    text-align: center;
}
.kt-hub-cta h2 { color: #fff !important; text-align: center !important; font-size: 1.4rem; margin: 0 0 10px; }
.kt-hub-cta p { color: rgba(255,255,255,0.8); margin: 0 0 20px; line-height: 1.7; }
.kt-hub-cta .kt-cta, .kt-hub-cta .kt-cta:hover { background: #fff; color: var(--color-primary) !important; box-shadow: none; }
.kt-faq-card { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 18px 20px; margin-bottom: 10px; }
.kt-faq-card h3 { font-size: 1rem; line-height: 1.55; margin: 0 0 8px; }
.kt-faq-num { color: var(--color-accent); font-weight: 900; margin-right: 4px; }
.kt-faq-card p { margin: 0; line-height: 1.8; color: #444A61; font-size: 0.94rem; }
.kt-lead-wrap { max-width: var(--kt-col-in); margin: 26px auto; }
.kt-lead { background: var(--tint-blue); border-radius: 16px; padding: 18px 20px; line-height: 1.85; color: var(--color-primary); margin: 0; font-size: 0.98rem; }

/* 회차 상세: 핵심 정보 카드 4열, 방문 가이드 스텝, 포스터, 본문 */
.kt-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: var(--kt-col-in); margin: 26px auto; }
.kt-info-card { background: var(--b-gray); border-radius: 18px; padding: 18px 16px; }
.kt-info-card:nth-child(1) { background: var(--tint-blue); }
.kt-info-card:nth-child(2) { background: var(--b-yellow-soft); }
.kt-info-card:nth-child(3) { background: var(--b-green-soft); }
.kt-info-card:nth-child(4) { background: var(--b-coral-soft); }
.kt-info-icon { font-size: 24px; line-height: 1; margin-bottom: 8px; }
.kt-info-card h3 { font-size: 0.82rem; color: var(--color-text-muted); margin: 0 0 4px; font-weight: 700; }
.kt-info-card p { margin: 0; font-weight: 700; color: var(--color-primary); line-height: 1.55; font-size: 0.95rem; }
.kt-guide-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kt-guide-steps li { margin: 0; background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 16px 18px; display: flex; gap: 12px; }
.kt-guide-steps .num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px; background: var(--color-accent); color: #fff; display: grid; place-items: center; font-weight: 900; }
.kt-guide-steps h3 { font-size: 0.98rem; margin: 2px 0 4px; }
.kt-guide-steps p { margin: 0; font-size: 0.9rem; line-height: 1.7; color: #4A4F66; }
.kt-session-poster { max-width: 520px; margin: 26px auto; }
.kt-session-poster img { width: 100%; height: auto; border-radius: 20px; display: block; box-shadow: var(--shadow-card); }
.kt-hero-banner { max-width: var(--kt-col-in); margin: 20px auto 0; border-radius: 24px; overflow: hidden; }
.kt-hero-banner img { width: 100%; height: auto; display: block; }
.kt-hero-banner + .kt-hero-fair { margin-top: 14px; }
.kt-content { max-width: 820px; margin: 0 auto; line-height: 1.85; font-size: 1rem; }
.kt-content h2 { font-size: 1.35rem; margin: 40px 0 12px; text-align: left; }
.kt-content h2::before { content: ''; display: inline-block; width: 6px; height: 20px; border-radius: 3px; background: var(--color-accent); margin-right: 10px; vertical-align: -3px; }
.kt-content h2::after { display: none; }
.kt-content > h2:first-child { margin-top: 0; }
.kt-content h3 { font-size: 1.08rem; margin: 26px 0 8px; }
.kt-content p { margin: 0 0 14px; }
.kt-content ul, .kt-content ol { margin: 0 0 16px; padding-left: 20px; }
.kt-content li { margin: 6px 0; line-height: 1.75; }
.kt-content .kt-info-table { margin: 14px 0 18px; }
.kt-content ul.kt-tips { padding-left: 0; }

/* 월별 캘린더: 12버튼 알약 그리드·달력·장단점·빈 회차·월 내비·직답 */
.kt-month-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.kt-month-grid a { display: block; text-align: center; padding: 12px 6px; border-radius: 999px; background: var(--b-gray); color: var(--color-primary) !important; font-weight: 700; font-size: 0.92rem; transition: background .15s; }
.kt-month-grid a:hover { background: var(--tint-blue); }
.kt-month-grid a.current { background: var(--color-accent); color: #fff !important; }
.kt-calendar-page .kt-hero h1 { font-size: 2rem; }
.kt-calendar-page .kt-hero p { max-width: 680px; }
.kt-calendar-page .kt-section > p { line-height: 1.85; }
.kt-proscons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kt-proscons > div { border-radius: 18px; padding: 18px 20px; background: var(--b-gray); }
.kt-proscons h3 { font-size: 1rem; margin: 0 0 8px; }
.kt-pros { background: var(--b-green-soft) !important; }
.kt-cons { background: var(--b-coral-soft) !important; }
.kt-pros h3 { color: #13804F; }
.kt-cons h3 { color: #C0530A; }
.kt-proscons ul { margin: 0; padding-left: 18px; }
.kt-proscons li { line-height: 1.7; margin: 4px 0; font-size: 0.93rem; }
.kt-month-empty { background: var(--b-gray); border-radius: 18px; padding: 22px; text-align: center; }
.kt-month-empty p { margin: 0 0 8px; line-height: 1.75; }
.kt-month-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 24px 0; }
.kt-month-nav a { padding: 8px 16px; border-radius: 999px; background: var(--b-gray); color: var(--color-primary) !important; font-weight: 700; font-size: 0.9rem; }
.kt-month-nav a.current { background: var(--color-accent); color: #fff !important; }
.kt-month-answer .kt-lead { margin-bottom: 12px; }
.kt-cal-grid { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.kt-cal-grid th { font-size: 0.8rem; color: var(--color-text-muted); padding: 6px 0; font-weight: 700; }
.kt-cal-grid th.sun { color: #E5484D; }
.kt-cal-grid th.sat { color: var(--color-accent); }
.kt-cal-grid td { background: var(--b-gray); border-radius: 12px; vertical-align: top; height: 76px; padding: 6px; font-size: 0.78rem; }
.kt-cal-grid td.empty { background: transparent; }
.kt-cal-grid td .day { display: block; font-weight: 700; color: var(--color-primary); margin-bottom: 4px; }
.kt-cal-grid td.sun .day { color: #E5484D; }
.kt-cal-grid td.sat .day { color: var(--color-accent); }
.kt-cal-grid td.today { box-shadow: inset 0 0 0 2px var(--color-accent); background: #fff; }
.kt-cal-grid .ev { display: block; background: var(--color-accent); color: #fff !important; border-radius: 6px; padding: 2px 5px; margin-top: 2px; font-size: 0.72rem; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kt-cal-grid .ev:hover { background: var(--color-cta-hover); }
.kt-cal-note { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 10px; }
.kt-cal-months { margin-top: 18px; }
.kt-section.kt-section-wide { max-width: var(--kt-col); }
.kt-section-wide .kt-cal-grid { min-width: 560px; }
.kt-section-wide .kt-cal-grid td { height: 84px; }

/* ============================================================
 * 떠 있는 버튼 (참고 디자인 오른쪽 가운데 원형 버튼들): 목차 + 맨 위로. 하단 고정 바 위에 뜬다
 * ============================================================ */
.kt-toc-float { position: fixed; right: 18px; bottom: 96px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.kt-toc-btn, .gj-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-weight: 800;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(21,24,58,0.18);
}
.kt-toc-btn { background: #fff; color: var(--color-primary); padding: 9px 16px 9px 10px; font-size: 13px; border: 2px solid var(--color-accent); }
.kt-toc-btn .kt-toc-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--color-accent); color: #fff; font-size: 13px; }
.kt-toc-btn em { font-style: normal; font-size: 11px; color: var(--color-text-muted); }
.gj-top-btn { width: 44px; height: 44px; justify-content: center; background: #fff; color: var(--color-primary); font-size: 18px; border: 1px solid var(--color-border); }
.gj-top-btn[hidden] { display: none; }
.kt-toc-panel { position: absolute; right: 0; bottom: 56px; width: 300px; max-height: min(62vh, 520px); overflow-y: auto; background: #fff; border: 1px solid var(--color-border); border-radius: 18px; box-shadow: 0 16px 40px rgba(21,24,58,0.22); padding: 6px 6px 10px; }
.kt-toc-panel[hidden] { display: none; }
.kt-toc-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 8px; border-bottom: 1px solid var(--color-border); margin-bottom: 4px; }
.kt-toc-head strong { font-size: 14px; color: var(--color-primary); }
.kt-toc-close { border: 0; background: var(--b-gray); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 16px; line-height: 1; color: var(--color-primary); }
.kt-toc-panel ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; }
.kt-toc-panel li { counter-increment: toc; margin: 0; }
.kt-toc-panel a { display: flex; gap: 10px; padding: 8px 12px; border-radius: 10px; color: var(--color-primary) !important; font-size: 13.5px; line-height: 1.45; }
.kt-toc-panel a::before { content: counter(toc, decimal-leading-zero); color: var(--color-accent); font-weight: 800; font-size: 12px; min-width: 20px; padding-top: 1px; }
.kt-toc-panel a:hover { background: var(--tint-blue); }

/* 하단 고정 CTA 바 (실제 <a> CPA 2호, wp_footer 전역 출력) */
.kt-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 65;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 40%);
    text-align: center;
}
.kt-sticky-cta a {
    display: block;
    max-width: 560px;
    margin: 0 auto;
    background: var(--color-accent);
    color: #fff !important;
    font-weight: 800;
    font-size: 1rem;
    padding: 16px 20px;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(47,59,229,0.38);
}
.kt-sticky-cta a:hover { background: var(--color-cta-hover); color: #fff !important; }

/* 제휴 고지 + 푸터 (참고 디자인의 짙은 회색 푸터) */
.kt-disclosure {
    max-width: var(--kt-col-in);
    margin: 40px auto 0;
    background: var(--b-gray);
    border-radius: 16px;
    padding: 16px 20px;
    font-size: 0.84rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}
.site-footer { background: var(--ink-900) !important; color: rgba(255,255,255,0.72); margin-top: 40px; }
.site-footer a { color: rgba(255,255,255,0.9) !important; }
.site-info { background: var(--ink-900) !important; color: rgba(255,255,255,0.65) !important; font-size: 13px; padding: 36px 16px 120px !important; }
.site-info .inside-site-info { max-width: var(--kt-col); margin: 0 auto; }
.gj-ask + .site-footer, .gj-ask ~ .site-footer { margin-top: 0; }

/* 키워드 내비 (훅 해제 상태, 재활성화 대비 최소 스타일) */
.kt-keyword-nav { max-width: var(--kt-col); margin: 12px auto; padding: 0 16px; }
.kt-keyword-nav-in { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.kt-keyword-nav-in::-webkit-scrollbar { display: none; }
.kt-keyword-nav a { flex: 0 0 auto; background: var(--b-gray); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; color: var(--color-primary) !important; }
.kt-keyword-nav a.brand { background: var(--color-primary); color: #fff !important; }
.kt-keyword-nav a.cur { background: var(--color-accent); color: #fff !important; }

/* 마지막 CTA (예비) */
.kt-final-cta { max-width: var(--kt-col-in); margin: 56px auto; text-align: center; background: var(--tint-blue); border-radius: 24px; padding: 36px 20px; }
.kt-final-cta h2 { text-align: center; margin: 0 0 10px; }
.kt-final-cta p { color: var(--color-text-muted); margin: 0 0 18px; }

/* ============================================================
 * 글(post)·고정 페이지 본문
 * ============================================================ */
.single-post .inside-article, .page .inside-article { max-width: 820px; margin: 0 auto; padding: 40px 16px !important; background: transparent !important; }
.single-post .entry-header { margin-bottom: 20px; }
.single-post .entry-title, .page .entry-title { font-size: 2rem; line-height: 1.35; color: var(--color-primary); letter-spacing: -0.035em; }
.single-post .entry-content, .page .entry-content { font-size: 1.03rem; line-height: 1.9; color: #2B2F45; }
.single-post .entry-content > * { margin-bottom: 18px; }
.single-post .entry-content > *:first-child { margin-top: 0; }
.single-post .entry-content h2, .page .entry-content h2 { font-size: 1.42rem; line-height: 1.42; margin: 46px 0 14px; padding: 0; }
.single-post .entry-content h2::before, .page .entry-content h2::before { content: ''; display: inline-block; width: 6px; height: 22px; border-radius: 3px; background: var(--color-accent); margin-right: 10px; vertical-align: -3px; }
.single-post .entry-content h2::after { display: none; }
.single-post .entry-content h3 { font-size: 1.15rem; margin: 30px 0 10px; color: var(--color-primary); }
.single-post .entry-content h4 { font-size: 1.02rem; margin: 22px 0 8px; }
.single-post .entry-content p, .page .entry-content p { margin: 0 0 18px; }
.single-post .entry-content img, .single-post .entry-content .wp-block-image { border-radius: 18px; }
.single-post .entry-content figure { margin: 22px 0; }
.single-post .entry-content figure img { width: 100%; height: auto; }
.single-post .entry-content figcaption { font-size: 0.85rem; color: var(--color-text-muted); text-align: center; margin-top: 8px; }
.single-post .entry-content blockquote { margin: 22px 0; padding: 16px 20px; background: var(--tint-blue); border-left: 0; border-radius: 16px; }
.single-post .entry-content blockquote p { margin: 0; color: var(--color-primary); }
.single-post .entry-content ul, .single-post .entry-content ol { padding-left: 22px; }
.single-post .entry-content li { margin: 6px 0; line-height: 1.8; }
.single-post .entry-content ul li::marker { color: var(--color-accent); }
.single-post .entry-content strong { color: var(--color-primary); }
.single-post .entry-content a, .page .entry-content a { color: var(--color-accent); font-weight: 600; }
.single-post .entry-content a:hover { color: var(--color-cta-hover); }
.single-post .entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; font-size: 0.94rem; }
.single-post .entry-content table th { background: var(--color-primary); color: #fff; padding: 11px 14px; text-align: left; }
.single-post .entry-content table td { padding: 11px 14px; border-bottom: 1px solid var(--color-border); }
.single-post .entry-content table tr:last-child td { border-bottom: 0; }
.single-post .entry-content table tr:nth-child(even) td { background: #F8F9FC; }
.single-post .entry-content hr { border: 0; height: 1px; background: var(--color-border); margin: 32px 0; }
.single-post .entry-content > p:first-of-type { font-size: 1.08rem; color: var(--color-primary); }

/* ============================================================
 * 홈 섹션 리듬: 연회색 풀폭 띠 (참고 디자인의 흰 바탕 + 회색 카드 대비를 띠 단위로 한 번씩 뒤집는다)
 * ============================================================ */
.gj-band { position: relative; padding: 8px 0; margin: 64px 0; }
.gj-band::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: #F6F7FB; z-index: -1; }
.gj-band > .kt-section { margin: 56px auto; }
.gj-band .gj-pick, .gj-band .gj-ev, .gj-band .gj-mag, .gj-band .gj-notice, .gj-band .kt-related-item { background: #fff; }
.gj-band .gj-ico { background: #fff; }
.gj-home > section.kt-section:not(.kt-schedule-spotlight):not(#kt-schedule-near) + section.kt-section { border-top: 1px solid #EEF0F5; padding-top: 56px; margin-top: 0; }

/* ============================================================
 * 반응형
 * ============================================================ */
@media (max-width: 1000px) {
    .gj-deco-l { left: 12px; width: 92px; top: 18px; opacity: 0.9; }
    .gj-deco-r { right: 6px; width: 104px; top: auto; bottom: 18px; opacity: 0.9; }
    .gj-deco-s1, .gj-deco-s2 { display: none; }
    .gj-ask .st1, .gj-ask .st2 { display: none; }
}
@media (max-width: 860px) {
    .gj-bento { grid-template-columns: repeat(2, 1fr); }
    .gj-tile.is-wide { grid-column: span 2; }
    .gj-pick-grid, .gj-mag-grid, .gj-ev-grid, .kt-doc-grid, .kt-place-grid, .kt-related { grid-template-columns: repeat(2, 1fr); }
    .gj-num-cards { grid-template-columns: repeat(2, 1fr); }
    .gj-info-tiles, .kt-info-grid { grid-template-columns: repeat(2, 1fr); }
    .gj-steps { grid-template-columns: repeat(2, 1fr); }
    .kt-month-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
    body { padding-bottom: 82px; }
    .gj-topbar { font-size: 12px; padding: 8px 12px; }
    .site-header .inside-header { padding: 10px 14px !important; }
    .main-title { font-size: 16px !important; }
    .gj-head-cta { font-size: 12px; padding: 7px 12px; }
    .gj-hero { padding: 40px 18px 30px; }
    .gj-hero h1 { font-size: 2.15rem; }
    .gj-hero-line { font-size: 1.42rem; }
    .gj-hero-sub { font-size: 0.93rem; }
    .gj-hero-sub br { display: none; }
    .gj-deco-l { width: 64px; left: 4px; top: 10px; }
    .gj-deco-r { display: none; }
    .kt-section { margin: 48px auto; }
    .kt-section h2 { font-size: 1.32rem; }
    .gj-ico { width: 34px; height: 34px; font-size: 19px; border-radius: 10px; }
    .gj-bento { grid-template-columns: 1fr; gap: 12px; }
    .gj-tile, .gj-tile.is-wide { grid-column: auto; min-height: 0; padding: 20px 18px 18px; }
    .gj-tile .gj-art { width: 88px; right: 10px; bottom: 10px; }
    .gj-tile p { max-width: 70%; }
    .gj-pick-grid, .gj-mag-grid, .gj-ev-grid, .kt-doc-grid, .kt-place-grid, .kt-related, .gj-notice-grid, .gj-num-cards, .kt-checklist-grid, .kt-hub-boxes, .kt-proscons, .kt-check-sheet, .kt-guide-steps, .gj-notes-cats { grid-template-columns: 1fr; }
    .gj-num-tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .gj-num-tile { padding: 14px 8px; }
    .gj-num-tile b { font-size: 1.2rem; }
    .gj-vs { grid-template-columns: 1fr; }
    .gj-vs-badge { justify-self: center; }
    .gj-steps { grid-template-columns: 1fr; }
    .gj-strip { margin: 40px 0 40px calc(50% - 50vw); }
    .gj-strip-track { justify-content: flex-start; width: auto; margin-left: 0; transform: none; overflow-x: auto; padding: 6px 16px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .gj-strip-track::-webkit-scrollbar { display: none; }
    .gj-pill { scroll-snap-align: start; height: 56px; padding: 0 8px 0 20px; font-size: 0.95rem; }
    .gj-pill.is-sky, .gj-pill.is-coral { min-width: 300px; }
    .gj-pill .dots i { width: 34px; height: 34px; font-size: 15px; }
    .gj-bubble { width: 56px; height: 56px; font-size: 26px; }
    .gj-chat .q, .gj-chat .a { max-width: 94%; }
    .kt-hero { margin: 12px 12px 0; padding: 36px 20px 30px; border-radius: 22px; }
    .kt-hero h1 { font-size: 1.6rem; }
    .kt-tldr { margin: 24px 16px; padding: 16px 18px; }
    .kt-hub-cta, .kt-final-cta, .kt-disclosure { margin-left: 16px; margin-right: 16px; }
    .kt-lead-wrap { margin: 20px 16px; }
    .kt-info-grid { margin: 20px 16px; }
    .kt-month-grid { grid-template-columns: repeat(3, 1fr); }
    .kt-info-table:has(tr > :nth-child(4)) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .kt-route-list li strong { display: block; min-width: 0; }
    .kt-toc-float { right: 12px; bottom: 88px; }
    .kt-toc-panel { width: min(300px, calc(100vw - 24px)); }
    .gj-ask { padding: 44px 18px; }
    .gj-ask h2 { font-size: 1.25rem; }
    .gj-home > section.kt-section:not(.kt-schedule-spotlight):not(#kt-schedule-near) + section.kt-section { padding-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .gj-tile, .gj-pick, .gj-ev, .gj-mag, .gj-pill, .kt-cta { transition: none; }
}
