:root {
    --bg: #f6f7f9;
    --surface: #ffffff;
    --text: #15171a;
    --muted: #667085;
    --border: #e5e7eb;
    --primary: #b00020;
    --primary-dark: #850018;
    --accent: #0f766e;
    --nav: #121826;
    --soft-red: #fff1f2;
}

* {
    box-sizing: border-box;
}

[data-theme="dark"] {
    --bg: #101215;
    --surface: #171a20;
    --text: #f4f6f8;
    --muted: #b5bdc8;
    --border: #2a3038;
    --nav: #0b0e14;
    --soft-red: #251116;
}

body {
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    padding-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

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

iframe,
video {
    max-width: 100%;
}

.top-strip {
    background: #f8fafc;
    color: var(--text);
    font-size: .9rem;
    padding: .45rem 0;
    border-bottom: 1px solid var(--border);
}

.social-links,
.contact-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
}

.social-links a,
.contact-links a,
.contact-links span,
.mode-toggle {
    color: inherit;
    border: 0;
    background: transparent;
    padding: 0;
}

.theme-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: 999px;
    padding: .18rem .6rem .18rem .22rem;
    font-weight: 800;
    min-width: 72px;
    height: 30px;
}

.theme-switch span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 3px 8px rgba(0,0,0,.18);
    transition: transform .2s ease;
}

.theme-switch em {
    font-style: normal;
    font-size: .78rem;
}

[data-theme="dark"] .top-strip,
[data-theme="dark"] .main-nav,
[data-theme="dark"] .site-header,
[data-theme="dark"] .mobile-top-menu,
[data-theme="dark"] .mobile-bottom-menu,
[data-theme="dark"] .mobile-search-box {
    background: var(--surface);
}

[data-theme="dark"] .theme-switch span {
    transform: translateX(30px);
}

[data-theme="dark"] .theme-switch {
    border-color: #3b4350;
    background: #0f131a;
    padding-left: .6rem;
    padding-right: .22rem;
}

