@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;900&display=swap');

/* ═══════════════════════════════════════════════════════════
   Founders Korea — Redesigned Design System
   Primary: Deep Trust Blue #1B365D
   Secondary: Growth Teal #0D7377
   Accent: Warm Gold #D4A853
   ═══════════════════════════════════════════════════════════ */

:root {
    /* Core palette */
    --primary: #1B365D;
    --primary-dark: #142847;
    --primary-light: #2A4A7A;
    --secondary: #0D7377;
    --secondary-dark: #0A5C5F;
    --secondary-light: #109BA0;
    --accent: #D4A853;
    --accent-dark: #B8903D;
    --accent-light: #F5ECD7;

    /* Neutrals */
    --text: #1A1A2E;
    --text-secondary: #5A6272;
    --text-tertiary: #8B92A0;
    --border: #E2E5EA;
    --border-light: #EEF0F3;
    --bg: #FFFFFF;
    --bg-secondary: #F7F8FA;
    --surface: #FFFFFF;
    --surface-hover: #F2F4F7;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(27, 54, 93, 0.06);
    --shadow-md: 0 4px 16px rgba(27, 54, 93, 0.08);
    --shadow-lg: 0 8px 32px rgba(27, 54, 93, 0.12);
    --shadow-hover: 0 8px 24px rgba(27, 54, 93, 0.10);

    /* Radii */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;

    /* Status colors */
    --status-urgent: #DC2626;
    --status-warn: #D97706;
    --status-success: #059669;
    --status-info: #2563EB;
    --status-muted: #7C3AED;
}

/* ─── Reset ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ─── Base ─── */
body {
    font-family: 'Noto Sans KR', 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-secondary);
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    word-break: keep-all;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--secondary-dark);
}

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

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
}

.logo span {
    color: var(--secondary);
}

/* Desktop nav */
nav.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}

nav.desktop-nav a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0 1rem;
    height: 64px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

nav.desktop-nav a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

nav.desktop-nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Category nav indicators — unified to primary */
nav.desktop-nav a[data-cat="startup"],
nav.desktop-nav a[data-cat="gov-support"],
nav.desktop-nav a[data-cat="investment"],
nav.desktop-nav a[data-cat="know-how"],
nav.desktop-nav a[data-cat="networking"] {
    --nav-color: var(--primary);
}

nav.desktop-nav a[data-cat]:hover,
nav.desktop-nav a[data-cat].active {
    border-bottom-color: var(--primary);
    color: var(--primary);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
    border-radius: 1px;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface);
    z-index: 99;
    padding: 1.5rem 2rem;
    overflow-y: auto;
}

.mobile-nav.open { display: block; }

.mobile-nav a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav a:last-child { border-bottom: none; }

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════
   CONTAINERS
   ═══════════════════════════════════════════════════════════ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════
   HERO — 2-column layout with bg image support
   ═══════════════════════════════════════════════════════════ */
.hero {
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero--split {
    text-align: left;
    padding: 4rem 0;
}

.hero--split .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.hero--split .hero-media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.hero--split .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.hero--bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero--bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.92) 0%, rgba(13, 115, 119, 0.85) 100%);
    z-index: 1;
}

.hero--bg .container {
    position: relative;
    z-index: 2;
}

.hero--bg h1,
.hero--bg p {
    color: #FFFFFF;
}

.hero--bg p {
    opacity: 0.9;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: var(--text);
    line-height: 1.3;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.75;
}

.hero--split p {
    margin: 0;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.hero-visual {
    position: relative;
    min-height: 200px;
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--primary);
}

.section-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    padding-left: 0.75rem;
    border-left: 3px solid var(--accent);
}

.section-header a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.section-header a:hover {
    color: var(--secondary);
}

/* ═══════════════════════════════════════════════════════════
   CARD GRID
   ═══════════════════════════════════════════════════════════ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

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

/* ═══════════════════════════════════════════════════════════
   POST CARD — Clean white, subtle shadow, hover lift
   ═══════════════════════════════════════════════════════════ */
.post-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    color: var(--text);
}

.post-card:hover {
    box-shadow: 0 8px 24px rgba(27, 54, 93, 0.12);
    transform: translateY(-3px);
    color: var(--text);
}

/* Remove old data-cat border overrides — cards are now uniform */
.post-card[data-cat="startup"],
.post-card[data-cat="gov-support"],
.post-card[data-cat="investment"],
.post-card[data-cat="know-how"],
.post-card[data-cat="networking"] {
    border-left: 1px solid var(--border);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

.read-time {
    font-size: 0.72rem;
    color: var(--text-tertiary);
}

/* ─── Badges — unified palette ─── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge-cat {
    background: rgba(13, 115, 119, 0.08);
    color: var(--secondary);
}

/* Category badges — all use the primary/secondary palette now */
.badge-startup {
    background: rgba(27, 54, 93, 0.08);
    color: var(--primary);
}

.badge-gov-support {
    background: rgba(13, 115, 119, 0.08);
    color: var(--secondary);
}

.badge-investment {
    background: rgba(212, 168, 83, 0.12);
    color: var(--accent-dark);
}

.badge-know-how {
    background: rgba(27, 54, 93, 0.06);
    color: var(--primary-light);
}

.badge-networking {
    background: rgba(13, 115, 119, 0.06);
    color: var(--secondary-light);
}

.tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
}

