/* DeportesMX.com.mx - LIGHT THEME Sports Portal */
:root {
    --primary-green: #006847;
    --primary-green-light: #00a86b;
    --primary-red: #CE1126;
    --bg-color: #f5f5f7;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #888888;
    --border-color: rgba(0, 0, 0, 0.08);
    --gold: #d4a017;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

img {
    max-width: 100%;
    height: auto;
}

/* TICKER */
.ticker-wrap {
    background: linear-gradient(90deg, var(--primary-green), var(--primary-red));
    padding: 10px 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.ticker {
    display: flex;
    animation: ticker 60s linear infinite;
    white-space: nowrap;
    color: white;
}

.ticker-item {
    padding: 0 40px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-item .live {
    color: #ffff00;
    animation: pulse 1s infinite;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* HEADER */
.header {
    background: var(--bg-card);
    padding: 16px 0;
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 999;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text span:first-child {
    color: var(--primary-green);
}

.logo-text span:last-child {
    color: var(--primary-red);
}

.nav-menu {
    display: flex;
    gap: 4px;
    list-style: none;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.nav-link:hover {
    background: var(--bg-color);
    color: var(--primary-green);
}

.nav-link.active {
    background: var(--primary-green);
    color: white;
}

/* HERO */
.hero {
    padding: 140px 0 60px;
    background:
        linear-gradient(135deg, rgba(0, 104, 71, 0.85) 0%, rgba(206, 17, 38, 0.85) 100%),
        url('https://images.unsplash.com/photo-1461896836934-ffe607ba8211?w=1920&h=400&fit=crop&q=80') center/cover;
    position: relative;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

/* PAGE HEADER */
.page-header {
    padding: 140px 0 40px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 900;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* SECTIONS */
.section {
    padding: 50px 0;
}

.section-alt {
    background: var(--bg-card);
}

.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

/* NEWS GRID - WITH PHOTOS */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.news-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #e0e0e0;
}

.news-card .content {
    padding: 20px;
}

.news-card .cat {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--text-primary);
}

.news-card h3:hover {
    color: var(--primary-green);
}

.news-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.news-card .meta {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FEATURED NEWS (Large) */
.news-featured {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.news-main {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.news-main img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.news-main .content {
    padding: 24px;
}

.news-main h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-main p {
    color: var(--text-secondary);
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-small {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 120px 1fr;
}

.news-small img {
    width: 120px;
    height: 90px;
    object-fit: cover;
}

.news-small .content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-small h4 {
    font-size: 0.9rem;
    line-height: 1.3;
}

/* TABLES */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.data-table th,
.data-table td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--primary-green);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.data-table tr:hover {
    background: rgba(0, 104, 71, 0.05);
}

.data-table .team {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.data-table .pts {
    font-weight: 900;
    color: var(--primary-green);
}

.data-table .pos-1 {
    background: rgba(212, 160, 23, 0.1);
}

.data-table .pos-2 {
    background: rgba(192, 192, 192, 0.1);
}

.data-table .pos-3 {
    background: rgba(205, 127, 50, 0.1);
}

/* PLAYER STATS TABLE */
.stats-table {
    width: 100%;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border-collapse: collapse;
}

.stats-table th,
.stats-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.stats-table th {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
}

.stats-table .player {
    text-align: left;
    font-weight: 600;
}

.stats-table .highlight {
    color: var(--primary-green);
    font-weight: 800;
}

/* SPORT CARDS */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.sport-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.sport-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.sport-card .icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.sport-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.sport-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ATHLETES */
.athletes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.athlete-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.athlete-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.athlete-card .emoji {
    font-size: 2rem;
    margin-bottom: 8px;
}

.athlete-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.athlete-card .sport {
    color: var(--primary-green);
    font-size: 0.8rem;
    font-weight: 600;
}

.athlete-card .team {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* CTA BOX */
.cta-box {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
    margin-top: 40px;
}

.cta-box h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.cta-box p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.btn-white {
    background: white;
    color: var(--primary-green);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    display: inline-block;
}

.btn-white:hover {
    transform: scale(1.05);
}

.stats-table tbody a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.stats-table tbody a:hover {
    color: var(--primary-green-light);
    text-decoration: underline;
}

.data-table tbody a,
.stats-table .player a {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
}

.data-table tbody a:hover,
.stats-table .player a:hover {
    text-decoration: underline;
}

/* FOOTER */
.footer {
    background: var(--bg-card);
    padding: 40px 0 30px;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.footer-content {
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-nav a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--primary-green);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ARTICLE PAGE */
.article-page {
    padding: 140px 0 60px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 20px;
}

.article-content img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 24px;
}

.article-content h1 {
    font-size: 2rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.article-content .meta {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.article-content .body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-content .body p {
    margin-bottom: 1.5rem;
}

/* ATHLETE PROFILE PAGES */
.athlete-hero {
    padding: 140px 0 50px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.athlete-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.athlete-hero .container {
    position: relative;
    z-index: 2;
}

.athlete-hero .avatar {
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin: 0 auto 24px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.athlete-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.athlete-hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 30px;
}

.athlete-hero .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.athlete-hero .info-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px 16px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.athlete-hero .info-box:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
}

.athlete-hero .info-box .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 6px;
}

.athlete-hero .info-box .value {
    font-size: 1.4rem;
    font-weight: 800;
}

/* Athlete Bio Section */
.bio-section {
    max-width: 900px;
    margin: 0 auto;
}

.bio-section h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 10px;
}

.bio-section h2:first-child {
    margin-top: 0;
}

.bio-section p {
    margin-bottom: 16px;
    line-height: 1.9;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.bio-section ul {
    list-style: none;
    padding: 0;
}

.bio-section ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.bio-section ul li:last-child {
    border-bottom: none;
}

/* Career Stats Cards */
.career-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.stat-card .icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.stat-card .number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Next Event Card */
.next-event {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    border-radius: 20px;
    padding: 30px;
    color: white;
    margin: 30px 0;
}

.next-event h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.next-event .event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.next-event .event-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

/* Article Page Styles */
.article-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    margin-top: 100px;
}

.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
}

.article-hero .container {
    position: relative;
    padding-bottom: 40px;
    color: white;
}

.article-hero .cat {
    display: inline-block;
    background: var(--primary-green);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.article-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    max-width: 800px;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.article-body .meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.article-body .content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.article-body .content p {
    margin-bottom: 1.5rem;
}

.article-body .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    font-weight: 600;
    margin-top: 30px;
    padding: 12px 24px;
    background: var(--bg-color);
    border-radius: 25px;
}

.article-body .back-btn:hover {
    background: var(--primary-green);
    color: white;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header {
        top: 36px;
    }

    .ticker-wrap {
        padding: 8px 0;
    }

    .ticker-item {
        font-size: 0.8rem;
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        padding: 12px 0 20px;
        border-bottom: 2px solid var(--primary-green);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        z-index: 998;
    }

    .hero,
    .page-header {
        padding: 120px 0 30px;
    }

    .news-featured {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .sports-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .sport-card {
        padding: 16px 10px;
    }

    .sport-card .icon {
        font-size: 2rem;
    }
}

/* BURGER BUTTON */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }
}

/* pos-4 = zona Champions */
.data-table .pos-4 {
    background: rgba(0, 168, 107, 0.07);
}

/* ══════════════════════════════════════════
   SKIP TO CONTENT — Accessibility 100/100
══════════════════════════════════════════ */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 9999;
    padding: 10px 20px;
    background: var(--primary-green);
    color: #fff !important;
    font-weight: 700;
    font-size: .95rem;
    border-radius: 0 0 10px 0;
    transition: top .15s;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* ══════════════════════════════════════════
   FOCUS VISIBLE — keyboard nav
══════════════════════════════════════════ */
:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ══════════════════════════════════════════
   TEXT LINKS — inline SEO links
══════════════════════════════════════════ */
.text-link {
    color: var(--primary-green);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-style: dashed;
    font-weight: 500;
    transition: color .2s;
}

.text-link:hover {
    color: var(--primary-green-light);
}

/* ══════════════════════════════════════════
   SEO CONTENT SECTION — perenlinking Z-pattern
══════════════════════════════════════════ */
.seo-content {
    padding: 48px 0 56px;
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.seo-article {
    max-width: 860px;
}

.seo-article h2 {
    font-size: clamp(1.25rem, 3vw, 1.7rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.seo-article h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 28px 0 12px;
    color: var(--text-primary);
}

.seo-article p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.82;
    margin-bottom: 18px;
}

.seo-news-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0 24px;
    padding: 16px 20px;
    background: var(--bg-card);
    border-left: 3px solid var(--primary-green);
    border-radius: 0 10px 10px 0;
}

.seo-news-links a {
    color: var(--text-secondary);
    font-size: .92rem;
    font-weight: 500;
    transition: color .2s;
}

.seo-news-links a:hover {
    color: var(--primary-green);
}

/* Related sports links */
.related-sports {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.sport-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 600;
    transition: all .2s;
    color: var(--text-primary);
}

.sport-link:hover {
    border-color: var(--primary-green);
    background: rgba(0, 104, 71, .04);
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   TABLE CAPTION — SEO
══════════════════════════════════════════ */
table caption {
    caption-side: top;
    text-align: left;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 0 6px;
    letter-spacing: .03em;
}

/* ══════════════════════════════════════════
   PRINT STYLES
══════════════════════════════════════════ */
@media print {

    .ticker-wrap,
    .header,
    .burger,
    .footer {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }
}

/* ══════════════════════════════════════════
   NEWS GRID — improved mobile
══════════════════════════════════════════ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ── Mobile 100/100 ── */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        gap: 8px;
        box-shadow: 0 8px 30px rgba(0,0,0,.15);
        z-index: 998;
    }
    .nav-menu.open { display: flex; }
    .nav-link { padding: 12px 16px; width: 100%; }
    .burger { display: flex; }
    .news-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.3rem; }
    .hero h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
    .hero { padding: 100px 0 40px; }
    .stats-table, .data-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .news-featured { grid-template-columns: 1fr; }
    table { font-size: 0.85rem; }
}
@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .header { padding: 12px 0; }
    .logo { font-size: 1.2rem; }
    .news-card img { height: 160px; }
    .section { padding: 40px 0; }
}
/* ── Accessibility ── */
:focus-visible {
    outline: 3px solid var(--primary-green);
    outline-offset: 2px;
    border-radius: 4px;
}
a:focus-visible, button:focus-visible { outline: 3px solid var(--primary-green); outline-offset: 2px; }
.skip-to-content:focus { top: 0 !important; }
/* ── Touch targets: min 44x44px ── */
.nav-link, .burger, button { min-height: 44px; min-width: 44px; }
/* ── Color contrast fix ── */
.text-muted, .dmx-card-excerpt { color: #666 !important; }
.news-card .cat { font-size: 0.8rem; }
/* ── Reduce motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* ── Print ── */
@media print { .ticker-wrap, .header, .burger { display: none; } }
