:root {
    --bg: #f3f7fc;
    --surface: #ffffff;
    --surface-alt: #e8f0fa;
    --ink: #0b1728;
    --muted: #607089;
    --line: #d8e3f2;
    --primary: #005bbb;
    --primary-dark: #003c7d;
    --accent: #1c86ff;
    --success: #0d8a58;
    --danger: #b42318;
    --radius-lg: 0px;
    --radius-md: 0px;
    --shadow: 0 20px 60px rgba(8, 31, 61, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background:
        radial-gradient(circle at top left, rgba(28, 134, 255, 0.18), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
    color: var(--ink);
    font-size: 16px;
}

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

a, input, textarea, select, button, small, .eyebrow, .main-nav, .utility-bar, .pill, .admin-nav, .admin-user, .button {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

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

.utility-bar {
    background: #08182d;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
}

.utility-inner,
.utility-left,
.utility-right,
.masthead,
.nav-wrap {
    display: flex;
    align-items: center;
}

.utility-inner,
.masthead {
    justify-content: space-between;
}

.utility-left,
.utility-right {
    gap: 18px;
}

.utility-bar a {
    color: #fff;
}

.utility-inner {
    min-height: 42px;
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(216, 227, 242, 0.95);
}

.topbar,
.main-nav,
.brand,
.hero-actions,
.section-heading,
.footer-grid,
.admin-topbar,
.list-actions,
.schedule-row,
.admin-stats {
    display: flex;
    align-items: center;
}

.topbar,
.section-heading,
.admin-topbar {
    justify-content: space-between;
}

.admin-user-actions-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar {
    padding: 18px 0;
}

.masthead {
    padding: 28px 0 22px;
}

.brand {
    gap: 14px;
}

.brand-centered {
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.brand strong,
.sidebar-brand strong {
    display: block;
    font-size: 1.85rem;
    letter-spacing: 0.02em;
    text-transform: lowercase;
}

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

.brand-copy {
    display: grid;
    gap: 4px;
    width: 100%;
    text-align: center;
}

.brand-copy small {
    display: block;
    font-size: 0.98rem;
}

.brand-logo {
    display: block;
    width: min(360px, 100%);
    max-height: 96px;
    object-fit: contain;
    margin: 0 auto;
}

.admin-brand-logo {
    width: min(220px, 100%);
    max-height: 72px;
}

.sidebar-brand .brand-copy small {
    color: rgba(255, 255, 255, 0.78);
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 800;
    box-shadow: var(--shadow);
}

.weather-chip,
.header-spot {
    min-width: 220px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.weather-chip strong,
.header-spot strong {
    display: block;
}

.weather-chip span,
.header-spot span {
    color: var(--muted);
    font-size: 0.88rem;
}

.spot-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
}

.nav-wrap {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.main-nav {
    gap: 20px;
    justify-content: center;
    min-height: 58px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.84rem;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 58px;
}

.nav-item > a {
    display: inline-flex;
    align-items: center;
    min-height: 58px;
}

.nav-submenu {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 720px;
    display: none;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 40;
}

.nav-item.has-submenu:hover .nav-submenu,
.nav-item.has-submenu:focus-within .nav-submenu {
    display: flex;
}

.nav-submenu-link {
    padding: 12px 14px;
    border-right: 1px solid var(--line);
    white-space: nowrap;
}

.nav-submenu-link:last-child {
    border-right: 0;
}

.nav-submenu-link:hover {
    background: rgba(0, 91, 187, 0.06);
    color: var(--primary-dark);
}

.mobile-nav-bar {
    display: none;
    justify-content: flex-end;
    padding: 10px 0;
}

.menu-toggle {
    width: 46px;
    height: 42px;
    border: 1px solid var(--line);
    background: #fff;
    display: inline-grid;
    align-content: center;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
}

.nav-cta,
.button {
    padding: 10px 14px;
    border-radius: 0;
    transition: 0.2s ease;
}

.button {
    border: 0;
    cursor: pointer;
    font-weight: 700;
}

.button.primary,
.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
}

.button.secondary {
    background: #fff;
    border: 1px solid var(--line);
}

.button.button-danger {
    background: var(--danger);
    color: #fff;
}

.button.full {
    width: 100%;
}

.hero,
.section {
    padding: 56px 0;
}

.headline-zone {
    padding: 26px 0 34px;
}

.hero-grid,
.featured-layout,
.two-columns,
.admin-grid,
.cards-grid,
.video-grid {
    display: grid;
    gap: 28px;
}

.headline-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.8fr) minmax(260px, 0.72fr);
    gap: 22px;
}

.headline-main,
.mini-headline,
.trending-panel,
.sidebar-card,
.feature-banner {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(216, 227, 242, 0.92);
    border-radius: 0;
    box-shadow: var(--shadow);
}

.headline-main {
    padding: 26px;
    min-height: 420px;
    background:
        linear-gradient(180deg, rgba(5, 28, 57, 0.18), rgba(5, 28, 57, 0.62)),
        linear-gradient(135deg, #b9d7ff, #0a4f9f);
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.headline-main.has-cover {
    position: relative;
    isolation: isolate;
}

.headline-main .eyebrow,
.headline-main .hero-copy {
    color: rgba(255, 255, 255, 0.88);
}

.headline-main h1 {
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    line-height: 1.03;
    margin: 0 0 14px;
}

.headline-main.has-cover .eyebrow,
.headline-main.has-cover .hero-copy,
.headline-main.has-cover h1,
.headline-main.has-cover .button {
    text-shadow: 0 2px 18px rgba(5, 28, 57, 0.35);
}

.headline-stack,
.sidebar-modules,
.compact-list {
    display: grid;
    gap: 18px;
}

.weather-widget-card {
    background:
        linear-gradient(135deg, rgba(0, 91, 187, 0.08), rgba(28, 134, 255, 0.14)),
        rgba(255, 255, 255, 0.96);
}

.weather-widget-status {
    color: var(--muted);
    font-size: 0.92rem;
}

.weather-widget-body.is-hidden,
.weather-widget-status.is-hidden {
    display: none;
}

.weather-widget-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.weather-widget-location {
    display: block;
    font-size: 1.16rem;
}

.weather-widget-condition {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.92rem;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.weather-widget-temp {
    font-size: 2.3rem;
    line-height: 1;
    font-weight: 800;
    color: var(--primary-dark);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.weather-widget-meta {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.88rem;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.mini-headline,
.sidebar-card,
.feature-banner {
    padding: 18px;
}

.mini-headline h3 {
    font-size: 1.08rem;
    margin: 10px 0;
}

.trending-panel {
    padding: 20px;
    background: #fff;
}

.trending-title,
.module-title {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.trending-item,
.compact-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

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

.trending-item:last-child,
.compact-item:last-child {
    border-bottom: 0;
}

.trend-number {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 0;
    background: rgba(0, 91, 187, 0.1);
    color: var(--primary);
    font-weight: 800;
}

.hero-grid,
.two-columns {
    grid-template-columns: 1.15fr 0.85fr;
}

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

.cards-grid,
.video-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.content-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 360px;
    gap: 28px;
    align-items: start;
}

.hero h1,
.section h1,
.section h2,
.featured-story h3,
.story-card h2,
.story-card h3,
.video-card h2,
.schedule-info h2,
.admin-card h1 {
    margin-top: 0;
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 0.95;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-copy,
.article-lead,
.featured-story p,
.story-card p,
.video-card p,
.panel p,
.admin-card p {
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.98rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.7rem;
    margin-bottom: 14px;
}

.hero-panel,
.featured-story,
.story-card,
.video-card,
.schedule-table,
.panel,
.stat-card,
.admin-card,
.live-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(216, 227, 242, 0.92);
    border-radius: 0;
    box-shadow: var(--shadow);
}

.hero-panel,
.admin-card {
    padding: 18px;
}

.live-card {
    padding: 18px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #0d2340, #0d59b1);
    color: #fff;
}

.live-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 0;
    background: #67f0ab;
    margin-right: 8px;
}

.video-embed {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 0;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.featured-story,
.story-card,
.video-card,
.panel,
.stat-card,
.schedule-item {
    padding: 18px;
}

.story-list,
.admin-list,
.stack-form,
.footer-grid,
.schedule-preview {
    display: grid;
    gap: 16px;
}

.editorial-list {
    gap: 18px;
}

.story-card.horizontal {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    align-items: start;
}

.listing-thumb {
    width: 100%;
    height: 190px;
    object-fit: cover;
    margin-bottom: 14px;
    border: 1px solid var(--line);
}

.listing-thumb-inline {
    width: 180px;
    height: 180px;
    margin-bottom: 0;
    aspect-ratio: 1 / 1;
}

.story-card.horizontal h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.story-card-body {
    max-width: 780px;
}

.news-heading {
    margin-bottom: 22px;
}

.category-switcher {
    display: grid;
    gap: 20px;
}

.category-switcher-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 4px;
}

.category-tab {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    color: var(--primary-dark);
    padding: 10px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.category-tab.is-active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.category-switcher-panels {
    position: relative;
}

.category-panel {
    display: none;
    opacity: 0;
    transform: translateY(12px);
}

.category-panel.is-active {
    display: block;
    animation: categoryPanelIn 0.35s ease forwards;
}

@keyframes categoryPanelIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pill {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 0;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(0, 91, 187, 0.1);
}

.text-link {
    color: var(--primary-dark);
    font-weight: 700;
}

.muted {
    background: linear-gradient(180deg, rgba(232, 240, 250, 0.55), rgba(255, 255, 255, 0.2));
}

.feature-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.feature-banner h2 {
    font-size: 1.5rem;
    margin: 0 0 12px;
}

.schedule-row,
.schedule-item,
.list-row {
    justify-content: space-between;
    gap: 16px;
}

.admin-article-row-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.admin-article-thumb {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border: 1px solid var(--line);
    background: #eef4fa;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.admin-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-article-thumb span {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.06em;
}

.admin-article-row-main strong,
.admin-article-row-main small {
    display: block;
}

.schedule-row,
.list-row {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.list-row.is-selected {
    background: rgba(0, 91, 187, 0.06);
    padding-left: 12px;
    padding-right: 12px;
}

.schedule-row:last-child,
.list-row:last-child {
    border-bottom: 0;
}

.schedule-table {
    overflow: hidden;
}

.schedule-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    border-bottom: 1px solid var(--line);
}

.schedule-item:last-child {
    border-bottom: 0;
}

.article-page {
    max-width: 860px;
}

.legal-shell {
    max-width: 980px;
}

.legal-content {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    padding: 28px;
    box-shadow: var(--shadow);
    line-height: 1.75;
}

.legal-content p,
.legal-content li,
.legal-content td,
.legal-content th {
    color: var(--ink);
    font-size: 0.98rem;
}

.legal-content ol,
.legal-content ul {
    padding-left: 22px;
}

.legal-content hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 28px 0;
}

.legal-table-wrap {
    overflow-x: auto;
    margin: 20px 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    background: #fff;
}

.legal-table td,
.legal-table th {
    border: 1px solid var(--line);
    padding: 14px;
    vertical-align: top;
}

.legal-table tr:first-child td {
    background: rgba(0, 91, 187, 0.08);
    font-weight: 700;
}

.article-cover {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border: 1px solid var(--line);
    margin: 18px 0 24px;
}

.article-meta {
    color: var(--muted);
    margin-top: -8px;
}

.article-video {
    margin: 22px 0;
}

.share-bar {
    display: grid;
    gap: 12px;
    padding: 16px 0 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin: 18px 0 24px;
}

.share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.article-content {
    font-size: 1.02rem;
    line-height: 1.7;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote,
.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 0 0 16px;
}

.article-content blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 14px;
    color: var(--muted);
}

.article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.article-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
}

.video-section-block {
    margin-top: 30px;
}

.video-subnav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 0 14px;
    margin: 18px 0 28px;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
}

.video-subnav::-webkit-scrollbar {
    display: none;
}

.video-subnav-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 10px 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    color: var(--primary-dark);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.video-subnav-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: var(--primary);
    color: #fff;
}

.video-subnav-link.is-active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow);
}

