/* Malta Housing Watch - Modern News Portal Styles */

/* CSS Variables */
:root {
    --color-primary: #1a365d;
    --color-primary-dark: #0f2744;
    --color-accent: #c53030;
    --color-accent-light: #e53e3e;
    --color-text: #2d3748;
    --color-text-light: #718096;
    --color-bg: #ffffff;
    --color-bg-alt: #f7fafc;
    --color-border: #e2e8f0;
    --font-heading: 'Merriweather', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --max-width: 1200px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-bg);
}

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

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

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

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.logo-sub {
    font-size: 0.875rem;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--color-text);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s;
}

/* Breaking News */
.breaking-news {
    background: var(--color-accent);
    color: white;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.breaking-label {
    background: white;
    color: var(--color-accent);
    padding: 0.25rem 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-right: 1rem;
}

.breaking-text {
    opacity: 0.95;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

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

.hero-main {
    max-width: 600px;
}

.kicker {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.hero-excerpt {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.byline {
    font-weight: 500;
}

.hero-visual {
    position: relative;
}

.hero-image {
    border-radius: var(--radius);
    height: 400px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    border-radius: var(--radius);
}

.hero-image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius);
    height: 400px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 4px solid var(--color-accent);
    border-radius: var(--radius);
    opacity: 0.5;
}

.image-caption {
    color: white;
    font-size: 0.875rem;
    opacity: 0.9;
    background: rgba(0,0,0,0.5);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius);
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background: var(--color-accent-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--color-primary);
    color: white;
}

.btn-secondary:hover {
    background: var(--color-primary-dark);
    color: white;
}

/* Stats Bar */
.stats-bar {
    background: var(--color-primary);
    color: white;
    padding: 2.5rem 0;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fbbf24;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Section Titles */
.section-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--color-accent);
    display: inline-block;
}

/* Featured Stories */
.featured-stories {
    padding: 4rem 0;
    background: var(--color-bg);
}

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

.story-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.story-card-large {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.story-card-large .story-image {
    height: 300px;
}

.story-card-large .story-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-image {
    height: 180px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.story-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
}

.story-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-accent);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 2;
}

.story-content {
    padding: 1.5rem;
}

.story-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.story-card h3 a {
    color: var(--color-primary);
}

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

.story-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.story-meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

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

/* Quick Topics */
.quick-topics {
    padding: 4rem 0;
    background: var(--color-bg-alt);
}

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

.topic-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    border: 2px solid transparent;
}

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

.topic-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.topic-card h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.topic-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Latest Updates */
.latest-updates {
    padding: 4rem 0;
}

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

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

.update-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

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

