:root {
    color-scheme: light;
    --header-height: 112px;
    --color-ink: #0f1118;
    --color-muted: #5c6472;
    --color-line: #e2e6ef;
    --color-surface: #ffffff;
    --color-soft: #f4f6fb;
    --color-red: #e51b2b;
    --color-red-dark: #c4101f;
    --color-blue: #005bbb;
    --color-yellow: #ffd200;
    --color-green: #009b59;
    --shadow-xs: 0 1px 4px rgb(21 23 31 / 7%);
    --shadow-sm: 0 4px 16px rgb(21 23 31 / 8%);
    --shadow: 0 10px 36px rgb(21 23 31 / 10%);
    --shadow-lg: 0 22px 60px rgb(21 23 31 / 14%);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    --shell: min(1160px, calc(100vw - 32px));
    font-family: 'Inter', "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100%;
    margin: 0;
    background-color: #f4f6fb;
    background-image:
        linear-gradient(180deg, rgb(255 255 255 / 94%) 0, rgb(244 246 251 / 96%) 34rem),
        linear-gradient(90deg, rgb(229 27 43 / 5%) 0 1px, transparent 1px),
        linear-gradient(0deg, rgb(0 91 187 / 5%) 0 1px, transparent 1px),
        url("/images/herobanner.png");
    background-position: center top, center top, center top, center top;
    background-size: auto, 64px 64px, 64px 64px, max(1440px, 100vw) auto;
    background-repeat: repeat, repeat, repeat, no-repeat;
    background-attachment: fixed;
    color: var(--color-ink);
    font-size: 16px;
    line-height: 1.55;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgb(244 246 251 / 40%), rgb(244 246 251 / 95%)),
        url("/images/herobanner.png") center top / max(1440px, 100vw) auto no-repeat;
    filter: blur(20px) saturate(0.7);
    transform: scale(1.04);
    opacity: 0.18;
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.22em;
}

img, svg {
    max-width: 100%;
}

button, input, textarea {
    font: inherit;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: 12px;
    z-index: 20;
    transform: translateY(-140%);
    border-radius: var(--radius);
    background: var(--color-ink);
    color: #fff;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--color-line);
    background:
        linear-gradient(90deg, rgb(229 27 43 / 6%), transparent 22%, transparent 78%, rgb(0 91 187 / 6%)),
        rgb(255 255 255 / 96%);
    backdrop-filter: blur(20px) saturate(1.3);
    box-shadow: 0 1px 0 var(--color-line), 0 4px 28px rgb(21 23 31 / 5%);
}

.site-nav {
    position: relative;
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: 24px;
}

.site-topbar {
    border-bottom: 1px solid rgb(226 230 239 / 70%);
    background:
        linear-gradient(90deg, rgb(229 27 43 / 8%), rgb(255 255 255 / 82%) 34%, rgb(0 91 187 / 8%)),
        rgb(255 255 255 / 90%);
}

.site-topbar__inner {
    display: flex;
    min-height: 38px;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
}

.site-topbar__links {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.site-topbar__links.is-dragging {
    cursor: grabbing;
}

.site-topbar__links::-webkit-scrollbar {
    display: none;
}

.site-topbar__links a {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 28px;
    align-items: center;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--color-muted);
    padding: 3px 10px 3px 5px;
    font-size: 0.77rem;
    font-weight: 800;
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.site-topbar__links a:hover,
.site-topbar__links a:focus-visible {
    border-color: var(--color-line);
    background: #fff;
    color: var(--color-ink);
    transform: translateY(-1px);
    box-shadow: var(--shadow-xs);
}

.site-topbar__links img {
    width: 20px;
    height: 20px;
    border: 1px solid var(--color-line);
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
    padding: 3px;
}

/* Brand */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    text-decoration: none;
    transition: opacity var(--transition);
}

.brand:hover {
    opacity: 0.86;
}

.brand__logo {
    display: block;
    width: auto;
    height: 46px;
    object-fit: contain;
}

