/* ═══════════════════════════════════════════════
   CSS VARIABLES — 테마 레이어 (사이트 2~4 교체 시 이 블록만 수정)
   ═══════════════════════════════════════════════ */
:root {
    /* 배경 */
    --bg-primary:   #09090f;
    --bg-secondary: #111119;
    --bg-card:      #181826;
    --bg-card-hover:#1f1f30;

    /* 골드 액센트 */
    --gold:         #c8a46a;
    --gold-light:   #e0c48e;
    --gold-dark:    #8a6e3e;
    --gold-glow:    rgba(200, 164, 106, 0.18);

    /* 텍스트 */
    --text-primary: #f0ece6;
    --text-muted:   #8888a0;
    --text-dim:     #555568;

    /* 테두리 */
    --border:       rgba(200, 164, 106, 0.15);
    --border-hover: rgba(200, 164, 106, 0.45);

    /* 기타 */
    --radius:       10px;
    --radius-lg:    18px;
    --transition:   0.32s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width:    1240px;
    --header-h:     72px;

    /* 폰트 */
    --font-serif:   'Noto Serif KR', serif;
    --font-sans:    'Noto Sans KR', sans-serif;
}

/* ═══════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
}

/* ═══════════════════════════════════════════════
   CONTAINER
   ═══════════════════════════════════════════════ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════ */
.section-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 56px;
}

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-sans);
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn svg { width: 17px; height: 17px; stroke-width: 2; }

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #0a0a0f;
    font-weight: 700;
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 164, 106, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ═══════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: none;
}

/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(9,9,15,0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(9,9,15,0.96);
    border-bottom-color: var(--border);
    box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 24px;
}

/* 로고 */
.site-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    flex-shrink: 0;
    transition: opacity var(--transition);
}
.site-logo:hover { opacity: 0.8; }

.logo-main {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.04em;
}
.logo-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* PC 네비 */
.site-nav { flex: 1; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    justify-content: center;
}

.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 13px;
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 4px;
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}
.nav-link:hover,
.nav-link.is-active { color: var(--gold); }

.nav-link:hover { background: var(--gold-glow); }

.nav-arrow {
    width: 9px; height: 6px;
    stroke-width: 1.8;
    transition: transform var(--transition);
    flex-shrink: 0;
}

.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* 드롭다운 메가 메뉴 */
.mega-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18,18,26,0.98);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    min-width: 200px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.6);
    backdrop-filter: blur(20px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.nav-item.has-dropdown:hover .mega-dropdown,
.nav-item.has-dropdown:focus-within .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-dropdown::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -24px;
    right: -24px;
    height: 12px;
}

.mega-grid {
    display: grid;
    gap: 2px 16px;
}
.mega-grid.cols-2 { grid-template-columns: repeat(2, 1fr); min-width: 200px; }
.mega-grid.cols-3 { grid-template-columns: repeat(3, 1fr); min-width: 300px; }
.mega-grid.cols-4 { grid-template-columns: repeat(4, 1fr); min-width: 400px; }

.mega-link {
    display: block;
    padding: 6px 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-radius: 4px;
    white-space: nowrap;
    transition: color var(--transition), background var(--transition);
}
.mega-link:hover,
.mega-link.is-active {
    color: var(--gold);
    background: var(--gold-glow);
}

/* 헤더 CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #0a0a0f;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all var(--transition);
}
.header-cta svg { width: 14px; height: 14px; stroke-width: 2.2; }
.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(200,164,106,0.4);
}

/* 햄버거 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}
.menu-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════════ */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1099;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}
.mobile-overlay.is-open { opacity: 1; visibility: visible; }

.mobile-menu {
    position: fixed;
    top: 0; right: 0;
    width: min(360px, 90vw);
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    z-index: 1100;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
}
.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.mobile-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    transition: color var(--transition);
}
.mobile-close:hover { color: var(--text-primary); }

