@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&family=Noto+Sans+KR:wght@300;400;500;700;900&family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Space+Mono:wght@400;700&family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

@font-face {
    font-family: 'Chomsky';
    src: url('Chomsky.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ═══════════════════════════════════════════ */
/* NYT-STYLE 4-ROW HEADER                     */
/* ═══════════════════════════════════════════ */

/* --- Row 1: Utility Bar --- */
.nyt-utility-bar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 6px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nyt-utility-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nyt-utility-left,
.nyt-utility-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.nyt-utility-right { justify-content: flex-end; }
.nyt-utility-center { flex: 0 0 auto; text-align: center; }

.nyt-dateline-compact {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 0.5px;
}

.nyt-lang-btn {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: 0.2s;
}

.nyt-lang-btn:hover {
    color: white;
    border-color: var(--muted);
}

/* --- Row 2: Masthead / Nameplate --- */
.nyt-masthead {
    text-align: center;
    padding: 0;
    background: var(--bg);
}

.nyt-masthead-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.nyt-rule-top {
    height: 3px;
    background: var(--text);
    margin-bottom: 2px;
}

.nyt-rule-top::after {
    content: '';
    display: block;
    height: 1px;
    background: var(--text);
    margin-top: 2px;
}

.nyt-nameplate {
    font-family: 'Rajdhani', 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 300;
    letter-spacing: 14px;
    text-transform: uppercase;
    color: var(--text);
    background: linear-gradient(180deg, #ffffff 0%, #8890a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin: 16px 0 8px;
    cursor: pointer;
}

.nyt-nameplate:hover { opacity: 0.85; }

.nyt-masthead-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    color: var(--muted);
}

.nyt-meta-left,
.nyt-meta-right {
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    flex: 1;
}

.nyt-meta-right { text-align: right; }

.nyt-meta-motto {
    flex: 2;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
}

.nyt-rule-bottom {
    height: 1px;
    background: var(--text);
    margin-top: 2px;
}

.nyt-rule-bottom::after {
    content: '';
    display: block;
    height: 3px;
    background: var(--text);
    margin-top: 2px;
}

/* --- Row 3: Section Navigation --- */
.nyt-sections {
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    padding: 0;
}

.nyt-sections-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.nyt-section-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nyt-section-links li { position: relative; }

.nyt-section-links li + li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: var(--border);
}

.nyt-section-links a {
    display: block;
    text-decoration: none;
    color: var(--muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 22px;
    transition: color 0.2s, background 0.2s;
}

.nyt-section-links a:hover {
    color: white;
    background: rgba(255,255,255,0.04);
}

:root {
    --primary: #0047ab;
    --primary-light: #1a5ec7;
    --accent: #ff3e00;
    --accent-warm: #ff6b35;
    --bg: #0a0a0a;
    --bg-elevated: #111111;
    --card-bg: #1a1a1a;
    --card-bg-hover: #222222;
    --text: #ffffff;
    --text-secondary: #cccccc;
    --muted: #888888;
    --border: #2a2a2a;
    --border-light: #333333;
    --event-gold: #ffd700;
    --success: #00c853;
    --security-red: #ff1744;
    --economy-blue: #2979ff;
    --culture-purple: #aa00ff;
    --diplomacy-teal: #00bfa5;
    --safety-green: #00e676;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

/* ═══════════════════════════════════════════ */
/* LAYOUT                                      */
/* ═══════════════════════════════════════════ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg);
    padding: 30px 60px 50px;
    display: flex;
    flex-direction: column;
}

.container > * { order: 10; }
.herald-cover-section { order: 1; }
.dashboard { order: 2; }
.today-brief { order: 3; }
#news { order: 4; }

/* Old header styles (replaced by NYT masthead) */
header.old-header { display: none; }
.logo, .tagline, .date { display: none; }

.toggle-container {
    position: absolute;
    top: 0;
    right: 0;
}

.toggle-btn {
    background: var(--card-bg);
    color: white;
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
    font-size: 0.85rem;
}

.toggle-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* ═══════════════════════════════════════════ */
/* LANGUAGE TOGGLE                             */
/* ═══════════════════════════════════════════ */

.kr-content {
    display: none;
    font-family: 'Noto Sans KR', sans-serif;
}

body.lang-kr .en-content { display: none; }
body.lang-kr .kr-content { display: block; }

/* Inline kr-content inside flex/inline contexts */
body.lang-kr span.kr-content,
body.lang-kr a .kr-content { display: inline; }
body.lang-kr span.en-content,
body.lang-kr a .en-content { display: none; }
span.kr-content { display: none; }

body.lang-kr .main-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 900;
    letter-spacing: -2px;
    font-size: 3rem;
}

body.lang-kr .sub-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 1.3rem;
}

body.lang-kr .herald-cover-section .main-title,
body.lang-kr .herald-cover-section .sub-title {
    font-family: "Noto Serif KR", "Apple Myungjo", "Batang", serif;
    letter-spacing: 0;
}

body.lang-kr .food-lead,
body.lang-kr .picks-body p {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.05rem;
    line-height: 1.9;
}

/* ═══════════════════════════════════════════ */
/* HEADLINE / COVER STORY                      */
/* ═══════════════════════════════════════════ */

.headline-section {
    border-bottom: 2px solid var(--border-light);
    padding: 42px 0 56px;
    margin-bottom: 60px;
    position: relative;
}

.herald-cover-section {
    border-top: 1px solid rgba(255,255,255,0.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0)),
        linear-gradient(90deg, rgba(0, 71, 171, 0.12), rgba(255,255,255,0));
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: max(24px, calc((100vw - 1200px) / 2 + 60px));
    padding-right: max(24px, calc((100vw - 1200px) / 2 + 60px));
    box-sizing: border-box;
}

