/* ============================================================
   RGTV MEDIA HOUSE — Design tokens
   Palette pulled from the on-air logo: signal red / broadcast
   blue / worship gold, on a deep navy "studio" ground.
   ============================================================ */
:root{
  --navy-deep: #0B1640;
  --navy-mid:  #16227A;
  --blue:      #1E2FA8;
  --red:       #E22030;
  --red-dark:  #B0121F;
  --gold:      #F0A93C;
  --paper:     #F6F4EE;
  --paper-dim: #EAE7DC;
  --ink:       #0E0F16;
  --ink-soft:  #3A3D4D;
  --white:     #FFFFFF;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 6px;
  --max-w: 1180px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: var(--navy-deep);
}
p{ margin: 0 0 1em; }
.container{
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   TICKER — signature element: a broadcast lower-third ticker
   that runs scripture / announcements above the header on
   every page, echoing a live news channel.
   ============================================================ */
.ticker{
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 3px solid var(--red);
}
.ticker__inner{
  display: inline-flex;
  align-items: center;
  gap: 60px;
  padding: 7px 0;
  animation: ticker-scroll 38s linear infinite;
  will-change: transform;
}
.ticker__tag{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  background: var(--red);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 3px;
  flex: none;
}
.ticker__item{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--paper-dim);
  flex: none;
}
@keyframes ticker-scroll{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header{
  background: var(--navy-deep);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 4px solid var(--red);
}
.nav{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{ height: 44px; width:auto; border-radius: 4px; }
.brand__name{
  font-family: var(--font-display);
  color: var(--white);
  font-size: 19px;
  letter-spacing: 0.03em;
  line-height:1;
}
.brand__name span{ display:block; font-size: 10px; letter-spacing:0.2em; color: var(--gold); font-family: var(--font-mono); text-transform: uppercase; margin-top:3px; }

.nav__links{
  display:flex;
  align-items:center;
  gap: 28px;
  list-style:none;
  margin:0; padding:0;
}
.nav__links a{
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav__links a:hover, .nav__links a[aria-current="page"]{
  color: var(--white);
  border-bottom-color: var(--red);
}
.nav__actions{ display:flex; align-items:center; gap:14px; }
.lang-toggle{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--paper-dim);
  border-radius: 4px;
  padding: 6px 10px;
  cursor:pointer;
}
.lang-toggle:hover{ border-color: var(--gold); color: var(--white); }
.lang-toggle b{ color: var(--gold); }

.nav__burger{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding: 6px;
}
.nav__burger span{ width:24px; height:2px; background: var(--white); display:block; }

@media (max-width: 880px){
  .nav__links{
    position:absolute;
    top: 100%; left:0; right:0;
    background: var(--navy-deep);
    flex-direction:column;
    align-items:flex-start;
    padding: 18px 24px 24px;
    gap: 16px;
    display:none;
    border-bottom: 4px solid var(--red);
  }
  .nav__links.is-open{ display:flex; }
  .nav__burger{ display:flex; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn--primary{ background: var(--red); color: var(--white); }
.btn--primary:hover{ background: var(--red-dark); }
.btn--outline{ border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn--outline:hover{ border-color: var(--gold); color: var(--gold); }
.btn--ink{ border-color: var(--ink); color: var(--ink); }
.btn--ink:hover{ background: var(--ink); color: var(--white); }
.btn--live{
  background: var(--red);
  color: var(--white);
  position:relative;
  padding-left: 30px;
}
.btn--live::before{
  content:"";
  position:absolute;
  left:14px; top:50%;
  width:8px; height:8px;
  background: var(--white);
  border-radius:50%;
  transform: translateY(-50%);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot{
  0%,100%{ opacity:1; } 50%{ opacity:0.25; }
}

/* ============================================================
   HERO — framed like an on-air lower-third, with the logo's
   sweeping brush-stroke motif behind the headline.
   ============================================================ */
.hero{
  position:relative;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  color: var(--white);
  overflow:hidden;
  padding: 86px 0 70px;
}
.hero__swoosh{
  position:absolute;
  right: -8%;
  top: -10%;
  width: 70%;
  max-width: 800px;
  opacity: 0.16;
  pointer-events:none;
}
.hero__grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items:center;
}
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 16px;
}
.eyebrow::before{ content:""; width:26px; height:2px; background: var(--gold); }
.hero h1{
  color: var(--white);
  font-size: clamp(36px, 5vw, 62px);
  max-width: 14ch;
}
.hero h1 em{
  font-style: normal;
  color: var(--red);
  -webkit-text-stroke: 0;
}
.hero p.lead{
  color: var(--paper-dim);
  font-size: 18px;
  max-width: 46ch;
  margin-bottom: 28px;
}
.hero__actions{ display:flex; gap:14px; flex-wrap:wrap; }

.hero__panel{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(2px);
}
.hero__panel .slot{
  display:flex;
  justify-content: space-between;
  align-items:baseline;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.16);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--paper-dim);
}
.hero__panel .slot:last-child{ border-bottom:none; }
.hero__panel .slot b{ color: var(--white); font-weight:600; }

@media (max-width: 880px){
  .hero__grid{ grid-template-columns: 1fr; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section{ padding: 74px 0; }
.section--tight{ padding: 50px 0; }
.section--ink{ background: var(--ink); color: var(--paper-dim); }
.section--ink h2, .section--ink h3{ color: var(--white); }
.section--navy{ background: var(--navy-deep); color: var(--paper-dim); }
.section--navy h2, .section--navy h3{ color: var(--white); }
.section--dim{ background: var(--paper-dim); }

.section__head{ max-width: 640px; margin-bottom: 42px; }
.section__head h2{ font-size: clamp(26px, 3.4vw, 38px); }
.section__head .eyebrow{ color: var(--red); }
.section--ink .section__head .eyebrow, .section--navy .section__head .eyebrow{ color: var(--gold); }

/* three-band strip echoing the logo's red|blue split */
.brandbar{
  height: 8px;
  display:flex;
}
.brandbar span{ flex:1; }
.brandbar span:nth-child(1){ background: var(--red); }
.brandbar span:nth-child(2){ background: var(--navy-mid); }
.brandbar span:nth-child(3){ background: var(--gold); }

/* Cards */
.grid{ display:grid; gap: 26px; }
.grid--3{ grid-template-columns: repeat(3, 1fr); }
.grid--2{ grid-template-columns: repeat(2, 1fr); }
.grid--4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){
  .grid--3, .grid--4{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px){
  .grid--2, .grid--3, .grid--4{ grid-template-columns: 1fr; }
}

.card{
  background: var(--white);
  border: 1px solid var(--paper-dim);
  border-radius: var(--radius);
  padding: 26px;
  border-top: 4px solid var(--navy-mid);
}
.card h3{ font-size: 19px; margin-bottom: 10px; }
.card p{ color: var(--ink-soft); margin:0; font-size: 15.5px; }
.card--red{ border-top-color: var(--red); }
.card--gold{ border-top-color: var(--gold); }

.tag{
  display:inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 3px;
  background: var(--paper-dim);
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.value{
  display:flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--paper-dim);
}
.value:last-child{ border-bottom:none; }
.value__mark{
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--white);
  background: var(--red);
  width: 34px; height:34px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  flex: none;
}
.value h4{ margin:0 0 4px; font-size: 16px; color: var(--navy-deep); text-transform:none; letter-spacing:0; font-family: var(--font-body); font-weight:700; }
.value p{ margin:0; color: var(--ink-soft); font-size: 15px; }

.quote{
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 22px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy-deep);
  text-transform: none;
  letter-spacing: 0;
  max-width: 60ch;
}

/* video / stream tiles */
.videotile{
  background: var(--ink);
  border-radius: var(--radius);
  overflow:hidden;
  position:relative;
  aspect-ratio: 16/9;
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--paper-dim);
}
.videotile::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(circle at 30% 20%, rgba(30,47,168,0.5), transparent 60%);
}
.videotile__play{
  position:relative; z-index:2;
  width: 56px; height:56px;
  border-radius:50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.4);
  display:flex; align-items:center; justify-content:center;
}
.videotile__play::before{
  content:"";
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--white);
  margin-left: 4px;
}
.videotile__label{
  position:absolute; left:14px; bottom:12px; z-index:2;
  font-family: var(--font-mono); font-size: 12px; color: var(--white);
}
.videotile__live{
  position:absolute; right:14px; top:12px; z-index:2;
  font-family: var(--font-mono); font-size: 10px; letter-spacing:0.1em;
  background: var(--red); color:#fff; padding: 3px 8px; border-radius:3px;
  display:flex; align-items:center; gap:6px;
}
.videotile__live::before{ content:""; width:6px; height:6px; border-radius:50%; background:#fff; animation: pulse-dot 1.6s ease-in-out infinite; }

/* News cards */
.newscard{
  background: var(--white);
  border: 1px solid var(--paper-dim);
  border-radius: var(--radius);
  overflow:hidden;
}
.newscard__media{
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-deep));
  position:relative;
}
.newscard__media .tag{ position:absolute; left:12px; top:12px; background: var(--red); color:#fff; margin:0; }
.newscard__body{ padding: 18px 20px 22px; }
.newscard__date{ font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-soft); letter-spacing: 0.06em; }
.newscard h3{ font-size:17px; margin: 8px 0 8px; }
.newscard p{ font-size: 14.5px; color: var(--ink-soft); }