.mobile-nav-list { padding: 12px 0; flex: 1; }

.mobile-nav-list > li > a,
.mobile-sub-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 24px;
    font-size: 0.92rem;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition), background var(--transition);
}
.mobile-nav-list > li > a:hover,
.mobile-sub-toggle:hover {
    color: var(--gold);
    background: var(--gold-glow);
}

.mobile-sub-toggle svg { width: 10px; height: 7px; stroke-width: 2; transition: transform var(--transition); }
.mobile-has-sub.is-open .mobile-sub-toggle svg { transform: rotate(180deg); }

.mobile-sub {
    display: none;
    padding: 4px 0 8px 0;
    background: rgba(0,0,0,0.25);
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.mobile-has-sub.is-open .mobile-sub { max-height: 600px; }

.mobile-sub li a {
    display: block;
    padding: 8px 24px;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color var(--transition);
}
.mobile-sub li a:hover { color: var(--gold); }

.mobile-kakao {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 16px;
    padding: 14px;
    background: #FEE500;
    color: #3B1E08;
    font-weight: 700;
    border-radius: var(--radius);
    flex-shrink: 0;
    transition: opacity var(--transition);
}
.mobile-kakao:hover { opacity: 0.88; }
.mobile-kakao svg { width: 18px; height: 18px; }

/* ═══════════════════════════════════════════════
   HERO SLIDER
   ═══════════════════════════════════════════════ */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.slides-wrap { position: relative; width: 100%; height: 100%; }

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}
.slide.is-active { opacity: 1; pointer-events: auto; }

/* 슬라이드 배경 (실제 이미지 없을 때 그라디언트 대체) */
.slide-1 { background: linear-gradient(145deg, #0e0820 0%, #09090f 45%, #0a1525 100%); }
.slide-2 { background: linear-gradient(145deg, #071520 0%, #09090f 45%, #1a0d20 100%); }
.slide-3 { background: linear-gradient(145deg, #150a0a 0%, #09090f 45%, #0a1020 100%); }

/* 슬라이드 배경 이미지 사용 시 아래 주석 해제
.slide-1 { background: url('/assets/images/slide1.jpg') center/cover no-repeat; }
.slide-2 { background: url('/assets/images/slide2.jpg') center/cover no-repeat; }
.slide-3 { background: url('/assets/images/slide3.jpg') center/cover no-repeat; }
*/

.slide-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(9,9,15,0.4) 0%, rgba(9,9,15,0.65) 100%);
    z-index: 1;
}

.slide-content { position: relative; z-index: 2; }

/* 슬라이더 장식 라인 */
.slide::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 3px; height: 40%;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    opacity: 0.5;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 780px;
}

.slide-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.slide-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5.5vw, 3rem);
    font-weight: 700;
    line-height: 1.22;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.slide-sub {
    font-size: clamp(0.92rem, 1.5vw, 1.1rem);
    color: rgba(240,236,230,0.75);
    line-height: 1.75;
    margin-bottom: 36px;
}

.slide-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 슬라이더 버튼 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    backdrop-filter: blur(8px);
    transition: all var(--transition);
}
.slider-btn svg { width: 18px; height: 18px; stroke-width: 2; }
.slider-btn:hover { background: var(--gold-glow); border-color: var(--gold); color: var(--gold); }
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

/* 슬라이더 도트 */
.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.slider-dot {
    width: 24px; height: 3px;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    border-radius: 2px;
    transition: all var(--transition);
}
.slider-dot.is-active {
    background: var(--gold);
    width: 40px;
}

/* ═══════════════════════════════════════════════
   SECTIONS 공통
   ═══════════════════════════════════════════════ */
.section {
    padding: 96px 0;
}
.section:nth-child(even) {
    background: var(--bg-secondary);
}

/* ═══════════════════════════════════════════════
   INTRO 섹션
   ═══════════════════════════════════════════════ */
.section-intro { background: var(--bg-secondary); }

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 16px;
}