[data-theme="dark"] .theme-switch em {
    transform: translateX(-24px);
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.header-grid {
    display: grid;
    grid-template-columns: minmax(220px, 340px) 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    padding-block: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-weight: 800;
    font-size: 1.4rem;
}

.brand strong {
    display: block;
    font-size: 1.65rem;
    line-height: 1.1;
}

.brand small {
    color: var(--muted);
}

.site-logo {
    max-width: 280px;
    max-height: 86px;
    object-fit: contain;
}

.site-menu-button,
.site-search-button,
.mobile-top-menu button {
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 1.65rem;
    line-height: 1;
    width: 42px;
    height: 42px;
}

.site-menu-button {
    display: none;
}

.header-theme-switch {
    display: none;
}

.ad-slot {
    min-height: 90px;
    display: grid;
    place-items: center;
    background: repeating-linear-gradient(45deg, rgba(0,0,0,.04), rgba(0,0,0,.04) 10px, rgba(0,0,0,.02) 10px, rgba(0,0,0,.02) 20px);
    border: 1px solid var(--border);
    color: var(--muted);
    overflow: hidden;
}

.ad-slot img,
.ad-banner-link {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.main-nav {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.nav-row {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.home-tab {
    display: grid;
    place-items: center;
    align-self: stretch;
    width: 48px;
    min-height: 48px;
    background: var(--primary);
    color: #fff;
    font-size: 1.25rem;
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    overflow: auto;
    white-space: nowrap;
    flex: 1;
    scrollbar-width: none;
}

.desktop-menu a {
    font-weight: 800;
    color: var(--text);
}

.navbar .nav-link {
    font-weight: 650;
}

.mobile-top-menu,
.mobile-bottom-menu {
    display: none;
}

.site-drawer {
    position: fixed;
    z-index: 1100;
    top: 0;
    right: 0;
    width: min(340px, 88vw);
    height: 100vh;
    background: var(--surface);
    box-shadow: -20px 0 60px rgba(0,0,0,.24);
    transform: translateX(105%);
    transition: transform .24s ease;
    overflow: auto;
}

.site-drawer.is-open {
    transform: translateX(0);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.drawer-head button {
    border: 0;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 1.35rem;
}

.drawer-nav {
    display: grid;
    padding: .6rem 0;
}

.drawer-nav a {
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--border);
    font-weight: 800;
}

.site-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(15, 23, 42, .48);
}

.site-drawer-backdrop.is-visible {
    display: block;
}

.mega-menu {
    width: min(680px, 92vw);
}

.search-box {
    flex: 0 0 min(320px, 32vw);
    min-width: 220px;
}

.mobile-search-box {
    display: none;
    position: relative;
    align-items: center;
    gap: .55rem;
    padding: .65rem 0;
}

.live-search-panel {
    position: absolute;
    top: calc(100% + .4rem);
    left: 0;
    right: 0;
    z-index: 1030;
    display: none;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.live-search-panel a {
    display: block;
    padding: .7rem .9rem;
    border-bottom: 1px solid var(--border);
}

.live-search-panel small {
    display: block;
    color: var(--muted);
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background: #111827;
    border-color: var(--border);
    color: var(--text);
}

[data-theme="dark"] .form-control::placeholder {
    color: #9ca3af;
}

[data-theme="dark"] .ad-slot {
    background: repeating-linear-gradient(45deg, rgba(255,255,255,.045), rgba(255,255,255,.045) 10px, rgba(255,255,255,.025) 10px, rgba(255,255,255,.025) 20px);
}

[data-theme="dark"] .breaking-bar {
    background: #21170f;
    border-bottom-color: #7c2d12;
}

[data-theme="dark"] .mobile-bottom-menu span {
    color: var(--text);
}

[data-theme="dark"] .video-thumb {
    background: #111827;
}

[data-theme="dark"] .article-content,
[data-theme="dark"] .article-content *:not(a) {
    color: var(--text) !important;
    background-color: transparent !important;
}

[data-theme="dark"] .static-page-card,
[data-theme="dark"] .section-block,
[data-theme="dark"] .talking-point-card,
[data-theme="dark"] .district-rail-card,
[data-theme="dark"] .empty-state {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
}

[data-theme="dark"] .muted,
[data-theme="dark"] .article-meta,
[data-theme="dark"] .breadcrumb-wrap,
[data-theme="dark"] .static-page-head p,
[data-theme="dark"] figcaption {
    color: var(--muted) !important;
}

.breaking-bar {
    background: #fff7ed;
    border-bottom: 1px solid #fed7aa;
    padding: .6rem 0;
    overflow: hidden;
}

.breaking-bar strong {
    background: var(--primary);
    color: #fff;
    padding: .25rem .6rem;
    border-radius: 4px;
}

.ticker {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: ticker-scroll 34s linear infinite;
}

.ticker:hover .ticker-track {
    animation-play-state: paused;
}

.ticker a {
    color: var(--text);
    font-weight: 750;
    padding: 0 1rem;
}

.ticker-divider {
    width: 1px;
    height: 18px;
    background: #f59e0b;
    opacity: .45;
    flex: 0 0 auto;
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
    }
}

.lead-slider,
.lead-slider img {
    min-height: 460px;
    border-radius: 8px;
    overflow: hidden;
}

.lead-slider img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.lead-slider .carousel-caption {
    right: 0;
    left: 0;
    bottom: 0;
    padding: 5rem 2rem 2rem;
    text-align: left;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.82));
}

.lead-slider span,
.category-pill {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    border-radius: 4px;
    padding: .15rem .5rem;
    font-size: .8rem;
    font-weight: 700;
}

.lead-slider h1 {
    max-width: 820px;
    font-size: clamp(1.7rem, 4vw, 3rem);
    font-weight: 850;
}

.front-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.05fr) minmax(300px, .95fr);
    gap: 2rem;
    align-items: start;
}

.front-news {
    border-bottom: 1px solid #b8bec8;
    padding-bottom: 1.8rem;
}

.front-lead-link {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 1.6rem;
    align-items: center;
}

.front-lead img,
.front-mini-card img,
.talking-point-card img,
.showcase-lead-card img,
.showcase-side-card img,
.showcase-bottom-card img,
.archive-lead-card img,
.archive-side-card img,
.archive-bottom-card img {
    width: 100%;
    object-fit: cover;
    background: #eef2f7;
}

.front-lead img {
    aspect-ratio: 3 / 2;
    border-radius: 8px;
}

.front-lead h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(2rem, 3vw, 3.15rem);
    line-height: 1.18;
    font-weight: 950;
}

.front-under-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem;
    margin-top: 2rem;
    padding-top: 1.8rem;
    border-top: 1px solid #b8bec8;
}

