﻿/*
 Theme Name: RadioTV10 New Theme 2026
 Template: news-post
 Version: 2.0.0
 Description: RADIOTV10 official theme — BBC/CNN style bilingual news layout (RW/EN)
 Author: RADIOTV10
*/
@import url("../news-post/style.css");

/* ============================================================
   RADIOTV10 — BBC/CNN Style Design System
   Rule: 90% white, 10% orange. Orange = accent ONLY.
   ============================================================ */

/* --- Google Fonts preconnect handled in functions.php --- */

:root {
  --color-orange:  #fe8100;
  --color-white:   #ffffff;
  --color-text:    #222222;
  --color-muted:   #555555;
  --color-dim:     #888888;
  --color-border:  #e5e5e5;
  --font-headline: 'Source Serif 4', Georgia, serif;
  --font-body:     'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max-width:     1200px;

  /* Override parent theme grey backgrounds */
  --theme-background-hue:       #ffffff;
  --theme-background-hue-light: #ffffff;
  --theme-background-dark-hue:  #ffffff;
}

/* ── Kill every parent-theme layout constraint ──────────────────────────── */

/* Force full white background on all wrappers */
html,
body,
#page,
#page.site,
.site,
.site-content,
.site-main,
.theme-wrapper,
.site-container-width,
.main-banner-container,
.single-page { background: #ffffff !important; }

/* Remove parent header bottom margin that pushes content down */
.site-header { margin-bottom: 0 !important; }

/* Force theme-wrapper to be a simple block — no flex sidebar layout */
.theme-wrapper {
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Force primary/secondary to full width — no 70/30 split */
.theme-wrapper #primary,
.theme-wrapper #secondary,
#primary,
#secondary {
  width: 100% !important;
  max-width: 100% !important;
  position: static !important;
}

/* Remove any box-shadow or max-width that creates a "card" appearance */
#page,
#page.site {
  max-width: 100% !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove parent site-content top margin on single posts */
body.single .site-content { margin-top: 0 !important; }

/* ============================================================
   BASE RESET — kill parent theme orange
   ============================================================ */


/* Global: white text on any orange (#fe8100) background */
.rtv-cat-badge,
.rtv-arch-lead__badge,
.rtv-arch-card__overlay-badge,
.rtv-arch-btn,
.rtv-breaking-box__btn,
.rtv-breaking-box__cat,
.rtv-hot-card__cat,
.rtv-slide__cat,
.rtv-ticker__label,
.rtv-arch-pagination .page-numbers.current,
.rtv-arch-pagination .page-numbers:hover,
.rtv-section-title__more:hover,
.rtv-btn-outline:hover,
.comment-form input[type="submit"],
[class*="rtv-"][style*="background"] {
  color: #ffffff !important;
}
*, *::before, *::after { box-sizing: border-box; }

body {
  background: #ffffff !important;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Nuke any orange backgrounds the parent theme may inject */
.site-header,
#masthead,
.theme-top-header,
.theme-main-header,
.middle-header-quick-menu,
.site-middle-header,
.primary-nav,
.main-navigation,
#site-navigation,
.primary-nav-container,
.header-nav {
  background: #ffffff !important;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  color: var(--color-text);
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

a {
  color: var(--color-text);
  text-decoration: none;
}
a:hover { color: var(--color-orange); }

img { display: block; width: 100%; height: auto; }

/* ============================================================
   SITE CONTAINER
   ============================================================ */
.rtv-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================================
   MASTHEAD — social+date left · logo center · lang right
   ============================================================ */
.rtv-masthead {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 14px 0;
}
.rtv-masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Left: social icons + date stacked */
.rtv-masthead__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  min-width: 160px;
}
.rtv-masthead__social {
  display: flex;
  gap: 6px;
  align-items: center;
}
.rtv-masthead__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 12px;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  background: #fff;
}
.rtv-masthead__social a:hover {
  background: var(--color-orange);
  color: #fff;
  border-color: var(--color-orange);
}
/* Top row: social icons + divider + app buttons all in one line */
.rtv-masthead__top-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Thin vertical line divider between social icons and app buttons */
.rtv-masthead__vline {
  width: 1px;
  height: 20px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* App store buttons container */
.rtv-app-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Individual app button — pill with icon + label */
.rtv-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  border-radius: 14px;
  border: 1.5px solid #222;
  background: #222;
  color: #fff;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.rtv-app-btn i { font-size: 11px; }
.rtv-app-btn:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #fff;
  transform: translateY(-1px);
}

/* Inactive — URL not configured yet in admin */
.rtv-app-btn--inactive {
  background: #f0f0f0;
  border-color: #ddd;
  color: #bbb;
  cursor: default;
}
.rtv-app-btn--inactive:hover {
  background: #f0f0f0;
  border-color: #ddd;
  color: #bbb;
  transform: none;
}

@media (max-width: 900px) {
  .rtv-app-btn span { display: none; }
  .rtv-app-btn { width: 28px; padding: 0; justify-content: center; border-radius: 6px; }
}
/* Row that holds the date + app download buttons */
.rtv-masthead__bottom-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.rtv-masthead__date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-dim);
  letter-spacing: 0.03em;
}
.rtv-masthead__date::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-orange);
  flex-shrink: 0;
}

/* Download App buttons */
.rtv-app-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}
.rtv-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1.5px solid #222;
  background: #222;
  color: #fff;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.rtv-app-btn i { font-size: 12px; }
.rtv-app-btn:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .rtv-app-btn span { display: none; }  /* icon only on mobile */
  .rtv-app-btn { padding: 5px 8px; border-radius: 50%; width: 28px; height: 28px; justify-content: center; }
}

/* Center: brand */
.rtv-masthead__brand {
  text-align: center;
  flex: 1;
}
.rtv-masthead__logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  line-height: 1;
}
.rtv-masthead__logo-radio {
  font-family: var(--font-headline);
  font-size: 32px;
  font-weight: 900;
  color: var(--color-orange);
  letter-spacing: -1px;
}
.rtv-masthead__logo-tv {
  font-family: var(--font-headline);
  font-size: 32px;
  font-weight: 900;
  color: #1e2d3d;
  letter-spacing: -1px;
}
.rtv-masthead__logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.rtv-masthead__logo-png {
  display: block;
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

/* Right: language switcher */
.rtv-masthead__lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  min-width: 140px;
  justify-content: flex-end;
}
.rtv-masthead__lang a { color: var(--color-dim); text-decoration: none; padding: 2px 4px; transition: color 0.15s; }
.rtv-masthead__lang a.active { color: var(--color-orange); }
.rtv-masthead__lang a[title] { opacity: .55; cursor: help; } /* no-translation state */
.rtv-masthead__lang a[title]:hover { opacity: .8; }
.rtv-masthead__lang span { color: var(--color-border); }

/* ── Language confirmation modal ── */
#rtv-lang-confirm {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}
#rtv-lang-confirm.open { display: flex; }
.rtv-conf-box {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px 28px;
  max-width: 380px;
  width: 90%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  animation: rtv-slide-down 0.2s ease;
}
.rtv-conf-icon {
  width: 56px;
  height: 56px;
  background: rgba(254,129,0,0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: var(--color-orange);
}
.rtv-conf-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
}
.rtv-conf-msg {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 24px;
}
.rtv-conf-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rtv-conf-btn {
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
}
.rtv-conf-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.rtv-conf-btn--yes {
  background: var(--color-orange);
  color: #fff;
}
.rtv-conf-btn--no {
  background: #f5f5f5;
  color: #444;
}

/* Tooltip on the ? icon in the not-translated notice bar */
.rtv-notrans-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: help;
  color: #996600;
}
.rtv-notrans-tip i { font-size: 14px; }
.rtv-notrans-tip__box {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  background: #222;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 6px;
  width: 260px;
  white-space: normal;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  z-index: 9999;
  pointer-events: none;
}
.rtv-notrans-tip__box::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 12px;
  border: 5px solid transparent;
  border-top-color: #222;
}
.rtv-notrans-tip:hover .rtv-notrans-tip__box { display: block; }

/* "Not translated" notice bar */
.rtv-notrans-bar {
  background: #fff3cd;
  border-bottom: 1px solid #ffc107;
  color: #664d03;
  font-size: 13px;
  font-family: var(--font-body);
  padding: 9px 0;
}

/* ============================================================
   STICKY NAV BAR  (§4.3)
   ============================================================ */
