/* ============================================================
   Oroma TV — CNN-Style Redesign Stylesheet
   Color scheme: Maroon #800000, White #FFFFFF, Black #1A1A1A
   ============================================================ */

:root {
    --maroon:       #800000;
    --maroon-dark:  #5a0000;
    --maroon-light: #a00000;
    --gold:         #c9a84c;
    --gold-light:   #e2c46e;
    --white:        #ffffff;
    --black:        #1a1a1a;
    --gray:         #6b7280;
    --light-gray:   #f5f5f5;
    --border:       #e5e5e5;
    --text:         #1a1a1a;
    --text-muted:   #6b7280;
    --bg:           #f5f5f5;
    --card-bg:      #ffffff;
    --navy:         #0f172a;

    --font-primary:  'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-headings: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:  0 12px 40px rgba(0,0,0,0.12);
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  20px;
    color-scheme: light;
}

/* ---- reset ---- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; overflow-x:hidden; }
body {
    font-family: var(--font-primary);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width:100%; display:block; }
a   { color:inherit; text-decoration:none; }

/* ---- layout ---- */
.container       { max-width:1200px; margin:0 auto; padding:0 24px; }
.container-wide  { max-width:1280px; margin:0 auto; padding:0 24px; }
@media(max-width:480px){ .container, .container-wide { padding:0 16px; } }