.post-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    line-height: 1.45;
    color: var(--text);
}

.post-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    flex-grow: 1;
}

.post-card .post-date {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* ═══════════════════════════════════════════════════════════
   CATEGORY SECTION
   ═══════════════════════════════════════════════════════════ */
.category-section {
    margin-bottom: 4rem;
}

/* ═══════════════════════════════════════════════════════════
   GOV WIDGET — Solid navy background, white text
   ═══════════════════════════════════════════════════════════ */
.gov-widget {
    background: var(--primary);
    border: none;
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    margin-bottom: 4rem;
    text-align: center;
    color: #FFFFFF;
}

.gov-widget h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.gov-widget p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.gov-widget .btn-primary,
.gov-widget .btn-accent {
    background: var(--accent);
    color: var(--primary-dark);
}

.gov-widget .btn-primary:hover,
.gov-widget .btn-accent:hover {
    background: var(--accent-dark);
    color: #FFFFFF;
}

.gov-widget-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    text-align: left;
}

.gov-widget-text {
    flex: 1;
}

.gov-widget-text h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.gov-widget-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.gov-widget-cta {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-xs);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(27, 54, 93, 0.25);
}

.btn-secondary {
    background: var(--secondary);
    color: #FFFFFF;
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    color: #FFFFFF;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(27, 54, 93, 0.05);
    color: var(--primary);
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

.btn-accent {
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(212, 168, 83, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.8);
}

/* ═══════════════════════════════════════════════════════════
   POST DETAIL
   ═══════════════════════════════════════════════════════════ */
.post-detail {
    padding: 2.5rem 0 4rem;
}

.post-detail .back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.post-detail .back:hover {
    color: var(--secondary);
}

.post-detail h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.35;
}

.post-detail .meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

/* Post content typography */
.post-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--text);
}

.post-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: var(--text);
}

.post-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.post-content ul,
.post-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.post-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.post-content strong {
    color: var(--text);
    font-weight: 700;
}

.post-content blockquote {
    border-left: 3px solid var(--primary);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    background: var(--bg-secondary);
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    color: var(--text-secondary);
}

.post-content pre {
    background: #1B2333;
    color: #D6DEEB;
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.85rem;
    line-height: 1.6;
}

.post-content code {
    background: var(--bg-secondary);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85em;
    color: var(--primary);
}

.post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* ═══════════════════════════════════════════════════════════
   SEARCH & FILTERS
   ═══════════════════════════════════════════════════════════ */
.search-bar {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 0.65rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--surface);
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.08);
}

.filter-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.filter-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    font-family: inherit;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════
   PROGRAM CARD (Gov Support)
   ═══════════════════════════════════════════════════════════ */
.program-card {
    display: block;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: var(--text);
}

.program-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    color: var(--text);
}