/* Contact */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 880px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-list{ list-style:none; margin:0; padding:0; }
.contact-list li{
  display:flex; gap:14px; align-items:flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--paper-dim);
}
.contact-list li:last-child{ border-bottom:none; }
.contact-list .ico{
  width: 34px; height:34px; border-radius:50%;
  background: var(--navy-deep); color: var(--white);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-mono); font-size:13px; flex:none;
}
.contact-list b{ display:block; font-size: 12px; text-transform:uppercase; letter-spacing:0.08em; color: var(--ink-soft); font-family: var(--font-mono); margin-bottom:2px; }
.contact-list a:hover{ color: var(--red); }

.form-field{ margin-bottom: 18px; }
.form-field label{ display:block; font-family: var(--font-mono); font-size:12px; letter-spacing:0.06em; text-transform:uppercase; color: var(--ink-soft); margin-bottom:6px; }
.form-field input, .form-field textarea, .form-field select{
  width:100%; padding: 12px 14px; border:1px solid var(--paper-dim); border-radius:4px;
  font-family: var(--font-body); font-size: 15px; background: var(--white);
}
.form-field input:focus, .form-field textarea:focus{ border-color: var(--navy-mid); }
.map-frame{ border-radius: var(--radius); overflow:hidden; border:1px solid var(--paper-dim); }

