/* frontend/assets/css/main.css — NorthCiti News Agency */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap');

/* ── Brand Variables ──────────────────────────────────────────────────────── */
:root {
    --nc-primary:    #f83700;
    --nc-secondary:  #ee7701;
    --nc-black:      #000000;
    --nc-text:       #111111;
    --nc-text-muted: #555555;
    --nc-bg:         #f8f8f8;
    --nc-border:     #e5e5e5;
    --nc-white:      #ffffff;
    --nc-card-bg:    #ffffff;
    --nc-nav-height: 56px;
    --nc-cat-height: 44px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--nc-bg);
    color: var(--nc-text);
    margin: 0;
}

/* ── Typography — editorial ───────────────────────────────────────────────── */
.article-body {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.125rem;
    line-height: 1.85;
    color: #1a1a1a;
}

.article-body p { margin-bottom: 1.5rem; }
.article-body h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; }
.article-body h3 { font-size: 1.25rem; font-weight: 600; margin: 1.75rem 0 0.75rem; }
.article-body blockquote {
    border-left: 4px solid var(--nc-primary);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    background: #fff8f6;
    font-style: italic;
    color: #444;
}

/* ── NorthCiti Navbar (2-tier) ────────────────────────────────────────────── */
#nc-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #000;
    height: var(--nc-nav-height);
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--nc-primary);
}

#nc-cat-bar {
    position: sticky;
    top: var(--nc-nav-height);
    z-index: 99;
    background: #fff;
    border-bottom: 1px solid var(--nc-border);
    height: var(--nc-cat-height);
}

.nc-logo {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.35rem;
    color: #fff;
    letter-spacing: -0.5px;
    text-decoration: none;
}
.nc-logo span { color: var(--nc-primary); }

.nc-cat-link {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--nc-text-muted);
    padding: 0 0.75rem;
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.nc-cat-link:hover,
.nc-cat-link.active {
    color: var(--nc-text);
    border-bottom-color: var(--nc-primary);
}

/* ── Live badge ───────────────────────────────────────────────────────────── */
.nc-live-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--nc-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}
.nc-live-btn:hover { background: var(--nc-secondary); }

.nc-live-dot {
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    animation: nc-pulse 1.2s ease-in-out infinite;
}

@keyframes nc-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.85); }
}

/* ── Cards ────────────────────────────────────────────────────────────────── */
.nc-card {
    background: var(--nc-card-bg);
    border: 1px solid var(--nc-border);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.nc-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.nc-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.nc-card:hover .nc-card-img { transform: scale(1.03); }

.nc-category-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nc-primary);
    text-decoration: none;
}
.nc-category-tag:hover { color: var(--nc-secondary); }

.nc-breaking-badge {
    display: inline-block;
    background: var(--nc-primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.15rem 0.4rem;
    border-radius: 2px;
}

.nc-card-title {
    font-weight: 700;
    line-height: 1.3;
    color: var(--nc-text);
    text-decoration: none;
}
.nc-card-title:hover { color: var(--nc-primary); }

.nc-meta {
    font-size: 0.78rem;
    color: var(--nc-text-muted);
}

/* ── Hero section ─────────────────────────────────────────────────────────── */
.nc-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nc-hero-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

/* ── Breaking news banner ─────────────────────────────────────────────────── */
.nc-breaking-banner {
    background: var(--nc-primary);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
}
.nc-breaking-label {
    background: #fff;
    color: var(--nc-primary);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.1rem 0.5rem;
    border-radius: 2px;
    flex-shrink: 0;
}
.nc-breaking-ticker {
    white-space: nowrap;
    overflow: hidden;
    flex: 1;
}
.nc-breaking-ticker-inner {
    display: inline-block;
    animation: nc-ticker 60s linear infinite;
}
@keyframes nc-ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.nc-breaking-ticker-inner:hover { animation-play-state: paused; }

/* ── Sidebar widgets ──────────────────────────────────────────────────────── */
.nc-sidebar-widget {
    background: #fff;
    border: 1px solid var(--nc-border);
    border-top: 3px solid var(--nc-primary);
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}
.nc-sidebar-widget-title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nc-text);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--nc-border);
}