.update-date {
    display: inline-block;
    font-size: 0.8125rem;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.update-item h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.update-item p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

/* Sidebar */
.updates-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: var(--color-bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.sidebar-widget h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.sidebar-widget p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

/* Footer */
.site-footer {
    background: var(--color-primary-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-nav h4 {
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9375rem;
}

.footer-nav a:hover {
    color: white;
}

.footer-cta h4 {
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.footer-cta p {
    opacity: 0.8;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--color-accent);
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Article Pages */
.article-header {
    background: var(--color-bg-alt);
    padding: 4rem 0 2rem;
}

.article-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.article-content {
    padding: 3rem 0;
}

.article-body {
    max-width: 700px;
    margin: 0 auto;
}

.article-body h2 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-border);
}

.article-body h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.375rem;
    margin: 2rem 0 0.75rem;
}

.article-body p {
    margin-bottom: 1.25rem;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Data Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}

.data-table th {
    background: var(--color-primary);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.data-table tr:nth-child(even) {
    background: var(--color-bg-alt);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image-placeholder {
        height: 300px;
    }
    
    .stories-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .story-card-large {
        grid-column: span 2;
    }
    
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .updates-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--color-border);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .story-card-large {
        grid-column: span 1;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-header h1 {
        font-size: 1.75rem;
    }
}

/* Article Images */
.article-image {
    margin: 2rem 0;
}

.article-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.article-image figcaption {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Print Styles */
@media print {
    .site-header,
    .breaking-news,
    .site-footer,
    .hero-visual {
        display: none;
    }

    .hero {
        padding: 2rem 0;
    }

    body {
        font-size: 12pt;
    }
}

/* ============================================
   SOCIAL CAUSE ENHANCEMENTS
   ============================================ */

/* Lead paragraph */
.lead {
    font-size: 1.1875rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 2rem;
    border-left: 4px solid var(--color-accent);
    padding-left: 1.25rem;
}

/* Article body h4 */
.article-body h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.0625rem;
    margin: 1.75rem 0 0.5rem;
}

/* Blockquotes */
.article-body blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 1.25rem 1.5rem 1.25rem 2rem;
    margin: 2rem 0;
    background: var(--color-bg-alt);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.article-body blockquote p {
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.article-body blockquote cite {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-style: normal;
    display: block;
    margin-top: 0.75rem;
}

/* Article header fixes — text is on dark blue overlay */
.article-header .kicker {
    color: #fbbf24;
}

.article-header .article-meta {
    color: rgba(255, 255, 255, 0.85);
}

/* Malta motto bar */
.malta-motto {
    background: var(--color-primary-dark);
    color: #fbbf24;
    text-align: center;
    padding: 0.75rem 0;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-style: italic;
    letter-spacing: 0.03em;
}

/* Inline key stat pull */
.stat-pull {
    background: var(--color-primary);
    color: white;
    padding: 2rem 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    margin: 2.5rem 0;
}

.stat-pull-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fbbf24;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-pull-label {
    font-size: 1.0625rem;
    opacity: 0.9;
}

/* Wins & Losses section */
.wins-losses {
    padding: 4rem 0;
    background: var(--color-bg-alt);
}

.wins-losses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.wl-panel {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.wl-header {
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: white;
}

.wl-header.wins { background: #16a34a; }
.wl-header.losses { background: var(--color-accent); }

.wl-panel ul {
    list-style: none;
    padding: 1.25rem 1.5rem;
}

.wl-panel li {
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.wl-panel li:last-child { border-bottom: none; }

.wl-panel li strong {
    display: block;
    color: var(--color-text);
    margin-bottom: 0.125rem;
}

.wl-panel li span {
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

/* Fight CTA */
.fight-cta {
    background: var(--color-accent);
    color: white;
    padding: 4.5rem 0;
    text-align: center;
}

.fight-cta h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.3;
}

.fight-cta p {
    font-size: 1.125rem;
    opacity: 0.95;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.fight-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--color-accent) !important;
    font-weight: 700;
}

.btn-white:hover {
    background: rgba(255,255,255,0.92);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    color: var(--color-accent) !important;
}

.btn-ghost {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.75);
    color: white !important;
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: white;
    color: white !important;
}

/* Author bio */
.author-bio {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2.5rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    border-left: 4px solid var(--color-accent);
    margin: 3rem 0 0;
}

.author-avatar {
    width: 80px;
    min-width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.625rem;
    font-weight: 700;
    color: #fbbf24;
    font-family: var(--font-heading);
}

.author-details h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.125rem;
    margin-bottom: 0.125rem;
}

.author-title {
    color: var(--color-accent);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.author-details p {
    font-size: 0.9375rem !important;
    color: var(--color-text-light) !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.6 !important;
}

.author-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.author-links a {
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 500;
}

/* Warning/note box */
.note-box {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-left: 4px solid #f59e0b;
    padding: 1rem 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}

.note-box p { margin-bottom: 0 !important; }

/* Stats bar 5-column variant */
.stats-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

/* Breaking news scrolling */
.breaking-news .container {
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
}

.breaking-text {
    white-space: nowrap;
    animation: ticker 40s linear infinite;
    padding-left: 2rem;
}

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

/* Hero kicker more prominent */
.hero .kicker {
    font-size: 0.9375rem;
    letter-spacing: 0.12em;
}

/* "Who pays" table highlight */
.data-table tr td:first-child {
    font-weight: 600;
    color: var(--color-primary);
}

/* Article links */
.article-body a {
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-color: rgba(197, 48, 48, 0.3);
}

.article-body a:hover {
    text-decoration-color: var(--color-accent);
}

@media (max-width: 1024px) {
    .stats-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .wins-losses-grid {
        grid-template-columns: 1fr;
    }

    .author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .stats-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .fight-cta h2 {
        font-size: 1.75rem;
    }

    .fight-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .breaking-text {
        animation: ticker 25s linear infinite;
    }
}

/* ============================================
   LANGUAGE TOGGLE
   ============================================ */

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--color-border);
    flex-shrink: 0;
}

.lang-active {
    background: var(--color-primary);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.lang-link {
    color: var(--color-text-light) !important;
    border: 1px solid var(--color-border);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    text-decoration: none !important;
}

.lang-link:hover {
    color: var(--color-accent) !important;
    border-color: var(--color-accent);
}

@media (max-width: 768px) {
    .lang-toggle {
        margin-left: 0.75rem;
        padding-left: 0.75rem;
    }
}

/* Translation note box */
.translation-note {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-left: 4px solid #0284c7;
    padding: 1rem 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 0 0 2.5rem;
    font-size: 0.9375rem;
    font-style: italic;
    color: var(--color-text-light);
}

.translation-note p { margin-bottom: 0 !important; }