.rtv-header {
  background: #ffffff;
  border-bottom: 2px solid var(--color-orange);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.rtv-header__bar {
  display: flex;
  align-items: stretch;
  height: 46px;
}
.rtv-nav__wrap { display: none; } /* not used in this layout */
.rtv-nav__menu {
  display: flex;
  align-items: stretch;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.rtv-nav__menu li { display: flex; align-items: stretch; }
.rtv-nav__menu a {
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #444;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.rtv-nav__menu a:hover,
.rtv-nav__menu .current-menu-item > a,
.rtv-nav__menu .current_page_item > a {
  color: var(--color-orange);
  border-bottom-color: var(--color-orange);
}

/* Search in masthead (reuse .rtv-header__search-* classes) */
.rtv-header__search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
  font-size: 16px;
  padding: 6px 0;
  transition: color 0.15s;
}
.rtv-header__search-btn:hover { color: var(--color-orange); }
.rtv-header__search-form {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 8px;
  z-index: 200;
  min-width: 260px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.rtv-header__search-form.is-open { display: block; }
.rtv-header__search-form input[type="search"] {
  width: 100%;
  border: 1px solid var(--color-border);
  padding: 8px 12px;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  box-sizing: border-box;
}
.rtv-header__search-form input[type="search"]:focus { border-color: var(--color-orange); }

/* Mobile hamburger */
.rtv-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  min-width: 40px;
  min-height: 40px;
  align-self: center;
  margin-left: auto;
  flex-shrink: 0;
}
.rtv-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.rtv-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rtv-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.rtv-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* header__social & header__controls not used — defined for mobile compat */
.rtv-header__social { display: none; }
.rtv-header__controls { display: none; }
.rtv-nav__lang { display: none; }
/* ============================================================
   BREAKING NEWS TICKER  (§4.4)
   ============================================================ */
.rtv-ticker {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  height: 38px;
  overflow: hidden;
}
.rtv-ticker__label {
  background: var(--color-orange);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 16px;
  border-radius: 2px;
}
.rtv-ticker__track {
  overflow: hidden;
  flex: 1;
}
.rtv-ticker__items {
  display: flex;
  gap: 0;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
}
.rtv-ticker__items a {
  color: var(--color-text);
  font-size: 13px;
  font-family: var(--font-body);
  padding: 0 32px 0 0;
  text-decoration: none;
  transition: color 0.15s;
}
.rtv-ticker__items a:hover { color: var(--color-orange); }
.rtv-ticker__items a::before {
  content: '•';
  margin-right: 12px;
  color: var(--color-orange);
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.rtv-ticker:hover .rtv-ticker__items { animation-play-state: paused; }

/* ============================================================
   SHARED CARD ELEMENTS
   ============================================================ */
.rtv-cat-badge {
  display: inline-block;
  background: var(--color-orange);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 2px;
  margin-bottom: 6px;
  text-decoration: none;
}
.rtv-cat-badge:hover { background: #e07000; color: #fff; }

.rtv-timestamp {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 6px;
}

.rtv-thumb-ratio {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: #f0f0f0;
}
.rtv-thumb-ratio img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.rtv-thumb-ratio:hover img { transform: scale(1.03); }

/* ============================================================
   HERO V2 — Slider left + Panels right
   ============================================================ */
.rtv-hero-v2 {
  display: grid;
  grid-template-columns: 1fr 300px 220px;
  column-gap: 0;
  height: 480px;
  margin-top: 20px;
  border: 1px solid var(--color-border);
  background: var(--color-border);
  overflow: hidden;
  position: relative;
  transition: grid-template-columns 0.55s cubic-bezier(0.4,0,0.2,1);
}

/* Collapse 3rd column when ad is closed — slider expands automatically */
.rtv-hero-v2.rtv-ad-closed {
  grid-template-columns: 1fr 300px 0px;
}

/* No ad slot rendered (visitor + empty slot, or slot turned OFF) — revert to 2-col */
.rtv-hero-v2.rtv-no-ad {
  grid-template-columns: 1fr 300px;
}

/* Category section right column turned OFF — collapse to 2-col grid */
.rtv-cat-section__body--no-right {
  grid-template-columns: 1fr 260px !important;
}

/* .rtv-arch-layout is now a plain block — no sidebar grid needed */

/* ── SLIDER ── */
.rtv-slider {
  position: relative;
  overflow: hidden;
  height: 100%;
}
.rtv-slider__track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.rtv-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}
.rtv-slide__bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 6s ease;
}
.rtv-slide.is-active .rtv-slide__bg {
  transform: scale(1.04);
}
.rtv-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 28px 32px;
}
.rtv-slide__cat {
  display: inline-block;
  background: var(--color-orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
  text-decoration: none;
  align-self: flex-start;
}
.rtv-slide__title {
  font-family: var(--font-headline);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.22;
  color: #fff;
  margin: 0 0 8px;
}
.rtv-slide__title a {
  color: #fff;
  text-decoration: none;
}
.rtv-slide__title a:hover { color: #ffd699; }
.rtv-slide__meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  margin: 0;
}
.rtv-slide__meta i { margin-right: 4px; }

/* Arrows */
.rtv-slider__prev,
.rtv-slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255,255,255,0.88);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text);
  transition: background 0.18s, color 0.18s, transform 0.18s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.rtv-slider__prev { left: 14px; }
.rtv-slider__next { right: 14px; }
.rtv-slider__prev:hover,
.rtv-slider__next:hover {
  background: var(--color-orange);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

/* Dots */
.rtv-slider__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 7px;
}
.rtv-slider__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.rtv-slider__dot.active {
  background: var(--color-orange);
  border-color: var(--color-orange);
  transform: scale(1.2);
}

/* ── RIGHT PANELS ── */
.rtv-hero-panels {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--color-border);
  /* explicit px so flex children have a definite reference height */
  height: 480px;
  overflow: hidden;
}

/* BREAKING NEWS box — clean white card, high contrast, accessible */
.rtv-breaking-box {
  flex: 0 0 200px;
  min-height: 0;
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Thumbnail image top half */
.rtv-breaking-box__thumb {
  width: 100%;
  height: 110px;
  background-size: cover;
  background-position: center;
  background-color: #e5e5e5;
  flex-shrink: 0;
}
/* Text content bottom half */
.rtv-breaking-box__overlay {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px 14px 12px;
  background: #ffffff;
}
.rtv-breaking-box__label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-orange);
  margin-bottom: 5px;
}
.rtv-breaking-box__cat {
  display: inline-block;
  background: var(--color-orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 2px;
  margin-bottom: 6px;
  text-decoration: none;
  align-self: flex-start;
}
.rtv-breaking-box h3 {
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
  margin: 0 0 8px;
}
.rtv-breaking-box h3 a { color: var(--color-text); text-decoration: none; }
.rtv-breaking-box h3 a:hover { color: var(--color-orange); }
.rtv-breaking-box__btn {
  display: inline-block;
  background: var(--color-orange);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.15s;
}
.rtv-breaking-box__btn:hover { background: #e07200; color: #fff; }

/* HOT NEWS box */
.rtv-hot-box {
  flex: 1;          /* fill remaining 280px */
  min-height: 0;    /* allow shrink below content size */
  padding: 14px 18px 12px;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
}
.rtv-hot-box__head { margin-bottom: 10px; flex-shrink: 0; }
.rtv-hot-box__title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text);
  border-left: 3px solid var(--color-orange);
  padding-left: 8px;
}

/* HOT NEWS — 2-column image grid, vertically scrollable */
.rtv-hot-box__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  align-content: start;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}
.rtv-hot-box__list::-webkit-scrollbar { width: 3px; }
.rtv-hot-box__list::-webkit-scrollbar-track { background: transparent; }
.rtv-hot-box__list::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }

.rtv-hot-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rtv-hot-card__img {
  display: block;
  width: 100%;
  height: 72px;
  background-size: cover;
  background-position: center;
  background-color: #e0e0e0;
  border-radius: 2px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.rtv-hot-card__img:hover { opacity: 0.85; }

.rtv-hot-card__body { padding-top: 5px; min-width: 0; }
.rtv-hot-card__cat {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-orange);
  margin-bottom: 2px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rtv-hot-card h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rtv-hot-card h4 a { color: var(--color-text); text-decoration: none; }
.rtv-hot-card h4 a:hover { color: var(--color-orange); }



/* ============================================================
   HERO AD SLOT — right column, 220px wide, full hero height
   ============================================================ */

/* Outer shell — white, clean, matches site palette */
.rtv-hero-ad {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-left: 1px solid var(--color-border);
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.35s ease;
}

/* Fade out when grid column is collapsing */
.rtv-hero-v2.rtv-ad-closed .rtv-hero-ad {
  opacity: 0;
  pointer-events: none;
}

/* Header row: ADVERTISEMENT label + circle button side by side */
.rtv-hero-ad__head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 6px 8px;
  background: #fafafa;
  border-bottom: 1px solid var(--color-border);
}

/* "ADVERTISEMENT" label */
.rtv-hero-ad__badge {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aaa;
}

/*
 * Ad close/countdown circle — two states controlled by JS:
 *   .is-counting  → orange ring, shows remaining seconds (non-clickable)
 *   (no class)    → solid orange, shows ×, clickable close
 */
.rtv-hero-ad__close {
  flex-shrink: 0;
  width:  32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 900;
  line-height: 1;
  transition:
    background   0.35s ease,
    border-color 0.35s ease,
    color        0.35s ease,
    box-shadow   0.35s ease,
    font-size    0.2s  ease,
    transform    0.2s  ease;
}

/* Counting state — orange ring, number inside, not clickable */
.rtv-hero-ad__close.is-counting {
  background:     transparent;
  border:         2.5px solid var(--color-orange);
  color:          var(--color-orange);
  font-size:      12px;
  cursor:         default;
  pointer-events: none;
  box-shadow:     0 0 0 3px rgba(255, 130, 0, 0.12);
}

/* Ready state — solid orange circle with ×, clickable */
.rtv-hero-ad__close:not(.is-counting) {
  background:  var(--color-orange);
  border:      2.5px solid var(--color-orange);
  color:       #ffffff;
  font-size:   18px;
  cursor:      pointer;
  box-shadow:  0 2px 10px rgba(255, 130, 0, 0.45);
}
.rtv-hero-ad__close:not(.is-counting):hover {
  background:   #d97000;
  border-color: #d97000;
  box-shadow:   0 4px 18px rgba(255, 130, 0, 0.65);
  transform:    scale(1.12) rotate(90deg);
}