/* ---- reading progress ---- */
#reading-progress {
    position:fixed; top:0; left:0; height:3px; width:0;
    background:linear-gradient(90deg, var(--maroon), var(--gold));
    z-index:9999; pointer-events:none; transition:width .1s linear;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display:inline-flex; align-items:center; gap:8px;
    padding:11px 24px; border-radius:40px;
    font-weight:600; font-size:14px; font-family:var(--font-primary);
    border:none; cursor:pointer;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
    letter-spacing:.01em;
}
.btn:active { transform:scale(.97)!important; }
.btn-primary   { background:var(--maroon); color:#fff; box-shadow:0 4px 14px rgba(128,0,0,.28); }
.btn-primary:hover { background:var(--maroon-dark); transform:translateY(-2px); box-shadow:0 8px 20px rgba(128,0,0,.35); }
.btn-gold      { background:var(--gold); color:var(--black); font-weight:700; }
.btn-gold:hover { background:var(--gold-light); transform:translateY(-2px); }
.btn-outline-dark {
    background:transparent; border:2px solid var(--black);
    color:var(--black); padding:10px 26px;
}
.btn-outline-dark:hover { background:var(--black); color:#fff; }
.btn-sm { padding:7px 16px; font-size:13px; }
.btn-lg { padding:14px 30px; font-size:15px; }
.btn-block { width:100%; justify-content:center; }

/* ============================================================
   BADGES & LABELS
   ============================================================ */
.cat-badge {
    display:inline-block;
    background:var(--maroon); color:#fff;
    font-size:11px; font-weight:700; text-transform:uppercase;
    letter-spacing:.5px; padding:4px 10px; border-radius:4px;
}

/* Oroma circle-logo badge shown in the corner of every article thumbnail.
   !important beats the generic "container img { width:100%; height:100% }"
   cover rules every thumbnail container already defines for its main photo. */
.thumb-logo {
    position:absolute !important; top:14px; left:14px; z-index:3;
    width:28px !important; height:28px !important; border-radius:50%;
    background:rgba(255,255,255,.82); padding:4px; box-sizing:border-box;
    box-shadow:0 2px 6px rgba(0,0,0,.3);
    pointer-events:none;
    object-fit:contain !important;
}
.cat-badge-sm { font-size:10px; padding:3px 8px; }

.badge { display:inline-flex; align-items:center; gap:5px; font-size:11.5px; font-weight:700; padding:4px 12px; border-radius:40px; }
.badge-live   { background:#d4edda; color:#1a5c2a; border:1px solid rgba(26,92,42,.18); }
.badge-offline{ background:rgba(107,114,128,.1); color:var(--gray); border:1px solid var(--border); }
.badge .dot   { width:7px; height:7px; border-radius:50%; background:currentColor; display:inline-block; }
.badge-live .dot { animation:pulse-dot 1.8s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.72)} }

.live-dot-badge {
    display:inline-flex; align-items:center; gap:7px;
    background:#e8f5e9; color:#1a5c2a;
    font-size:12px; font-weight:700; padding:5px 14px; border-radius:40px;
    border:1px solid rgba(26,92,42,.2); margin-bottom:12px;
}
.live-dot-badge .dot { width:8px; height:8px; border-radius:50%; background:#2e7d32; animation:pulse-dot 1.8s infinite; }

.flash-stack { display:flex; flex-direction:column; gap:10px; }
.flash { padding:12px 18px; border-radius:var(--radius-sm); font-size:14px; display:flex; align-items:center; gap:10px; }
.flash-success { background:rgba(26,92,42,.1); color:#1a5c2a; }
.flash-error   { background:rgba(192,57,43,.1); color:#c0392b; }

/* ============================================================
   NEWS TICKER  (clean marquee, no label)
   ============================================================ */
.news-ticker-bar {
    background:var(--maroon);
    color:#fff;
    height:36px;
    overflow:hidden;
    display:flex;
    align-items:center;
    position:relative;
    z-index:99;
}
.ticker-track-wrap {
    flex:1; overflow:hidden; padding:0 20px;
}
.ticker-scroll {
    display:inline-flex; align-items:center; gap:0;
    white-space:nowrap;
    animation:ticker 45s linear infinite;
}
.ticker-scroll:hover { animation-play-state:paused; }
.ticker-scroll a {
    color:rgba(255,255,255,.92); text-decoration:none;
    font-size:13px; font-weight:500; padding:0 6px;
    transition:color .18s;
}
.ticker-scroll a:hover { color:var(--gold-light); }
.ticker-dot { color:rgba(255,255,255,.3); font-size:8px; margin:0 14px; vertical-align:middle; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@media(prefers-reduced-motion:reduce) { .ticker-scroll { animation:none; } }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
    position:sticky; top:0; z-index:260;
    background:var(--white);
    border-bottom:3px solid var(--maroon);
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}
.site-header .inner {
    display:flex; align-items:center; justify-content:space-between;
    padding:12px 24px; gap:16px; max-width:1200px; margin:0 auto;
}
@media(max-width:780px){ .site-header .inner { padding:10px 16px; } }

/* brand */
.brand { display:flex; align-items:center; flex-shrink:0; order:1; }
.brand img { height:62px; width:auto; }

/* nav */
.site-nav { display:flex; align-items:center; gap:24px; order:2; }
.site-nav > a {
    font-size:14px; font-weight:600; color:var(--black);
    transition:color .2s; padding:4px 0;
    position:relative; white-space:nowrap;
}
.site-nav > a::after {
    content:''; position:absolute; bottom:-2px; left:0; right:0;
    height:2px; background:var(--maroon); border-radius:2px;
    transform:scaleX(0); transition:transform .2s; transform-origin:left;
}
.site-nav > a:hover,
.site-nav > a.active {
    color: var(--maroon);
}
.site-nav > a:hover::after,
.site-nav > a.active::after {
    transform: scaleX(1);
}

/* Active state — strong visual indicator so it's unmistakably selected */
.site-nav > a.active {
    color: var(--maroon) !important;
    font-weight: 700;
}
.site-nav > a.active::after {
    transform: scaleX(1) !important;
    background: var(--maroon);
    height: 3px;
}

/* right controls */
.header-right { display:flex; align-items:center; gap:12px; flex-shrink:0; order:4; }
.btn-watch-live {
    background:var(--maroon); color:#fff;
    font-size:13px; font-weight:700; padding:8px 18px; border-radius:40px;
    display:inline-flex; align-items:center; gap:7px;
    box-shadow:0 3px 12px rgba(128,0,0,.3);
    transition:background .2s, transform .2s, box-shadow .2s;
    white-space:nowrap;
}
.btn-watch-live:hover { background:var(--maroon-dark); transform:translateY(-1px); box-shadow:0 6px 16px rgba(128,0,0,.38); }
.btn-watch-live .dot { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.55); display:inline-block; }
.btn-watch-live.is-live .dot { background:#6fe27f; animation:pulse-dot 1.8s infinite; }

.nav-search-btn {
    width:36px; height:36px; border-radius:50%; border:none;
    background:var(--light-gray); color:var(--gray); font-size:15px;
    cursor:pointer; display:flex; align-items:center; justify-content:center;
    transition:background .2s, color .2s;
    order:3; flex-shrink:0;
}

/* ── search overlay ── */
.search-overlay {
    display:none; position:fixed; inset:0; z-index:400;
    background:rgba(10,10,18,.6); backdrop-filter:blur(2px);
    align-items:flex-start; justify-content:center;
    padding:120px 20px 20px;
}
.search-overlay.open { display:flex; }
.search-modal {
    position:relative; width:100%; max-width:600px;
    background:var(--white); border-radius:var(--radius-md);
    box-shadow:0 20px 60px rgba(0,0,0,.35);
    padding:28px 24px 24px;
}
.search-close {
    position:absolute; top:-16px; right:-16px;
    width:34px; height:34px; border-radius:50%; border:none;
    background:var(--maroon); color:#fff; font-size:14px;
    display:flex; align-items:center; justify-content:center;
    cursor:pointer; box-shadow:0 3px 10px rgba(0,0,0,.25);
}
.search-form {
    display:flex; align-items:center; gap:12px;
    border:1.5px solid var(--border); border-radius:40px;
    padding:10px 10px 10px 20px;
}
.search-form i.fa-search { color:var(--gray); font-size:16px; }
.search-form input {
    flex:1; border:none; outline:none; background:none;
    font-size:16px; font-family:var(--font-primary); color:var(--black);
}
.search-form button[type="submit"] {
    width:38px; height:38px; border-radius:50%; border:none;
    background:var(--maroon); color:#fff; font-size:14px;
    display:flex; align-items:center; justify-content:center;
    cursor:pointer; transition:background .2s; flex-shrink:0;
}
.search-form button[type="submit"]:hover { background:var(--maroon-dark); }
@media(max-width:600px){ .search-overlay { padding:90px 16px 16px; } }
.nav-search-btn:hover { background:var(--maroon); color:#fff; }

.nav-toggle {
    display:none; background:none; border:none;
    font-size:22px; color:var(--black); cursor:pointer; padding:4px;
    position:relative; z-index:300;
}

/* mobile drawer */
@media(max-width:860px){
    .site-header .inner { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; }
    .nav-search-btn { grid-column:1; grid-row:1; justify-self:start; }
    .brand { grid-column:2; grid-row:1; justify-self:center; }
    .brand img { height:80px; }
    .header-right { grid-column:3; grid-row:1; justify-self:end; }
    .site-nav {
        position:fixed; top:0; right:0;
        width:78vw; max-width:300px; height:100vh;
        background:var(--white); flex-direction:column;
        align-items:flex-start; padding:80px 28px 32px;
        gap:20px; transform:translateX(110%);
        transition:transform .3s cubic-bezier(.4,0,.2,1);
        border-left:1px solid var(--border);
        box-shadow:-6px 0 32px rgba(0,0,0,.12);
        overflow-y:auto; z-index:250;
    }
    .site-nav.open { transform:translateX(0); }
    .site-nav > a { font-size:16px; }
    /* Mobile active state — left border pill */
    .site-nav > a.active {
        color: var(--maroon) !important;
        font-weight: 700;
        border-left: 3px solid var(--maroon);
        padding-left: 10px;
    }
    .site-nav > a.active::after { display:none; }
    .nav-toggle { display:block; }
    .nav-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:220; backdrop-filter:blur(2px); }
    .nav-overlay.visible { display:block; }
}
@media(max-width:480px){
    .brand img { height:72px; }
    .btn-watch-live .btn-label { display:none; }
    .btn-watch-live { padding:8px 10px; }
}

/* ============================================================
   HERO SECTION  (CNN 3-column grid)
   ============================================================ */
.hero-section { padding:24px 0 0; }

.hero-grid {
    display:grid;
    grid-template-columns: 0.85fr 2.3fr 1fr;
    gap:20px;
    align-items:start;
}
@media(max-width:1100px) { .hero-grid { grid-template-columns: 1fr 2fr 1fr; gap:16px; } }
@media(max-width:900px)  { .hero-grid { grid-template-columns:1fr; } }

/* Explicit column assignment — required because these columns are conditionally
   rendered (e.g. .hero-left is omitted entirely when there's no extra content).
   Without pinning grid-column, a missing item shifts everything else left into
   the wrong track (the main story would land in the narrow left column). */
.hero-left { grid-column:1; order:1; min-width:0; }
.hero-main { grid-column:2; order:2; }
.hero-side { grid-column:3; order:3; }
@media(max-width:900px){
    .hero-left, .hero-main, .hero-side { grid-column:1; }
    .hero-main { order:1; }
    /* Mobile: just the slider, then the small "latest" thumbnails right below
       it — the extra full-photo side cards are dropped so nothing between
       the slider and the news grid reads as another stack of big cards. */
    .hero-side { display:none; }
    .hero-left { order:2; }
}

/* Main hero card — an auto-rotating slideshow of the top stories */
.hero-main {
    display:block;
}
.hero-slideshow {
    position:relative; height:460px;
}
.hero-slide {
    position:absolute; inset:0;
    opacity:0; z-index:0; pointer-events:none;
    text-decoration:none;
    transition:opacity .7s ease;
}
.hero-slide.active { opacity:1; z-index:1; pointer-events:auto; }
.hero-media {
    position:relative; width:100%; height:100%; overflow:hidden;
    border-radius:var(--radius-md);
    background:#1a1a1a;
}
.hero-media img {
    width:100%; height:100%; object-fit:cover;
    transition:transform .5s ease;
    display:block;
}
.hero-slide:hover .hero-media img { transform:scale(1.03); }

.hero-slide-dots {
    position:absolute; bottom:14px; right:18px; z-index:3;
    display:flex; gap:6px;
}
.hero-slide-dot {
    width:8px; height:8px; border-radius:50%; padding:0; border:none;
    background:rgba(255,255,255,.55); cursor:pointer;
    box-shadow:0 1px 3px rgba(0,0,0,.35);
    transition:width .25s ease, border-radius .25s ease, background .25s ease;
}
.hero-slide-dot.active { width:22px; border-radius:4px; background:#fff; }

/* Overlay sits at bottom — no solid black, just a soft fade behind the text */
.hero-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 36px 18px 14px;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0)   0%,
        rgba(0,0,0,0.3) 60%,
        rgba(0,0,0,0.6) 100%
    );
    color: #fff;
}
.hero-overlay .cat-badge {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 10.5px;
    background: var(--maroon);
    color: #fff;
}
.hero-overlay h2 {
    font-family: var(--font-headings);
    font-size: clamp(15px, 2.2vw, 22px);
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    background: rgba(0,0,0,0.45);
    padding: 5px 9px;
    border-radius: 4px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Side cards */
.hero-side { display:flex; flex-direction:column; gap:16px; }

.hero-side-card {
    display:flex; gap:0; flex-direction:column;
    background:var(--card-bg); border:1px solid var(--border);
    border-radius:var(--radius-md); overflow:hidden;
    text-decoration:none; flex:1 1 auto;
    transition:box-shadow .22s ease, transform .22s ease;
    box-shadow:var(--shadow-sm);
}
.hero-side-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-3px); }
.hero-side-card .thumb { position:relative; aspect-ratio:16/9; overflow:hidden; background:var(--navy); }
.hero-side-card .thumb img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.hero-side-card:hover .thumb img { transform:scale(1.05); }
.hero-side-card .body { padding:12px 14px 14px; display:flex; flex-direction:column; gap:5px; }
.hero-side-card h3 {
    font-family:var(--font-headings);
    font-size:15px; font-weight:700; line-height:1.3; color:var(--black);
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    transition:color .2s;
}
.hero-side-card:hover h3 { color:var(--maroon); }

@media(max-width:900px){
    .hero-slideshow { height:320px; }
    .hero-side { flex-direction:row; }
    .hero-side-card { flex:1 1 0; }
}
@media(max-width:600px){
    .hero-slideshow { height:240px; }
    .hero-overlay { padding:12px 14px 14px; }
    .hero-overlay h1 { font-size:16px; }
    .hero-side { flex-direction:column; }
    /* Back to column stacking here, so undo the 900px row breakpoint's
       flex-basis:0 (it collapses card height to ~0 in a column layout). */
    .hero-side-card { flex:1 1 auto; }

    /* Featured image loses its rounded corners on mobile and sits inset
       with breathing room instead of running edge-to-edge. */
    .hero-main { padding:10px; background:var(--card-bg); border:1px solid var(--border); border-radius:var(--radius-md); }
    .hero-media { border-radius:0; }
}

/* card-meta (shared) */
.card-meta {
    display:flex; align-items:center; gap:7px;
    font-size:12px; color:var(--gray); margin-top:auto; flex-wrap:wrap;
}
.card-meta .sep { opacity:.4; }
.card-meta .author { font-weight:600; }

/* ============================================================
   HERO LEFT LIST  (more headlines, narrow column beside the main story)
   ============================================================ */
.highlighted-list {
    display:flex; flex-direction:column; gap:14px;
}
.highlighted-item {
    display:flex; gap:10px; align-items:flex-start; text-decoration:none;
    background:var(--card-bg); border:1px solid var(--border); border-radius:var(--radius-sm);
    padding:10px; transition:box-shadow .2s ease, transform .2s ease;
}
.highlighted-item:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.highlighted-thumb {
    position:relative; width:64px; height:56px; flex-shrink:0;
    border-radius:6px; overflow:hidden; background:var(--navy);
}
.highlighted-thumb img { width:100%; height:100%; object-fit:cover; }
.highlighted-thumb .thumb-logo { width:14px !important; height:14px !important; top:3px; left:3px; padding:2px; box-shadow:0 1px 3px rgba(0,0,0,.35); }
.highlighted-body { min-width:0; }
.highlighted-body h4 {
    font-size:13px; font-weight:700; line-height:1.35; color:var(--black);
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    margin-bottom:3px;
}
.highlighted-body .article-meta { font-size:10.5px; }
@media(max-width:900px){
    .highlighted-list { flex-direction:row; flex-wrap:wrap; }
    .highlighted-item { flex:1 1 calc(50% - 7px); }
}
@media(max-width:600px){
    .highlighted-item { flex-basis:100%; }
}

/* ============================================================
   CATEGORY FILTER PILLS
   ============================================================ */
.cat-filter-bar {
    display:flex; gap:8px; flex-wrap:nowrap;
    overflow-x:auto; padding:20px 0 4px;
    -webkit-overflow-scrolling:touch; scrollbar-width:none;
}
.cat-filter-bar::-webkit-scrollbar { display:none; }
.cat-pill {
    display:inline-flex; align-items:center; gap:6px;
    padding:8px 18px; border-radius:40px;
    font-size:13px; font-weight:600;
    background:var(--card-bg); border:1.5px solid var(--border);
    color:var(--gray); white-space:nowrap; flex-shrink:0;
    transition:all .18s ease; text-decoration:none; cursor:pointer;
}
.cat-pill:hover { border-color:var(--maroon); color:var(--maroon); }
.cat-pill.active { background:var(--maroon); color:#fff; border-color:var(--maroon); box-shadow:0 3px 10px rgba(128,0,0,.25); }
.cat-pill i { font-size:11px; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section { padding:48px 0; }
.section-head {
    display:flex; align-items:baseline; justify-content:space-between;
    margin-bottom:24px; gap:16px; flex-wrap:wrap;
    border-left:4px solid var(--maroon); padding-left:14px;
}
.section-head h2 {
    font-family:var(--font-headings);
    font-size:clamp(20px,2.8vw,26px); font-weight:800; letter-spacing:-.3px; color:var(--black);
}
.section-head h2 span { color:var(--maroon); }
.view-all {
    font-size:13px; font-weight:700; color:var(--maroon);
    display:inline-flex; align-items:center; gap:5px;
    transition:gap .2s; text-decoration:none;
}
.view-all:hover { gap:9px; }

/* ============================================================
   4-COLUMN NEWS GRID
   ============================================================ */
.news-grid-4 {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}
@media(max-width:1100px){ .news-grid-4 { grid-template-columns:repeat(3,1fr); } }
@media(max-width:780px)  { .news-grid-4 { grid-template-columns:repeat(2,1fr); } }
@media(max-width:500px)  { .news-grid-4 { grid-template-columns:1fr; } }

/* news card */
.news-card {
    background:var(--card-bg); border:1px solid var(--border);
    border-radius:var(--radius-md); overflow:hidden;
    display:flex; flex-direction:column; text-decoration:none;
    box-shadow:var(--shadow-sm);
    transition:transform .22s ease, box-shadow .22s ease;
}
.news-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.news-card .thumb {
    aspect-ratio:16/10; overflow:hidden;
    background:var(--navy); position:relative;
}
.news-card .thumb img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.news-card:hover .thumb img { transform:scale(1.07); }
.news-card .thumb .cat-badge { position:absolute; top:10px; right:10px; z-index:2; }
.news-card .content { padding:16px 18px 18px; display:flex; flex-direction:column; gap:8px; flex:1; }
@media(max-width:780px){
    .news-card { padding-top:10px; }
    .news-card .thumb { border-radius:var(--radius-sm); }
}
.news-card h3 {
    font-family:var(--font-headings);
    font-size:16px; font-weight:700; line-height:1.3; color:var(--black);
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    transition:color .2s;
}
.news-card:hover h3 { color:var(--maroon); }
.news-card .excerpt {
    font-size:13px; color:var(--gray); line-height:1.55; flex:1;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

/* Mobile: the hero above already carries the big featured image(s) — Latest
   News below it should read as a compact "most recent" thumbnail list, not
   another stack of full photo cards with excerpts. */
@media(max-width:500px){
    .news-card {
        flex-direction:row; align-items:center; gap:12px;
        padding:8px; border-radius:var(--radius-sm);
    }
    .news-card .thumb {
        width:92px; height:76px; flex-shrink:0; aspect-ratio:auto;
        border-radius:8px;
    }
    .news-card .thumb .cat-badge { display:none; }
    .news-card .content { padding:0; gap:4px; }
    .news-card .excerpt { display:none; }
    .news-card h3 { font-size:14px; -webkit-line-clamp:3; }
    .news-card .card-meta { font-size:11px; }
}

/* ============================================================
   MORE HEADLINES  (plain list rows — small thumb + title, no card chrome,
   deliberately different from the card grids used elsewhere on the page)
   ============================================================ */
.headline-list {
    display:grid; grid-template-columns:1fr 1fr; gap:0 32px;
}
.headline-row {
    display:flex; gap:14px; align-items:center; text-decoration:none;
    padding:14px 0; border-bottom:1px solid var(--border);
}
.headline-row:nth-last-child(-n+2) { border-bottom:none; }
.headline-thumb {
    width:64px; height:64px; flex-shrink:0; border-radius:8px; overflow:hidden; background:var(--navy);
}
.headline-thumb img { width:100%; height:100%; object-fit:cover; }
.headline-body { min-width:0; }
.headline-body h4 {
    font-size:14px; font-weight:700; line-height:1.35; color:var(--black);
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    margin-bottom:4px; transition:color .2s;
}
.headline-row:hover h4 { color:var(--maroon); }
@media(max-width:700px){
    .headline-list { grid-template-columns:1fr; }
    .headline-row:nth-last-child(-n+2) { border-bottom:1px solid var(--border); }
    .headline-row:last-child { border-bottom:none; }
}

/* ============================================================
   TRENDING STRIP
   ============================================================ */
.trending-strip {
    display:flex; gap:16px;
    overflow-x:auto; scroll-snap-type:x mandatory;
    padding-bottom:12px; -webkit-overflow-scrolling:touch;
    scrollbar-width:thin; scrollbar-color:var(--border) transparent;
}
.trending-strip::-webkit-scrollbar { height:4px; }
.trending-strip::-webkit-scrollbar-thumb { background:var(--border); border-radius:10px; }

.trending-card {
    flex:0 0 220px; scroll-snap-align:start;
    background:var(--card-bg); border:1px solid var(--border);
    border-radius:var(--radius-md); overflow:hidden;
    text-decoration:none; box-shadow:var(--shadow-sm);
    transition:transform .22s, box-shadow .22s; position:relative;
}
.trending-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.trending-card .thumb { position:relative; aspect-ratio:16/10; overflow:hidden; background:var(--navy); }
.trending-card .thumb .thumb-logo { left:auto; right:8px; top:8px; }
.trending-card .thumb img { width:100%; height:100%; object-fit:cover; transition:transform .45s; }
.trending-card:hover .thumb img { transform:scale(1.07); }
.trending-card .body { padding:12px 14px 16px; display:flex; flex-direction:column; gap:6px; }
.trending-card h3 {
    font-family:var(--font-headings);
    font-size:14px; font-weight:700; line-height:1.35; color:var(--black);
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.trending-rank {
    position:absolute; top:8px; left:8px; z-index:2;
    width:30px; height:30px; border-radius:50%;
    background:rgba(26,26,26,.72); backdrop-filter:blur(4px);
    color:#fff; font-weight:800; font-size:13px;
    display:flex; align-items:center; justify-content:center;
    border:1.5px solid rgba(255,255,255,.2);
}
.trending-rank.top-rank { background:var(--gold); color:var(--black); border-color:transparent; }
@media(max-width:600px){ .trending-card { flex-basis:190px; } }

/* ============================================================
   LIVE WATCH SECTION
   ============================================================ */
.watch-section {
    position:relative; padding:64px 0 80px;
    overflow:hidden; isolation:isolate; margin-top:24px;
}
.watch-banner-bg {
    position:absolute; inset:0; z-index:-2;
    background-image:url('../img/watch-banner.svg');
    background-size:cover; background-position:center;
}
.watch-section::before {
    content:''; position:absolute; inset:0; z-index:-1;
    background:linear-gradient(135deg,rgba(26,26,26,.92) 0%,rgba(128,0,0,.6) 50%,rgba(26,26,26,.88) 100%);
}
.watch-section-head { text-align:center; max-width:560px; margin:0 auto 16px; color:#fff; }
.watch-section-head h2 { font-family:var(--font-headings); font-size:clamp(24px,3.5vw,34px); font-weight:800; }
.watch-section-head h2 span { color:var(--gold-light); }
.watch-section-head p { color:rgba(255,255,255,.6); font-size:14.5px; margin-top:8px; }

.player-card {
    max-width:920px; margin:28px auto 0;
    background:rgba(255,255,255,.07); backdrop-filter:blur(24px);
    border:1px solid rgba(255,255,255,.1); border-radius:var(--radius-lg);
    padding:28px 28px 36px; color:#fff;
    box-shadow:0 24px 64px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08);
}
.player-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; flex-wrap:wrap; gap:12px; }
.player-header h3 { font-size:17px; font-weight:700; }
.player-header p  { color:rgba(255,255,255,.5); font-size:13px; margin-top:2px; }

.tabs { display:flex; gap:5px; background:rgba(255,255,255,.07); border-radius:60px; padding:4px; margin-bottom:20px; border:1px solid rgba(255,255,255,.1); }
.tab-btn {
    flex:1; border:none; background:transparent; padding:10px 8px; border-radius:40px;
    font-size:14px; font-weight:600; color:rgba(255,255,255,.5); cursor:pointer;
    display:flex; align-items:center; justify-content:center; gap:7px;
    font-family:var(--font-primary); transition:all .2s;
}
.tab-btn.active { background:var(--maroon); color:#fff; box-shadow:0 4px 14px rgba(128,0,0,.45); }
.tab-btn:not(.active):hover { color:#fff; background:rgba(255,255,255,.1); }
.tab-pane { display:none; }
.tab-pane.active { display:block; animation:fadeUp .3s ease; }
@keyframes fadeUp { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }

.video-wrapper { position:relative; padding-bottom:56.25%; height:0; border-radius:var(--radius-md); overflow:hidden; background:#000; box-shadow:0 8px 28px rgba(0,0,0,.5); }
.video-wrapper iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.empty-stream { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; height:100%; color:rgba(255,255,255,.7); text-align:center; padding:32px; }
.empty-stream i { font-size:34px; color:var(--gold); }

/* ── Dacast live player — glowing frame + floating LIVE badge ──
   .dacast-frame wraps .video-wrapper (rather than merging classes onto the
   same element) so this gradient border's padding never fights the aspect-
   ratio box's padding-bottom:56.25% trick. */
.dacast-frame {
    position:relative;
    border-radius:var(--radius-lg);
    box-shadow:0 16px 44px rgba(0,0,0,.45);
}
.dacast-frame .video-wrapper { border-radius:var(--radius-lg); }
.live-pulse-badge {
    position:absolute; top:14px; left:14px; z-index:2;
    display:inline-flex; align-items:center; gap:7px;
    background:rgba(0,0,0,.55); backdrop-filter:blur(4px);
    color:#fff; font-size:12px; font-weight:800; letter-spacing:.06em;
    padding:6px 14px 6px 12px; border-radius:40px;
    border:1px solid rgba(255,255,255,.25);
    box-shadow:0 4px 14px rgba(0,0,0,.4);
}
.live-pulse-badge .dot { width:8px; height:8px; border-radius:50%; background:#ff3b30; box-shadow:0 0 8px #ff3b30; animation:pulse-dot 1.4s infinite; }

.channel-selector { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; justify-content:center; }
.channel-btn {
    background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12);
    padding:9px 20px; border-radius:40px; font-size:13.5px; font-weight:500;
    color:rgba(255,255,255,.75); cursor:pointer; display:flex; align-items:center; gap:7px;
    font-family:var(--font-primary); transition:all .2s;
}
.channel-btn i { color:var(--gold-light); }
.channel-btn:hover { background:rgba(255,255,255,.14); color:#fff; }
.channel-btn.active-channel { background:var(--gold); color:var(--black); border-color:var(--gold); font-weight:700; }
.channel-btn.active-channel i { color:var(--black); }

.radio-wrapper { border-radius:var(--radius-md); overflow:hidden; background:rgba(0,0,0,.3); height:440px; border:1px solid rgba(255,255,255,.1); }
.radio-wrapper iframe { width:100%; height:100%; border:0; }

@media(max-width:700px){ .player-card { padding:20px 16px 26px; } .radio-wrapper { height:320px; } }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section { background:var(--black); padding:56px 0; }
.newsletter-box {
    display:flex; align-items:center; justify-content:space-between;
    flex-wrap:wrap; gap:28px;
}
.newsletter-text { display:flex; align-items:center; gap:18px; color:#fff; }
.newsletter-text i { font-size:32px; color:var(--gold); flex-shrink:0; }
.newsletter-text h3 { font-family:var(--font-headings); font-size:22px; font-weight:700; }
.newsletter-text p { color:rgba(255,255,255,.6); font-size:14px; margin-top:3px; }
.newsletter-form { display:flex; gap:10px; flex-wrap:wrap; }
.newsletter-form input {
    padding:12px 18px; border-radius:40px; border:1.5px solid rgba(255,255,255,.2);
    background:rgba(255,255,255,.08); color:#fff; font-family:var(--font-primary);
    font-size:14px; min-width:240px; outline:none; transition:border-color .2s;
}
.newsletter-form input::placeholder { color:rgba(255,255,255,.45); }
.newsletter-form input:focus { border-color:var(--gold); }
@media(max-width:640px){ .newsletter-box { flex-direction:column; align-items:flex-start; } .newsletter-form { width:100%; } .newsletter-form input { min-width:0; flex:1; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background:var(--black); color:#c8d0e0; padding:56px 0 24px; }
.footer-top {
    display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr;
    gap:40px; padding-bottom:40px;
    border-bottom:1px solid rgba(255,255,255,.08);
}
@media(max-width:900px){ .footer-top { grid-template-columns:1fr 1fr; } }
@media(max-width:500px){ .footer-top { grid-template-columns:1fr; gap:28px; } }

.footer-brand img { height:54px; width:auto; filter:brightness(1.2); margin-bottom:12px; }
.footer-tagline { font-size:13.5px; color:rgba(255,255,255,.48); line-height:1.65; max-width:240px; }
.footer-socials { display:flex; gap:10px; margin-top:18px; }
.social-icon {
    width:36px; height:36px; border-radius:50%;
    background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12);
    display:flex; align-items:center; justify-content:center;
    color:rgba(255,255,255,.65); font-size:14px; transition:all .2s; text-decoration:none;
}
.social-icon:hover { background:var(--maroon); color:#fff; border-color:var(--maroon); transform:translateY(-2px); }

.footer-col h4 { font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.9px; color:rgba(255,255,255,.9); margin-bottom:16px; }
.footer-col nav { display:flex; flex-direction:column; gap:10px; }
.footer-col nav a { font-size:13.5px; color:rgba(255,255,255,.52); transition:color .18s; display:inline-flex; align-items:center; gap:6px; text-decoration:none; }
.footer-col nav a::before { content:'›'; color:var(--gold); font-weight:700; font-size:15px; line-height:1; }
.footer-col nav a:hover { color:var(--gold-light); }

.site-footer .bottom {
    padding-top:20px; font-size:12.5px; color:rgba(255,255,255,.35);
    display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; align-items:center;
}
.bottom-right { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.admin-login-link { display:inline-flex; align-items:center; gap:6px; color:rgba(255,255,255,.3)!important; padding-left:16px; border-left:1px solid rgba(255,255,255,.1); transition:color .2s; text-decoration:none; }
.admin-login-link:hover { color:var(--gold-light)!important; }

/* ============================================================
   ARTICLE DETAIL PAGE
   ============================================================ */
.article-layout {
    display:grid; grid-template-columns:1fr; gap:44px; align-items:start;
}
@media(min-width:900px){ .article-layout { grid-template-columns:minmax(0,1fr) 320px; } .article-sidebar { position:sticky; top:88px; } }
.article-main { min-width:0; }

.article-cover { position:relative; overflow:hidden; margin-bottom:28px; border-radius:var(--radius-md); box-shadow:var(--shadow-sm); background:var(--navy); }
.article-cover img { width:100%; max-height:500px; object-fit:cover; display:block; }
.article-cover .thumb-fallback { aspect-ratio:16/9; background:var(--navy); }

.article-cover .thumb-logo { width:40px !important; height:40px !important; top:14px; left:14px; padding:5px; background:#fff; }

.cover-caption { background:var(--light-gray); padding:10px 16px; font-size:12.5px; font-style:italic; color:var(--gray); border-top:1px solid var(--border); }

.category-label { display:inline-block; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:1px; color:var(--maroon); margin-bottom:12px; border-bottom:2px solid var(--maroon); padding-bottom:2px; }
.article-title { font-family:var(--font-headings); font-size:clamp(24px,3.4vw,33px); font-weight:900; line-height:1.22; letter-spacing:-.5px; color:var(--black); margin-bottom:18px; }
.article-meta-line { font-size:13.5px; color:var(--gray); margin-bottom:6px; display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.article-meta-line .sep { opacity:.4; }
.article-views-line { margin-bottom:26px; padding-bottom:22px; border-bottom:1px solid var(--border); }
.article-views-line a { color:var(--gray); } .article-views-line a:hover { color:var(--maroon); }

.copy-link-btn { display:inline-flex; align-items:center; gap:5px; margin-left:8px; padding:4px 12px; border-radius:40px; border:1.5px solid var(--border); background:var(--light-gray); color:var(--gray); font-size:11.5px; font-weight:600; font-family:var(--font-primary); cursor:pointer; transition:all .2s; }
.copy-link-btn:hover { background:var(--maroon); color:#fff; border-color:var(--maroon); }

.article-body { font-size:17.5px; line-height:1.82; color:var(--text); }
.article-body > p:first-of-type::first-letter { font-family:var(--font-headings); font-size:4.2em; font-weight:900; float:left; line-height:.82; margin:6px 12px 0 0; color:var(--maroon); }
.article-body h2 { font-family:var(--font-headings); font-size:26px; margin:28px 0 10px; font-weight:800; }
.article-body h3 { font-family:var(--font-headings); font-size:21px; margin:22px 0 8px; font-weight:700; }
/* Tight paragraph spacing — prevents AI-pasted double gaps */
.article-body p  { margin-top:0; margin-bottom:14px; }

/* AI-writer source attribution line — also cancel the drop-cap above when
   this, not the real opening paragraph, ends up first in the body. */
.article-body p.ai-source-note {
    font-size:14px; color:var(--gray); font-style:italic;
    border-left:3px solid var(--maroon); background:rgba(128,0,0,.04);
    padding:8px 14px; border-radius:0 6px 6px 0; margin-bottom:20px;
}
.article-body p.ai-source-note::first-letter { all:unset; }
.article-body p.ai-source-note a { color:var(--maroon); font-weight:600; }
.article-body p + p { margin-top:0; }
/* Collapse any empty paragraphs that slip through */
.article-body p:empty { display:none; }
.article-body img { margin:20px 0; width:100%; height:auto; max-width:100%; box-shadow:var(--shadow-sm); }
.article-body a   { color:var(--maroon); text-decoration:underline; text-underline-offset:3px; }
.article-body blockquote { border-left:4px solid var(--gold); background:rgba(201,168,76,.06); padding:16px 20px; margin:22px 0; border-radius:0 var(--radius-sm) var(--radius-sm) 0; color:var(--gray); font-style:italic; font-size:17px; line-height:1.65; }
.article-body ul,.article-body ol { margin:0 0 16px 26px; }
.article-body li { margin-bottom:5px; }
.article-body pre { background:var(--navy); color:#f0eef2; padding:20px; border-radius:var(--radius-sm); overflow-x:auto; margin:20px 0; font-size:14px; }
@media(max-width:780px){ .article-body { font-size:16px; line-height:1.75; } .article-title { font-size:23px; } .article-cover img { max-height:240px; } .article-body p { margin-bottom:12px; } }

.article-tags { display:flex; gap:8px; flex-wrap:wrap; margin:36px 0 0; }
.tag-chip { background:rgba(201,168,76,.11); color:#7a5c10; padding:6px 15px; border-radius:40px; font-size:12px; font-weight:600; text-decoration:none; transition:background .18s,color .18s; }
.tag-chip:hover { background:var(--gold); color:var(--black); }

.share-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:24px 0; border-top:1px solid var(--border); margin-top:32px; }
.share-row span.label { font-size:13px; font-weight:600; color:var(--gray); }
.share-btn { width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--light-gray); border:1.5px solid var(--border); color:var(--text); transition:all .2s; cursor:pointer; font-family:var(--font-primary); }
.share-btn:hover { background:var(--maroon); color:#fff; border-color:var(--maroon); transform:translateY(-2px); }

.article-pager { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:12px; }
.pager-link { display:flex; flex-direction:column; gap:6px; padding:18px 20px; background:var(--card-bg); border:1.5px solid var(--border); border-radius:var(--radius-sm); transition:all .2s; text-decoration:none; }
.pager-link:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); border-color:var(--maroon); }
.pager-next { text-align:right; align-items:flex-end; }
.pager-label { font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.6px; color:var(--maroon); display:flex; align-items:center; gap:5px; }
.pager-next .pager-label { flex-direction:row-reverse; }
.pager-title { font-size:14px; font-weight:600; color:var(--text); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
@media(max-width:600px){ .article-pager { grid-template-columns:1fr; } .pager-next { text-align:left; align-items:flex-start; } .pager-next .pager-label { flex-direction:row; } }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-widget { background:var(--card-bg); border:1px solid var(--border); border-radius:var(--radius-md); padding:20px; margin-bottom:22px; box-shadow:var(--shadow-sm); }
.sidebar-widget h3 { font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.8px; color:var(--maroon); margin-bottom:16px; border-bottom:1px solid var(--border); padding-bottom:10px; display:flex; align-items:center; gap:7px; }
.side-article-list { display:flex; flex-direction:column; gap:14px; }
.side-article { display:flex; gap:12px; align-items:flex-start; text-decoration:none; transition:opacity .18s; }
.side-article:hover { opacity:.76; }
.side-thumb { position:relative; width:72px; height:60px; flex-shrink:0; overflow:hidden; background:var(--navy); border-radius:6px; }
.side-thumb img { width:100%; height:100%; object-fit:cover; }
.side-thumb .thumb-logo { width:14px !important; height:14px !important; top:3px; left:3px; padding:2px; box-shadow:0 1px 3px rgba(0,0,0,.35); }
.side-cat { display:block; font-size:9.5px; font-weight:800; text-transform:uppercase; letter-spacing:.5px; color:var(--maroon); margin-bottom:4px; }
.side-article-body h4 { font-size:13px; font-weight:600; line-height:1.38; color:var(--black); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin-bottom:4px; }
.side-article-body .article-meta { font-size:11px; }
.article-meta { display:flex; align-items:center; gap:7px; font-size:12px; color:var(--gray); flex-wrap:wrap; }
.article-meta .sep { opacity:.4; }
.sidebar-categories { display:flex; flex-wrap:wrap; gap:8px; }

.side-feature-card { display:block; margin-bottom:14px; text-decoration:none; border-radius:var(--radius-sm); overflow:hidden; }
.side-feature-card:last-child { margin-bottom:0; }
.side-feature-card .thumb { position:relative; aspect-ratio:16/10; overflow:hidden; background:var(--navy); }
.side-feature-card .thumb img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.side-feature-card:hover .thumb img { transform:scale(1.05); }
.side-feature-card .cat-badge { position:absolute; top:8px; right:8px; z-index:2; }
.side-feature-card .cap-title {
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    color:#fff; font-weight:700; font-size:13.5px; line-height:1.4;
    padding:10px 12px 8px; background:rgba(26,26,26,.85);
}
.side-feature-card .cap-meta { padding:7px 12px 10px; font-size:11.5px; color:rgba(255,255,255,.6); background:rgba(26,26,26,.85); }

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-section { margin-top:44px; padding-top:32px; border-top:1px solid var(--border); }
.comments-heading { font-family:var(--font-headings); font-size:22px; font-weight:800; margin-bottom:22px; display:flex; align-items:center; gap:10px; }
.comments-empty { color:var(--gray); font-size:14.5px; margin-bottom:26px; font-style:italic; }
.comment-list { list-style:none; display:flex; flex-direction:column; gap:22px; margin-bottom:34px; }
.comment-item { display:flex; gap:14px; }
.comment-avatar { width:42px; height:42px; border-radius:50%; background:linear-gradient(135deg,var(--maroon),var(--maroon-dark)); color:#fff; font-weight:700; font-size:16px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.comment-body { flex:1; min-width:0; }
.comment-meta { font-size:12px; color:var(--gray); margin-bottom:5px; display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.comment-meta .comment-author { font-weight:700; color:var(--black); }
.comment-text { font-size:14.5px; line-height:1.65; color:var(--text); word-break:break-word; }

.comment-form { background:var(--light-gray); border:1.5px solid var(--border); border-radius:var(--radius-md); padding:26px; }
.comment-form h3 { font-family:var(--font-headings); font-size:18px; font-weight:700; margin-bottom:16px; }
.comment-form-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:12px; }
@media(max-width:560px){ .comment-form-row { grid-template-columns:1fr; } }
.comment-form textarea { margin-bottom:14px; resize:vertical; min-height:110px; }
.form-control { width:100%; padding:11px 15px; border-radius:var(--radius-sm); border:1.5px solid var(--border); background:var(--white); color:var(--text); font-family:var(--font-primary); font-size:14px; outline:none; transition:border-color .2s,box-shadow .2s; }
.form-control:focus { border-color:var(--maroon); box-shadow:0 0 0 3px rgba(128,0,0,.1); }
.form-hint { font-size:12px; color:var(--gray); margin-top:8px; }
.hp-field { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; pointer-events:none; }

/* ============================================================
   FILTER BAR (news.php)
   ============================================================ */
.filter-bar { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:26px; align-items:center; }
.filter-bar .search-box { flex:1; min-width:220px; display:flex; align-items:center; gap:9px; background:var(--white); border:1.5px solid var(--border); border-radius:40px; padding:10px 18px; transition:border-color .2s,box-shadow .2s; }
.filter-bar .search-box:focus-within { border-color:var(--maroon); box-shadow:0 0 0 3px rgba(128,0,0,.1); }
.filter-bar .search-box input { border:none; background:none; outline:none; font-family:var(--font-primary); font-size:14px; color:var(--text); width:100%; }
.filter-chip { padding:8px 17px; border-radius:40px; font-size:13px; font-weight:500; border:1.5px solid var(--border); background:var(--white); color:var(--gray); cursor:pointer; transition:all .18s; text-decoration:none; white-space:nowrap; }
.filter-chip:hover { border-color:var(--maroon); color:var(--maroon); }
.filter-chip.active { background:var(--maroon); color:#fff; border-color:var(--maroon); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display:flex; justify-content:center; gap:8px; margin-top:38px; flex-wrap:wrap; }
.pagination a,.pagination span { display:inline-flex; align-items:center; justify-content:center; min-width:42px; height:42px; border-radius:10px; font-size:14px; font-weight:600; border:1.5px solid var(--border); color:var(--text); transition:all .18s; text-decoration:none; }
.pagination a:hover { background:var(--light-gray); border-color:var(--maroon); color:var(--maroon); }
.pagination .current { background:var(--maroon); color:#fff; border-color:var(--maroon); }

/* ============================================================
   HERO BANNER (news.php / category.php compact)
   ============================================================ */
.hero-banner {
    position:relative; overflow:hidden; color:#fff;
    padding:clamp(56px,9vw,88px) 0 clamp(48px,7vw,72px); isolation:isolate;
}
.hero-banner-bg { position:absolute; inset:0; background-image:url('../img/hero-banner.svg'); background-size:cover; background-position:center; z-index:-1; animation:hero-zoom 22s ease-in-out infinite alternate; }
@keyframes hero-zoom { from{transform:scale(1)} to{transform:scale(1.07)} }
.hero-banner::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(135deg,rgba(128,0,0,.75) 0%,rgba(26,26,26,.55) 60%,rgba(26,26,26,.4) 100%); }
.hero-banner h1 { font-family:var(--font-headings); font-size:clamp(30px,5.5vw,52px); font-weight:900; line-height:1.12; letter-spacing:-1px; margin-bottom:18px; text-shadow:0 3px 20px rgba(0,0,0,.25); }
.hero-banner p.lead { font-size:clamp(14.5px,2vw,17.5px); line-height:1.65; color:rgba(255,255,255,.86); max-width:520px; margin-bottom:30px; }
.hero-banner-compact { padding:clamp(44px,7vw,72px) 0 clamp(36px,5.5vw,56px); }
.hero-banner-compact h1 { font-family:var(--font-headings); font-size:clamp(26px,4.5vw,40px); margin-bottom:12px; }
.hero-banner-compact p.lead { margin-bottom:0; }
.hero-cta-row { display:flex; gap:14px; flex-wrap:wrap; }
.btn-outline-light { background:rgba(255,255,255,.1); border:1.5px solid rgba(255,255,255,.38); color:#fff; backdrop-filter:blur(6px); }
.btn-outline-light:hover { background:rgba(255,255,255,.18); transform:translateY(-2px); }
body.is-home .hero-banner { display:none; } /* homepage uses hero-section grid instead */

/* ============================================================
   SCROLL REVEAL  &  UTILITIES
   ============================================================ */
.reveal { opacity:0; transform:translateY(20px); transition:opacity .5s ease,transform .5s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1{transition-delay:.07s} .reveal-delay-2{transition-delay:.14s} .reveal-delay-3{transition-delay:.21s} .reveal-delay-4{transition-delay:.28s}
@media(prefers-reduced-motion:reduce){ .reveal { opacity:1; transform:none; transition:none; } }

.empty-state { text-align:center; padding:64px 20px; color:var(--gray); }
.empty-state i { font-size:38px; color:var(--gold); margin-bottom:12px; display:block; }
.thumb-fallback { width:100%; height:100%; background:var(--navy) url('../img/default-thumb.svg') center/cover; }

#back-to-top { position:fixed; bottom:28px; right:24px; width:44px; height:44px; border-radius:50%; background:var(--maroon); color:#fff; border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:17px; box-shadow:0 4px 18px rgba(128,0,0,.35); opacity:0; pointer-events:none; transform:translateY(10px); transition:opacity .25s,transform .25s; z-index:80; }
#back-to-top.visible { opacity:1; pointer-events:auto; transform:translateY(0); }
#back-to-top:hover { background:var(--maroon-dark); transform:translateY(-2px); }

/* ============================================================
   WATCH PAGE
   ============================================================ */
.watch-player-section { padding: 36px 0 20px; }
.watch-player-section-top { padding-top: 56px; }

.player-card-full {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 28px 28px 36px;
    max-width: 1240px;
    margin: 0 auto;
}
@media(max-width:600px){ .player-card-full { padding: 18px 14px 24px; border-radius: var(--radius-md); } }

/* ============================================================
   PREVIOUS SHOWS GRID & CARDS
   ============================================================ */
.shows-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
@media(max-width:1100px){ .shows-grid { grid-template-columns: repeat(3,1fr); } }
@media(max-width:780px)  { .shows-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:480px)  { .shows-grid { grid-template-columns: 1fr; } }

.shows-grid-featured {
    grid-template-columns: repeat(4,1fr);
    margin-bottom: 8px;
}
@media(max-width:900px){ .shows-grid-featured { grid-template-columns: repeat(2,1fr); } }
@media(max-width:480px){ .shows-grid-featured { grid-template-columns: 1fr; } }

/* show card */
.show-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease;
    cursor: pointer;
}
.show-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* thumbnail */
.show-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--navy);
    flex-shrink: 0;
}
.show-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}
.show-card:hover .show-thumb img { transform: scale(1.05); }

/* play overlay */
.show-play-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0);
    display: flex; align-items: center; justify-content: center;
    transition: background .25s ease;
}
.show-card:hover .show-play-overlay { background: rgba(0,0,0,.38); }

.play-btn-circle {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,0,0,.88);
    color: #fff;
    font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .25s ease, transform .25s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.show-card:hover .play-btn-circle {
    opacity: 1;
    transform: scale(1);
}

/* featured badge */
.show-featured-badge {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    background: var(--gold);
    color: var(--black);
    font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .5px;
    padding: 4px 10px;
    border-radius: 4px;
    display: flex; align-items: center; gap: 5px;
}

/* card body */
.show-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}
.show-guest {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--maroon);
    text-transform: uppercase;
    letter-spacing: .4px;
}
.show-body h3 {
    font-family: var(--font-headings);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--black);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
    margin: 0;
}
.show-card:hover .show-body h3 { color: var(--maroon); }

.show-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--gray);
    margin-top: auto;
}
.show-meta i { font-size: 11px; }

.show-watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--maroon);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 6px;
    margin-top: 6px;
    align-self: flex-start;
    transition: background .2s ease, transform .2s ease;
}
.show-card:hover .show-watch-btn {
    background: var(--maroon-dark);
    transform: translateX(3px);
}
.show-watch-btn i { color: #fff; font-size: 13px; }

/* ============================================================
   ARTICLE PAGE — MOBILE FIXES & REFINEMENTS
   ============================================================ */

/* Tight mobile padding so nothing clips */
@media (max-width: 600px) {
    .container { padding: 0 16px; }

    .article-layout { gap: 24px; }

    .article-main { min-width: 0; overflow: hidden; }

    /* Cover image — small breathing room on top, tiny inset on the sides */
    .article-cover { margin-top: 14px; }

    .article-title { font-size: 22px; line-height: 1.25; }

    .article-meta-line {
        font-size: 12.5px;
        flex-wrap: wrap;
        gap: 4px;
        row-gap: 6px;
    }

    .article-views-line { margin-bottom: 20px; padding-bottom: 16px; }

    .article-body { font-size: 16px; line-height: 1.82; }
    .article-body > p:first-of-type::first-letter { font-size: 3.4em; }
    .article-body h2 { font-size: 20px; }
    .article-body h3 { font-size: 17px; }
    .article-body blockquote { padding: 14px 16px; font-size: 15.5px; }

    /* word-wrap safety */
    .article-body, .article-title, .comments-section {
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .share-row { gap: 9px; padding: 18px 0; }
    .share-btn  { width: 36px; height: 36px; font-size: 14px; }

    .article-pager { grid-template-columns: 1fr; }
    .pager-next    { text-align: left; align-items: flex-start; }
    .pager-next .pager-label { flex-direction: row; }

    .comment-form { padding: 16px; }
    .comment-form-row { grid-template-columns: 1fr; }
    .comment-avatar { width: 34px; height: 34px; font-size: 14px; }
}

/* ============================================================
   COPY LINK BUTTON — maroon bordered, visible
   ============================================================ */
.copy-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    padding: 5px 14px;
    border-radius: 6px;
    border: 1.5px solid var(--maroon);
    background: rgba(128,0,0,0.05);
    color: var(--maroon);
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-primary);
    cursor: pointer;
    vertical-align: middle;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}
.copy-link-btn:hover {
    background: var(--maroon);
    color: #fff;
    border-color: var(--maroon);
}
.copy-link-btn i { font-size: 11px; }

/* ============================================================
   IMAGES — NO border-radius anywhere in article body or covers
   ============================================================ */
.article-cover          { border-radius: 0 !important; }
.article-cover img:not(.thumb-logo)      { border-radius: 0 !important; }
.article-body img       { border-radius: 0 !important; }
.article-body .img-row img { border-radius: 0 !important; }

/* news cards keep their radius — only article content images are flat */
.article-layout .article-main img:not(.thumb-logo) { border-radius: 0 !important; }

/* ============================================================
   SIDE-BY-SIDE IMAGE ROW (two images in one row in article body)
   ============================================================ */
.article-body .img-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 26px 0;
}
.article-body .img-row img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    margin: 0 !important;
    box-shadow: var(--shadow-sm);
}
@media (max-width: 600px) {
    .article-body .img-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .article-body .img-row img { height: 200px; }
}

/* ============================================================
   ARTICLE BODY FONTS  — Inter (default) vs Lora (serif)
   ============================================================ */

.article-font-inter {
    font-family: var(--font-primary);
    font-size: 17.5px;
    line-height: 1.85;
}

.article-font-lora {
    font-family: 'Lora', Georgia, serif;
    font-size: 18px;
    line-height: 1.9;
    letter-spacing: 0.01em;
}

/* Lora headings stay serif too */
.article-font-lora h2,
.article-font-lora h3 {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
}

/* Drop cap for Lora */
.article-font-lora > p:first-of-type::first-letter {
    font-family: 'Lora', Georgia, serif;
    font-size: 4.4em;
    font-weight: 700;
    float: left;
    line-height: 0.8;
    margin: 8px 12px 0 0;
    color: var(--maroon);
}

/* Mobile font adjustments */
@media (max-width: 600px) {
    .article-font-inter { font-size: 16px; line-height: 1.78; }
    .article-font-lora  { font-size: 17px; line-height: 1.82; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* Two-column layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }

/* Shared card */
.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
@media (max-width: 480px) { .contact-card { padding: 20px 18px; } }

.contact-card-title {
    font-family: var(--font-headings);
    font-size: 20px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--maroon);
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-card-title i { color: var(--maroon); font-size: 18px; }

/* Form row (name + email side by side) */
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 560px) { .contact-form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 7px;
}
.form-group label .req { color: var(--maroon); margin-left: 2px; }

.form-control.is-error {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}

/* Error box */
.contact-errors {
    background: rgba(192,57,43,0.07);
    border: 1.5px solid rgba(192,57,43,0.25);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 22px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #c0392b;
    font-size: 14px;
}
.contact-errors i { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.contact-errors ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.contact-errors ul a { color: #c0392b; text-decoration: underline; }

/* Success state */
.contact-success {
    text-align: center;
    padding: 40px 20px;
}
.contact-success-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(26,92,42,0.1);
    color: #1a5c2a;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.contact-success h3 {
    font-family: var(--font-headings);
    font-size: 22px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 8px;
}
.contact-success p { color: var(--gray); font-size: 15px; line-height: 1.6; }

/* Contact info list */
.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.contact-info-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(128,0,0,0.08);
    color: var(--maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-info-list li > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.contact-info-list strong {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--gray);
}
.contact-info-list span,
.contact-info-list a {
    font-size: 14.5px;
    color: var(--black);
    text-decoration: none;
    line-height: 1.5;
    transition: color .2s;
}
.contact-info-list a:hover { color: var(--maroon); }

/* Social buttons */
.contact-socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.contact-social-btn:hover { transform: translateX(4px); opacity: .92; }
.contact-social-btn i { font-size: 18px; width: 22px; text-align: center; }
.contact-social-btn.youtube   { background: #ff0000; }
.contact-social-btn.facebook  { background: #1877f2; }
.contact-social-btn.twitter   { background: #1da1f2; }
.contact-social-btn.instagram { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4); }
.contact-social-btn.telegram  { background: #0088cc; }

/* News tip box */
.contact-tip-box {
    background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
    border-radius: var(--radius-md);
    padding: 24px;
    color: #fff;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-tip-box > i {
    font-size: 24px;
    color: var(--gold-light);
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-tip-box strong { font-size: 15px; font-weight: 800; display: block; margin-bottom: 6px; }
.contact-tip-box p { font-size: 13.5px; color: rgba(255,255,255,.78); line-height: 1.55; margin: 0; }