.program-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.program-card .org {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.program-card .program-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

/* Status badges */
.badge-urgent {
    background: rgba(220, 38, 38, 0.08);
    color: var(--status-urgent);
    font-weight: 700;
}

.badge-soon {
    background: rgba(217, 119, 6, 0.08);
    color: var(--status-warn);
    font-weight: 600;
}

.badge-normal {
    background: rgba(5, 150, 105, 0.08);
    color: var(--status-success);
}

.badge-closed {
    background: var(--bg-secondary);
    color: var(--text-tertiary);
}

.badge-status {
    background: rgba(13, 115, 119, 0.08);
    color: var(--secondary);
}

.badge-type {
    background: rgba(27, 54, 93, 0.08);
    color: var(--primary);
}

.badge-region {
    background: rgba(124, 58, 237, 0.08);
    color: var(--status-muted);
}

/* Program detail */
.program-detail {
    padding: 2.5rem 0 4rem;
}

.program-detail h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.program-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.info-item {
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.info-item .label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.info-item .value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

/* ═══════════════════════════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════════════════════════ */
.review-card {
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-header .nickname {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
}

.stars {
    color: var(--accent);
    font-size: 0.9rem;
}

.review-content {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.review-tip {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: var(--accent-light);
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    color: var(--accent-dark);
}

.review-tip::before {
    content: "💡 Tip: ";
    font-weight: 700;
}

/* Review form */
.review-form {
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 1.5rem;
}

.review-form h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

/* ═══════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════ */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--bg-secondary);
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.08);
    background: var(--surface);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Star rating input */
.star-rating {
    display: flex;
    gap: 0.25rem;
    direction: rtl;
    justify-content: flex-end;
}

.star-rating input { display: none; }

.star-rating label {
    font-size: 1.5rem;
    color: var(--border);
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   ONBOARDING / QUIZ
   ═══════════════════════════════════════════════════════════ */
.quiz-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.quiz-progress {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.quiz-progress .step {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    transition: background 0.3s;
}

.quiz-progress .step.active {
    background: var(--primary);
}

.quiz-progress .step.done {
    background: var(--secondary);
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
}

.quiz-step h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.quiz-step p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.quiz-options {
    display: grid;
    gap: 0.75rem;
}

.quiz-option {
    display: block;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    color: var(--text);
}

.quiz-option:hover {
    border-color: var(--primary);
    background: rgba(27, 54, 93, 0.04);
}

.quiz-option.selected {
    border-color: var(--primary);
    background: rgba(27, 54, 93, 0.06);
    color: var(--primary);
}

.quiz-option input { display: none; }

.quiz-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

/* Match results */
.match-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.match-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.match-score {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: #FFFFFF;
}

.match-score.high { background: var(--secondary); }
.match-score.medium { background: var(--accent); color: var(--primary-dark); }
.match-score.low { background: var(--text-tertiary); }

.match-info { flex: 1; }
.match-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--text); }
.match-info p { font-size: 0.85rem; color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════════
   APPLICATION KIT
   ═══════════════════════════════════════════════════════════ */
.kit-checklist {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.kit-checklist h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.kit-checklist ul { list-style: none; padding: 0; }

.kit-checklist li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.kit-checklist li:last-child { border-bottom: none; }

.kit-checklist .check {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s;
}

.kit-checklist .check.checked {
    background: var(--secondary);
    border-color: var(--secondary);
}

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════ */
.about {
    padding: 3rem 0 4rem;
}

.about h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.about p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.about h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--text);
}

.about ul {
    list-style: none;
    padding: 0;
}

.about ul li {
    padding: 0.6rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.about ul li:last-child { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════
   FOOTER — Dark navy
   ═══════════════════════════════════════════════════════════ */
footer {
    margin-top: auto;
    background: var(--primary);
    border-top: none;
    padding: 3.5rem 0 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
}

.footer-brand .logo span {
    color: var(--accent);
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #FFFFFF;
}

.footer-company {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.75rem;
    font-size: 0.75rem;
}

.footer-legal a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.2s;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════════════════ */
.not-found {
    padding: 6rem 0;
    text-align: center;
}

.not-found h1 {
    font-size: 5rem;
    font-weight: 800;
    color: var(--border);
    margin-bottom: 0.5rem;
}

.not-found p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* ═══════════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════════ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.75rem;
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.pagination a {
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.pagination a:hover {
    background: rgba(27, 54, 93, 0.05);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .current {
    background: var(--primary);
    color: #FFFFFF;
    border: 1px solid var(--primary);
}

/* ═══════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════ */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero--split .container { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    nav.desktop-nav { display: none; }

    .hero h1 { font-size: 1.75rem; }
    .hero { padding: 3rem 0 2rem; }

    .hero--split .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero--split .hero-media {
        order: -1;
        max-height: 280px;
    }

    .hero--split p {
        margin: 0 auto;
    }

    .card-grid { grid-template-columns: 1fr; }
    .card-grid-2 { grid-template-columns: 1fr; }

    .program-info-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

    .container, .container-narrow { padding: 0 1rem; }
    .header-inner { padding: 0 1rem; }

    .post-detail h1 { font-size: 1.75rem; }

    .category-section { margin-bottom: 3rem; }

    .gov-widget { padding: 2rem 1.5rem; }

    .gov-widget-inner {
        flex-direction: column;
        text-align: center;
    }

    .gov-widget-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-visual {
        display: none;
    }
}

@media (max-width: 480px) {
    .search-bar { flex-direction: column; }
    .filter-group { flex-direction: column; }

    .hero h1 { font-size: 1.5rem; }

    .match-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════
   NEWSPAPER LAYOUT — 2-column main + sidebar
   ═══════════════════════════════════════════════════════════ */

/* News Ticker */
.news-ticker {
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 40px;
    font-size: 0.82rem;
}

.ticker-label {
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 800;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.ticker-track {
    overflow: hidden;
    flex: 1;
}

.ticker-items {
    display: flex;
    animation: ticker-scroll 40s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    color: rgba(255,255,255,0.9);
    padding: 0 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.ticker-item:hover { color: var(--accent); }

.ticker-tag {
    background: rgba(255,255,255,0.15);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 2-column layout */
.newspaper-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    margin-top: 1.5rem;
}

.main-content { min-width: 0; }

/* ─── Hero News: 1 large + 3 side ─── */
.hero-news {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 2rem;
}

.hero-main { background: var(--surface); }

.hero-card {
    display: block;
    padding: 2rem;
    color: var(--text);
    height: 100%;
}

.hero-card:hover { color: var(--text); }

.hero-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hero-card h1 {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0.75rem 0;
    letter-spacing: -0.02em;
}

.hero-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    flex-grow: 1;
}

.hero-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 1rem;
}

.hero-side {
    display: flex;
    flex-direction: column;
    background: var(--surface);
}

.hero-side-item {
    flex: 1;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    display: block;
    transition: background 0.15s;
}

.hero-side-item:last-child { border-bottom: none; }
.hero-side-item:hover { background: var(--bg-secondary); color: var(--text); }

.hero-side-item h3 {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0.35rem 0 0.25rem;
}

.hero-side-item p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ─── News Section ─── */
.news-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.news-section:last-child {
    border-bottom: none;
}

/* ─── Horizontal Cards ─── */
.horizontal-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.card-horizontal {
    display: block;
    padding: 1rem 1.25rem;
    background: var(--surface);
    color: var(--text);
    transition: background 0.15s;
}

.card-horizontal:hover { background: var(--bg-secondary); color: var(--text); }

.card-h-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.card-horizontal h3 {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.3rem;
}

.card-horizontal p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.card-date {
    font-size: 0.72rem;
    color: var(--text-tertiary);
}

/* ─── Mixed Grid: 1 large + headline list ─── */
.mixed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.card-large {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--surface);
    color: var(--text);
    transition: background 0.15s;
}

.card-large:hover { background: var(--bg-secondary); color: var(--text); }

.card-large h3 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0.5rem 0;
}

.card-large p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.card-meta-bottom {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 0.75rem;
}

.headline-list {
    display: flex;
    flex-direction: column;
    background: var(--surface);
}

.headline-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    transition: background 0.15s;
}

.headline-item:last-child { border-bottom: none; }
.headline-item:hover { background: var(--bg-secondary); color: var(--text); }

.hl-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
    width: 1.5rem;
    text-align: center;
}

.headline-item h4 {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.15rem;
}

/* ─── Compact Grid (3-column small cards) ─── */
.compact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.card-compact {
    display: block;
    padding: 1rem;
    background: var(--surface);
    color: var(--text);
    transition: background 0.15s;
}

.card-compact:hover { background: var(--bg-secondary); color: var(--text); }

.card-c-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.card-compact h3 {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.card-compact p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ─── Headline List Full Width ─── */
.headline-list-full {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.headline-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    transition: background 0.15s;
}

.headline-row:last-child { border-bottom: none; }
.headline-row:hover { background: var(--bg-secondary); color: var(--text); }

.headline-row h4 {
    font-size: 0.9rem;
    font-weight: 600;
    flex: 1;
}

.hl-meta {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    flex-shrink: 0;
    white-space: nowrap;
}

/* ─── Banner Slots ─── */
.banner-slot { margin-bottom: 1.5rem; }

.banner-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 0.85rem;
}

.banner-placeholder strong {
    font-weight: 700;
}

.banner-wide {
    padding: 1rem 2rem;
}

.banner-sidebar {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    text-align: center;
    min-height: 200px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text);
}

.banner-sidebar strong {
    font-size: 1rem;
    color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════════ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 80px;
    height: fit-content;
    align-self: start;
}

.sidebar-widget {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
}

.widget-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 0.75rem;
}

/* Gov widget (navy) */
.widget-gov {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    text-align: center;
}

.widget-gov h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.widget-gov p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Trending */
.trending-list { display: flex; flex-direction: column; }

.trending-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
}