.brand--footer .brand__logo {
    height: 40px;
}

/* Nav Menu */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    font-weight: 700;
}

.nav-menu > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: var(--radius-sm);
    color: var(--color-muted);
    text-decoration: none;
    font-size: 0.93rem;
    transition: color var(--transition), background var(--transition);
}

.nav-menu > a::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 11px;
    right: 11px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.nav-menu > a:hover,
.nav-menu > a:focus-visible {
    color: var(--color-ink);
    background: rgb(21 23 31 / 4%);
}

.nav-menu > a:hover::after,
.nav-menu > a:focus-visible::after {
    transform: scaleX(0.55);
}

.nav-menu > a.active {
    color: var(--color-ink);
    font-weight: 800;
}

.nav-menu > a.active::after {
    transform: scaleX(1);
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 6px;
    border-left: 1px solid var(--color-line);
    margin-left: 10px;
    padding-left: 14px;
}

/* Nav end — search trigger + mobile hamburger */

.nav-end {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.nav-search-trigger {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: rgb(255 255 255 / 92%);
    color: var(--color-muted);
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.nav-search-trigger:hover,
.nav-search-trigger:focus-visible {
    background: var(--color-soft);
    border-color: rgb(21 23 31 / 16%);
    color: var(--color-ink);
}

.nav-search-trigger.active {
    background: rgb(229 27 43 / 8%);
    border-color: rgb(229 27 43 / 24%);
    color: var(--color-red);
}

.nav-search-trigger svg {
    width: 17px;
    height: 17px;
}


.nav-social a {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid var(--color-line);
    border-radius: 50%;
    background: transparent;
    color: var(--color-ink);
    text-decoration: none;
    transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nav-social img {
    width: 15px;
    height: 15px;
    object-fit: contain;
}

.nav-social a:hover,
.nav-social a:focus-visible {
    border-color: var(--color-red);
    background: rgb(229 27 43 / 8%);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgb(229 27 43 / 18%);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}

.nav-toggle:hover {
    background: var(--color-soft);
    border-color: rgb(21 23 31 / 16%);
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--color-ink);
    border-radius: 999px;
}

/* Page Hero */

.page-hero {
    position: relative;
    padding: 72px 0 32px;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 26px auto auto 0;
    width: min(320px, 40vw);
    height: 3px;
    background: linear-gradient(90deg, var(--color-red), var(--color-blue), transparent);
    border-radius: 0 999px 999px 0;
}

.page-hero h1,
.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.6rem, 6vw, 2.2rem);
    line-height: 0.93;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.page-hero p:last-child,
.hero p {
    color: var(--color-muted);
    font-size: 1.08rem;
    margin-top: 14px;
    line-height: 1.6;
}

/* Eyebrow */

.eyebrow {
    margin: 0 0 10px;
    color: var(--color-blue);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Breaking eyebrow badge */

.eyebrow--breaking {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-red);
}

.eyebrow--breaking::before {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-red);
    animation: live-pulse 1.1s ease-in-out infinite;
}

/* Section */

.section {
    padding: 22px 0;
}

.section__header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 16px;
    margin-bottom: 24px;
}

.section__header h2 {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    letter-spacing: -0.02em;
    font-weight: 900;
}

.section__header .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -8px;
}

.section__header a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--color-blue);
    font-weight: 800;
    font-size: 0.87rem;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}

.section__header a:hover {
    background: rgb(0 91 187 / 7%);
}

.section__header--stacked {
    display: block;
}

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

.section--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 28px;
}

.broadcast-stack {
    padding-bottom: 20px;
}

/* Buttons */

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--color-line);
    border-radius: var(--radius);
    padding: 10px 22px;
    font-weight: 800;
    font-size: 0.94rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgb(21 23 31 / 10%);
}

.button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-xs);
    transition-duration: 0.06s;
}

.button--primary {
    border-color: var(--color-red);
    background: var(--color-red);
    color: #fff;
}

