/*
Theme Name: Super FM 
Theme URI: https://super-fm.gr
Author: Livix
Author URI: https://livix.gr
Description: Custom WordPress theme για το Super-FM 104,3 – Αθλητικά Νέα Ηπείρου. 
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
License URI: https://super-fm.gr
Text Domain: superfm
Tags: news, sports, greek, broadcast, radio
*/

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #00172D;
  --navy2:     #00264d;
  --blue-dark: #1247A0;
  --blue:      #1A5FBF;
  --blue-mid:  #00498D;
  --sky:       #3B9EE8;
  --sky-light: #6DBEF5;
  --cyan:      #A8D8F0;
  --page-bg:   #F0F4FA;
  --white:     #FFFFFF;
  --gray-50:   #F8FAFC;
  --gray-100:  #EEF2F8;
  --gray-200:  #DDE6F0;
  --gray-400:  #8BA3C0;
  --gray-600:  #4A6280;
  --text:      #0F1E2E;
  --text-mid:  #2D4060;
  --border:    #D5E3F0;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;
  --font-sans: 'Noto Sans', 'Inter', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  /* overflow-x: clip is stronger than hidden on iOS Safari:
     hidden can be bypassed by position:sticky children (like .site-header),
     clip truly prevents horizontal scroll at the viewport level */
  overflow-x: clip;
  max-width: 100%;
}

body {
  background: var(--page-bg);
  color: var(--text);
  font-family: 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue-mid); }
img { display: block; max-width: 100%; }

.icon {
  display: inline-block;
  width: 1em; height: 1em;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   TICKER
═══════════════════════════════════════ */
.ticker-wrap {
  background: var(--navy);
  height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative; /* iOS Safari: creates proper clipping context for translateX animation */
  max-width: 100%;
}
.ticker-label {
  background: var(--blue-mid);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  white-space: nowrap;
}
.live-dot {
  width: 7px; height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.3s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.3;transform:scale(.6)} }

.ticker-scroll {
  overflow: hidden; flex: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}
.ticker-track {
  display: flex;
  animation: ticker-anim 55s linear infinite;
  white-space: nowrap;
  align-items: center;
  height: 36px;
}
.ticker-track span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  padding-right: 48px;
}
.ticker-track span::before {
  content: '◆';
  margin-right: 10px;
  color: var(--sky-light);
  font-size: 7px;
  vertical-align: middle;
}
@keyframes ticker-anim { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ═══════════════════════════════════════
   TOPBAR
═══════════════════════════════════════ */
.topbar {
  background: var(--navy2);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-inner {
  max-width: 1380px; margin: 0 auto; padding: 7px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.topbar-center {
  grid-column: 2;
  display: flex; align-items: center; gap: 6px;
  justify-self: center;
}
.topbar-inner .live-btn {
  grid-column: 3;
  justify-self: end;
}

.topbar-socials { display: flex; gap: 4px; }
.topbar-socials a {
  width: 28px; height: 28px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--gray-400);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.topbar-socials a .icon { width: 13px; height: 13px; }
.topbar-socials a:hover { background: var(--blue-mid); color: #fff; border-color: var(--blue-mid); }

/* Topbar search icon */
.topbar-search-icon {
  width: 28px; height: 28px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--gray-400);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; flex-shrink: 0;
}
.topbar-search-icon:hover { background: var(--blue-mid); color: #fff; border-color: var(--blue-mid); }
.topbar-search-icon .icon { width: 13px; height: 13px; }

.live-btn {
  display: flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--blue-mid), var(--sky));
  color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px;
  box-shadow: 0 3px 12px rgba(34,117,215,.4);
  transition: all .2s; white-space: nowrap;
}
.live-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(34,117,215,.5); color: #fff; }
.live-btn .icon { width: 13px; height: 13px; }

/* ═══════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════ */
.site-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 90;
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
  font-family: 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
  padding: 10px 10px 0; /* no bottom padding – submenu top:100% on <li> lands at header's bottom edge */
}
/* Blue accent line below header */
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #2275d7;
  /* no z-index — dropdowns (z-index:9999) naturally paint above this */
}
.header-inner {
  max-width: 1380px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 28px; height: 56px;
  position: relative;
}
.site-logo { flex-shrink: 0; display: flex; align-items: center; }
.site-logo img { width: 200px; height: 45px; object-fit: contain; }
.site-logo-text {
  font-size: 16px; font-weight: 900; color: #fff; letter-spacing: -0.5px;
}
.site-logo-text span { color: var(--sky); }

/* Desktop nav */
.main-nav { display: flex; flex: 1; align-items: center; align-self: stretch; }
.main-nav > ul { list-style: none; display: flex; align-items: stretch; gap: 4px; margin: 0; padding: 0; height: 100%; }
.main-nav ul li { display: flex; align-items: center; }
.main-nav ul li a {
  font-size: 14px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: rgba(255,255,255,.8);
  padding: 10px 16px;
  border-radius: 8px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  transition: color .25s; white-space: nowrap;
}
/* Animated underline from centre */
.main-nav ul li a::before {
  content: '';
  position: absolute; bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: var(--sky);
  transform: translateX(-50%);
  transition: width .28s ease;
}
.main-nav ul li a:hover { color: #fff; }
.main-nav ul li a:hover::before,
.main-nav ul li.current-menu-item > a::before { width: 70%; }
.main-nav ul li.current-menu-item > a { color: #fff; }
.main-nav ul li.accent > a { color: var(--sky-light); }

/* Slide-in animation on load */
@keyframes sfm-nav-in {
  from { opacity:0; transform:translateY(-8px); }
  to   { opacity:1; transform:translateY(0); }
}
.main-nav ul li { animation: sfm-nav-in .4s ease both; }
.main-nav ul li:nth-child(1)  { animation-delay:.05s; }
.main-nav ul li:nth-child(2)  { animation-delay:.10s; }
.main-nav ul li:nth-child(3)  { animation-delay:.15s; }
.main-nav ul li:nth-child(4)  { animation-delay:.20s; }
.main-nav ul li:nth-child(5)  { animation-delay:.25s; }
.main-nav ul li:nth-child(6)  { animation-delay:.30s; }
.main-nav ul li:nth-child(7)  { animation-delay:.35s; }
.main-nav ul li:nth-child(8)  { animation-delay:.40s; }

/* ── Desktop dropdown sub-menu ───────────────────────── */
.main-nav li.menu-item-has-children { position: relative; }

/* Chevron indicator */
.main-nav li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  margin-left: 5px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255,255,255,.5);
  transition: transform .2s;
  flex-shrink: 0;
}
.main-nav li.menu-item-has-children:hover > a::after { border-top-color: var(--sky); transform: rotate(180deg); }

.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  margin-top: 0;
  left: 0;
  min-width: 200px;
  /* .main-nav ul { height:100% } would also hit this <ul> – reset it */
  height: auto !important;
  background: var(--navy2);
  /* header ::after already provides the blue top separator – no border-top here */
  border: 1px solid rgba(255,255,255,.12);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 9999;
  /* Override parent flex */
  display: flex !important;
  flex-direction: column;
  padding: 6px 0;
}
.main-nav li.menu-item-has-children:hover > .sub-menu,
.main-nav li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Sub-menu items */
.main-nav .sub-menu li { width: 100%; display: block; }
.main-nav .sub-menu li a {
  height: auto;
  padding: 10px 20px;
  font-size: 12px;
  border-bottom: none !important;
  border-left: 3px solid transparent;
  display: block;
}
.main-nav .sub-menu li a:hover,
.main-nav .sub-menu li.current-menu-item a {
  background: rgba(255,255,255,.06);
  border-left-color: var(--sky);
  color: #fff;
  border-bottom-color: transparent !important;
}

/* Hide the animated underline on parent when submenu is open */
.main-nav li.menu-item-has-children > a { overflow: hidden; }
.main-nav li.menu-item-has-children:hover > a::before,
.main-nav li.menu-item-has-children:focus-within > a::before { width: 0 !important; }
.main-nav .sub-menu li a { overflow: visible; border-radius: 0; }
.main-nav .sub-menu li a::before { display: none; }

.search-btn {
  margin-left: auto;
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm); padding: 7px 14px;
  color: rgba(255,255,255,.5); font-size: 12px; cursor: pointer; transition: all .2s;
  text-decoration: none;
}
.search-btn:hover { border-color: var(--sky); color: var(--sky-light); }
.search-btn .icon { width: 13px; height: 13px; }