.trending-item:last-child { border-bottom: none; }
.trending-item:hover { color: var(--secondary); }

.trending-rank {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    width: 1.5rem;
    text-align: center;
    flex-shrink: 0;
    line-height: 1.4;
}

.trending-cat {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.trending-item h4 {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
}

/* Newsletter */
.widget-newsletter {
    background: var(--bg-secondary);
    border-color: var(--border);
    text-align: center;
}

.widget-newsletter h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.widget-newsletter p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.nl-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 0.82rem;
    font-family: inherit;
    margin-bottom: 0.5rem;
    background: var(--surface);
}

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

/* Events */
.event-list { display: flex; flex-direction: column; gap: 0.5rem; }

.event-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.event-date-box {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: var(--radius-xs);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.event-month {
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.event-day {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.event-item h4 {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.1rem;
}

.event-loc {
    font-size: 0.7rem;
    color: var(--text-tertiary);
}

/* Category nav in sidebar */
.cat-nav-list { display: flex; flex-direction: column; }

.cat-nav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 500;
}

.cat-nav-item:last-child { border-bottom: none; }
.cat-nav-item:hover { color: var(--secondary); }

.cat-count {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    background: var(--bg-secondary);
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
}

/* ─── Newspaper Responsive ─── */
@media (max-width: 1024px) {
    .newspaper-layout {
        grid-template-columns: 1fr 280px;
        gap: 1.5rem;
    }
    .compact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .newspaper-layout {
        grid-template-columns: 1fr;
    }

    .hero-news {
        grid-template-columns: 1fr;
    }

    .horizontal-list { grid-template-columns: 1fr; }
    .mixed-grid { grid-template-columns: 1fr; }
    .compact-grid { grid-template-columns: 1fr; }

    .news-ticker { font-size: 0.75rem; }

    .banner-placeholder {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 0.75rem 1rem;
    }

    .sidebar { margin-top: 2rem; position: static; }
}

@media (max-width: 480px) {
    .hero-card h1 { font-size: 1.25rem; }
    .hero-card { padding: 1.25rem; }

    .sidebar {
        position: static;
    }
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS — Dynamic page feel
   ═══════════════════════════════════════════════════════════ */

/* Fade in on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply to sections */
.hero-news {
    animation: fadeIn 0.3s ease-out;
}

.news-section {
    animation: fadeInUp 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.news-section:nth-child(2) { animation-delay: 0.05s; }
.news-section:nth-child(3) { animation-delay: 0.1s; }
.news-section:nth-child(4) { animation-delay: 0.15s; }
.news-section:nth-child(5) { animation-delay: 0.2s; }
.news-section:nth-child(6) { animation-delay: 0.25s; }

.sidebar-widget {
    animation: slideInRight 0.35s ease-out both;
}

.sidebar-widget:nth-child(1) { animation-delay: 0.1s; }
.sidebar-widget:nth-child(2) { animation-delay: 0.2s; }
.sidebar-widget:nth-child(3) { animation-delay: 0.3s; }
.sidebar-widget:nth-child(4) { animation-delay: 0.4s; }
.sidebar-widget:nth-child(5) { animation-delay: 0.5s; }
.sidebar-widget:nth-child(6) { animation-delay: 0.6s; }
.sidebar-widget:nth-child(7) { animation-delay: 0.7s; }

.banner-slot {
    animation: fadeIn 0.3s ease-out both;
    animation-delay: 0.3s;
}

/* Hover micro-interactions */
.card-horizontal,
.card-compact,
.card-large,
.headline-item,
.headline-row,
.trending-item,
.hero-side-item {
    transition: background 0.15s ease, transform 0.15s ease;
}

.post-card,
.program-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Pulse animation for live elements */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.ticker-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    margin-right: 0.4rem;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Category list page animations */
.card-grid .post-card {
    animation: fadeInUp 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.card-grid .post-card:nth-child(1) { animation-delay: 0s; }
.card-grid .post-card:nth-child(2) { animation-delay: 0.05s; }
.card-grid .post-card:nth-child(3) { animation-delay: 0.1s; }
.card-grid .post-card:nth-child(4) { animation-delay: 0.15s; }
.card-grid .post-card:nth-child(5) { animation-delay: 0.2s; }
.card-grid .post-card:nth-child(6) { animation-delay: 0.25s; }

/* Post detail page animation */
.post-detail {
    animation: fadeIn 0.3s ease-out;
}

/* Quiz animation */
.quiz-container {
    animation: fadeInUp 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.quiz-option {
    transition: all 0.2s ease;
}

.quiz-option:hover {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════
   MOBILE BOTTOM TAB BAR
   ═══════════════════════════════════════════════════════════ */
/* Mobile Bottom Tab Bar */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    z-index: 1000;
    padding: 0.4rem 0 env(safe-area-inset-bottom, 0.3rem);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
}
.mobile-bottom-nav .bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 480px;
    margin: 0 auto;
}
.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-decoration: none;
    padding: 0.3rem 0.5rem;
    transition: color 0.15s;
}
.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover {
    color: var(--primary);
}
.mobile-bottom-nav svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
}
@media (max-width: 768px) {
    .mobile-bottom-nav { display: block; }
    main { padding-bottom: 70px; }
}

/* ═══════════════════════════════════════════════════════════
   SKELETON LOADING
   ═══════════════════════════════════════════════════════════ */
.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--border-light) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}
@keyframes shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════════
   CYCLE 1 HOMEPAGE REDESIGN
   ═══════════════════════════════════════════════════════════ */

/* ─── 1. Homepage Hero ─── */
.homepage-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 40%, var(--secondary-dark) 100%);
    padding: 5rem 0 4rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.homepage-hero .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.homepage-hero .hero-badge {
    display: inline-block;
    background: rgba(212, 168, 83, 0.2);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(212, 168, 83, 0.3);
}

