/* Generated by scripts/build-frontend-bundles.mjs. Do not edit directly. */

/* Source: assets/style.css */
/* =========================================================
   HOMEPAGE INTRODUCTION AND HEADING HIERARCHY
   ========================================================= */

.homepage-intro {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    padding: clamp(1.5rem, 5vw, 4rem);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(255, 74, 84, 0.2),
            transparent 430px
        ),
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.025),
            transparent 55%
        ),
        var(--surface);
    box-shadow: var(--shadow);
}

.homepage-intro h1 {
    max-width: 950px;
    margin: 0 0 1rem;
    color: var(--accent);
    font-family: "Gobold", Impact, sans-serif;
    font-size: clamp(3rem, 7.5vw, 6.25rem);
    line-height: 0.94;
    letter-spacing: 0.006em;
    text-transform: uppercase;
    overflow-wrap: break-word;
    word-break: normal;
    text-wrap: balance;
}

.homepage-intro-description {
    max-width: 760px;
    margin: 0;
    color: var(--text-soft);
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    line-height: 1.65;
}

.homepage-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
    align-items: center;
    margin-top: 1.5rem;
}

.homepage-text-link {
    color: var(--text-soft);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.homepage-text-link:hover,
.homepage-text-link:focus-visible {
    color: var(--accent);
}

.latest-section-footer {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

/* =========================================================
   POST INTERNAL NAVIGATION AND SUPPORTING CONTENT
   ========================================================= */

.post-breadcrumbs {
    margin-bottom: 1.25rem;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.post-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.post-breadcrumbs li {
    min-width: 0;
}

.post-breadcrumbs li[aria-current="page"] {
    max-width: 420px;
    overflow: hidden;
    color: var(--text-soft);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
}

.post-breadcrumbs a:hover,
.post-breadcrumbs a:focus-visible {
    color: var(--accent);
}

.post-featured-image figcaption {
    padding: 0.7rem 0.9rem 0.85rem;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.5;
}

.post-body h2[id],
.post-body h3[id],
.post-body h4[id] {
    scroll-margin-top: 90px;
}

.post-body figure {
    margin: 2rem 0;
}

.post-body figure img {
    margin-bottom: 0.65rem;
}

.post-body figcaption {
    color: var(--muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.76rem;
    line-height: 1.5;
}

.post-footer {
    display: grid;
    gap: 1.25rem;
    width: min(100%, var(--reading-width));
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.post-topics h2 {
    margin: 0 0 0.7rem;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-topics ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.post-topics li {
    padding: 0.4rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #0d0d0d;
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}

.post-archive-link {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    background: var(--surface);
}

.post-archive-link p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.55;
}

.related-breakdowns {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.related-breakdowns .article-card {
    height: 100%;
}

@media (max-width: 760px) {
    .homepage-intro {
        padding: 1.25rem;
    }

    .homepage-intro h1 {
        font-size: clamp(2.5rem, 11vw, 4rem);
        line-height: 0.96;
    }

    .homepage-intro-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .homepage-intro-actions .primary-button,
    .latest-section-footer .primary-button {
        width: 100%;
    }

    .homepage-text-link {
        padding: 0.4rem 0;
        text-align: center;
    }

    .post-breadcrumbs li[aria-current="page"] {
        max-width: 190px;
    }

    .post-archive-link {
        align-items: stretch;
        flex-direction: column;
    }

    .post-archive-link .primary-button {
        width: 100%;
    }
}

/* =========================================================
   ARTICLE SHARE PANEL
   ========================================================= */

.post-share {
    width: min(100%, var(--reading-width));
    margin: 3rem auto 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    background:
        linear-gradient(
            135deg,
            rgba(255, 74, 84, 0.08),
            transparent 60%
        ),
        var(--surface);
}

.post-share-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.25rem;
}

.post-share-heading h2 {
    margin: 0;
    color: #ffffff;
    font-family: "Gobold", Impact, sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.post-share-heading > p {
    max-width: 340px;
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.5;
    text-align: right;
}

.post-share-actions {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.55rem;
}

.post-share-button {
    display: inline-flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-small);
    background: #0b0b0b;
    color: var(--text-soft);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    appearance: none;
    transition:
        border-color 140ms ease,
        background-color 140ms ease,
        color 140ms ease,
        transform 140ms ease;
}

.post-share-button:hover,
.post-share-button:focus-visible {
    border-color: var(--accent);
    background: rgba(255, 74, 84, 0.12);
    color: #ffffff;
    transform: translateY(-2px);
}

.post-native-share {
    border-color: var(--accent);
    background: var(--accent);
    color: #080808;
}

.post-native-share:hover,
.post-native-share:focus-visible {
    border-color: #ffffff;
    background: #ffffff;
    color: #000000;
}

.post-share-status {
    min-height: 1.2rem;
    margin: 0.8rem 0 0;
    color: var(--accent-soft);
    font-size: 0.72rem;
    font-weight: 800;
}

@media (max-width: 850px) {
    .post-share-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .post-share-heading {
        align-items: start;
        flex-direction: column;
        gap: 0.55rem;
    }

    .post-share-heading > p {
        text-align: left;
    }

    .post-share-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 380px) {
    .post-share-actions {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   TYPOGRAPHY BALANCE AND LONG-TITLE SAFETY
   ========================================================= */

h1,
h2,
h3 {
    text-wrap: balance;
}

.post-description,
.featured-description,
.article-card-content > p:not(.article-date),
.homepage-intro-description {
    text-wrap: pretty;
}

@media (max-width: 480px) {
    .post-header h1 {
        font-size: clamp(2.2rem, 10vw, 3.35rem);
    }

    .featured-content h2 {
        font-size: clamp(2rem, 9.5vw, 3.2rem);
    }

    .homepage-intro h1 {
        font-size: clamp(2.3rem, 10.5vw, 3.55rem);
    }
}

/* =========================================================
   V14: RESTRAINED HEADLINE SCALE
   ========================================================= */

/*
   Keep the Gobold identity, but prevent long breakdown titles from
   dominating the viewport or splitting ordinary words.
*/

.featured-content h2 {
    max-width: 780px;
    font-size: clamp(2rem, 3.35vw, 3.65rem);
    line-height: 1.02;
    letter-spacing: 0.008em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
}

.post-header {
    max-width: 900px;
}

.post-header h1 {
    max-width: 880px;
    font-size: clamp(2.35rem, 4.25vw, 4.55rem);
    line-height: 1.01;
    letter-spacing: 0.008em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
}

.homepage-intro h1 {
    font-size: clamp(2.6rem, 5.2vw, 5rem);
    line-height: 1;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.article-card h2,
.article-card h3 {
    font-size: clamp(1.4rem, 1.75vw, 1.9rem);
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.section-header h2,
.archive-header h1 {
    font-size: clamp(2.1rem, 3.6vw, 3.55rem);
    line-height: 1;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.post-body h2 {
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1.18;
    text-wrap: balance;
}

.post-body h3 {
    font-size: clamp(1.35rem, 2.35vw, 1.85rem);
    line-height: 1.2;
    text-wrap: balance;
}

@media (max-width: 1000px) {
    .featured-content h2 {
        font-size: clamp(2rem, 6.5vw, 3.35rem);
    }

    .post-header h1 {
        font-size: clamp(2.25rem, 7vw, 4rem);
    }
}

@media (max-width: 760px) {
    .featured-content h2 {
        font-size: clamp(1.9rem, 8.5vw, 2.9rem);
        line-height: 1.04;
    }

    .post-header h1 {
        font-size: clamp(2.05rem, 9vw, 3.25rem);
        line-height: 1.04;
    }

    .homepage-intro h1 {
        font-size: clamp(2.2rem, 9.5vw, 3.45rem);
        line-height: 1.02;
    }

    .article-card h2,
    .article-card h3 {
        font-size: clamp(1.45rem, 6.8vw, 2rem);
        line-height: 1.1;
    }

    .section-header h2,
    .archive-header h1 {
        font-size: clamp(2rem, 8.5vw, 3rem);
    }
}

@media (max-width: 480px) {
    .featured-content h2 {
        font-size: clamp(1.8rem, 8vw, 2.55rem);
    }

    .post-header h1 {
        font-size: clamp(1.95rem, 8.4vw, 2.85rem);
    }

    .homepage-intro h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }
}

/* =========================================================
   V15: MOBILE EXPERIENCE OVERHAUL
   ========================================================= */

/* Prevent accidental horizontal scrolling without breaking long links. */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

textarea {
    font: inherit;
}

.post-body a,
.contact-address,
.about-email-link,
.privacy-email-card strong {
    overflow-wrap: anywhere;
}

/* Keep normal headline words intact. */
.featured-content h2,
.post-header h1,
.homepage-intro h1,
.article-card h2,
.article-card h3,
.archive-header h1,
.section-header h2,
.contact-hero-main h1,
.about-hero-copy h1,
.privacy-hero h1,
.simple-about-hero h1 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

/* Sticky navigation should not cover in-page headings. */
.post-body h2,
.post-body h3,
.post-body h4,
.privacy-content > section {
    scroll-margin-top: 90px;
}

@media (max-width: 760px) {
    /* Global rhythm and touch targets */

    body {
        font-size: 16px;
        line-height: 1.62;
    }

    button,
    input,
    select,
    textarea {
        font-size: 16px;
    }

    .primary-button,
    .secondary-button,
    .navigation-toggle,
    .navigation-list a,
    .post-share-button {
        min-height: 46px;
    }

    /* Header and mobile navigation */

    .logo-banner {
        padding: 0.55rem 0.75rem;
    }

    .site-logo {
        max-height: 78px;
    }

    .site-navigation {
        padding-top: env(safe-area-inset-top);
    }

    .navigation-inner {
        width: min(calc(100% - 1.25rem), var(--content-width));
        min-height: 56px;
        padding: 0.45rem 0;
    }

    .mobile-brand {
        font-size: 1.15rem;
        line-height: 1;
    }

    .navigation-toggle {
        min-width: 46px;
        padding: 0.55rem 0.75rem;
    }

    .navigation-list {
        max-height: calc(100dvh - 76px);
        gap: 0.25rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 0.6rem 0 0.2rem;
        border-top: 1px solid var(--border);
        scrollbar-width: thin;
    }

    .navigation-list-open {
        display: flex;
        margin-top: 0.45rem;
    }

    .navigation-list a {
        display: flex;
        align-items: center;
        padding: 0.75rem 0.85rem;
        border-left-width: 3px;
        border-radius: 0 var(--radius-small) var(--radius-small) 0;
        font-size: 0.82rem;
    }

    /* Main page gutters */

    .site-main {
        width: 100%;
        padding:
            1rem
            max(0.85rem, env(safe-area-inset-right))
            3.5rem
            max(0.85rem, env(safe-area-inset-left));
    }

    /* Homepage introduction */

    .homepage-intro {
        margin-bottom: 1rem;
        padding: 1.1rem;
        border-radius: var(--radius-medium);
    }

    .homepage-intro h1 {
        margin-bottom: 0.75rem;
        font-size: clamp(2.05rem, 9vw, 3.15rem);
        line-height: 1.03;
    }

    .homepage-intro-description {
        font-size: 1rem;
        line-height: 1.55;
    }

    .homepage-intro-actions {
        gap: 0.65rem;
        margin-top: 1.25rem;
    }

    .homepage-intro-actions .primary-button,
    .homepage-intro-actions .secondary-button,
    .latest-section-footer .primary-button {
        width: 100%;
    }

    /* Homepage featured article */

    .featured-section {
        margin-bottom: 1.5rem;
    }

    .featured-article {
        border-radius: var(--radius-medium);
        box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
    }

    .featured-image,
    .featured-image img {
        width: 100%;
        min-height: 0;
        max-height: none;
        aspect-ratio: 16 / 10;
    }

    .featured-content {
        padding: 1.05rem;
    }

    .featured-content .eyebrow {
        margin-bottom: 0.35rem;
    }

    .featured-content .article-date {
        margin-bottom: 0.65rem;
    }

    .featured-content h2 {
        margin-bottom: 0.85rem;
        font-size: clamp(1.75rem, 7.6vw, 2.55rem);
        line-height: 1.05;
    }

    .featured-description {
        display: -webkit-box;
        margin-bottom: 1rem;
        overflow: hidden;
        font-size: 1rem;
        line-height: 1.55;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .featured-content .primary-button {
        width: 100%;
    }

    /* Section headings and archive header */

    .section-header,
    .contact-section-header {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
        margin-bottom: 1rem;
    }

    .section-header h2,
    .archive-header h1 {
        font-size: clamp(1.9rem, 8vw, 2.75rem);
        line-height: 1.04;
    }

    .archive-header {
        margin-bottom: 1.5rem;
    }

    .archive-header > p:last-child {
        margin-top: 0.7rem;
        font-size: 1rem;
        line-height: 1.55;
    }

    /* Breakdown cards */

    .article-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .article-card {
        border-radius: 12px;
    }

    .article-card:hover {
        transform: none;
    }

    .article-card-content {
        padding: 1rem;
    }

    .article-card .article-date {
        margin-bottom: 0.55rem;
        font-size: 0.74rem;
    }

    .article-card h2,
    .article-card h3 {
        margin-bottom: 0.65rem;
        font-size: clamp(1.4rem, 6.4vw, 1.9rem);
        line-height: 1.09;
    }

    .article-card-content > p:not(.article-date) {
        display: -webkit-box;
        margin-bottom: 0.9rem;
        overflow: hidden;
        line-height: 1.55;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .card-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Individual breakdown pages */

    .post-page {
        width: 100%;
    }

    .post-breadcrumbs {
        margin-bottom: 0.85rem;
        font-size: 0.62rem;
        line-height: 1.4;
    }

    .post-breadcrumbs li[aria-current="page"] {
        display: none;
    }

    .post-header {
        margin-bottom: 1.25rem;
    }

    .post-header h1 {
        margin-bottom: 0.85rem;
        font-size: clamp(1.95rem, 8.5vw, 2.8rem);
        line-height: 1.04;
    }

    .post-description {
        margin-bottom: 0.9rem;
        font-size: 1.02rem;
        line-height: 1.55;
    }

    .post-meta {
        gap: 0.25rem 0.5rem;
        font-size: 0.7rem;
        line-height: 1.45;
    }

    .post-featured-image {
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }

    .post-featured-image img {
        max-height: 430px;
    }

    .post-body {
        width: 100%;
        font-size: 1.05rem;
        line-height: 1.75;
    }

    .post-body p,
    .post-body ul,
    .post-body ol,
    .post-body blockquote {
        margin-bottom: 1.25rem;
    }

    .post-body h2 {
        margin: 2.25rem 0 0.8rem;
        font-size: clamp(1.65rem, 7vw, 2.15rem);
        line-height: 1.16;
    }

    .post-body h3 {
        margin: 1.9rem 0 0.7rem;
        font-size: clamp(1.3rem, 5.8vw, 1.65rem);
        line-height: 1.2;
    }

    .post-body h4 {
        font-size: 1.15rem;
    }

    .post-body blockquote {
        padding: 0.9rem 1rem;
    }

    .post-body img {
        margin: 1.5rem auto;
        border-radius: 6px;
    }

    .post-body iframe,
    .post-body video {
        width: 100%;
        height: auto;
        margin: 1.5rem 0;
        aspect-ratio: 16 / 9;
        border-radius: 8px;
    }

    .post-body table {
        -webkit-overflow-scrolling: touch;
        font-size: 0.82rem;
    }

    .post-body th,
    .post-body td {
        min-width: 120px;
        padding: 0.6rem;
    }

    /* Sharing, topics, related content, and next/previous links */

    .post-share {
        margin-top: 2rem;
        padding: 1rem;
    }

    .post-share-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
        margin-bottom: 0.9rem;
    }

    .post-share-heading h2 {
        font-size: 1.85rem;
        line-height: 1;
    }

    .post-share-heading > p {
        text-align: left;
    }

    .post-share-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .post-share-button {
        min-height: 48px;
        padding: 0.7rem 0.55rem;
    }

    .post-footer {
        margin-top: 2rem;
    }

    .post-archive-link {
        align-items: stretch;
        flex-direction: column;
        padding: 1rem;
    }

    .post-archive-link .primary-button {
        width: 100%;
    }

    .related-breakdowns {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .post-navigation {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-top: 2.5rem;
        padding-top: 1.5rem;
    }

    .post-navigation-card {
        min-height: 82px;
        padding: 1rem;
    }

    .post-navigation-next {
        text-align: left;
    }

    /* Contact, about, privacy, and simple content pages */

    .contact-hero,
    .about-hero {
        gap: 0.85rem;
        margin-bottom: 2.5rem;
    }

    .contact-hero-main,
    .about-hero-copy,
    .privacy-hero,
    .simple-about-hero {
        min-height: 0;
        padding: 1.1rem;
        border-radius: var(--radius-medium);
    }

    .contact-hero-main h1,
    .about-hero-copy h1,
    .privacy-hero h1,
    .simple-about-hero h1 {
        margin-bottom: 0.8rem;
        font-size: clamp(2.15rem, 9.5vw, 3.2rem);
        line-height: 1.02;
    }

    .contact-description,
    .about-hero-description,
    .simple-about-intro,
    .privacy-hero-copy > p:last-child {
        font-size: 1rem;
        line-height: 1.55;
    }

    .contact-actions,
    .about-actions,
    .simple-about-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.65rem;
        margin-top: 1.25rem;
    }

    .contact-actions .primary-button,
    .contact-actions .secondary-button,
    .about-actions .primary-button,
    .about-actions .secondary-button,
    .simple-about-actions .primary-button,
    .simple-about-actions .secondary-button {
        width: 100%;
    }

    .about-mission,
    .about-principles,
    .about-contact-panel,
    .simple-about-background {
        gap: 1.25rem;
        margin-bottom: 3rem;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .about-section-heading h2,
    .about-coverage-header h2,
    .about-principles h2,
    .about-contact-panel h2,
    .privacy-summary h2,
    .privacy-content h2,
    .simple-about-heading h2,
    .simple-about-background h2 {
        font-size: clamp(1.8rem, 7.5vw, 2.5rem);
        line-height: 1.05;
    }

    .privacy-summary {
        margin-bottom: 2.5rem;
    }

    .privacy-content > section {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    /* Footer */

    .site-footer {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .footer-inner {
        width: 100%;
        padding:
            2.25rem
            max(0.85rem, env(safe-area-inset-right))
            1.25rem
            max(0.85rem, env(safe-area-inset-left));
    }

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

    .footer-column h2 {
        margin-bottom: 0.65rem;
        font-size: 1.15rem;
    }

    .footer-socials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.35rem;
    }

    .footer-socials a {
        min-height: 44px;
        padding: 0.4rem;
    }

    .footer-socials img {
        width: 28px;
        height: 28px;
    }

    .footer-socials span {
        font-size: 0.76rem;
    }

    .footer-bottom {
        gap: 0.65rem;
        margin-top: 2rem;
        padding-top: 1rem;
    }
}

@media (max-width: 480px) {
    .site-main {
        padding-right: max(0.7rem, env(safe-area-inset-right));
        padding-left: max(0.7rem, env(safe-area-inset-left));
    }

    .homepage-intro h1 {
        font-size: clamp(1.95rem, 8.8vw, 2.75rem);
    }

    .featured-content h2 {
        font-size: clamp(1.65rem, 7.4vw, 2.3rem);
    }

    .post-header h1 {
        font-size: clamp(1.85rem, 8.2vw, 2.55rem);
    }

    .article-card h2,
    .article-card h3 {
        font-size: clamp(1.35rem, 6.2vw, 1.75rem);
    }

    .post-body {
        font-size: 1.02rem;
    }

    .post-share-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .platform-card {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 0.75rem;
        padding: 0.85rem;
    }

    .platform-icon {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 360px) {
    .post-share-actions,
    .footer-socials {
        grid-template-columns: 1fr;
    }

    .post-header h1,
    .featured-content h2,
    .homepage-intro h1 {
        font-size: 1.8rem;
    }
}

/* Archive search and filters */

.archive-tools {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) repeat(2, minmax(150px, 0.35fr));
    gap: 0.85rem;
    align-items: end;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    background: var(--surface);
}

.archive-tools label {
    display: grid;
    gap: 0.4rem;
    color: var(--text-soft);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.archive-tools input,
.archive-tools select {
    width: 100%;
    min-height: 46px;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-small);
    background: #0a0a0a;
    color: #ffffff;
    font: inherit;
    font-size: 0.9rem;
    letter-spacing: normal;
    text-transform: none;
}

.archive-tools input:focus,
.archive-tools select:focus {
    border-color: var(--accent);
    outline: 2px solid rgba(255, 74, 84, 0.22);
    outline-offset: 1px;
}

.archive-status {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.archive-empty {
    padding: 2rem;
    border: 1px dashed var(--border-bright);
    border-radius: var(--radius-medium);
    color: var(--text-soft);
    text-align: center;
}

[data-archive-card][hidden],
.archive-empty[hidden] {
    display: none !important;
}

@media (max-width: 850px) {
    .navigation-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0.55rem 0;
    }

    .mobile-brand {
        display: inline-flex;
    }

    .navigation-toggle {
        display: inline-flex;
    }

    .navigation-list {
        display: none;
        width: 100%;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-top: 0.55rem;
    }

    .navigation-list-open {
        display: flex;
    }

    .navigation-list a {
        min-height: 46px;
        padding: 0.75rem;
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 760px) {
    .archive-tools {
        grid-template-columns: 1fr;
    }

    .homepage-intro-actions .secondary-button {
        width: 100%;
    }
}

/* Modern mobile navigation */

.navigation-panel {
    display: contents;
}

.navigation-panel-header,
.navigation-panel-footer,
.navigation-backdrop {
    display: none;
}

.navigation-list a > span:last-child {
    display: none;
}

@media (max-width: 850px) {
    .site-navigation {
        z-index: 200;
        backdrop-filter: none;
    }

    .navigation-inner {
        flex-wrap: nowrap;
    }

    .navigation-toggle {
        position: relative;
        display: grid;
        width: 46px;
        min-width: 46px;
        height: 46px;
        min-height: 46px;
        place-items: center;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.055);
        transition:
            border-color 180ms ease,
            background-color 180ms ease,
            transform 180ms ease;
    }

    .navigation-toggle:hover,
    .navigation-toggle:focus-visible {
        border-color: var(--accent);
        background: rgba(255, 74, 84, 0.12);
        transform: scale(1.04);
    }

    .navigation-toggle-label {
        position: absolute;
        overflow: hidden;
        width: 1px;
        height: 1px;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .navigation-toggle-icon {
        display: grid;
        gap: 4px;
        width: 20px;
    }

    .navigation-toggle-icon > span {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 99px;
        background: #ffffff;
        transform-origin: center;
        transition:
            opacity 180ms ease,
            transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .navigation-toggle[aria-expanded="true"] .navigation-toggle-icon > span:first-child {
        transform: translateY(6px) rotate(45deg);
    }

    .navigation-toggle[aria-expanded="true"] .navigation-toggle-icon > span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .navigation-toggle[aria-expanded="true"] .navigation-toggle-icon > span:last-child {
        transform: translateY(-6px) rotate(-45deg);
    }

    .navigation-panel {
        position: fixed;
        z-index: 220;
        top: 0;
        right: 0;
        display: flex;
        width: min(88vw, 390px);
        height: 100dvh;
        flex-direction: column;
        overflow: hidden;
        padding:
            max(1rem, env(safe-area-inset-top))
            max(1rem, env(safe-area-inset-right))
            max(1rem, env(safe-area-inset-bottom))
            1rem;
        border-left: 1px solid rgba(255, 255, 255, 0.15);
        background:
            radial-gradient(
                circle at 100% 0,
                rgba(255, 74, 84, 0.22),
                transparent 38%
            ),
            #0b0b0b;
        box-shadow: -28px 0 70px rgba(0, 0, 0, 0.58);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(104%);
        transition:
            opacity 220ms ease,
            transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 360ms;
    }

    .navigation-is-open .navigation-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
        transition-delay: 0s;
    }

    .navigation-panel-header {
        display: flex;
        min-height: 58px;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0 0.2rem 0.8rem;
        border-bottom: 1px solid var(--border);
        color: #ffffff;
        font-family: "Gobold", Impact, sans-serif;
        font-size: 1.35rem;
        line-height: 1;
        text-transform: uppercase;
    }

    .navigation-close {
        position: relative;
        width: 44px;
        height: 44px;
        flex: 0 0 auto;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.055);
        color: #ffffff;
        cursor: pointer;
    }

    .navigation-close:hover,
    .navigation-close:focus-visible {
        border-color: var(--accent);
        background: var(--accent);
    }

    .navigation-close > span {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 18px;
        height: 2px;
        border-radius: 99px;
        background: currentColor;
    }

    .navigation-close > span:first-child {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .navigation-close > span:last-child {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .navigation-list,
    .navigation-list.navigation-list-open {
        display: flex;
        width: 100%;
        max-height: none;
        flex: 1 1 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        overflow-y: auto;
        margin: 0;
        padding: 1rem 0;
        border: 0;
        counter-reset: mobile-navigation;
        scrollbar-width: thin;
    }

    .navigation-list li {
        counter-increment: mobile-navigation;
        transform: translateX(22px);
        transition:
            opacity 220ms ease,
            transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
        opacity: 0;
    }

    .navigation-is-open .navigation-list li {
        opacity: 1;
        transform: translateX(0);
    }

    .navigation-is-open .navigation-list li:nth-child(2) {
        transition-delay: 35ms;
    }

    .navigation-is-open .navigation-list li:nth-child(3) {
        transition-delay: 70ms;
    }

    .navigation-is-open .navigation-list li:nth-child(4) {
        transition-delay: 105ms;
    }

    .navigation-is-open .navigation-list li:nth-child(5) {
        transition-delay: 140ms;
    }

    .navigation-is-open .navigation-list li:nth-child(6) {
        transition-delay: 175ms;
    }

    .navigation-list a {
        display: grid;
        min-height: 58px;
        grid-template-columns: 32px minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.75rem;
        padding: 0.7rem 0.85rem;
        border: 1px solid transparent;
        border-radius: 12px;
        color: var(--text-soft);
        font-size: 0.93rem;
        letter-spacing: 0.045em;
    }

    .navigation-list a::before {
        color: var(--muted);
        content: "0" counter(mobile-navigation);
        font-family: "Courier New", monospace;
        font-size: 0.64rem;
        font-weight: 900;
    }

    .navigation-list a > span:last-child {
        display: inline;
        color: var(--muted);
        font-size: 0.85rem;
        transition: transform 160ms ease;
    }

    .navigation-list a:hover,
    .navigation-list a:focus-visible {
        border-color: rgba(255, 255, 255, 0.16);
        background: rgba(255, 255, 255, 0.055);
        color: #ffffff;
    }

    .navigation-list a:hover > span:last-child,
    .navigation-list a:focus-visible > span:last-child {
        transform: translate(2px, -2px);
    }

    .navigation-list a[aria-current="page"] {
        border-color: var(--accent);
        background:
            linear-gradient(
                100deg,
                rgba(255, 74, 84, 0.2),
                rgba(255, 74, 84, 0.055)
            );
        color: #ffffff;
    }

    .navigation-list a[aria-current="page"]::before,
    .navigation-list a[aria-current="page"] > span:last-child {
        color: var(--accent-soft);
    }

    .navigation-panel-footer {
        display: block;
        padding: 0.85rem 0.25rem 0;
        border-top: 1px solid var(--border);
        color: var(--muted);
        font-size: 0.62rem;
        font-weight: 900;
        letter-spacing: 0.11em;
        text-transform: uppercase;
    }

    .navigation-backdrop {
        position: fixed;
        z-index: 190;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(0, 0, 0, 0.66);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        cursor: default;
        backdrop-filter: blur(5px);
        transition:
            opacity 220ms ease,
            visibility 0s linear 220ms;
    }

    .navigation-is-open .navigation-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .navigation-toggle,
    .navigation-toggle-icon > span,
    .navigation-panel,
    .navigation-list li,
    .navigation-backdrop {
        transition: none !important;
    }
}
/* =========================================================
   ARTICLE VIDEO EMBEDS
   ========================================================= */

.article-video-embed {
    width: 100%;
    margin: 1.75rem 0;
}

.article-video-embed iframe,
.article-video-embed video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    background: #000;
}

.article-video-embed video {
    height: auto;
}
.article-video-embed img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
}

/* Source: assets/site-shell.css */
/* =========================================================
   CANONICAL SITE SHELL
   Shared navigation, page rhythm, typography, headers, and accessibility.
   Page-specific styles should handle page-specific components only.
   ========================================================= */

:root {
    --page-title-size: clamp(2.05rem, 3.65vw, 3.35rem);
    --page-header-gap: clamp(.78rem, 1.4vw, 1.05rem);
    --page-header-padding: clamp(.62rem, 1vw, .82rem);
    --section-heading-gap: .7rem;
    --feature-page-title-size: clamp(2.35rem, 4.7vw, 4.2rem);
    --feature-page-gap: clamp(1.5rem, 2.7vw, 2.25rem);
}

/* Header / brand */
.logo-banner {
    padding: 0.2rem 1rem;
    opacity: 1;
}

.logo-banner > a,
.site-logo {
    opacity: 1;
    filter: none;
    mix-blend-mode: normal;
}

.site-logo {
    width: min(64vw, 260px);
    height: auto;
    max-width: 100%;
    max-height: none;
    aspect-ratio: 5 / 2;
    object-fit: contain;
}

/* Reserve the exact live-strip row before its deferred data script runs. */
.site-live-strip-reserve {
    width: 100%;
    height: 38px;
    min-height: 38px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: #050505;
}

.site-live-strip + .site-live-strip-reserve {
    display: none;
}

.site-live-strip {
    margin-bottom: 0 !important;
    animation: site-live-strip-fade 140ms ease-out both !important;
}

@keyframes site-live-strip-fade {
    from { opacity: 0.72; }
    to { opacity: 1; }
}

/* =========================================================
   NAVIGATION
   ========================================================= */

@media (min-width: 851px) {
    .navigation-inner {
        justify-content: center;
    }

    .navigation-panel {
        position: relative;
        display: grid !important;
        width: 100%;
        grid-template-columns: minmax(132px, 1fr) auto minmax(132px, 1fr);
        align-items: center;
        column-gap: 0.7rem;
    }

    .navigation-list {
        display: flex !important;
        grid-column: 2;
        width: auto;
        justify-content: center;
        gap: 0.05rem;
        margin: 0;
        padding: 0;
    }

    .navigation-list li {
        opacity: 1 !important;
        transform: none !important;
    }

    .navigation-list a {
        padding-inline: 0.68rem;
        font-size: 0.79rem;
        white-space: nowrap;
    }

    .navigation-list a > span:first-child {
        display: inline !important;
    }

    .site-display-controls {
        position: static;
        grid-column: 3;
        justify-self: end;
        transform: none;
    }
}

.navigation-list a {
    display: inline-flex;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
}

.site-display-controls {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    padding-left: 0.6rem;
    border-left: 1px solid var(--border);
}

.site-display-button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 0.24rem;
    padding: 0.45rem 0.46rem;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    font: 800 0.63rem/1 Arial, Helvetica, sans-serif;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    cursor: pointer;
}

.site-display-label {
    display: inline;
}

.site-display-icon {
    min-width: auto;
    color: var(--accent-soft);
    font-family: "Courier New", monospace;
    font-size: 0.68rem;
    text-align: center;
}

.site-display-button:hover,
.site-display-button:focus-visible {
    color: #ffffff;
}

.site-display-button[aria-pressed="true"] {
    border-bottom-color: var(--accent);
    color: #ffffff;
}

.site-display-button:disabled {
    cursor: default;
    opacity: 0.72;
}

@media (min-width: 851px) and (max-width: 1050px) {
    .navigation-panel {
        grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr);
        column-gap: 0.35rem;
    }

    .navigation-list a {
        padding-inline: 0.45rem;
        font-size: 0.71rem;
    }

    .site-display-controls {
        gap: 0;
        padding-left: 0.35rem;
    }

    .site-display-button {
        padding-inline: 0.3rem;
        font-size: 0.625rem;
    }

    .site-display-icon {
        display: none;
    }
}

/* =========================================================
   SHARED PAGE RHYTHM + TOP-LEVEL HEADERS
   The primary site tools use one compact title system. Pages can keep their
   own controls/content beneath it without redefining title spacing and scale.
   ========================================================= */

.site-main {
    padding-top: clamp(1.2rem, 1.8vw, 1.55rem);
}

h1,
h2,
h3 {
    text-wrap: balance;
}

.archive-header,
.news-page-header,
.upcoming-events-header,
.event-map-hero,
.ufc-roster-hero,
.otd-page-header {
    margin: 0 0 var(--page-header-gap);
    padding: 0 0 var(--page-header-padding);
    border-bottom: 1px solid var(--border);
}

.archive-header h1,
.news-page-header h1,
.upcoming-events-header h1,
.event-map-hero h1,
.ufc-roster-hero h1,
.otd-page-header h1 {
    margin: 0;
    color: #ffffff;
    font-family: "Gobold", Impact, sans-serif;
    font-size: var(--page-title-size);
    font-weight: 700;
    line-height: .96;
    letter-spacing: .008em;
    text-transform: uppercase;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

/* Roster keeps its useful live-state indicator, but its label/title now use
   the same vertical rhythm as the other primary tools. */
.ufc-roster-eyebrow {
    margin-bottom: .22rem;
    font-size: .625rem;
    line-height: 1;
}

.ufc-roster-live-status {
    margin-bottom: .02rem;
}

/* On This Day has useful date controls inside the header. Keep them compact
   rather than letting the header become a second hero section. */
.otd-page-header {
    gap: .34rem;
}

.otd-page-header .otd-page-date-row {
    margin-top: .28rem;
}

/* Feature/editorial pages keep their compositions, but use sane leading. */
.homepage-intro h1,
.featured-content h2,
.post-header h1,
.simple-about-hero h1,
.simple-about-heading h2,
.simple-about-background h2,
.contact-hero-main h1,
.contact-section-header h2,
.privacy-hero h1,
.privacy-summary h2,
.privacy-content h2,
.mma-gallery-hero h1,
.media-kit-hero h1,
.media-kit-section-heading h2,
.media-kit-panel h2,
.media-kit-value > header h2 {
    line-height: 1.08;
}

/* Special pages retain their own visual identity, but no longer each reserve
   a different amount of empty space above or below the opening title. */
.simple-about-hero,
.contact-hero,
.privacy-hero,
.mma-gallery-hero,
.media-kit-hero,
.yellow-pages-cover {
    margin-top: 0;
}

.simple-about-hero,
.contact-page .contact-hero-simple,
.privacy-hero,
.mma-gallery-hero,
.media-kit-hero,
.yellow-pages-cover {
    margin-bottom: var(--feature-page-gap);
}

.simple-about-hero h1,
.contact-hero-main h1,
.privacy-hero h1,
.mma-gallery-hero h1,
.media-kit-hero h1 {
    font-size: var(--feature-page-title-size);
    line-height: .98;
}

/* Contact had a large fixed-height hero even when its content was short.
   Let content determine the height and retain only intentional breathing room. */
.contact-page .contact-hero-simple .contact-hero-main {
    min-height: 0;
    padding-top: clamp(1.15rem, 2.5vw, 2rem);
    padding-bottom: clamp(1.15rem, 2.5vw, 2rem);
}

/* The About and Privacy openers were also behaving like oversized landing
   heroes. Keep their decoration, but use normal document flow. */
.simple-about-hero,
.privacy-hero {
    min-height: 0;
}

.media-kit-stat strong,
.media-kit-proof strong,
.media-kit-platform-lead strong,
.ufc-roster-rank {
    line-height: 1;
}

/* Shared section-row contract. Page CSS owns decoration and size; the shell
   owns optical alignment so every tool does not need its own corrective rule. */
:where(
    .section-header,
    .home-panel-heading,
    .event-card-section-heading,
    .news-section-heading,
    .otd-compact-header,
    .ufc-roster-section-header,
    .event-map-results > header
) {
    align-items: center;
}

:where(
    .section-header,
    .home-panel-heading,
    .event-card-section-heading,
    .news-section-heading,
    .otd-compact-header,
    .ufc-roster-section-header,
    .event-map-results > header
) > :where(h1, h2, h3, a, span, div) {
    margin-block: 0;
}

:where(
    .section-header,
    .home-panel-heading,
    .event-card-section-heading,
    .news-section-heading,
    .otd-compact-header,
    .ufc-roster-section-header
) > :where(h1, h2, h3, a, span) {
    line-height: 1;
}

:where(
    .home-tool-link,
    .home-next-actions a,
    .post-event-context-actions a,
    .event-map-range button,
    .event-map-near-button,
    .event-map-detail-actions a,
    .event-map-detail-actions button,
    .otd-control-button,
    .otd-mini-button,
    .news-source-chip,
    .news-show-more
) {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
}

/* Editorial body copy stays readable and separate from display type. */
.post-body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.72;
}

.post-body h2,
.post-body h3,
.post-body h4 {
    line-height: 1.2;
}

/* Dynamic archive shells reserve realistic geometry during fetch. */
.otd-page-date {
    display: block;
    min-height: 0.95em;
}

.otd-page-count {
    min-height: 1.2em;
}

.otd-list:empty {
    position: relative;
    min-height: clamp(190px, 24vw, 250px);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.otd-list:empty::before {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--muted);
    font: 800 0.68rem/1.2 "Courier New", monospace;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    content: "Loading history…";
}

/* Keep section labels where they add context; the gallery's old top label was
   redundant with its title. */
.mma-gallery-hero-copy > .eyebrow {
    display: none;
}

/* Fight Card Picker: compact zine layout with a 10px functional-text floor. */
.event-promotion {
    font-size: 0.625rem;
}

.event-card-meta p {
    font-size: 0.625rem;
    line-height: 1.35;
}

.event-card-meta a {
    font-size: 0.625rem;
}

.event-card-section-heading span {
    font-size: 0.625rem;
}

.event-card-heading h2 {
    line-height: 1.01;
}

.event-card-section-heading h3 {
    line-height: 1.05;
}

.bout-label {
    min-height: 20px;
    font-size: 0.625rem;
    line-height: 1.2;
}

.bout-footer {
    min-height: 22px;
    font-size: 0.625rem;
    line-height: 1.12;
}

.event-card-note p {
    font-size: 0.625rem;
    line-height: 1.4;
}

.fighter-name {
    line-height: 1.05;
}

.prediction-button {
    min-height: 44px;
}

/* Event Map utility labels should read as UI, not decoration. */
.event-map-detail-lock,
.event-map-detail-topline,
.event-map-detail-matchup-label,
.event-map-legend {
    line-height: 1.3;
}

/* =========================================================
   READABILITY MODE
   ========================================================= */

html.readable-mode body {
    font-size: 18px;
    line-height: 1.78;
    letter-spacing: 0.006em;
}

html.readable-mode h1,
html.readable-mode h2,
html.readable-mode h3,
html.readable-mode h4,
html.readable-mode .mobile-brand,
html.readable-mode .ufc-roster-rank {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    letter-spacing: 0.005em;
}

html.readable-mode h1,
html.readable-mode h2,
html.readable-mode h3 {
    line-height: 1.16;
}

html.readable-mode .post-body {
    width: min(100%, 760px);
    font-size: 1.04rem;
    line-height: 1.85;
}

html.readable-mode .post-body p,
html.readable-mode .post-body li,
html.readable-mode .post-description,
html.readable-mode .featured-description,
html.readable-mode .homepage-intro-description {
    max-width: 72ch;
}

html.readable-mode .article-card-content,
html.readable-mode .post-share,
html.readable-mode .event-map-detail-card,
html.readable-mode .ufc-roster-card {
    line-height: 1.65;
}

html.readable-mode .navigation-list a,
html.readable-mode .footer-navigation a,
html.readable-mode .primary-button,
html.readable-mode .secondary-button {
    letter-spacing: 0.025em;
}

html.readable-mode .eyebrow,
html.readable-mode .article-date,
html.readable-mode .post-meta,
html.readable-mode .event-map-detail-topline,
html.readable-mode .event-map-legend {
    letter-spacing: 0.06em;
}

/* =========================================================
   REDUCE MOTION
   ========================================================= */

html.reduce-motion {
    scroll-behavior: auto;
}

html.reduce-motion *,
html.reduce-motion *::before,
html.reduce-motion *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
}

html.reduce-motion .site-news-track {
    animation: none !important;
    transform: none !important;
}

html.reduce-motion .article-card:hover,
html.reduce-motion .featured-image:hover img,
html.reduce-motion .article-card-image:hover img,
html.reduce-motion .news-card:hover img,
html.reduce-motion .mma-gallery-card:hover,
html.reduce-motion .mma-gallery-image-button:hover img {
    transform: none !important;
}

@media (prefers-reduced-motion: no-preference) {
    html.reduce-motion body .site-news-track {
        animation: site-news-scroll-manual var(--site-news-duration, 70s) linear infinite !important;
    }

    html.reduce-motion body .site-news-sequence:nth-child(2) {
        display: flex !important;
    }
}

@keyframes site-news-scroll-manual {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 850px) {
    :root {
        --page-title-size: clamp(1.85rem, 8.2vw, 2.65rem);
        --page-header-gap: .78rem;
        --page-header-padding: .62rem;
        --feature-page-title-size: clamp(2rem, 9vw, 3rem);
        --feature-page-gap: 1.25rem;
    }

    .site-main {
        padding-top: 1rem;
    }

    .navigation-list,
    .navigation-list.navigation-list-open {
        gap: 0.25rem;
        counter-reset: none;
    }

    .navigation-list li {
        counter-increment: none;
    }

    .navigation-list a {
        display: flex;
        min-height: 54px;
        align-items: center;
        grid-template-columns: none;
        gap: 0;
        padding: 0.78rem 0.85rem;
        border: 1px solid transparent;
        border-left: 3px solid transparent;
        border-radius: 8px;
        color: var(--text-soft);
        font-size: 0.92rem;
        letter-spacing: 0.035em;
    }

    .navigation-list a::before {
        display: none;
        content: none;
    }

    .navigation-list a > span:last-child {
        display: inline;
        color: inherit;
        font-size: inherit;
        transition: none;
        transform: none;
    }

    .navigation-list a:hover > span:last-child,
    .navigation-list a:focus-visible > span:last-child {
        transform: none;
    }

    .navigation-list a[aria-current="page"] {
        border-color: rgba(255, 74, 84, 0.3);
        border-left-color: var(--accent);
        background: rgba(255, 74, 84, 0.1);
    }

    .site-display-controls {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
        margin: 0.25rem 0 0;
        padding: 0.9rem 0 0;
        border-top: 1px solid var(--border);
        border-left: 0;
    }

    .site-display-controls::before {
        grid-column: 1 / -1;
        color: var(--muted);
        font: 800 0.64rem/1.2 Arial, Helvetica, sans-serif;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        content: "Display preferences";
    }

    .site-display-button {
        width: 100%;
        min-height: 44px;
        border: 1px solid var(--border-bright);
        border-radius: var(--radius-small);
        background: #101010;
        color: var(--text-soft);
        font-size: 0.68rem;
    }

    .site-display-button[aria-pressed="true"] {
        border-color: var(--accent);
        background: rgba(255, 74, 84, 0.12);
    }

    .site-display-icon {
        display: inline;
        font-size: 0.72rem;
    }

    .ufc-roster-hero {
        gap: .45rem;
    }

    .otd-page-header .otd-page-date-row {
        margin-top: .2rem;
    }

    .contact-page .contact-hero-simple .contact-hero-main {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

@media (max-width: 760px) {
    .logo-banner {
        padding: 0.2rem 0.75rem;
    }

    .site-logo {
        width: min(62vw, 220px);
    }

    .post-body h2,
    .post-body h3,
    .post-body h4 {
        line-height: 1.22;
    }

    html.readable-mode body {
        font-size: 17px;
    }
}

/* Source: assets/site-ticker.css */
/* =========================================================
   SITE-WIDE LIVE EVENT + NEWS TICKER
   ========================================================= */

.site-live-strip {
    --site-ticker-font-size: .62rem;
    position: sticky;
    top: 52px;
    z-index: 96;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.16);
    background: rgba(5,5,5,.97);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,.24);
    backdrop-filter: blur(10px);
    animation: site-live-strip-enter 180ms cubic-bezier(.2,.75,.25,1) both;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.site-live-strip *,
.site-live-strip *::before,
.site-live-strip *::after {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.site-live-strip[hidden] {
    display: none !important;
}

.site-live-strip-inner {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    width: min(100%, 1600px);
    min-height: 38px;
    margin: 0 auto;
}

.site-event-stack {
    position: relative;
    z-index: 4;
    min-width: 250px;
    border-right: 1px solid rgba(255,255,255,.2);
    background:
        linear-gradient(110deg, rgba(255,74,84,.13), transparent 75%),
        #090909;
}

.site-event-primary {
    display: grid;
    width: 100%;
    min-height: 38px;
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-content: start;
    gap: .5rem;
    padding: .45rem .72rem;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font: 800 var(--site-ticker-font-size) "Courier New", monospace;
    letter-spacing: .035em;
    line-height: 1;
    text-align: left;
    text-transform: uppercase;
}

.site-event-primary:hover,
.site-event-primary:focus-visible,
.site-event-stack.is-open .site-event-primary {
    background: rgba(255,255,255,.045);
}

.site-event-primary:focus-visible {
    outline: 2px solid var(--accent, #ff4a54);
    outline-offset: -2px;
}

.site-event-primary-name {
    color: #fff;
    font-size: var(--site-ticker-font-size);
    line-height: 1;
    white-space: nowrap;
}

.site-event-primary-countdown {
    color: #d5d5d5;
    font-size: var(--site-ticker-font-size);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    white-space: nowrap;
}

.site-event-primary-countdown[data-live="true"] {
    color: #ff6670;
}

.site-event-primary-countdown[data-live="true"]::before {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: .35rem;
    border-radius: 50%;
    background: #ff4a54;
    box-shadow: 0 0 0 0 rgba(255,74,84,.45);
    content: "";
    animation: site-live-pulse 1.5s ease-out infinite;
}

.site-event-more {
    display: inline-flex;
    min-width: 28px;
    height: 20px;
    align-items: center;
    justify-content: center;
    padding: 0 .35rem;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 999px;
    color: #fff;
    font-size: var(--site-ticker-font-size);
    line-height: 1;
}

.site-event-more[hidden] {
    display: none !important;
}

.site-event-drawer {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    width: min(430px, calc(100vw - 1rem));
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    border-top: 0;
    background: #0a0a0a;
    box-shadow: 0 18px 42px rgba(0,0,0,.48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-5px);
    transition:
        opacity 150ms ease,
        transform 190ms cubic-bezier(.2,.75,.25,1),
        visibility 0s linear 190ms;
}

.site-event-stack.is-open .site-event-drawer {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.site-event-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .55rem .72rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
    color: #858585;
    font: 800 .55rem "Courier New", monospace;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.site-event-list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-event-list li + li {
    border-top: 1px solid rgba(255,255,255,.09);
}

.site-event-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: .8rem;
    align-items: center;
    padding: .68rem .72rem;
    color: #fff;
    text-decoration: none;
    transition: background-color 140ms ease, transform 170ms ease;
}

.site-event-row:hover,
.site-event-row:focus-visible {
    background: rgba(255,255,255,.05);
}

.site-event-row:focus-visible {
    outline: 2px solid var(--accent, #ff4a54);
    outline-offset: -2px;
}

.site-event-row-main {
    min-width: 0;
}

.site-event-row-name {
    display: block;
    overflow: hidden;
    color: #fff;
    font: 900 .68rem "Courier New", monospace;
    letter-spacing: .035em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-event-row-detail {
    display: block;
    overflow: hidden;
    margin-top: .18rem;
    color: #888;
    font: 700 .54rem "Courier New", monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-event-row-countdown {
    color: #cfcfcf;
    font: 900 .62rem "Courier New", monospace;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.site-event-row-countdown[data-live="true"] {
    color: #ff6670;
}

.site-news-ticker {
    display: grid;
    min-width: 0;
    grid-template-columns: auto minmax(0,1fr);
    align-items: stretch;
}

.site-news-label {
    display: flex;
    align-items: center;
    padding: 0 .65rem;
    border-right: 1px solid rgba(255,255,255,.13);
    color: var(--accent, #ff4a54);
    font: 900 var(--site-ticker-font-size) "Courier New", monospace;
    letter-spacing: .11em;
    line-height: 1;
    text-transform: uppercase;
}

.site-news-viewport {
    position: relative;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 18px, #000 calc(100% - 18px), transparent);
}

.site-news-track {
    display: flex;
    width: max-content;
    min-height: 38px;
    align-items: center;
    animation: site-news-scroll var(--site-news-duration, 70s) linear infinite;
    animation-play-state: running !important;
    will-change: transform;
}

/* The news rail is operational information, not decorative motion. It keeps
   moving even when the site's broader Motion: Reduced preference is active. */

.site-news-sequence {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding-right: 2rem;
}

.site-news-item {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    color: #d7d7d7;
    font: 700 var(--site-ticker-font-size) "Courier New", monospace;
    letter-spacing: .015em;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.site-news-item > span {
    flex: 0 0 auto;
    font-family: "Courier New", monospace;
    font-size: var(--site-ticker-font-size) !important;
    line-height: 1 !important;
}

.site-news-item + .site-news-item::before {
    margin: 0 .65rem;
    color: #4d4d4d;
    content: "•";
}

.site-news-item-source {
    color: #777;
    font-size: var(--site-ticker-font-size) !important;
    font-weight: 900;
    letter-spacing: .055em;
    line-height: 1 !important;
    text-transform: uppercase;
}

.site-news-item:hover,
.site-news-item:focus-visible {
    color: #fff;
}

.site-news-item:focus-visible {
    outline: 1px solid var(--accent, #ff4a54);
    outline-offset: 3px;
}

.site-news-unavailable {
    color: #777;
    font: 700 var(--site-ticker-font-size) "Courier New", monospace;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
}

@keyframes site-live-strip-enter {
    from {
        margin-bottom: -38px;
        opacity: 0;
        transform: translateY(-3px);
    }
    to {
        margin-bottom: 0;
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes site-news-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Reduced-motion mode elsewhere in the shell pins transform:none !important.
   Use the independent translate property here so the information rail can
   still move without fighting that global transform rule. */
@keyframes site-news-scroll-reduced-safe {
    from { translate: 0 0; }
    to { translate: -50% 0; }
}

@keyframes site-live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,74,84,.42); }
    70% { box-shadow: 0 0 0 7px rgba(255,74,84,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,74,84,0); }
}

@media (max-width: 850px) {
    .site-live-strip {
        --site-ticker-font-size: .57rem;
        top: 57px;
    }

    .site-live-strip-inner {
        grid-template-columns: fit-content(46vw) minmax(0,1fr);
    }

    .site-event-stack {
        width: max-content;
        max-width: 46vw;
        min-width: 0;
        border-right: 0;
    }

    .site-event-primary {
        grid-template-columns: minmax(0,auto) auto auto;
        gap: .34rem;
        padding-right: .45rem;
        padding-left: .55rem;
    }

    .site-event-primary-name {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-event-more {
        min-width: 24px;
        height: 18px;
        padding: 0 .28rem;
    }

    .site-news-label {
        display: none;
    }

    .site-news-ticker {
        grid-template-columns: minmax(0,1fr);
    }
}

@media (max-width: 520px) {
    .site-live-strip {
        --site-ticker-font-size: .55rem;
    }

    .site-live-strip-inner {
        grid-template-columns: max-content minmax(0,1fr);
    }

    .site-event-stack {
        width: max-content;
        max-width: none;
    }

    .site-event-primary {
        gap: .18rem;
        padding: .42rem .2rem;
    }

    .site-event-primary-name {
        max-width: 42px;
    }

    .site-event-primary-countdown {
        letter-spacing: .015em;
    }

    .site-event-more {
        min-width: 23px;
        padding: 0 .22rem;
    }

    .site-event-drawer {
        position: absolute;
        top: calc(100% + 1px);
        right: auto;
        bottom: auto;
        left: 0;
        width: min(430px, calc(100vw - .5rem));
        max-height: min(62vh, 430px);
        overflow-y: auto;
        border-top: 0;
        transform: translateY(-5px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-live-strip {
        animation: none !important;
    }

    .site-news-track {
        animation: site-news-scroll-reduced-safe var(--site-news-duration, 70s) linear infinite !important;
        animation-play-state: running !important;
    }

    .site-news-sequence:nth-child(2) {
        display: flex !important;
    }

    .site-event-primary-countdown[data-live="true"]::before {
        animation: none;
    }

    .site-event-drawer,
    .site-event-row {
        transition: none !important;
    }
}

html.reduce-motion .site-live-strip {
    animation: none !important;
}

/* Match the shell rule's body-level specificity. The shell's older reduced-
   motion override otherwise wins the cascade on desktop and pins the rail. */
html.reduce-motion body .site-news-track {
    animation: site-news-scroll-reduced-safe var(--site-news-duration, 70s) linear infinite !important;
    animation-play-state: running !important;
}

html.reduce-motion body .site-news-sequence:nth-child(2) {
    display: flex !important;
}

html.reduce-motion .site-event-primary-countdown[data-live="true"]::before {
    animation: none;
}

/* Pause the actual moving rail. CSS play-state resumes from the exact frame instead of catching up. */
.site-news-viewport:hover .site-news-track,
.site-news-viewport:focus-within .site-news-track {
    animation-play-state: paused !important;
}

html.reduce-motion body .site-news-viewport:hover .site-news-track,
html.reduce-motion body .site-news-viewport:focus-within .site-news-track {
    animation-play-state: paused !important;
}

/* Source: assets/micro-interactions.css */
/* =========================================================
   SITE-WIDE MICRO-INTERACTION LAYER
   Subtle motion, tactile feedback, and clearer interactive states.
   This file is loaded after page-specific CSS so behavior stays
   consistent without changing page structure or content.
   ========================================================= */

:root {
    --micro-fast: 140ms;
    --micro-medium: 190ms;
    --micro-slow: 240ms;
    --micro-ease: cubic-bezier(0.2, 0.75, 0.25, 1);
    --micro-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    --micro-shadow-raised: 0 16px 38px rgba(0, 0, 0, 0.36);
}

:where(a, button, input, select, textarea, summary, [role="button"]) {
    -webkit-tap-highlight-color: transparent;
}

:where(a, button, [role="button"]) {
    transition:
        transform var(--micro-medium) var(--micro-ease),
        box-shadow var(--micro-medium) ease,
        border-color var(--micro-fast) ease,
        background-color var(--micro-fast) ease,
        color var(--micro-fast) ease,
        opacity var(--micro-fast) ease,
        filter var(--micro-medium) ease,
        letter-spacing var(--micro-medium) ease;
}

:where(input, select, textarea) {
    transition:
        border-color var(--micro-fast) ease,
        background-color var(--micro-fast) ease,
        box-shadow var(--micro-medium) ease;
}

:where(a, button, input, select, textarea, summary, [role="button"]):focus-visible {
    outline: 2px solid var(--accent, #ff4a54);
    outline-offset: 3px;
}

/* Branding / header */
.logo-banner a,
.mobile-brand,
.navigation-list a,
.navigation-toggle,
.navigation-close,
.site-logo {
    transition:
        transform var(--micro-medium) var(--micro-ease),
        filter var(--micro-medium) ease,
        border-color var(--micro-fast) ease,
        background-color var(--micro-fast) ease,
        color var(--micro-fast) ease,
        box-shadow var(--micro-medium) ease;
}

/* Shared buttons */
.primary-button,
.secondary-button,
.post-share-button,
.news-rail-button,
.media-kit-primary-button,
.media-kit-secondary-button,
.prediction-button {
    transform-origin: 50% 60%;
    will-change: transform;
}

.primary-button:active,
.secondary-button:active,
.post-share-button:active,
.news-rail-button:active,
.media-kit-primary-button:active,
.media-kit-secondary-button:active,
.prediction-button:active,
.navigation-toggle:active,
.navigation-close:active {
    transform: translateY(1px) scale(0.985);
    box-shadow: none;
}

/* Shared elevated surfaces */
.featured-article,
.article-card,
.post-navigation-card,
.post-archive-link,
.post-share,
.archive-tools,
.platform-card,
.privacy-email-card,
.contact-hero-main,
.about-hero-copy,
.simple-about-hero,
.privacy-hero,
.media-kit-card {
    transition:
        transform var(--micro-medium) var(--micro-ease),
        box-shadow var(--micro-medium) ease,
        border-color var(--micro-fast) ease,
        background-color var(--micro-fast) ease;
}

.featured-article:focus-within,
.article-card:focus-within,
.post-navigation-card:focus-within,
.post-archive-link:focus-within,
.post-share:focus-within,
.archive-tools:focus-within,
.platform-card:focus-within,
.privacy-email-card:focus-within,
.contact-hero-main:focus-within,
.about-hero-copy:focus-within,
.simple-about-hero:focus-within,
.privacy-hero:focus-within,
.media-kit-card:focus-within {
    border-color: rgba(255, 74, 84, 0.58);
    box-shadow: var(--micro-shadow-raised);
}

/* Image response inside editorial surfaces */
.featured-article img,
.article-card img,
.post-featured-image img,
.platform-card img,
.mma-gallery-image-button img,
.footer-socials img {
    transition:
        transform var(--micro-slow) var(--micro-ease),
        filter var(--micro-medium) ease,
        opacity var(--micro-fast) ease;
}

/* Text-link details */
.homepage-text-link,
.card-link,
.post-breadcrumbs a,
.footer-navigation a,
.footer-socials a,
.post-body a,
.about-email-link,
.contact-address,
.event-card-meta a {
    text-underline-offset: 0.16em;
    text-decoration-thickness: 1px;
}

/* Form / filter feedback */
.archive-tools input:focus,
.archive-tools select:focus,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    border-color: var(--accent, #ff4a54);
    box-shadow: 0 0 0 3px rgba(255, 74, 84, 0.12);
}

@media (hover: hover) and (pointer: fine) {
    .logo-banner a:hover .site-logo {
        transform: translateY(-1px) scale(1.015);
        filter: brightness(1.05);
    }

    .mobile-brand:hover {
        color: #ffffff;
        transform: translateX(2px);
    }

    .navigation-list a:hover {
        transform: translateY(-1px);
    }

    .primary-button:hover,
    .secondary-button:hover,
    .post-share-button:hover,
    .news-rail-button:hover,
    .media-kit-primary-button:hover,
    .media-kit-secondary-button:hover,
    .prediction-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 7px 0 rgba(255, 255, 255, 0.08), 0 13px 24px rgba(0, 0, 0, 0.26);
    }

    .featured-article:hover,
    .article-card:hover,
    .post-navigation-card:hover,
    .post-archive-link:hover,
    .platform-card:hover,
    .privacy-email-card:hover,
    .media-kit-card:hover {
        transform: translateY(-3px);
        border-color: rgba(255, 255, 255, 0.28);
        box-shadow: var(--micro-shadow-raised);
    }

    .post-share:hover,
    .archive-tools:hover,
    .contact-hero-main:hover,
    .about-hero-copy:hover,
    .simple-about-hero:hover,
    .privacy-hero:hover {
        border-color: rgba(255, 255, 255, 0.24);
        box-shadow: var(--micro-shadow);
    }

    .featured-article:hover img,
    .article-card:hover img,
    .platform-card:hover img {
        transform: scale(1.018);
        filter: contrast(1.025) brightness(1.025);
    }

    .post-navigation-card:hover .post-navigation-label,
    .card-link:hover,
    .homepage-text-link:hover,
    .post-breadcrumbs a:hover,
    .footer-navigation a:hover {
        letter-spacing: 0.065em;
    }

    .card-link:hover,
    .homepage-text-link:hover,
    .footer-navigation a:hover {
        transform: translateX(2px);
    }

    .footer-socials a:hover {
        transform: translateY(-2px);
        border-color: rgba(255, 255, 255, 0.24);
        box-shadow: 0 9px 22px rgba(0, 0, 0, 0.28);
    }

    .footer-socials a:hover img {
        transform: scale(1.06) rotate(-2deg);
    }

    .post-body a:hover {
        text-decoration-thickness: 2px;
    }

    .archive-tools input:hover,
    .archive-tools select:hover,
    input:hover,
    select:hover,
    textarea:hover {
        border-color: rgba(255, 255, 255, 0.34);
    }
}

@media (prefers-reduced-motion: reduce) {
    :where(a, button, input, select, textarea, summary, [role="button"]),
    .site-logo,
    .featured-article,
    .article-card,
    .post-navigation-card,
    .post-archive-link,
    .post-share,
    .archive-tools,
    .platform-card,
    .privacy-email-card,
    .contact-hero-main,
    .about-hero-copy,
    .simple-about-hero,
    .privacy-hero,
    .media-kit-card,
    .featured-article img,
    .article-card img,
    .post-featured-image img,
    .platform-card img,
    .mma-gallery-image-button img,
    .footer-socials img {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Keep event exploration independent from the moving news rail. */
.site-event-stack.is-open ~ .site-news-ticker .site-news-track {
    animation-play-state: running !important;
}

.site-event-stack.is-open ~ .site-news-ticker .site-news-viewport:hover .site-news-track,
.site-event-stack.is-open ~ .site-news-ticker .site-news-viewport:focus-within .site-news-track {
    animation-play-state: paused !important;
}

/* Source: assets/site-consistency.css */
/* =========================================================
   SITE CONSISTENCY SAFETY LAYER
   Keep this file limited to overflow protection, responsive fallbacks, and
   a few cross-page utility fixes. Shared visual hierarchy belongs in
   site-shell.css so it is not patched twice.
   ========================================================= */

/* Shared optical row alignment now lives in site-shell.css. */

.site-main,
.site-main > * {
    min-width: 0;
}

:where(
    .homepage,
    .archive-page,
    .news-page,
    .upcoming-events-page,
    .event-map-page,
    .ufc-roster-page,
    .otd-page,
    .simple-about-page,
    .contact-page,
    .privacy-page,
    .mma-gallery-page,
    .media-kit-page
) {
    margin-inline: auto;
    min-width: 0;
}

/* The primary tool pages begin at the shell's shared top rhythm. Individual
   page styles may still own bottom/side padding. */
:where(
    .archive-page,
    .upcoming-events-page,
    .event-map-page,
    .ufc-roster-page,
    .otd-page
) {
    padding-top: 0;
}

:where(
    .homepage,
    .archive-page,
    .news-page,
    .upcoming-events-page,
    .event-map-page,
    .ufc-roster-page,
    .otd-page
) :where(section, article, header, footer, div, nav, aside) {
    min-width: 0;
}

:where(
    .homepage,
    .archive-page,
    .news-page,
    .upcoming-events-page,
    .event-map-page,
    .ufc-roster-page,
    .otd-page
) img {
    max-width: 100%;
}

.event-card-meta a,
.event-map-detail-actions a,
.event-map-detail-actions button,
.news-source-chip,
.news-show-more,
.otd-control-button,
.otd-mini-button {
    max-width: 100%;
}

.event-card-meta a,
.event-map-detail-location,
.event-map-detail-venue,
.news-matlock-meta,
.home-next-meta,
.home-next-main,
.article-card-content,
.post-event-context strong {
    overflow-wrap: anywhere;
}

/* Functional controls should remain compact without becoming microscopic. */
.otd-page .otd-mini-button,
.otd-page .otd-filter-button,
.otd-page .otd-view-button,
.otd-page .otd-sort-control,
.otd-page .otd-sort-select,
.otd-page .otd-control-button,
.otd-page .otd-date-input,
.otd-page .otd-shortcut-hint {
    font-size: .625rem;
}

.otd-page .otd-day-pill-today {
    font-size: .56rem;
}

.otd-page .otd-mini-button,
.otd-page .otd-filter-button,
.otd-page .otd-view-button,
.otd-page .otd-control-button,
.otd-page .otd-date-input {
    min-height: 40px;
}

/* Article/event cross-link bar. */
.post-event-context {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    margin: .68rem 0 .9rem;
    padding: .46rem .54rem;
    border: 1px solid #3f3f3f;
    background: #090909;
}

.post-event-context > div:first-child {
    min-width: 0;
}

.post-event-context strong {
    display: block;
    color: #fff;
    font-family: "Gobold", Impact, sans-serif;
    font-size: .95rem;
    line-height: 1;
    text-transform: uppercase;
}

.post-event-context-actions {
    display: flex;
    gap: .3rem;
    flex-shrink: 0;
}

.post-event-context-actions a {
    min-height: 40px;
    padding: .3rem .45rem;
    border: 1px solid #565656;
    color: #fff;
    font: 700 .625rem/1 "Courier New", monospace;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
}

.post-event-context-actions a:first-child {
    border-color: #fff;
}

.post-event-context-actions a:hover,
.post-event-context-actions a:focus-visible {
    border-color: var(--accent, #ff4a54);
}

/* Footer socials stay horizontal and compact instead of becoming a vertical stack. */
.footer-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.4rem;
    align-items: start;
}

.footer-column:last-child {
    min-width: 0;
}

.footer-column:last-child h2 {
    margin-bottom: .45rem;
    font-size: 1rem;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
}

.footer-socials a {
    gap: .38rem;
    padding: .28rem .38rem;
    border: 1px solid transparent;
    border-radius: 2px;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
    border-color: #3d3d3d;
}

.footer-socials img {
    width: 26px;
    height: 26px;
}

.footer-socials span {
    font-size: .68rem;
}

@media (max-width: 760px) {
    .site-main {
        overflow-x: clip;
    }

    :where(
        .homepage,
        .archive-page,
        .news-page,
        .upcoming-events-page,
        .event-map-page,
        .ufc-roster-page,
        .otd-page
    ) {
        width: 100%;
        max-width: 100%;
    }

    .event-card-section-heading,
    .news-section-heading,
    .section-header,
    .home-panel-heading,
    .ufc-roster-toolbar,
    .otd-page-date-row {
        min-width: 0;
    }

    .event-card-section-heading > *,
    .news-section-heading > *,
    .section-header > *,
    .home-panel-heading > *,
    .ufc-roster-toolbar > *,
    .otd-page-date-row > * {
        min-width: 0;
    }

    .event-map-detail-actions,
    .prediction-actions,
    .homepage-intro-actions,
    .post-event-context-actions {
        flex-wrap: wrap;
    }

    .otd-page .otd-mini-button,
    .otd-page .otd-filter-button,
    .otd-page .otd-view-button,
    .otd-page .otd-control-button,
    .otd-page .otd-date-input,
    .post-event-context-actions a {
        min-height: 44px;
    }

    .post-event-context {
        align-items: flex-start;
        flex-direction: column;
    }

    .post-event-context-actions {
        width: 100%;
    }

    .post-event-context-actions a {
        flex: 1 1 120px;
    }

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

    .footer-socials {
        justify-content: flex-start;
    }
}

@media (max-width: 430px) {
    .section-header,
    .news-section-heading,
    .event-card-section-heading,
    .home-panel-heading {
        gap: .35rem;
    }

    .section-header > a,
    .home-panel-heading > a {
        flex-shrink: 0;
    }

    .event-map-toolbar button,
    .event-map-detail-actions a,
    .event-map-detail-actions button,
    .otd-control-button,
    .otd-mini-button,
    .news-source-chip,
    .news-show-more {
        white-space: normal;
        text-align: center;
    }

    .footer-socials span {
        display: none;
    }

    .footer-socials a {
        padding: .3rem;
    }

    .footer-socials img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 390px) {
    .event-card-section-heading,
    .news-section-heading,
    .section-header,
    .home-panel-heading {
        gap: .3rem;
    }

    .post-event-context-actions a {
        flex-basis: 100%;
    }
}