.intro-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.98rem;
}
.intro-text strong { color: var(--gold); font-weight: 600; }

.intro-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}
.badge {
    padding: 5px 14px;
    border: 1px solid var(--border-hover);
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--gold-light);
    background: var(--gold-glow);
}

.intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.stat-item {
    padding: 32px 24px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    position: relative;
    transition: border-color var(--transition), background var(--transition);
}
.stat-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.stat-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.1;
}
.stat-item strong span { font-size: 1.2rem; }

.stat-item > span:last-child {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ═══════════════════════════════════════════════
   COURSE 섹션
   ═══════════════════════════════════════════════ */
.section-course { background: var(--bg-primary); }

.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.course-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.course-card:hover,
.course-card.is-best {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.4), 0 0 0 1px var(--border-hover);
}
.course-card:hover::before,
.course-card.is-best::before { opacity: 1; }

.course-badge {
    position: absolute;
    top: 18px; right: 18px;
    padding: 3px 10px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #0a0a0f;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    border-radius: 3px;
}

.course-code {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--border-hover);
    line-height: 1;
    margin-bottom: 8px;
    transition: color var(--transition);
}
.course-card:hover .course-code { color: var(--gold-dark); }

.course-duration {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.course-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.4;
}

.course-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
    flex: 1;
}

.course-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border: 1px solid var(--border-hover);
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold-light);
    transition: all var(--transition);
}
.course-cta:hover {
    background: var(--gold);
    color: #0a0a0f;
    border-color: var(--gold);
}

/* ═══════════════════════════════════════════════
   MANAGER 섹션
   ═══════════════════════════════════════════════ */
.section-managers { background: var(--bg-secondary); }

.manager-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.manager-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}
.manager-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.manager-photo {
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
}
.manager-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.manager-card:hover .manager-photo img { transform: scale(1.05); }

.manager-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(160deg, #1c1c2e 0%, #141428 50%, #1e1e30 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    position: relative;
}

.manager-placeholder::before {
    content: '';
    position: absolute;
    bottom: 60px;
    left: 50%; transform: translateX(-50%);
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a2a3e, #3a3a50);
    border: 2px solid rgba(200,164,106,0.15);
}
.manager-placeholder::after {
    content: '';
    position: absolute;
    bottom: 24px;
    left: 50%; transform: translateX(-50%);
    width: 72px; height: 40px;
    border-radius: 36px 36px 0 0;
    background: linear-gradient(135deg, #242438, #303048);
}

.manager-num {
    position: relative;
    z-index: 1;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--gold-dark);
}

.manager-info {
    padding: 14px 16px 18px;
}

.manager-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.manager-specs {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.manager-specs li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    color: var(--text-muted);
}
.manager-specs span {
    font-size: 0.68rem;
    color: var(--gold-dark);
    min-width: 40px;
}

/* ═══════════════════════════════════════════════
   STEPS 섹션
   ═══════════════════════════════════════════════ */
