:root {
    --bg: #F2F4F7;
    --surface: #ffffff;
    --text: #1F2026;
    --muted: #667085;
    --line: #d8dce6;
    --accent: #2D68FF;
    --accent-2: #7A5CFF;
    --gold: #7A5CFF;
    --footer: #7A5CFF;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
    padding-top: var(--header-offset, 142px);
}

body.dark {
    --bg: #0A0A0F;
    --surface: #1A1B2E;
    --text: #F2F4F7;
    --muted: #bdc4cf;
    --line: #323447;
    --accent: #2D68FF;
    --accent-2: #7A5CFF;
    --footer: #7A5CFF;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header .container {
    width: min(1760px, calc(100% - 18px));
}

.topbar {
    height: 3px;
    background: linear-gradient(90deg, #0A0A0F, #1A1B2E, #2D68FF, #7A5CFF);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.header-shell {
    display: grid;
    grid-template-columns: minmax(330px, var(--logo-desktop-width, 430px)) minmax(420px, 970px) minmax(250px, 1fr);
    gap: 12px;
    align-items: center;
    padding: 4px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: #0A0A0F;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-logo {
    width: auto;
    height: var(--logo-desktop-height, 92px);
    max-width: var(--logo-desktop-width, 430px);
    object-fit: contain;
}

.brand picture {
    display: block;
    width: 100%;
}

.brand.logo-only {
    width: min(var(--logo-desktop-width, 430px), 100%);
}

.brand.logo-only .brand-logo {
    width: 100%;
    height: var(--logo-desktop-height, 92px);
    max-width: none;
    object-fit: contain;
    object-position: left center;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
    max-width: 210px;
    line-height: 1.25;
}

.dark .brand strong {
    color: #f8fafc !important;
}

.dark .brand small {
    color: #cbd5e1 !important;
}

.header-ad {
    position: relative;
    aspect-ratio: 970 / 90;
    min-height: 0;
    max-height: 90px;
    width: min(970px, 100%);
    justify-self: center;
    background: #F2F4F7;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    overflow: visible;
}

.header-ad-label {
    position: absolute;
    top: -10px;
    right: 0;
    color: var(--muted);
    font-size: 8px;
    line-height: 1;
    text-decoration: none;
    font-weight: 400;
    z-index: 2;
}

.header-ad-label:hover {
    color: var(--accent);
}

.header-tools {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    justify-self: end;
    gap: 5px;
}

.icon-btn,
.social-link,
.newsletter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 8px;
    border: 1px solid rgba(23, 32, 51, 0.16);
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
}

.icon-btn#themeBtn {
    background: #1A1B2E;
    color: #fff;
    border-color: #1A1B2E;
    border-radius: 999px;
    font-weight: 700;
}

.dark .icon-btn#themeBtn {
    background: #f8fafc;
    color: #0A0A0F;
    border-color: #f8fafc;
}

.dark .social-link {
    color: #f8fafc;
    border-color: rgba(248, 250, 252, 0.18);
}

.dark .social-ln {
    color: #93c5fd;
}

.dark .social-fb {
    color: #60a5fa;
}

.dark .social-link:hover {
    background: rgba(248, 250, 252, 0.08);
}

.social-link {
    min-width: 26px;
    width: 26px;
    height: 26px;
    padding: 0;
    border-radius: 999px;
    background: transparent;
    color: #1A1B2E;
    font-weight: 800;
    text-decoration: none;
    border-color: rgba(23, 32, 51, 0.18);
}

.social-row {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: flex-end;
}

.social-ln {
    color: #2D68FF;
}

.social-fb {
    color: #2D68FF;
}

.social-link:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.12);
}

.newsletter-link {
    background: transparent;
    color: var(--accent);
    border-color: rgba(37, 99, 235, 0.28);
    border-radius: 999px;
    font-weight: 700;
    align-self: flex-end;
}

.newsletter-link:hover {
    background: rgba(37, 99, 235, 0.08);
}