/* ── Hamburger button ── */
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: auto;
  flex-direction: column; align-items: center; justify-content: center;
}
/* CSS 3-bar hamburger */
.hamburger {
  display: flex; flex-direction: column; justify-content: space-between;
  width: 22px; height: 15px;
}
.hamburger-bar {
  display: block; width: 100%; height: 2px;
  background: rgba(255,255,255,.85); border-radius: 2px;
  transition: transform .32s cubic-bezier(.23,1,.32,1),
              opacity   .2s ease,
              width     .25s ease;
  transform-origin: center;
}
/* Hover: middle bar shrinks */
.menu-toggle:hover .hamburger-bar:nth-child(2) { width: 75%; }
/* Open → X animation */
.menu-toggle.is-open .hamburger-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.is-open .hamburger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open .hamburger-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav — height-animated (display:flex always in DOM) */
.mobile-nav {
  flex-direction: column;
  background: var(--navy2);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 0;
}
/* padding animates with content */
.mobile-nav.open { padding: 8px 0 16px; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav ul li a {
  font-size: 14px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  padding: 12px 24px; display: block;
  border-left: 3px solid transparent;
  transition: all .2s;
}
.mobile-nav ul li a:hover,
.mobile-nav ul li.current-menu-item a { color: #fff; border-left-color: var(--sky); }

/* ── Mobile sub-menu (accordion) ────────────────────── */
.mobile-nav li.menu-item-has-children { position: relative; }

/* Toggle button injected via JS */
.mobile-sub-toggle {
  position: absolute;
  right: 0; top: 0;
  width: 48px; height: 48px;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.mobile-sub-toggle::after {
  content: '';
  display: block;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform .2s;
}
.mobile-sub-toggle.open { color: var(--sky); }
.mobile-sub-toggle.open::after { transform: rotate(180deg); }

/* Hidden sub-menu */
.mobile-nav .sub-menu {
  display: none;
  flex-direction: column;
  background: rgba(0,0,0,.25);
  border-left: 2px solid var(--sky);
  margin: 0 16px 4px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 4px 0;
}
.mobile-nav .sub-menu.open { display: flex; }
.mobile-nav .sub-menu li a {
  font-size: 12px;
  padding: 9px 20px;
  border-left: none;
  color: rgba(255,255,255,.6);
  text-transform: none;
  letter-spacing: .3px;
  font-weight: 600;
}
.mobile-nav .sub-menu li a:hover { color: #fff; background: rgba(255,255,255,.05); }

/* ═══════════════════════════════════════
   CONTAINER
═══════════════════════════════════════ */
.container { max-width: 1380px; margin: 0 auto; padding: 0 24px; }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero-section {
  background: linear-gradient(0deg, var(--gradient-bg-color-1, #00498D) 0%, var(--gradient-bg-color-2, #00172D) 100%);
  padding: 28px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-main {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--navy2); cursor: pointer;
  display: block;
}
.hero-main img {
  width:100%; height:100%; object-fit:cover;
  transition: transform .6s ease;
}
.hero-main:hover img { transform: scale(1.03); }
.hero-main-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,12,28,.95) 0%, rgba(5,12,28,.35) 50%, transparent 100%);
}
.hero-main-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 26px 28px 24px; z-index: 2;
}
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 11px; border-radius: var(--radius-sm); margin-bottom: 11px;
}
.badge .icon { width: 11px; height: 11px; }
.badge-blue { background: var(--blue-mid); color: #fff; }
.badge-sky  { background: rgba(59,158,232,.2); color: var(--sky-light); border: 1px solid rgba(59,158,232,.4); }

.hero-main-content h1 {
  font-size: clamp(20px, 2.6vw, 36px);
  font-weight: 800; line-height: 1.15;
  color: #fff; margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.hero-meta {
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,.45);
  display: flex; align-items: center; gap: 8px;
}
.hero-meta .icon { width: 12px; height: 12px; }
.meta-dot { width: 3px; height: 3px; background: currentColor; border-radius: 50%; flex-shrink: 0; }

/* hero side */
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 3px; }
.hero-card {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--navy2); display: block;
}
.hero-card-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-mid);
  background: linear-gradient(135deg, var(--navy2), var(--blue-dark));
}
.hero-card-fallback .icon { width: 64px; height: 64px; opacity: .15; }
.hero-card img {
  width:100%; height:100%; object-fit:cover; display:block;
  transition: transform .5s; filter: brightness(.75);
  position: relative; z-index: 1;
}
.hero-card:hover img { transform: scale(1.05); filter: brightness(.9); }
.hero-card-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(5,12,28,.92) 0%, rgba(5,12,28,.2) 55%, transparent);
}
.hero-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 16px; z-index: 3;
}
.hero-card-body .cat {
  font-size: 9px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--sky-light); display: block; margin-bottom: 5px;
}
.hero-card-body h3 {
  font-size: 14px; font-weight: 700; line-height: 1.3; color: #fff;
}

/* ═══════════════════════════════════════
   TRENDING
═══════════════════════════════════════ */
.trending-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 11px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.trending-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.trending-label {
  font-size: 10px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--blue-mid); flex-shrink: 0;
}
.trending-sep { width: 1px; height: 18px; background: var(--border); flex-shrink: 0; }
.trending-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.trending-tags a {
  font-size: 11px; font-weight: 600; color: var(--text-mid);
  background: var(--gray-100); border: 1px solid var(--border);
  border-radius: 20px; padding: 4px 13px; transition: all .2s;
}
.trending-tags a:hover { background: var(--blue-mid); color: #fff; border-color: var(--blue-mid); }

/* ═══════════════════════════════════════
   CATEGORY STRIP
═══════════════════════════════════════ */
.cat-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.cat-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.cat-card {
  flex: 0 0 160px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 12px 14px;
  text-align: center;
  cursor: pointer;
  background: var(--white);
  transition: all .22s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34,117,215,.06) 0%, rgba(59,158,232,.04) 100%);
  opacity: 0;
  transition: opacity .22s;
}
.cat-card:hover::before { opacity: 1; }
.cat-card:hover {
  border-color: var(--blue-mid);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(26,95,191,.14);
  z-index: 1;
}

.cat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34,117,215,.12) 0%, rgba(59,158,232,.08) 100%);
  border: 1px solid rgba(34,117,215,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-mid);
  transition: all .22s;
  flex-shrink: 0;
}
.cat-icon .icon { width: 26px; height: 26px; }
.cat-icon-img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,.15)); transition: transform .22s, filter .22s; }
.cat-card:hover .cat-icon-img { transform: scale(1.08); filter: brightness(0) invert(1); }
.cat-card:hover .cat-icon {
  background: linear-gradient(135deg, var(--blue-mid) 0%, var(--sky) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(34,117,215,.35);
}

.cat-name {
  font-size: 12px; font-weight: 800;
  letter-spacing: .4px; text-transform: uppercase;
  color: var(--text); display: block;
  line-height: 1.2;
}
.cat-sub {
  font-size: 10px; color: var(--gray-400);
  line-height: 1.3;
}

/* ═══════════════════════════════════════
   SECTION HEADER
═══════════════════════════════════════ */
.section-hdr {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border); position: relative;
}
.section-hdr::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 48px; height: 2px; background: var(--blue-mid); border-radius: 2px;
}
.section-hdr .icon { width: 18px; height: 18px; color: var(--blue-mid); flex-shrink: 0; }
.section-hdr h2 { font-size: 16px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--text); }
.section-hdr a.more {
  margin-left: auto;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gray-400); display: flex; align-items: center; gap: 2px; transition: color .2s;
}
.section-hdr a.more .icon { width: 13px; height: 13px; }
.section-hdr a.more:hover { color: var(--blue-mid); }

/* ═══════════════════════════════════════
   MAIN 2-COL LAYOUT
═══════════════════════════════════════ */
.main-layout {
  display: grid; grid-template-columns: 1fr 330px; gap: 36px;
  padding: 36px 0 56px;
}

/* ═══════════════════════════════════════
   NEWS GRID
═══════════════════════════════════════ */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 40px; }

.news-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: all .22s;
  box-shadow: 0 1px 4px rgba(0,0,0,.05); display: block;
}
.news-card:hover {
  border-color: rgba(34,117,215,.5); transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26,95,191,.12);
}
.nc-img {
  aspect-ratio: 16/9; overflow: hidden; background: var(--gray-100);
  position: relative;
}
.nc-img img { width:100%;height:100%;object-fit:cover;display:block; }
.nc-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}
.nc-fallback .icon { width: 40px; height: 40px; opacity: .25; }

.nc-body { padding: 14px; display: flex; flex-direction: column; }
.nc-cat {
  font-size: 9px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue-mid); margin-bottom: 6px;
}
.nc-body h4 { font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--text); margin-bottom: 10px; }
.nc-time {
  font-size: 10px; font-weight: 500; color: var(--gray-400);
  display: flex; align-items: center; gap: 4px;
}
.nc-time .icon { width: 11px; height: 11px; }

/* ═══════════════════════════════════════
   NEWS LIST
═══════════════════════════════════════ */
.news-list { display: flex; flex-direction: column; }
.ni {
  display: flex; gap: 13px; padding: 13px 0;
  border-bottom: 1px solid var(--border); cursor: pointer;
  transition: opacity .2s; align-items: flex-start; color: inherit;
}
.ni:last-child { border-bottom: none; }
.ni:hover { opacity: .7; }
.ni-img {
  width: 84px; height: 60px; flex-shrink: 0;
  border-radius: var(--radius-sm); overflow: hidden;
  background: var(--gray-100); position: relative;
}
.ni-img img { width:100%;height:100%;object-fit:cover;display:block; }
.ni-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; color: var(--blue);
}
.ni-fallback .icon { width: 24px; height: 24px; opacity: .25; }
.ni-cat { font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-mid); margin-bottom: 4px; }
.ni-body h5 { font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--text); margin-bottom: 4px; }
.ni-time { font-size: 10px; font-weight: 500; color: var(--gray-400); display: flex; align-items: center; gap: 4px; }
.ni-time .icon { width: 10px; height: 10px; }

/* ═══════════════════════════════════════
   DIVIDER
═══════════════════════════════════════ */
.divider { height: 1px; background: var(--border); margin: 32px 0; }

/* ═══════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════ */
.sidebar { display: flex; flex-direction: column; gap: 22px; }

/* Radio Widget */
/* ═══════════════════════════════════════
   RADIO WIDGET  (sidebar – inline player)
═══════════════════════════════════════ */
.radio-widget {
  border-radius: 20px;
  background: linear-gradient(150deg, #001529 0%, #002d62 45%, #0d47a1 100%);
  position: relative;
  padding: 22px 20px 18px;
  overflow: hidden;
}

/* Decorative glows */
.rw-glow {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.rw-glow-tr {
  top: -50px; right: -50px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(59,158,232,.28) 0%, transparent 68%);
}
.rw-glow-bl {
  bottom: -30px; left: -30px; width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(26,95,191,.35) 0%, transparent 68%);
}

/* ── Top: logo + LIVE badge ── */
.rw-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; position: relative; z-index: 1;
}
.rw-logo img  { height: 34px; width: auto; object-fit: contain; display: block; }
.rw-logo-text { font-size: 18px; font-weight: 900; color: #fff; }
.rw-logo-text span { color: var(--sky); }

.rw-live-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px; padding: 4px 11px;
  font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.8);
  backdrop-filter: blur(6px);
}
.rw-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,.8);
  animation: rw-dot 2s ease-in-out infinite;
}
@keyframes rw-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.55;transform:scale(1.35)} }

/* ── Waveform bars (standalone, between logo row and now-playing) ── */
.rw-waveform {
  display: flex; align-items: flex-end; justify-content: center; gap: 3px;
  height: 40px; margin-bottom: 16px;
  position: relative; z-index: 1;
}
.rw-wv-bar {
  width: 4px; border-radius: 3px 3px 1px 1px;
  background: rgba(168,216,240,.28);
  transform-origin: bottom;
  transition: background .3s;
}
/* idle heights */
.rw-wv-bar:nth-child(1){height:12px} .rw-wv-bar:nth-child(2){height:24px}
.rw-wv-bar:nth-child(3){height:34px} .rw-wv-bar:nth-child(4){height:20px}
.rw-wv-bar:nth-child(5){height:30px} .rw-wv-bar:nth-child(6){height:16px}
.rw-wv-bar:nth-child(7){height:26px} .rw-wv-bar:nth-child(8){height:14px}