.section-steps { background: var(--bg-primary); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 64px;
    left: calc(16.66% + 24px);
    right: calc(16.66% + 24px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.step-item {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all var(--transition);
}
.step-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.step-num {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(200,164,106,0.08);
    line-height: 1;
    position: absolute;
    top: 16px; right: 20px;
    pointer-events: none;
}

.step-icon {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    padding: 14px;
    border-radius: 50%;
    background: var(--gold-glow);
    border: 1px solid var(--border);
    color: var(--gold);
    transition: all var(--transition);
}
.step-item:hover .step-icon {
    background: var(--gold);
    color: #0a0a0f;
    border-color: var(--gold);
}
.step-icon svg { width: 100%; height: 100%; stroke-width: 2; }

.step-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.45;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.step-desc strong { color: var(--gold-light); font-weight: 500; }

/* ═══════════════════════════════════════════════
   WHY 섹션
   ═══════════════════════════════════════════════ */
.section-why { background: var(--bg-secondary); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.why-item {
    padding: 36px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.why-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width 0.4s ease;
}
.why-item:hover::after { width: 100%; }
.why-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.why-icon {
    width: 48px; height: 48px;
    margin-bottom: 18px;
    color: var(--gold);
    transition: transform var(--transition);
}
.why-item:hover .why-icon { transform: scale(1.1); }
.why-icon svg { width: 100%; height: 100%; stroke-width: 2; }

.why-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.why-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════
   BENEFITS 섹션
   ═══════════════════════════════════════════════ */
.section-benefits { background: var(--bg-primary); }

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}
.benefit-item:first-child { border-top: 1px solid var(--border); }
.benefit-item:hover { padding-left: 12px; }

.benefit-num {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold-dark);
    line-height: 1;
    flex-shrink: 0;
    min-width: 56px;
    transition: color var(--transition);
}
.benefit-item:hover .benefit-num { color: var(--gold); }

.benefit-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.benefit-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════
   EFFECTS 섹션
   ═══════════════════════════════════════════════ */
.section-effects { background: var(--bg-secondary); }

.effects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.effect-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.effect-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.effect-icon {
    width: 52px; height: 52px;
    margin-bottom: 18px;
    color: var(--gold);
    transition: transform var(--transition);
}
.effect-card:hover .effect-icon { transform: scale(1.1) rotate(5deg); }
.effect-icon svg { width: 100%; height: 100%; stroke-width: 2; }

.effect-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.effect-card p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════
   CTA 섹션
   ═══════════════════════════════════════════════ */
.section-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f0b18 0%, #09090f 50%, #0a100f 100%);
    position: relative;
    overflow: hidden;
}
.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(200,164,106,0.06) 0%, transparent 70%);
}

.cta-inner {
    position: relative;
    text-align: center;
}
.cta-inner h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.cta-inner p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}
.cta-actions { display: flex; justify-content: center; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.site-footer {
    background: #060609;
    border-top: 1px solid var(--border);
    padding-top: 64px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding-bottom: 48px;
}

.footer-brand .site-logo { margin-bottom: 12px; }

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 1.05rem;
    font-weight: 700;
    transition: opacity var(--transition);
}
.footer-phone svg { width: 16px; height: 16px; stroke-width: 2; }
.footer-phone:hover { opacity: 0.75; }

.footer-hours {
    font-size: 0.78rem;
    color: var(--text-dim);
    padding: 3px 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 7px; }
.footer-col a {
    font-size: 0.82rem;
    color: var(--text-dim);
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: flex;
    align-items: center;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}
.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-dim);
}
.footer-disclaimer { opacity: 0.7; }

/* ═══════════════════════════════════════════════
   PARTNER BAR (푸터 위 파트너 링크 띠)
   ═══════════════════════════════════════════════ */
.partner-bar {
    background: #0c0c15;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.partner-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(200,164,106,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.partner-bar-inner {
    display: flex;
    align-items: stretch;
    min-height: 46px;
    gap: 0;
}
.partner-bar-label {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 22px 0 0;
    margin-right: 22px;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-dark);
    white-space: nowrap;
    flex-shrink: 0;
    border-right: 1px solid var(--border);
}
.partner-bar-label svg {
    width: 12px;
    height: 12px;
    color: var(--gold-dark);
    flex-shrink: 0;
}
.partner-bar-list {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 10px 0;
}
.partner-bar-list li {
    display: flex;
    align-items: center;
}
.partner-bar-list li + li::before {
    content: '';
    display: block;
    width: 1px;
    height: 11px;
    background: var(--border);
    margin: 0 14px;
    flex-shrink: 0;
}
.partner-bar-list a {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.22s, opacity 0.22s;
    white-space: nowrap;
    opacity: 0.7;
}
.partner-bar-list a:hover {
    color: var(--gold-light);
    opacity: 1;
}