/* Ad media area — image/banner fills all space above the footer */
.rtv-hero-ad__media {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  background: #ffffff;
  padding: 6px 6px 4px;  /* breathing room — matches the category right column feel */
}
.rtv-hero-ad__media a {
  display: block;
  width: 100%;
  height: 100%;
}
.rtv-hero-ad__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder — shown when no ad image is configured */
.rtv-hero-ad__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px 16px;
  background: repeating-linear-gradient(
    -45deg,
    #f9f9f9,
    #f9f9f9 6px,
    #f2f2f2 6px,
    #f2f2f2 12px
  );
}
.rtv-hero-ad__placeholder-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #fff;
  border: 2px solid #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.rtv-hero-ad__placeholder span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #bbb;
}
.rtv-hero-ad__placeholder small {
  font-size: 10px;
  color: #ccc;
  letter-spacing: 0.04em;
  background: #fff;
  border: 1px solid #e8e8e8;
  padding: 2px 8px;
  border-radius: 3px;
}

/* Admin-only placeholder — orange dashed border, friendly prompt */
.rtv-hero-ad__placeholder--admin {
  background: #fff9f3 !important;
  border: 2px dashed #ffd199 !important;
}
.rtv-hero-ad__placeholder--admin .rtv-hero-ad__placeholder-icon {
  border-color: var(--color-orange) !important;
  color: var(--color-orange) !important;
  background: #fff3e0 !important;
}
.rtv-hero-ad__placeholder--admin span { color: var(--color-orange) !important; }
.rtv-hero-ad__placeholder--admin small {
  color: #888 !important;
  font-size: 9px !important;
  text-align: center;
  line-height: 1.4;
  white-space: normal;
}


/* Orange progress bar — drains left to right over 10s */
.rtv-hero-ad__bar {
  height: 3px;
  background: #e8e8e8;
  border-radius: 2px;
  overflow: hidden;
}
.rtv-hero-ad__bar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, var(--color-orange) 0%, #ffb347 100%);
  border-radius: 2px;
  transition: width 1s linear;
}

/* ============================================================
   HOMEPAGE WRAPPER
   ============================================================ */
.rtv-homepage {
  background: #ffffff;
  padding-bottom: 48px;
}
.rtv-section-gap { margin-top: 40px; }

/* old 3-col hero removed — replaced by .rtv-hero-v2 slider layout */

/* ============================================================
   SECONDARY STORIES — 4-column grid  (§4.6)
   ============================================================ */
.rtv-secondary {
  margin-top: 1px;
  border: 1px solid var(--color-border);
  border-top: none;
}
.rtv-secondary__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--color-border);
  gap: 1px;
}

/* Secondary section on homepage — 4-column responsive arch-card grid */
.rtv-secondary {
  overflow: visible;
  padding-top: 12px;
}
.rtv-secondary .rtv-arch-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 0;
  overflow: visible;
}
.rtv-secondary .rtv-arch-card {
  overflow: visible;
}
.rtv-secondary .rtv-arch-card__img {
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  height: 150px;
}
.rtv-secondary .rtv-arch-card__title {
  font-size: 14px;
  line-height: 1.4;
}
.rtv-secondary .rtv-arch-card__excerpt {
  font-size: 12px;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Responsive */
@media (max-width: 900px) {
  .rtv-secondary .rtv-arch-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 500px) {
  .rtv-secondary .rtv-arch-grid {
    grid-template-columns: 1fr !important;
  }
}
.rtv-secondary__card {
  background: #ffffff;
  padding: 16px;
}
.rtv-secondary__card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 8px 0 4px;
}
.rtv-secondary__card h3 a { color: var(--color-text); }
.rtv-secondary__card h3 a:hover { color: var(--color-orange); }
.rtv-secondary__card .rtv-summary {
  font-size: 13px;
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   SECTION TITLE — used for all category sections  (§4.7)
   ============================================================ */
.rtv-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}
.rtv-section-title__text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text);
  padding-left: 12px;
  border-left: 3px solid var(--color-orange);
}
.rtv-section-title__more {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-orange);
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--color-orange);
  border-radius: 20px;
  padding: 4px 12px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.rtv-section-title__more:hover {
  background: var(--color-orange);
  color: #fff;
}

/* ============================================================
   CATEGORY SECTION LAYOUT  (§4.7)
   1 large story left + 3 small stories stacked right
   ============================================================ */
.rtv-cat-section { margin-top: 36px; }
.rtv-cat-section__body {
  display: grid;
  grid-template-columns: 1fr 260px 200px;
  gap: 24px;
  margin-top: 16px;
  align-items: start;
}

/* Slot 6 — horizontal strip spanning all columns at the bottom of each section body */
.rtv-cat-section__full-ad {
  grid-column: 1 / -1;
  margin-top: 4px;
}

/* Sticky right ad column — slot 8 */
.rtv-cat-section__ad-col {
  position: sticky;
  top: 80px;
  align-self: start;
}
/* Large story */
.rtv-cat-section__main h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin: 10px 0 6px;
}
.rtv-cat-section__main h3 a { color: var(--color-text); }
.rtv-cat-section__main h3 a:hover { color: var(--color-orange); }
.rtv-cat-section__main .rtv-summary {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Small stories list */
.rtv-cat-section__sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rtv-cat-section__small {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}
.rtv-cat-section__small:last-child { border-bottom: none; }
.rtv-cat-section__small h4 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 4px;
}
.rtv-cat-section__small h4 a { color: var(--color-text); }
.rtv-cat-section__small h4 a:hover { color: var(--color-orange); }

/* ============================================================
   MOST READ  (§4.8)
   ============================================================ */
.rtv-most-read { margin-top: 40px; }
.rtv-most-read__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.rtv-most-read__item {
  background: #ffffff;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.rtv-most-read__num {
  font-family: var(--font-headline);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-border);
  line-height: 1;
  flex-shrink: 0;
  min-width: 36px;
}
.rtv-most-read__headline {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  text-decoration: none;
}
.rtv-most-read__headline:hover { color: var(--color-orange); }

/* ============================================================
   SINGLE POST — Article page
   ============================================================ */
.rtv-article-page {
  background: #ffffff;
  padding-bottom: 60px;
}

/* Article header */
.rtv-article-header {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
}
.rtv-article-cat {
  margin-bottom: 14px;
  display: inline-block;
}
.rtv-article-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-muted);
  line-height: 1.55;
  margin: 8px 0 16px;
  font-weight: 400;
  border-left: 3px solid var(--color-orange);
  padding-left: 14px;
}

.rtv-article-title {
  font-family: var(--font-headline);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin: 0 0 18px;
  max-width: 820px;
}
.rtv-article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-muted);
}
.rtv-article-meta__sep { color: var(--color-border); }
.rtv-article-meta i { margin-right: 4px; }

/* Featured image */
.rtv-article-featured-img {
  margin: 0 0 36px;
  background: #f0f0f0;
}
.rtv-article-featured-img img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}
.rtv-article-img-caption {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-muted);
  padding: 8px 0 0;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

/* Body wrapper: share bar left + article center */
/* Article body wrap — completely unchanged from original */
.rtv-article-body-wrap {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}

/* ── Single article: outer flex section ─────────────────────────────────
   The container (with article) is one flex child.
   The right ad is a second flex child OUTSIDE the container.
   Article text width is NEVER touched.                                   */
.rtv-single-body-section {
  display: block; /* default: no ad visible */
}
.rtv-single-body-section.has-right-ad {
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
/* Container inside the flex takes all remaining space */
.rtv-single-body-section.has-right-ad > .rtv-container {
  flex: 1;
  min-width: 0;
}

/* Right ad — rectangle, outside the article, in the viewport margin */
.rtv-single-right-ad {
  display: none; /* hidden by default, shown only at ≥1300px */
  flex: 0 0 200px;
  width: 200px;
  height: 300px; /* standard rectangle proportion */
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  background: #fff;
  position: sticky;
  top: 80px;
  align-self: start;
  margin-right: 16px; /* gap from viewport edge */
}
/* Show only when there is enough screen space (article 900px + ad 200px + gaps) */
@media (min-width: 1300px) {
  .rtv-single-right-ad { display: block; }
}

/* Vertical slot inside the right ad fills the rectangle */
.rtv-single-right-ad .rtv-ad-slot--vertical {
  height: 100%;
  margin: 0;
}
/* 2 ads each get exactly half the rectangle height */
.rtv-single-right-ad .rtv-ad-slot--vertical .rtv-ad-slot__item {
  flex: 0 0 calc((100% - 4px) / 2);
  border-radius: 0;
}
.rtv-single-right-ad .rtv-ad-slot--vertical .rtv-ad-slot__img {
  border-radius: 0;
}
.rtv-single-right-ad .rtv-slot-empty-chip {
  margin: 8px;
  font-size: 9px;
}

/* Left share bar */
.rtv-share-bar {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: sticky;
  top: 64px;
  padding-top: 4px;
}
.rtv-share-bar__label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 4px;
}
.rtv-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 14px;
  color: #ffffff;
  transition: transform 0.15s, opacity 0.15s;
}
.rtv-share-btn:hover { transform: scale(1.1); opacity: 0.9; color: #fff; }
.rtv-share-btn--fb { background: #1877f2; }
.rtv-share-btn--tw { background: #000000; }
.rtv-share-btn--wa { background: #25d366; }

/* Article content */
.rtv-article-content { flex: 1; min-width: 0; }

.rtv-article-text {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text);
}
.rtv-article-text p { margin: 0 0 1.5em; }
.rtv-article-text h2 {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin: 2em 0 0.75em;
  padding-left: 12px;
  border-left: 4px solid var(--color-orange);
}
.rtv-article-text h3 {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin: 1.5em 0 0.6em;
}
.rtv-article-text blockquote {
  border-left: 4px solid var(--color-orange);
  padding: 12px 20px;
  margin: 1.5em 0;
  background: #fff8f2;
  font-style: italic;
  color: var(--color-muted);
}
.rtv-article-text img {
  max-width: 100%;
  height: auto;
  margin: 1.5em 0;
}
.rtv-article-text a {
  color: var(--color-orange);
  text-decoration: underline;
}
.rtv-article-text ul, .rtv-article-text ol {
  padding-left: 24px;
  margin: 0 0 1.5em;
}
.rtv-article-text li { margin-bottom: 0.4em; }

/* Tags */
.rtv-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}
.rtv-article-tags__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
}
.rtv-tag-pill {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  padding: 3px 10px;
  border-radius: 20px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.rtv-tag-pill:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

/* Bottom share row */
.rtv-article-share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-muted);
}
.rtv-article-share-row a {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  transition: border-color 0.15s, color 0.15s;
}
.rtv-article-share-row a:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