.button--primary:hover {
    background: var(--color-red-dark);
    border-color: var(--color-red-dark);
    box-shadow: 0 8px 26px rgb(229 27 43 / 30%);
}

.button--ghost {
    background: rgb(255 255 255 / 92%);
    color: var(--color-ink);
}

.button--ghost:hover {
    background: #fff;
    border-color: rgb(21 23 31 / 20%);
}

/* Grids */

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

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

/* Cards */

.show-card,
.news-card,
.video-panel,
.contact-form,
.contact-aside {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: rgb(255 255 255 / 98%);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.show-card:hover,
.news-card:hover {
    box-shadow: var(--shadow);
    border-color: rgb(21 23 31 / 10%);
    transform: translateY(-2px);
}

.show-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.show-card__media {
    display: block;
    /*aspect-ratio: 16 / 9;*/
    overflow: hidden;
    background: var(--color-soft);
    position: relative;
}

.show-card__media picture,
.show-card__media img {
    display: block;
    width: 100%;
    height: 100%;
}

.show-card__media img {
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.show-card:hover .show-card__media img,
.show-card:focus-within .show-card__media img {
    transform: scale(1.05);
}

.show-card__body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card {
    overflow: hidden;
    padding: 0;
}

.news-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-soft);
}

.news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-card__media img,
.news-card:focus-within .news-card__media img {
    transform: scale(1.04);
}

.news-card__body {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 16px 18px 20px;
}

.show-card h3,
.news-card h3 {
    margin: 6px 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.show-card p,
.news-card p,
.site-footer p {
    color: var(--color-muted);
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
}

.show-card p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.show-card span,
.news-card__body > span,
.video-list span {
    color: var(--color-blue);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-card__body a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--color-red);
    font-weight: 800;
    font-size: 0.87rem;
    text-decoration: none;
    padding: 6px 0;
    transition: color var(--transition), gap var(--transition);
}

.news-card__body a:hover {
    color: var(--color-red-dark);
    gap: 8px;
}

.show-card time {
    color: var(--color-ink);
    font-weight: 800;
    font-size: 0.87rem;
}

.show-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--color-line);
}

.show-card__meta a {
    color: var(--color-blue);
    font-weight: 900;
    font-size: 0.84rem;
    text-decoration: none;
    transition: color var(--transition);
}

.show-card__meta a:hover {
    color: var(--color-red);
}

/* Network Grid */

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

.network-grid a {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 4px 14px;
    align-items: center;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: rgb(255 255 255 / 98%);
    padding: 16px 18px;
    text-decoration: none;
    box-shadow: var(--shadow-xs);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.network-grid a:hover,
.network-grid a:focus-visible {
    border-color: var(--color-red);
    box-shadow: 0 8px 30px rgb(229 27 43 / 12%);
    transform: translateY(-2px);
}

.network-grid img {
    grid-row: 1 / span 2;
    width: 54px;
    height: 54px;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    background: #fff;
    object-fit: contain;
    padding: 8px;
}

.network-grid strong {
    align-self: end;
    font-weight: 800;
}

.network-grid span {
    align-self: start;
    color: var(--color-muted);
    font-size: 0.83rem;
}

/* Schedule List */

.schedule-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.schedule-list li {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: 14px 16px;
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--transition), border-color var(--transition);
}

.schedule-list li:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgb(21 23 31 / 12%);
}

.schedule-list time {
    font-weight: 900;
    font-size: 0.88rem;
    color: var(--color-blue);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.schedule-list strong {
    font-weight: 800;
    font-size: 0.93rem;
    display: block;
    line-height: 1.3;
}

.schedule-list span {
    color: var(--color-muted);
    font-size: 0.81rem;
    display: block;
    margin-top: 2px;
}

/* Live Pill */

@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes live-ring {
    0% { box-shadow: 0 0 0 0 rgb(229 27 43 / 45%); }
    70% { box-shadow: 0 0 0 6px rgb(229 27 43 / 0%); }
    100% { box-shadow: 0 0 0 0 rgb(229 27 43 / 0%); }
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    background: #ffe8eb;
    color: var(--color-red) !important;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    white-space: nowrap;
    animation: live-ring 2.2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.live-pill[hidden] {
    display: none;
}

.live-pill::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-red);
    flex-shrink: 0;
    animation: live-pulse 1.1s ease-in-out infinite;
}