.site-nav {
    border-top: 1px solid var(--line);
    margin-top: 4px;
}

.menu-toggle {
    display: none;
}

.menu-toggle-tools {
    display: none;
}

.nav-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px 38px;
    padding: 6px 0;
}

.nav-inner a {
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0;
}

.ticker {
    background: var(--ticker-bg, #7A5CFF);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 23px;
    padding: 2px max(8px, calc((100vw - 1640px) / 2));
    margin-top: 3px;
    font-family: var(--ticker-font-family, Arial, Helvetica, sans-serif);
    font-size: var(--ticker-font-size, 13px);
}

.ticker strong {
    white-space: nowrap;
    font-size: var(--ticker-font-size, 13px);
    line-height: 1.1;
    flex: 0 0 auto;
}

.cta-link {
    color: var(--ticker-cta-static-color, #fff);
    font-weight: 800;
    text-decoration: none;
}

.cta-blink {
    color: var(--ticker-cta-blink-color, #F2F4F7);
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 1px 8px;
    border-radius: 999px;
    background: #0A0A0F;
    text-decoration: none;
    animation: ctaBlink 0.85s infinite;
}

.cta-static {
    color: var(--ticker-cta-static-color, #fff);
}

.ticker-track {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.ticker-items {
    display: flex;
    gap: 32px;
    width: max-content;
    animation: ticker 9s linear infinite;
}

@keyframes ctaBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

@media (hover: hover) and (pointer: fine) {
    .ticker-items:hover { animation-play-state: paused; }
}

.ticker-items.is-running {
    animation-play-state: running !important;
}

.ticker-items.is-paused {
    animation-play-state: paused !important;
}

.ticker-items a {
    color: var(--ticker-domain-color, #0A0A0F);
    text-decoration: none;
    white-space: nowrap;
    font-size: var(--ticker-domain-font-size, 14px);
    font-weight: var(--ticker-domain-font-weight, 700);
    text-shadow: none;
}
.ticker-items a:hover {
    color: var(--ticker-domain-hover-color, #F2F4F7) !important;
    text-decoration: none;
}

.ticker-items a:active {
    color: var(--ticker-domain-hover-color, #F2F4F7) !important;
}

.ticker-items a:visited {
    color: var(--ticker-domain-color, #0A0A0F);
}

.ticker-items a.is-touch-reset,
.ticker-items a.is-touch-reset:hover,
.ticker-items a.is-touch-reset:focus,
.ticker-items a.is-touch-reset:active {
    color: var(--ticker-domain-color, #0A0A0F) !important;
}

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

.page-shell {
    padding: 34px 0 48px;
}

.page-shell > .container.content-grid {
    width: min(1340px, calc(100% - 40px));
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: stretch;
}

.content-main,
.article-main,
.page-content {
    min-width: 0;
    align-self: start;
}

.hero-slider {
    position: relative;
    min-height: 500px;
    margin-bottom: 28px;
    overflow: hidden;
    background: #0A0A0F;
    color: #fff;
}

.hero-slides {
    position: relative;
    min-height: 500px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide.no-image {
    background: #0A0A0F;
}

.hero-media {
    position: absolute;
    inset: 0;
    background: #0A0A0F;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 10, 15, 0.88), rgba(26, 27, 46, 0.34) 52%, rgba(10, 10, 15, 0.08));
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(720px, 92%);
    padding: 42px;
}

.hero-copy h1 {
    margin: 8px 0;
    font-size: clamp(36px, 4.8vw, 64px);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-copy a {
    color: #fff;
    text-decoration: none;
}

.hero-copy p,
.hero-copy .meta {
    color: #d8dee8;
}

.hero-controls {
    position: absolute;
    z-index: 3;
    right: 22px;
    bottom: 22px;
    display: flex;
    gap: 8px;
}

.hero-controls button {
    width: 32px;
    height: 6px;
    border: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.hero-controls button.is-active {
    background: var(--accent);
}

.thumb {
    display: block;
    overflow: hidden;
    background: #d8ded6;
}

.article-header h1,
.section-hero h1,
.page-content h1 {
    margin: 8px 0;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.04;
    letter-spacing: 0;
}

.section-hero p,
.page-content p {
    color: var(--muted);
    font-size: 18px;
}

.kicker {
    color: var(--accent-2);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
}

.ad-disclosure {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1.25;
}

.ad-disclosure a {
    font-weight: inherit;
    font-size: inherit;
    text-decoration: none;
}

.ad-disclosure a:hover {
    text-decoration: underline;
}

.ad-disclosure-sidebar {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    margin-bottom: -10px;
}

.ad-disclosure-article-meta {
    margin-left: 10px;
}

.about-disclosure {
    margin: -2px 0 18px;
}

.ticker-booking-disclosure {
    margin: -2px 0 18px;
}

.article-label {
    color: #fff;
    background: var(--accent-2);
    padding: 2px 8px;
    font-weight: 800;
}

.section-heading,
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.top-stories,
.latest-grid,
.related-section {
    margin-top: 28px;
}

.story-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.story-strip article,
.article-card,
.side-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 14px;
}

.story-strip img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-bottom: 10px;
}

.story-strip strong {
    display: block;
    line-height: 1.25;
}

.story-strip span {
    color: var(--muted);
    font-size: 13px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.article-grid.compact {
    grid-template-columns: 1fr;
}

.article-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 14px;
    min-height: 150px;
    overflow: hidden;
}

.article-card.no-image {
    grid-template-columns: minmax(0, 1fr);
}

.article-card > div,
.article-card .thumb {
    min-width: 0;
}

.article-card .thumb {
    aspect-ratio: 1 / 1;
    align-self: start;
}

.article-card .thumb img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.article-card h3 {
    margin: 4px 0 8px;
    font-size: 18px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.article-card h3 a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.article-card p {
    color: var(--muted);
    margin: 0;
}

.feed-ad {
    grid-column: 1 / -1;
}

.feed-ad .ad {
    min-height: 0;
    padding: 0;
}

.sidebar {
    display: grid;
    gap: 18px;
    align-self: stretch;
    align-content: start;
    min-height: 100%;
    height: 100%;
    padding-top: 0;
    position: relative;
}

.sidebar-ad-stack {
    position: static !important;
    display: grid;
    gap: 18px;
    align-self: start;
    z-index: 4;
}

@media (min-width: 1001px) {
    .sidebar-ad-stack.is-fixed {
        position: static !important;
        width: auto;
        left: auto;
    }

    .sidebar-ad-stack.is-bottom {
        position: static !important;
        width: auto;
    }
}

.side-panel {
    margin-top: 0;
}

.sidebar-small-ad-stack {
    display: grid;
    gap: 14px;
}

.ad-sidebar_small_1,
.ad-sidebar_small_2,
.ad-sidebar_small_3,
.ad-sidebar_small_4 {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 300 / 125;
    min-height: 0;
    max-height: none;
    justify-self: center;
}

.sidebar-small-ad-stack .ad {
    min-height: 0;
}

.sidebar-small-ad-stack .ad-placeholder span {
    font-size: 13px;
}

.sidebar-small-ad-stack .ad-placeholder small {
    font-size: 11px;
}

.ad {
    display: grid;
    place-items: center;
    min-height: 0;
    background: #F2F4F7;
    border: 1px solid var(--line);
    text-align: center;
    font-weight: 800;
    color: var(--text);
    overflow: hidden;
}

.ad-placeholder {
    padding: 10px;
    font-weight: 400;
}

.ad-placeholder span,
.ad-placeholder small {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.ad-placeholder small {
    margin-top: 4px;
    color: #667085;
    font-size: 10px;
    font-weight: 400;
}

.ad-placeholder span {
    color: #2D68FF;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.ad-header {
    width: 100%;
    max-width: 970px;
    aspect-ratio: 970 / 90;
    min-height: 0;
    max-height: none;
    justify-self: center;
}

.header-ad .ad {
    min-height: 0;
    max-height: none;
    height: 100%;
    width: 100%;
    padding: 0;
}

.ad-sidebar_1,
.ad-sidebar_2 {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 300 / 250;
    min-height: 0;
    max-height: none;
    justify-self: center;
}

.ad-inline,
.ad-article_end,
.inline-ad-wrap .ad,
.feed-ad .ad {
    width: 100%;
    max-width: 728px;
    min-height: 0;
    aspect-ratio: 728 / 90;
    max-height: none;
    margin-left: auto;
    margin-right: auto;
}

.ad img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.inline-ad-wrap {
    margin: 28px 0;
}

.side-panel h3 {
    margin-top: 0;
}

.side-link {
    display: block;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    font-weight: 700;
}

.article-header {
    margin-bottom: 18px;
}

.article-hero-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: 0;
}

.article-hero-figure {
    margin: 18px 0 28px;
}

.image-credit {
    display: block;
    margin: 1px 2px 0;
    text-align: right;
    line-height: 1.15;
}

.image-credit a {
    color: inherit;
}

.hero-image-credit {
    position: absolute;
    right: 8px;
    top: 5px;
    z-index: 4;
    max-width: 55%;
}

.hero-image-credit .image-credit {
    color: #F2F4F7 !important;
    text-shadow: 0 1px 3px #0A0A0F;
}

.article-internal-link {
    margin: 18px 0 22px;
    padding: 10px 12px;
    border-left: 3px solid var(--accent);
    background: rgba(45, 104, 255, 0.07);
    line-height: 1.4;
}

.article-internal-link a {
    color: inherit;
}

.article-disclaimer {
    margin: 26px 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    font-style: italic;
}

.article-disclaimer p {
    margin: 0 0 8px;
}

.article-body {
    font-size: 19px;
    line-height: 1.82;
}

.article-body p {
    margin: 0 0 20px;
}

.article-body img,
.article-body table {
    max-width: 100%;
}

.article-body table {
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
}

.article-body th,
.article-body td {
    border: 1px solid var(--line);
    padding: 8px;
}

.article-inline-image {
    margin: 28px 0;
}

.article-inline-image img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.article-inline-image figcaption {
    color: var(--muted);
    font-size: 14px;
    margin-top: 8px;
}

.text-underline {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.text-strike {
    text-decoration: line-through;
}

.anchor-offset {
    display: block;
    position: relative;
    top: calc(-1 * var(--header-offset, 142px) - 14px);
    visibility: hidden;
}

.text-size-small { font-size: 0.88em; }
.text-size-medium { font-size: 1em; }
.text-size-large { font-size: 1.18em; }

.section-hero,
.empty-state,
.subscribe-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 24px;
    margin-bottom: 22px;
}

.single-column {
    width: min(780px, calc(100% - 32px));
}

.single-column.wide-page {
    width: min(1040px, calc(100% - 32px));
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0;
}

.info-grid article {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 16px;
}

.ad-spec-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid var(--line);
    margin-top: 10px;
}

.public-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.submission-success {
    margin: 20px 0 26px;
    padding: 20px;
    border: 1px solid rgba(45, 104, 255, 0.36);
    border-left: 4px solid var(--accent);
    background: rgba(45, 104, 255, 0.07);
}

.submission-success h2 {
    margin: 6px 0 8px;
}

.submission-success p {
    margin: 0;
    font-size: 16px;
}

.page-content .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.public-form label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

.public-form input,
.public-form select,
.public-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    padding: 12px;
    font: inherit;
    background: var(--surface);
    color: var(--text);
}

.button,
.public-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border: 0;
    background: var(--accent);
    color: #fff;
    padding: 11px 16px;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
}

.notice {
    padding: 12px 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    margin: 14px 0;
}

.notice.error {
    background: #fff0ed;
    border-color: #f3aa9e;
}

.small-note {
    font-size: 14px;
    color: var(--muted);
}

.site-footer {
    background: var(--footer);
    color: #fff;
    padding: 36px 0;
}

.footer-inner {
    display: grid;
    justify-items: center;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 10px 18px;
    flex-wrap: wrap;
    width: 100%;
}

.footer-links a {
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    font-weight: 700;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #0A0A0F;
}

.footer-text,
.footer-copy {
    width: 100%;
    line-height: 1.45;
}

.site-footer .social-link {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
}

.site-footer .social-ln {
    color: #93c5fd;
}

.site-footer .social-fb {
    color: #60a5fa;
}

.footer-social-mobile {
    display: none;
}

.mobile-after-top-ad {
    display: none;
}

.story-mobile-ad {
    display: none;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr);
    gap: 22px;
    align-items: start;
}

.contact-side {
    display: grid;
    gap: 16px;
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 18px;
}

.contact-card h2 {
    margin-top: 0;
}

.ticker-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.ticker-plans label,
.option-box {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 14px;
    border-radius: 8px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ticker-plans label {
    min-height: 94px;
    background: linear-gradient(135deg, #ffffff, #F2F4F7);
}

.ticker-plans input,
.option-box input {
    margin-top: 3px;
    accent-color: var(--accent);
}

.ticker-plans span,
.option-box span {
    font-weight: 800;
    line-height: 1.35;
}

.ticker-plans label:hover,
.option-box:hover {
    border-color: rgba(45, 104, 255, 0.5);
    box-shadow: 0 10px 24px rgba(26, 27, 46, 0.08);
    transform: translateY(-1px);
}

.ticker-plans label:has(input:checked),
.option-box:has(input:checked) {
    border-color: var(--accent);
    box-shadow: inset 0 0 0 1px var(--accent), 0 12px 28px rgba(45, 104, 255, 0.14);
}

.option-box {
    border-left: 4px solid var(--accent-2);
    margin: 10px 0;
}

.dark .ticker-plans label {
    background: linear-gradient(135deg, #1A1B2E, #1F2026);
}

.site-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(17, 24, 39, 0.54);
}

.site-popup {
    width: min(560px, 100%);
    max-height: min(80vh, 680px);
    overflow: auto;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line);
    box-shadow: 0 18px 60px rgba(17, 24, 39, 0.24);
    padding: 22px;
    position: relative;
}

.site-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    border-radius: 999px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-weight: 800;
}

.site-popup img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    margin: 0 0 14px;
}

@media (max-width: 1000px) {
    .header-shell {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 10px;
        align-items: start;
    }

    .header-ad {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .header-tools {
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-start;
        align-items: flex-end;
        align-self: start;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        height: auto;
        min-height: 0;
    }

    .sidebar-ad-stack {
        position: static;
    }

    .story-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-slider,
    .hero-slides {
        min-height: 430px;
    }

    .hero-copy {
        padding: 28px;
    }
}

@media (max-width: 900px) {
    .container {
        width: min(100% - 20px, 1220px);
    }

    .site-nav {
        margin-top: 0;
        border-top: 0;
        position: relative;
        height: 0;
        z-index: 28;
    }

    .site-nav > .menu-toggle {
        display: none;
    }

    .menu-toggle-tools {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 24px;
        padding: 3px 9px;
        border: 1px solid rgba(23, 32, 51, 0.16);
        border-radius: 999px;
        background: var(--surface);
        color: var(--text);
        font-size: 12px;
        font-weight: 800;
        cursor: pointer;
        justify-self: end;
    }

    .header-shell {
        grid-template-columns: auto auto 1fr;
        gap: 5px 8px;
    }

    .brand.logo-only,
    .brand {
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100%;
        justify-content: center;
    }

    .brand.logo-only .brand-logo {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: var(--logo-mobile-fit, contain);
        object-position: center center;
        margin: 0 auto;
    }

    .brand.logo-only picture {
        width: var(--logo-mobile-width, 100%);
        height: var(--logo-mobile-height, 64px);
        margin: 0 auto;
    }

    .brand small {
        max-width: 210px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-tools {
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        grid-template-columns: auto auto 1fr auto;
        gap: 4px 6px;
        justify-items: start;
        align-items: center;
        width: 100%;
    }

    .header-tools .social-row {
        display: none;
    }

    .header-tools #themeBtn {
        grid-column: 4;
        grid-row: 1;
        min-height: 20px;
        padding: 2px 8px;
        font-size: 11px;
        justify-self: end;
    }

    .header-tools .newsletter-link {
        grid-column: 2;
        grid-row: 1;
        min-height: 24px;
        padding: 3px 9px;
        font-size: 12px;
    }

    .header-tools .menu-toggle-tools {
        grid-column: 1;
        grid-row: 1;
    }

    .header-ad {
        grid-row: 3;
    }

    .header-ad-label {
        top: -8px;
        right: 2px;
        font-size: 7px !important;
        font-weight: 400 !important;
    }

    .nav-inner {
        display: none;
        position: absolute;
        left: 10px;
        right: auto;
        top: 2px;
        width: 35vw;
        min-width: 132px;
        max-width: 220px;
        margin: 0;
        padding: 8px;
        gap: 0;
        background: var(--surface);
        border: 1px solid var(--line);
        box-shadow: 0 14px 34px rgba(17, 24, 39, 0.18);
    }

    .nav-inner.is-open {
        display: grid;
        grid-template-columns: 1fr;
    }

    .nav-inner a {
        padding: 9px 8px;
        border-bottom: 1px solid var(--line);
        text-align: center;
    }

    .ticker {
        display: block;
        gap: 0;
        padding: 0;
        overflow: hidden;
    }

    .ticker strong {
        display: block;
        white-space: nowrap;
        text-align: center;
        max-width: none;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 2px 8px;
        line-height: 1.2;
    }

    .ticker-track {
        width: 100%;
        padding: 2px 0 3px;
    }

    .ticker-items {
        gap: 36px;
    }

    .story-strip,
    .article-grid,
    .info-grid,
    .sidebar,
    .sidebar-ad-stack {
        grid-template-columns: 1fr;
    }

    .article-card {
        grid-template-columns: 110px minmax(0, 1fr);
        min-height: 120px;
        gap: 10px;
    }

    .article-card h3 {
        font-size: 16px;
        overflow-wrap: anywhere;
    }

    .article-card p {
        display: none;
    }

    .ad-header {
        aspect-ratio: 320 / 50;
        max-width: 320px;
    }

    .header-ad,
    .header-ad .ad {
        aspect-ratio: 320 / 50;
        min-height: 0;
        max-height: none;
    }

    .ad-inline,
    .ad-article_end,
    .inline-ad-wrap .ad,
    .feed-ad .ad {
        min-height: 0;
        max-height: none;
        max-width: 320px;
        aspect-ratio: 320 / 50;
    }

    .hero-copy h1,
    .article-header h1,
    .section-hero h1,
    .page-content h1 {
        font-size: 34px;
    }

    .hero-slider,
    .hero-slides {
        min-height: 390px;
    }

    .hero-copy {
        width: 100%;
        padding: 22px;
    }

    .article-body {
        font-size: 17px;
    }

    .mobile-after-top-ad {
        display: block;
        margin: 18px 0;
    }

    .story-mobile-ad {
        display: block;
        grid-column: 1 / -1;
        margin: 4px 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .page-content .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-social-mobile {
        display: flex;
        gap: 8px;
        align-items: center;
        justify-content: center;
        width: 100%;
        order: 4;
    }

    .footer-links {
        justify-content: center;
        width: 100%;
        order: 1;
    }

    .footer-line-2 {
        order: 2;
    }

    .footer-copy {
        width: 100%;
        text-align: center;
        order: 3;
    }

    .footer-line-4 {
        order: 5;
    }

    .footer-line-5 {
        order: 6;
    }

    .footer-inner {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 460px) {
    .ticker-plans {
        grid-template-columns: 1fr;
    }

    .article-card {
        grid-template-columns: 1fr;
    }
}