/* Related articles */
.rtv-related-section {
  margin-top: 52px;
  padding-top: 40px;
  border-top: 3px solid var(--color-border);
}
.rtv-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.rtv-related-card { display: flex; flex-direction: column; }
.rtv-related-card__img {
  display: block;
  position: relative;
  padding-top: 60%;
  overflow: hidden;
  background: #f0f0f0;
  margin-bottom: 12px;
}
.rtv-related-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.rtv-related-card__img:hover img { transform: scale(1.04); }
.rtv-related-card__img--placeholder { background: #eeeeee; }
.rtv-related-card__body { flex: 1; }
.rtv-related-card h3 {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 8px 0 6px;
}
.rtv-related-card h3 a { color: var(--color-text); text-decoration: none; }
.rtv-related-card h3 a:hover { color: var(--color-orange); }

/* Single post responsive */
@media (max-width: 768px) {
  .rtv-article-title { font-size: 26px; }
  .rtv-share-bar { display: none; }
  .rtv-article-body-wrap { max-width: 100%; }
  /* Right ad already hidden via its own media query (min-width: 1300px) */
  .rtv-related-grid { grid-template-columns: 1fr 1fr; }
  .rtv-article-text { font-size: 16px; }
}
@media (max-width: 480px) {
  .rtv-article-title { font-size: 22px; }
  .rtv-related-grid { grid-template-columns: 1fr; }
  .rtv-article-featured-img img { max-height: 240px; }
}

/* ============================================================
   ARCHIVE PAGE — Modern magazine-style category listing
   ============================================================ */
.rtv-archive-page {
  background: #ffffff;
  padding-bottom: 60px;
}

/* Archive two-column layout: main content + sticky sidebar */
/* Archive outer wrapper — plain block container, not a grid */
.rtv-arch-layout { display: block; margin-top: 0; }

/* TOP SECTION: 2-col grid for lead story + vertical ad only.
   .rtv-arch-main (articles) is a plain block below this — never a grid child. */
.rtv-arch-top {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}
.rtv-arch-top--full { grid-template-columns: 1fr; }

/* Vertical ad column — stretches to match lead story height automatically */
.rtv-arch-top-ad { overflow: hidden; }
.rtv-arch-top-ad .rtv-ad-slot--vertical { height: 100%; }

/* Article section — always a full-width block, untouched by any grid */
.rtv-arch-main { min-width: 0; width: 100%; }

/* ── Category header ── */
.rtv-arch-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 32px 0 20px;
  border-bottom: 3px solid var(--color-orange);
  margin-bottom: 32px;
}
.rtv-arch-header__label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-orange);
  margin-bottom: 4px;
}
.rtv-arch-header__title {
  font-family: var(--font-headline);
  font-size: 36px;
  font-weight: 900;
  color: var(--color-text);
  margin: 0;
  line-height: 1.1;
}
.rtv-arch-header__count {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-muted);
  white-space: nowrap;
  padding-bottom: 4px;
}

/* ── Lead story ── */
.rtv-arch-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.rtv-arch-lead__img {
  position: relative;
  display: block;
  background-size: cover;
  background-position: center;
  background-color: #e5e5e5;
  min-height: 340px;
  overflow: hidden;
  transition: opacity 0.2s;
}
.rtv-arch-lead__img:hover { opacity: 0.92; }
.rtv-arch-lead__badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--color-orange);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 2px;
}
.rtv-arch-lead__body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}
.rtv-arch-lead__meta-top { margin-bottom: 14px; }
.rtv-arch-lead__title {
  font-family: var(--font-headline);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-text);
  margin: 0 0 16px;
}
.rtv-arch-lead__title a { color: var(--color-text); text-decoration: none; }
.rtv-arch-lead__title a:hover { color: var(--color-orange); }
.rtv-arch-lead__excerpt {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0 0 24px;
}
.rtv-arch-lead__footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-dim);
}
.rtv-arch-lead__footer i { margin-right: 4px; }

/* ── Read More button ── */
.rtv-arch-btn {
  display: inline-block;
  background: var(--color-orange);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.15s;
  margin-left: auto;
}
.rtv-arch-btn:hover { background: #e07200; color: #ffffff; }

/* ── Card grid ── */
.rtv-arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.rtv-arch-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.rtv-arch-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}
.rtv-arch-card__img {
  display: block;
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #e5e5e5;
  overflow: hidden;
}
.rtv-arch-card__overlay-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-orange);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 8px;
  border-radius: 2px;
}
.rtv-arch-card__body {
  flex: 1;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
}
.rtv-arch-card__title {
  font-family: var(--font-headline);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
  margin: 0 0 10px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rtv-arch-card__title a { color: var(--color-text); text-decoration: none; }
.rtv-arch-card:hover .rtv-arch-card__title a { color: var(--color-orange); }
.rtv-arch-card__excerpt {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rtv-arch-card__footer {
  display: flex;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-dim);
  border-top: 1px solid var(--color-border);
  padding-top: 10px;
}
.rtv-arch-card__footer i { margin-right: 3px; }

/* ── Pagination ── */
.rtv-arch-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.rtv-arch-pagination .page-numbers {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border: 2px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.15s;
  border-radius: 2px;
}
.rtv-arch-pagination .page-numbers:hover,
.rtv-arch-pagination .page-numbers.current {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #ffffff;
}

/* ── No posts ── */
.rtv-no-posts {
  text-align: center;
  padding: 80px 0;
  color: var(--color-muted);
}
.rtv-no-posts p { font-size: 18px; margin-bottom: 24px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .rtv-arch-lead { grid-template-columns: 1fr; }
  .rtv-arch-lead__img { min-height: 240px; }
  .rtv-arch-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .rtv-arch-header__title { font-size: 26px; }
  .rtv-arch-lead__body { padding: 20px; }
  .rtv-arch-lead__title { font-size: 22px; }
  .rtv-arch-grid { grid-template-columns: 1fr; gap: 16px; }
}
/* ============================================================
   COMMENTS SECTION
   ============================================================ */
.rtv-comments-wrap {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 48px 0 60px;
}
.rtv-comments-wrap .rtv-container { max-width: 780px; }

/* Comment list title */
.rtv-comments-wrap #comments { }
.rtv-comments-wrap .comments-title,
.rtv-comments-wrap #reply-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  border-left: 3px solid var(--color-orange);
  padding-left: 12px;
  margin: 0 0 28px;
  line-height: 1.2;
}
.rtv-comments-wrap #reply-title { font-size: 18px; margin-top: 40px; }

/* Comment list */
.rtv-comments-wrap .comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}
.rtv-comments-wrap .comment-list .comment { margin-bottom: 0; }
.rtv-comments-wrap article.comment {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: 16px;
}
.rtv-comments-wrap .comment-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--color-border);
}
.rtv-comments-wrap .comment-content-wrap { flex: 1; min-width: 0; }
.rtv-comments-wrap .comment-author .fn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  font-style: normal;
}
.rtv-comments-wrap .comment-metadata {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-muted);
  margin: 2px 0 10px;
}
.rtv-comments-wrap .comment-metadata a { color: var(--color-muted); text-decoration: none; }
.rtv-comments-wrap .comment-body p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
  margin: 0 0 8px;
}
.rtv-comments-wrap .reply a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-orange);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.rtv-comments-wrap .comment-awaiting-moderation {
  font-size: 13px;
  color: var(--color-muted);
  font-style: italic;
}
.rtv-comments-wrap .children {
  list-style: none;
  padding-left: 56px;
  margin: 0;
}