.playlist-player-block {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.playlist-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.9rem;
    color: var(--muted);
}

.playlist-loading {
    padding: 18px;
    border: 1px solid var(--line);
    background: #fff;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--muted);
}

.video-load-more.is-hidden {
    display: none;
}

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

.video-gallery-card {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 255, 0.96));
    box-shadow: 0 16px 36px rgba(8, 31, 61, 0.08);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.video-gallery-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 91, 187, 0.24);
    box-shadow: 0 22px 44px rgba(8, 31, 61, 0.12);
}

.video-gallery-card.is-hidden {
    display: none;
}

.video-launcher {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

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

.video-play-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 8px 12px;
    background: rgba(11, 23, 40, 0.82);
    color: #fff;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.video-card-body {
    padding: 14px 16px 16px;
}

.video-card-body h3 {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.35;
}

.video-load-more {
    margin-top: 18px;
}

.video-modal {
    width: min(960px, calc(100% - 24px));
    border: 0;
    padding: 0;
    background: #fff;
}

.video-modal::backdrop {
    background: rgba(11, 23, 40, 0.7);
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.video-modal-close {
    border: 1px solid var(--line);
    background: #fff;
    padding: 8px 12px;
    cursor: pointer;
}

.video-modal-embed {
    border-radius: 0;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    border: 1px solid var(--primary);
    background: rgba(0, 91, 187, 0.94);
    color: #fff;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.live-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 320px;
    gap: 28px;
    align-items: start;
}

.live-stage {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(216, 227, 242, 0.92);
    box-shadow: var(--shadow);
    padding: 24px;
}

.live-player-shell {
    position: relative;
    background: #08182d;
    aspect-ratio: 16 / 9;
    margin-top: 18px;
}

.live-player-shell-compact {
    margin-top: 0;
}

.live-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #08182d;
}