.headline-badge {
    display: inline-block;
    background: #111;
    border: 1px solid rgba(255,255,255,0.18);
    color: white;
    padding: 5px 18px;
    font-family: 'Rajdhani', 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 6px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.main-title {
    font-family: 'Playfair Display', Georgia, "Times New Roman", "Noto Serif KR", "Apple Myungjo", serif;
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    line-height: 1.08;
    margin: 0 0 25px 0;
    letter-spacing: 0;
    color: var(--text);
    max-width: 32ch;
}

.sub-title {
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.4;
    border-left: 5px solid var(--primary-light);
    padding-left: 22px;
    font-family: 'Playfair Display', Georgia, "Times New Roman", "Noto Serif KR", serif;
    max-width: 100%;
}

.main-image-container {
    width: 100%;
    aspect-ratio: 3 / 2;
    max-height: 620px;
    background: var(--card-bg);
    margin-bottom: 25px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.herald-cover-section .main-image-container {
    box-shadow: 0 24px 70px rgba(0,0,0,0.32);
    aspect-ratio: 16 / 9;
    max-height: 680px;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.image-caption {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: white;
    padding: 30px 25px 15px;
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 0.85rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.meta-author {
    font-weight: 700;
    color: var(--primary-light);
}

.meta-divider {
    color: var(--border-light);
}

.meta-date {
    color: var(--muted);
}

.content-columns {
    display: flex;
    gap: 40px;
}

.column {
    flex: 1;
    font-family: 'Georgia', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.column p {
    margin-bottom: 18px;
}

.column p:last-child {
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════ */
/* SECTION TITLE                               */
/* ═══════════════════════════════════════════ */

.section-title {
    font-family: 'Rajdhani', 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 70px 0 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    text-transform: uppercase;
    letter-spacing: 10px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-intro {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
    font-style: italic;
    line-height: 1.6;
}

.live-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 4px;
    letter-spacing: 2px;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ═══════════════════════════════════════════ */
/* NEWS: Featured + Grid                       */
/* ═══════════════════════════════════════════ */

.featured-news {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 35px;
    margin-bottom: 45px;
    padding: 30px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.3s;
}

.featured-news:hover {
    border-color: var(--primary);
}

.featured-news-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.featured-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.featured-news-image .tag {
    position: absolute;
    top: 15px;
    left: 15px;
}

.featured-news-body h3 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 18px;
    font-family: 'Playfair Display', serif;
}

.featured-news-lead {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 20px;
}

.news-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(0, 71, 171, 0.12);
}

.news-thumb {
    width: 140px;
    min-width: 140px;
    aspect-ratio: 14 / 11;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.news-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-body h3 {
    font-size: 1.1rem;
    margin: 6px 0 8px;
    line-height: 1.3;
    color: var(--text);
}

.news-card-body p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
    flex: 1;
}

.news-read-time {
    font-size: 0.75rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-top: 8px;
}

/* Tag Colors */
.tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    color: white;
}

.tag-security { background: var(--security-red); }
.tag-economy { background: var(--economy-blue); }
.tag-culture { background: var(--culture-purple); }
.tag-diplomacy { background: var(--diplomacy-teal); }
.tag-safety { background: var(--safety-green); color: #000; }

/* ═══════════════════════════════════════════ */
/* FOOD & TRAVEL: Blog Style                   */
/* ═══════════════════════════════════════════ */

.food-travel-section {
    margin-bottom: 20px;
}

/* Food Hunter Series Banner */
.food-hunter-banner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 25px 25px 25px 30px;
    margin-bottom: 40px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.3s, transform 0.2s;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.food-hunter-banner:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.food-hunter-banner-badge {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.food-hunter-banner-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.food-hunter-banner-body p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
}

.food-hunter-banner-img {
    width: 160px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .food-hunter-banner {
        grid-template-columns: 1fr;
    }
    .food-hunter-banner-img {
        width: 100%;
        height: 140px;
        order: -1;
    }
}

/* Food Feature (Full-Width Blog Card) */
.food-feature {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    position: relative;
    transition: border-color 0.3s;
}

.food-feature:hover {
    border-color: var(--accent-warm);
}

.food-feature-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: var(--accent);
    color: white;
    padding: 6px 18px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 62, 0, 0.4);
}

.food-feature-gallery {
    position: relative;
}

.food-hero-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.food-gallery-strip {
    display: flex;
    gap: 3px;
    background: var(--bg);
    padding: 3px;
}

.food-gallery-strip img {
    flex: 1;
    aspect-ratio: 4 / 3;
    max-height: 140px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.food-gallery-strip img:hover {
    opacity: 0.8;
}

.food-feature-content {
    padding: 35px 40px 40px;
}

.food-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.food-type-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.food-feature-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--text);
}

.food-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    color: var(--event-gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.rating-score {
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--event-gold);
}

.rating-count {
    color: var(--muted);
    font-size: 0.85rem;
}

.food-lead {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.food-quote {
    border-left: 4px solid var(--accent-warm);
    padding: 20px 25px;
    margin: 25px 0;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text);
}

.food-quote cite {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 10px;
    font-style: normal;
    font-family: 'Outfit', sans-serif;
}

.food-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 25px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    border: 1px solid var(--border);
}

.food-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.food-detail-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.food-detail-item strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 2px;
}

.food-must-try {
    margin-bottom: 25px;
}

.food-must-try h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-warm);
    margin-bottom: 12px;
    font-weight: 800;
}

.food-must-try ul {
    list-style: none;
}

.food-must-try li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

.food-must-try li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-warm);
    font-weight: 700;
}

.food-must-try li:last-child {
    border-bottom: none;
}