/* ── Trending list ────────────────────────────────────────────────────────── */
.nc-trending-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--nc-border);
}
.nc-trending-item:last-child { border-bottom: none; }
.nc-trending-num {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--nc-border);
    line-height: 1;
    min-width: 1.5rem;
}
.nc-trending-headline {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--nc-text);
    text-decoration: none;
}
.nc-trending-headline:hover { color: var(--nc-primary); }

/* ── Reading progress bar ────────────────────────────────────────────────── */
#nc-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--nc-primary);
    z-index: 200;
    transition: width 0.1s linear;
}

/* ── Persistent audio player ─────────────────────────────────────────────── */
#nc-audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    color: #fff;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    z-index: 150;
    border-top: 2px solid var(--nc-primary);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
#nc-audio-player.visible { transform: translateY(0); }
body.audio-player-open { padding-bottom: 56px; }

.nc-player-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 4px;
    transition: background 0.15s;
    display: flex;
    align-items: center;
}
.nc-player-btn:hover { background: rgba(255,255,255,0.1); }
.nc-player-btn.primary {
    background: var(--nc-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    justify-content: center;
}
.nc-player-btn.primary:hover { background: var(--nc-secondary); }

/* ── Notification bell dropdown ──────────────────────────────────────────── */
.nc-notif-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    background: #fff;
    border: 1px solid var(--nc-border);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 200;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
#nc-footer {
    background: #000;
    color: #ccc;
    border-top: 3px solid var(--nc-primary);
}
#nc-footer a { color: #aaa; text-decoration: none; transition: color 0.15s; }
#nc-footer a:hover { color: var(--nc-secondary); }
#nc-footer .nc-footer-heading {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* ── Live streaming page ─────────────────────────────────────────────────── */
.nc-video-container {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}
.nc-video-container video { width: 100%; height: 100%; object-fit: contain; }

.nc-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--nc-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
}

/* ── Utility ──────────────────────────────────────────────────────────────── */
.nc-divider {
    border: none;
    border-top: 1px solid var(--nc-border);
    margin: 1.5rem 0;
}

.nc-section-heading {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nc-text);
    border-bottom: 3px solid var(--nc-primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.loaded { animation: nc-fadeIn 0.4s ease-out; }
@keyframes nc-fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Lucide icons ─────────────────────────────────────────────────────────── */
.lucide { width: 18px; height: 18px; stroke-width: 1.5; vertical-align: middle; }

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    #nc-cat-bar { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    #nc-cat-bar::-webkit-scrollbar { display: none; }
    .nc-sidebar-widget { display: none; } /* hide sidebar on mobile */
}

/* ── Print ────────────────────────────────────────────────────────────────── */
@media print {
    #nc-navbar, #nc-cat-bar, #nc-audio-player, #nc-footer, #nc-bottom-player, #nc-mini-player-toggle, #nc-mini-player-panel { display: none !important; }
}

/* ── Floating Mini Player ─────────────────────────────────────────────────── */
/* Replaces full-width sticky bar with compact corner widget */

/* ─ Toggle button (always visible, bottom-right) ─ */
#nc-mini-player-toggle {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 320;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.5rem 0.9rem 0.5rem 0.7rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: background 0.15s, box-shadow 0.15s;
    white-space: nowrap;
    min-width: 90px;
    justify-content: center;
}
#nc-mini-player-toggle:hover { background: #1e1e1e; box-shadow: 0 6px 24px rgba(0,0,0,0.45); }
#nc-mini-player-toggle .nc-bp-live-dot {
    flex-shrink: 0;
}
#nc-mini-player-toggle .toggle-label { font-size: 0.75rem; font-weight: 800; }
#nc-mini-player-toggle .toggle-channel {
    font-size: 0.68rem; font-weight: 500; color: #aaa;
    max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ─ Floating panel (pops up above toggle btn) ─ */
#nc-mini-player-panel {
    position: fixed;
    bottom: 4.5rem;
    right: 1.25rem;
    z-index: 319;
    width: 272px;
    background: #111;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    overflow: hidden;
    transform: translateY(12px) scale(0.97);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