.live-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.92rem;
}

.live-info-panel {
    display: grid;
    gap: 18px;
}

.maintenance-card {
    max-width: 760px;
    margin: 48px auto;
    padding: 36px 32px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(216, 227, 242, 0.92);
    box-shadow: var(--shadow);
    text-align: center;
}

.site-footer {
    padding: 38px 0 56px;
}

.footer-bottom-strip {
    margin-top: 34px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}

.footer-bottom-strip .container {
    overflow: hidden;
}

.footer-bottom-strip p {
    margin: 0;
    padding: 12px 0;
    white-space: nowrap;
    color: #fff;
    font-size: clamp(0.6rem, 0.95vw, 0.78rem);
    line-height: 1.1;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.footer-grid {
    gap: 24px;
    align-items: start;
    grid-template-columns: repeat(3, 1fr);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 18px;
}

.footer-links-grid a {
    display: block;
}

.newspaper-grid {
    align-items: stretch;
}

.newspaper-card h2 {
    font-size: 1.38rem;
}

.single-column-news {
    display: grid;
    gap: 18px;
}

.news-list-item {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 18px;
    align-items: start;
}

.news-list-item .listing-thumb {
    width: 210px;
    height: 210px;
    margin-bottom: 0;
    aspect-ratio: 1 / 1;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: #fff;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
}

.sidebar-modules {
    position: sticky;
    top: 24px;
    align-self: start;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sidebar-modules::-webkit-scrollbar {
    display: none;
}

.page-link.is-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.footer-grid a,
.footer-grid p {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
}

.admin-login-body,
.admin-body {
    min-height: 100vh;
}

.admin-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.admin-card {
    width: min(460px, 100%);
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    padding: 26px;
    background: #0d1c31;
    color: #fff;
}

.admin-nav {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.admin-nav a {
    padding: 12px 14px;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.82);
}

.admin-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.admin-main {
    padding: 28px;
}

.admin-footer {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.92rem;
}

.admin-footer a {
    color: var(--primary-dark);
    font-weight: 700;
}

.admin-stats {
    gap: 18px;
    margin-bottom: 28px;
}

.stat-card {
    min-width: 180px;
}

.stat-card strong {
    display: block;
    font-size: 1.8rem;
    margin-top: 8px;
}

.admin-grid {
    grid-template-columns: repeat(3, 1fr);
}

.admin-grid.two {
    grid-template-columns: 1fr 1fr;
}

.stack-form label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 600;
}

.bulk-toolbar {
    display: grid;
    gap: 14px;
}

.admin-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 12px;
    margin-bottom: 16px;
}