.food-tip {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 107, 53, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.food-tip-label {
    font-weight: 800;
    color: var(--event-gold);
    margin-right: 8px;
    font-size: 0.9rem;
}

/* Travel Grid (2-col) */
.travel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.travel-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.travel-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-warm);
    box-shadow: 0 15px 40px rgba(255, 62, 0, 0.1);
}

.travel-card-image {
    position: relative;
    aspect-ratio: 8 / 5;
    max-height: 320px;
    overflow: hidden;
}

.travel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s;
}

.travel-card:hover .travel-card-image img {
    transform: scale(1.05);
}

.travel-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    color: var(--event-gold);
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.travel-card-body {
    padding: 28px;
}

.travel-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.travel-card-body .food-lead {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.travel-details-compact {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px;
    margin-bottom: 18px;
}

.travel-details-compact .food-detail-item strong {
    display: none;
}

/* ═══════════════════════════════════════════ */
/* EVENTS                                      */
/* ═══════════════════════════════════════════ */

.events-scroll {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    padding-bottom: 25px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #222;
    -webkit-overflow-scrolling: touch;
}

.events-scroll::-webkit-scrollbar { height: 6px; }
.events-scroll::-webkit-scrollbar-track { background: #222; border-radius: 10px; }
.events-scroll::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

.event-card {
    min-width: 340px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.event-card:hover {
    transform: translateY(-6px);
    border-color: var(--event-gold);
}

.event-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--event-gold);
    color: #000;
    padding: 6px 14px;
    font-weight: 900;
    border-radius: 6px;
    font-size: 0.85rem;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.event-card img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
}

.event-content {
    padding: 22px;
}

.event-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text);
}

.event-content p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.event-details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.location {
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.location::before {
    content: '📍';
    margin-right: 5px;
}

.event-price {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--event-gold);
    background: rgba(255, 215, 0, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    white-space: nowrap;
}

/* Event detail rows (actionable info) */
.event-details {
    padding: 0 22px 22px;
}

.event-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.event-detail-row:last-child {
    border-bottom: none;
}

.event-detail-row strong {
    color: var(--text);
    display: block;
}

.event-detail-icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    padding-top: 1px;
}

.event-desc {
    padding: 0 22px 10px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.event-note {
    background: rgba(255, 215, 0, 0.05);
    border-radius: var(--radius-sm);
    padding: 10px !important;
    margin-top: 6px;
    border-bottom: none !important;
    color: var(--event-gold);
    font-size: 0.82rem;
}

/* ═══════════════════════════════════════════ */
/* HERALD'S PICK (Editor Column)               */
/* ═══════════════════════════════════════════ */

.picks-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.picks-card::before {
    content: '"';
    position: absolute;
    top: -30px;
    right: 30px;
    font-size: 15rem;
    font-family: 'Playfair Display', serif;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    line-height: 1;
}

.picks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.picks-author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.picks-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
}

.picks-author-info strong {
    display: block;
    font-size: 1.05rem;
}

.picks-role {
    font-size: 0.8rem;
    color: var(--muted);
    display: block;
}

.picks-date {
    color: var(--muted);
    font-size: 0.85rem;
}

.picks-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.picks-body {
    margin-bottom: 30px;
}

.picks-body p {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.picks-body p:last-child {
    margin-bottom: 0;
}

.picks-connect {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    font-size: 0.9rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.picks-connect a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.picks-connect a:hover {
    color: var(--accent-warm);
}

/* ═══════════════════════════════════════════ */
/* PAST EDITIONS PREVIEW                       */
/* ═══════════════════════════════════════════ */

.archive-preview-section {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 2px solid var(--border-light);
}

.archive-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.archive-preview-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.archive-preview-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 71, 171, 0.2);
}

.archive-preview-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s;
}

.archive-preview-card:hover::before { opacity: 1; }

.apc-date {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.apc-date-day {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-light);
    line-height: 1;
}

.apc-date-rest {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}

.apc-vol {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--muted);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.apc-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.lang-kr .apc-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.95rem;
}

.apc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.apc-tag {
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.archive-view-all-btn {
    display: block;
    text-align: center;
    padding: 18px 40px;
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.archive-view-all-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 71, 171, 0.3);
}

/* Floating Archive Button (mobile-friendly) */
.archive-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 900;
    box-shadow: 0 6px 20px rgba(0, 71, 171, 0.5);
    transition: all 0.3s;
    text-decoration: none;
}

.archive-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 71, 171, 0.6);
    background: var(--primary-light);
}

.archive-fab-tooltip {
    position: absolute;
    right: 66px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    color: var(--text);
}

.archive-fab:hover .archive-fab-tooltip { opacity: 1; }

@media (max-width: 768px) {
    .archive-preview-grid { grid-template-columns: 1fr; }
    .archive-fab { bottom: 16px; right: 16px; width: 48px; height: 48px; font-size: 18px; }
}

/* ═══════════════════════════════════════════ */
/* ACADEMY WORD OF THE DAY                     */
/* ═══════════════════════════════════════════ */

.word-banner {
    margin: 60px 0 20px;
    background: linear-gradient(135deg, #0047ab, #002e6e);
    color: white;
    padding: 50px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 71, 171, 0.25);
}

.word-banner::before {
    content: 'ICAN';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 10rem;
    font-weight: 900;
    opacity: 0.05;
    pointer-events: none;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.word-info { flex: 1; }

.banner-label {
    font-family: 'Rajdhani', 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 4px;
    opacity: 0.8;
    display: block;
    margin-bottom: 15px;
}

.word-title {
    font-family: 'Rajdhani', 'Outfit', sans-serif;
    font-size: 3.8rem;
    font-weight: 300;
    margin-bottom: 8px;
    letter-spacing: 12px;
}

.word-pronunciation {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 18px;
    font-family: 'Georgia', serif;
    font-style: italic;
}

.word-desc {
    max-width: 650px;
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.95;
    font-family: 'Georgia', serif;
    margin-bottom: 15px;
}

.word-example {
    font-size: 0.95rem;
    opacity: 0.75;
    line-height: 1.5;
}

.word-grade {
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    padding: 25px 45px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    margin-left: 40px;
}

.grade-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    opacity: 0.8;
}

