@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=Archivo+Black&display=swap');

/*******************************************************************************
    Layout override — site.css forces `#app { display: grid; grid-template-rows: auto auto 1fr auto; }`
    at min-width: 768px. The 1fr middle row collapses the wrapper that holds <main>,
    cutting off the hero & all sections on PC. Reset to block flow on hanafair pages.
********************************************************************************/
@media (min-width: 768px) {
    body.hanaschool:has(.fair-main) #app,
    body:has(.fair-main.fair2026) #app {
        display: block !important;
        grid-template-rows: none !important;
    }
}
/* Fallback for browsers without :has() — apply when body has hanaschool class on
   hanafair pages. The fair-navigation page is always rendered at hanaschool body. */
.fair-main.fair2026 { min-height: 0; }
.fair-main.fair2026,
.fair-main.fair2026 > * { min-width: 0; min-height: 0; }

/*******************************************************************************
                                메인 공통
********************************************************************************/
.fair-main {color: #333; display: block !important;}
.fair2026 {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    display: block !important;
    width: 100% !important;
    color: #333;
}
.fair2026 *, .fair2026 *::before, .fair2026 *::after {box-sizing: border-box;}
.fair2026, .fair2026 * { line-height: 1.5; }
.fair2026 section { display: block !important; width: 100% !important; }
.fair2026 .mo-br { display: none; }

/* meyerweb reset.css 2.0 + fair_style.css force `font-family: 'Apple SD Gothic Neo'`
   on body/div/h1-h6/p/etc. with selector specificity 0,0,1. That defeats `font-family: inherit`
   because intermediate <div>s are not in the inherit list and resolve to Apple SD Gothic Neo,
   so h2/p/span inherit Apple SD Gothic Neo instead of Pretendard. Fix: set Pretendard
   explicitly on every descendant of .fair2026 (specificity 0,1,1 beats fair_style's 0,0,1). */
.fair2026 *, .fair2026 *::before, .fair2026 *::after {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
}
.fair2026 h1, .fair2026 h2, .fair2026 h3, .fair2026 h4,
.fair2026 p, .fair2026 span, .fair2026 strong, .fair2026 em,
.fair2026 b, .fair2026 a, .fair2026 li, .fair2026 dt, .fair2026 dd,
.fair2026 td, .fair2026 th, .fair2026 small {
    font-style: normal;
}
.fair2026 a { color: inherit; text-decoration: none; }

.max-width {max-width: 1248px;margin: 0 auto;padding: 40px 16px;text-align: center;}
.fair-main .sub-title {margin-bottom: 30px;font-size: 28px;color: #000;}
.fair-main .sub-text {display: block;font-weight: 400;font-size: 18px; margin-top: 8px;}
@media screen and (min-width: 720px) {
    .fair-main .sub-title {margin-bottom: 60px;font-size: 54px;}
    .fair-main .sub-text {font-size: 26px; margin-top: 13px;}
}
@media screen and (min-width: 1024px) {
    .max-width {padding: 120px 16px;}
}

/*******************************************************************************
                                HERO (Section 1)
********************************************************************************/
:root {
    --f26-red: #fc1d01;
    --f26-red-hi: #ff2b49;
    --f26-line: rgba(255,255,255,0.10);
    --f26-ink: #111827;
    --f26-sub: #4b5563;
    --f26-border: #E4E8F1;
    --f26-shadow: #EBEFF4;
}

.f26-hero {
    position: relative;
    width: 100%;
    background-color: #000;
    background-image: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)), url('/asset/fair2026/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
}
.f26-hero-bg, .f26-hero-overlay { display: none; }
.f26-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1248px;
    margin: 0 auto;
    padding: 140px 16px 100px;
    text-align: center;
    color: #fff;
}
@media (min-width: 768px)  { .f26-hero-inner { padding: 160px 40px 120px; } }
@media (min-width: 1280px) { .f26-hero-inner { padding: 180px 0 140px; } }

.f26-tag-row {
    display: flex !important; align-items: center; justify-content: center;
    gap: 14px; margin: 0;
}
.f26-tag-text {
    display: inline-block !important;
    color: #fff !important;
    font-size: clamp(22px, 3vw, 54px) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    line-height: 1.2 !important;
}