/* Comment form */
.rtv-comments-wrap .comment-form label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rtv-comments-wrap .comment-form input[type="text"],
.rtv-comments-wrap .comment-form input[type="email"],
.rtv-comments-wrap .comment-form input[type="url"],
.rtv-comments-wrap .comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.rtv-comments-wrap .comment-form input:focus,
.rtv-comments-wrap .comment-form textarea:focus {
  outline: none;
  border-color: var(--color-orange);
}
.rtv-comments-wrap .comment-form textarea { height: 120px; resize: vertical; }
.rtv-comments-wrap .comment-form .comment-form-comment { margin-bottom: 16px; }
.rtv-comments-wrap .comment-form p { margin-bottom: 14px; }
.rtv-comments-wrap .form-submit { margin-top: 8px; }
.rtv-comments-wrap .comment-form input[type="submit"] {
  background: var(--color-orange);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 28px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
}
.rtv-comments-wrap .comment-form input[type="submit"]:hover { background: #e07200; }

/* ============================================================
   POST BOTTOM — Comments left + Sidebar right
   ============================================================ */
.rtv-post-bottom {
  background: #f8f9fa;
  border-top: 1px solid var(--color-border);
  padding: 48px 0 60px;
}
.rtv-post-bottom__inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

/* ── Comments column ── */
.rtv-post-bottom__comments { min-width: 0; }
.rtv-post-bottom__comments #comments {}
.rtv-post-bottom__comments .comments-title,
.rtv-post-bottom__comments #reply-title {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  border-left: 3px solid var(--color-orange);
  padding-left: 12px;
  margin: 0 0 24px;
}
.rtv-post-bottom__comments #reply-title { font-size: 18px; margin-top: 36px; }
.rtv-post-bottom__comments .comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.rtv-post-bottom__comments article.comment {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}
.rtv-post-bottom__comments .comment-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--color-border);
}
.rtv-post-bottom__comments .comment-content-wrap { flex: 1; min-width: 0; }
.rtv-post-bottom__comments .comment-author .fn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  font-style: normal;
}
.rtv-post-bottom__comments .comment-metadata {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-muted);
  margin: 2px 0 8px;
}
.rtv-post-bottom__comments .comment-metadata a { color: var(--color-muted); text-decoration: none; }
.rtv-post-bottom__comments .comment-body p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
  margin: 0 0 6px;
}
.rtv-post-bottom__comments .reply a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-orange);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.rtv-post-bottom__comments .children {
  list-style: none;
  padding-left: 52px;
  margin: 0;
}
/* Comment form */
.rtv-post-bottom__comments .comment-form label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rtv-post-bottom__comments .comment-form input[type="text"],
.rtv-post-bottom__comments .comment-form input[type="email"],
.rtv-post-bottom__comments .comment-form input[type="url"],
.rtv-post-bottom__comments .comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.rtv-post-bottom__comments .comment-form input:focus,
.rtv-post-bottom__comments .comment-form textarea:focus {
  outline: none;
  border-color: var(--color-orange);
}
.rtv-post-bottom__comments .comment-form textarea { height: 130px; resize: vertical; }
.rtv-post-bottom__comments .comment-form p { margin-bottom: 14px; }
.rtv-post-bottom__comments .comment-form .comment-notes {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 20px;
}
.rtv-post-bottom__comments .comment-form input[type="submit"] {
  background: var(--color-orange);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 30px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}
.rtv-post-bottom__comments .comment-form input[type="submit"]:hover { background: #e07200; }

/* ── Sidebar column ── */
.rtv-post-bottom__sidebar { min-width: 0; }
.rtv-sidebar-related {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.rtv-sidebar-related__head {
  background: var(--color-orange);
  padding: 12px 16px;
}
.rtv-sidebar-related__title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
}
.rtv-sidebar-related__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rtv-sidebar-related__item {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
}
.rtv-sidebar-related__item:last-child { border-bottom: none; }
.rtv-sidebar-related__img {
  width: 72px;
  height: 54px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-color: #e5e5e5;
  border-radius: 2px;
  display: block;
}
.rtv-sidebar-related__body { flex: 1; min-width: 0; }
.rtv-sidebar-related__link {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
  text-decoration: none;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rtv-sidebar-related__link:hover { color: var(--color-orange); }
.rtv-sidebar-related__meta {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-dim);
  display: flex;
  align-items: center;
  gap: 4px;
}
.rtv-sidebar-related__meta i { color: var(--color-orange); font-size: 10px; }
.rtv-sidebar-related__viewall {
  display: block;
  text-align: center;
  padding: 10px 14px;
  background: #f8f9fa;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-orange);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.15s;
}
.rtv-sidebar-related__viewall:hover { background: var(--color-orange); color: #ffffff; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .rtv-post-bottom__inner { grid-template-columns: 1fr; gap: 32px; }
  .rtv-sidebar-related { position: static; }
}

/* ============================================================
   SPECIAL PAGES — Live Radio + Live TV
   ============================================================ */

.rtv-special-page {
  background: #ffffff;
  padding: 40px 0 60px;
}

/* Live badge — shared */
.rtv-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-orange);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.rtv-live-badge--tv  { background: #cc2200; }
.rtv-live-badge--sm  { font-size: 10px; padding: 3px 8px; margin-bottom: 0; }
.rtv-live-dot {
  width: 7px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
  animation: livePulse 1.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ── RADIO PAGE ────────────────────────────────────────────── */
.rtv-radio-hero {
  text-align: center;
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 36px;
}
.rtv-radio-title {
  font-family: var(--font-headline);
  font-size: 52px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
  letter-spacing: -1px;
}
.rtv-radio-title span { color: var(--color-orange); }
.rtv-radio-tagline {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-muted);
  margin: 0;
}

.rtv-radio-player-wrap {
  max-width: 680px;
  margin: 0 auto 40px;
}
.rtv-radio-player-inner {
  background: #f8f8f8;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-orange);
  padding: 32px;
  text-align: center;
}
.rtv-radio-icon svg {
  width: 80px;
  height: 40px;
  fill: var(--color-orange);
  margin-bottom: 24px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.rtv-player-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 14px 20px;
  margin-top: 20px;
}
.rtv-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-orange);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.15s;
  color: #ffffff;
}
.rtv-play-btn:hover { background: #e07000; transform: scale(1.06); }
.rtv-play-btn svg { width: 24px; height: 24px; }
.rtv-player-info {
  flex: 1;
  text-align: left;
  min-width: 0;
}
.rtv-player-station {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}
.rtv-player-status {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 2px;
}
.rtv-volume-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  flex-shrink: 0;
}
.rtv-volume-slider {
  -webkit-appearance: none;
  width: 80px;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.rtv-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-orange);
  cursor: pointer;
}
.rtv-stream-note {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-muted);
  margin: 16px 0 0;
}

/* ── TV PAGE ───────────────────────────────────────────────── */
.rtv-tv-hero {
  text-align: center;
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 32px;
}
.rtv-tv-title {
  font-family: var(--font-headline);
  font-size: 52px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
  letter-spacing: -1px;
}
.rtv-tv-title span { color: var(--color-orange); }
.rtv-tv-tagline {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-muted);
  margin: 0;
}

/* 16:9 responsive player — from CLAUDE.md spec */
.rtv-tv-player-wrap {
  max-width: 900px;
  margin: 0 auto 0;
  border: 1px solid var(--color-border);
  border-bottom: none;
}
.tv-player-wrapper {
  position: relative;
  padding-top: 56.25%;
  width: 100%;
  background: #111;
}
.tv-player-wrapper iframe,
.tv-player-wrapper .rtv-tv-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
/* Loading overlay */
.rtv-tv-loading {
  position: absolute;
  inset: 0;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  color: #fff;
  pointer-events: none;
}
.rtv-tv-loading-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.rtv-tv-loading-inner p {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.rtv-tv-spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--color-orange);
  border-radius: 50%;
  animation: rtvSpin 0.8s linear infinite;
}
@keyframes rtvSpin { to { transform: rotate(360deg); } }

/* Stream status text */
.rtv-tv-stream-status {
  font-size: 13px;
  color: var(--color-muted);
  font-family: var(--font-body);
}

/* Full-screen button */
.rtv-tv-fullscreen-btn {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.rtv-tv-fullscreen-btn:hover {
  background: var(--color-orange);
  color: #fff;
  border-color: var(--color-orange);
}

/* Placeholder shown when no stream URL is set */
.rtv-tv-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
}
.rtv-tv-placeholder-inner {
  text-align: center;
  color: #ffffff;
  padding: 24px;
}
.rtv-tv-placeholder-inner p {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 14px 0 8px;
}
.rtv-tv-placeholder-inner small {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}
/* Info bar below player */
.rtv-tv-infobar {
  max-width: 900px;
  margin: 0 auto 36px;
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-orange);
  background: #ffffff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rtv-tv-infobar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rtv-tv-channel-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}
.rtv-tv-fullscreen-hint {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}
.rtv-tv-fullscreen-hint:hover { color: var(--color-orange); }

/* ── SHARED — About + Stats + Social ──────────────────────── */
.rtv-special-about { margin-top: 40px; }
.rtv-about-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  margin-top: 20px;
}
.rtv-about-text p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.75;
  margin: 0 0 14px;
}
.rtv-about-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rtv-stat {
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-orange);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rtv-stat-num {
  font-family: var(--font-headline);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-orange);
  line-height: 1;
}
.rtv-stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-muted);
  font-weight: 500;
}
.rtv-special-social {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.rtv-special-social p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-muted);
  margin: 0 0 14px;
}
.rtv-social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.rtv-social-row a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  transition: border-color 0.15s, color 0.15s;
}
.rtv-social-row a:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

/* Special page responsive */
@media (max-width: 768px) {
  .rtv-radio-title, .rtv-tv-title { font-size: 38px; }
  .rtv-about-grid { grid-template-columns: 1fr; gap: 24px; }
  .rtv-about-stats { flex-direction: row; flex-wrap: wrap; }
  .rtv-stat { flex: 1 1 45%; }
  .rtv-volume-wrap { display: none; }
}
@media (max-width: 480px) {
  .rtv-radio-title, .rtv-tv-title { font-size: 30px; }
  .rtv-player-controls { flex-wrap: wrap; gap: 12px; }
  .rtv-social-row { gap: 8px; }
  .rtv-social-row a { font-size: 12px; padding: 6px 12px; }
}

/* ============================================================
   YOUTUBE SECTION  (§4.9)
   ============================================================ */
.rtv-youtube { margin-top: 40px; }
.rtv-youtube__embed {
  margin-top: 16px;
  position: relative;
  padding-top: 56.25%;
  background: #f0f0f0;
}
.rtv-youtube__embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ============================================================
   FOOTER  (§4.10)
   ============================================================ */