.grade-value {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--event-gold);
    line-height: 1;
}

/* ═══════════════════════════════════════════ */
/* NAVIGATION                                  */
/* ═══════════════════════════════════════════ */

/* Old nav — replaced by NYT 4-row header */
.main-nav { display: none; }
.nav-container, .nav-logo, .nav-links { display: none; }

.sos-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.6rem;
    cursor: pointer;
    letter-spacing: 2px;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 62, 0, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 62, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 62, 0, 0); }
}

/* ═══════════════════════════════════════════ */
/* DASHBOARD                                   */
/* ═══════════════════════════════════════════ */

.dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-bottom: 50px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.dash-item {
    display: flex;
    flex-direction: column;
    padding: 9px 20px;
    background: var(--bg-elevated);
}

.dash-label {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 3px;
    letter-spacing: 1.5px;
}

.dash-value {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.2px;
}

.dash-source {
    font-family: 'Outfit', sans-serif;
    font-size: 0.55rem;
    color: rgba(255,255,255,0.25);
    margin-top: 2px;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════ */
/* INSTALL BANNER                              */
/* ═══════════════════════════════════════════ */

.install-banner {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 12px;
    display: none;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════ */
/* SOS MODAL                                   */
/* ═══════════════════════════════════════════ */

.sos-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s ease;
}

.sos-modal-overlay.active { display: flex; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sos-modal {
    background: var(--card-bg);
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 60px rgba(255, 62, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.sos-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.sos-close:hover { color: white; }

.sos-header {
    text-align: center;
    margin-bottom: 30px;
}

.sos-icon { font-size: 3rem; margin-bottom: 10px; }
.sos-header h2 { font-size: 1.5rem; color: white; }

.sos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sos-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 12px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
}

.sos-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.sos-card-icon { font-size: 2rem; margin-bottom: 8px; }
.sos-card-title { font-size: 0.8rem; color: #aaa; margin-bottom: 8px; line-height: 1.3; }
.sos-card-number { font-size: 1.2rem; font-weight: 900; color: var(--accent); }

.sos-police { border-color: var(--accent); }
.sos-embassy { border-color: var(--primary); }
.sos-consular { border-color: var(--event-gold); }
.sos-tourist { border-color: var(--success); }

.sos-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════ */
/* FOOTER                                      */
/* ═══════════════════════════════════════════ */

.site-footer {
    border-top: 1px solid var(--border);
    margin-top: 60px;
    padding: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 60px;
    text-align: center;
}

.footer-brand h3 {
    font-family: 'Rajdhani', 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 10px;
    margin-bottom: 8px;
}

.footer-brand p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--primary-light); }

.footer-copy {
    color: #444;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.footer-verse {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #333;
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════ */
/* IMAGE CACHE CHECK                          */
/* ═══════════════════════════════════════════ */

.cache-check {
    margin-top: 48px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
}

.cache-check-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.cache-check-copy {
    max-width: 560px;
    color: var(--muted);
    text-align: left;
    line-height: 1.6;
    font-size: 0.92rem;
}

.cache-check-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.cache-stat {
    padding: 18px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.cache-stat-wide { grid-column: span 1; }

.cache-stat-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.cache-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.cache-log {
    display: grid;
    gap: 10px;
}

.cache-log-item {
    display: grid;
    grid-template-columns: minmax(160px, 1.3fr) 100px minmax(0, 2.5fr);
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
}

.cache-log-title {
    color: var(--text);
    font-weight: 600;
}

.cache-log-state {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    background: rgba(255,255,255,0.08);
    color: #d1d5db;
}

.cache-log-src {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.cache-state-local .cache-log-state {
    background: rgba(34, 197, 94, 0.14);
    color: #86efac;
}

.cache-state-remote .cache-log-state {
    background: rgba(59, 130, 246, 0.14);
    color: #93c5fd;
}

.cache-state-emergency .cache-log-state {
    background: rgba(249, 115, 22, 0.18);
    color: #fdba74;
}

@media (max-width: 1024px) {
    .cache-check-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cache-log-item { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 640px) {
    .cache-check { padding: 22px 18px; }
    .cache-check-stats { grid-template-columns: 1fr; }
    .cache-check-head { align-items: flex-start; }
}

/* ═══════════════════════════════════════════ */
/* SCROLL ANIMATIONS                           */
/* ═══════════════════════════════════════════ */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════ */
/* MOBILE MENU                                 */
/* ═══════════════════════════════════════════ */

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════════════════ */
/* RESPONSIVE                                  */
/* ═══════════════════════════════════════════ */

@media (max-width: 1100px) {
    .container { padding: 35px 30px; }
    .footer-content { padding: 40px 30px; }
    .logo { font-size: 3.5rem; }
    .main-title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .sos-btn { display: none; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-container { flex-wrap: wrap; position: relative; }

    .container { padding: 25px 18px; }
    .footer-content { padding: 35px 18px; }

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

    .main-title { font-size: 2rem; }
    body.lang-kr .main-title { font-size: 1.8rem; }
    .sub-title { font-size: 1.1rem; }
    .main-image-container { max-height: 250px; }

    .featured-news {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .featured-news-image { max-height: 220px; }
    .featured-news-body h3 { font-size: 1.4rem; }

    .news-grid { grid-template-columns: 1fr; gap: 15px; }
    .news-card { flex-direction: column; }
    .news-thumb { width: 100%; height: 180px; }

    .food-hero-img { height: 280px; }
    .food-feature-content { padding: 25px 20px; }
    .food-feature-content h3 { font-size: 1.6rem; }
    .food-details { grid-template-columns: 1fr; }
    .food-gallery-strip img { height: 70px; }

    .travel-grid { grid-template-columns: 1fr; }
    .travel-card-image { max-height: 220px; }

    .event-card { min-width: 280px; }

    .picks-card { padding: 25px; }
    .picks-title { font-size: 1.5rem; }
    .picks-body p { font-size: 1rem; }

    .word-title { font-size: 2.5rem; }
    .word-banner { padding: 30px 20px; }
    .banner-content { flex-direction: column; text-align: center; }
    .word-grade { margin-left: 0; margin-top: 30px; width: 100%; }

    .content-columns { flex-direction: column; }
}

@media (max-width: 480px) {
    .logo { font-size: 1.8rem; }
    .tagline { font-size: 0.9rem; }
    .container { padding: 20px 15px; }

    .dashboard { grid-template-columns: 1fr 1fr; padding: 0; gap: 1px; }

    .main-title { font-size: 1.5rem; }
    .sub-title { font-size: 0.95rem; padding-left: 12px; }
    .main-image-container { max-height: 200px; }

    .section-title { font-size: 1.3rem; flex-wrap: wrap; }

    .food-hero-img { max-height: 220px; }
    .food-feature-content h3 { font-size: 1.3rem; }
    .food-quote { font-size: 1rem; padding: 15px 18px; }

    .event-card { min-width: 260px; }

    .word-title { font-size: 2rem; }
    .grade-value { font-size: 3rem; }

    .picks-title { font-size: 1.3rem; }

    .footer-brand h3 { font-size: 1.3rem; }
    .logo-ship { width: 36px; height: 36px; }
    .tagline-sub { font-size: 0.7rem; }
}

/* ═══════════════════════════════════════════ */
/* COSMOS BACKGROUND — Retro-Futurism Layer    */
/* 1950s Space Age + AI Native 은유             */
/* ═══════════════════════════════════════════ */

.cosmos-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* Starfield — subtle, scattered dots */
.stars-layer {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 45% 15%, rgba(255,215,0,0.15) 0%, transparent 100%),
        radial-gradient(1px 1px at 75% 35%, rgba(255,255,255,0.2) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 85% 65%, rgba(255,215,0,0.12) 0%, transparent 100%),
        radial-gradient(1px 1px at 25% 75%, rgba(255,255,255,0.18) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 85%, rgba(200,200,255,0.15) 0%, transparent 100%),
        radial-gradient(1px 1px at 35% 55%, rgba(255,255,255,0.12) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 65% 45%, rgba(255,255,255,0.1) 0%, transparent 100%),
        radial-gradient(1px 1px at 92% 20%, rgba(200,220,255,0.18) 0%, transparent 100%),
        radial-gradient(1px 1px at 8% 90%, rgba(255,215,0,0.1) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 100%);
    animation: starDrift 120s linear infinite;
}

@keyframes starDrift {
    0% { transform: translateY(0); }
    100% { transform: translateY(-30px); }
}

/* Orbital Rings — retro satellite orbit lines */
.orbit-ring {
    position: absolute;
    border: 1px solid rgba(0, 71, 171, 0.06);
    border-radius: 50%;
}

.orbit-ring-1 {
    width: 800px;
    height: 800px;
    top: -200px;
    right: -300px;
    animation: orbitSpin 180s linear infinite;
}

.orbit-ring-2 {
    width: 1200px;
    height: 1200px;
    bottom: -400px;
    left: -500px;
    border-color: rgba(255, 215, 0, 0.03);
    animation: orbitSpin 240s linear infinite reverse;
}

@keyframes orbitSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Constellation Lines — AI neural network 은유 */
.constellation-line {
    position: absolute;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 71, 171, 0.04) 20%,
        rgba(0, 71, 171, 0.08) 50%,
        rgba(0, 71, 171, 0.04) 80%,
        transparent 100%
    );
    height: 1px;
}

.constellation-1 {
    width: 40%;
    top: 30%;
    left: 10%;
    transform: rotate(-8deg);
}

.constellation-2 {
    width: 30%;
    top: 60%;
    right: 5%;
    transform: rotate(12deg);
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 215, 0, 0.04) 30%,
        rgba(255, 215, 0, 0.06) 50%,
        rgba(255, 215, 0, 0.04) 70%,
        transparent 100%
    );
}

.constellation-3 {
    width: 25%;
    top: 85%;
    left: 20%;
    transform: rotate(-3deg);
}

/* ═══════════════════════════════════════════ */
/* ICAN SPACESHIP LOGO & NAV                   */
/* ═══════════════════════════════════════════ */

.ican-ship {
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(128, 207, 255, 0.3));
    transition: filter 0.3s;
}

.ican-ship:hover {
    filter: drop-shadow(0 0 8px rgba(128, 207, 255, 0.6));
}

/* Engine glow pulse */
.engine-glow {
    animation: enginePulse 3s ease-in-out infinite;
}

@keyframes enginePulse {
    0%, 100% { opacity: 0.3; ry: 2; }
    50% { opacity: 0.7; ry: 4; }
}

/* Antenna blink — like classic sci-fi communication signal */
.antenna-blink {
    animation: antennaBlink 2s ease-in-out infinite;
}

@keyframes antennaBlink {
    0%, 40%, 100% { opacity: 0.3; r: 0.6; }
    45%, 55% { opacity: 1; r: 1; fill: #fff; }
    60% { opacity: 0.6; r: 0.8; }
}

/* Header ship + logo group */
.logo-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    cursor: pointer;
}

.logo-ship {
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(128, 207, 255, 0.2));
    transition: transform 0.5s ease, filter 0.5s ease;
}

.logo-group:hover .logo-ship {
    transform: translateY(-4px);
    filter: drop-shadow(0 0 14px rgba(128, 207, 255, 0.5));
}

/* Tagline sub — AI Native badge line */
.tagline-sub {
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    color: rgba(255, 215, 0, 0.4);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 6px;
    transition: color 0.3s;
}

header:hover .tagline-sub {
    color: rgba(255, 215, 0, 0.65);
}

/* Footer ship */
.footer-ship {
    display: block;
    margin: 0 auto 12px;
    opacity: 0.4;
    filter: grayscale(0.5);
}

/* ═══════════════════════════════════════════ */
/* RETRO-FUTURISM ACCENTS                      */
/* Section dividers & AI-era subtle touches    */
/* ═══════════════════════════════════════════ */

/* Dashboard — Worldly news ticker feel */
.dashboard {
    position: relative;
}

.dashboard::before {
    content: 'MARKET · WEATHER · STATUS';
    position: absolute;
    top: -18px;
    left: 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
}

/* Section titles — retro accent underline */
.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--event-gold);
    margin-top: 8px;
    opacity: 0.4;
}