/* playing: animated bars */
.radio-widget.is-playing .rw-wv-bar {
  background: var(--sky-light);
  animation: rw-bar .7s ease-in-out infinite alternate;
}
.radio-widget.is-playing .rw-wv-bar:nth-child(1){animation-delay:.00s}
.radio-widget.is-playing .rw-wv-bar:nth-child(2){animation-delay:.10s}
.radio-widget.is-playing .rw-wv-bar:nth-child(3){animation-delay:.20s}
.radio-widget.is-playing .rw-wv-bar:nth-child(4){animation-delay:.05s}
.radio-widget.is-playing .rw-wv-bar:nth-child(5){animation-delay:.15s}
.radio-widget.is-playing .rw-wv-bar:nth-child(6){animation-delay:.25s}
.radio-widget.is-playing .rw-wv-bar:nth-child(7){animation-delay:.08s}
.radio-widget.is-playing .rw-wv-bar:nth-child(8){animation-delay:.18s}
@keyframes rw-bar { from{transform:scaleY(.25)} to{transform:scaleY(1.5)} }

/* ── Now on air ── */
.rw-now {
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(59,158,232,.2);
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 16px;
  position: relative; z-index: 1;
  backdrop-filter: blur(8px);
}
.rw-now-lbl {
  font-size: 9px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(168,216,240,.5); margin-bottom: 4px;
  display: flex; align-items: center; gap: 5px;
}
.rw-now-lbl::before {
  content: '';
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sky-light); flex-shrink: 0;
  box-shadow: 0 0 5px var(--sky-light);
}
.rw-now-show {
  font-size: 14px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── Controls ── */
.rw-controls {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px; position: relative; z-index: 1;
}

/* Circular play/pause button */
.rw-play-btn {
  width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%;
  background: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.35);
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s;
  position: relative;
}
.rw-play-btn .icon { width: 24px; height: 24px; color: var(--navy); }
.rw-play-btn:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(0,0,0,.45); }
/* Ripple ring while playing */
.rw-play-btn::after {
  content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  opacity: 0; transition: opacity .3s;
}
.rw-play-btn.is-playing::after {
  opacity: 1;
  animation: rw-ring 1.6s ease-in-out infinite;
}
@keyframes rw-ring { 0%,100%{transform:scale(1);opacity:.45} 50%{transform:scale(1.18);opacity:.15} }

/* Right side: label + volume */
.rw-right { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.rw-cta {
  font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: #fff; display: block;
}

/* Volume row */
.rw-vol-row { display: flex; align-items: center; gap: 8px; }
.rw-vol-icon { width: 14px; height: 14px; color: rgba(255,255,255,.4); flex-shrink: 0; }
.rw-vol-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 3px; border-radius: 3px;
  background: rgba(255,255,255,.22); outline: none; cursor: pointer;
}
.rw-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px; height: 13px; border-radius: 50%;
  background: #fff; cursor: pointer;
  box-shadow: 0 1px 5px rgba(0,0,0,.35);
}
.rw-vol-slider::-moz-range-thumb {
  width: 13px; height: 13px; border-radius: 50%;
  background: #fff; border: none; cursor: pointer;
  box-shadow: 0 1px 5px rgba(0,0,0,.35);
}

/* Link to full radio page */
.rw-more {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  font-size: 11px; font-weight: 600;
  color: rgba(168,216,240,.45);
  text-decoration: none; transition: color .2s;
  position: relative; z-index: 1;
}
.rw-more:hover { color: rgba(168,216,240,.85); }

/* Radio page button */
.rw-page-link {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; margin-top: 10px;
  padding: 11px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.75);
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  text-decoration: none;
  transition: background .2s, color .2s;
  position: relative; z-index: 1;
}
.rw-page-link .icon { width: 14px; height: 14px; flex-shrink: 0; }
.rw-page-link-arrow { margin-left: auto; transform: rotate(-90deg); opacity: .5; }
.rw-page-link:hover {
  background: rgba(255,255,255,.15); color: #fff;
}

/* Sidebar box */
.sidebar-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.sch-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.sch-item:last-child { border-bottom: none; }
.sch-time { font-size: 13px; font-weight: 800; color: var(--blue-mid); width: 46px; flex-shrink: 0; }
.sch-show { font-size: 13px; font-weight: 600; color: var(--text); flex: 1; }
.sch-item.now .sch-show { color: var(--blue-mid); }
.now-pill {
  font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  background: rgba(34,117,215,.1); border: 1px solid rgba(34,117,215,.3);
  color: var(--blue-mid); padding: 2px 8px; border-radius: 20px; flex-shrink: 0;
}

/* Columnist cards */
.col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 36px; }
.col-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; cursor: pointer; transition: all .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.04); display: block; color: inherit;
}
.col-card:hover { border-color: var(--blue-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,95,191,.1); }
.col-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff; margin-bottom: 10px;
}
.col-author { font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-mid); margin-bottom: 4px; }
.col-title { font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--text); margin-bottom: 4px; }
.col-desc { font-size: 11px; color: var(--gray-400); line-height: 1.45; }

/* On Demand promo */
.ondemand {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-radius: var(--radius-lg); padding: 22px; text-align: center;
  box-shadow: 0 8px 28px rgba(18,71,160,.35);
}
.ondemand-icon { margin: 0 auto 10px; color: rgba(255,255,255,.8); }
.ondemand-icon .icon { width: 44px; height: 44px; }
.ondemand-title { font-size: 17px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.ondemand-sub { font-size: 12px; color: rgba(255,255,255,.6); margin-bottom: 18px; line-height: 1.5; }
.ondemand-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: #fff; color: var(--blue-dark);
  font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 11px; border-radius: var(--radius-sm); transition: all .2s;
}
.ondemand-btn .icon { width: 14px; height: 14px; }
.ondemand-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); color: var(--blue-dark); }

/* ═══════════════════════════════════════
   READING PROGRESS BAR
═══════════════════════════════════════ */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-mid) 0%, var(--sky) 100%);
  z-index: 10000;
  transition: width .08s linear;
  border-radius: 0 2px 2px 0;
  pointer-events: none;
}

/* ═══════════════════════════════════════
   ARTICLE HEADER (sport24-style, inside card)
═══════════════════════════════════════ */
.article-header {
  padding-bottom: 20px;
  margin-bottom: 0;
  border-bottom: 2px solid var(--border);
}

/* Category badge */
.article-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-mid);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 5px 13px 5px 10px;
  border-radius: 30px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(34,117,215,.35);
}
.article-cat-badge .icon { width: 13px; height: 13px; flex-shrink: 0; }

/* Article H1 */
.article-title {
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.22;
  color: var(--text);
  margin: 0 0 18px;
}

/* Article meta bar */
.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--gray-400);
}
.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.article-meta-item .icon { width: 12px; height: 12px; color: var(--sky); flex-shrink: 0; }
.article-meta .meta-dot { width: 3px; height: 3px; background: var(--border); border-radius: 50%; }
.article-meta-read { color: var(--gray-400); font-size: 11px; }

/* ═══════════════════════════════════════
   SINGLE POST LAYOUT
═══════════════════════════════════════ */
.single-layout { display: grid; grid-template-columns: 1fr 330px; gap: 36px; padding: 36px 0 56px; }
.single-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  position: relative; /* anchor for sticky-share */
  min-width: 0; /* prevent grid blowout */
  overflow-x: hidden; /* prevent embeds/iframes from pushing the card wider than viewport */
  max-width: 100%;
}

/* Featured image — full width of article column, no side padding */
.single-content .post-featured {
  margin: 20px -32px 28px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.single-content .post-featured img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16/9; object-fit: cover;
}
.single-content .post-featured figcaption {
  font-size: 12px; color: var(--gray-400); padding: 8px 32px;
  font-style: italic; background: var(--gray-50);
  border-top: 1px solid var(--border);
}

.single-content .post-body { font-size: 15px; line-height: 1.8; color: var(--text-mid); }
.single-content .post-body p { margin-bottom: 1.2em; }
.single-content .post-body h2,.single-content .post-body h3 { font-weight: 800; color: var(--text); margin: 1.5em 0 .6em; }

/* ═══════════════════════════════════════
   STICKY SHARE (desktop, left of content)
═══════════════════════════════════════ */
.sticky-share {
  position: fixed;
  left: max(12px, calc(50vw - 730px));
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 200;
}
.sticky-share.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.sticky-share-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 2px;
}
.sticky-share-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
  transition: transform .2s, box-shadow .2s;
}
.sticky-share-btn:hover { transform: scale(1.12); box-shadow: 0 5px 16px rgba(0,0,0,.25); }
.sticky-share-btn .icon { width: 17px; height: 17px; }
.sticky-share-fb { background: #1877f2; }
.sticky-share-tw { background: #000; }
.sticky-share-wa { background: #25d366; }
@media (max-width: 1100px) { .sticky-share { display: none; } }

/* ═══════════════════════════════════════
   RELATED POSTS (bottom of article)
═══════════════════════════════════════ */
.related-posts {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
.related-card:hover {
  border-color: var(--blue-mid);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26,95,191,.13);
}
.related-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy2) 0%, var(--blue-mid) 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.related-card-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45);
}
.related-card-fallback .icon { width: 28px; height: 28px; }
.related-card-body {
  padding: 14px;
  display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.related-card-cat {
  font-size: 10px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--blue-mid);
}
.related-card h3 {
  font-size: 14px; font-weight: 700; color: var(--text);
  line-height: 1.4; margin: 0; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.related-card:hover h3 { color: var(--blue-mid); }
.related-card-date {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--gray-400);
}
.related-card-date .icon { width: 11px; height: 11px; }