.front-mini-card img,
.showcase-bottom-card img,
.archive-bottom-card img {
    aspect-ratio: 16 / 10;
    border-radius: 8px;
}

.front-mini-card h2,
.showcase-bottom-card h3,
.archive-bottom-card h3 {
    margin: .75rem 0 0;
    color: var(--text);
    font-size: clamp(1.05rem, 1.3vw, 1.3rem);
    line-height: 1.35;
    font-weight: 900;
}

.front-rail {
    display: grid;
    gap: 2rem;
}

.front-ad {
    min-height: 300px;
}

.talking-point-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.1rem;
}

.talking-point-card h2 {
    color: #ef233c;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 950;
    margin: 0 0 1rem;
}

.talking-point-card img {
    aspect-ratio: 16 / 10;
    border-radius: 8px;
}

.talking-point-card h3 {
    margin: 1rem .35rem .2rem;
    color: var(--text);
    font-size: clamp(1.25rem, 1.7vw, 1.65rem);
    line-height: 1.35;
    font-weight: 950;
}

.district-rail-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: var(--shadow);
}

.district-rail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .85rem;
    padding-bottom: .7rem;
    border-bottom: 2px solid var(--primary);
}

.district-rail-head span {
    color: var(--primary);
    font-weight: 900;
}

.district-rail-head strong {
    color: var(--text);
    font-size: .95rem;
}

.showcase-heading,
.archive-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 3px solid #aeb6c2;
    margin-bottom: 2rem;
}

.showcase-heading h2,
.archive-heading h1 {
    margin: 0 0 .55rem;
    color: #ef233c;
    font-size: clamp(2.1rem, 3.7vw, 3.5rem);
    line-height: 1;
    font-weight: 950;
}

.showcase-heading a,
.archive-heading a {
    color: #ef233c;
    font-size: clamp(1.05rem, 1.55vw, 1.45rem);
    font-weight: 950;
    white-space: nowrap;
}

.showcase-feature,
.archive-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.showcase-lead-card img,
.archive-lead-card img {
    aspect-ratio: 3 / 2;
    border-radius: 8px;
}

.showcase-lead-card h3,
.archive-lead-card h2 {
    margin: 1.2rem 0 0;
    color: var(--text);
    font-size: clamp(1.9rem, 3vw, 2.85rem);
    line-height: 1.25;
    font-weight: 950;
}

.showcase-side-list,
.archive-side-list {
    display: grid;
    gap: 1.7rem;
}

.showcase-side-card a,
.archive-side-card a {
    display: grid;
    grid-template-columns: minmax(170px, .9fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.showcase-side-card img,
.archive-side-card img {
    aspect-ratio: 16 / 10;
    border-radius: 8px;
}

.showcase-side-card h3,
.archive-side-card h3 {
    color: var(--text);
    margin: 0;
    font-size: clamp(1.18rem, 1.75vw, 1.55rem);
    line-height: 1.33;
    font-weight: 950;
}

.showcase-bottom-grid,
.archive-bottom-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2.2rem;
    padding-top: 2rem;
    border-top: 1px solid #b8bec8;
}

.updates-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-top: 2px solid #aeb6c2;
    border-bottom: 3px solid #aeb6c2;
    margin-bottom: 1.8rem;
    padding: 1rem 0;
}

.updates-heading h2 {
    margin: 0;
    color: #ef233c;
    font-size: clamp(2rem, 3.6vw, 3.4rem);
    line-height: 1;
    font-weight: 950;
}

.updates-heading a {
    position: absolute;
    right: 0;
    color: #ef233c;
    font-weight: 900;
}

.updates-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1.15fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.updates-list,
.updates-bottom-grid {
    display: grid;
    gap: 1.4rem;
}

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

.updates-card {
    border-bottom: 1px solid #c7ccd3;
    padding-bottom: 1.25rem;
}

.updates-card img,
.updates-spotlight img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    background: #eef2f7;
}

.updates-card img {
    aspect-ratio: 16 / 10;
}

.updates-card h3 {
    margin: .75rem 0 0;
    color: var(--text);
    font-size: clamp(1.05rem, 1.35vw, 1.35rem);
    line-height: 1.38;
    font-weight: 900;
}

.updates-spotlight {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
}

.updates-spotlight img {
    aspect-ratio: 16 / 10;
}