/* Word banner — add subtle orbital decoration */
.word-banner::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -80px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* AI-native data flow hint on cards */
.featured-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 71, 171, 0.3),
        rgba(255, 215, 0, 0.2),
        rgba(0, 71, 171, 0.3),
        transparent
    );
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.featured-news {
    position: relative;
}

/* Picks card — constellation dots in background */
.picks-card::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 4px;
    height: 4px;
    background: rgba(255, 215, 0, 0.15);
    border-radius: 50%;
    box-shadow:
        30px -15px 0 rgba(0, 71, 171, 0.12),
        65px -8px 0 rgba(255, 215, 0, 0.1),
        45px -30px 0 rgba(200, 200, 255, 0.08),
        80px -25px 0 rgba(255, 215, 0, 0.06);
}

/* Food feature — warm glow top border for inviting feel */
.food-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--accent-warm),
        var(--event-gold),
        var(--accent-warm)
    );
    opacity: 0.5;
    z-index: 5;
}

/* Reduce cosmos on mobile for performance */
@media (max-width: 768px) {
    .orbit-ring { display: none; }
    .constellation-line { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .stars-layer,
    .orbit-ring,
    .engine-glow,
    .antenna-blink { animation: none; }
    .logo-group:hover .logo-ship { transform: none; }
}

/* ═══════════════════════════════════════════ */
/* ICAN ACADEMY — Knowledge Layer Learning     */
/* ═══════════════════════════════════════════ */

/* Learn Button on News Cards */
.learn-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary), #002e6e);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Rajdhani', 'Outfit', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 10px;
}