#nc-mini-player-panel.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

/* Panel header */
.nc-mp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem 0.5rem;
    border-bottom: 1px solid #2a2a2a;
}
.nc-mp-title {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}
.nc-mp-title .name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nc-mp-title .type {
    font-size: 0.62rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.nc-mp-close {
    background: none; border: none; color: #666; cursor: pointer;
    padding: 4px; border-radius: 50%; transition: color 0.15s, background 0.15s;
    display: flex; align-items: center; flex-shrink: 0;
}
.nc-mp-close:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* Channel list */
.nc-mp-channels {
    padding: 0.6rem 0.85rem;
    border-bottom: 1px solid #222;
}
.nc-mp-ch-label {
    font-size: 0.62rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.45rem;
}
.nc-mp-ch-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.nc-mp-ch-btn {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.6rem;
    border-radius: 6px;
    border: 1.5px solid #2a2a2a;
    background: #1a1a1a;
    color: #ccc;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    width: 100%;
    text-align: left;
}
.nc-mp-ch-btn:hover { border-color: #444; background: #222; color: #fff; }
.nc-mp-ch-btn.active {
    border-color: var(--nc-primary);
    background: rgba(248,55,0,0.12);
    color: #fff;
}
.nc-mp-ch-btn .ch-icon {
    width: 22px; height: 22px;
    background: #2a2a2a; border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
}
.nc-mp-ch-btn.active .ch-icon { background: rgba(248,55,0,0.25); }
.nc-mp-ch-btn .ch-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nc-mp-ch-btn .ch-type {
    font-size: 0.58rem; font-weight: 700; letter-spacing: 0.07em;
    text-transform: uppercase; color: #555; flex-shrink: 0;
}
.nc-mp-ch-btn.active .ch-type { color: rgba(248,55,0,0.8); }

/* Controls bar */
.nc-mp-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem;
}
.nc-mp-play-btn {
    width: 36px; height: 36px;
    background: var(--nc-primary);
    border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0;
    transition: background 0.15s, transform 0.1s;
}
.nc-mp-play-btn:hover { background: #d43000; transform: scale(1.06); }
.nc-mp-play-btn:active { transform: scale(0.96); }
.nc-mp-vol-icon {
    background: none; border: none; color: #888; cursor: pointer;
    padding: 0; display: flex; align-items: center;
    transition: color 0.15s; flex-shrink: 0;
}
.nc-mp-vol-icon:hover { color: #fff; }
.nc-mp-volume {
    flex: 1; accent-color: var(--nc-primary);
    height: 3px; border-radius: 2px; cursor: pointer;
}
.nc-mp-no-streams {
    padding: 0.85rem; text-align: center; font-size: 0.75rem; color: #555;
}

/* live dot (shared) */
.nc-bp-live-dot {
    width: 6px; height: 6px; background: var(--nc-primary);
    border-radius: 50%; display: inline-block; animation: nc-pulse 1s ease-in-out infinite;
    flex-shrink: 0;
}

/* ── Back-compat: keep old #nc-bottom-player hidden ───────────────────────── */
#nc-bottom-player { display: none !important; }

/* ── Hero grid layout ─────────────────────────────────────────────────────── */
.nc-hero-section { max-width: 80rem; margin: 0 auto; padding: 1.25rem 1rem 0.75rem; }

.nc-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 220px;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

/* Tall hero card (main feature) */
.nc-hero-main { position: relative; overflow: hidden; border-radius: 4px; min-height: 420px; max-height: auto; }
.nc-hero-main img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease; display: block;
}
.nc-hero-main:hover img { transform: scale(1.03); }
.nc-hero-grad {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 55%, transparent 100%);
    pointer-events: none;
}
.nc-hero-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 1.25rem 1rem;
}