#colophon,
.site-footer {
  background: #ffffff !important;
  border-top: 2px solid var(--color-orange) !important;
  margin-top: 48px;
  font-family: var(--font-body);
}
.rtv-footer__upper {
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--color-border);
}
.rtv-footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
.rtv-footer__col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text);
  border-left: 3px solid var(--color-orange);
  padding-left: 10px;
  margin-bottom: 14px;
}
.rtv-footer__col p,
.rtv-footer__col li {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
}
.rtv-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rtv-footer__col a {
  color: var(--color-muted);
  font-size: 14px;
  text-decoration: none;
}
.rtv-footer__col a:hover { color: var(--color-orange); }
.rtv-footer__social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.rtv-footer__social-links a {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.rtv-footer__social-links a:hover {
  color: var(--color-orange);
  border-bottom-color: var(--color-orange);
}
.rtv-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}
.rtv-footer__contact li i {
  color: var(--color-orange);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 13px;
}
.rtv-footer__apps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.rtv-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-text);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.15s;
  border-bottom: none !important;
}
.rtv-app-btn:hover { background: var(--color-orange) !important; color: #fff !important; }
.rtv-app-btn i { font-size: 15px; }
.rtv-footer__lower {
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: var(--color-muted);
}
/* Hide parent theme footer boilerplate */
.lower-footer .site-info { display: none; }
.upper-footer { display: none; }

/* ============================================================
   PARENT THEME OVERRIDES — remove unwanted styles
   ============================================================ */
/* Remove any colored top/bottom bars from parent */
.theme-top-header {
  background: #ffffff !important;
  border-bottom: 1px solid var(--color-border) !important;
}
.theme-main-header {
  background: #ffffff !important;
}
/* Hide the parent's built-in header structures since we replace them */
.theme-top-header,
.middle-header-quick-menu,
.theme-main-header {
  display: none !important;
}
/* Also hide the parent-generated front-page widget sections */
.primary-site-content .theme-frontpage-banner,
.primary-site-content .theme-frontpage-highlights,
.primary-site-content .theme-editor-choice-section,
.primary-site-content .theme-primary-widgets-area,
.primary-site-content .theme-above-footer-widgets-area {
  display: none !important;
}

/* ============================================================
   RESPONSIVE — comprehensive 5-breakpoint system
   ============================================================

   1240px  container edge
   1024px  tablet landscape   — compress columns, shrink hero
    768px  tablet portrait    — stack hero panels side-by-side below slider
    600px  large phone        — panels go vertical, single-col sidebar
    480px  phone              — fully single column
    360px  small phone        — micro adjustments

   ============================================================ */

/* ── 1. Large Tablet: ≤ 1024px ─────────────────────────────── */
@media (max-width: 1024px) {
  /* Container */
  .rtv-container { padding: 0 20px; }

  /* Hero — tighten right panel, hide ad slot on tablet */
  .rtv-hero-v2 {
    grid-template-columns: 1fr 290px;
    height: 440px;
  }
  .rtv-hero-ad { display: none; }
  .rtv-slide__title { font-size: 21px; }

  /* Nav — let items breathe less */
  .rtv-nav__menu a { padding: 0 10px; font-size: 12px; }

  /* Secondary stories — 2 col */
  .rtv-secondary__grid { grid-template-columns: repeat(2, 1fr); }

  /* Category sections — single column on tablet (main full-width, sidebar below) */
  .rtv-cat-section__body,
  .rtv-cat-section__body--no-right {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .rtv-cat-section__ad-col { display: none; }
  /* Sidebar: 3 stories in a horizontal row below the lead story */
  .rtv-cat-section__sidebar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .rtv-cat-section__small {
    padding: 0;
    border-bottom: none;
  }
  .rtv-cat-section__small + .rtv-cat-section__small {
    border-left: 1px solid var(--color-border);
    padding-left: 14px;
  }
  /* Full-width slot inside section — already spans 1 col, no change needed */
  .rtv-cat-section__full-ad { margin-top: 8px; }

  /* Archive top section — collapse to single column on tablet, hide ad */
  .rtv-arch-top,
  .rtv-arch-top--full { grid-template-columns: 1fr !important; }
  .rtv-arch-top-ad { display: none; }

  /* Most Read — 3 col */
  .rtv-most-read__list { grid-template-columns: repeat(3, 1fr); }

  /* Footer — tighten gap */
  .rtv-footer__cols { gap: 28px; }
}

/* ── 2. Tablet Portrait / Large Phone: ≤ 768px ─────────────── */
@media (max-width: 768px) {
  .rtv-container { padding: 0 16px; }

  /* Masthead meta — hide date on smallest screens, keep social + app icons */
  .rtv-masthead__date { display: none; }
  .rtv-app-btns { gap: 4px; }

  /* Combined header — show hamburger, hide nav links */
  .rtv-header__bar { height: 54px; }
  .rtv-header__logo a { font-size: 20px; }
  .rtv-nav__wrap { display: none; }
  .rtv-nav__toggle { display: flex; }
  .rtv-header__controls .rtv-nav__lang { display: none; }

  /* Mobile dropdown menu */
  .rtv-nav__menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid var(--color-orange);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
    z-index: 999;
  }
  .rtv-nav__menu.is-open { display: flex; }
  .rtv-nav__menu li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }
  .rtv-nav__menu a {
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: none;
    width: 100%;
    display: block;
    letter-spacing: 0.03em;
  }
  .rtv-nav__menu a:hover,
  .rtv-nav__menu .current-menu-item > a {
    background: #fff8f2;
    color: var(--color-orange);
    border-bottom-color: transparent;
  }
  .rtv-nav__lang {
    padding: 12px 20px;
    border-top: 2px solid var(--color-border);
    font-size: 14px;
  }

  /* Ticker */
  .rtv-ticker { height: 34px; }
  .rtv-ticker__label { font-size: 10px; padding: 3px 8px; margin-right: 10px; }
  .rtv-ticker__items a { font-size: 12px; padding-right: 24px; }

  /* Hero V2 — slider stacks on top, panels row below */
  .rtv-hero-v2 {
    grid-template-columns: 1fr;
    height: auto;
  }
  .rtv-slider { height: 300px; }
  .rtv-slide__title { font-size: 20px; }
  .rtv-slide__overlay { padding: 20px 20px 28px; }

  /* Panels: side by side below slider */
  .rtv-hero-panels {
    flex-direction: row;
    height: 220px;        /* explicit for the side-by-side row */
    border-left: none;
    border-top: 1px solid var(--color-border);
  }
  .rtv-breaking-box {
    flex: 0 0 50%;        /* exactly half */
    border-bottom: none;
    border-right: 1px solid var(--color-border);
  }
  .rtv-hot-box {
    flex: 1;
    padding: 12px 14px 10px;
    overflow: hidden;
  }
  .rtv-hot-card__img { height: 60px; }
  .rtv-hot-card h4 { font-size: 10px; }

  /* Secondary — 2 col */
  .rtv-secondary__grid { grid-template-columns: repeat(2, 1fr); }

  /* Category sections — full collapse on mobile */
  .rtv-cat-section__body { grid-template-columns: 1fr; }
  .rtv-cat-section__ad-col { display: none; }
  .rtv-cat-section__sidebar { grid-template-columns: repeat(2, 1fr); }
  .rtv-cat-section__small + .rtv-cat-section__small { border-left: none; padding-left: 0; }

  /* Most Read — 2 col */
  .rtv-most-read__list { grid-template-columns: repeat(2, 1fr); }
  .rtv-most-read__num { font-size: 26px; min-width: 30px; }

  /* Footer — 2 col */
  .rtv-footer__cols { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .rtv-footer__col:nth-child(3),
  .rtv-footer__col:nth-child(4) { grid-column: auto; }
  .rtv-footer__upper { padding: 28px 0 20px; }
  .rtv-section-gap { margin-top: 28px; }
  .rtv-homepage { padding-bottom: 36px; }
}

/* ── 3. Large Phone: ≤ 600px ───────────────────────────────── */
@media (max-width: 600px) {
  .rtv-slider { height: 260px; }
  .rtv-slide__title { font-size: 18px; }

  /* Stack panels vertically */
  .rtv-hero-panels {
    flex-direction: column;
    height: auto;
  }
  .rtv-breaking-box {
    flex: 0 0 170px;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
  .rtv-hot-box { height: auto; }
  .rtv-hot-card__img { height: 64px; }

  /* Category sidebar — single col */
  .rtv-cat-section__sidebar { grid-template-columns: 1fr; gap: 0; }
  .rtv-cat-section__small { padding: 10px 0; border-bottom: 1px solid var(--color-border); }
  .rtv-cat-section__small:last-child { border-bottom: none; }

  .rtv-most-read__list { grid-template-columns: repeat(2, 1fr); }
}

/* ── 4. Phone: ≤ 480px ──────────────────────────────────────── */
@media (max-width: 480px) {
  .rtv-container { padding: 0 12px; }
  .rtv-header__bar { height: 50px; }
  .rtv-header__logo a { font-size: 18px; }

  /* Slider */
  .rtv-slider { height: 230px; }
  .rtv-slide__title { font-size: 16px; line-height: 1.25; }
  .rtv-slide__overlay { padding: 14px 14px 18px; }
  .rtv-slider__prev, .rtv-slider__next { width: 34px; height: 34px; font-size: 18px; }
  .rtv-slider__prev { left: 8px; }
  .rtv-slider__next { right: 8px; }
  .rtv-slider__dots { bottom: 10px; gap: 5px; }
  .rtv-slider__dot { width: 7px; height: 7px; }

  /* Breaking news */
  .rtv-breaking-box { flex: 0 0 155px; }
  .rtv-breaking-box__overlay { padding: 10px 12px 12px; }
  .rtv-breaking-box h3 { font-size: 13px; }
  .rtv-breaking-box__btn { font-size: 9px; padding: 4px 10px; }

  /* Hot news */
  .rtv-hot-box { padding: 10px 12px 8px; }
  .rtv-hot-card__img { height: 58px; }
  .rtv-hot-card h4 { font-size: 10px; }

  /* Secondary — 1 col */
  .rtv-secondary__grid { grid-template-columns: 1fr; }
  .rtv-secondary__card { border-bottom: 1px solid var(--color-border); padding-bottom: 16px; }

  .rtv-cat-section__main h3 { font-size: 17px; }

  /* Most Read — 1 col */
  .rtv-most-read__list { grid-template-columns: 1fr; }
  .rtv-most-read__item { padding: 12px 10px; }
  .rtv-most-read__num { font-size: 22px; min-width: 26px; }

  /* Footer */
  .rtv-footer__cols { grid-template-columns: 1fr; gap: 20px; }
  .rtv-footer__col:last-child { grid-column: auto; }
  .rtv-footer__lower { font-size: 12px; }
  .rtv-section-gap { margin-top: 20px; }
  .rtv-homepage { padding-bottom: 28px; }
}

/* ── 5. Small Phone: ≤ 360px ────────────────────────────────── */
@media (max-width: 360px) {
  .rtv-container { padding: 0 10px; }
  .rtv-header__logo a { font-size: 19px; }
  .rtv-slider { height: 200px; }
  .rtv-slide__title { font-size: 14px; }
  .rtv-breaking-box { flex: 0 0 140px; }
  .rtv-hot-card__img { height: 52px; }
  .rtv-hot-card h4 { font-size: 10px; }
  .rtv-cat-section__main h3 { font-size: 15px; }
  .rtv-most-read__headline { font-size: 13px; }
  .rtv-section-gap { margin-top: 16px; }
}

/* ── 6. Prevent horizontal overflow on all screens ─────────── */
/* NOTE: overflow-x on html/body breaks position:sticky — do NOT set it there.
   Instead clip overflow on the page wrapper only.                            */
.rtv-homepage,
.rtv-archive-page,
.rtv-article-page {
  overflow-x: hidden;
}
img, video, iframe, embed, object {
  max-width: 100%;
}

/* ── 7. Large screens — widen container progressively ───────── */
@media (min-width: 1400px) {
  :root { --max-width: 1320px; }
  .rtv-slide__title { font-size: 30px; }
  body { font-size: 17px; }
}
@media (min-width: 1600px) {
  :root { --max-width: 1480px; }
  .rtv-hero-v2 { height: 520px; }
  .rtv-hero-panels { height: 520px; }
  .rtv-hero-ad { /* column grows with hero */ }
  .rtv-slide__title { font-size: 32px; }
  .rtv-cat-section__body { grid-template-columns: 1fr 280px 220px; }
  .rtv-cat-section__ad-col { height: 360px; }
}
@media (min-width: 1920px) {
  :root { --max-width: 1720px; }
  .rtv-hero-v2 { height: 560px; }
  .rtv-hero-panels { height: 560px; }
  .rtv-slide__title { font-size: 34px; }
}

/* ── 8. Small phone — fix any tight overflow ────────────────── */
@media (max-width: 400px) {
  .rtv-article-meta { flex-wrap: wrap; gap: 4px; font-size: 11px; }
  .rtv-article-meta__sep { display: none; }
  .rtv-arch-lead { flex-direction: column; }
  .rtv-arch-lead__img { width: 100%; min-height: 180px; }
  .rtv-arch-lead__body { padding: 12px 0; }
  .rtv-hot-box__list { grid-template-columns: 1fr; }
  .rtv-secondary__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ADVERTISEMENT SYSTEM — GOOGLE ADS & PREMIUM SPONSORS
   ============================================================ */

/* ── Google Ad containers ── */
.rtv-ad-unit {
  background: #f9f9f9;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px;
  margin: 24px 0;
  text-align: center;
  overflow: hidden;
}
.rtv-ad-unit__label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #bbb;
  margin-bottom: 8px;
  font-family: var(--font-body);
}
/* Leaderboard — below-nav & footer (728×90, responsive) */
.rtv-ad-unit--leaderboard {
  max-width: 728px;
  margin-left: auto;
  margin-right: auto;
}
/* Rectangle — sidebar, below-article, between-sections (300×250) */
.rtv-ad-unit--rectangle {
  max-width: 336px;
  margin-left: auto;
  margin-right: auto;
}
/* Below-nav: flush with nav, subtle top border */
[data-ad-position="below-nav"] {
  margin-top: 0;
  border-top: none;
  border-radius: 0;
  border-left: none;
  border-right: none;
  background: #fff;
}
/* Between sections: centred with breathing room */
.rtv-between-sections-ad {
  display: flex;
  justify-content: center;
  margin: 8px 0;
}
.rtv-between-sections-ad .rtv-ad-unit {
  margin: 0;
}

.rtv-ad-placeholder {
  min-height: 90px;
  border: 2px dashed var(--color-border) !important;
  background: #fafafa !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #aaa;
}

/* ── Customer Ad Slots (numbered 1–6) ── */
.rtv-ad-slot {
  margin: 20px 0;
}
.rtv-ad-slot__adlabel {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #bbb;
  font-family: var(--font-body);
  margin-bottom: 8px;
  text-align: center;
}

/* ── HORIZONTAL orientation (between-category strips, slots 1-4, 7) ── */
/* Fixed 130px height. Each item is always 1/3 width; 1 or 2 ads center */
.rtv-ad-slot--horizontal .rtv-ad-slot__grid {
  display: flex;
  flex-direction: row;
  justify-content: center;   /* center 1 or 2 ads instead of stretching them */
  align-items: stretch;
  gap: 4px;
  width: 100%;
  height: 130px;             /* FIXED — slot height never changes */
  overflow: hidden;
}
.rtv-ad-slot--horizontal .rtv-ad-slot__item {
  flex: 0 0 calc((100% - 8px) / 3); /* always 1/3 of slot width regardless of count */
  height: 130px;
  overflow: hidden;
  border-radius: 4px;
}
.rtv-ad-slot--horizontal .rtv-ad-slot__link {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}
.rtv-ad-slot--horizontal .rtv-ad-slot__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  transition: opacity 0.2s, transform 0.25s;
}
.rtv-ad-slot--horizontal .rtv-ad-slot__link:hover .rtv-ad-slot__img {
  opacity: 0.92;
  transform: scale(1.02);
}

/* ── VERTICAL orientation (right-column slots 8-11, hero slot 5) ── */
/* Each item is always 1/3 of container height; 1 or 2 ads center vertically */
.rtv-ad-slot--vertical {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.rtv-ad-slot--vertical .rtv-ad-slot__grid,
.rtv-ad-slot--vertical .rtv-ad-slot__grid--vcol {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* center 1 or 2 ads instead of stretching */
  align-items: stretch;
  gap: 4px;
  flex: 1;
  height: 100%;
}
.rtv-ad-slot--vertical .rtv-ad-slot__item {
  flex: 0 0 calc((100% - 8px) / 3); /* always 1/3 of container height regardless of count */
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
}
.rtv-ad-slot--vertical .rtv-ad-slot__link {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}
.rtv-ad-slot--vertical .rtv-ad-slot__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  transition: opacity 0.2s, transform 0.25s;
}
.rtv-ad-slot--vertical .rtv-ad-slot__link:hover .rtv-ad-slot__img {
  opacity: 0.92;
  transform: scale(1.02);
}

/* Hero slot media — ads stack from the top, not centered */
.rtv-hero-ad__media .rtv-ad-slot--vertical {
  width: 100%;
  height: 100%;
  margin: 0;
}
.rtv-hero-ad__media .rtv-ad-slot--vertical .rtv-ad-slot__grid {
  justify-content: flex-start;
}

/* Single article sidebar ad — same fixed height as category right columns */
.rtv-single-sidebar-ad {
  height: 320px;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 4px;
}
.rtv-single-sidebar-ad .rtv-ad-slot--vertical {
  height: 100%;
}

/* Category section right column — fixed height so it never shifts the layout */
.rtv-cat-section__ad-col {
  position: sticky;
  top: 80px;
  align-self: start;
  height: 320px;       /* FIXED — same height regardless of 1, 2, or 3 ads */
  overflow: hidden;
}
.rtv-cat-section__ad-col .rtv-ad-slot--vertical {
  height: 100%;
}
/* Compact admin chip inside the right column — don't break layout */
.rtv-cat-section__ad-col .rtv-slot-empty-chip {
  font-size: 9px;
  padding: 3px 6px;
}

/* Responsive grid — columns set by modifier class (fallback/horizontal) */
.rtv-ad-slot__grid {
  display: grid;
  gap: 12px;
  width: 100%;
}
.rtv-ad-slot__grid--1col { grid-template-columns: 1fr; }
.rtv-ad-slot__grid--2col { grid-template-columns: repeat(2, 1fr); }
.rtv-ad-slot__grid--3col { grid-template-columns: repeat(3, 1fr); }

/* Each ad item (default/fallback) */
.rtv-ad-slot__item {
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
}
.rtv-ad-slot__link {
  display: block;
  width: 100%;
  line-height: 0;
}
.rtv-ad-slot__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  transition: opacity 0.2s, transform 0.25s;
}
.rtv-ad-slot__link:hover .rtv-ad-slot__img {
  opacity: 0.92;
  transform: scale(1.015);
}