/* CTA band */
.cta-band{
  background: var(--red);
  color: var(--white);
  padding: 46px 0;
  text-align:center;
}
.cta-band h2{ color: var(--white); margin-bottom: 10px; }
.cta-band p{ color: rgba(255,255,255,0.85); margin-bottom: 22px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{
  background: var(--ink);
  color: var(--paper-dim);
  padding: 54px 0 0;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 880px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-grid h4{
  color: var(--white); font-size: 13px; letter-spacing: 0.1em;
  font-family: var(--font-mono); text-transform:uppercase; margin-bottom: 16px;
}
.footer-grid ul{ list-style:none; margin:0; padding:0; }
.footer-grid li{ margin-bottom: 10px; font-size: 14.5px; }
.footer-grid a:hover{ color: var(--white); }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.footer-brand img{ height:40px; border-radius:4px; }
.footer-brand span{ font-family: var(--font-display); color:var(--white); font-size:18px; }
.footer-tagline{ font-size: 14px; max-width: 32ch; color: var(--paper-dim); }
.footer-bottom{
  display:flex; justify-content: space-between; align-items:center;
  padding: 20px 24px; flex-wrap:wrap; gap:10px;
  font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.5);
  max-width: var(--max-w); margin:0 auto;
}
.footer-bottom a{ color: rgba(255,255,255,0.7); }
.footer-bottom a:hover{ color: var(--gold); }

/* Language switching is handled in JS by swapping textContent of any
   element carrying both data-en and data-fr attributes — see js/main.js */

/* page header (interior pages) */
.pagehead{
  background: var(--navy-deep);
  color: var(--white);
  padding: 54px 0 40px;
  position:relative;
  overflow:hidden;
}
.pagehead .eyebrow{ color: var(--gold); }
.pagehead h1{ color:var(--white); font-size: clamp(30px, 4vw, 44px); }
.pagehead p{ color: var(--paper-dim); max-width: 60ch; }

/* ============================================================
   MODERN / DYNAMIC LAYER
   Scroll reveals, glass panels, animated gradient depth, live
   counters, and livelier motion — layered on top of the broadcast
   identity above rather than replacing it.
   ============================================================ */

/* ---- Ambient gradient orbs (used behind hero + pagehead) ---- */
.orb-field{ position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0; }
.orb{
  position:absolute;
  border-radius:50%;
  filter: blur(60px);
  opacity:0.35;
  animation: orb-drift 18s ease-in-out infinite;
}
.orb--red{ background: var(--red); width:340px; height:340px; top:-80px; right:8%; }
.orb--gold{ background: var(--gold); width:260px; height:260px; bottom:-60px; left:6%; animation-duration:22s; animation-delay:-6s; }
.orb--blue{ background: var(--blue); width:300px; height:300px; top:20%; left:38%; animation-duration:26s; animation-delay:-12s; opacity:0.25; }
@keyframes orb-drift{
  0%,100%{ transform: translate(0,0) scale(1); }
  33%{ transform: translate(24px,-18px) scale(1.08); }
  66%{ transform: translate(-18px,14px) scale(0.95); }
}
/* fine dot-grid texture for premium depth */
.dot-grid::after{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 40%, transparent 100%);
}