.homepage-hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1rem;
}

.homepage-hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.hero-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent);
}

.hero-stat span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
}

.homepage-hero .hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0;
}

.homepage-hero .btn-accent {
    font-size: 1rem;
    padding: 0.85rem 2rem;
}

.homepage-hero .btn-outline-light {
    font-size: 1rem;
    padding: 0.85rem 2rem;
}

/* Hero decoration - abstract dots/circles */
.hero-decoration {
    width: 100%;
    height: 300px;
    position: relative;
    opacity: 0.3;
}

.hero-decoration::before,
.hero-decoration::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(212, 168, 83, 0.4);
}

.hero-decoration::before {
    width: 200px;
    height: 200px;
    top: 20px;
    right: 20px;
    animation: pulse 3s ease-in-out infinite;
}

.hero-decoration::after {
    width: 120px;
    height: 120px;
    bottom: 40px;
    left: 40px;
    border-color: rgba(255, 255, 255, 0.2);
    animation: pulse 3s ease-in-out infinite 1s;
}

/* ─── 2. Featured Section ─── */
.section-featured {
    padding: 3rem 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
}

.featured-main {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    min-height: 280px;
}

.featured-main:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--text);
}

.featured-main h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0.75rem 0 0.5rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.featured-main p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

.featured-main .card-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--text-tertiary);
}

.featured-side {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.featured-item {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    transition: background 0.15s ease;
}

.featured-item:last-child { border-bottom: none; }
.featured-item:hover { background: var(--surface-hover); color: var(--text); }

.featured-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0.4rem 0 0.25rem;
    line-height: 1.45;
}

.featured-item .card-date {
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

/* ─── 3. Category Sections ─── */
.section-category {
    padding: 2.5rem 0;
}

.section-category .card-grid {
    grid-template-columns: repeat(3, 1fr);
}

.section-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 1.25rem 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.section-cta p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

/* ─── 4. Split Section ─── */
.section-split {
    padding: 2.5rem 0;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.headline-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    transition: color 0.15s;
}

.headline-card:hover { color: var(--secondary); }

.headline-card .hl-num {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--accent);
    min-width: 1.5rem;
    line-height: 1.3;
}