@media (max-width: 600px) {
    .partner-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 12px;
        padding-bottom: 12px;
        min-height: unset;
        gap: 10px;
    }
    .partner-bar-label {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
        padding-bottom: 8px;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }
    .partner-bar-list {
        overflow-x: auto;
        flex-wrap: nowrap;
        width: 100%;
        padding: 0 0 4px;
        -webkit-overflow-scrolling: touch;
    }
}

/* ═══════════════════════════════════════════════
   FLOAT KAKAO (카카오 고정 버튼 — 전 페이지 공통)
   ═══════════════════════════════════════════════ */
.float-kakao {
    display: flex;
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 900;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #FEE500;
    color: #3B1E08;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,.28);
    transition: all var(--transition);
}
.float-kakao svg { width: 26px; height: 26px; }
.float-kakao:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(0,0,0,.38); }

/* ═══════════════════════════════════════════════
   RESPONSIVE — 태블릿 (max 1024px)
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .nav-list { gap: 0; }
    .nav-link { padding: 8px 10px; font-size: 0.78rem; }
    .header-cta span { display: none; }
    .header-cta { padding: 9px 12px; }

    .course-grid { grid-template-columns: repeat(2, 1fr); }
    .manager-grid { grid-template-columns: repeat(3, 1fr); }
    .intro-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — 모바일 (max 768px)
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
    .site-nav { display: none; }
    .header-cta { display: none; }
    .menu-toggle { display: flex; }

    .section { padding: 64px 0; }

    .section-desc { margin-bottom: 36px; }

    .hero-slider { height: 100svh; min-height: 520px; }
    .slide-actions { flex-direction: column; align-items: center; }
    .slider-btn { display: none; }

    .course-grid { grid-template-columns: 1fr; gap: 16px; }
    .course-card { padding: 28px 22px; }

    .manager-grid { grid-template-columns: repeat(1, 1fr); }

    .float-kakao { display: none; } /* 모바일: TocPlus가 대체 */

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .steps-grid::before { display: none; }

    .why-grid { grid-template-columns: 1fr; gap: 1px; }

    .benefit-item { flex-direction: column; gap: 12px; }
    .benefit-num { font-size: 1.6rem; }

    .effects-grid { grid-template-columns: 1fr; }

    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .manager-grid { grid-template-columns: repeat(1, 1fr); }
    .intro-stats { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════
   FOOTER KAKAO
   ═══════════════════════════════════════════════ */
.footer-kakao {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FEE500;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity var(--transition);
}
.footer-kakao:hover { opacity: 0.78; }
.footer-kakao svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   Q&A 아코디언
   ═══════════════════════════════════════════════ */
.section-qna .qna-list { max-width: 800px; margin: 0 auto; }

.qna-item { border-bottom: 1px solid var(--border); }
.qna-item:first-child { border-top: 1px solid var(--border); }

.qna-question {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 20px 4px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition);
}
.qna-question:hover { color: var(--gold); }
.qna-item.is-open .qna-question { color: var(--gold); }

.qna-badge {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--gold-glow);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.qna-badge-a { background: rgba(200,164,106,.06); }

.qna-arrow {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    transition: color var(--transition);
    user-select: none;
}
.qna-arrow::before { content: '+'; }
.qna-item.is-open .qna-arrow::before { content: '−'; }

.qna-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}
.qna-item.is-open .qna-answer { max-height: 600px; }

.qna-answer-inner {
    display: flex;
    gap: 14px;
    padding: 4px 4px 22px;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.8;
}
.qna-answer-inner p { flex: 1; }

/* ═══════════════════════════════════════════════
   CITY PAGE
   ═══════════════════════════════════════════════ */

