/* Google Fonts: Outfit (for numbers & headers) and Noto Sans TC (for Chinese text) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+TC:wght@300;400;500;700;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    /* Fonts */
    --font-primary: 'Noto Sans TC', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-numeric: 'Outfit', sans-serif;

    /* Light Theme (Default) */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent: #d97706; /* 暖橘色，營造在地親切感 */
    --accent-hover: #b45309;
    --accent-rgb: 217, 119, 6;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    
    /* Taiwan Badges & States */
    --color-taipei: #3b82f6;
    --color-taichung: #10b981;
    --color-kaohsiung: #ec4899;
    --color-aqi-good: #10b981;
    --color-aqi-mod: #f59e0b;
    
    /* Layout & Styling Values */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] {
    /* Dark Theme Override */
    --bg-primary: #0b0f19;
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    --text-primary: #f9fafb;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --accent: #f59e0b;
    --accent-hover: #fbbf24;
    --accent-rgb: 245, 158, 11;
    --border-color: #374151;
    --card-bg: #1f2937;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 20px -3px rgba(0, 0, 0, 0.5), 0 4px 8px -4px rgba(0, 0, 0, 0.4);
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(31, 41, 55, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    letter-spacing: 0.03em;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

ul {
    list-style: none;
}

/* Focus Indicator for Accessibility */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
header {
    background-color: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition-smooth);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 900;
    color: var(--text-primary);
    position: relative;
}

.logo-pin {
    width: 28px;
    height: 28px;
    background-color: var(--accent);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 6px rgba(var(--accent-rgb), 0.3);
}

.logo-pin::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--bg-secondary);
    border-radius: 50%;
    transform: rotate(45deg);
}

.logo-text {
    font-family: 'Noto Sans TC', sans-serif;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    color: var(--text-secondary);
    font-size: 16px;
}

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

.search-input {
    background-color: var(--bg-tertiary);
    border: 1px solid transparent;
    color: var(--text-primary);
    padding: 8px 16px 8px 36px;
    border-radius: 20px;
    font-size: 14px;
    width: 180px;
    transition: var(--transition-smooth);
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    color: var(--text-secondary);
}

.theme-toggle-btn:hover {
    background-color: var(--border-color);
    color: var(--accent);
    transform: rotate(15deg);
}