.admin-search {
    width: 100%;
}

.bulk-check {
    min-width: 22px;
}

.sortable-list [data-sortable-item] {
    cursor: move;
}

.sortable-list [data-sortable-item].is-dragging {
    opacity: 0.45;
    background: rgba(0, 91, 187, 0.05);
}

.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.editor-toolbar button {
    padding: 8px 10px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
}

.admin-user-actions {
    display: grid;
    gap: 10px;
    justify-items: end;
}

.admin-inline-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.admin-inline-form input {
    width: min(190px, 100%);
}

.admin-self-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--line);
    background: rgba(0, 91, 187, 0.08);
    color: var(--primary-dark);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
}

.rich-editor {
    min-height: 280px;
    padding: 14px;
    border: 1px solid var(--line);
    background: #fff;
    font-weight: 400;
    line-height: 1.65;
}

.rich-editor:focus {
    outline: 2px solid rgba(0, 91, 187, 0.15);
}

.media-preview img {
    max-width: 220px;
    display: block;
    border: 1px solid var(--line);
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.gallery-preview-item {
    display: grid;
    gap: 8px;
}

.gallery-preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border: 1px solid var(--line);
}

input,
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 0;
    border: 1px solid var(--line);
    background: #fff;
    font: inherit;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox input {
    width: auto;
}