/* 브레드크럼 바 */
.city-breadcrumb-bar {
    position: relative;
    z-index: 10;
    padding: calc(var(--header-h) + 14px) 0 14px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
}
.city-breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .76rem;
    color: var(--text-muted);
}
.city-breadcrumb-list a {
    color: var(--text-muted);
    transition: color var(--transition);
}
.city-breadcrumb-list a:hover { color: var(--gold); }
.city-breadcrumb-list [aria-current="page"] { color: var(--text-primary); font-weight: 500; }
.crumb-sep { color: var(--text-dim); font-size: .7rem; }

/* Hero */
.city-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    background-color: var(--bg-primary);
    overflow: hidden;
}
.city-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.city-hero--no-img {
    background: linear-gradient(135deg, #08080f 0%, #10131f 50%, #0c1019 100%);
}
.city-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, rgba(0,0,0,.72) 100%);
}
.city-hero-content {
    position: relative;
    z-index: 1;
    padding: 100px 20px;
    text-align: center;
}
.city-hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-family: var(--font-serif);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.city-hero-title span {
    display: block;
    font-size: .46em;
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--gold);
    letter-spacing: .18em;
    margin-top: .5rem;
}

/* 히어로 신뢰 배지 */
.city-hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 28px;
    font-size: .78rem;
    color: rgba(255,255,255,.58);
}
.city-hero-trust strong { color: var(--gold); font-weight: 600; }
.trust-div { color: rgba(255,255,255,.2); font-size: .6rem; }

/* 서비스 안내 */
.section-city-service { background: var(--bg-secondary); }
.city-service-body { max-width: 780px; margin: 0 auto; }
.city-service-text {
    color: var(--text-muted);
    font-size: .95rem;
    line-height: 1.95;
    margin-bottom: 2rem;
}
.city-service-text p + p { margin-top: .9rem; }
.city-service-text strong { color: var(--gold-light); font-weight: 600; }
.city-service-badges { display: flex; flex-wrap: wrap; gap: 10px; }

/* 방문 가능 지역 */
.section-visit { background: var(--bg-primary); }

.visit-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.visit-tag {
    padding: 9px 22px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .85rem;
    color: var(--text-muted);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.visit-tag:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: rgba(255,255,255,.04);
}

.visit-area-body {
    width:100%;
    max-width: 100%;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: .95rem;
    line-height: 2.1;
    padding: 32px 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.02);
}

/* 관리사 소개 텍스트 */
.section-mgr-intro { background: var(--bg-secondary); }
.mgr-intro-body {
    width:100%;
    max-width: 100%;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: .95rem;
    line-height: 1.95;
    padding: 30px 36px;
    border-left: 3px solid var(--gold);
    background: rgba(200,164,106,.04);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* 이용 후기 */
.section-reviews { background: var(--bg-secondary); }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.review-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.02);
    transition: border-color var(--transition), transform var(--transition);
}
.review-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}
.review-stars { margin-bottom: 14px; font-size: 1.05rem; letter-spacing: 2px; }
.star-on  { color: var(--gold); }
.star-off { color: var(--text-dim); }
.review-content {
    flex: 1;
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.85;
    margin-bottom: 18px;
}
.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    border-top: 1px solid var(--border);
    padding-top: 14px;
    color: var(--text-muted);
}
.review-author { color: var(--text-primary); font-weight: 500; }

/* 같은 지역 링크 */
.section-city-links { background: var(--bg-primary); }
.city-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.city-link-item {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .85rem;
    color: var(--text-muted);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.city-link-item:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-glow);
}

/* 접근성 */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .city-breadcrumb-bar { padding-top: calc(var(--header-h) + 10px); padding-bottom: 10px; }
    .city-breadcrumb-list { font-size: .72rem; gap: 4px; }
    .city-hero { min-height: 420px; }
    .city-hero-content { padding: 56px 20px 64px; }
    .city-hero-trust { margin-top: 20px; font-size: .72rem; gap: 6px 12px; }
    .visit-area-body,
    .mgr-intro-body { padding: 20px 22px; }
    .visit-tags { gap: 8px; }
    .visit-tag { padding: 7px 16px; font-size: .8rem; }
    .reviews-grid { grid-template-columns: 1fr; }
    .city-links-grid { gap: 8px; }
    .city-link-item { padding: 8px 16px; font-size: .82rem; }
}

