/* Popli Live theme — tri-lingual news portal
   Brand colors taken directly from the Popli Live logo:
   - Dark navy (POPLI text + Khanda + camera)  → primary
   - Saffron orange (outer ring + LIVE 1313)   → accent
*/
:root {
  --pl-blue:        #1E2A5F;   /* primary brand — POPLI text */
  --pl-blue-dark:   #131D44;   /* deeper navy for gradients/hovers */
  --pl-blue-darker: #0F1736;   /* darkest, used in hero gradients */
  --pl-orange:      #E26B25;   /* accent — saffron from logo ring */
  --pl-orange-dark: #B14B0E;   /* darker saffron for hover */
  --pl-dark:        #0F1736;   /* near-black, on-brand */
  --pl-bg:          #f6f7f9;

  /* Override Bootstrap utility colors so .text-danger, .btn-danger, .bg-danger,
     .text-primary, .btn-primary, .bg-primary all map to the brand navy.
     This only affects the public frontend (style.css is not loaded in admin). */
  --bs-danger:        #1E2A5F;
  --bs-danger-rgb:    30, 42, 95;
  --bs-primary:       #1E2A5F;
  --bs-primary-rgb:   30, 42, 95;
  --bs-link-color:    #1E2A5F;
  --bs-link-hover-color: #131D44;
}

html, body {
  font-family: 'Mukta Mahee', 'Noto Sans Gurmukhi', 'Mukta', 'Noto Sans Devanagari', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  color: var(--pl-dark);
  background: #fff;
  scroll-behavior: smooth;
}

/* Per-language font tuning */
body.lang-pa { font-family: 'Mukta Mahee', 'Noto Sans Gurmukhi', system-ui, sans-serif; }
body.lang-hi { font-family: 'Mukta', 'Noto Sans Devanagari', system-ui, sans-serif; }
body.lang-en { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }

body.lang-pa .news-card .title,
body.lang-pa h1, body.lang-pa h2, body.lang-pa h3 {
  line-height: 1.45;
}

/* Header */
.site-header { z-index: 1040; box-shadow: 0 2px 8px rgba(15,23,54,.06); }
.site-header .navbar { padding-top: .75rem; padding-bottom: .75rem; }
.site-header .navbar-brand { font-family: 'Mukta', sans-serif; margin-right: 1.25rem; }
.site-header .navbar-brand .fw-bold { color: var(--pl-blue) !important; font-size: 1.4rem; letter-spacing: .01em; }

#cat-nav .nav-link {
  font-weight: 600;
  font-size: .95rem;
  color: var(--pl-dark);
  padding: .55rem .85rem;
  white-space: nowrap;
  border-radius: .35rem;
  transition: background .15s, color .15s;
}
#cat-nav .nav-link:hover,
#cat-nav .nav-link.active { color: var(--pl-blue); background: rgba(30,42,95,.06); }

@media (min-width: 992px) {
  #cat-nav { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
  #cat-nav::-webkit-scrollbar { height: 0; }
}

/* Breaking bar (saffron — eye-catching, on-brand) */
.breaking-bar { background: var(--pl-orange); }
.breaking-bar #breaking-text { white-space: nowrap; animation: ticker 35s linear infinite; }
@keyframes ticker {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}

/* Hero band — subtle on-brand gradient */
.bg-light-subtle {
  background: linear-gradient(180deg, #f8f9fc 0%, var(--pl-bg) 100%) !important;
}

/* Live player + hero card */
#live-player iframe { border: 0; width: 100%; height: 100%; }
section .card.shadow-sm { box-shadow: 0 4px 14px rgba(15,23,54,.08) !important; border-radius: .75rem; }
#live-player { border-radius: .75rem .75rem 0 0; overflow: hidden; }

/* Section headings — colored accent rule next to the title */
.section-head {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: 1.25rem;
  letter-spacing: .005em;
  position: relative;
  padding-left: .85rem;
}
.section-head h2::before {
  content: "";
  position: absolute;
  left: 0; top: .2em; bottom: .2em;
  width: 4px;
  background: var(--pl-orange);
  border-radius: 2px;
}
.section-head .section-rule {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(30,42,95,.18), rgba(30,42,95,0));
}
@media (min-width: 768px) {
  .section-head h2 { font-size: 1.5rem; }
}