.learn-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 71, 171, 0.4);
}

.learn-btn .learn-icon {
    font-size: 13px;
}

.learn-btn-compact {
    padding: 7px 12px;
    font-size: 0.58rem;
    letter-spacing: 2px;
}

.learn-btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--text);
}

.learn-btn-secondary:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--primary-light);
}

/* Channel-style briefing and learning entry points */
.today-brief {
    margin: 28px 0 42px;
    padding: 28px 30px 32px;
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.today-brief-heading {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: end;
    margin-bottom: 24px;
}

.section-kicker,
.cover-learning-kicker,
.brief-label,
.learning-track-eyebrow,
.study-key-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-light);
}

.today-brief-title {
    margin-top: 8px;
    font-family: Georgia, "Times New Roman", "Noto Serif KR", "Apple Myungjo", "Batang", serif;
    font-size: 2rem;
    line-height: 1.12;
    letter-spacing: 0;
    color: var(--text);
}

.today-brief-copy {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.7;
    max-width: 44ch;
}

.brief-grid,
.learning-track-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.brief-card,
.learning-track-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    min-height: 100%;
}

.brief-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.brief-card:hover,
.learning-track-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.brief-card-top,
.learning-track-top,
.brief-actions,
.cover-learning-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.brief-level,
.learning-track-badge,
.study-pill,
.brief-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 600;
}

.brief-card h3,
.learning-track-card h3 {
    font-size: 1.1rem;
    line-height: 1.35;
    color: var(--text);
}

.brief-card p,
.learning-track-card p,
.cover-learning-summary p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

.brief-phrases,
.article-phrase-row,
.cover-learning-levels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.phrase-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 71, 171, 0.12);
    border: 1px solid rgba(0, 71, 171, 0.2);
    color: #c9dcff;
    font-size: 0.76rem;
    line-height: 1;
}

.phrase-chip.is-quiet {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    color: var(--text-secondary);
}

.brief-actions {
    margin-top: auto;
    padding-top: 2px;
}

.cover-learning-strip {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
    gap: 22px;
    padding: 22px 24px;
    margin-bottom: 24px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
}

.herald-cover-note {
    max-width: none;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    gap: 24px;
    padding: 8px 0 0;
}

.herald-cover-note p {
    font-family: Georgia, "Times New Roman", "Noto Serif KR", "Apple Myungjo", serif;
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.cover-learning-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cover-learning-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.article-study-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0 8px;
}

.study-pill {
    color: var(--primary-light);
    background: rgba(0, 71, 171, 0.12);
    border-color: rgba(0, 71, 171, 0.18);
}

.learning-track {
    margin-top: 10px;
}

.learning-track-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.learning-track-article {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.5;
}

.learning-track-actions {
    margin-top: auto;
}