/* ═══════════════════════════════════════════════
   NOTICES — 공지사항 목록 페이지
   ═══════════════════════════════════════════════ */

/* 히어로 배너 */
.notice-page-hero {
    padding: calc(var(--header-h) + 56px) 0 52px;
    background: linear-gradient(160deg, #0e0e1a 0%, #0a0a11 100%);
    border-bottom: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.notice-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(200,164,106,.08) 0%, transparent 70%);
    pointer-events: none;
}
.notice-page-eyebrow {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--gold-dark);
    margin-bottom: 14px;
}
.notice-page-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}
.notice-page-desc {
    font-size: .9rem;
    color: var(--text-muted);
}

/* 목록 영역 */
.notice-list-section {
    padding: 56px 0 80px;
    background: var(--bg-primary);
}
.notice-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border);
}

/* 카드 */
.notice-card {
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}
.notice-card:hover { background: var(--bg-secondary); }
.notice-card-link {
    display: grid;
    grid-template-columns: 220px 1fr 32px;
    align-items: center;
    gap: 28px;
    padding: 24px 0;
    color: inherit;
    text-decoration: none;
}
.notice-card-thumb {
    width: 220px;
    height: 138px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.notice-card-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.notice-card:hover .notice-card-thumb img { transform: scale(1.04); }
.notice-card-thumb-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
}
.notice-card-thumb-placeholder svg { width: 36px; height: 36px; }

.notice-card-body { flex: 1; min-width: 0; }
.notice-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.5;
    transition: color var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.notice-card:hover .notice-card-title { color: var(--gold-light); }
.notice-card-excerpt {
    font-size: .86rem;
    color: var(--text-muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}
.notice-card-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}
.notice-meta-date,
.notice-meta-views {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .76rem;
    color: var(--text-dim);
}
.notice-meta-date svg,
.notice-meta-views svg { width: 12px; height: 12px; flex-shrink: 0; }

.notice-card-arrow {
    color: var(--text-dim);
    transition: color var(--transition), transform var(--transition);
}
.notice-card-arrow svg { width: 20px; height: 20px; }
.notice-card:hover .notice-card-arrow { color: var(--gold); transform: translateX(4px); }

/* 페이지네이션 */
.notice-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
}
.notice-pagination .page-num,
.notice-pagination .page-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-size: .82rem;
    color: var(--text-muted);
    transition: all var(--transition);
}
.notice-pagination .page-num:hover,
.notice-pagination .page-arrow:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-glow);
}
.notice-pagination .page-num.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    font-weight: 700;
}
.notice-pagination .page-arrow svg { width: 16px; height: 16px; }

/* 빈 상태 */
.notice-empty {
    text-align: center;
    padding: 80px 0;
    color: var(--text-dim);
}
.notice-empty svg { width: 48px; height: 48px; margin: 0 auto 16px; opacity: .4; }
.notice-empty p { font-size: .9rem; }

/* ═══════════════════════════════════════════════
   NOTICE DETAIL — 공지사항 상세 페이지
   ═══════════════════════════════════════════════ */

.notice-detail-banner {
    margin-top: var(--header-h);
    max-height: 480px;
    overflow: hidden;
    background: var(--bg-secondary);
}
.notice-detail-banner img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}
.notice-detail-wrap {
    background: var(--bg-primary);
    padding: 56px 0 80px;
}
/* 배너 없을 때 상단 여백 */
main:not(:has(.notice-detail-banner)) .notice-detail-wrap {
    padding-top: calc(var(--header-h) + 56px);
}
.notice-detail-container { max-width: 860px; }

