/* The Common Room - Where Education Meets Journalism */

:root {
    --primary: #2d2d2d;
    --accent: #e85d75;
    --accent-dark: #d14a62;
    
    --text: #2d2d2d;
    --text-medium: #555555;
    --text-light: #777777;
    --text-muted: #999999;
    
    --bg: #ffffff;
    --bg-light: #fafafa;
    --bg-accent: #fff5f7;
    
    --border: #e0e0e0;
    --border-light: #f0f0f0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.top-bar {
    background: var(--primary);
    color: white;
    padding: 0.625rem 0;
    font-size: 0.8125rem;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.top-links a:hover {
    opacity: 0.8;
}

.top-links .separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0.25rem;
}

.main-header {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 2rem 0 1.5rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.brand a {
    display: block;
    text-decoration: none;
}

.brand-logo-full:hover {
    opacity: 0.85;
}

.brand h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    letter-spacing: -0.03em;
}

.brand h1 a {
    color: var(--primary);
    text-decoration: none;
}

.brand h1 a:hover {
    color: var(--accent);
}

.tagline {
    font-size: 0.9375rem;
    color: var(--text-light);
    font-weight: 400;
}

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

.nav-link {
    padding: 0.5rem 1rem;
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
    border-radius: 4px;
}

.nav-link:hover {
    background: var(--bg-light);
    color: var(--text);
}

.nav-link.active {
    background: var(--accent);
    color: white;
}

/* Main Content */
main {
    padding: 3rem 0 5rem;
    min-height: calc(100vh - 300px);
}

/* Enhanced Featured Section */
.featured-hero {
    background: linear-gradient(135deg, var(--bg-accent) 0%, #fff9fb 100%);
    border-left: 6px solid var(--accent);
    padding: 3rem 3rem 3.5rem;
    margin-bottom: 4rem;
    margin-top: 50px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.featured-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 93, 117, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(232, 93, 117, 0.25);
}

.badge-icon {
    font-size: 1rem;
}

.featured-content {
    position: relative;
    z-index: 1;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.featured-category {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.375rem 0.875rem;
    background: white;
    border-radius: 4px;
    border: 2px solid var(--accent);
}

.featured-meta-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

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

.featured-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.featured-headline a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

.featured-headline a:hover {
    color: var(--accent);
}

.featured-excerpt {
    font-size: 1.25rem;
    line-height: 1.65;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(232, 93, 117, 0.2);
}

.featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 6px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(232, 93, 117, 0.3);
}

.featured-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 93, 117, 0.4);
}

.featured-source {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Legacy Featured Styles (keep for backward compatibility) */
.featured-article {
    margin-bottom: 4rem;
    margin-top: 50px;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--border);
}

.featured-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    border-radius: 3px;
}

.featured-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.featured-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

.featured-title a:hover {
    color: var(--accent);
}

.featured-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin-bottom: 1.25rem;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Articles Section */
.articles-section {
    margin-top: 1rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.section-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.article-count {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 600;
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(232, 93, 117, 0.15);
    transform: translateY(-4px);
}

.card-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: var(--bg-accent);
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.card-title {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.card-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

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

.card-excerpt {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

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

.card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-light);
}

.card-date,
.card-read-time {
    font-weight: 500;
}

.card-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.card-link:hover {
    color: var(--accent-dark);
    transform: translateX(4px);
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.article-item {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-light);
}

.article-item:last-child {
    border-bottom: none;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
}

.article-category {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
}

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

.article-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.875rem;
    letter-spacing: -0.02em;
}

.article-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.article-title a:hover {
    color: var(--accent);
}

.article-description {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text-medium);
    margin-bottom: 0.875rem;
}

.article-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.read-time {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Full Story Page */
.story-full {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 0;
}

.breadcrumb {
    font-size: 0.875rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: var(--text-muted);
}

.story-category {
    margin-bottom: 1.5rem;
}

.category-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--bg-accent);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 3px;
}

.story-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text);
    letter-spacing: -0.03em;
}

.story-meta {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-medium);
    font-weight: 500;
}

.meta-icon {
    font-size: 1.125rem;
}

.story-content {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text);
}

.story-content p {
    margin-bottom: 1.5rem;
}

.story-content p:first-of-type {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-medium);
}