/* Video Panel */

.video-panel {
    padding: 22px;
}

.video-panel--wide {
    padding: 26px;
}

.video-playlist {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 30%);
    gap: 18px;
}

.video-playlist__main {
    overflow: hidden;
    border-radius: var(--radius);
    background: #11131a;
    box-shadow: var(--shadow);
}

.video-playlist__main iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.video-playlist__title {
    margin: 0;
    border-top: 1px solid rgb(255 255 255 / 10%);
    color: #fff;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 700;
    line-height: 1.3;
    padding: 14px 16px 16px;
}

.video-playlist__side {
    display: grid;
    max-height: 520px;
    gap: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-line) transparent;
}

.video-playlist__item {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 4px 10px;
    align-items: center;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--color-ink);
    padding: 10px;
    text-align: left;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.video-playlist__item:hover,
.video-playlist__item:focus-visible,
.video-playlist__item.is-active {
    border-color: var(--color-red);
}

.video-playlist__item:hover,
.video-playlist__item:focus-visible {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.video-playlist__item img {
    grid-row: 1 / span 2;
    width: 92px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    object-fit: cover;
    transition: transform 0.35s ease;
}

.video-playlist__item:hover img,
.video-playlist__item:focus-visible img {
    transform: scale(1.03);
}

.video-playlist__item span {
    color: var(--color-blue);
    font-size: 0.67rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.video-playlist__item strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.video-list {
    display: grid;
    gap: 10px;
}

.video-list a {
    display: grid;
    gap: 4px;
    border-radius: var(--radius);
    background: var(--color-soft);
    padding: 14px 16px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.video-list a:hover {
    background: #fff;
    border-color: var(--color-line);
    box-shadow: var(--shadow-xs);
}

.video-list small {
    color: var(--color-muted);
    font-size: 0.83rem;
}

/* Footer */

.site-footer {
    margin-top: 56px;
    border-top: 1px solid var(--color-line);
    background:
        linear-gradient(180deg, rgb(255 255 255), rgb(244 246 251 / 98%)),
        repeating-linear-gradient(90deg, transparent 0 36px, rgb(21 23 31 / 2%) 36px 37px);
    padding: 50px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr);
    gap: 36px;
    align-items: start;
}

.site-footer h2 {
    margin: 16px 0 14px;
    color: var(--color-ink);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-about {
    display: grid;
    gap: 10px;
}

.footer-about p {
    margin: 0;
    font-size: 0.91rem;
    line-height: 1.62;
    text-align: justify;
}

.footer-links {
    display: grid;
    gap: 10px;
    align-content: start;
}

.footer-links a,
.footer-seal a {
    color: var(--color-muted);
    font-weight: 700;
    font-size: 0.91rem;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.footer-social-link img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    opacity: 0.65;
    transition: opacity var(--transition);
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-seal a:hover,
.footer-seal a:focus-visible {
    color: var(--color-red);
}

.footer-social-link:hover img {
    opacity: 1;
}

.footer-seal {
    display: grid;
    gap: 10px;
    align-content: start;
}

.footer-seal img {
    width: min(100%, 120px);
    height: auto;
}

.footer-seal img + img {
    width: min(100%, 96px);
}

.footer-privacy {
    margin-top: 4px;
}

.footer-copy {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--color-line);
    color: var(--color-muted);
    margin-top: 18px;
    padding-top: 20px;
    font-size: 0.83rem;
    font-weight: 700;
}

.footer-copy a {
    color: var(--color-red);
    font-weight: 800;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-copy a:hover {
    color: var(--color-red-dark);
}

/* Ad Slots */

.ad-slot {
    display: grid;
    place-items: center;
    padding: 16px 0;
}

.ad-slot__box {
    display: grid;
    width: min(100%, 970px);
    min-height: 90px;
    place-items: center;
    gap: 2px;
    border: 1px dashed #c6ccd8;
    border-radius: 10px;
    background:
        repeating-linear-gradient(135deg, #f9fafd 0, #f9fafd 10px, #f1f3f8 10px, #f1f3f8 20px);
    color: var(--color-muted);
    text-align: center;
}

.ad-slot--leaderboard .ad-slot__box {
    min-height: 108px;
}

.ad-slot__box span {
    color: var(--color-ink);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.ad-slot__box small {
    font-size: 0.77rem;
    color: var(--color-muted);
}

.ad-slot__popup {
    display: none;
}

.ad-slot[hidden] { display: none; }
.ad-slot .ad-slot__box.ad-slot__box--active {
    display: block;
    width: var(--ad-creative-width, max-content);
    height: var(--ad-creative-height, auto);
    min-height: 0;
    max-width: none;
    padding: 0;
    gap: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.ad-slot__box--active > div { margin-inline: auto; }
.ad-slot__box--active iframe { display: block; }
.ad-slot__box--active > span,
.ad-slot__box--active > small { display: none; }
.ad-slot__popup--active { display: block; }

/* Responsive */

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }

    .nav-menu {
        position: absolute;
        inset: calc(100% + 8px) 0 auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid var(--color-line);
        border-radius: var(--radius-lg);
        background: #fff;
        padding: 16px;
        box-shadow: var(--shadow);
        gap: 2px;
    }

    .nav-menu > a {
        padding: 10px 14px;
        border-radius: var(--radius);
        font-size: 0.97rem;
    }

    .nav-menu > a::after {
        display: none;
    }

    .nav-menu > a.active {
        background: rgb(229 27 43 / 6%);
        color: var(--color-red);
    }

    .nav-social {
        justify-content: flex-start;
        border-left: 0;
        border-top: 1px solid var(--color-line);
        margin-left: 0;
        padding: 14px 0 0;
    }

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


    .section--split {
        grid-template-columns: 1fr;
    }

    /* Tablet footer: About Us full width, then 3 equal columns */
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px 32px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .footer-seal {
        align-items: start;
    }

    .cookie-consent {
        grid-template-columns: 1fr;
        align-items: stretch;
        max-width: min(680px, calc(100vw - 32px));
    }

    .cookie-consent__actions {
        justify-content: space-between;
    }

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

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

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

    .video-playlist__side {
        grid-auto-columns: minmax(240px, 72%);
        grid-auto-flow: column;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 0 8px;
        scrollbar-width: none;
    }

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

@media (max-width: 620px) {
    :root {
        --shell: min(100vw - 20px, 1160px);
        --header-height: 104px;
    }

    .page-hero {
        padding-top: 48px;
    }

    .section {
        padding: 32px 0;
    }

    .section__header {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .site-nav {
        min-height: 64px;
    }

    .site-topbar__links a {
        min-height: 27px;
        font-size: 0.73rem;
    }

    .brand__logo {
        height: 38px;
    }

    .show-grid,
    .news-grid,
    .network-grid {
        grid-template-columns: 1fr;
    }

    .network-grid a {
        grid-template-columns: 46px 1fr;
        padding: 14px;
    }

    .network-grid img {
        width: 46px;
        height: 46px;
        padding: 7px;
    }

    .schedule-list li {
        grid-template-columns: 1fr auto;
    }

    .schedule-list time {
        grid-column: 1 / -1;
    }

    /* Mobile footer: About Us + copy full width, links/social side-by-side, seal full width */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 20px;
    }

    .footer-about,
    .footer-seal {
        grid-column: 1 / -1;
    }

    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: none;
        padding: 16px 18px;
    }

    .cookie-consent__actions {
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .cookie-consent__link {
        min-height: 38px;
        display: inline-flex;
        align-items: center;
    }

    .cookie-consent__btn {
        min-width: 112px;
    }

    .footer-copy {
        display: grid;
        text-align: left;
    }

    .video-panel {
        padding: 14px;
    }

    .video-panel--wide {
        width: var(--shell);
        margin-inline: auto;
    }

    .video-playlist__item {
        grid-template-columns: 80px 1fr;
    }

    .video-playlist__item img {
        width: 80px;
    }
}

@media (max-width: 760px) {
    .ad-slot {
        padding: 10px 0;
    }

    .ad-slot__box {
        min-height: 70px;
        padding: 10px;
    }

    .ad-slot--leaderboard .ad-slot__box {
        min-height: 82px;
    }

    .ad-slot__box small {
        display: none;
    }
}

/* ── PiP Player ────────────────────────────────────────────────────────────── */

.pip-player {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 300px;
    z-index: 50;
    border-radius: var(--radius-lg);
    background: #0d0f18;
    border: 1px solid rgb(255 255 255 / 14%);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgb(229 27 43 / 18%);
    overflow: hidden;
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.46s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.34s ease, box-shadow var(--transition);
}

.pip-player[hidden] { display: none; }

.pip-player.is-hiding {
    opacity: 0;
    pointer-events: none;
    transform: translateX(calc(100% + 32px));
}

.pip-player.is-entering {
    opacity: 0;
    transform: translateX(calc(100% + 32px));
}

.pip-player.is-minimized iframe { display: none; }

/* Expanded mode — pip-player fills the home page livestream slot */
.pip-player--expanded {
    position: static;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: none;
    border: none;
    background: #000;
    opacity: 1;
    transform: none;
    transition: none;
}
.pip-player--expanded .pip-player__bar { display: none; }
.pip-player--expanded iframe {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
}

.pip-player__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    background: rgb(0 0 0 / 50%);
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.pip-player__bar:active { cursor: grabbing; }

.pip-player__live {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.pip-player__live::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-red);
    flex-shrink: 0;
    animation: live-pulse 1.1s ease-in-out infinite;
}

.pip-player__actions {
    display: flex;
    gap: 4px;
}

.pip-player__btn {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: rgb(255 255 255 / 12%);
    color: rgb(255 255 255 / 80%);
    cursor: pointer;
    font-size: 0.82rem;
    line-height: 1;
    transition: background var(--transition), color var(--transition);
}

.pip-player__btn:hover { background: rgb(255 255 255 / 24%); color: #fff; }

a.pip-player__btn { text-decoration: none; }

.pip-player iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.pip-player iframe[hidden] {
    display: none;
}


.video-playlist__pip-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    background: #000;
}

@media (max-width: 480px) {
    .pip-player {
        width: calc(100vw - 32px);
        bottom: 16px;
        right: 16px;
    }
}


/* ── Trailer Modal ──────────────────────────────────────────────────────────── */

.trailer-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.trailer-modal[hidden] { display: none; }

.trailer-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 80%);
    backdrop-filter: blur(6px);
    cursor: pointer;
}

.trailer-modal__dialog {
    position: relative;
    width: min(900px, 100%);
    border-radius: var(--radius-lg);
    background: #0d0f18;
    border: 1px solid rgb(255 255 255 / 12%);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: trailerIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes trailerIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

.trailer-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgb(0 0 0 / 55%);
    color: rgb(255 255 255 / 85%);
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1;
    transition: background var(--transition), color var(--transition);
}

.trailer-modal__close:hover {
    background: rgb(0 0 0 / 80%);
    color: #fff;
}

.trailer-modal__iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

/* ── Show card trailer badge / button ───────────────────────────────────────── */

.show-card__trailer-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgb(0 0 0 / 68%);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    pointer-events: none;
    transition: opacity var(--transition);
}

.show-card__trailer-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid var(--color-red);
    color: var(--color-red);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius);
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition), color var(--transition);
    line-height: 1.5;
}