.f26-headline {
    display: block !important;
    font-weight: 800 !important;
    color: #fff !important;
    text-align: center !important;
    font-size: clamp(40px, 9vw, 90px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.04em;
    margin: 0 !important;
}
.f26-paren { font-weight: 400; color: #fff; }
.f26-ual-mark { color: #fff; font-weight: 800; }

.f26-hero-copy {
    display: block !important;
    margin: 28px auto 0 !important;
    max-width: min(824px, 92%);
    color: #ffffff !important;
    font-size: clamp(16px, 1.7vw, 26px) !important;
    line-height: 1.7 !important;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.f26-info-stack {
    margin: 40px auto 0;
    max-width: min(1036px, 96%);
    display: flex; flex-direction: column; gap: 16px;
    align-items: center;
}
.f26-info-card {
    width: min(824px, 100%);
    background: rgba(255,255,255,0.20);
    border: 1px solid rgba(255,255,255,0.30);
    border-radius: 16px;
    padding: 28px 32px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
}
.f26-info-card--primary { padding: 32px; }
.f26-info-card-title {
    font-size: clamp(18px, 2.2vw, 32px);
    font-weight: 700; color: #fff;
    letter-spacing: -0.02em; margin-bottom: 10px;
}
.f26-info-card-meta {
    font-size: clamp(13px, 1.5vw, 22px);
    color: rgba(255,255,255,0.85);
    display: flex; align-items: center; justify-content: center;
    gap: 10px; flex-wrap: wrap;
}
.f26-dotsep { color: rgba(255,255,255,0.45); }

.f26-info-grid {
    width: min(824px, 100%);
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.f26-info-grid .f26-info-card { width: 100%; }
.f26-info-card-heading {
    font-size: clamp(15px, 1.8vw, 26px);
    font-weight: 700; color: #fff;
    letter-spacing: -0.02em; margin-bottom: 12px;
}
.f26-info-card-sub {
    font-size: clamp(12px, 1.15vw, 16px);
    color: rgba(255,255,255,0.85);
    line-height: 1.55;
}
.f26-info-card-note {
    font-size: clamp(12px, 1.15vw, 16px);
    font-weight: 700; color: #ffffff;
}

.f26-cta-row {
    display: flex; gap: 14px; flex-wrap: wrap;
    justify-content: center;
    margin: 36px auto 0;
}
/* Unified CTA button — used as `.f26-btn.f26-btn-primary` (hero/section7) and `.f26-cta-btn` (section5).
   Both alias selectors produce identical pill geometry. */
.f26-btn,
.f26-btn-primary,
.f26-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 16px 26px !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: clamp(14px, 1.4vw, 20px) !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer;
    background: var(--f26-red) !important;
    color: #fff !important;
    box-shadow: 0 10px 40px -10px rgba(252,29,1,0.7);
    transition: transform .2s ease, background .2s ease;
    width: auto !important;
    height: auto !important;
}
.f26-btn:hover,
.f26-btn-primary:hover,
.f26-cta-btn:hover {
    background: var(--f26-red-hi) !important;
    transform: translateY(-2px);
}
.f26-arrow {
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: var(--f26-red) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
}
.f26-arrow svg { display: block; width: 12px; height: 12px; }

.f26-cta-note {
    text-align: center;
    color: rgba(255,255,255,0.65);
    font-size: clamp(12px, 1vw, 14px);
    margin-top: 14px;
    letter-spacing: -0.005em;
}

/* TICKER */
.f26-ticker {
    position: relative; z-index: 5;
    overflow: hidden;
    border-top: 1px solid var(--f26-line);
    border-bottom: 1px solid var(--f26-line);
    background: #000;
    height: 68px;
    display: flex; align-items: center;
}
.f26-ticker-track {
    display: flex; gap: 56px;
    animation: f26-tick 120s linear infinite;
    white-space: nowrap;
    width: max-content;
}
.f26-ticker-item {
    display: inline-flex; align-items: center; gap: 18px;
    font-family: 'Archivo', 'Pretendard', sans-serif;
    font-weight: 800;
    font-size: clamp(11px, 1.25vw, 18px);
    letter-spacing: -0.01em;
    color: #fff;
    text-transform: uppercase;
}
.f26-ticker-item .star { color: var(--f26-red); font-size: clamp(13px, 1.53vw, 22px); }
@keyframes f26-tick { to { transform: translateX(-50%); } }

@media (max-width: 767px) {
    .f26-hero-inner { padding: 96px 16px 60px; }
    .f26-tag-text { font-size: 22px !important; }
    .f26-headline { font-size: 40px !important; line-height: 1.15 !important; }
    .f26-hero-copy { font-size: 16px !important; margin-top: 20px; }
    .f26-hero-copy br { display: none; }
    .f26-info-stack { margin-top: 28px; gap: 12px; }
    .f26-info-card { padding: 18px 16px; border-radius: 12px; }
    .f26-info-card--primary { padding: 18px 16px; }
    .f26-info-card-title { font-size: 18px; }
    .f26-info-card-meta { gap: 4px; flex-direction: column; }
    .f26-info-card-meta span { font-size: 13px; }
    .f26-dotsep { display: none; }
    .f26-info-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .f26-info-card-heading { font-size: 16px; margin-bottom: 8px; }
    .f26-info-card-sub { font-size: 13px; }
    .f26-info-card-note { font-size: 13px; }
    .f26-info-card-sub br { display: none; }
    .f26-btn,
    .f26-btn-primary,
    .f26-cta-btn {
        height: 56px !important;
        width: calc(100% - 40px) !important;
        margin: 0 20px !important;
        padding: 0 24px !important;
        font-size: 17px !important;
        justify-content: center !important;
        border-radius: 999px !important;
    }
    .f26-cta-row { flex-direction: column; gap: 0; margin: 28px 0 0; }
    .f26-cta-row .f26-btn { flex: 1 1 auto; }
    .f26-arrow { width: 18px !important; height: 18px !important; flex-shrink: 0; }
    .f26-arrow svg { width: 10px !important; height: 10px !important; }
    .f26-cta-note { font-size: 11px; }
    .fair2026 .mo-br { display: block; }
    .f26-ticker { height: 44px; }
    .f26-ticker-track { gap: 32px; }
    .f26-ticker-item { font-size: 13px; gap: 12px; }
}

/* Tablet 768–1023px — Figma exact tablet typography */
@media (min-width: 768px) and (max-width: 1023px) {
    .f26-tag-text        { font-size: clamp(14px, 2vw, 22px) !important; }
    .f26-headline        { font-size: clamp(32px, 5.5vw, 60px) !important; line-height: 1.15 !important; }
    .f26-hero-copy       { font-size: clamp(14px, 1.8vw, 20px) !important; }
    .f26-info-card-title { font-size: clamp(16px, 2.2vw, 24px) !important; }
}

/* Desktop ≥1024px — Figma fixed sizes for tag / hero copy */
@media (min-width: 1024px) {
    .f26-tag-text  { font-size: 54px !important; }
    .f26-hero-copy { font-size: 26px !important; }
}

/*******************************************************************************
                            SECTION 2 — 4대 혜택
********************************************************************************/
.f26-s2 {
    width: 100%;
    background: #F5F5F7;
    padding: 140px 24px;
}
.f26-s2-inner {
    max-width: 1248px; margin: 0 auto;
}
.f26-s2-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.f26-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--f26-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 18px var(--f26-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
.f26-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px var(--f26-shadow);
}
.f26-card-tag {
    display: inline-flex; align-items: center;
    height: 32px; padding: 0 14px;
    background: #111827; color: #fff;
    font-size: clamp(12px, 0.97vw, 14px);
    font-weight: 700; letter-spacing: -0.02em;
    border-radius: 6px; margin-bottom: 14px;
}
.f26-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 385 / 233;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f7fa;
    margin-bottom: 20px;
}
.f26-card-media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.f26-card-caption {
    font-size: clamp(14px, 1.53vw, 22px);
    font-weight: 700; letter-spacing: -0.02em;
    color: var(--f26-ink); line-height: 1.45;
    min-height: calc(1.45em * 2);
}
@media (max-width: 1023px) {
    .f26-s2 { padding: 100px 24px; }
    .f26-s2-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 767px) {
    .f26-s2 { padding: 60px 16px; }
    .f26-s2-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .f26-card { padding: 16px; border-radius: 12px; }
    .f26-card-tag { height: 26px; padding: 0 10px; font-size: 10px; margin-bottom: 10px; }
    .f26-card-media { margin-bottom: 14px; border-radius: 6px; }
    .f26-card-caption { font-size: 16px; }
}

/*******************************************************************************
                            SECTION 3 — 진학상담
********************************************************************************/
.f26-s3 {
    position: relative;
    width: 100%;
    background: #fff;
    padding: 140px 24px;
    isolation: isolate;
}
.f26-s3::before {
    content: '';
    position: absolute; inset: 0;
    background: url('/asset/fair2026/section3-bg.jpg') center / cover no-repeat;
    opacity: 0.3;
    z-index: -1;
}
.f26-s3-inner { max-width: 1248px; margin: 0 auto; }
.f26-s3-head { text-align: center; margin-bottom: 72px; }
.f26-s3-title {
    font-size: clamp(32px, 3.75vw, 54px);
    font-weight: 700; letter-spacing: -0.03em;
    color: var(--f26-ink); line-height: 1.2;
}
.f26-s3-sub {
    margin-top: 22px;
    font-size: clamp(15px, 1.4vw, 20px);
    color: var(--f26-sub); font-weight: 500;
    letter-spacing: -0.01em;
}
.f26-s3-top {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px; margin-bottom: 24px;
}
.f26-s3-bottom {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.f26-univ-card {
    background: #fff;
    border: 1px solid var(--f26-border);
    border-radius: 16px;
    box-shadow: 0 6px 18px var(--f26-shadow);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}
.f26-univ-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px var(--f26-shadow);
}
.f26-univ-logo {
    display: flex; align-items: center; justify-content: center;
    width: 100%; overflow: hidden;
}
.f26-univ-logo img {
    display: block;
    max-width: 100%; max-height: 48px;
    width: auto; height: auto;
    object-fit: contain;
}
.f26-univ-name {
    font-size: clamp(11px, 1.25vw, 18px);
    font-weight: 700; letter-spacing: -0.02em;
    color: var(--f26-ink); line-height: 1.45;
}
.f26-s3-top .f26-univ-card { padding: 52px 32px 40px; min-height: 220px; gap: 30px; }
.f26-s3-top .f26-univ-name { font-size: clamp(13px, 1.4vw, 16px); }
.f26-s3-bottom .f26-univ-card { padding: 36px 20px 30px; min-height: 200px; gap: 28px; }
.f26-s3-bottom .f26-univ-logo img { max-height: 40px; }

@media (max-width: 1023px) {
    .f26-s3 { padding: 100px 24px; }
    .f26-s3-top { gap: 16px; margin-bottom: 16px; }
    .f26-s3-bottom { gap: 16px; }
    .f26-s3-top .f26-univ-card { padding: 36px 24px 28px; min-height: 170px; gap: 22px; }
    .f26-s3-bottom .f26-univ-card { padding: 28px 14px 22px; min-height: 170px; gap: 20px; }
}
@media (max-width: 767px) {
    .f26-s3 { padding: 60px 16px; }
    .f26-s3-head { margin-bottom: 36px; }
    .f26-s3-title { font-size: 28px; font-weight: 700; line-height: 1.3; }
    .f26-s3-sub { font-size: 15px; font-weight: 400; line-height: 1.5; margin-top: 12px; opacity: 0.85; }
    .f26-s3-top { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
    .f26-s3-bottom { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .f26-s3-top .f26-univ-card,
    .f26-s3-bottom .f26-univ-card {
        padding: 22px 12px 18px;
        min-height: 120px;
        border-radius: 12px;
        gap: 14px;
    }
    .f26-univ-logo img { max-height: 38px; }
    .f26-s3-top .f26-univ-name,
    .f26-s3-bottom .f26-univ-name { font-size: 14px; }
}
@media (max-width: 480px) {
    /* Top cards stack to single column at very narrow viewports */
    .f26-s3-top { grid-template-columns: 1fr; }
}

/*******************************************************************************
                            SECTION 4 — We are UAL
********************************************************************************/
.f26-s4 {
    width: 100%;
    background: #000;
    padding: 140px 24px;
}
.f26-s4-inner { max-width: 1248px; margin: 0 auto; }
.f26-s4-head { text-align: center; margin-bottom: 64px; }
.f26-s4-title {
    font-size: clamp(32px, 3.75vw, 54px);
    font-weight: 800; letter-spacing: -0.03em;
    color: #fff; line-height: 1.2;
}
.f26-s4-sub {
    margin-top: 22px;
    font-size: clamp(15px, 1.4vw, 20px);
    color: rgba(255,255,255,0.7);
    font-weight: 500; letter-spacing: -0.01em;
}
.f26-s4-videos {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.f26-video-item {
    display: flex; flex-direction: column; gap: 16px;
}
.f26-video-title {
    color: #fff;
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 700;
    letter-spacing: -0.01em;
    text-align: left;
}
.f26-video-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    cursor: pointer;
    isolation: isolate;
}
.f26-video-card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    background: #000;
    transition: transform .45s ease;
}
.f26-video-card:hover img { transform: scale(1.03); }
.f26-play-btn {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    transition: background .25s ease, transform .25s ease;
    z-index: 2;
}
.f26-play-btn::after {
    content: '';
    width: 0; height: 0;
    border-style: solid;
    border-width: 12px 0 12px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}
.f26-video-card:hover .f26-play-btn {
    background: rgba(0,0,0,0.75);
    transform: translate(-50%, -50%) scale(1.08);
}
@media (max-width: 1023px) {
    .f26-s4 { padding: 100px 24px; }
    .f26-s4-head { margin-bottom: 48px; }
    .f26-play-btn { width: 60px; height: 60px; }
    .f26-play-btn::after { border-width: 10px 0 10px 15px; }
}
@media (max-width: 767px) {
    .f26-s4 { padding: 60px 16px; }
    .f26-s4-head { margin-bottom: 36px; }
    .f26-s4-title { font-size: 28px; font-weight: 700; line-height: 1.3; }
    .f26-s4-sub { font-size: 15px; font-weight: 400; line-height: 1.5; margin-top: 12px; opacity: 0.85; }
    .f26-s4-videos { grid-template-columns: 1fr; gap: 24px; }
    .f26-video-item { gap: 12px; }
    .f26-video-title { font-size: 15px; }
    .f26-play-btn { width: 52px; height: 52px; }
    .f26-play-btn::after { border-width: 8px 0 8px 12px; }
}

/*******************************************************************************
                            SECTION 5 — 설명회 & 입학심사
********************************************************************************/
.f26-s5 {
    width: 100%; background: #fff;
    padding: 140px 24px;
}
.f26-s5-inner { max-width: 1248px; margin: 0 auto; }
.f26-s5-head { text-align: center; margin-bottom: 64px; }
.f26-s5-title {
    font-size: clamp(32px, 3.75vw, 54px);
    font-weight: 800; letter-spacing: -0.03em; line-height: 1.2;
    color: var(--f26-ink);
}
.f26-s5-sub {
    margin-top: 22px;
    font-size: clamp(15px, 1.4vw, 20px);
    color: var(--f26-sub); font-weight: 500;
    letter-spacing: -0.01em;
}

.f26-s5-top {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 56px; align-items: start;
    margin-bottom: 110px; text-align: left;
}
.f26-info-list { display: flex; flex-direction: column; gap: 36px; }
.f26-info-block { padding-bottom: 28px; border-bottom: 1px solid var(--f26-border); }
.f26-info-block:last-child { border-bottom: 0; padding-bottom: 0; }
.f26-info-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.f26-info-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; flex-shrink: 0;
}
.f26-info-icon img { width: 40px; height: 40px; display: block; }
.f26-info-title {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 700; letter-spacing: -0.02em;
    color: var(--f26-ink);
}
.f26-info-bullets {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.f26-info-bullets li {
    position: relative;
    padding-left: 16px;
    font-size: clamp(14px, 1.4vw, 18px);
    color: #1f2937; line-height: 1.55;
}
.f26-info-bullets li::before {
    content: ''; position: absolute; left: 2px; top: 0.65em;
    width: 4px; height: 4px; border-radius: 50%; background: #1f2937;
}

.f26-photos {
    display: flex; flex-direction: column; gap: 16px;
    justify-self: end; align-self: start;
}
.f26-photos img {
    width: 506px; height: 240px; max-width: 100%;
    object-fit: cover;
    border-radius: 16px; background: #1a1a1a;
    display: block;
}

.f26-schedule-head { text-align: center; margin-bottom: 36px; }
.f26-schedule-title {
    font-size: clamp(26px, 2.8vw, 40px);
    font-weight: 800; letter-spacing: -0.02em;
    color: var(--f26-ink);
}

.f26-table-wrap {
    border: 1px solid var(--f26-border);
    border-radius: 4px;
    overflow: hidden;
}
.f26-schedule-table {
    width: 100%; border-collapse: collapse;
    font-size: 16px;
}
.f26-schedule-table thead th {
    background: #F5F5F7;
    border-bottom: 1px solid var(--f26-border);
    padding: 18px 20px;
    font-weight: 600; color: #111;
    text-align: center;
}
.f26-schedule-table tbody td {
    border-top: 1px solid var(--f26-border);
    padding: 22px 20px;
    color: #1f2937; text-align: center; line-height: 1.5;
}
.f26-schedule-table tbody tr:first-child td { border-top: 0; }
.f26-schedule-table th:first-child,
.f26-schedule-table td:first-child { width: 30%; }

.f26-meta-box {
    margin-top: 32px;
    border-radius: 16px;
    background: #F5F5F7;
    padding: 40px;
    display: flex; flex-direction: column; gap: 8px;
    font-size: clamp(14px, 1vw, 16px);
}
.f26-meta-row {
    display: flex; gap: 24px;
    align-items: center;
}
.f26-meta-label {
    flex-shrink: 0;
    width: 100px;
    background: #000; color: #fff;
    font-weight: 400;
    padding: 6px 10px;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
}
.f26-meta-value { color: #1f2937; line-height: 1.5; font-size: 16px; }

.f26-foot-note {
    margin-top: 24px; text-align: center;
    font-size: clamp(13px, 1vw, 14px);
    color: #1f2937; line-height: 1.7;
}
.f26-foot-note b { font-weight: 700; }

.f26-cta-wrap { margin-top: 28px; text-align: center; }
/* .f26-cta-btn shares geometry with .f26-btn / .f26-btn-primary — defined together earlier */

@media (max-width: 1023px) {
    .f26-s5 { padding: 100px 24px; }
    .f26-s5-top { grid-template-columns: 1fr; gap: 48px; margin-bottom: 80px; }
    .f26-photos { justify-self: stretch; }
    .f26-photos img { width: 100%; }
}
@media (max-width: 767px) {
    .f26-s5 { padding: 60px 16px; }
    .f26-s5-head { margin-bottom: 36px; }
    .f26-s5-title { font-size: 28px; font-weight: 700; line-height: 1.3; }
    .f26-s5-sub { font-size: 15px; font-weight: 400; line-height: 1.5; margin-top: 12px; opacity: 0.85; }
    .f26-s5-top { gap: 32px; margin-bottom: 36px; }
    .f26-info-list { gap: 12px; }
    .f26-info-block { padding-bottom: 16px; }
    .f26-info-icon { width: 32px; height: 32px; }
    .f26-info-icon img { width: 32px; height: 32px; }
    .f26-info-title { font-size: 16px; }
    .f26-info-bullets li { font-size: 14px; line-height: 1.6; word-break: keep-all; }

    .f26-photos {
        flex-direction: row; gap: 8px;
        width: 100%;
    }
    .f26-photos img {
        width: calc(50% - 4px); height: 140px;
        border-radius: 10px;
    }

    .f26-schedule-title { font-size: 22px; font-weight: 700; }
    .f26-schedule-head { margin-top: 0; margin-bottom: 24px; }
    .f26-table-wrap { overflow-x: auto; }
    .f26-schedule-table { font-size: 13px; }
    .f26-schedule-table thead th,
    .f26-schedule-table tbody td {
        padding: 10px 8px; font-size: 13px;
        line-height: 1.5; word-break: keep-all;
    }

    .f26-meta-box { padding: 20px 16px; gap: 16px; }
    .f26-meta-row { flex-direction: row; gap: 12px; align-items: flex-start; }
    .f26-meta-label {
        width: 80px; min-width: 80px; padding: 6px 10px;
        font-size: 13px; align-self: flex-start; margin-top: 2px;
    }
    .f26-meta-value { font-size: 14px; line-height: 1.5; word-break: keep-all; flex: 1; }

    .f26-foot-note { font-size: 14px; }

    /* .f26-cta-btn mobile geometry — defined in unified rule near `.f26-btn` */
    .f26-cta-wrap { padding: 0; }
}

/*******************************************************************************
                            SECTION 6 — 박람회를 놓치면 안되는 이유
********************************************************************************/
.f26-s6 {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 140px 0;
    background: #fff;
}
.f26-s6-bg {
    position: absolute; inset: 0; z-index: 0;
    background: url('/asset/fair2026/section6-bg.jpg') center / cover no-repeat;
    opacity: 0.3; pointer-events: none;
}
.f26-s6-inner {
    position: relative; z-index: 2;
    max-width: 1248px; margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 80px;
    align-items: start;
}

.f26-s6-intro { position: static; }
.f26-intro-title {
    font-size: clamp(32px, 3.75vw, 54px);
    font-weight: 800; line-height: 1.28;
    letter-spacing: -0.025em;
    color: #111;
}
.f26-intro-sub {
    margin-top: 28px;
    font-size: clamp(12px, 1.39vw, 20px);
    line-height: 1.7;
    color: #4a5562;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.f26-intro-sub b { color: var(--f26-red); font-weight: 700; }

.f26-s6-right { width: 100%; }
.f26-right-head {
    font-size: clamp(16px, 1.81vw, 26px);
    font-weight: 800; letter-spacing: -0.02em;
    color: #111; margin-bottom: 36px;
}

.f26-process {
    display: flex; flex-direction: column;
    gap: 18px; position: relative;
}
.f26-process-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px; align-items: stretch;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.f26-process-row.in {
    opacity: 1; transform: translateY(0);
}
.f26-pill {
    background: #111; color: #fff;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 700; letter-spacing: -0.01em;
    min-height: 64px; padding: 16px 20px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.f26-desc {
    background: #fff;
    border: 1px solid var(--f26-border);
    border-radius: 4px;
    padding: 18px 24px;
    display: flex; align-items: center;
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.55;
    color: #1f2937; font-weight: 500;
    letter-spacing: -0.01em;
    box-shadow: 0 6px 18px var(--f26-shadow);
}
.f26-process-row + .f26-process-row::before {
    content: "";
    position: absolute; left: 90px;
    width: 1px; height: 18px;
    margin-top: -18px;
    background-image: linear-gradient(to bottom, #999 0 4px, transparent 4px 8px);
    background-size: 1px 8px;
    background-repeat: repeat-y;
}

@media (max-width: 1023px) {
    .f26-s6 { padding: 100px 24px; }
    .f26-s6-inner { grid-template-columns: 1fr; gap: 56px; padding: 0; }
}
@media (max-width: 767px) {
    .f26-s6 { padding: 60px 16px; }
    .f26-s6-inner { gap: 40px; }
    .f26-intro-title { font-size: 28px; font-weight: 700; line-height: 1.3; text-align: center; }
    .f26-intro-sub { font-size: 15px; font-weight: 400; line-height: 1.5; text-align: center; opacity: 0.85; margin-top: 12px; }
    .f26-right-head { margin-bottom: 16px; font-size: 16px; }
    .f26-process { gap: 10px; }
    .f26-process-row { grid-template-columns: 90px 1fr; gap: 8px; }
    .f26-pill { font-size: 14px; min-height: 44px; padding: 10px 8px; }
    .f26-desc { padding: 12px 14px; font-size: 14px; }
    .f26-process-row + .f26-process-row::before { left: 45px; height: 10px; margin-top: -10px; }
}

/*******************************************************************************
                            SECTION 7 — 왜 지금 시작해야 할까요?
********************************************************************************/
.f26-s7 {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 140px 24px;
    background: #000;
}
.f26-s7-bg {
    position: absolute; inset: 0; z-index: 0;
    background: url('/asset/fair2026/section7-bg.png') center / cover no-repeat;
    opacity: 0.20; pointer-events: none;
}
.f26-s7-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.5) 100%);
}
.f26-s7-inner {
    position: relative; z-index: 2;
    max-width: 1248px; margin: 0 auto;
    text-align: center;
}
.f26-s7-title {
    font-size: clamp(32px, 3.75vw, 54px);
    font-weight: 800; letter-spacing: -0.025em;
    color: #fff;
}
.f26-s7-sub {
    margin-top: 20px;
    font-size: clamp(12px, 1.39vw, 20px);
    color: rgba(255,255,255,0.78);
    font-weight: 500; letter-spacing: -0.01em;
}
.f26-s7-cards {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.f26-s7-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex; flex-direction: column;
    min-height: 320px;
}
.f26-s7-card-img {
    height: 180px; overflow: hidden;
}
.f26-s7-card-img img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.f26-s7-card-body {
    flex: 1; padding: 24px;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
}
.f26-s7-card-text {
    color: #000;
    font-size: clamp(11px, 1.25vw, 18px);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.01em;
}
.f26-s7-note {
    margin-top: 40px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--f26-line);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    font-size: clamp(13px, 1.53vw, 22px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}
.f26-s7 .f26-cta-row { margin-top: 40px; }

@media (max-width: 1023px) {
    .f26-s7 { padding: 100px 24px; }
    .f26-s7-card { min-height: 260px; }
}
@media (max-width: 767px) {
    .f26-s7 { padding: 60px 16px; }
    .f26-s7-title { font-size: 28px; font-weight: 700; line-height: 1.3; }
    .f26-s7-sub { font-size: 15px; font-weight: 400; line-height: 1.5; opacity: 0.85; }
    .f26-s7-cards {
        display: flex; flex-direction: column;
        gap: 16px; margin-top: 24px;
    }
    .f26-s7-card { width: 100%; min-height: auto; }
    .f26-s7-card-img { width: 100%; height: 180px; }
    .f26-s7-card-text { font-size: 16px; word-break: keep-all; }
    .f26-s7-note { font-size: 16px; padding: 20px; }
}

/*******************************************************************************
                            SECTION 8 — 박람회 방문 혜택 안내 (DESIGN)
********************************************************************************/
.f26-s8 {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 140px 24px 80px;
    background: #0a1466;
}
.f26-s8-bg {
    position: absolute; inset: 0; z-index: 0;
    background: url('/asset/fair2026/section8-bg.jpg') center / cover no-repeat;
    pointer-events: none;
}
.f26-s8-deco {
    position: absolute; inset: 0; z-index: 3;
    pointer-events: none; overflow: hidden;
}
.f26-s8-deco img {
    position: absolute;
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform;
    filter: drop-shadow(0 18px 30px rgba(0,0,0,0.25));
}
.f26-s8-deco .d-gift1 { top: 7%; left: 6%; width: 200px; animation: f26-s8-float-a 7.5s ease-in-out infinite; }
.f26-s8-deco .d-pink  { top: 4%; left: 14%;  width: 110px; animation: f26-s8-float-b 8s ease-in-out infinite; }
.f26-s8-deco .d-ring  { top: 38%; left: 7%;   width: 70px;  animation: f26-s8-float-c 9s ease-in-out infinite; }
.f26-s8-deco .d-green { top: 50%; left: 5%; width: 110px; animation: f26-s8-float-a 8.5s ease-in-out infinite; animation-delay: -1s; }
.f26-s8-deco .d-gift3 { bottom: 4%; left: 6%; width: 180px; animation: f26-s8-float-b 7s ease-in-out infinite; animation-delay: -2s; }
.f26-s8-deco .d-gift2 { top: 2%; right: 6%;  width: 200px; animation: f26-s8-float-c 7.8s ease-in-out infinite; animation-delay: -1.5s; }
.f26-s8-deco .d-blue  { top: 18%; right: 5%; width: 130px; animation: f26-s8-float-a 9s ease-in-out infinite; animation-delay: -2.5s; }
.f26-s8-deco .d-gift1b{ top: 48%; right: 6%; width: 200px; animation: f26-s8-float-b 8.4s ease-in-out infinite; animation-delay: -3s; }

@keyframes f26-s8-float-a {
    0%, 100% { transform: translate(0, 0) rotate(-3deg); }
    50%      { transform: translate(0, -16px) rotate(3deg); }
}
@keyframes f26-s8-float-b {
    0%, 100% { transform: translate(0, 0) rotate(4deg); }
    50%      { transform: translate(-6px, -14px) rotate(-4deg); }
}
@keyframes f26-s8-float-c {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50%      { transform: translate(6px, -12px) rotate(6deg); }
}

.f26-s8-inner {
    position: relative; z-index: 2;
    max-width: 1248px; margin: 0 auto;
}
.f26-s8-title {
    text-align: center;
    font-size: clamp(32px, 3.75vw, 54px);
    font-weight: 800; letter-spacing: -0.025em;
    color: #fff;
}
.f26-s8-block-h {
    margin-top: 60px;
    text-align: center;
    font-size: clamp(24px, 2.78vw, 40px);
    font-weight: 700; letter-spacing: -0.02em;
    color: #fff;
}
.f26-s8-block-h .accent { color: #fff; }

.f26-s8-visit {
    margin-top: 32px;
    background: rgba(255,255,255,0.20);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 16px;
    padding: 60px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: center;
}
.f26-s8-visit-img {
    width: clamp(280px, 38%, 420px);
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    background: #FCE7EA;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.f26-s8-visit-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.f26-s8-visit-cap {
    margin-top: 32px;
    font-size: clamp(16px, 1.81vw, 26px);
    font-weight: 600;
    letter-spacing: -0.015em;
    color: #fff;
}
.f26-s8-visit-cap b { color: #fff; font-weight: 800; }

.f26-s8-perks {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.f26-s8-perk {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 22px;
    align-items: flex-start;
    box-shadow: 0 24px 50px -28px rgba(0,0,0,0.55);
    transition: transform .25s ease, box-shadow .25s ease;
}
.f26-s8-perk:hover {
    transform: translateY(-3px);
    box-shadow: 0 32px 60px -28px rgba(0,0,0,0.65);
}
.f26-s8-perk-icon {
    width: 84px; height: 84px;
    border-radius: 12px;
    background: #F5F5F7;
    display: flex; align-items: center; justify-content: center;
}
.f26-s8-perk-icon img { width: 56px; height: 56px; object-fit: contain; }
.f26-s8-perk-body { padding-top: 4px; }
.f26-s8-perk-title {
    color: #0d1730;
    font-size: clamp(13px, 1.53vw, 22px);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.4;
}
.f26-s8-perk-list {
    list-style: none;
    margin-top: 14px;
    padding-left: 0;
}
.f26-s8-perk-list li {
    position: relative;
    padding-left: 14px;
    color: #475068;
    font-size: clamp(10px, 1.11vw, 16px);
    line-height: 1.7;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.f26-s8-perk-list li::before {
    content: "";
    position: absolute; left: 0; top: 10px;
    width: 4px; height: 4px;
    border-radius: 50%; background: var(--f26-red);
}
.f26-s8-perk-list li + li { margin-top: 4px; }

.f26-s8-marquee {
    position: relative; z-index: 0;
    margin-top: 60px;
    width: 100%;
    overflow: hidden;
    padding: 8px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.f26-s8-marquee-track {
    display: flex;
    width: max-content;
    animation: f26-s8-marquee 32s linear infinite;
    will-change: transform;
}
.f26-s8-marquee-track:hover { animation-play-state: paused; }
.f26-s8-marquee-item {
    display: inline-flex; align-items: center;
    gap: 48px; padding-right: 48px;
    font-size: clamp(56px, 9vw, 140px);
    font-weight: 800; letter-spacing: -0.03em;
    line-height: 1;
    color: rgba(255,255,255,0.14);
    white-space: nowrap;
}
.f26-s8-marquee-item .dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
    flex: none;
}
@keyframes f26-s8-marquee {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 1023px) {
    .f26-s8 { padding: 110px 24px 60px; }
    .f26-s8-block-h { margin-top: 56px; }
    .f26-s8-deco .d-gift1, .f26-s8-deco .d-gift2, .f26-s8-deco .d-gift1b { width: 130px; }
    .f26-s8-deco .d-pink, .f26-s8-deco .d-green { width: 70px; }
    .f26-s8-deco .d-blue { width: 80px; }
    .f26-s8-deco .d-ring { width: 48px; }
    .f26-s8-deco .d-gift3 { width: 110px; }
}
@media (max-width: 767px) {
    .f26-s8 { padding: 60px 16px; }
    .f26-s8-title { font-size: 28px; font-weight: 700; line-height: 1.3; }
    .f26-s8-block-h { font-size: 22px; font-weight: 700; line-height: 1.3; margin-top: 40px; }
    .f26-s8-visit { padding: 36px 22px 28px; }
    .f26-s8-visit-img { width: 75%; }
    .f26-s8-visit-cap { font-size: 16px; }
    .f26-s8-perks { grid-template-columns: 1fr; gap: 16px; }
    .f26-s8-perk { grid-template-columns: 64px 1fr; gap: 16px; padding: 22px; }
    .f26-s8-perk-icon { width: 64px; height: 64px; }
    .f26-s8-perk-icon img { width: 36px; height: 36px; }
    .f26-s8-perk-title { font-size: 16px; font-weight: 600; word-break: keep-all; }
    .f26-s8-perk-list li { font-size: 14px; font-weight: 400; line-height: 1.5; word-break: keep-all; }

    .f26-s8-deco img { display: none; }
    .f26-s8-deco .d-gift1 { display: block; width: 50px; top: 1%; left: 1%; }
    .f26-s8-deco .d-gift2 { display: block; width: 80px; top: 2%; right: 2%; }
    .f26-s8-deco .d-pink  { display: block; width: 50px; top: 8%; right: 12%; }

    .f26-s8-marquee { margin-top: 24px; }
    .f26-s8-marquee-item { font-size: 20px; font-weight: 600; gap: 24px; padding-right: 24px; }
    .f26-s8-marquee-item .dot { width: 6px; height: 6px; }
}

/*******************************************************************************
                            오시는 길 (KEEP — 캡쳐 영역)
********************************************************************************/
.fair-main-section8 {
    background: #fff;
}
.fair-main-section8 * {
    font-family: "Noto Sans KR", sans-serif;
}
.fair-main-section8 .max-width {
    max-width: 1112px;
}
.fair-main-section8 h2,
.fair-main-section8 h3 {
    font-weight: 700;
}
.fair-main-section8-con {display: grid;grid-gap: 24px;}
.fair-main-section8-con .textBox {text-align: left;}
.fair-main-section8-con .textBox h3 {font-size: 20px;}
.fair-main-section8-con .textBox p {margin-bottom: 30px;font-size: 16px;}
.fair-main-section8-con .textBox ul li {margin-bottom: 10px;}
.fair-main-section8-con .textBox ul li:last-child {margin-bottom: 0;}
.fair-main-section8-con .textBox ul li dl {display: flex;font-size: 14px;font-weight: 400;}
.fair-main-section8-con .textBox ul li dl dt {width: 20%;color: #191919;}
.fair-main-section8-con .textBox ul li dl dd {width: 80%;color: #767676;}
.fair-main-section8-con .map {aspect-ratio: 328 / 193;order: -1;}
@media (min-width: 768px) {
    .fair-main-section8-con .textBox h3 {font-size: 32px;}
    .fair-main-section8-con .textBox p {font-size: 26px;}
    .fair-main-section8-con .textBox ul li dl {font-size: 18px;}
}
@media (min-width: 1024px) {
    .fair-main-section8-con {grid-template-columns: repeat(2,1fr);}
    .fair-main-section8-con .map {aspect-ratio: auto;order: 1;}
}

/*******************************************************************************
    GNB Header — match design (fair_main.css is page-scoped, so these only apply
    to fair-main.blade.php). Overrides fair_style.css's existing navbar styles.
    Selector is scoped to `#app > header` so it only matches the top-level GNB
    header — section-internal <header class="f26-s4-head"> etc are NOT affected.
********************************************************************************/
#app > header {
    position: absolute !important;
    top: 0; left: 0; right: 0;
    z-index: 100;
}
#app > header .menu.fair,
.menu.fair {
    background: linear-gradient(180deg, rgba(5,5,6,0.78) 0%, rgba(5,5,6,0.35) 70%, rgba(5,5,6,0) 100%) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    width: 100%;
}
.menu.fair .navbar {
    max-width: 1248px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    height: 100px !important;
    min-height: 0 !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px;
    position: relative !important;
}

/* Logo — replace S3 image with UAL SVG, invert to white */
.menu.fair .navbar h1 {
    width: 162px !important;
    height: 40px !important;
    background: url('/asset/fair2026/ual-logo.svg') no-repeat center !important;
    background-size: contain !important;
    filter: invert(1) brightness(2);
    margin: 0 !important;
    padding: 0;
    top: 0 !important;
    float: none !important;
    flex: 0 0 auto;
}
.menu.fair .navbar h1 a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Menu links — visible inline at PC, white text */
.menu.fair .navbar .menu-links {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    position: static !important;
    float: none !important;
    width: auto !important;
    flex: 1 1 auto;
    justify-content: flex-end;
    height: auto;
}
.menu.fair .navbar .menu-links li {
    display: inline-flex !important;
    align-items: center;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    border: 0 !important;
}
.menu.fair .navbar .menu-links li a {
    color: rgba(255,255,255,0.82) !important;
    background: transparent !important;
    font-size: clamp(12px, 1.39vw, 20px) !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em;
    line-height: 1.5 !important;
    padding: 6px 2px !important;
    height: auto !important;
    text-decoration: none !important;
    transition: color .2s ease;
    position: relative;
    white-space: nowrap;
}
.menu.fair .navbar .menu-links li a:hover {
    color: #fff !important;
}
.menu.fair .navbar .menu-links li a::after {
    display: none !important;
    content: none !important;
}
/* Hide 설명회 & 리뷰 (node-80) and 진학전략 (node-82) on this page only */
.menu.fair .navbar .menu-links #node-80,
.menu.fair .navbar .menu-links #node-82 { display: none !important; }
/* m-menu (mobile-only 참가신청 inside list) — keep hidden on PC */
.menu.fair .navbar .menu-links .m-menu { display: none !important; }

/* CTA button — red pill with arrow icon */
.menu.fair .navbar .btn-app {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fc1d01 !important;
    color: #fff !important;
    padding: 10px 18px !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    font-size: clamp(12px, 1.39vw, 20px) !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
    transform: none !important;
    text-align: center;
    transition: background .2s ease, transform .2s ease;
    flex: 0 0 auto;
}
.menu.fair .navbar .btn-app::after {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'><path d='M5 12h14M13 5l7 7-7 7'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: inline-block;
    flex-shrink: 0;
}
.menu.fair .navbar .btn-app:hover {
    background: #ff2b49 !important;
    transform: translateY(-1px);
}

/* Hamburger / category-open button — hide on PC */
.menu.fair .navbar .ct {
    display: none !important;
}
/* Mobile fair-link wrapper — hide (we'll show CTA directly via .btn-app) */
.menu.fair .navbar .mo-fair-link { display: none !important; }

/* === Mobile (<768px) === */
@media (max-width: 767px) {
    .menu.fair .navbar {
        height: 64px !important;
        padding: 0 16px !important;
        gap: 12px;
    }
    .menu.fair .navbar h1 {
        width: 122px !important;
        height: 30px !important;
    }
    .menu.fair .navbar .menu-links {
        display: none !important;
        position: absolute !important;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(5,5,6,0.92) !important;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        padding: 16px 24px !important;
        gap: 4px;
        height: auto !important;
    }
    .menu.fair .navbar.active .menu-links {
        display: flex !important;
    }
    .menu.fair .navbar .menu-links li { width: 100%; }
    .menu.fair .navbar .menu-links li a {
        display: block !important;
        padding: 12px 0 !important;
        font-size: clamp(14px, 4vw, 18px) !important;
    }
    .menu.fair .navbar .btn-app {
        display: none !important;
    }
    /* Hamburger hidden on mobile (no menu links to expand) */
    .menu.fair .navbar .ct {
        display: none !important;
    }
}

/* === Tablet 768–1023px: shorter navbar so it doesn't dominate the hero === */
@media (min-width: 768px) and (max-width: 1023px) {
    .menu.fair .navbar {
        height: 76px !important;
    }
    .menu.fair .navbar h1 {
        width: 142px !important;
        height: 34px !important;
    }
}

/* === PC ≥1280px: navbar fills max-width with no extra padding (Figma) === */
@media (min-width: 1280px) {
    .menu.fair .navbar {
        padding: 0 !important;
    }
}