/* Inline Link Styling - Educational/Accessible */
.story-content a,
.featured-description a,
.article-description a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(232, 93, 117, 0.35);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.story-content a:hover,
.featured-description a:hover,
.article-description a:hover {
    color: var(--accent-dark);
    text-decoration-color: var(--accent);
    text-underline-offset: 2px;
}

/* Educational Insert Box */
.context-box {
    background: #fff9e6;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.context-box h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #d97706;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.context-box p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 0;
}

.story-actions {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.back-button:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

/* About Page */
.about-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 0;
}

.about-hero {
    margin-bottom: 4rem;
}

.about-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.about-lead {
    font-size: 1.5rem;
    color: var(--text-medium);
    line-height: 1.5;
}

.about-section {
    margin-bottom: 4rem;
}

.about-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.about-section p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.coverage-grid,
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.coverage-item,
.value-item {
    padding: 1.5rem;
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
}

.coverage-item h3,
.value-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.coverage-item p,
.value-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin: 0;
}

.audience-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.audience-list li {
    font-size: 1.0625rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.audience-list li:last-child {
    border-bottom: none;
}

.audience-list li strong {
    color: var(--accent);
    font-weight: 700;
}

.about-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-accent);
    border-radius: 8px;
    margin-top: 4rem;
}

.about-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.about-cta p {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.cta-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--bg-light);
    border: 2px dashed var(--border);
    border-radius: 8px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.4;
}

.empty-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.empty-hint {
    font-size: 1.0625rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.api-info {
    background: white;
    padding: 1.5rem;
    border-radius: 4px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--border);
}

.api-info strong {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-medium);
    font-weight: 700;
}

.api-info code {
    display: block;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 4px;
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    overflow-x: auto;
    border: 1px solid var(--border);
    font-family: 'Monaco', 'Courier New', monospace;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-location {
    font-size: 0.875rem;
    opacity: 0.8;
}

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

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.875rem;
    opacity: 0.9;
}

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

.footer-col li {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-col a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Resource Pages */
.resource-page {
    padding: 2rem 0;
}

.page-hero {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.page-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-medium);
}

.resource-intro {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
}

.resource-grid {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.resource-card {
    padding: 2rem;
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
}

.resource-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    border-radius: 3px;
}

.resource-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.875rem;
    letter-spacing: -0.02em;
}

.resource-description {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.resource-checklist {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: white;
    border-radius: 4px;
}

.resource-checklist h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.resource-checklist li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.resource-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.resource-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-accent);
    border-radius: 8px;
    margin-top: 4rem;
}

.resource-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    color: var(--text);
}

.resource-cta p {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

/* Explainer Categories */
.explainer-categories {
    margin-bottom: 3rem;
}

.category-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

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

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.explainer-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.explainer-item {
    padding: 1.25rem;
    background: var(--bg-light);
    border-left: 3px solid var(--accent);
}

.explainer-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.explainer-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin: 0;
}

/* Resources Page */
.resource-sections {
    margin-bottom: 3rem;
}

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

.resource-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
}

.resource-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.resource-card-simple {
    padding: 1.5rem;
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
}

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

.resource-card-simple p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.resource-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
}

.resource-link:hover {
    text-decoration: underline;
}

.topic-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.topic-link {
    padding: 0.625rem 1.25rem;
    background: var(--bg-light);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 4px;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.topic-link:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.external-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.external-link-card {
    padding: 1.25rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.external-link-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.external-link-card p {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--text-medium);
    margin-bottom: 0.875rem;
}

.external-link-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
}

.external-link-card a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .brand h1 {
        font-size: 2rem;
    }

    .nav {
        width: 100%;
        flex-wrap: wrap;
    }

    .featured-hero {
        padding: 2rem 1.75rem;
    }

    .featured-headline {
        font-size: 2.25rem;
    }

    .featured-excerpt {
        font-size: 1.0625rem;
    }

    .featured-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

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

    .featured-title {
        font-size: 2rem;
    }

    .featured-description {
        font-size: 1.125rem;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .story-headline {
        font-size: 2.25rem;
    }

    .about-title {
        font-size: 2.5rem;
    }

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

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

@media (max-width: 480px) {
    body {
        font-size: 17px;
    }

    .container {
        padding: 0 1rem;
    }

    .brand h1 {
        font-size: 1.75rem;
    }

    .featured-title {
        font-size: 1.75rem;
    }

    .article-title {
        font-size: 1.375rem;
    }

    .story-headline {
        font-size: 2rem;
    }
}