.show-card__trailer-btn:hover,
.show-card__trailer-btn:focus-visible {
    background: var(--color-red);
    color: #fff;
}

html.dark .show-card__trailer-btn {
    border-color: #f46d6d;
    color: #f46d6d;
}

html.dark .show-card__trailer-btn:hover,
html.dark .show-card__trailer-btn:focus-visible {
    background: var(--color-red);
    border-color: var(--color-red);
    color: #fff;
}

/* ── Livestream Modal ───────────────────────────────────────────────────────── */

.livestream-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.livestream-modal[hidden] { display: none; }

.livestream-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 78%);
    backdrop-filter: blur(6px);
    cursor: pointer;
}

.livestream-modal__box {
    position: relative;
    width: min(860px, 100%);
    border-radius: var(--radius-lg);
    background: #0d0f18;
    border: 1px solid rgb(255 255 255 / 12%);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: modalIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

.livestream-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgb(0 0 0 / 40%);
}

.livestream-modal__close {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgb(255 255 255 / 12%);
    color: rgb(255 255 255 / 80%);
    cursor: pointer;
    font-size: 0.9rem;
    transition: background var(--transition), color var(--transition);
}

.livestream-modal__close:hover { background: rgb(255 255 255 / 24%); color: #fff; }

.livestream-modal iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

/* ── Nav progress bar ───────────────────────────────────────────────────────── */

#nav-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-red) 0%, #e8452c 40%, var(--color-blue) 100%);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: none;
    will-change: width, opacity;
}