.headline-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 0.2rem;
}

.headline-card .card-date {
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

/* ─── 5. Bottom Modules ─── */
.bottom-modules {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.modules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.module-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.module-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.module-card.module-gov {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.module-card.module-gov h3 {
    color: #fff;
}

.module-card.module-gov p {
    color: rgba(255,255,255,0.8);
}

/* ─── 5b. Section Info (Newsletter + Events + Gov DB) ─── */
.section-info {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.info-newsletter,
.info-events {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.info-newsletter h3,
.info-events h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.info-newsletter p,
.info-events p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.info-gov-db {
    background: var(--primary);
    border-radius: var(--radius);
    padding: 2rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-gov-db h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.info-gov-db p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.info-gov-db .btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 1024px) {
    .info-grid { grid-template-columns: 1fr; }
}

/* ─── 6. Bottom CTA ─── */
.bottom-cta {
    background: var(--primary);
    padding: 4rem 0;
    text-align: center;
    color: #fff;
}

.bottom-cta h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.bottom-cta p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* ─── 7. Nav CTA Button & Priority ─── */
.nav-cta {
    margin-left: 0.5rem;
}

nav.desktop-nav a.nav-priority {
    color: var(--secondary);
    font-weight: 700;
}

nav.desktop-nav a.nav-priority:hover,
nav.desktop-nav a.nav-priority.active {
    color: var(--secondary-dark);
    border-bottom-color: var(--secondary);
}

/* ─── 8. Responsive overrides for Cycle 1 homepage ─── */
@media (max-width: 1024px) {
    .homepage-hero .hero-grid { grid-template-columns: 1fr; }
    .hero-decoration { display: none; }
    .featured-grid { grid-template-columns: 1fr; }
    .split-grid { grid-template-columns: 1fr; gap: 2rem; }
    .modules-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .homepage-hero { padding: 3rem 0 2.5rem; }
    .homepage-hero h1 { font-size: 1.75rem; }
    .hero-stats { gap: 1.5rem; }
    .hero-stat strong { font-size: 1.25rem; }
    .section-category .card-grid { grid-template-columns: 1fr; }
    .section-cta { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════
   CYCLE 2 IMPROVEMENTS
   ═══════════════════════════════════════════════════════════ */

/* ─── Quick Search Widget ─── */
.quick-search {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
    margin-top: -1px;
}

.quick-search-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.quick-search-inner h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.quick-search-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.quick-search-form .search-input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s;
}

.quick-search-form .search-input:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.1);
}

.quick-search-tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.quick-search-tags a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.15s ease;
}

.quick-search-tags a:hover {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

/* ─── Trust Partners ─── */
.trust-partners {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.trust-label {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.trust-logo {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-tertiary);
    opacity: 0.6;
    transition: opacity 0.2s;
}

.trust-logo:hover {
    opacity: 1;
}

/* ─── Inline Testimonial ─── */
.testimonial-inline {
    text-align: center;
    flex: 1;
}

.testimonial-inline p {
    font-size: 0.92rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.testimonial-inline span {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.section-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

/* ─── Bottom CTA Stats ─── */
.bottom-cta-stats {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ─── Cycle 2 Responsive ─── */
@media (max-width: 768px) {
    .quick-search-form {
        flex-direction: column;
    }

    .quick-search-form .btn {
        width: 100%;
        padding: 0.75rem;
        font-size: 1rem;
    }

    .trust-logos {
        gap: 1.25rem;
    }

    .trust-logo {
        font-size: 0.75rem;
    }

    .section-cta {
        flex-direction: column;
        text-align: center;
    }

    .bottom-cta-stats {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    /* Larger touch targets for mobile CTAs */
    .homepage-hero .btn-lg,
    .bottom-cta .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.05rem;
        min-height: 48px;
    }
}

/* ═══════════════════════════════════════════════════════════
   CYCLE 3 — UNIQUE SECTION LAYOUTS
   ═══════════════════════════════════════════════════════════ */

/* ─── A. 정부지원 레이더 — Dashboard Grid ─── */
.section-radar {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.radar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.radar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    min-height: 160px;
    transition: all 0.2s ease;
    color: var(--text);
}

.radar-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 4px 16px rgba(13, 115, 119, 0.12);
    transform: translateY(-2px);
    color: var(--text);
}

.radar-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.radar-agency {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 600;
}

.radar-dday {
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.radar-card h3 {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 0.4rem;
    flex-grow: 1;
}

.radar-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.radar-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.6rem;
    border-top: 1px solid var(--border-light);
}

.radar-status {
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.radar-status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.radar-status-open { color: var(--status-success); }
.radar-status-open::before { background: var(--status-success); }
.radar-status-closing { color: var(--status-warn); }
.radar-status-closing::before { background: var(--status-warn); }
.radar-status-closed { color: var(--text-tertiary); }
.radar-status-closed::before { background: var(--text-tertiary); }

.radar-date {
    font-size: 0.72rem;
    color: var(--text-tertiary);
}

/* ─── B. 성장 플레이북 — Toolkit Horizontal Strip ─── */
.section-playbook {
    padding: 3rem 0;
}

.playbook-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.playbook-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 3px solid var(--secondary);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
    color: var(--text);
}

.playbook-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    color: var(--text);
}

.playbook-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.playbook-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.playbook-type {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
}

.playbook-level {
    font-size: 0.68rem;
    color: var(--text-tertiary);
    background: var(--bg-secondary);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}

.playbook-card h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 0.4rem;
}

.playbook-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ─── C. 최신 콘텐츠 — Editorial Featured ─── */
.section-editorial {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 1.5rem;
}

.editorial-main {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    color: var(--text);
    transition: all 0.2s ease;
}

.editorial-main:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    color: var(--text);
}

.editorial-main h3 {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin: 0.75rem 0 0.6rem;
}

.editorial-main p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.editorial-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--text-tertiary);
}

.editorial-author {
    font-weight: 600;
    color: var(--text-secondary);
}

.editorial-side {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.editorial-item {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    transition: background 0.15s;
}

.editorial-item:last-child { border-bottom: none; }
.editorial-item:hover { background: var(--surface-hover); color: var(--text); }

.editorial-item-cat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

.editorial-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 0.25rem;
}

.editorial-item p {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* ─── D. 성공 사례 — Magazine Asymmetric (65/35) ─── */
.section-cases {
    padding: 3rem 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 2rem;
}

.case-featured {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    color: var(--text);
    transition: all 0.2s ease;
}

.case-featured:hover {
    box-shadow: var(--shadow-lg);
    color: var(--text);
}

.case-featured h3 {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 0.75rem 0 1rem;
}

.case-featured blockquote {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-secondary);
    padding-left: 1.25rem;
    border-left: 3px solid var(--accent);
    margin: 0 0 1.25rem 0;
}

.case-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.case-avatar {
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.case-author strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text);
}

.case-author span {
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

.case-list {
    display: flex;
    flex-direction: column;
}

.case-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    transition: color 0.15s;
}

.case-item:last-child { border-bottom: none; }
.case-item:hover { color: var(--secondary); }

.case-item-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent);
    min-width: 2rem;
    line-height: 1.2;
}