.updates-spotlight h3 {
    margin: 1.1rem 0 0;
    color: var(--text);
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.25;
    font-weight: 950;
}

.updates-bottom-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: 1px solid #c7ccd3;
}

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

.section-heading h1,
.section-heading h2 {
    font-weight: 850;
    margin: 0 0 .55rem;
}

.section-heading a {
    color: var(--primary);
    font-weight: 700;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

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

.news-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.news-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.news-card-body {
    padding: .9rem;
}

.news-card h3 {
    margin: .55rem 0;
    font-size: 1.08rem;
    font-weight: 800;
}

.card-engagement {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid var(--border);
}

.card-engagement a {
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
    padding: .25rem .55rem;
}

.news-card p,
.muted {
    color: var(--muted);
}

.section-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 850;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--primary);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-info-grid a {
    color: var(--primary);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.story-row {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: .75rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--border);
    font-weight: 750;
}

.story-row img {
    width: 92px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
}

.rank-list {
    margin: 0;
    padding-left: 1.3rem;
}

.rank-list li {
    padding: .55rem 0;
    border-bottom: 1px solid var(--border);
    font-weight: 750;
}

.sidebar-stack {
    display: grid;
    gap: 1rem;
}

.sidebar-content-stack {
    display: grid;
    gap: 1rem;
}

.tag-cloud,
.district-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.district-cloud.compact {
    max-height: 260px;
    overflow: auto;
    padding-right: .25rem;
}

.tag-cloud a,
.district-cloud a {
    background: rgba(176,0,32,.08);
    color: var(--primary);
    padding: .35rem .65rem;
    border-radius: 999px;
    font-weight: 700;
}

.district-cloud.compact a {
    background: linear-gradient(135deg, rgba(176,0,32,.1), rgba(15,118,110,.08));
    border: 1px solid rgba(176,0,32,.08);
    font-size: .9rem;
}

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

.compact-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}

.gallery-grid figure {
    margin: 0;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
}

.gallery-grid figcaption {
    font-size: .85rem;
    margin-top: .25rem;
}

.video-item + .video-item {
    margin-top: 1rem;
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
}

.video-card {
    min-width: 0;
}

.video-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #eef2f7;
}

.video-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.video-thumb span {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.24);
}

.video-card strong {
    display: block;
    margin-top: .45rem;
    color: var(--text);
    font-size: .95rem;
    line-height: 1.35;
}

.article-title {
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.16;
    font-weight: 900;
}

.article-meta,
.breadcrumb-wrap,
.share-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    color: var(--muted);
    margin: 1rem 0;
}

.breadcrumb-wrap a {
    color: var(--primary);
    font-weight: 700;
}

.article-image img {
    width: 100%;
    border-radius: 8px;
}

.article-image figcaption {
    color: var(--muted);
    margin-top: .5rem;
}

.share-row a,
.share-row button,
.btn-accent {
    border: 0;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    padding: .5rem .8rem;
    font-weight: 750;
}

.post-engagement {
    display: grid;
    gap: 1rem;
}

.post-stats,
.share-row {
    align-items: center;
}

.post-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.post-stats span,
.post-stats a {
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    padding: .45rem .75rem;
    font-weight: 800;
}

.post-stats strong {
    color: var(--primary);
}

.like-button {
    border: 0;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
    padding: .55rem .9rem;
    font-weight: 850;
}

.like-button.is-liked {
    background: var(--accent);
}

.article-content {
    font-size: 1.12rem;
}

.article-content p {
    margin-bottom: 1.15rem;
}

.content-page {
    background: var(--bg);
}

.static-page-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: clamp(1.25rem, 2.5vw, 2rem);
}

.static-page-head {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.static-page-head h1 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.1;
}

.static-page-head p {
    margin: .55rem 0 0;
    color: var(--muted);
    font-weight: 700;
}

.static-page-card .article-content h2,
.static-page-card .article-content h3 {
    margin-top: 1.5rem;
    color: var(--text);
    font-weight: 950;
}

.static-page-card .article-content p {
    color: var(--text);
}

.comment-item {
    border-bottom: 1px solid var(--border);
    padding: .75rem 0;
}

.comment-count {
    color: var(--muted);
    font-size: .95rem;
}

.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.pagination-wrap a,
.pagination-wrap span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface);
    color: var(--text);
    font-weight: 850;
    padding: 0 .7rem;
}