#nav-progress.is-navigating {
    opacity: 1;
    width: 80%;
    transition: width 6s cubic-bezier(0.05, 0.6, 0.4, 0.97), opacity 0s;
}

#nav-progress.is-done {
    opacity: 0;
    width: 100%;
    transition: width 0.12s ease-out, opacity 0.22s ease 0.12s;
}

/* Cookie consent */

.cookie-consent {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 18px 22px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: rgb(255 255 255 / 96%);
    color: var(--color-ink);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px) saturate(1.4);
    transform: translateY(calc(100% + 36px));
    opacity: 0;
    transition: transform 0.42s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.3s ease;
}

.cookie-consent.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__text {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.cookie-consent__heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.cookie-consent__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--color-red);
}

.cookie-consent__heading strong {
    font-size: 0.96rem;
    font-weight: 900;
}

.cookie-consent__text p:last-child {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.cookie-consent__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent__link {
    color: var(--color-blue);
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.cookie-consent__link:hover {
    color: var(--color-red);
}

.cookie-consent__btn {
    min-height: 38px;
    padding: 7px 16px;
    font-size: 0.88rem;
    white-space: nowrap;
}

@media (max-width: 420px) {
    .cookie-consent {
        padding: 14px;
    }

    .cookie-consent__heading strong {
        font-size: 0.92rem;
    }

    .cookie-consent__text p:last-child {
        font-size: 0.84rem;
    }

    .cookie-consent__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cookie-consent__link,
    .cookie-consent__btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

}

/* ── Theme Toggle Button ───────────────────────────────────────────────────── */

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    color: var(--color-muted);
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.theme-toggle:hover {
    background: var(--color-soft);
    color: var(--color-ink);
    border-color: rgb(21 23 31 / 16%);
}

.theme-toggle svg {
    width: 15px;
    height: 15px;
    pointer-events: none;
}

html:not(.dark) .theme-toggle__moon { display: none; }
html.dark .theme-toggle__sun { display: none; }

/* ── Dark Mode ─────────────────────────────────────────────────────────────── */

html.dark {
    color-scheme: dark;
    --color-ink: #e8eaf0;
    --color-muted: #9099ad;
    --color-line: #252836;
    --color-surface: #1c1f2e;
    --color-soft: #13151f;
    --color-blue: #5b9cf6;
    --shadow-xs: 0 1px 4px rgb(0 0 0 / 30%);
    --shadow-sm: 0 4px 16px rgb(0 0 0 / 35%);
    --shadow: 0 10px 36px rgb(0 0 0 / 42%);
    --shadow-lg: 0 22px 60px rgb(0 0 0 / 52%);
}

html.dark body {
    background-color: #11131a;
    background-image:
        linear-gradient(180deg, rgb(17 19 26 / 88%) 0, rgb(17 19 26 / 94%) 34rem),
        linear-gradient(90deg, rgb(229 27 43 / 9%) 0 1px, transparent 1px),
        linear-gradient(0deg, rgb(0 91 187 / 9%) 0 1px, transparent 1px),
        url("/images/herobanner.png");
}

html.dark body::before {
    background:
        linear-gradient(180deg, rgb(17 19 26 / 60%), rgb(17 19 26 / 92%)),
        url("/images/herobanner.png") center top / max(1440px, 100vw) auto no-repeat;
    opacity: 0.3;
    filter: blur(20px) saturate(0.5);
}

/* ── Header ── */
html.dark .site-header {
    background:
        linear-gradient(90deg, rgb(229 27 43 / 8%), transparent 22%, transparent 78%, rgb(0 91 187 / 8%)),
        rgb(17 19 26 / 94%);
    box-shadow: 0 1px 0 var(--color-line), 0 4px 28px rgb(0 0 0 / 20%);
}

html.dark .site-topbar {
    border-color: var(--color-line);
    background:
        linear-gradient(90deg, rgb(229 27 43 / 10%), rgb(17 19 26 / 88%) 34%, rgb(0 91 187 / 10%)),
        rgb(17 19 26 / 92%);
}

html.dark .site-topbar__links a:hover,
html.dark .site-topbar__links a:focus-visible { background: var(--color-surface); }
html.dark .site-topbar__links img { background: var(--color-surface); }

html.dark .nav-social a:hover,
html.dark .nav-social a:focus-visible { background: var(--color-surface); }
html.dark .nav-search-trigger { background: var(--color-surface); border-color: var(--color-line); }
html.dark .nav-toggle { background: var(--color-surface); }
html.dark .nav-toggle span { background: var(--color-ink); }
html.dark .nav-menu { background: rgb(13 15 24 / 98%); border-color: var(--color-line); }

/* ── Buttons ── */
html.dark .button--ghost { background: rgb(28 31 46 / 90%); }
html.dark .button--ghost:hover { background: var(--color-surface); border-color: var(--color-line); }

/* ── Cards ── */
html.dark .show-card,
html.dark .news-card,
html.dark .video-panel,
html.dark .contact-form,
html.dark .contact-aside { background: var(--color-surface); }

html.dark .rail-card { background: var(--color-surface); }
html.dark .network-grid img { background: var(--color-surface); }

/* ── Video playlist ── */
html.dark .video-playlist__item { background: var(--color-surface); }
html.dark .video-list a:hover { background: var(--color-surface); }

/* ── Live pill ── */
html.dark .live-pill { background: rgb(229 27 43 / 18%); }

/* ── Schedule ── */
html.dark .schedule-list li { background: var(--color-surface); }
html.dark .tabs { background: var(--color-soft); }

/* ── Ad slots ── */
html.dark .ad-slot__box {
    background: var(--color-soft);
    border-color: var(--color-line);
}

html.dark .cookie-consent {
    background: rgb(22 25 38 / 97%);
    border-color: var(--color-line);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgb(255 255 255 / 4%);
}

/* ── Footer ── */
html.dark .site-footer {
    border-top-color: var(--color-line);
    background:
        linear-gradient(180deg, rgb(17 19 26), rgb(13 15 24 / 98%)),
        repeating-linear-gradient(90deg, transparent 0 36px, rgb(229 27 43 / 3%) 36px 37px);
}


html.dark .footer-copy {
    border-top-color: var(--color-line);
}

/* ── Theme toggle in dark topbar ── */
html.dark .theme-toggle {
    border-color: rgb(255 255 255 / 12%);
    color: var(--color-muted);
}

html.dark .theme-toggle:hover {
    background: rgb(255 255 255 / 8%);
    border-color: rgb(255 255 255 / 22%);
    color: var(--color-ink);
}