@media (max-width: 1080px) {
    .today-brief-heading,
    .cover-learning-strip,
    .featured-news {
        grid-template-columns: 1fr;
    }

    .brief-grid,
    .learning-track-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Academy Overlay */
.academy-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    z-index: 5000;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.academy-overlay.active {
    display: block;
    animation: academyFadeIn 0.3s ease;
}

@keyframes academyFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Academy Panel */
.academy-panel {
    max-width: 780px;
    margin: 0 auto;
    padding: 30px 24px 60px;
    min-height: 100vh;
}

/* Academy Top Bar */
.academy-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(8px);
    z-index: 10;
}

.academy-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.academy-back-btn {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.academy-back-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.academy-brand {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-light);
}

.academy-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Level Selector */
.academy-level-selector {
    display: flex;
    align-items: center;
    gap: 6px;
}

.academy-level-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
}

.academy-level-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.academy-level-dot:hover {
    border-color: var(--primary-light);
}

.academy-level-dot.active {
    border-color: var(--primary-light);
    background: rgba(0, 71, 171, 0.2);
    color: var(--primary-light);
}

/* Article Header in Academy */
.academy-article-header {
    margin-bottom: 32px;
}

.academy-article-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.academy-article-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

body.lang-kr .academy-article-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.7rem;
    letter-spacing: -1px;
}

.academy-article-summary {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-family: 'Georgia', serif;
}

body.lang-kr .academy-article-summary {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1rem;
}

.academy-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.academy-section-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--primary);
}

/* Knowledge Layers */
.knowledge-layer {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.knowledge-layer:hover {
    border-color: var(--border-light);
}

.knowledge-layer.open {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 71, 171, 0.15);
}

.layer-locked {
    opacity: 0.35;
    pointer-events: none;
}

/* Layer Header */
.kl-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.kl-header:hover {
    background: var(--card-bg-hover);
}

.kl-depth {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0;
}

.kl-depth-1 { background: rgba(0, 200, 83, 0.12); color: var(--success); border: 2px solid var(--success); }
.kl-depth-2 { background: rgba(41, 121, 255, 0.12); color: var(--economy-blue); border: 2px solid var(--economy-blue); }
.kl-depth-3 { background: rgba(255, 215, 0, 0.12); color: var(--event-gold); border: 2px solid var(--event-gold); }
.kl-depth-4 { background: rgba(170, 0, 255, 0.12); color: var(--culture-purple); border: 2px solid var(--culture-purple); }

.kl-info { flex: 1; }

.kl-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.kl-subtitle {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 2px;
}

.kl-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.kl-arrow {
    color: var(--muted);
    font-size: 14px;
    transition: transform 0.3s;
}

.knowledge-layer.open .kl-arrow {
    transform: rotate(90deg);
    color: var(--primary-light);
}

/* Layer Body */
.kl-body {
    display: none;
    padding: 0 20px 24px 70px;
}

.knowledge-layer.open .kl-body {
    display: block;
    animation: klBodyIn 0.3s ease;
}

@keyframes klBodyIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.kl-text {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

body.lang-kr .kl-text {
    font-family: 'Noto Sans KR', sans-serif;
}

.kl-text .kw {
    display: inline;
    background: rgba(0, 71, 171, 0.15);
    color: var(--primary-light);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
    border-bottom: 1px dashed var(--primary-light);
}

.kl-learn-map {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.kl-learn-block,
.kl-task {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
}

.kl-learn-label,
.kl-task-label {
    margin-bottom: 8px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-light);
}

.kl-learn-block p,
.kl-task p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Bilingual Block */
.kl-bilingual {
    margin-top: 16px;
    padding: 14px 18px;
    background: rgba(0, 71, 171, 0.06);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.kl-bilingual .kl-en {
    font-size: 0.9rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.5;
}

.kl-bilingual .kl-kr {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
    font-family: 'Noto Sans KR', sans-serif;
}

/* Vocab Chips */
.kl-vocab {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kl-vocab-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.78rem;
    cursor: default;
    transition: all 0.2s;
}

.kl-vocab-chip:hover {
    border-color: var(--primary);
    background: rgba(0, 71, 171, 0.08);
}

.kl-vocab-chip .vw {
    font-weight: 700;
    color: var(--primary-light);
}

.kl-vocab-chip .vm {
    color: var(--muted);
    font-family: 'Noto Sans KR', sans-serif;
}

/* Quiz */
.kl-quiz {
    margin-top: 18px;
    padding: 18px;
    background: rgba(255, 62, 0, 0.04);
    border: 1px solid rgba(255, 62, 0, 0.15);
    border-radius: var(--radius-md);
}

.kl-quiz-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 10px;
}

.kl-quiz-q {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.kl-quiz-opts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kl-quiz-opt {
    padding: 11px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text);
}

.kl-quiz-opt:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-light);
}

.kl-quiz-opt.correct {
    background: rgba(0, 200, 83, 0.12);
    border-color: var(--success);
    color: var(--success);
}

.kl-quiz-opt.wrong {
    background: rgba(255, 23, 68, 0.08);
    border-color: var(--security-red);
    color: var(--security-red);
}

.kl-task-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.kl-task {
    background: rgba(255, 215, 0, 0.04);
    border-color: rgba(255, 215, 0, 0.16);
}

.kl-task-writing {
    background: rgba(0, 71, 171, 0.06);
    border-color: rgba(0, 71, 171, 0.18);
}

.kl-task-debate {
    margin-top: 12px;
    background: rgba(170, 0, 255, 0.06);
    border-color: rgba(170, 0, 255, 0.18);
}