.pagination-wrap a.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.search-page-form,
.newsletter-form {
    display: flex;
    gap: .7rem;
}

.newsletter-form {
    flex-wrap: wrap;
}

.newsletter-form .form-control {
    flex: 1 1 190px;
}

.newsletter-form .newsletter-consent,
.newsletter-form .newsletter-inline-status {
    flex-basis: 100%;
}

.site-footer .newsletter-consent,
.site-footer .newsletter-consent a {
    color: rgba(255,255,255,.78);
}

.narrow-content {
    max-width: 850px;
}

.empty-state {
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: 8px;
    color: var(--muted);
    padding: 2rem;
    text-align: center;
}

.site-footer {
    background: #111827;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

.site-footer p,
.site-footer a {
    color: rgba(255,255,255,.78);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-admin-button {
    display: inline-flex;
    margin-top: 1rem;
    background: var(--primary);
    color: #fff !important;
    border-radius: 6px;
    padding: .55rem .85rem;
    font-weight: 850;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.14);
    margin-top: 2rem;
    padding-top: 1rem;
    color: rgba(255,255,255,.65);
}

@media (max-width: 991.98px) {
    .header-grid {
        grid-template-columns: 1fr auto auto auto;
    }

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

    .site-menu-button {
        display: inline-grid;
        place-items: center;
    }

    .header-theme-switch {
        display: inline-flex;
        min-width: 48px;
        width: 52px;
        padding: .18rem;
    }

    [data-theme="dark"] .header-theme-switch span {
        transform: translateX(20px);
    }

    .search-box {
        flex-basis: min(280px, 36vw);
        min-width: 190px;
    }

    .news-grid,
    .news-grid.two,
    .news-grid.four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .front-grid,
    .updates-layout,
    .showcase-feature,
    .archive-feature {
        grid-template-columns: 1fr;
    }

    .front-lead-link {
        grid-template-columns: 1fr;
    }

    .front-under-grid,
    .updates-bottom-grid,
    .showcase-bottom-grid,
    .archive-bottom-grid,
    .compact-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem;
    }

    .lead-slider img,
    .lead-slider {
        min-height: 360px;
        height: 360px;
    }
}