/* ═══════════════════════════════════════
   ARCHIVE / CATEGORY PAGE
═══════════════════════════════════════ */
.archive-header { background: var(--navy); padding: 32px 0; margin-bottom: 0; }
.archive-header .container { display: flex; align-items: flex-start; gap: 16px; }
.archive-header-icon { display: flex; align-items: center; height: 38px; flex-shrink: 0; }
.archive-header h1 { font-size: 28px; font-weight: 900; color: #fff; line-height: 1.2; }
.archive-header .icon { width: 32px; height: 32px; color: var(--sky); }
.archive-header-logo { width: 38px; height: 38px; max-width: 38px; max-height: 38px; object-fit: contain; display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
.section-hdr-logo { width: 22px; height: 22px; max-width: 22px; max-height: 22px; object-fit: contain; flex-shrink: 0; display: block; align-self: center; }
.archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding: 36px 0 56px; }

/* ═══════════════════════════════════════
   SEARCH
═══════════════════════════════════════ */
.search-wrap { padding: 36px 0 56px; }
.search-form-big { display: flex; gap: 10px; margin-bottom: 36px; }
.search-form-big input[type="search"] {
  flex: 1; padding: 14px 18px; border: 2px solid var(--border);
  border-radius: var(--radius); font-family: inherit; font-size: 15px;
  background: var(--white); color: var(--text); outline: none; transition: border-color .2s;
}
.search-form-big input[type="search"]:focus { border-color: var(--blue-mid); }
.search-form-big button {
  padding: 14px 28px; background: var(--blue-mid); color: #fff;
  border: none; border-radius: var(--radius); font-family: inherit;
  font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s;
}
.search-form-big button:hover { background: var(--blue); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  border-top: 3px solid var(--blue-mid);
  padding: 52px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px;
  margin-bottom: 44px;
}
.footer-logo { margin-bottom: 14px; }
.footer-logo img { height: 38px; width: auto; object-fit: contain; }
.footer-logo-text { font-size: 24px; font-weight: 900; color: #fff; }
.footer-logo-text span { color: var(--sky); }
.footer-tagline { font-size: 13px; color: var(--gray-400); line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-socials a {
  font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gray-400); background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: 6px 12px;
  transition: all .2s;
}
.footer-socials a:hover { background: var(--blue-mid); color: #fff; border-color: var(--blue-mid); }
.footer-col h6 {
  font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: #fff; margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 13px; color: var(--gray-400); transition: color .2s; font-weight: 500; }
.footer-col ul li a:hover { color: var(--sky-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 40px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  letter-spacing: .5px;
}
.footer-livix-badge {
  display: flex; align-items: center; gap: 6px;
  text-decoration: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 5px 14px;
  transition: all .2s;
}
.footer-livix-badge:hover { background: rgba(255,255,255,.12); border-color: var(--sky); }
.footer-livix-badge span { font-size: 11px; color: rgba(255,255,255,.4); }
.footer-livix-badge strong { font-size: 12px; font-weight: 800; color: #fff; letter-spacing: .3px; }

/* ═══════════════════════════════════════
   THUMBNAIL — background-image approach
   .has-thumb is added via PHP when a
   featured image URL exists. The fallback
   icon hides automatically.
═══════════════════════════════════════ */

/* News-card image */
.nc-img.has-thumb {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.nc-img.has-thumb .nc-fallback { display: none; }

/* News-list item image */
.ni-img.has-thumb {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ni-img.has-thumb .ni-fallback { display: none; }

/* Related-card image */
.related-card-img.has-thumb {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.related-card-img.has-thumb .related-card-fallback { display: none; }

/* Also support old <img> tags just in case */
.nc-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.ni-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* ═══════════════════════════════════════
   ΡΟΗ PAGE
═══════════════════════════════════════ */

/* Header */
.roh-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  padding: 28px 0;
  border-bottom: 3px solid var(--blue-mid);
}
.roh-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.roh-header-left {
  display: flex; align-items: center; gap: 16px;
}
.roh-header-left .icon { width: 36px; height: 36px; color: var(--sky); flex-shrink: 0; }
.roh-header-left h1 {
  font-size: 28px; font-weight: 900; color: #fff; letter-spacing: -0.5px; line-height: 1;
}
.roh-header-left p {
  font-size: 12px; color: rgba(255,255,255,.5); margin-top: 4px;
}
.roh-live-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7); border-radius: 20px;
  font-size: 11px; font-weight: 800; letter-spacing: 2px;
  padding: 7px 16px;
}
.roh-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #f00; flex-shrink: 0;
  animation: pulse 1.3s ease-in-out infinite;
}

/* Layout */
.roh-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 36px;
  padding: 36px 0 56px;
  align-items: start;
}

/* Day separator */
.roh-day-sep {
  display: flex; align-items: center; gap: 12px;
  margin: 28px 0 16px;
}
.roh-day-sep:first-child { margin-top: 0; }
.roh-day-sep::before,
.roh-day-sep::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.roh-day-sep span {
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gray-400); white-space: nowrap;
}

/* Stream item */
.roh-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  transition: opacity .2s;
}
.roh-item:last-child { border-bottom: none; }
.roh-item:hover { opacity: .85; }

.roh-item-img {
  flex-shrink: 0; width: 130px; height: 84px;
  border-radius: var(--radius-sm); overflow: hidden;
  background: var(--gray-100); display: block; position: relative;
}
.roh-item-img--empty {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  color: var(--blue);
}
.roh-item-img--empty .icon { width: 28px; height: 28px; opacity: .25; }
.roh-item-img .roh-thumb,
.roh-item-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s;
}
.roh-item:hover .roh-item-img img { transform: scale(1.05); }

.roh-item-body { flex: 1; min-width: 0; }

.roh-item-meta {
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap;
}
.roh-item-cat {
  font-size: 9px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue-mid); transition: color .2s;
}
.roh-item-cat:hover { color: var(--sky); }
.roh-item-time {
  font-size: 10px; font-weight: 500; color: var(--gray-400);
  display: flex; align-items: center; gap: 3px;
}
.roh-item-time .icon { width: 10px; height: 10px; }

.roh-item-title { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--text); margin-bottom: 6px; }
.roh-item-title a { color: inherit; transition: color .2s; }
.roh-item-title a:hover { color: var(--blue-mid); }
.roh-item-excerpt { font-size: 12px; color: var(--gray-600); line-height: 1.55; }

/* Empty state */
.roh-empty {
  text-align: center; padding: 56px 24px; color: var(--gray-400);
}
.roh-empty .icon { width: 48px; height: 48px; opacity: .2; margin: 0 auto 12px; display: block; }

/* Pagination */
.roh-pagination {
  display: flex; justify-content: center; gap: 8px;
  padding: 32px 0 8px; flex-wrap: wrap;
}
.roh-pagination span { display: inline-block; }
.roh-pagination span a,
.roh-pagination span.current {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 14px;
  border-radius: var(--radius-sm); font-size: 13px; font-weight: 700;
  border: 1px solid var(--border); background: var(--white); color: var(--text-mid);
  transition: all .2s;
}
.roh-pagination span a:hover { background: var(--blue-mid); color: #fff; border-color: var(--blue-mid); }
.roh-pagination span.current { background: var(--blue-mid); color: #fff; border-color: var(--blue-mid); pointer-events: none; }

/* Category list in sidebar */
.roh-cat-list { list-style: none; display: flex; flex-direction: column; }
.roh-cat-list li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text-mid);
  transition: color .2s;
}
.roh-cat-list li:last-child a { border-bottom: none; }
.roh-cat-list li a:hover { color: var(--blue-mid); }
.roh-cat-list .icon { width: 16px; height: 16px; color: var(--blue-mid); flex-shrink: 0; }
.roh-cat-count {
  margin-left: auto; font-size: 11px; font-weight: 700;
  background: var(--gray-100); border: 1px solid var(--border);
  color: var(--gray-400); border-radius: 20px; padding: 1px 9px;
}

/* ═══════════════════════════════════════
   RADIO PAGE
═══════════════════════════════════════ */

.radio-page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, #0b2a5e 50%, var(--blue-dark) 100%);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.radio-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(59,158,232,.12) 0%, transparent 70%);
  pointer-events: none;
}

.rph-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
  position: relative; z-index: 1;
}

/* Player card */
.rph-player {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.rph-glow {
  position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,158,232,.3) 0%, transparent 70%);
  pointer-events: none;
}
.rph-logo { margin-bottom: 20px; }
.rph-logo img { height: 40px; width: auto; object-fit: contain; }
.rph-logo-text { font-size: 26px; font-weight: 900; color: #fff; }
.rph-logo-text span { color: var(--sky); }

.rph-freq-row { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 20px; }
.rph-freq { font-size: 64px; font-weight: 900; color: #fff; line-height: 1; letter-spacing: -2px; }
.rph-freq sup { font-size: 22px; letter-spacing: 0; vertical-align: super; }
.rph-stereo { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(168,216,240,.6); margin-bottom: 6px; }

/* Waveform bars */
.rph-waves {
  display: flex; gap: 3px; align-items: flex-end;
  height: 32px; margin-bottom: 20px;
}
.rph-bar {
  width: 4px; background: rgba(168,216,240,.25);
  border-radius: 2px; flex-shrink: 0;
  transition: height .1s;
}
.rph-bar:nth-child(odd)  { height: 8px; }
.rph-bar:nth-child(even) { height: 16px; }
.rph-waves.is-playing .rph-bar { animation: rph-wave 0.8s ease-in-out infinite alternate; }
.rph-waves.is-playing .rph-bar:nth-child(1)  { animation-delay: 0s; }
.rph-waves.is-playing .rph-bar:nth-child(2)  { animation-delay: .05s; }
.rph-waves.is-playing .rph-bar:nth-child(3)  { animation-delay: .10s; }
.rph-waves.is-playing .rph-bar:nth-child(4)  { animation-delay: .15s; }
.rph-waves.is-playing .rph-bar:nth-child(5)  { animation-delay: .20s; }
.rph-waves.is-playing .rph-bar:nth-child(6)  { animation-delay: .25s; }
.rph-waves.is-playing .rph-bar:nth-child(7)  { animation-delay: .30s; }
.rph-waves.is-playing .rph-bar:nth-child(8)  { animation-delay: .35s; }
.rph-waves.is-playing .rph-bar:nth-child(9)  { animation-delay: .40s; }
.rph-waves.is-playing .rph-bar:nth-child(10) { animation-delay: .45s; }
.rph-waves.is-playing .rph-bar:nth-child(n+11) { animation-delay: calc((var(--i,0)) * .05s); }
@keyframes rph-wave {
  from { height: 4px; background: rgba(168,216,240,.2); }
  to   { height: 28px; background: var(--sky); }
}

.rph-now {
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(59,158,232,.25);
  border-radius: var(--radius-sm);
  padding: 12px 16px; margin-bottom: 20px;
}
.rph-now-label {
  font-size: 9px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(168,216,240,.6); display: flex; align-items: center; gap: 7px; margin-bottom: 4px;
}
.rph-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #e00; flex-shrink: 0;
  animation: pulse 1.3s ease-in-out infinite;
}
.rph-now-show { font-size: 17px; font-weight: 800; color: #fff; }

/* Controls */
.rph-controls { display: flex; flex-direction: column; gap: 14px; }
.rph-play-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; color: var(--blue-dark);
  border: none; border-radius: var(--radius-sm); padding: 15px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 14px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; width: 100%; transition: all .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.rph-play-btn .icon { width: 22px; height: 22px; }
.rph-play-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.rph-play-btn.is-playing { background: var(--sky); color: #fff; }

.rph-volume {
  display: flex; align-items: center; gap: 10px;
}
.rph-volume input[type="range"] {
  flex: 1; -webkit-appearance: none; appearance: none;
  height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.2); outline: none; cursor: pointer;
}
.rph-volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px;
  background: var(--sky); border-radius: 50%; cursor: pointer;
}

/* Schedule column */
.rph-schedule {
  color: #fff;
}
.rph-sch-header {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.rph-sch-header .icon { width: 16px; height: 16px; color: var(--sky); }
.rph-sch-all {
  margin-left: auto; font-size: 11px; font-weight: 700;
  color: var(--sky-light); transition: color .2s;
}
.rph-sch-all:hover { color: #fff; }

.rph-sch-list { display: flex; flex-direction: column; }
.rph-sch-item {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .2s;
}
.rph-sch-item:last-child { border-bottom: none; }
.rph-sch-time {
  font-size: 14px; font-weight: 800; color: rgba(255,255,255,.4); width: 50px; flex-shrink: 0;
}
.rph-sch-show { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.75); flex: 1; }
.rph-sch-item.is-now .rph-sch-time { color: var(--sky); }
.rph-sch-item.is-now .rph-sch-show { color: #fff; font-weight: 800; }
.rph-now-pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(59,158,232,.2); border: 1px solid rgba(59,158,232,.4);
  color: var(--sky-light); border-radius: 20px;
  font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 10px; flex-shrink: 0;
}

/* Station info cards */
/* ── rph-left: stacks player + contact form ── */
.rph-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Hero Contact Box ── */
.rph-contact-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 24px 24px 20px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.rph-contact-hdr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}
.rph-contact-hdr .icon {
  width: 16px; height: 16px;
  color: var(--sky);
  flex-shrink: 0;
}

/* Dark-theme form fields */
.rph-cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.rph-cf-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.rph-cf-row .rph-cf-group { margin-bottom: 0; }

.rph-cf-group label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(168,216,240,.7);
}
.rph-cf-group input,
.rph-cf-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  resize: vertical;
}
.rph-cf-group input::placeholder,
.rph-cf-group textarea::placeholder { color: rgba(255,255,255,.3); }
.rph-cf-group input:hover,
.rph-cf-group textarea:hover {
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.11);
}
.rph-cf-group input:focus,
.rph-cf-group textarea:focus {
  border-color: var(--sky);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 3px rgba(26,176,240,.2);
}
.rph-cf-group textarea { min-height: 90px; }