.case-item-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.2rem;
}

.case-item-body span {
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

/* ─── E. 파운더스 보이스 — Column/Op-Ed 2×2 Grid ─── */
.section-voice {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.voice-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    color: var(--text);
    transition: border-color 0.2s;
}

.voice-card:hover {
    border-color: var(--primary);
    color: var(--text);
}

.voice-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.voice-avatar {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}

.voice-author strong {
    display: block;
    font-size: 0.9rem;
}

.voice-author span {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.voice-quote {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text);
    position: relative;
    padding-left: 1.5rem;
    margin: 0 0 0.75rem 0;
}

.voice-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.3rem;
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.25;
    font-weight: 900;
    line-height: 1;
}

.voice-date {
    font-size: 0.72rem;
    color: var(--text-tertiary);
}

/* ─── F. AI/DX 랩 — Review/Tool Cards ─── */
.section-lab {
    padding: 3rem 0;
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.lab-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    color: var(--text);
    transition: box-shadow 0.2s ease;
}

.lab-card:hover {
    box-shadow: var(--shadow-md);
    color: var(--text);
}

.lab-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.lab-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.lab-card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.lab-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.lab-score {
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--primary);
}

.lab-stars {
    color: var(--accent);
    font-size: 0.92rem;
    letter-spacing: 1px;
}

.lab-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.lab-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.lab-tags span {
    background: var(--bg-secondary);
    color: var(--secondary);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}

/* ─── Cycle 3 Responsive ─── */
@media (max-width: 1024px) {
    .radar-grid { grid-template-columns: repeat(2, 1fr); }
    .playbook-strip { grid-template-columns: repeat(2, 1fr); }
    .editorial-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .voice-grid { grid-template-columns: 1fr; }
    .lab-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .radar-grid { grid-template-columns: 1fr; }
    .playbook-strip { grid-template-columns: 1fr; }
    .lab-grid { grid-template-columns: 1fr; }

    .editorial-main { min-height: 200px; padding: 1.5rem; }
    .editorial-main h3 { font-size: 1.25rem; }
    .case-featured h3 { font-size: 1.15rem; }
}

/* ═══════════════════════════════════════════════════════════
   ARTICLE POOL PAGE
   ═══════════════════════════════════════════════════════════ */

/* ─── Pool Header ─── */
.pool-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 2.5rem 0 1.5rem;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 1.75rem;
}

.pool-header-text h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.pool-header-sub {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-tertiary);
    margin-left: 0.5rem;
}

.pool-header-text p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
}

.pool-header-total {
    font-size: 0.88rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.pool-header-total strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

/* ─── Stats Cards ─── */
.pool-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.pool-stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--border);
    transition: box-shadow 0.2s ease;
}

.pool-stat-card:hover {
    box-shadow: var(--shadow-md);
}

.pool-stat-card--published { border-top-color: var(--status-success); }
.pool-stat-card--draft { border-top-color: var(--text-tertiary); }
.pool-stat-card--unassigned { border-top-color: var(--status-warn); }

.pool-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.pool-stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ─── Filter Bar ─── */
.pool-filters {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.pool-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.875rem;
}