/* Nav Menu */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.live-badge {
    background: #ef4444;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Mobile Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Breaking Ticker */
.ticker-wrap {
    background-color: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    overflow: hidden;
}

.ticker-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ticker-label {
    background-color: var(--accent);
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticker-content {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    height: 22px;
}

.ticker-list {
    display: inline-flex;
    gap: 40px;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ticker-item a {
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.ticker-item a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.ticker-item span.time {
    color: var(--text-muted);
    font-family: var(--font-numeric);
    font-size: 12px;
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Main Grid Layout */
.main-layout {
    display: grid;
    grid-template-columns: 8fr 3.5fr;
    gap: 32px;
    margin: 40px auto;
}

/* Hero Section */
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

/* Featured Large Card */
.card-featured {
    grid-column: 1;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 480px;
    box-shadow: var(--shadow-md);
}

.card-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-featured:hover img {
    transform: scale(1.03);
}

.card-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 32px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.category-tag {
    background-color: var(--accent);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    align-self: flex-start;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.category-tag.taipei { background-color: var(--color-taipei); }
.category-tag.taichung { background-color: var(--color-taichung); }
.category-tag.kaohsiung { background-color: var(--color-kaohsiung); }

.card-featured h2 {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #ffffff;
}

.card-featured p {
    color: #e2e8f0;
    font-size: 15px;
    margin-bottom: 16px;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.meta-info {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #cbd5e1;
    font-family: var(--font-numeric);
}

.meta-info.dark-text {
    color: var(--text-muted);
}

.meta-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Secondary Hero Cards */
.hero-secondary-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-side-hero {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 230px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.card-side-hero:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.card-side-img {
    height: 120px;
    overflow: hidden;
    position: relative;
}

.card-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-side-hero:hover .card-side-img img {
    transform: scale(1.05);
}

.card-side-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.card-side-content h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Sections Grid */
.section-title {
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent);
}

.section-title .more-link {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
}

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

/* Dynamic Main Card block */
.news-block-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.news-block-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.news-block-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-block-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-block-card:hover .news-block-img img {
    transform: scale(1.04);
}

.news-block-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.news-block-content h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.news-block-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Actions */
.bookmark-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
}

.bookmark-btn:hover, .bookmark-btn.active {
    color: var(--accent);
}

/* Sidebar Styling */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.widget {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

/* Weather & PM2.5 Taiwan Widget */
.weather-widget {
    background: linear-gradient(135deg, var(--bg-secondary) 30%, var(--bg-tertiary));
}

.weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.weather-city-select {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
}

.weather-city-select:focus {
    outline: none;
    border-color: var(--accent);
}

.weather-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.temp-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.temp-num {
    font-size: 38px;
    font-weight: 800;
    font-family: var(--font-numeric);
    color: var(--text-primary);
}

.temp-icon {
    font-size: 32px;
}

.weather-details {
    text-align: right;
    font-size: 13px;
    color: var(--text-secondary);
}

.aqi-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    background-color: var(--color-aqi-good);
    margin-top: 4px;
}

/* Invoice Taiwan Widget */
.invoice-widget {
    position: relative;
    overflow: hidden;
}

.invoice-widget::before {
    content: '統一發票';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 48px;
    font-weight: 900;
    color: var(--border-color);
    opacity: 0.15;
    pointer-events: none;
    font-family: 'Noto Sans TC', sans-serif;
}

.invoice-header {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.invoice-period {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-numeric);
    margin-bottom: 16px;
}

.invoice-numbers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.invoice-num-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background-color: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.invoice-num-row span.label {
    font-weight: 700;
}

.invoice-num-row span.num {
    font-family: var(--font-numeric);
    font-weight: 800;
    font-size: 16px;
    color: #ef4444;
    letter-spacing: 0.05em;
}

/* Popular News Sidebar */
.popular-widget h3 {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 16px;
    border-left: 4px solid var(--accent);
    padding-left: 10px;
}

.popular-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popular-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.popular-rank {
    font-size: 24px;
    font-weight: 800;
    color: var(--border-color);
    font-family: var(--font-numeric);
    line-height: 1;
    min-width: 24px;
    transition: var(--transition-smooth);
}

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

.popular-text h4 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.newsletter-widget h3 {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 8px;
}

.newsletter-widget p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    width: 100%;
}

.newsletter-input:focus {
    border-color: var(--accent);
    outline: none;
}

.newsletter-btn {
    background-color: var(--accent);
    color: white;
    font-weight: 700;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.newsletter-btn:hover {
    background-color: var(--accent-hover);
}

/* Footer Section */
footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
}

.social-icon:hover {
    background-color: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive Web Design (RWD) */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .newsletter-widget {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .header-top {
        padding: 12px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background-color: var(--bg-secondary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 24px;
        padding-top: 40px;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .card-featured {
        grid-column: 1;
        height: 350px;
    }
    
    .news-row-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
    
    .newsletter-widget {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.nav-drop { position: relative; list-style: none; }
.nav-drop__btn {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
    padding: 0;
}
.nav-drop__list {
    display: none;
    position: absolute;
    z-index: 40;
    min-width: 10rem;
    margin: 0.5rem 0 0;
    padding: 0.5rem 0;
    list-style: none;
    background: var(--bg-secondary, #fff);
    border: 1px solid var(--border-color, #ddd);
    border-radius: 8px;
    box-shadow: var(--shadow-sm, 0 4px 12px rgba(0,0,0,.08));
}
.nav-drop__list a {
    display: block;
    padding: 0.4rem 1rem;
    color: inherit;
    text-decoration: none;
}
.nav-drop.open .nav-drop__list { display: block; }
.main-nav.active .nav-drop__list {
    position: static;
    display: block;
    border: none;
    box-shadow: none;
    padding-left: 0.75rem;
}
.prose img { max-width: 100%; height: auto; }
.article-page, .page-heading, .empty-state { margin: 24px 0; }
.feed { display: grid; gap: 16px; margin: 16px 0 32px; }
.card--row { display: grid; grid-template-columns: 160px 1fr; gap: 16px; }
.card__media img { width: 100%; height: 100px; object-fit: cover; border-radius: 8px; }
.news-inner { padding: 24px 0 48px; }
.breadcrumb { font-size: 13px; color: var(--text-secondary, #666); margin-bottom: 12px; }
.breadcrumb a { color: inherit; }