.alert {
    padding: 14px 16px;
    border-radius: 0;
    margin-bottom: 20px;
}

.alert.success {
    background: rgba(13, 138, 88, 0.1);
    color: var(--success);
}

.alert.error {
    background: rgba(180, 35, 24, 0.1);
    color: var(--danger);
}

.admin-user {
    color: var(--muted);
    font-weight: 600;
}

@media (max-width: 980px) {
    .utility-bar,
    .weather-chip,
    .header-spot,
    .headline-stack,
    .trending-panel {
        display: none;
    }

    .headline-grid,
    .content-shell,
    .feature-band,
    .hero-grid,
    .live-page-grid,
    .featured-layout,
    .two-columns,
    .admin-shell,
    .admin-grid,
    .admin-grid.two,
    .footer-grid,
    .schedule-item {
        grid-template-columns: 1fr;
    }

    .topbar,
    .utility-inner,
    .utility-left,
    .utility-right,
    .masthead,
    .admin-topbar,
    .admin-stats,
    .admin-user-actions-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand strong,
    .sidebar-brand strong {
        font-size: 1.6rem;
    }

    .brand-logo {
        width: min(280px, 100%);
        max-height: 82px;
    }

    .masthead {
        gap: 16px;
    }

    .nav-wrap {
        display: block;
    }

    .mobile-nav-bar {
        display: flex;
        width: 100%;
        justify-content: flex-end;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        padding: 0 0 12px;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 12px 0;
        border-top: 1px solid var(--line);
        text-align: center;
        justify-content: center;
    }

    .nav-item {
        width: 100%;
        min-height: 0;
        display: grid;
    }

    .nav-item > a {
        min-height: 0;
    }

    .nav-submenu {
        display: none !important;
    }

    .nav-submenu-link {
        padding-left: 18px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        background: rgba(0, 91, 187, 0.03);
    }

    .nav-submenu-link:last-child {
        border-bottom: 0;
    }

    .sidebar-modules {
        position: static;
        top: auto;
    }

    .admin-user-actions,
    .admin-inline-form {
        justify-items: stretch;
        justify-content: stretch;
    }

    .admin-filters {
        grid-template-columns: 1fr;
    }

    .admin-article-row-main {
        width: 100%;
    }

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

    .admin-inline-form input {
        width: 100%;
    }

    .news-list-item .listing-thumb {
        width: 100%;
        height: 220px;
        margin-bottom: 14px;
    }

    .story-card.horizontal,
    .news-list-item {
        grid-template-columns: 1fr;
    }

    .listing-thumb-inline {
        width: 100%;
        height: 220px;
        margin-bottom: 14px;
    }

    .video-gallery-grid {
        grid-template-columns: 1fr;
    }

    .admin-main {
        padding: 18px;
    }
}