.pool-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 130px;
}

.pool-filter-group--search {
    flex: 1;
    min-width: 180px;
}

.pool-filter-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
}

.pool-filter-select,
.pool-filter-input {
    height: 38px;
    padding: 0 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    background: var(--bg-secondary);
    color: var(--text);
    font-size: 0.88rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.pool-filter-select:focus,
.pool-filter-input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.12);
}

.pool-filter-input {
    width: 100%;
}

.pool-filter-actions {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    padding-bottom: 0;
}

.pool-filter-btn {
    height: 38px;
    padding: 0 1.25rem;
    font-size: 0.88rem;
    white-space: nowrap;
}

.pool-filter-reset {
    height: 38px;
    padding: 0 1rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.pool-filter-reset:hover {
    background: var(--surface-hover);
    border-color: var(--text-tertiary);
    color: var(--text);
}

/* ─── Result Summary ─── */
.pool-result-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.pool-result-summary strong { color: var(--primary); font-weight: 700; }

.pool-result-filters {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.pool-active-filter {
    background: var(--accent-light);
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--accent);
}

/* ─── Table (Desktop) ─── */
.pool-table-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.pool-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.pool-th {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.pool-th--title { width: auto; min-width: 280px; }
.pool-th--status { width: 90px; }
.pool-th--category { width: 150px; }
.pool-th--source { width: 80px; }
.pool-th--author { width: 100px; }
.pool-th--date { width: 100px; }

.pool-tr {
    border-bottom: 1px solid var(--border-light);
    transition: background 0.15s ease;
}

.pool-tr:last-child { border-bottom: none; }

.pool-tr:hover {
    background: var(--surface-hover);
}

.pool-td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

.pool-td--title { padding-right: 1.5rem; }

.pool-title-link {
    display: block;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 0.2rem;
}

.pool-title-link:hover { color: var(--secondary); }

.pool-title-nolink {
    color: var(--text);
}

.pool-summary {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.pool-cat-name {
    font-size: 0.82rem;
    color: var(--text-secondary);
    vertical-align: middle;
}

.pool-source {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    font-family: monospace;
}

.pool-source--none { color: var(--border); }

.pool-unassigned {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    font-style: italic;
}

/* ─── Status Badges ─── */
.badge-draft {
    background: #F3F4F6;
    color: #6B7280;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.badge-review {
    background: #FEF3C7;
    color: #92400E;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.badge-published {
    background: #D1FAE5;
    color: #065F46;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.badge-archived {
    background: #FEE2E2;
    color: #991B1B;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* ─── Category Dot ─── */
.category-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.4rem;
    vertical-align: middle;
    background: var(--text-tertiary);
    flex-shrink: 0;
}

.category-dot--gov-support { background: #2563EB; }
.category-dot--startup { background: #059669; }
.category-dot--investment { background: #D97706; }
.category-dot--networking { background: #7C3AED; }
.category-dot--know-how { background: #DC2626; }

/* ─── Mobile Cards ─── */
.pool-cards { display: none; }

.pool-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.pool-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.pool-card-date {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.pool-card-title {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.pool-card-title a {
    color: var(--text);
}

.pool-card-title a:hover { color: var(--secondary); }

.pool-card-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.pool-card-meta-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* ─── Empty State ─── */
.pool-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
}

.pool-empty-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    color: var(--border);
}

.pool-empty-icon svg {
    width: 100%;
    height: 100%;
}

.pool-empty p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 0.92rem;
}

/* ─── Pagination ─── */
.pool-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 0 2.5rem;
}

.pool-page-btn {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    transition: background 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

.pool-page-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--secondary);
    color: var(--secondary-dark);
}

.pool-page-btn--disabled {
    color: var(--text-tertiary);
    cursor: not-allowed;
    pointer-events: none;
    border-color: var(--border-light);
}

.pool-page-numbers {
    display: flex;
    gap: 0.25rem;
}

.pool-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    transition: all 0.2s ease;
    text-decoration: none;
}

.pool-page-num:hover {
    background: var(--bg-secondary);
    border-color: var(--secondary);
    color: var(--secondary);
}

.pool-page-num--active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pool-page-num--active:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

/* ─── Pool Responsive ─── */
@media (max-width: 1024px) {
    .pool-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .pool-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.75rem 0 1.25rem;
    }

    .pool-header-text h1 { font-size: 1.35rem; }

    .pool-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .pool-stat-value { font-size: 1.6rem; }

    .pool-filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .pool-filter-group,
    .pool-filter-group--search {
        min-width: unset;
        width: 100%;
    }

    .pool-filter-actions {
        width: 100%;
    }

    .pool-filter-btn,
    .pool-filter-reset { flex: 1; justify-content: center; height: 42px; }

    /* Hide table, show cards on mobile */
    .pool-table-wrap { display: none; }
    .pool-cards { display: block; }

    .pool-pagination { gap: 0.35rem; }
    .pool-page-numbers { gap: 0.2rem; }
    .pool-page-num { width: 32px; height: 32px; font-size: 0.8rem; }
    .pool-page-btn { height: 32px; padding: 0 0.75rem; font-size: 0.8rem; }
}