/* Content helpers inside hero */
.nc-hero-tags       { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.nc-hero-cat-label  { font-size: 0.65rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--nc-secondary); }
.nc-hero-title      { color: #fff; font-size: 1.35rem; font-weight: 900; line-height: 1.2; margin: 0 0 0.5rem; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.nc-hero-excerpt    { color: #d1d5db; font-size: 0.82rem; line-height: 1.5; margin-bottom: 0.6rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc-hero-meta       { display: flex; align-items: center; gap: 0.5rem; color: #9ca3af; font-size: 0.68rem; }
.nc-hero-icon       { width: 12px; height: 12px; stroke: currentColor; flex-shrink: 0; }

/* Side stack (column 2) */
.nc-side-stack      { display: flex; flex-direction: column; gap: 0.75rem; }

/* Small feat cards (side + third column fallback) */
.nc-feat-card { position: relative; overflow: hidden; border-radius: 3px; flex: 1; }
.nc-feat-card img {
    width: 100%; height: 100%; min-height: 196px; object-fit: cover; display: block;
    transition: transform 0.4s ease;
}
.nc-feat-card:hover img { transform: scale(1.04); }
.nc-feat-grad {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}
.nc-feat-content    { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.75rem; }
.nc-feat-cat        { font-size: 0.6rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--nc-secondary); margin-bottom: 0.3rem; display: block; }
.nc-feat-title      { color: #fff; font-size: 0.88rem; font-weight: 800; line-height: 1.25; margin: 0; }

/* Featured row (below hero, 5-up) */
.nc-feat-row-cat    { font-size: 0.58rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; color: var(--nc-primary); margin-bottom: 0.2rem; display: block; }
.nc-feat-row-title  { font-size: 0.78rem; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }

/* ── Live TV preview card (hero column 3) ──────────────────────────────────── */
.nc-live-panel      { display: flex; flex-direction: column; gap: 0.5rem; }

.nc-live-tv-card {
    flex: 1;
    background: #0a0a0a;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    border: 1.5px solid #222;
    transition: border-color 0.2s;
}
.nc-live-tv-card:hover { border-color: var(--nc-primary); }

.nc-live-tv-thumb {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a0000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}
.nc-live-scanline {
    position: absolute; inset: 0; pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.07) 2px, rgba(0,0,0,0.07) 4px);
}
.nc-live-play-circle {
    width: 48px; height: 48px;
    background: rgba(248,55,0,0.15);
    border: 2px solid var(--nc-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.nc-live-play-circle svg { width: 18px; height: 18px; fill: var(--nc-primary); margin-left: 3px; }

.nc-live-corner-badge {
    position: absolute; top: 0.5rem; left: 0.5rem; z-index: 2;
    background: var(--nc-primary); color: #fff;
    font-size: 0.58rem; font-weight: 900; letter-spacing: 0.1em;
    padding: 0.15rem 0.5rem;
    display: flex; align-items: center; gap: 0.3rem;
}
.nc-live-corner-dot {
    width: 5px; height: 5px;
    background: #fff; border-radius: 50%;
    animation: nc-pulse 1s infinite;
    display: inline-block;
}

.nc-live-tv-info    { padding: 0.65rem 0.75rem; background: #111; }
.nc-live-tv-sublabel{ font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nc-primary); margin-bottom: 0.2rem; }
.nc-live-tv-name    { font-size: 0.82rem; font-weight: 700; color: #fff; margin-bottom: 0.15rem; }
.nc-live-tv-desc    { font-size: 0.68rem; color: #666; }
.nc-live-watch-link { margin-top: 0.5rem; display: flex; align-items: center; gap: 0.3rem; color: var(--nc-primary); font-size: 0.72rem; font-weight: 700; }
.nc-live-watch-link svg { width: 11px; height: 11px; stroke: currentColor; flex-shrink: 0; }

/* ── Radio card (hero column 3, below TV card) ─────────────────────────────── */
.nc-radio-card {
    background: #111;
    border: 1.5px solid #222;
    border-radius: 5px;
    padding: 0.65rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: border-color 0.2s;
    color: inherit;
}
.nc-radio-card:hover { border-color: var(--nc-secondary); }
.nc-radio-icon {
    width: 34px; height: 34px;
    background: rgba(238,119,1,0.15);
    border: 1.5px solid var(--nc-secondary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.nc-radio-icon svg   { width: 14px; height: 14px; stroke: var(--nc-secondary); }
.nc-radio-info       { flex: 1; min-width: 0; }
.nc-radio-sublabel   { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nc-secondary); display: block; }
.nc-radio-name       { font-size: 0.78rem; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.nc-radio-play-icon  { width: 20px; height: 20px; fill: var(--nc-primary); flex-shrink: 0; }

/* ── On Air / Live strip ─────────────────────────────────────────────────── */
.nc-live-strip {
    background: #111; color: #fff; padding: 0.6rem 1rem;
    display: flex; align-items: center; gap: 1rem; overflow-x: auto;
}
.nc-live-strip::-webkit-scrollbar { display: none; }
.nc-live-strip-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #aaa; flex-shrink: 0; }
.nc-stream-type-tag  { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nc-primary); flex-shrink: 0; }
.nc-stream-type-tag--radio { color: var(--nc-secondary); }
.nc-all-streams-link { margin-left: auto; font-size: 0.72rem; color: #888; border-color: #2a2a2a !important; gap: 0.3rem; }

.nc-live-stream-card {
    flex-shrink: 0; display: flex; align-items: center; gap: 0.6rem;
    background: #1e1e1e; border: 1px solid #333; border-radius: 5px;
    padding: 0.4rem 0.75rem; cursor: pointer; transition: border-color 0.15s;
    text-decoration: none; color: #fff;
}
.nc-live-stream-card:hover, .nc-live-stream-card.active { border-color: var(--nc-primary); }
.nc-live-stream-name { font-size: 0.78rem; font-weight: 600; }
.nc-live-stream-card.active .nc-live-stream-name { color: var(--nc-primary); }

/* ── Live strip dot — colored variant ──────────────────────────────────────── */
.nc-live-dot--primary { background: var(--nc-primary) !important; width: 7px; height: 7px; border-radius: 50%; animation: nc-pulse 1s infinite; flex-shrink: 0; display: inline-block; }

/* ── Editorial section labels ─────────────────────────────────────────────── */
.nc-editorial-cat   { font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--nc-secondary); display: block; margin-bottom: 0.25rem; }
.nc-editorial-title { font-size: 1.15rem; font-weight: 900; line-height: 1.2; margin: 0 0 0.25rem; }
.nc-stack-cat       { font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--nc-primary); display: block; margin-bottom: 0.2rem; }
.nc-stack-title     { font-size: 0.85rem; font-weight: 700; line-height: 1.3; margin: 0; }

/* ── Category mini-sections ───────────────────────────────────────────────── */
.nc-cat-mini-title  { font-size: 0.8rem; font-weight: 700; line-height: 1.35; margin: 0; }
.nc-more-link       { font-size: 0.75rem; font-weight: 600; color: var(--nc-primary); text-decoration: none; display: inline-block; margin-top: 0.25rem; }
.nc-more-link:hover { color: var(--nc-secondary); }

/* ── Common inline-style replacements ────────────────────────────────────── */
.nc-primary-link    { color: var(--nc-primary); font-weight: 600; text-decoration: none; font-size: 0.8rem; }
.nc-primary-link:hover { color: var(--nc-secondary); }
.nc-section-more    { font-size: 0.8rem; font-weight: 600; color: var(--nc-primary); text-decoration: none; }
.nc-section-more:hover { color: var(--nc-secondary); }

/* ── Hero skeleton (loading state) ───────────────────────────────────────── */
.nc-hero-skel { display: grid; grid-template-columns: 2fr 1fr 220px; gap: 0.75rem; height: 420px; }

/* ── Hero grid responsiveness ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .nc-hero-grid  { grid-template-columns: 1fr 1fr; }
    .nc-hero-skel  { grid-template-columns: 1fr 1fr; }
    .nc-live-panel { flex-direction: row; grid-column: 1 / -1; }
    .nc-live-panel > * { flex: 1; }
    .nc-live-tv-thumb { min-height: 100px; }
}
@media (max-width: 640px) {
    .nc-hero-grid  { grid-template-columns: 1fr; }
    .nc-hero-skel  { grid-template-columns: 1fr; height: auto; }
    .nc-live-panel { flex-direction: column; }
    .nc-hero-main  { height: 300px; }
}

/* ── Featured row (below hero) ───────────────────────────────────────────── */
.nc-featured-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--nc-border);
    border: 1px solid var(--nc-border);
    border-radius: 4px;
    overflow: hidden;
}
.nc-featured-row-item {
    background: #fff; padding: 0.75rem;
    position: relative; overflow: hidden;
    text-decoration: none; color: inherit;
    transition: background 0.15s;
}
.nc-featured-row-item:hover { background: #fafafa; }
.nc-featured-row-item img {
    width: 100%; height: 100px; object-fit: cover; border-radius: 3px; margin-bottom: 0.5rem;
}

/* ── Big editorial sections ───────────────────────────────────────────────── */
.nc-editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.nc-editorial-main { position: relative; }
.nc-editorial-stack { display: flex; flex-direction: column; gap: 1rem; }
.nc-stack-item {
    display: flex; gap: 0.75rem; align-items: flex-start;
    padding-bottom: 1rem; border-bottom: 1px solid var(--nc-border);
}
.nc-stack-item:last-child { border-bottom: none; padding-bottom: 0; }
.nc-stack-thumb {
    width: 90px; height: 62px; object-fit: cover;
    border-radius: 3px; flex-shrink: 0;
}

/* ── Category mini-sections (below grid) ────────────────────────────────── */
.nc-cat-section-header {
    font-size: 0.7rem; font-weight: 900; letter-spacing: 0.12em;
    text-transform: uppercase; color: #fff;
    background: var(--nc-primary); display: inline-block;
    padding: 0.2rem 0.6rem; margin-bottom: 0.75rem;
}
.nc-cat-mini-list { display: flex; flex-direction: column; gap: 0.6rem; }
.nc-cat-mini-item {
    display: flex; gap: 0.6rem; align-items: flex-start;
    text-decoration: none; color: inherit;
    padding-bottom: 0.6rem; border-bottom: 1px solid var(--nc-border);
}
.nc-cat-mini-item:last-child { border-bottom: none; }
.nc-cat-mini-thumb {
    width: 70px; height: 50px; object-fit: cover; border-radius: 2px; flex-shrink: 0;
}

/* ── Event date badge ─────────────────────────────────────────────────────── */
.nc-event-date-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: var(--nc-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    text-align: center;
    line-height: 1.3;
}

/* ── Section border (reusable) ────────────────────────────────────────────── */
.nc-section-border { border-top: 1px solid var(--nc-border); }

/* ── Subscribe button in sidebar ─────────────────────────────────────────── */
.nc-subscribe-btn {
    background: var(--nc-primary);
    font-weight: 600;
    transition: background 0.15s;
}
.nc-subscribe-btn:hover { background: var(--nc-secondary); }

/* ── Load more button ────────────────────────────────────────────────────── */
.nc-more-btn {
    font-weight: 600;
    border-color: var(--nc-border);
}
.nc-more-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Sidebar section nav links ────────────────────────────────────────────── */
.nc-section-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--nc-border);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--nc-text);
    transition: color 0.15s;
}
.nc-section-nav-link:hover  { color: var(--nc-primary); }
.nc-section-nav-link:last-child { border-bottom: none; }
.nc-section-nav-icon   { width: 14px; height: 14px; stroke: var(--nc-primary); flex-shrink: 0; }
.nc-section-nav-chevron{ width: 12px; height: 12px; stroke: #ccc; margin-left: auto; flex-shrink: 0; }

@media (max-width: 768px) {
    .nc-featured-row { grid-template-columns: repeat(2, 1fr); }
    .nc-editorial-grid { grid-template-columns: 1fr; }
    .nc-bottom-player-volume { display: none; }
    #nc-mini-player-panel { width: calc(100vw - 2.5rem); right: 1.25rem; }
}
@media (max-width: 480px) {
    .nc-featured-row { grid-template-columns: 1fr 1fr; }
    .nc-mp-volume { display: none; }
    #nc-mini-player-toggle .toggle-channel { display: none; }
}