/* AdSense unit inside a slot column */
.rtv-ad-slot__adsense {
  width: 100%;
  min-height: 100px; /* prevents 0-height collapse before AdSense loads */
}
.rtv-ad-slot__adsense ins.adsbygoogle {
  display: block !important;
  width: 100% !important;
}

/* Mobile: always stack to single column */
@media (max-width: 640px) {
  .rtv-ad-slot__grid--2col,
  .rtv-ad-slot__grid--3col { grid-template-columns: 1fr; }
}
/* Tablet: max 2 columns */
@media (min-width: 641px) and (max-width: 900px) {
  .rtv-ad-slot__grid--3col { grid-template-columns: repeat(2, 1fr); }
}

/* Empty placeholder — admin only */
/* Compact admin-only chip — shown when a slot exists but has no ads yet */
.rtv-slot-empty-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff8f0;
  border: 1px dashed #fdc89a;
  border-radius: 4px;
  padding: 4px 10px 4px 6px;
  font-family: var(--font-body);
  font-size: 11px;
  margin: 4px 0;
}
.rtv-slot-empty-chip__num {
  background: var(--color-orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 3px;
  flex-shrink: 0;
}
.rtv-slot-empty-chip__label {
  color: #aaa;
  flex: 1;
}
.rtv-slot-empty-chip__btn {
  background: var(--color-orange);
  color: #fff !important;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  text-decoration: none !important;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.rtv-slot-empty-chip__btn:hover { opacity: 0.82; }

/* ── Sidebar sponsor card (single.php) ── */
.rtv-sidebar-sponsor {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.rtv-sidebar-sponsor__head {
  background: var(--color-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  font-family: var(--font-body);
}
.rtv-sidebar-sponsor__body {
  padding: 20px 16px;
  text-align: center;
  background: #fff;
}
.rtv-sidebar-sponsor__logo {
  max-width: 120px;
  max-height: 64px;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
}
.rtv-sidebar-sponsor__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-headline);
  color: var(--color-text);
  margin-bottom: 5px;
}
.rtv-sidebar-sponsor__tagline {
  display: block;
  font-size: 12px;
  color: var(--color-dim);
  font-family: var(--font-body);
  margin-bottom: 14px;
  line-height: 1.45;
}
.rtv-sidebar-sponsor__cta {
  display: inline-block;
  background: var(--color-orange);
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 6px;
  text-decoration: none !important;
  font-family: var(--font-body);
  transition: opacity 0.15s;
}
.rtv-sidebar-sponsor__cta:hover { opacity: 0.85; }

/* ── Footer sponsor logo strip ── */
.rtv-footer-sponsors {
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.rtv-footer-sponsors__label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #aaa;
  font-family: var(--font-body);
  margin-bottom: 16px;
}
.rtv-footer-sponsors__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  align-items: center;
}
.rtv-footer-sponsors__logo-link {
  opacity: 0.5;
  transition: opacity 0.2s, filter 0.2s;
  filter: grayscale(1);
  display: inline-flex;
  align-items: center;
}
.rtv-footer-sponsors__logo-link:hover {
  opacity: 1;
  filter: grayscale(0);
}
.rtv-footer-sponsors__logo {
  max-height: 34px;
  max-width: 110px;
  object-fit: contain;
}

/* ── Footer Google Ad ── */
.rtv-footer-ad {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
}
.rtv-footer-ad .rtv-ad-unit { margin: 0 auto; max-width: 728px; }

/* ── Responsive ── */
@media (max-width: 767px) {
  .rtv-partners-grid { grid-template-columns: repeat(2, 1fr); }
  .rtv-sponsor-banner-grid { grid-template-columns: 1fr; }
  .rtv-sponsor-banner img { height: 150px; }
}

/* ============================================================
   EMBEDPLUS FOR YOUTUBE — gallery override
   Makes the plugin gallery match the BBC/CNN site style
   ============================================================ */

/* Outer wrapper */
.rtv-youtube__gallery { width: 100%; }
.rtv-youtube__gallery .epyt-gallery-wrap {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Each video card */
.rtv-youtube__gallery .epyt-gallery-item {
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.rtv-youtube__gallery .epyt-gallery-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

/* Thumbnail */
.rtv-youtube__gallery .epyt-gallery-img {
  position: relative;
  width: 100% !important;
  padding-top: 56.25%;
  overflow: hidden;
}
.rtv-youtube__gallery .epyt-gallery-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.rtv-youtube__gallery .epyt-gallery-item:hover .epyt-gallery-img img {
  transform: scale(1.04);
}

/* Play button overlay */
.rtv-youtube__gallery .epyt-play-btn,
.rtv-youtube__gallery .epyt-gallery-img::after {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  background: var(--color-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.rtv-youtube__gallery .epyt-gallery-item:hover .epyt-play-btn,
.rtv-youtube__gallery .epyt-gallery-item:hover .epyt-gallery-img::after {
  opacity: 1;
}

/* Video title */
.rtv-youtube__gallery .epyt-gallery-title {
  padding: 10px 12px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pagination — Prev / Next */
.rtv-youtube__gallery .epyt-gallery-paging {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  clear: both;
}
.rtv-youtube__gallery .epyt-gallery-prev,
.rtv-youtube__gallery .epyt-gallery-next,
.rtv-youtube__gallery .epyt-paging-link {
  background: #f5f5f5;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 7px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text) !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.rtv-youtube__gallery .epyt-gallery-prev:hover,
.rtv-youtube__gallery .epyt-gallery-next:hover,
.rtv-youtube__gallery .epyt-paging-link:hover {
  background: var(--color-orange);
  color: #fff !important;
  border-color: var(--color-orange);
}

/* Subscribe button if shown */
.rtv-youtube__gallery .epyt-gallery-channelsub a {
  display: inline-block;
  background: var(--color-orange);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  margin-top: 16px;
}

/* Responsive: 2 columns on tablet, 1 on mobile */
@media (max-width: 900px) {
  .rtv-youtube__gallery .epyt-gallery-wrap {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 540px) {
  .rtv-youtube__gallery .epyt-gallery-wrap {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   SEARCH + BOOKMARK + PAGINATION + SHARE  (features)
   ============================================================ */

/* ── Header action icons ── */
.rtv-masthead__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 12px;
}
.rtv-action-btn {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--color-muted);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.rtv-action-btn:hover { background: var(--color-orange); color: #fff; border-color: var(--color-orange); }

/* ── Search + Bookmark icons in nav bar ── */
.rtv-nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  flex-shrink: 0;
}
.rtv-nav-icon-btn {
  background: none;
  border: none;
  color: var(--color-orange);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: opacity 0.18s;
  position: relative;
  display: inline-flex;
  align-items: center;
}
.rtv-nav-icon-btn:hover { opacity: 0.75; }

/* ── Search slide-down panel ── */
#rtv-search-overlay {
  display: none;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fafafa;
  border-bottom: 1px solid #ececec;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  padding: 12px 0;
  animation: rtv-slide-down 0.18s ease;
}
#rtv-search-overlay.open { display: block; }
@keyframes rtv-slide-down {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rtv-search-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 30px;
  padding: 8px 18px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.rtv-search-panel:focus-within {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255,130,0,0.08);
}
.rtv-search-panel__icon {
  color: var(--color-orange);
  font-size: 14px;
  flex-shrink: 0;
  opacity: 0.8;
}
.rtv-search-panel form { flex: 1; margin: 0; }
.rtv-search-panel input[type="search"] {
  width: 100%;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 300;
  font-family: var(--font-body);
  color: #333;
  background: transparent;
  letter-spacing: 0.01em;
}
.rtv-search-panel input[type="search"]::placeholder {
  color: #bbb;
  font-weight: 300;
}
/* Hide native browser clear button — we use our own × to close the panel */
.rtv-search-panel input[type="search"]::-webkit-search-cancel-button,
.rtv-search-panel input[type="search"]::-webkit-search-decoration,
.rtv-search-panel input[type="search"]::-ms-clear { display: none; }
#rtv-search-close {
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: #ccc;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: color 0.15s;
}
#rtv-search-close:hover { color: var(--color-orange); }

/* ── Bookmark panel ── */
.rtv-bm-wrap { position: relative; }
#rtv-bm-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-orange);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
#rtv-bm-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 9999;
  max-height: 420px;
  overflow-y: auto;
}
#rtv-bm-panel.open { display: block; }
.rtv-bm-panel__head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: 13px;
  font-weight: 700;
  color: #222;
}
.rtv-bm-empty { padding: 20px 16px; color: #999; font-size: 13px; margin: 0; }
.rtv-bm-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid #f5f5f5;
}
.rtv-bm-entry:last-child { border-bottom: none; }
.rtv-bm-entry__title {
  flex: 1;
  font-size: 13px;
  color: #222;
  text-decoration: none;
  line-height: 1.4;
}
.rtv-bm-entry__title:hover { color: var(--color-orange); }
.rtv-bm-entry__del {
  background: none;
  border: none;
  color: #ccc;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
  padding: 0 4px;
}
.rtv-bm-entry__del:hover { color: #c00; }

/* ── Single article bookmark button ── */
.rtv-single-bookmark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 14px;
  background: #f8f8f8;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.rtv-single-bookmark:hover,
.rtv-single-bookmark.saved {
  background: var(--color-orange);
  color: #fff;
  border-color: var(--color-orange);
}

/* ── Share bar — copy link button ── */
.rtv-copy-link {
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  color: inherit;
  cursor: pointer;
  padding: 6px 8px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.18s;
}
.rtv-copy-link:hover { background: rgba(255,255,255,0.15); }

/* ── Pagination ── */
.rtv-pagination { margin: 32px 0 8px; }
.rtv-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rtv-pagination ul li a,
.rtv-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  background: #fff;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.rtv-pagination ul li a:hover {
  background: var(--color-orange);
  color: #fff;
  border-color: var(--color-orange);
}
.rtv-pagination ul li span.current {
  background: var(--color-orange);
  color: #fff;
  border-color: var(--color-orange);
}
.rtv-pagination ul li span.dots { background: none; border-color: transparent; }

/* ── Search results page ── */
.rtv-arch-header__label { font-size: 11px; font-weight: 700; color: var(--color-orange); text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 4px; }

@media (max-width: 600px) {
  #rtv-bm-panel { width: 260px; }
  .rtv-search-overlay__box { padding: 16px; }
}