.rph-cf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.rph-cf-note {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255,255,255,.35);
  font-weight: 600;
}
.rph-cf-note .icon { width: 12px; height: 12px; }

.rph-cf-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--sky) 0%, #1a6fb8 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .3px;
  box-shadow: 0 4px 14px rgba(26,176,240,.35);
  transition: transform .2s, box-shadow .2s;
}
.rph-cf-submit .icon { width: 14px; height: 14px; }
.rph-cf-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(26,176,240,.5);
}
.rph-cf-submit:active { transform: translateY(0); }

.rph-contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  text-align: center;
}
.rph-contact-success .icon { width: 32px; height: 32px; color: var(--sky); }
.rph-contact-success p { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.8); line-height: 1.6; }

.rph-contact-error {
  background: rgba(220,38,38,.15);
  border: 1px solid rgba(220,38,38,.4);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fca5a5;
}

.radio-page-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 36px;
  padding: 36px 0 56px;
  align-items: start;
}
.rpi-section { margin-bottom: 40px; }
.rpi-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.rpi-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 16px; text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.rpi-icon .icon { width: 28px; height: 28px; color: var(--blue-mid); margin: 0 auto 8px; display: block; }
.rpi-label { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gray-400); margin-bottom: 4px; }
.rpi-value { font-size: 16px; font-weight: 800; color: var(--text); }

.rpi-social-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.rpi-social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm); padding: 10px 18px;
  font-size: 13px; font-weight: 700;
  transition: all .2s;
}
.rpi-social-btn .icon { width: 16px; height: 16px; }
.rpi-social-btn:hover { background: var(--blue-mid); color: #fff; border-color: var(--blue-mid); transform: translateY(-2px); }

/* ── Contact form ── */
.rpi-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.rpi-form-success {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 48px 24px; text-align: center;
  background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
  border: 1px solid rgba(26,95,191,.15); border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.rpi-form-success p {
  font-size: 16px; font-weight: 600; color: var(--text-mid); max-width: 320px;
}
.rpi-form-error {
  display: flex; align-items: center; gap: 8px;
  background: #fff5f5; border: 1px solid #fed7d7; border-radius: var(--radius-sm);
  padding: 12px 16px; margin-bottom: 20px;
  font-size: 13px; font-weight: 600; color: #c0392b;
}
.rpi-form-error::before { content: '⚠'; flex-shrink: 0; }
.rpi-form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0;
}
.rpi-form-row + .rpi-form-group { margin-top: 16px; }
.rpi-form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.rpi-form-row .rpi-form-group { margin-bottom: 0; }
.rpi-form-group label {
  font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  color: var(--text-mid);
}
.rpi-form-group input,
.rpi-form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  background: var(--gray-50); color: var(--text);
  font-family: var(--font-sans); font-size: 14px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  outline: none; resize: vertical;
}
.rpi-form-group input:hover,
.rpi-form-group textarea:hover { border-color: var(--gray-400); background: var(--white); }
.rpi-form-group input:focus,
.rpi-form-group textarea:focus {
  border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 4px rgba(26,95,191,.1);
}
.rpi-form-group textarea { min-height: 140px; line-height: 1.6; }
.rpi-form-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 4px; flex-wrap: wrap;
}
.rpi-form-note {
  font-size: 12px; color: var(--gray-400);
}
.rpi-form-submit {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff; border: none; border-radius: var(--radius-sm);
  padding: 13px 28px; cursor: pointer;
  font-family: var(--font-sans); font-size: 14px; font-weight: 800; letter-spacing: .3px;
  box-shadow: 0 4px 16px rgba(18,71,160,.35);
  transition: transform .2s, box-shadow .2s;
}
.rpi-form-submit .icon { width: 16px; height: 16px; }
.rpi-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18,71,160,.45);
}
.rpi-form-submit:active { transform: translateY(0); }

@media (max-width: 600px) {
  .rpi-form { padding: 20px 16px 18px; }
  .rpi-form-row { grid-template-columns: 1fr; }
  .rpi-form-footer { flex-direction: column; align-items: stretch; }
  .rpi-form-submit { justify-content: center; }
}

/* ═══════════════════════════════════════
   SCHEDULE / PROGRAMME PAGE
═══════════════════════════════════════ */

.prog-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  padding: 28px 0;
  border-bottom: 3px solid var(--blue-mid);
}
.prog-hero-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.prog-hero-left {
  display: flex; align-items: center; gap: 16px;
}
.prog-hero-left .icon { width: 36px; height: 36px; color: var(--sky); flex-shrink: 0; }
.prog-hero-left h1 { font-size: 26px; font-weight: 900; color: #fff; line-height: 1; }
.prog-hero-left p { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 4px; }
.prog-live-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue-mid), var(--sky));
  color: #fff; border-radius: 20px;
  font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  padding: 10px 22px;
  box-shadow: 0 4px 16px rgba(34,117,215,.4);
  transition: all .2s;
}
.prog-live-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(34,117,215,.5); color: #fff; }

.prog-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 36px;
  padding: 36px 0 56px;
  align-items: start;
}

/* Tabs */
.prog-tabs {
  display: flex; gap: 4px; flex-wrap: wrap;
  margin-bottom: 0;
  border-bottom: 2px solid var(--border);
}
.prog-tab {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none;
  padding: 12px 18px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--gray-400);
  cursor: pointer; position: relative;
  transition: color .2s;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.prog-tab:hover { color: var(--text); }
.prog-tab.is-active { color: var(--blue-mid); border-bottom-color: var(--blue-mid); }
.prog-tab-short { display: none; }
.prog-today-badge {
  font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  background: var(--blue-mid); color: #fff;
  border-radius: 20px; padding: 2px 8px;
}

/* Panels */
.prog-panel { display: none; padding-top: 28px; }
.prog-panel.is-active { display: block; }
.prog-panel-header {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.prog-panel-header h2 { font-size: 20px; font-weight: 900; color: var(--text); }
.prog-on-air {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(34,117,215,.08); border: 1px solid rgba(34,117,215,.2);
  color: var(--blue-mid); border-radius: 20px;
  font-size: 12px; font-weight: 700; padding: 5px 14px;
}

/* Slots */
.prog-slots { display: flex; flex-direction: column; gap: 0; }
.prog-slot {
  display: flex; align-items: center; gap: 20px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-top: none;
  background: var(--white);
  transition: background .15s;
}
.prog-slot:first-child { border-top: 1px solid var(--border); border-radius: var(--radius) var(--radius) 0 0; }
.prog-slot:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.prog-slot:hover { background: var(--gray-50); }

.prog-slot.is-now {
  background: linear-gradient(135deg, rgba(34,117,215,.06), rgba(59,158,232,.04));
  border-color: rgba(34,117,215,.3);
}

.prog-slot-time { flex-shrink: 0; width: 110px; }
.prog-slot-start { font-size: 18px; font-weight: 900; color: var(--blue-mid); display: block; }
.prog-slot-end { font-size: 11px; color: var(--gray-400); }
.prog-slot.is-now .prog-slot-start { color: var(--blue-mid); }

.prog-slot-body { flex: 1; }
.prog-slot-name { font-size: 15px; font-weight: 700; color: var(--text); }
.prog-slot-now-badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 4px;
  font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--blue-mid);
}

.prog-slot-listen {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-mid); color: #fff;
  border-radius: var(--radius-sm); padding: 8px 16px;
  font-size: 12px; font-weight: 800; letter-spacing: .5px;
  transition: all .2s; flex-shrink: 0;
}
.prog-slot-listen .icon { width: 14px; height: 14px; }
.prog-slot-listen:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }

.prog-empty {
  text-align: center; padding: 48px 24px; color: var(--gray-400);
  background: var(--gray-50); border: 1px solid var(--border); border-radius: var(--radius);
}
.prog-empty .icon { width: 40px; height: 40px; opacity: .2; margin: 0 auto 12px; display: block; }
.prog-empty small { font-size: 11px; color: var(--gray-400); display: block; margin-top: 6px; }

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .rph-inner { grid-template-columns: 340px 1fr; gap: 32px; }
  .rpi-grid { grid-template-columns: repeat(2,1fr); }
  .radio-page-layout { grid-template-columns: 1fr 270px; gap: 24px; }
  .prog-layout { grid-template-columns: 1fr 270px; gap: 24px; }
}
@media (max-width: 900px) {
  .rph-inner { grid-template-columns: 1fr; }
  .rph-schedule { margin-top: 0; }
  .rph-cf-row { grid-template-columns: 1fr; }
  .rph-cf-footer { flex-direction: column; align-items: stretch; }
  .rph-cf-submit { justify-content: center; }
  .radio-page-layout, .prog-layout { grid-template-columns: 1fr; }
  .prog-tab-full { display: none; }
  .prog-tab-short { display: inline; }
  .prog-slot-time { width: 80px; }
  .prog-slot-start { font-size: 15px; }
}
@media (max-width: 600px) {
  .rph-freq { font-size: 48px; }
  .rpi-grid { grid-template-columns: repeat(2,1fr); }
  .prog-tab { padding: 10px 12px; font-size: 12px; }
  .prog-slot { gap: 12px; padding: 12px 14px; }
  .prog-slot-listen { display: none; }
  .prog-hero-left h1 { font-size: 20px; }
}

/* ── ΡΟΗ Responsive ── */
@media (max-width: 1100px) {
  .roh-layout { grid-template-columns: 1fr 270px; gap: 24px; }
}
@media (max-width: 900px) {
  .roh-layout { grid-template-columns: 1fr; }
  .roh-item-img { width: 110px; height: 72px; }
}
@media (max-width: 600px) {
  .roh-header-left h1 { font-size: 22px; }
  .roh-item { gap: 12px; }
  .roh-item-img { width: 88px; height: 60px; }
  .roh-item-title { font-size: 13px; }
  .roh-item-excerpt { display: none; }
  .roh-live-badge { display: none; }
}

/* ═══════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════ */
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
  font-size: 12px; color: var(--gray-400); margin-bottom: 18px;
}
.breadcrumb a { color: var(--blue-mid); transition: color .2s; }
.breadcrumb a:hover { color: var(--sky); }
.bc-sep { color: var(--border); font-size: 13px; }
.bc-current { color: var(--text-mid); font-weight: 600; max-width: 360px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ═══════════════════════════════════════
   POST META (single) improvements
═══════════════════════════════════════ */
.post-meta-author { display: inline-flex; align-items: center; gap: 4px; }

/* ═══════════════════════════════════════
   POST BODY TYPOGRAPHY
═══════════════════════════════════════ */
.post-body h2 { font-size: 22px; font-weight: 800; color: var(--text); margin: 1.8em 0 .6em; border-left: 4px solid var(--blue-mid); padding-left: 12px; }
.post-body h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 1.5em 0 .5em; }
.post-body ul, .post-body ol { padding-left: 22px; margin-bottom: 1.2em; }
.post-body ul li, .post-body ol li { margin-bottom: .4em; }
.post-body blockquote {
  border-left: 4px solid var(--sky); margin: 1.6em 0;
  padding: 14px 20px; background: var(--gray-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: var(--text-mid); font-size: 16px;
}
.post-body blockquote p { margin: 0; }
.post-body img { border-radius: var(--radius); margin: 1em 0; }
.post-body a { color: var(--blue-mid); text-decoration: underline; text-decoration-color: rgba(34,117,215,.3); }
.post-body a:hover { text-decoration-color: var(--blue-mid); }
.post-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.2em; font-size: 14px; }
.post-body table th { background: var(--navy); color: #fff; padding: 10px 12px; text-align: left; font-size: 12px; letter-spacing: .5px; }
.post-body table td { padding: 9px 12px; border-bottom: 1px solid var(--border); }
.post-body table tr:nth-child(even) td { background: var(--gray-50); }

/* ── Responsive video / YouTube embeds ── */
/* Gutenberg block embeds */
.post-body .wp-block-embed,
.post-body .wp-block-video { margin: 1.6em 0; }

.post-body .wp-block-embed__wrapper,
.post-body .embed-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}
.post-body .wp-block-embed__wrapper iframe,
.post-body .embed-responsive iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* Classic editor / raw iframe inside post body */
.post-body iframe {
  max-width: 100%;
  border-radius: var(--radius);
  display: block;
  margin: 1.2em auto;
}

/* Facebook plugin embeds — scrollable wrapper so content isn't clipped on mobile */
.post-body .fb-embed-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.4em 0;
  max-width: 100%; /* required for overflow-x:auto to actually show a scrollbar */
  /* subtle border so it reads as a card */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.post-body .fb-embed-wrap iframe {
  border-radius: 0;
  margin: 0;
  display: block;
  max-width: none; /* let the iframe keep its native width inside the scroller */
}

/* oEmbed shortcode wrapper (Classic Editor) */
.post-body .wp-video,
.post-body .mejs-container { width: 100% !important; height: auto !important; }

/* Generic figure/figcaption for Gutenberg */
.post-body figure { margin: 1.4em 0; }
.post-body figcaption {
  font-size: 12px; color: var(--gray-400); text-align: center;
  margin-top: 6px; font-style: italic;
}

/* Force aspect-ratio for any lone iframe (YouTube, etc.) */
.post-body > iframe,
.post-body p > iframe {
  aspect-ratio: 16/9;
  width: 100% !important;
  height: auto !important;
}

/* ═══════════════════════════════════════
   POST TAGS
═══════════════════════════════════════ */
.post-tags {
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap;
}
.post-tags-label { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-400); padding-top: 5px; flex-shrink: 0; }