@media (max-width: 575.98px) {
    body {
        padding-bottom: 78px;
    }

    .top-strip {
        display: none;
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 1025;
    }

    .header-grid {
        grid-template-columns: minmax(0, 1fr) auto auto auto;
        gap: .55rem;
        padding-block: .7rem;
    }

    .brand {
        justify-content: flex-start;
    }

    .site-logo {
        max-width: 190px;
        max-height: 64px;
    }

    .brand-mark {
        width: 48px;
        height: 48px;
    }

    .brand strong {
        font-size: 1.2rem;
    }

    .brand small,
    .header-ad,
    .main-nav {
        display: none;
    }

    .site-search-button {
        display: inline-grid;
        place-items: center;
    }

    .mobile-search-box {
        display: flex;
        border-bottom: 1px solid var(--border);
    }

    .mobile-search-box .form-control {
        min-width: 0;
        flex: 1;
    }

    .mobile-search-box .btn {
        white-space: nowrap;
        font-weight: 850;
    }

    .mobile-top-menu {
        display: grid;
        grid-template-columns: 52px 1fr;
        align-items: center;
        position: sticky;
        top: 73px;
        z-index: 1024;
        background: var(--surface);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 6px 16px rgba(0,0,0,.1);
    }

    .mobile-home {
        display: grid;
        place-items: center;
        height: 48px;
        background: var(--primary);
        color: #fff;
        font-size: 1.25rem;
    }

    .mobile-scroll {
        display: flex;
        overflow: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .mobile-scroll a {
        padding: .7rem .9rem;
        font-weight: 800;
        border-right: 1px solid var(--border);
    }

    .mobile-bottom-menu {
        position: fixed;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1060;
        background: var(--surface);
        border-top: 1px solid var(--border);
        box-shadow: 0 -12px 28px rgba(0,0,0,.14);
    }

    .mobile-bottom-menu a {
        display: grid;
        place-items: center;
        gap: .15rem;
        padding: .55rem .2rem .45rem;
        font-weight: 850;
    }

    .mobile-bottom-menu span {
        display: grid;
        place-items: center;
        width: 28px;
        height: 28px;
        color: #111827;
        font-size: 1.35rem;
    }

    .mobile-bottom-menu small {
        font-size: .76rem;
        line-height: 1.1;
    }

    .news-grid,
    .news-grid.two,
    .news-grid.four,
    .contact-info-grid,
    .compact-gallery,
    .video-gallery-grid {
        grid-template-columns: 1fr;
    }

    .front-grid {
        gap: 1.25rem;
    }

    .updates-heading {
        justify-content: space-between;
    }

    .updates-heading h2 {
        font-size: 2.35rem;
    }

    .updates-heading a {
        position: static;
        font-size: .95rem;
    }

    .updates-list,
    .updates-bottom-grid {
        grid-template-columns: 1fr;
    }

    .updates-spotlight h3 {
        font-size: 1.8rem;
    }

    .front-news {
        padding-bottom: 1.25rem;
    }

    .front-lead h1,
    .showcase-lead-card h3,
    .archive-lead-card h2 {
        font-size: 2rem;
        line-height: 1.25;
    }

    .front-under-grid,
    .showcase-bottom-grid,
    .archive-bottom-grid {
        grid-template-columns: 1fr;
    }

    .showcase-heading,
    .archive-heading {
        align-items: flex-end;
        margin-bottom: 1.25rem;
    }

    .showcase-heading h2,
    .archive-heading h1 {
        font-size: 2.45rem;
    }

    .showcase-side-card a,
    .archive-side-card a {
        grid-template-columns: 118px 1fr;
        gap: .85rem;
    }

    .showcase-side-card h3,
    .archive-side-card h3,
    .front-mini-card h2,
    .showcase-bottom-card h3,
    .archive-bottom-card h3 {
        font-size: 1.18rem;
    }

    .lead-slider img,
    .lead-slider {
        min-height: 0;
        height: auto;
        border-radius: 0;
        background: var(--surface);
    }

    .lead-slider img {
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 10px;
    }

    .lead-slider .carousel-caption {
        position: static;
        color: var(--text);
        background: transparent;
        padding: 1rem 0 .25rem;
        text-align: left;
    }

    .lead-slider .carousel-caption span,
    .lead-slider .carousel-caption p {
        display: none;
    }

    .lead-slider h1 {
        font-size: 1.85rem;
        line-height: 1.35;
        color: var(--text);
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .search-page-form,
    .newsletter-form {
        flex-direction: column;
    }

}

[data-theme="dark"] .breaking-bar {
    background: #21170f;
    border-bottom-color: #7c2d12;
}

[data-theme="dark"] .mobile-bottom-menu span {
    color: var(--text);
}

@media print {
    .top-strip,
    .site-header,
    .main-nav,
    .breaking-bar,
    .site-footer,
    .share-row,
    .ad-slot,
    .comment-form {
        display: none !important;
    }
}

/* Category dropdown + sub category archive/search */
.desktop-menu {
    overflow: visible;
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.nav-parent::after {
    content: "⌄";
    margin-left: .28rem;
    font-size: .72rem;
}

.nav-dropdown-menu {
    position: absolute;
    z-index: 1085;
    top: 100%;
    left: 0;
    min-width: 210px;
    max-height: 70vh;
    overflow: auto;
    padding: .5rem;
    border: 1px solid var(--border);
    border-radius: 0 0 14px 14px;
    background: var(--surface);
    box-shadow: 0 18px 46px rgba(0,0,0,.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.desktop-menu .nav-dropdown-menu a {
    display: block;
    padding: .55rem .7rem;
    border-radius: 10px;
    white-space: normal;
    font-size: .93rem;
}

.desktop-menu .nav-dropdown-menu a:hover {
    background: rgba(176,0,32,.08);
    color: var(--primary);
}

.drawer-submenu {
    display: grid;
    gap: .2rem;
    margin: -.2rem 0 .45rem .75rem;
    padding-left: .7rem;
    border-left: 2px solid rgba(176,0,32,.16);
}

.drawer-submenu a {
    font-size: .92rem;
    color: var(--muted);
}

.archive-parent-link {
    margin: -.6rem 0 1rem;
}

.archive-parent-link a {
    color: var(--primary);
    font-weight: 800;
}

.archive-subcategory-list {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: -0.35rem 0 1.2rem;
}

.archive-subcategory-list a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: .35rem .8rem;
    border: 1px solid rgba(176,0,32,.16);
    border-radius: 999px;
    background: rgba(176,0,32,.06);
    color: var(--primary);
    font-weight: 800;
    font-size: .92rem;
}

.search-filter-form {
    display: grid;
    gap: .75rem;
}

.search-filter-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
}

.search-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

/* Fullscreen gallery/video preview */
.gallery-preview-btn,
.video-preview-btn {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.gallery-preview-btn img,
.video-preview-btn .video-thumb img {
    transition: transform .2s ease;
}

.gallery-preview-btn:hover img,
.video-preview-btn:hover .video-thumb img {
    transform: scale(1.04);
}

.video-preview-btn strong {
    display: block;
}

.media-preview-modal .modal-content {
    background: #05070b;
    color: #fff;
}

.media-preview-modal .modal-header {
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.media-preview-modal .modal-header p {
    color: rgba(255,255,255,.72);
    font-size: .92rem;
}

.media-preview-modal .modal-body {
    display: grid;
    place-items: center;
    padding: clamp(.75rem, 2vw, 1.5rem);
}

.media-preview-modal [data-gallery-modal-image] {
    max-width: 100%;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    border-radius: 12px;
}

.media-video-frame {
    width: min(1200px, 100%);
    aspect-ratio: 16 / 9;
}

.media-video-frame iframe,
.media-video-frame video {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    border-radius: 12px;
    background: #000;
}

@media (max-width: 991.98px) {
    .desktop-menu {
        overflow: auto;
    }

    .nav-dropdown-menu {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .search-filter-main,
    .search-filter-grid {
        grid-template-columns: 1fr;
    }

    .media-preview-modal .modal-header {
        align-items: flex-start;
    }
}


/* Header menu polish: fixed home button, horizontal scrolling cue, stronger breaking divider */
.nav-row {
    min-width: 0;
}

.home-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    align-self: stretch;
    width: auto;
    min-width: 112px;
    min-height: 48px;
    padding: 0 .75rem;
    border-radius: 0;
    background: var(--primary);
    color: #fff !important;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: inset -1px 0 0 rgba(255,255,255,.18);
}

.home-tab:hover {
    background: #8f001a;
}

.home-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.home-label {
    font-size: .92rem;
}

.desktop-menu-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.desktop-menu-wrap::before,
.desktop-menu-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 5;
    width: 32px;
    pointer-events: none;
}

.desktop-menu-wrap::before {
    left: 0;
    background: linear-gradient(90deg, var(--surface), transparent);
    opacity: .35;
}

.desktop-menu-wrap::after {
    right: 0;
    background: linear-gradient(270deg, var(--surface), transparent);
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 1.05rem;
    min-width: 0;
    overflow-x: auto;
    overflow-y: auto;
    white-space: nowrap;
    flex: 1 1 auto;
    padding: 0 2.2rem 0 .25rem;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(176,0,32,.55) transparent;
}

.desktop-menu::-webkit-scrollbar {
    height: 5px;
}

.desktop-menu::-webkit-scrollbar-thumb {
    background: rgba(176,0,32,.55);
    border-radius: 999px;
}

.desktop-menu > a,
.nav-dropdown {
    flex: 0 0 auto;
}

.nav-scroll-hint {
    display: inline-flex;
    align-items: center;
    align-self: center;
    min-height: 30px;
    padding: .18rem .45rem;
    border: 1px solid rgba(176,0,32,.18);
    border-radius: 999px;
    background: rgba(176,0,32,.06);
    color: var(--primary);
    font-size: .76rem;
    font-weight: 900;
    white-space: nowrap;
}

.nav-dropdown-menu {
    left: auto;
    right: auto;
}

.breaking-bar {
    border-top: 2px solid #f97316;
    border-bottom: 2px solid #f97316;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 4px 14px rgba(249,115,22,.12);
}

.breaking-bar strong {
    box-shadow: 0 4px 12px rgba(176,0,32,.24);
    text-transform: uppercase;
    letter-spacing: .02em;
}

.ticker-divider {
    width: 3px;
    height: 24px;
    border-radius: 999px;
    background: #ea580c;
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(234,88,12,.12);
}

@media (max-width: 1199.98px) {
    .home-tab {
        min-width: 48px;
        padding: 0 .65rem;
    }

    .home-label {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .nav-scroll-hint,
    .main-nav {
        display: none;
    }
}


/* Keep sub-category dropdown visible while menu is horizontally scrollable */
.nav-dropdown-menu {
    position: fixed;
    top: var(--dropdown-top, 0px);
    left: var(--dropdown-left, 0px);
}

/* Breaking ticker on every public page + consistent headline blocks */
.ticker a {
    display: inline-block;
    flex: 0 0 auto;
    max-width: min(560px, 60vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.headline-fixed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.headline-fixed-1 {
    -webkit-line-clamp: 1;
    line-clamp: 1;
    min-height: 1.3em;
}

.headline-fixed-2 {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    min-height: 2.6em;
}

.headline-fixed-3 {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    min-height: 3.9em;
}

.headline-fixed-4 {
    -webkit-line-clamp: 4;
    line-clamp: 4;
    min-height: 5.2em;
}

.headline-fixed-5 {
    -webkit-line-clamp: 5;
    line-clamp: 5;
    min-height: 6.5em;
}

.story-row .headline-fixed,
.rank-list .headline-fixed {
    display: -webkit-box;
    color: var(--text);
}

/* Home top balance: fix right-side lead text and fill the space below */
.front-grid {
    gap: 1.45rem;
}

.front-news {
    padding-bottom: 1.25rem;
}

.front-lead-link {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: 1.25rem;
    align-items: start;
}

.front-lead h1 {
    font-size: clamp(1.85rem, 2.45vw, 2.65rem);
    line-height: 1.13;
}

.front-lead .headline-fixed-4 {
    min-height: 0;
    max-height: 4.7em;
}

.front-under-grid {
    gap: 1rem;
    margin-top: 1.35rem;
    padding-top: 1.35rem;
}

.front-mini-card h2 {
    font-size: clamp(.98rem, 1.12vw, 1.15rem);
    line-height: 1.28;
}

.front-mini-card .headline-fixed-3 {
    min-height: 3.75em;
}

.front-rail {
    gap: 1.2rem;
}

.talking-point-card {
    padding: .9rem;
}

.talking-point-card h2 {
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    margin-bottom: .75rem;
}

.talking-point-card h3 {
    margin: .8rem .2rem 0;
    font-size: clamp(1.05rem, 1.35vw, 1.32rem);
    line-height: 1.28;
}

.talking-point-card .headline-fixed-4 {
    min-height: 0;
    max-height: 5.1em;
}

/* Standard 16:9 thumbnails across public news blocks */
.front-lead img,
.front-mini-card img,
.talking-point-card img,
.showcase-lead-card img,
.showcase-side-card img,
.showcase-bottom-card img,
.archive-lead-card img,
.archive-side-card img,
.archive-bottom-card img,
.updates-card img,
.updates-spotlight img,
.news-card img,
.gallery-grid img,
.video-thumb img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.story-row img {
    width: 92px;
    height: 52px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Compact horizontal rashifal strip inside the first home news block */
.front-rashifal-strip {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #c2cad6;
}

.front-rashifal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .55rem;
}

.front-rashifal-head span {
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 950;
}

.front-rashifal-head small {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}

.front-rashifal-scroll {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.front-rashifal-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    min-width: 0;
}

.front-rashifal-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: .55rem;
    align-items: center;
    min-width: 0;
    padding: .55rem .7rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: var(--text);
    background: var(--surface);
}

.front-rashifal-item:last-child {
    border-right: 0;
}

.front-rashifal-item strong {
    display: block;
    color: var(--primary);
    font-size: .9rem;
    font-weight: 950;
    line-height: 1.1;
}

.rashi-symbol {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(176, 0, 32, .08);
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 950;
}

.front-rashifal-item .headline-fixed-1 {
    display: -webkit-box;
    margin-top: .16rem;
    color: var(--text);
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.2;
    min-height: auto;
}

[data-theme="dark"] .rashi-symbol {
    background: rgba(255, 77, 109, .14);
}

@media (max-width: 1199.98px) {
    .front-rashifal-items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .front-rashifal-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .ticker a {
        max-width: 260px;
        padding-inline: .75rem;
    }

    .headline-fixed-4,
    .headline-fixed-5 {
        min-height: auto;
    }

    .front-rashifal-strip {
        margin-top: 1rem;
    }

    .front-rashifal-head {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
    }

    .front-rashifal-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