/* Category tile grid — visible all-categories block on the homepage */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
@media (min-width: 576px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .cat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 1.15rem .5rem;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: .6rem;
  color: var(--pl-dark);
  text-align: center;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  min-height: 110px;
}
.cat-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30,42,95,.12);
  border-color: transparent;
  color: var(--pl-blue);
}
.cat-tile-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.35rem;
  background: rgba(30,42,95,.08);
  color: var(--pl-blue);
  transition: background .15s, color .15s;
}
.cat-tile:hover .cat-tile-icon { background: var(--pl-blue); color: #fff; }
.cat-tile-label {
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.25;
}
/* Color rotation across tiles so the grid isn't monochrome */
.cat-tile.cat-tint-1 .cat-tile-icon { background: rgba(226,107,37,.12); color: var(--pl-orange); }
.cat-tile.cat-tint-1:hover .cat-tile-icon { background: var(--pl-orange); color: #fff; }
.cat-tile.cat-tint-2 .cat-tile-icon { background: rgba(34,139,87,.12);  color: #1f8a5a; }
.cat-tile.cat-tint-2:hover .cat-tile-icon { background: #1f8a5a; color: #fff; }
.cat-tile.cat-tint-3 .cat-tile-icon { background: rgba(155,89,182,.12); color: #7d4ca0; }
.cat-tile.cat-tint-3:hover .cat-tile-icon { background: #7d4ca0; color: #fff; }
.cat-tile.cat-tint-4 .cat-tile-icon { background: rgba(192,57,43,.12);  color: #b53a2b; }
.cat-tile.cat-tint-4:hover .cat-tile-icon { background: #b53a2b; color: #fff; }
.cat-tile.cat-tint-5 .cat-tile-icon { background: rgba(20,140,170,.14); color: #0f7c97; }
.cat-tile.cat-tint-5:hover .cat-tile-icon { background: #0f7c97; color: #fff; }

/* News cards */
.news-card {
  border: 1px solid #e8eaed;
  border-radius: .65rem;
  overflow: hidden;
  background: #fff;
  height: 100%;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15,23,54,.14);
  border-color: transparent;
}
.news-card .thumb { position: relative; aspect-ratio: 4/3; background: #e9ecef; overflow: hidden; }
.news-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.news-card:hover .thumb img { transform: scale(1.04); }
.news-card .thumb .play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15,23,54,0) 45%, rgba(15,23,54,.55));
}
.news-card .thumb .play-overlay i {
  color: #fff;
  font-size: 3rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
  transition: transform .2s;
}
.news-card:hover .thumb .play-overlay i { transform: scale(1.08); }

.news-card .body {
  padding: .9rem 1rem 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.news-card .title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 auto;
  color: var(--pl-dark);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card:hover .title { color: var(--pl-blue); }

/* Google-News-style source row at the bottom of every card */
.news-card .source {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: .85rem;
  font-size: .78rem;
  color: #6b7280;
  font-weight: 500;
  min-width: 0;
}
.news-card .source-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: .75rem;
  flex-shrink: 0;
  background: rgba(30,42,95,.10);
  color: var(--pl-blue);
}
.news-card .source.cat-tint-1 .source-icon { background: rgba(226,107,37,.14); color: var(--pl-orange); }
.news-card .source.cat-tint-2 .source-icon { background: rgba(31,138,90,.14);  color: #1f8a5a; }
.news-card .source.cat-tint-3 .source-icon { background: rgba(125,76,160,.14); color: #7d4ca0; }
.news-card .source.cat-tint-4 .source-icon { background: rgba(181,58,43,.14);  color: #b53a2b; }
.news-card .source.cat-tint-5 .source-icon { background: rgba(15,124,151,.14); color: #0f7c97; }
.news-card .source-name {
  font-weight: 600;
  color: #4b5563;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-card .source-dot { opacity: .55; }
.news-card .source-time { color: #6b7280; white-space: nowrap; }

@media (min-width: 992px) {
  .news-card .title { font-size: 1.05rem; -webkit-line-clamp: 3; }
}

/* Banner slot */
.banner-slot { min-height: 0; }
.banner-slot a { display: block; }
.banner-slot img { width: 100%; height: auto; border-radius: .4rem; }

/* Quick news list */
#quick-news .list-group-item { padding: .6rem .9rem; }
#quick-news a { color: var(--pl-dark); text-decoration: none; font-weight: 500; }
#quick-news a:hover { color: var(--pl-blue); }

/* Bootstrap 5.3 hard-codes button hex values, so we re-skin them to the brand. */
.btn-danger,
.btn-primary {
  --bs-btn-bg: var(--pl-blue);
  --bs-btn-border-color: var(--pl-blue);
  --bs-btn-hover-bg: var(--pl-blue-dark);
  --bs-btn-hover-border-color: var(--pl-blue-dark);
  --bs-btn-active-bg: var(--pl-blue-dark);
  --bs-btn-active-border-color: var(--pl-blue-dark);
  --bs-btn-disabled-bg: var(--pl-blue);
  --bs-btn-disabled-border-color: var(--pl-blue);
}

.btn-outline-danger,
.btn-outline-primary {
  --bs-btn-color: var(--pl-blue);
  --bs-btn-border-color: var(--pl-blue);
  --bs-btn-hover-bg: var(--pl-blue);
  --bs-btn-hover-border-color: var(--pl-blue);
  --bs-btn-active-bg: var(--pl-blue);
  --bs-btn-active-border-color: var(--pl-blue);
  --bs-btn-disabled-color: var(--pl-blue);
  --bs-btn-disabled-border-color: var(--pl-blue);
}

/* Sign-in button (deep navy instead of plain black) */
.btn-dark { background-color: var(--pl-blue-darker) !important; border-color: var(--pl-blue-darker) !important; }
.btn-dark:hover { background-color: var(--pl-blue) !important; border-color: var(--pl-blue) !important; }

/* Saffron-accented "warning" buttons (used for important CTAs) */
.btn-warning {
  --bs-btn-bg: var(--pl-orange);
  --bs-btn-border-color: var(--pl-orange);
  --bs-btn-hover-bg: var(--pl-orange-dark);
  --bs-btn-hover-border-color: var(--pl-orange-dark);
  --bs-btn-active-bg: var(--pl-orange-dark);
  --bs-btn-active-border-color: var(--pl-orange-dark);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
}

/* Mobile tweaks */
@media (max-width: 991px) {
  #cat-nav { max-height: 50vh; overflow-y: auto; padding-top: .5rem; border-top: 1px solid #eee; margin-top: .5rem; }
  #cat-nav .nav-link { padding: .55rem .25rem; }
  .site-header .navbar-brand { font-size: 1.4rem !important; }
}

/* Utility */
a { text-decoration: none; }
.bg-light-subtle { background: var(--pl-bg) !important; }

/* Brand utility classes (in case needed) */
.bg-brand-blue   { background-color: var(--pl-blue) !important; }
.bg-brand-orange { background-color: var(--pl-orange) !important; }
.text-brand-blue   { color: var(--pl-blue) !important; }
.text-brand-orange { color: var(--pl-orange) !important; }

/* ===========================================================
   Pro-level animation + color polish layer
   =========================================================== */

/* 1. Thin animated brand-color stripe at the very top of the page */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 1050;
  background: linear-gradient(
    90deg,
    var(--pl-orange) 0%,
    #ffb347 25%,
    var(--pl-blue) 60%,
    var(--pl-blue-dark) 100%
  );
  background-size: 200% 100%;
  animation: brand-stripe 8s ease-in-out infinite alternate;
}
@keyframes brand-stripe {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

/* 2. Hero band — animated soft gradient background */
.bg-light-subtle {
  background: linear-gradient(
    135deg,
    #fff8f0 0%,
    #f6f7fc 35%,
    #eef0f8 70%,
    #fff5e8 100%
  ) !important;
  background-size: 200% 200%;
  animation: hero-shift 18s ease-in-out infinite alternate;
}
@keyframes hero-shift {
  0%   { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

/* 3. LIVE badge — pulsing red dot + ripple */
.badge.bg-danger {
  position: relative;
  padding-left: 1.55rem !important;
}
.badge.bg-danger::before {
  content: "";
  position: absolute;
  left: .55rem;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: #ff4d4f;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 77, 79, .85);
  animation: live-pulse 1.6s ease-out infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(255, 77, 79, .85); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 77, 79, 0);  }
  100% { box-shadow: 0 0 0 0   rgba(255, 77, 79, 0);  }
}

/* 4. Section heading — orange accent bar grows in on first paint */
.section-head h2::before {
  transform-origin: top;
  animation: bar-grow .6s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes bar-grow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
/* Section gradient rule slides in */
.section-head .section-rule {
  background: linear-gradient(90deg, var(--pl-orange) 0%, rgba(30,42,95,.18) 30%, rgba(30,42,95,0) 100%);
  transform-origin: left;
  animation: rule-slide .8s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes rule-slide {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

/* 5. News cards — fade up when they come into view */
.news-card {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity .55s cubic-bezier(.2,.7,.3,1),
    transform .55s cubic-bezier(.2,.7,.3,1),
    box-shadow .18s,
    border-color .18s;
}
.news-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
.news-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 32px rgba(15,23,54,.16);
  border-color: transparent;
}
/* Stagger the cards inside a row — first card animates first, then 80ms apart. */
.row .news-card                       { transition-delay: 0ms; }
.row > [class*=col]:nth-child(2) .news-card  { transition-delay: 60ms; }
.row > [class*=col]:nth-child(3) .news-card  { transition-delay: 120ms; }
.row > [class*=col]:nth-child(4) .news-card  { transition-delay: 180ms; }
.row > [class*=col]:nth-child(5) .news-card  { transition-delay: 240ms; }
.row > [class*=col]:nth-child(6) .news-card  { transition-delay: 300ms; }
.row > [class*=col]:nth-child(7) .news-card  { transition-delay: 360ms; }
.row > [class*=col]:nth-child(8) .news-card  { transition-delay: 420ms; }

/* Color the play-overlay to brand-orange + grow on hover */
.news-card .thumb .play-overlay i {
  color: #fff;
  text-shadow: 0 0 14px rgba(226,107,37,.55);
  transition: transform .25s ease, color .25s ease, filter .25s ease;
}
.news-card:hover .thumb .play-overlay i {
  transform: scale(1.18);
  color: var(--pl-orange);
  filter: drop-shadow(0 4px 16px rgba(226,107,37,.65));
}

/* 6. Category nav — animated underline on hover */
#cat-nav .nav-link {
  position: relative;
}
#cat-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: 4px;
  height: 2px;
  background: var(--pl-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
  border-radius: 2px;
}
#cat-nav .nav-link:hover::after,
#cat-nav .nav-link.active::after { transform: scaleX(1); }

/* 7. Header brand — subtle glow on hover */
.site-header .navbar-brand img {
  transition: transform .3s cubic-bezier(.2,.7,.3,1), filter .3s;
}
.site-header .navbar-brand:hover img {
  transform: rotate(-6deg) scale(1.06);
  filter: drop-shadow(0 4px 10px rgba(226,107,37,.4));
}

/* 8. Buttons — gentle lift on hover */
.btn {
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s, background-color .18s, border-color .18s, color .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-warning:hover, .btn-danger:hover, .btn-primary:hover {
  box-shadow: 0 6px 16px rgba(30,42,95,.25);
}

/* 9. Footer — soft brand gradient instead of flat black */
#site-footer > section.bg-dark {
  background: linear-gradient(180deg, var(--pl-blue-darker) 0%, #0a1028 100%) !important;
}
#site-footer h6 { color: #fff !important; letter-spacing: .015em; }
#site-footer a:hover { color: var(--pl-orange) !important; transition: color .2s; }
/* Footer icons — flat muted style matching the social icon row */
#site-footer ul li i.bi {
  display: inline-block;
  width: 1.2rem;
  text-align: center;
  color: rgba(255, 255, 255, .55);          /* same tone as text-white-50 */
  font-size: .95rem;
  margin-right: .5rem !important;
  vertical-align: -1px;
  transition: color .2s, transform .2s;
}
#site-footer ul li a:hover > i.bi {
  color: var(--pl-orange);
  transform: scale(1.1);
}
/* Donate / Advertise CTAs keep their saffron tint as a subtle highlight */
#site-footer ul li a.fw-bold > i.bi { color: var(--pl-orange); }

/* 10. Smooth scroll + selection color */
html { scroll-behavior: smooth; }
::selection { background: var(--pl-orange); color: #fff; }

/* Popular speakers strip on the homepage — horizontal-scrollable on mobile, grid on desktop */
.speakers-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
}
@media (min-width: 576px) { .speakers-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .speakers-strip { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .speakers-strip { grid-template-columns: repeat(6, 1fr); } }

.speaker-strip-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: .65rem;
  padding: 1rem .65rem;
  text-align: center;
  text-decoration: none;
  color: var(--pl-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.speaker-strip-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(15,23,54,.12);
  border-color: transparent;
  color: var(--pl-blue);
}
.speaker-strip-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pl-blue) 0%, var(--pl-blue-dark) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .5rem;
  border: 2px solid transparent;
  transition: border-color .2s;
  overflow: hidden;
}
.speaker-strip-card:hover .speaker-strip-avatar { border-color: var(--pl-orange); }
.speaker-strip-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* YouTube hqdefault has black letterbox bars top/bottom — zoom slightly to crop them */
  transform: scale(1.32);
  transform-origin: center 35%;
}
.speaker-strip-honorific {
  color: var(--pl-orange);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.speaker-strip-name {
  font-weight: 600;
  font-size: .85rem;
  line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.speaker-strip-count {
  margin-top: .35rem;
  font-size: .72rem;
  color: #6b7280;
}
.speakers-strip-skel {
  height: 165px;
  border-radius: .65rem;
  background: linear-gradient(90deg, #f3f5f9 0%, #e9ecf4 50%, #f3f5f9 100%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.4s ease-in-out infinite;
}

/* 11. Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .news-card { opacity: 1 !important; transform: none !important; }
}

/* ===========================================================
   Pro hero — branded background + custom live player frame
   =========================================================== */
.hero-band {
  background:
    radial-gradient(1100px 380px at 20% -10%, rgba(226,107,37,.18), transparent 60%),
    radial-gradient(900px 380px at 90% 110%, rgba(30,42,95,.22), transparent 55%),
    linear-gradient(135deg, #fff8f0 0%, #f4f6fc 60%, #fff5e8 100%);
}

/* Branded frame around the live player */
.hero-player-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--pl-blue-darker);
  box-shadow:
    0 20px 50px -12px rgba(15, 23, 54, .35),
    0 0 0 1px rgba(255, 255, 255, .5) inset;
}
.hero-player-wrap #live-player iframe { border: 0; width: 100%; height: 100%; display: block; }
.hero-player-wrap #live-player { background: var(--pl-blue-darker); }

.hero-player-meta {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .9rem 1.1rem;
  background: linear-gradient(180deg, rgba(15,23,54,.96), rgba(15,23,54,1));
  color: #fff;
}
.hero-onair {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .65rem;
  background: var(--pl-orange);
  color: #fff;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .12em;
  border-radius: .35rem;
  text-transform: uppercase;
}
.hero-onair-dot {
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255,255,255,.85);
  animation: live-pulse 1.4s ease-out infinite;
}
.hero-title { font-weight: 700; font-size: 1.05rem; }
.hero-channel-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .65rem;
  background: rgba(255,255,255,.10);
  color: #fff;
  border-radius: .35rem;
  border: 1px solid rgba(255,255,255,.15);
}

/* ===========================================================
   Hero side rail — Trending now
   =========================================================== */
.hero-rail {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 12px 30px -16px rgba(15,23,54,.25);
  border: 1px solid #eef0f6;
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.hero-rail-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  letter-spacing: .03em;
  font-size: .92rem;
  color: var(--pl-blue);
  padding: .25rem .15rem .85rem;
  border-bottom: 1px solid #eef0f6;
  margin-bottom: .5rem;
}
.hero-rail-head i { color: var(--pl-orange); font-size: 1.1rem; }
.hero-rail-list { display: flex; flex-direction: column; gap: .55rem; flex-grow: 1; }
.hero-rail-skel {
  height: 64px;
  border-radius: .5rem;
  background: linear-gradient(90deg, #f3f5f9 0%, #e9ecf4 50%, #f3f5f9 100%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.4s ease-in-out infinite;
}
@keyframes skel-shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.hero-rail-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .35rem;
  border-radius: .55rem;
  text-decoration: none;
  color: var(--pl-dark);
  transition: background .15s, transform .15s;
}
.hero-rail-item:hover { background: rgba(30,42,95,.05); transform: translateX(2px); color: var(--pl-blue); }
.hero-rail-thumb {
  position: relative;
  width: 84px;
  aspect-ratio: 4/3;
  border-radius: .4rem;
  overflow: hidden;
  background: #e9ecef;
  flex-shrink: 0;
}
.hero-rail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-rail-thumb i {
  position: absolute; inset: 0; margin: auto;
  width: fit-content; height: fit-content;
  color: #fff;
  font-size: 1.6rem;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.4));
}
.hero-rail-text { display: flex; flex-direction: column; min-width: 0; flex-grow: 1; }
.hero-rail-title {
  font-size: .87rem;
  font-weight: 600;
  line-height: 1.35;
  color: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-rail-meta { font-size: .72rem; color: #6b7280; margin-top: .15rem; }

/* ===========================================================
   Hero card variant (used in Featured strip + first card of every section)
   Bigger image, larger headline overlay on the thumb itself.
   =========================================================== */
.news-card-hero { position: relative; }
.news-card-hero .thumb { aspect-ratio: 16/9; }
.news-card-hero .thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,54,0) 35%, rgba(15,23,54,.85) 100%);
  pointer-events: none;
}
.news-card-hero .body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: transparent;
  color: #fff;
  padding: 1.1rem 1.2rem 1.3rem;
  z-index: 2;
}
.news-card-hero .title {
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.3;
  -webkit-line-clamp: 3;
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
.news-card-hero:hover .title { color: #fff; }
.news-card-hero .source { color: rgba(255,255,255,.85); margin-top: .65rem; }
.news-card-hero .source-name { color: #fff; }
.news-card-hero .source-time { color: rgba(255,255,255,.75); }
.news-card-hero .source-icon { background: rgba(255,255,255,.2); color: #fff; }
.news-card-hero .source.cat-tint-1 .source-icon { background: var(--pl-orange); color: #fff; }
.news-card-hero .source.cat-tint-2 .source-icon { background: #1f8a5a; color: #fff; }
.news-card-hero .source.cat-tint-3 .source-icon { background: #7d4ca0; color: #fff; }
.news-card-hero .source.cat-tint-4 .source-icon { background: #b53a2b; color: #fff; }
.news-card-hero .source.cat-tint-5 .source-icon { background: #0f7c97; color: #fff; }

/* "FEATURED" flag on hero cards */
.news-card-flag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 3;
  font-size: .68rem;
  letter-spacing: .14em;
  font-weight: 800;
  padding: .35rem .55rem;
  background: var(--pl-orange);
  color: #fff;
  border-radius: .25rem;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(226,107,37,.45);
}
@media (min-width: 992px) {
  .news-card-hero .title { font-size: 1.6rem; }
}

/* ===========================================================
   Floating "Watch Live" CTA
   =========================================================== */
.watch-live-fab {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 1030;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.1rem;
  background: linear-gradient(135deg, var(--pl-orange) 0%, #c4541b 100%);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(226,107,37,.45);
  transition: transform .2s, box-shadow .2s;
}
.watch-live-fab i { font-size: 1.15rem; position: relative; z-index: 1; }
.watch-live-fab:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 36px rgba(226,107,37,.6);
  color: #fff;
}
.watch-live-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: rgba(226,107,37,.35);
  animation: fab-pulse 1.8s ease-out infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes fab-pulse {
  0%   { transform: scale(.85); opacity: .6; }
  70%  { transform: scale(1.18); opacity: 0;  }
  100% { transform: scale(1.18); opacity: 0;  }
}
@media (max-width: 575px) {
  .watch-live-fab { padding: .6rem .85rem; font-size: .85rem; }
  .watch-live-label { display: none; }
}