/* ═══════════════════════════════════════
   SHARE BUTTONS
═══════════════════════════════════════ */
.post-share {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--border);
}
.post-share-label { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-400); flex-shrink: 0; }
.share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  padding: 7px 16px; border-radius: 20px;
  transition: all .2s; cursor: pointer; white-space: nowrap;
}
.share-btn .icon { width: 14px; height: 14px; }
.share-fb { background: #1877f2; color: #fff; }
.share-fb:hover { background: #0d65d9; color: #fff; transform: translateY(-1px); }
.share-tw { background: #000; color: #fff; }
.share-tw:hover { background: #333; color: #fff; transform: translateY(-1px); }
.share-wa { background: #25d366; color: #fff; }
.share-wa:hover { background: #1da851; color: #fff; transform: translateY(-1px); }

/* ═══════════════════════════════════════
   AUTHOR BOX
═══════════════════════════════════════ */
.author-box {
  display: flex; gap: 18px; align-items: flex-start;
  margin-top: 28px; padding: 20px;
  background: var(--gray-50); border: 1px solid var(--border);
  border-radius: var(--radius); border-left: 4px solid var(--blue-mid);
}
.author-box-avatar-wrap img,
.author-box-avatar { width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.author-box-avatar-wrap { flex-shrink: 0; }
.author-box-role { font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-mid); margin-bottom: 4px; }
.author-box-name { font-size: 16px; font-weight: 800; color: var(--text); display: block; margin-bottom: 6px; transition: color .2s; }
.author-box-name:hover { color: var(--blue-mid); }
.author-box-bio { font-size: 13px; color: var(--gray-600); line-height: 1.6; margin: 0; }

/* ═══════════════════════════════════════
   AD SLOTS
═══════════════════════════════════════ */
/* ─── Ad slot base ─────────────────────────────────────── */
.sfm-ad-slot {
  display: block;
  text-align: center;
  overflow: hidden;
  line-height: 0;
}
/* AdSense <ins> and other ad containers */
.sfm-ad-slot ins,
.sfm-ad-slot iframe,
.sfm-ad-slot > div,
.sfm-ad-slot img {
  max-width: 100%;
  display: block !important;
  margin: 0 auto !important;
}

/* ─── Full-width banner wrapper (728×90) ─────────────── */
/* Used below nav on all pages: sfm-ad--full */
.sfm-ad--full {
  background: var(--gray-100);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  width: 100%;
  text-align: center;
}
.sfm-ad--full .sfm-ad-slot {
  max-width: 728px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
  text-align: center;
}

/* ─── Inline full-width between homepage sections ─────── */
.sfm-ad--full-inline {
  padding: 16px 0;
  text-align: center;
}
.sfm-ad--full-inline .sfm-ad-slot {
  max-width: 728px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}

/* ─── Archive banner (below category header) ─────────── */
.sfm-ad--archive {
  background: var(--gray-50);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  text-align: center;
}
.sfm-ad--archive .sfm-ad-slot {
  max-width: 728px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
  text-align: center;
}

/* ─── Article inline ads (before/after content) ──────── */
.sfm-ad--article {
  margin: 24px 0;
  padding: 12px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.sfm-ad--article .sfm-ad-slot {
  max-width: 728px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
  text-align: center;
}

/* ─── Sidebar ads (300×250) ──────────────────────────── */
.sfm-ad--sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  overflow: hidden;
}
.sfm-ad--sidebar .sfm-ad-slot {
  max-width: 300px;
  margin: 0 auto;
}

/* ─── In-content float ad (300×250) ─────────────────── */
.sfm-ad--in-content {
  float: left;
  margin: 4px 20px 16px 0;
  max-width: 300px;
  clear: left;
}
.sfm-ad--in-content .sfm-ad-slot {
  width: 300px;
  max-width: 100%;
}
/* On narrow screens drop float so ad is full-width between paragraphs */
@media (max-width: 600px) {
  .sfm-ad--in-content {
    float: none;
    margin: 16px auto;
    max-width: 100%;
    text-align: center;
  }
  .sfm-ad--in-content .sfm-ad-slot {
    width: auto;
    max-width: 336px;
    margin: 0 auto;
  }
}

/* ─── Between-posts ad in archive grid ───────────────── */
.archive-ad-row {
  grid-column: 1 / -1;
  padding: 8px 0;
}
.archive-ad-row .sfm-ad-slot {
  max-width: 728px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}

/* ═══════════════════════════════════════
   ARCHIVE LAYOUT (2-column with sidebar)
═══════════════════════════════════════ */
.archive-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 36px;
  padding: 36px 0 56px;
  align-items: start;
}
.archive-main {}
/* Reduce to 2-column card grid inside archive main (was 3, now 2 makes more sense with sidebar) */
.archive-main .archive-grid { grid-template-columns: repeat(2, 1fr); padding: 0 0 0 0; }

/* Pagination */
.archive-pagination {
  display: flex; justify-content: center; gap: 8px;
  padding-bottom: 32px; padding-top: 8px; flex-wrap: wrap;
}
.archive-pagination span { display: inline-block; }
.archive-pagination span a,
.archive-pagination span.current {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700;
  border: 1px solid var(--border);
  background: var(--white); color: var(--text-mid);
  transition: all .2s;
}
.archive-pagination span a:hover { background: var(--blue-mid); color: #fff; border-color: var(--blue-mid); }
.archive-pagination span.current { background: var(--blue-mid); color: #fff; border-color: var(--blue-mid); pointer-events: none; }

/* ═══════════════════════════════════════
   NO-SIDEBAR LAYOUT (Customizer toggle)
═══════════════════════════════════════ */
.main-layout.no-sidebar,
.single-layout.no-sidebar,
.archive-layout.no-sidebar,
.roh-layout.no-sidebar,
.radio-page-layout.no-sidebar,
.prog-layout.no-sidebar {
  grid-template-columns: 1fr !important;
}
.main-layout.no-sidebar .sidebar,
.single-layout.no-sidebar .sidebar,
.archive-layout.no-sidebar .sidebar,
.roh-layout.no-sidebar .sidebar,
.radio-page-layout.no-sidebar .sidebar,
.prog-layout.no-sidebar .sidebar {
  display: none !important;
}

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.hero-section { animation: fadeUp .5s ease both; }
.main-layout  { animation: fadeUp .6s ease .1s both; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

/* ── 1200px: large tablet / small laptop ── */
@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: 1fr 320px; }
  .main-layout { grid-template-columns: 1fr 300px; gap: 28px; }
  .single-layout { grid-template-columns: 1fr 300px; gap: 28px; }
  .archive-layout { grid-template-columns: 1fr 280px; gap: 24px; }
  .main-nav ul li a { padding: 8px 11px; font-size: 12px; }
  .cat-icon { width: 46px; height: 46px; }
  .single-content { padding: 0; }
  .single-content .post-featured { margin: 0; }
  .single-content .post-featured figcaption { padding: 8px 24px; }
}

/* ── 900px: tablet portrait — hamburger kicks in ── */
@media (max-width: 900px) {
  /* Header */
  .main-nav { display: none; }
  .menu-toggle { display: flex; align-items: center; }
  .site-logo img { width: 160px; height: 38px; }
  .header-inner { height: 52px; gap: 16px; }

  /* Topbar */
  .topbar-inner { padding: 6px 16px; }

  /* Container padding */
  .container { padding: 0 16px; }

  /* Hero */
  .hero-section { padding: 20px 0 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 4px; }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 4px; }
  .hero-card { aspect-ratio: 16/9; }
  .hero-main-content { padding: 20px 20px 18px; }
  .hero-main-content h1 { font-size: clamp(17px, 3.5vw, 26px); }

  /* Cat strip: horizontal scroll on tablet */
  .cat-strip { padding: 14px 0; }
  .cat-strip-inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px;
    padding-bottom: 4px;
    padding-top: 8px;
    margin-top: -8px;
  }
  .cat-strip-inner::-webkit-scrollbar { display: none; }
  .cat-card { padding: 14px 10px 12px; }
  .cat-icon { width: 44px; height: 44px; border-radius: 12px; }
  .cat-icon .icon { width: 22px; height: 22px; }
  .cat-name { font-size: 11px; }
  .cat-sub { font-size: 9px; }

  /* Layouts: single column */
  .main-layout,
  .single-layout,
  .archive-layout { grid-template-columns: 1fr; }

  /* Article header */
  .article-meta { gap: 12px; font-size: 11px; }
  .article-meta-read { display: none; }
  .single-content { padding: 0; }
  .single-content .post-featured { margin: 0; }
  .single-content .post-featured figcaption { padding: 8px 20px; }

  /* Related posts */
  .related-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .related-grid .related-card:last-child { display: none; } /* hide 3rd on tablet */

  /* Sidebar: horizontal cards on tablet */
  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: start;
  }
  .radio-widget { grid-column: 1 / -1; }
  /* Football Standings widget — always full width, never split in 2-col grid */
  .widget_fs_standings_widget { grid-column: 1 / -1; }
  .sidebar-box, .ondemand { min-width: 0; }
  .radio-widget { min-width: 0; }

  /* Grids */
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .col-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-main .archive-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  /* Author box */
  .author-box { flex-direction: column; gap: 12px; }
  .author-box-avatar-wrap img,
  .author-box-avatar { width: 52px; height: 52px; }
}

/* ── 600px: mobile ── */
@media (max-width: 600px) {
  /* Header */
  .site-logo img { width: 130px; height: 32px; }
  .header-inner { height: 48px; padding: 0 14px; gap: 12px; }

  /* Container */
  .container { padding: 0 12px; }

  /* Topbar: flex on mobile (grid overflows at 393px) */
  .topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 12px;
    gap: 8px;
  }
  .topbar-center { justify-self: unset; gap: 4px; }
  .topbar-inner .live-btn { justify-self: unset; }
  /* Hide Twitch & Dailymotion icons on mobile — too many to fit */
  .topbar-socials a:nth-child(n+5) { display: none; }
  .topbar-date { font-size: 10px; }

  /* Hero */
  .hero-section { padding: 14px 0 20px; }
  .hero-grid { border-radius: var(--radius); gap: 3px; }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .hero-card { aspect-ratio: 4/3; }
  .hero-card-body h3 { font-size: 13px; }
  .hero-main-content { padding: 16px; }
  .hero-main-content h1 { font-size: clamp(15px, 4.5vw, 22px); margin-bottom: 6px; }
  .hero-meta { font-size: 11px; gap: 6px; }

  /* Cat strip: scroll, smaller cards */
  .cat-strip-inner {
    gap: 8px;
  }
  .cat-card { flex: 0 0 120px; }
  .cat-card { padding: 12px 8px 10px; gap: 5px; border-radius: var(--radius); }
  .cat-icon { width: 40px; height: 40px; border-radius: 10px; }
  .cat-icon .icon { width: 20px; height: 20px; }
  .cat-name { font-size: 10px; letter-spacing: .2px; }
  .cat-sub { display: none; }

  /* Section header */
  .section-hdr h2 { font-size: 14px; }

  /* News grid: 1 col */
  .news-grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
  .col-grid { grid-template-columns: 1fr; }
  .archive-main .archive-grid { grid-template-columns: 1fr; gap: 10px; }

  /* News card: horizontal on mobile */
  .news-card { display: flex; flex-direction: row; align-items: stretch; }
  .nc-img {
    width: 110px; min-width: 110px; height: auto;
    aspect-ratio: 1; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  }
  .nc-body { padding: 10px 12px; flex: 1; }
  .nc-cat { font-size: 9px; }
  .nc-body h4 { font-size: 13px; line-height: 1.4; }
  .nc-time { font-size: 10px; margin-top: auto; padding-top: 6px; }

  /* Sidebar: single column */
  .sidebar { display: flex; flex-direction: column; gap: 16px; }

  /* Layouts: padding */
  .main-layout,
  .single-layout,
  .archive-layout { padding: 20px 0 36px; }

  /* Post */
  .post-title { font-size: clamp(20px, 5.5vw, 28px); }
  .post-body { font-size: 14px; }
  .post-featured { border-radius: var(--radius); overflow: hidden; }

  /* Article header mobile */
  .article-cat-badge { font-size: 9px; padding: 4px 10px 4px 8px; margin-bottom: 10px; }
  .article-meta { gap: 10px; }
  .article-meta-author { display: none; }
  .single-content { padding: 0; }
  .single-content .post-featured { margin: 0; }
  .single-content .post-featured figcaption { padding: 7px 16px; }

  /* Related posts mobile: 1 column */
  .related-grid { grid-template-columns: 1fr; }
  .related-grid .related-card:last-child { display: flex; } /* restore hidden card */
  .related-grid .related-card:nth-child(n+2) { flex-direction: row; }
  .related-grid .related-card:nth-child(n+2) .related-card-img { width: 100px; min-width: 100px; aspect-ratio: auto; min-height: 80px; border-radius: 0; }

  /* Breadcrumb */
  .bc-current { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .breadcrumb .bc-current { max-width: 140px; }

  /* Share */
  .post-share { flex-direction: column; gap: 8px; align-items: flex-start; }
  .share-btns { gap: 6px; flex-wrap: wrap; }
  .share-btn { font-size: 11px; padding: 6px 12px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }

  /* Trending bar: scroll */
  .trending-tags { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; scrollbar-width: none; }
  .trending-tags::-webkit-scrollbar { display: none; }

  /* Archive pagination */
  .archive-pagination span a,
  .archive-pagination span.current { min-width: 32px; height: 32px; font-size: 12px; }

  /* Radio widget: compact on mobile */
  .radio-widget { width: 100%; min-width: 0; box-sizing: border-box; padding: 16px 15px 13px; border-radius: 14px; }
  .rw-top { margin-bottom: 10px; }
  .rw-logo img { height: 28px; }
  .rw-live-badge { font-size: 9px; padding: 3px 9px; }
  .rw-waveform { height: 30px; margin-bottom: 10px; gap: 2px; }
  .rw-wv-bar { width: 3px; }
  .rw-now { padding: 9px 12px; margin-bottom: 10px; }
  .rw-now-show { font-size: 13px; }
  .rw-controls { gap: 10px; margin-bottom: 10px; }
  .rw-play-btn { width: 46px; height: 46px; }
  .rw-play-btn .icon { width: 20px; height: 20px; }
  .rw-cta { font-size: 11px; letter-spacing: 1px; }
  .rw-page-link { padding: 9px 14px; margin-top: 6px; font-size: 11px; }

  /* Program hero */
  .prog-hero-left h1 { font-size: 20px; }
  .prog-hero-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .prog-live-btn { width: 100%; justify-content: center; }

  /* Program tabs: scroll */
  .prog-tabs {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; flex-wrap: nowrap;
  }
  .prog-tabs::-webkit-scrollbar { display: none; }
  .prog-tab { white-space: nowrap; padding: 10px 14px; font-size: 12px; }
  .prog-slot { gap: 12px; padding: 12px 14px; }
  .prog-slot-listen { display: none; }
  .prog-slot-time { width: 72px; }
}

/* ── 480px: small phone ── */
@media (max-width: 480px) {
  /* Keep only FB, IG, YT on very small screens */
  .topbar-socials a:nth-child(n+4) { display: none; }

  .hero-side { grid-template-columns: 1fr; }
  .hero-card { aspect-ratio: 16/9; }

  .cat-card { flex: 0 0 100px; }

  .news-card { flex-direction: column; }
  .nc-img { width: 100%; min-width: unset; aspect-ratio: 16/9; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .nc-body { padding: 12px; }

  .roh-item-img { width: 80px; height: 56px; }
  .roh-item-excerpt { display: none; }
  .roh-live-badge { display: none; }

  .author-box { gap: 10px; }
}

/* ── 360px: very small phone ── */
@media (max-width: 360px) {
  .site-logo img { width: 110px; height: 28px; }
  .cat-strip-inner { flex-wrap: wrap; justify-content: center; }
  .cat-card { flex: 0 0 calc(33.33% - 8px); }
  .cat-sub { display: none; }
  .topbar-date { display: none; }
  .share-btn span { display: none; }
  /* Topbar: already flex from 600px breakpoint — just ensure no date shown */
}

/* ═══════════════════════════════════════
   WORDPRESS WIDGET AREAS
═══════════════════════════════════════ */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.sidebar-widget .section-hdr {
  margin-bottom: 14px;
}
.sidebar-widget .section-hdr h2 {
  font-size: 14px;
}
/* WP default widget title (when before_title wraps it in section-hdr) */
.sidebar-widget ul {
  list-style: none;
  margin: 0; padding: 0;
}
.sidebar-widget ul li {
  border-bottom: 1px solid var(--gray-100);
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-mid);
}
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a { color: var(--text-mid); transition: color .2s; }
.sidebar-widget ul li a:hover { color: var(--blue-mid); }
/* Search widget */
.sidebar-widget .search-form { display: flex; gap: 6px; }
.sidebar-widget .search-field {
  flex: 1; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 8px 12px; font-size: 13px; outline: none;
  transition: border-color .2s;
}
.sidebar-widget .search-field:focus { border-color: var(--sky); }
.sidebar-widget .search-submit {
  background: var(--blue-mid); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 8px 14px;
  font-size: 13px; cursor: pointer; transition: background .2s;
}
.sidebar-widget .search-submit:hover { background: var(--blue); }
/* Text/HTML widget */
.sidebar-widget p { font-size: 13px; color: var(--text-mid); line-height: 1.6; margin-bottom: 8px; }
.sidebar-widget p:last-child { margin-bottom: 0; }
/* Tag Cloud widget */
.sidebar-widget .tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.sidebar-widget .tagcloud a {
  background: var(--gray-100); border-radius: 20px;
  padding: 4px 10px; font-size: 12px !important; color: var(--text-mid);
  transition: background .2s, color .2s;
}
.sidebar-widget .tagcloud a:hover { background: var(--blue-mid); color: #fff; }
/* Calendar widget */
.sidebar-widget .wp-calendar-table {
  width: 100%; border-collapse: collapse; font-size: 12px;
}
.sidebar-widget .wp-calendar-table td,
.sidebar-widget .wp-calendar-table th { padding: 4px; text-align: center; }

/* ═══════════════════════════════════════
   HOME HTML BLOCKS
═══════════════════════════════════════ */
.sfm-html-block {
  width: 100%;
  padding: 0;
  position: relative;
  z-index: 0;
}
.sfm-html-block-inner {
  max-width: 1380px; margin: 0 auto; padding: 24px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.sfm-html-block-inner iframe { max-width: 100%; display: block; }
.sfm-html-block-inner > * { max-width: 100%; }
.sfm-widget-item { width: 100%; }
.sfm-home-widget-area { padding: 36px 0 0; }
.sfm-home-widget { width: 100%; }

/* Inner wrapper — carries optional background color */
.sfm-widget-inner {
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 8px;
}

/* 4-column grid (widget context overrides the 3-col archive grid) */
.sfm-widget-grid-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 0;
}
@media (max-width: 1100px) { .sfm-widget-grid-inner { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 700px)  { .sfm-widget-grid-inner { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .sfm-widget-grid-inner { grid-template-columns: 1fr; } }

.sfm-widget-list-inner { margin-bottom: 0; }

/* ═══════════════════════════════════════
   WIDGET: MAGAZINE LAYOUT
═══════════════════════════════════════ */
.sfm-mag {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  margin-bottom: 36px;
}
.sfm-mag-main {
  position: relative; display: block;
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/9; text-decoration: none;
}
.sfm-mag-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .4s ease;
}
.sfm-mag-main:hover .sfm-mag-img { transform: scale(1.04); }
.sfm-mag-fallback {
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
}
.sfm-mag-fallback .icon { width: 48px; height: 48px; color: var(--sky); }
.sfm-mag-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 55%, transparent 100%);
}
.sfm-mag-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; }
.sfm-mag-cat {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  color: var(--sky); letter-spacing: .06em; margin-bottom: 6px;
}
.sfm-mag-body h3 { color: #fff; font-size: 20px; font-weight: 800; line-height: 1.3; margin: 0 0 6px; }
.sfm-mag-meta { font-size: 12px; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 4px; }
.sfm-mag-meta .icon { width: 12px; height: 12px; }

.sfm-mag-side { display: flex; flex-direction: column; gap: 10px; }
.sfm-mag-item {
  display: flex; gap: 10px; align-items: flex-start;
  text-decoration: none; padding: 10px;
  border-radius: 8px; background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}
.sfm-mag-item:hover { border-color: var(--sky); box-shadow: 0 2px 8px rgba(0,112,240,.12); }
.sfm-mag-item-img {
  width: 72px; height: 56px; border-radius: 6px; flex-shrink: 0;
  background: var(--bg-muted); background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.sfm-mag-item-fallback .icon { width: 20px; height: 20px; color: var(--sky); }
.sfm-mag-item-body { flex: 1; min-width: 0; }
.sfm-mag-item-cat {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  color: var(--sky); letter-spacing: .06em;
}
.sfm-mag-item-body h5 {
  font-size: 13px; font-weight: 700; color: var(--text);
  margin: 3px 0 4px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sfm-mag-item-time { font-size: 11px; color: var(--gray-400); display: flex; align-items: center; gap: 3px; }
.sfm-mag-item-time .icon { width: 11px; height: 11px; }

@media (max-width: 900px) {
  .sfm-mag { grid-template-columns: 1fr; }
  .sfm-mag-main { aspect-ratio: 16/8; }
}

/* ═══════════════════════════════════════
   WIDGET: HERO CARDS LAYOUT
═══════════════════════════════════════ */
.sfm-hero-cards {
  display: grid; gap: 16px; margin-bottom: 36px;
}
.sfm-hero-cards--1 { grid-template-columns: 1fr; }
.sfm-hero-cards--2 { grid-template-columns: repeat(2,1fr); }
.sfm-hero-cards--3 { grid-template-columns: repeat(3,1fr); }

.sfm-hero-card {
  position: relative; display: block;
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/9; text-decoration: none;
}
.sfm-hero-cards--1 .sfm-hero-card { aspect-ratio: 21/8; }

.sfm-hero-card-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .4s ease;
}
.sfm-hero-card:hover .sfm-hero-card-img { transform: scale(1.04); }
.sfm-hero-card-fallback {
  display: flex; align-items: center; justify-content: center; background: var(--navy);
}
.sfm-hero-card-fallback .icon { width: 48px; height: 48px; color: var(--sky); }
.sfm-hero-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}
.sfm-hero-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px 16px; }
.sfm-hero-card-cat {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  color: var(--sky); letter-spacing: .06em; margin-bottom: 5px;
}
.sfm-hero-card-body h3 { color: #fff; font-size: 17px; font-weight: 800; line-height: 1.3; margin: 0 0 5px; }
.sfm-hero-cards--1 .sfm-hero-card-body h3 { font-size: 24px; }
.sfm-hero-card-meta { font-size: 12px; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 4px; }
.sfm-hero-card-meta .icon { width: 12px; height: 12px; }

@media (max-width: 768px) {
  .sfm-hero-cards--2,
  .sfm-hero-cards--3 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   PRODUCTION — RESPONSIVE FIXES
═══════════════════════════════════════ */

/* ── YouTube / iframe embeds: always responsive ── */
.sfm-html-block-inner iframe,
.sfm-html-block-inner video,
.sfm-html-block-inner embed {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  display: block;
  max-width: 100%;
  border: none;
}
/* Handle the common padding-bottom responsive wrapper pattern */
.sfm-html-block-inner > div[style*="padding-bottom"] {
  position: relative !important;
  padding-bottom: 56.25% !important;
  height: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
}
.sfm-html-block-inner > div[style*="padding-bottom"] iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: unset !important;
}

/* ── Widget areas: responsive padding ── */
@media (max-width: 900px) {
  .sfm-home-widget-area { padding: 24px 0 0; }
  .sfm-widget-inner { padding: 20px; }
  .sfm-mag { grid-template-columns: 1fr; }
  .sfm-mag-body h3 { font-size: 17px; }
}
@media (max-width: 600px) {
  .sfm-home-widget-area { padding: 16px 0 0; }
  .sfm-widget-inner { padding: 14px; }
  .sfm-widget-grid-inner { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .sfm-mag-item-img { width: 60px; height: 48px; }
  .sfm-hero-cards--1 .sfm-hero-card { aspect-ratio: 16/9; }
  .sfm-hero-cards--1 .sfm-hero-card-body h3 { font-size: 18px; }
}
@media (max-width: 480px) {
  .sfm-widget-grid-inner { grid-template-columns: 1fr; }
  .sfm-mag-side { gap: 8px; }
  .sfm-mag-item { padding: 8px; }
}

/* ── HTML blocks: full padding on mobile ── */
@media (max-width: 600px) {
  .sfm-html-block-inner { padding: 16px 12px; }
}

/* ── SVG icon baseline: ensure no icon is unsized ── */
.icon { flex-shrink: 0; }

/* ── Mobile nav: smooth slide-down animation ── */
.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
  display: flex !important; /* always in DOM, height-toggled */
}
.mobile-nav.open {
  max-height: 80vh;
  /* No overflow-y:auto here — avoids a nested scroll container that
     "steals" the user's swipe and breaks page scrolling on iOS */
  overflow: hidden;
  overscroll-behavior: contain;
}

/* ── Submenu hover bridge: prevents gap from losing hover ── */
.main-nav li.menu-item-has-children::before {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 12px;
  z-index: 9998;
}

/* ── News card: consistent height on tablet grid ── */
@media (min-width: 601px) {
  .news-card { height: 100%; }
  .nc-img { aspect-ratio: 16/9; }
}

/* ── Archive header: responsive text ── */
@media (max-width: 600px) {
  .archive-header { padding: 20px 0; }
  .archive-header h1 { font-size: 20px; }
  .archive-header-logo { width: 28px; height: 28px; max-width: 28px; max-height: 28px; }
}

/* ── WordPress Admin Bar: min-width:600px causes horizontal overflow on mobile ── */
@media screen and (max-width: 600px) {
  #wpadminbar { display: none !important; }
  html { margin-top: 0 !important; }
}

/* ── Topbar: hide date on very small screens, keep icon compact ── */
@media (max-width: 420px) {
  .topbar-date { display: none; }
  .topbar-socials a { width: 24px; height: 24px; }
  .topbar-search-icon { width: 24px; height: 24px; }
}