/* ---- Scroll reveal ---- */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible{ opacity:1; transform:none; }
/* staggered pop-in for grid children once the parent section reveals */
.reveal .card, .reveal .newscard, .reveal .videotile, .reveal .value, .reveal .stat{
  opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible .card,  .reveal.is-visible .newscard, .reveal.is-visible .videotile, .reveal.is-visible .value, .reveal.is-visible .stat{
  opacity:1; transform:none;
}
.reveal.is-visible .grid > *:nth-child(1){ transition-delay: .02s; }
.reveal.is-visible .grid > *:nth-child(2){ transition-delay: .09s; }
.reveal.is-visible .grid > *:nth-child(3){ transition-delay: .16s; }
.reveal.is-visible .grid > *:nth-child(4){ transition-delay: .23s; }
.reveal.is-visible .grid > *:nth-child(5){ transition-delay: .30s; }
.reveal.is-visible .grid > *:nth-child(6){ transition-delay: .37s; }
.reveal.is-visible .grid > *:nth-child(n+7){ transition-delay: .42s; }

/* ---- Nav: glass on scroll ---- */
.site-header{ transition: background-color .3s ease, box-shadow .3s ease, padding .3s ease; }
.site-header--scrolled{
  background: rgba(11,22,64,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.nav__links a{ position:relative; }
.nav__links a::after{
  content:""; position:absolute; left:2px; right:2px; bottom:-2px; height:2px;
  background: var(--red); transform: scaleX(0); transform-origin:left;
  transition: transform .25s ease;
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after{ transform: scaleX(1); }
.nav__links a[aria-current="page"]{ border-bottom-color: transparent; }

/* ---- Buttons: lift + glow ---- */
.btn{ transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease; }
.btn:hover{ transform: translateY(-2px); }
.btn--primary:hover{ box-shadow: 0 10px 24px rgba(226,32,48,0.35); }
.btn--live:hover{ box-shadow: 0 10px 24px rgba(226,32,48,0.4); }
.btn:active{ transform: translateY(0); }

/* ---- Live badge: radar ping instead of a flat dot ---- */
.live-ping{ position:relative; display:inline-flex; width:9px; height:9px; }
.live-ping::before, .live-ping::after{
  content:""; position:absolute; inset:0; border-radius:50%; background: currentColor;
}
.live-ping::before{ animation: ping-ring 1.8s cubic-bezier(0,0,.2,1) infinite; }
.live-ping::after{ opacity:0.9; }
@keyframes ping-ring{
  0%{ transform: scale(1); opacity:0.7; }
  75%,100%{ transform: scale(2.6); opacity:0; }
}

/* ---- Cards: lift + sheen ---- */
.card{ position:relative; overflow:hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover{ transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,22,64,0.14); border-color: transparent; }
.card::before{
  content:""; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg); transition: left .6s ease; pointer-events:none;
}
.card:hover::before{ left:130%; }

/* ---- Video tiles: zoom + glow on hover ---- */
.videotile{ transition: transform .3s ease, box-shadow .3s ease; }
.videotile:hover{ transform: translateY(-4px) scale(1.015); box-shadow: 0 20px 44px rgba(0,0,0,0.35); }
.videotile__play{ transition: transform .25s ease, background-color .25s ease; }
.videotile:hover .videotile__play{ transform: scale(1.12); background: rgba(226,32,48,0.85); border-color: rgba(255,255,255,0.7); }

/* ---- News cards: media zoom on hover ---- */
.newscard{ transition: transform .25s ease, box-shadow .25s ease; }
.newscard:hover{ transform: translateY(-5px); box-shadow: 0 18px 38px rgba(11,22,64,0.12); }
.newscard__media{ overflow:hidden; }
.newscard__media{ transition: none; }
.newscard a .newscard__media{ transform: scale(1); transition: transform .5s ease; }
.newscard:hover .newscard__media{ transform: scale(1.06); }

/* ---- Glass panel (used for hero stat panel) ---- */
.glass{
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ---- Live stat strip: animated counters, real numbers ---- */
.stat-strip{ position:relative; z-index:1; }
.stat-strip .grid{ gap:18px; }
.stat{
  text-align:center;
  padding: 26px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
}
.stat__value{
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  color: var(--white);
  line-height:1;
  display:flex; align-items:baseline; justify-content:center; gap:2px;
}
.stat__suffix{ font-size: 0.5em; color: var(--gold); }
.stat__label{
  margin-top:10px; font-family: var(--font-mono); font-size:11.5px;
  letter-spacing:0.1em; text-transform:uppercase; color: var(--paper-dim);
}

/* ---- Ticker: fade at edges for a more premium finish ---- */
.ticker{ position:relative; }
.ticker::before, .ticker::after{
  content:""; position:absolute; top:0; bottom:0; width:40px; z-index:2; pointer-events:none;
}
.ticker::before{ left:0; background: linear-gradient(90deg, var(--ink), transparent); }
.ticker::after{ right:0; background: linear-gradient(270deg, var(--ink), transparent); }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; }
  .orb{ animation:none; }
  .live-ping::before{ animation:none; }
}

/* ============================================================
   RGTV UI/UX REFINEMENT v3
   International broadcast polish, responsive navigation,
   accessible focus states, admin navigation and mobile cleanup.
   ============================================================ */
:root{
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --surface: #FFFFFF;
  --surface-soft: #F3F5F9;
  --border-soft: rgba(11,22,64,.10);
  --shadow-sm: 0 8px 26px rgba(11,22,64,.08);
  --shadow-md: 0 20px 55px rgba(11,22,64,.13);
}
body{ background:#F8F9FC; }
.container{ width:min(100% - 40px, var(--max-w)); padding:0; }
.skip-link{
  position:fixed; left:16px; top:12px; z-index:9999; transform:translateY(-160%);
  background:#fff; color:var(--navy-deep); padding:10px 14px; border-radius:8px; font-weight:700;
  box-shadow:var(--shadow-sm); transition:transform .18s ease;
}
.skip-link:focus{ transform:none; }

.ticker{ border-bottom-width:2px; }
.ticker__inner{ padding:6px 0; gap:48px; }
.ticker__item{ font-size:12px; }
.site-header{ border-bottom:1px solid rgba(255,255,255,.10); }
.site-header--scrolled{ border-bottom-color:rgba(255,255,255,.08); }
.nav{ min-height:76px; padding:10px 0; }
.brand{ min-width:max-content; }
.brand img{ height:50px; width:92px; object-fit:contain; object-position:center; background:#fff; padding:3px; border-radius:9px; }
.brand__name{ font-size:20px; }
.nav__links{ gap:20px; }
.nav__links a{ font-size:11.5px; letter-spacing:.07em; }
.nav__actions{ gap:10px; }
.lang-toggle{ border-radius:999px; padding:7px 10px; }
.nav__actions .btn--live{ padding:10px 16px 10px 29px; font-size:11.5px; border-radius:999px; }
.nav__burger{ width:42px; height:42px; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.18); border-radius:10px; }
.nav__burger span{ transition:transform .2s ease, opacity .2s ease; }
.nav__burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav__burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
.nav__backdrop{ display:none; }

.hero{ padding:104px 0 88px; min-height:590px; display:flex; align-items:center; }
.hero__grid{ grid-template-columns:minmax(0,1.16fr) minmax(320px,.84fr); gap:64px; }
.hero h1{ font-size:clamp(44px,5.5vw,72px); max-width:13ch; letter-spacing:-.015em; }
.hero p.lead{ font-size:19px; line-height:1.6; max-width:52ch; }
.hero__panel{ border-radius:var(--radius-lg); padding:30px; box-shadow:0 30px 80px rgba(0,0,0,.22); }
.hero__panel .slot{ padding:15px 0; gap:18px; }
.hero__panel .slot span{ color:rgba(255,255,255,.60); }
.hero__panel .slot b{ max-width:62%; text-align:right; line-height:1.45; }
.hero__actions{ gap:12px; }
.btn{ border-radius:999px; padding:12px 21px; font-weight:600; }
.btn--outline{ background:rgba(255,255,255,.04); }

.section{ padding:86px 0; }
.section--tight{ padding:50px 0; }
.section__head{ margin-bottom:38px; }
.section__head h2{ font-size:clamp(30px,3.5vw,46px); }
.card{ border-color:var(--border-soft); border-top-width:3px; box-shadow:0 1px 0 rgba(11,22,64,.02); }
.card:hover{ box-shadow:var(--shadow-md); }
.newscard{ border-color:var(--border-soft); box-shadow:0 1px 0 rgba(11,22,64,.02); }
.newscard__media{ background-color:#101938; }
.videotile{ border-radius:var(--radius); box-shadow:0 10px 28px rgba(0,0,0,.12); isolation:isolate; }
.videotile::before{ content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(180deg,transparent 42%,rgba(6,10,28,.82) 100%); }
.videotile::after{ z-index:0; }
.videotile__label{ left:18px; bottom:16px; right:18px; font-size:13px; font-weight:600; text-shadow:0 2px 10px rgba(0,0,0,.45); }
.stat{ border-radius:16px; }
.stat__value{ font-size:clamp(34px,4vw,50px); }
.cta-band{ padding:64px 0; background:linear-gradient(120deg,var(--red-dark),var(--red)); }
.cta-band .container{ max-width:780px; }
.site-footer{ padding-top:64px; }
.footer-notify{ background:none; border:1px solid rgba(255,255,255,.22); color:rgba(255,255,255,.72); border-radius:999px; padding:7px 12px; cursor:pointer; font-family:var(--font-mono); font-size:11px; }
.footer-notify:hover{ color:#fff; border-color:var(--gold); }

.form-field input,.form-field textarea,.form-field select{ border-radius:10px; border-color:var(--border-soft); box-shadow:0 1px 0 rgba(11,22,64,.02); }
.form-field input:focus,.form-field textarea:focus,.form-field select:focus{ outline:none; border-color:var(--blue); box-shadow:0 0 0 4px rgba(30,47,168,.10); }

/* Admin experience shared across every /admin/ page */
.admin-toolbar{ position:sticky; top:76px; z-index:45; background:#fff; border-bottom:1px solid var(--border-soft); box-shadow:0 7px 22px rgba(11,22,64,.06); }
.admin-toolbar__inner{ display:flex; align-items:center; gap:6px; overflow-x:auto; padding-top:8px; padding-bottom:8px; scrollbar-width:none; }
.admin-toolbar__inner::-webkit-scrollbar{ display:none; }
.admin-toolbar a{ flex:none; font-family:var(--font-mono); font-size:11px; letter-spacing:.05em; text-transform:uppercase; padding:8px 11px; border-radius:999px; color:var(--ink-soft); }
.admin-toolbar a:hover{ color:var(--navy-deep); background:var(--surface-soft); }
.admin-dashboard-head{ display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:28px; }
.admin-dashboard-head p{ margin:0; color:var(--ink-soft); }
.metric-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-bottom:30px; }
.metric-card{ background:#fff; border:1px solid var(--border-soft); border-radius:16px; padding:20px; box-shadow:var(--shadow-sm); }
.metric-card__label{ margin:0 0 8px; font-family:var(--font-mono); font-size:10.5px; text-transform:uppercase; letter-spacing:.08em; color:var(--ink-soft); }
.metric-card__value{ margin:0; color:var(--navy-deep); font-family:var(--font-display); font-size:34px; line-height:1; }
.admin-actions{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.admin-action-card{ display:block; background:#fff; border:1px solid var(--border-soft); border-radius:14px; padding:18px; min-height:122px; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.admin-action-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-sm); border-color:rgba(30,47,168,.22); }
.admin-action-card h3{ font-size:16px; margin-bottom:7px; text-transform:none; }
.admin-action-card p{ font-size:14px; color:var(--ink-soft); margin:0; }

@media (max-width:1080px){
  .nav__burger{ display:flex; }
  .nav__links{
    position:fixed; top:0; right:0; bottom:0; left:auto; width:min(390px,88vw); z-index:80;
    display:flex; flex-direction:column; align-items:stretch; gap:3px; padding:96px 24px 28px;
    background:rgba(11,22,64,.98); border:0; box-shadow:-24px 0 60px rgba(0,0,0,.28);
    transform:translateX(105%); transition:transform .25s ease; overflow-y:auto;
  }
  .nav__links.is-open{ display:flex; transform:none; }
  .nav__links li{ width:100%; }
  .nav__links a{ display:block; width:100%; padding:13px 4px; font-size:14px; border-bottom:1px solid rgba(255,255,255,.08); }
  .nav__links a::after{ display:none; }
  .nav__backdrop{ position:fixed; inset:0; z-index:70; background:rgba(5,8,20,.58); backdrop-filter:blur(3px); }
  body.nav-open{ overflow:hidden; }
  body.nav-open .nav__backdrop{ display:block; }
  .nav__burger{ position:relative; z-index:90; }
  .hero__grid{ gap:40px; }
  .admin-toolbar{ top:76px; }
  .metric-grid,.admin-actions{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px){
  body{ font-size:16px; }
  .container{ width:min(100% - 30px,var(--max-w)); }
  .ticker__inner{ gap:34px; }
  .ticker__item{ font-size:11px; }
  .nav{ min-height:68px; }
  .brand img{ width:78px; height:44px; }
  .brand__name{ font-size:17px; }
  .nav__actions .btn--live{ display:none; }
  .hero{ min-height:auto; padding:72px 0 62px; }
  .hero__grid{ grid-template-columns:1fr; gap:34px; }
  .hero h1{ font-size:clamp(40px,12vw,60px); max-width:11.5ch; }
  .hero p.lead{ font-size:17px; }
  .hero__panel{ padding:22px; }
  .hero__panel .slot{ align-items:flex-start; flex-direction:column; gap:4px; }
  .hero__panel .slot b{ max-width:100%; text-align:left; }
  .section{ padding:64px 0; }
  .section--tight{ padding:38px 0; }
  .grid{ gap:16px; }
  .card{ padding:22px; }
  .pagehead{ padding:46px 0 32px; }
  .footer-bottom{ padding-left:0; padding-right:0; }
  .admin-toolbar{ top:68px; }
  .admin-dashboard-head{ align-items:flex-start; flex-direction:column; }
}
@media (max-width:520px){
  .brand__name{ display:none; }
  .lang-toggle{ font-size:10.5px; padding:6px 9px; }
  .hero__actions .btn{ width:100%; justify-content:center; }
  .metric-grid,.admin-actions{ grid-template-columns:1fr; }
  .stat-strip .grid{ grid-template-columns:repeat(2,1fr); }
  .stat{ padding:20px 8px; }
  .stat__label{ font-size:9.5px; }
}
.live-status{ display:inline-flex; align-items:center; gap:8px; color:#fff; }
.media-section-head{ max-width:none; display:flex; align-items:end; justify-content:space-between; gap:24px; }
.media-section-head > div{ max-width:720px; }
.text-link{ font-family:var(--font-mono); font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--red); font-weight:600; white-space:nowrap; padding-bottom:7px; }
.text-link:hover{ color:var(--red-dark); }
.video-category{ position:absolute; z-index:3; left:16px; top:14px; margin:0; background:rgba(11,22,64,.84); color:#fff; backdrop-filter:blur(6px); }
@media(max-width:760px){ .media-section-head{ align-items:flex-start; flex-direction:column; gap:4px; } }
.admin-toolbar a[aria-current="page"]{ background:var(--navy-deep); color:#fff; }
@media (max-width:1080px){ .site-header{ z-index:90; } .nav__backdrop{ z-index:70; } }
@media (prefers-reduced-motion: reduce){
  .ticker__inner{ animation:none !important; transform:none !important; }
}

/* ================================================================
   RGTV v3.2 — Publishing, video upload & slogan console
   ================================================================ */

/* Hero console typing treatment */
.hero-console{
  display:inline-flex;
  align-items:center;
  gap:9px;
  max-width:100%;
  min-height:40px;
  margin:16px 0 18px;
  padding:9px 14px 9px 11px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:10px;
  background:rgba(5,11,32,.82);
  box-shadow:0 16px 34px rgba(2,7,24,.25), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
  font-family:var(--font-mono);
  font-size:13px;
  line-height:1.4;
  color:#fff;
}
.hero-console__lights{display:inline-flex;gap:5px;margin-right:3px;flex:0 0 auto;}
.hero-console__lights i{display:block;width:7px;height:7px;border-radius:50%;background:var(--red);box-shadow:0 0 10px currentColor;}
.hero-console__lights i:nth-child(2){background:var(--gold);}
.hero-console__lights i:nth-child(3){background:#5e83ff;}
.hero-console__prompt{color:var(--gold);font-weight:700;}
.hero-console__typed{min-width:1ch;white-space:normal;overflow-wrap:anywhere;}
.hero-console__cursor{width:8px;height:1.05em;background:var(--gold);display:inline-block;animation:rgtv-console-blink .8s steps(1,end) infinite;}
@keyframes rgtv-console-blink{0%,45%{opacity:1}46%,100%{opacity:0}}

/* Weekly editorial feature */
.weekly-feature{background:linear-gradient(180deg,#fff 0%,#f7f4ed 100%);}
.weekly-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:24px;align-items:stretch;}
.weekly-article-card{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);overflow:hidden;background:#fff;border:1px solid var(--paper-dim);border-radius:var(--radius);box-shadow:0 18px 44px rgba(11,22,64,.08);}
.weekly-article-card__media{min-height:300px;background:linear-gradient(135deg,var(--navy-deep),var(--red));background-size:cover;background-position:center;}
.weekly-article-card__body{padding:30px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;}
.weekly-article-card__body h3{font-size:clamp(25px,3vw,38px);margin:12px 0 12px;line-height:1.06;}
.weekly-article-card__body h3 a{color:inherit;}
.weekly-article-card__body p{color:var(--ink-soft);}
.weekly-quote-card{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;min-height:340px;padding:34px;background:var(--navy-deep);color:#fff;border-radius:var(--radius);box-shadow:0 18px 44px rgba(11,22,64,.18);}
.weekly-quote-card::after{content:"";position:absolute;right:-60px;bottom:-70px;width:220px;height:220px;border-radius:50%;background:rgba(240,169,60,.14);}
.weekly-quote-card .tag{align-self:flex-start;position:relative;z-index:1;}
.weekly-quote-card__mark{font-family:Georgia,serif;font-size:110px;line-height:.6;color:var(--gold);opacity:.8;margin-bottom:10px;position:relative;z-index:1;}
.weekly-quote-card blockquote{position:relative;z-index:1;margin:8px 0 24px;font-family:var(--font-display);font-size:clamp(24px,2.5vw,34px);line-height:1.18;}
.weekly-quote-card__source{position:relative;z-index:1;color:var(--gold);font-family:var(--font-mono);font-size:12px;text-transform:uppercase;letter-spacing:.08em;}

/* Admin publishing UI */
.admin-pagehead{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;}
.admin-pagehead__actions{display:flex;gap:10px;flex-wrap:wrap;}
.publisher-intro{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:24px;align-items:end;margin-bottom:24px;padding:24px;border:1px solid var(--paper-dim);border-radius:var(--radius);background:linear-gradient(135deg,#fff,#f8f5ed);}
.publisher-intro h2{margin:10px 0 0;}
.publisher-intro p{margin:0;color:var(--ink-soft);}
.admin-form-card{padding:24px;border:1px solid var(--paper-dim);border-radius:var(--radius);background:#fff;box-shadow:0 15px 40px rgba(11,22,64,.06);}
.admin-form-actions{display:flex;gap:10px;flex-wrap:wrap;}
.content-type-hint{margin:-2px 0 18px;padding:12px 14px;border-left:3px solid var(--gold);background:#fff8e9;color:var(--ink-soft);font-size:14px;}
.admin-alert{padding:13px 16px;border-radius:8px;margin-bottom:18px;border:1px solid transparent;}
.admin-alert--error{background:#fbe9e9;border-color:#f0bfbf;color:#8a1f1f;}
.admin-alert--success{background:#eaf6ed;border-color:#b9dec2;color:#1e5b2c;}
.admin-publisher{margin-bottom:32px;border:1px solid var(--paper-dim);border-radius:var(--radius);padding:18px;background:#fbfaf7;}
.admin-publisher > summary{cursor:pointer;font-family:var(--font-mono);font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;}
.video-source-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px;}
.source-option{padding:14px;border-radius:9px;background:#fff;border:1px solid var(--paper-dim);display:flex;flex-direction:column;gap:4px;}
.source-option strong{font-family:var(--font-display);font-size:18px;}
.source-option span{font-size:13px;color:var(--ink-soft);}
.source-panel{padding:18px;border-radius:10px;background:#f5f7fb;border:1px solid #dfe5f0;margin-bottom:18px;}
.source-panel__label{display:block;margin-bottom:12px;font-family:var(--font-mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--navy-deep);}
.upload-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:var(--ink-soft);font-family:var(--font-mono);font-size:11px;letter-spacing:.08em;}
.upload-divider::before,.upload-divider::after{content:"";height:1px;background:var(--paper-dim);flex:1;}
.form-field small{display:block;margin-top:7px;color:var(--ink-soft);font-size:12px;line-height:1.45;}
.checkbox-field label{display:flex;align-items:center;gap:8px;cursor:pointer;}
.checkbox-field input{width:auto;display:inline-block;margin:0;}
.admin-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--paper-dim);border-radius:var(--radius);background:#fff;}
.admin-table{width:100%;min-width:760px;border-collapse:collapse;font-size:14px;}
.admin-table th{text-align:left;padding:12px 13px;border-bottom:2px solid var(--ink);font-family:var(--font-mono);font-size:11px;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;}
.admin-table td{padding:13px;border-bottom:1px solid var(--paper-dim);vertical-align:middle;}
.admin-table tbody tr:last-child td{border-bottom:0;}
.admin-table tbody tr:hover{background:#fbfaf7;}
.admin-table__actions{white-space:nowrap;}
.admin-table__actions a{margin-right:10px;font-weight:600;}
.danger-link{color:var(--red)!important;}
.status-pill,.source-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#f0eee8;color:#625d50;font-family:var(--font-mono);font-size:10px;text-transform:uppercase;letter-spacing:.04em;}
.status-pill--published{background:#e7f5eb;color:#1e5b2c;}
.source-badge{background:#edf1fb;color:var(--navy-deep);}
.empty-state{text-align:center;padding:44px 20px;border:1px dashed var(--paper-dim);border-radius:var(--radius);background:#fbfaf7;}
.empty-state h3{margin-top:0;}

/* Video playback */
.video-view-section{padding-top:40px;}
.video-player-shell{aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;background:#000;margin-bottom:26px;box-shadow:0 24px 56px rgba(11,22,64,.18);}
.video-player-shell iframe,.video-player-shell video{display:block;width:100%;height:100%;border:0;background:#000;}
.video-unavailable{height:100%;display:grid;place-items:center;color:#fff;font-family:var(--font-mono);}
.video-detail-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;}
.video-detail-head h1{margin:10px 0 0;}
.video-meta{margin:0;white-space:nowrap;font-family:var(--font-mono);font-size:12px;color:var(--ink-soft);}

@media (max-width:900px){
  .weekly-grid{grid-template-columns:1fr;}
  .publisher-intro{grid-template-columns:1fr;align-items:start;}
  .video-source-grid{grid-template-columns:1fr;}
  .video-detail-head{display:block;}
  .video-meta{white-space:normal;margin-top:12px;}
}
@media (max-width:680px){
  .hero-console{width:100%;font-size:12px;align-items:flex-start;}
  .hero-console__lights{margin-top:5px;}
  .weekly-article-card{grid-template-columns:1fr;}
  .weekly-article-card__media{min-height:220px;}
  .weekly-article-card__body,.weekly-quote-card{padding:24px;}
  .admin-pagehead__actions{width:100%;}
  .admin-pagehead__actions .btn{flex:1 1 150px;text-align:center;}
  .admin-form-card{padding:17px;}
}
@media (prefers-reduced-motion:reduce){
  .hero-console__cursor{animation:none;opacity:1;}
}