.kl-task-vocab {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Progress */
.kl-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.kl-progress-bar-bg {
    flex: 1;
    height: 5px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.kl-progress-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: width 0.5s ease;
}

.kl-progress-label {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 600;
    min-width: 80px;
    text-align: right;
}

/* Insight Box */
.academy-insight {
    margin-top: 28px;
    padding: 22px;
    background: linear-gradient(135deg, rgba(0, 71, 171, 0.08), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(0, 71, 171, 0.2);
    border-radius: var(--radius-md);
}

.academy-insight h4 {
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.academy-insight p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

body.lang-kr .academy-insight p {
    font-family: 'Noto Sans KR', sans-serif;
}

/* ═══════════════════════════════════════════ */
/* PAUL-SAM Q&A Chat                           */
/* ═══════════════════════════════════════════ */

.paul-qa {
    margin-top: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--card-bg);
}

.paul-qa-header {
    padding: 18px 22px;
    background: linear-gradient(135deg, #0047ab, #002e6e);
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.paul-qa-header::after {
    content: 'Q&A';
    position: absolute;
    right: 20px;
    top: -8px;
    font-size: 5rem;
    font-weight: 900;
    opacity: 0.04;
    pointer-events: none;
    color: #fff;
}

.paul-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #3b82f6;
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.paul-qa-header-info h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.paul-qa-header-info p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.3;
}

.paul-qa-body {
    padding: 20px;
}

/* Chat Messages */
.paul-messages {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 4px;
    margin-bottom: 16px;
}

.paul-msg {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    animation: msgIn 0.3s ease;
}

@keyframes msgIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.paul-msg.from-paul {
    flex-direction: row;
}

.paul-msg.from-user {
    flex-direction: row-reverse;
}

.paul-msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.paul-msg.from-paul .paul-msg-avatar {
    background: #3b82f6;
    border: 1px solid rgba(59,130,246,0.3);
}

.paul-msg.from-user .paul-msg-avatar {
    background: var(--accent);
    border: 1px solid rgba(255,62,0,0.3);
}

.paul-msg-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    line-height: 1.65;
}

.paul-msg.from-paul .paul-msg-bubble {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-top-left-radius: 4px;
    color: var(--text-secondary);
}

.paul-msg.from-user .paul-msg-bubble {
    background: rgba(0, 71, 171, 0.15);
    border: 1px solid rgba(0, 71, 171, 0.25);
    border-top-right-radius: 4px;
    color: var(--text);
}

.paul-msg-bubble .kw {
    display: inline;
    background: rgba(0, 71, 171, 0.15);
    color: var(--primary-light);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.paul-msg-name {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

/* Typing Indicator */
.paul-typing {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}

.paul-typing.active {
    display: flex;
}

.paul-typing-dots {
    display: flex;
    gap: 4px;
}

.paul-typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--muted);
    animation: typingDot 1.2s infinite;
}

.paul-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.paul-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1); }
}

.paul-typing-label {
    font-size: 0.72rem;
    color: var(--muted);
    font-style: italic;
}

/* Input Area */
.paul-input-area {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.paul-input {
    flex: 1;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--text);
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    resize: none;
    min-height: 44px;
    max-height: 100px;
    line-height: 1.4;
    transition: border-color 0.2s;
}

.paul-input::placeholder {
    color: var(--muted);
}

.paul-input:focus {
    outline: none;
    border-color: var(--primary);
}

.paul-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.paul-send-btn:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

.paul-send-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* Suggested Questions */
.paul-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.paul-suggestion {
    padding: 8px 14px;
    background: rgba(0, 71, 171, 0.08);
    border: 1px solid rgba(0, 71, 171, 0.2);
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--primary-light);
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
}

.paul-suggestion:hover {
    background: rgba(0, 71, 171, 0.18);
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* Academy Responsive */
@media (max-width: 768px) {
    .academy-panel { padding: 16px 14px 40px; }
    .academy-article-title { font-size: 1.5rem; }
    body.lang-kr .academy-article-title { font-size: 1.35rem; }
    .kl-body { padding: 0 14px 18px 52px; }
    .kl-learn-map { grid-template-columns: 1fr; }
    .kl-task-grid { grid-template-columns: 1fr; }
    .academy-topbar-right { gap: 6px; }
    .academy-level-label { display: none; }
    .kl-vocab { gap: 6px; }
    .kl-vocab-chip { padding: 5px 10px; font-size: 0.72rem; }
    .today-brief { padding: 22px 18px 24px; }
    .today-brief-heading,
    .cover-learning-strip,
    .featured-news { grid-template-columns: 1fr; }
    .herald-cover-note { grid-template-columns: 1fr; }
    .today-brief-title { font-size: 1.55rem; }
    .brief-grid,
    .learning-track-grid,
    .news-grid,
    .travel-grid { grid-template-columns: 1fr; }
    .news-card { flex-direction: column; }
    .news-thumb { width: 100%; min-width: 0; }
    .cover-learning-strip { padding: 18px; }
    .brief-card,
    .learning-track-card { padding: 18px; }
    .article-study-meta { align-items: flex-start; }
    .learn-btn-secondary { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════ */
/* NYT HEADER — MOBILE RESPONSIVE             */
/* ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .nyt-nameplate {
        font-size: 2rem;
        letter-spacing: 6px;
    }
    .nyt-meta-motto { font-size: 0.65rem; display: none; }
    .nyt-meta-left, .nyt-meta-right { font-size: 0.6rem; }
    .nyt-masthead-meta { padding: 4px 0; }

    .nyt-section-links {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        padding: 0 10px;
    }
    .nyt-section-links::-webkit-scrollbar { display: none; }
    .nyt-section-links a {
        padding: 8px 14px;
        font-size: 0.62rem;
        letter-spacing: 1px;
        white-space: nowrap;
    }

    .nyt-utility-inner { padding: 0 15px; }
    .nyt-dateline-compact { font-size: 0.62rem; }

    .container { padding: 20px 15px 40px; }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
    }
    .mobile-menu-btn span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--muted);
        transition: 0.3s;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn { display: none; }
}