.notice-back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    transition: color var(--transition);
}
.notice-back-link svg { width: 14px; height: 14px; }
.notice-back-link:hover { color: var(--gold-light); }

.notice-detail-header { margin-bottom: 40px; }
.notice-detail-title {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.notice-detail-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.notice-detail-meta .notice-meta-date,
.notice-detail-meta .notice-meta-views { font-size: .82rem; }

/* 본문 */
.notice-detail-content {
    font-size: .95rem;
    line-height: 2;
    color: var(--text-primary);
    padding: 32px 0 48px;
    border-bottom: 1px solid var(--border);
    white-space: pre-line;
    word-break: break-word;
}

/* 이전/다음 네비 */
.notice-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 40px 0 0;
}
.notice-nav-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition), background var(--transition);
}
.notice-nav-item:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.notice-nav-next { text-align: right; }
.notice-nav-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--gold-dark);
    text-transform: uppercase;
}
.notice-nav-next .notice-nav-label { justify-content: flex-end; }
.notice-nav-label svg { width: 12px; height: 12px; flex-shrink: 0; }
.notice-nav-title {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--transition);
}
.notice-nav-item:hover .notice-nav-title { color: var(--gold-light); }

/* 목록으로 버튼 */
.btn-notice-list {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .88rem;
    color: var(--text-muted);
    transition: all var(--transition);
}
.btn-notice-list:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-glow);
}

/* ── Quill 에디터 출력 콘텐츠 스타일 ── */
.ql-content p          { margin-bottom: 1em; line-height: 1.9; }
.ql-content h1         { font-size: 1.7rem; font-weight: 700; margin: 1.6em 0 .6em; }
.ql-content h2         { font-size: 1.35rem; font-weight: 700; margin: 1.4em 0 .5em; color: var(--gold-light); }
.ql-content h3         { font-size: 1.1rem; font-weight: 600; margin: 1.2em 0 .4em; }
.ql-content strong     { font-weight: 700; color: var(--text-primary); }
.ql-content em         { font-style: italic; }
.ql-content s          { opacity: .6; }
.ql-content a          { color: var(--gold-light); text-decoration: underline; }
.ql-content a:hover    { color: var(--gold); }
.ql-content ul,
.ql-content ol         { padding-left: 1.6em; margin-bottom: 1em; }
.ql-content li         { margin-bottom: .35em; line-height: 1.8; }
.ql-content blockquote {
    border-left: 3px solid var(--gold);
    padding: 10px 18px;
    margin: 1.4em 0;
    background: rgba(200,164,106,.06);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-muted);
    font-style: italic;
}
.ql-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 16px auto;
    display: block;
    border: 1px solid var(--border);
}
.ql-content .ql-align-center { text-align: center; }
.ql-content .ql-align-right  { text-align: right; }
.ql-content .ql-align-justify{ text-align: justify; }

/* ── 반응형 ── */
@media (max-width: 768px) {
    .notice-page-hero { padding: calc(var(--header-h) + 36px) 0 36px; }
    .notice-card-link {
        grid-template-columns: 110px 1fr;
        gap: 16px;
        padding: 18px 0;
    }
    .notice-card-thumb { width: 110px; height: 78px; }
    .notice-card-arrow { display: none; }
    .notice-card-title { font-size: .95rem; }
    .notice-card-excerpt { -webkit-line-clamp: 1; line-clamp: 1; margin-bottom: 10px; }

    .notice-detail-banner { max-height: 220px; }
    .notice-detail-banner img { max-height: 220px; }
    .notice-detail-wrap { padding: 32px 0 56px; }
    main:not(:has(.notice-detail-banner)) .notice-detail-wrap { padding-top: calc(var(--header-h) + 32px); }
    .notice-detail-content { font-size: .9rem; }
    .notice-nav { grid-template-columns: 1fr; }
    .notice-nav-next { text-align: left; }
    .notice-nav-next .notice-nav-label { justify-content: flex-start; }
}

