/*
Theme Name: Kameme TV
Theme URI: https://kameme.co.ke
Author: Mediamax Network Limited
Author URI: https://mediamaxnetwork.co.ke
Description: Official custom WordPress theme for Kameme TV, pixel-perfect match to Figma specification with live HLS stream integration, dynamic schedule guide, Murima stories, and responsive left sidebar.
Version: 1.9.6
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: kameme-tv
*/

/* ==========================================================================
   KAMEME TV - Responsive Design System
   Pixel-Perfect Match to Figma Specification (Frame 30:917, 1728px)
   Fixed Left Sidebar (100vh, No Scroll) + Proportional Desktop Scaling
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Color Tokens (Extracted directly from Figma nodes) */
  --color-primary: #C31F18;
  --color-primary-hover: #A51710;
  --color-primary-light: #D8362A;
  
  --color-accent-pink: #FFCDCD;
  --color-accent-coral: #FF675D;

  --color-dark: #1E1E1E;
  --color-dark-pure: #090909;
  --color-dark-chocolate: #421D18;
  --color-text-muted: #746360;

  --color-sidebar-bg: #FFF5F5;
  --color-card-bg: #FFF5F5;
  --color-card-hover: #FFEAEA;
  --color-card-active: #FFDDDD;
  --color-border-subtle: #FFDDDD;
  --color-border-pink: #FFCDCD;
  --color-border-capsule: #EEDBDC;

  --color-white: #FFFFFF;
  --color-bg-page: #FFFFFF;

  /* Typography */
  --font-family-base: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout Widths - Balanced Left Sidebar & Expansive Proportional Content Canvas */
  --sidebar-width: clamp(280px, 20vw, 380px);
  --sidebar-px: clamp(16px, 1.8vw, 28px);
  --content-max-width: clamp(1080px, 82vw, 1760px);
  --content-margin-left: clamp(20px, 2.5vw, 48px);

  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* ==========================================================================
   CSS Reset & Fluid Typography Scale
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Fluid display scaling across desktop and ultra-wide viewports */
@media (min-width: 1440px) {
  html {
    font-size: 106.25%; /* 17px base */
  }
}

@media (min-width: 1680px) {
  html {
    font-size: 112.5%; /* 18px base */
  }
}

@media (min-width: 1920px) {
  html {
    font-size: 118.75%; /* 19px base */
  }
}

@media (min-width: 2560px) {
  html {
    font-size: 131.25%; /* 21px base for 2K/4K displays */
  }
}

body {
  min-height: 100vh;
  font-family: var(--font-family-base);
  color: var(--color-dark);
  background-color: var(--color-bg-page);
  line-height: 1.45;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

input {
  font: inherit;
  border: none;
  outline: none;
}

/* ==========================================================================
   Layout Architecture
   Left Sidebar: FIXED to viewport, fits in 100vh, NO SCROLLING!
   Right Section: Fluid, scrolls naturally with the window!
   ========================================================================== */
.site-page {
  display: block;
  min-height: 100vh;
  width: 100%;
  position: relative;
}

/* ==========================================================================
   LEFT SIDEBAR (Fixed, Fits in 100vh, Absolutely NO SCROLLING!)
   Exact Figma Geometry: 427px width, #FFF5F5 background
   Streamlined vertical stack so full Safaricom ad & socials fit in any 100vh
   ========================================================================== */
.left-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  max-height: 100vh;
  background-color: var(--color-sidebar-bg);
  border-right: 1px solid var(--color-border-subtle);
  padding: clamp(10px, 1.8vh, 22px) var(--sidebar-px) clamp(8px, 1.4vh, 16px) var(--sidebar-px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(4px, 0.8vh, 10px);
  z-index: 100;
  box-sizing: border-box;
  
  /* Strictly no scrollbar */
  overflow: hidden;
}

/* Brand Logo (Streamlined for vertical balance) */
.sidebar-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.sidebar-brand .brand-logo-img {
  width: clamp(140px, 11vw, 175px);
  max-width: 175px;
  height: auto;
  display: block;
}

/* Navigation Links */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: clamp(3px, 0.5vh, 6px);
  flex-shrink: 0;
}

/* Live Pill: Compact & crisp */
.nav-pill-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-primary);
  color: var(--color-white);
  width: clamp(220px, 16vw, 265px);
  max-width: 100%;
  height: clamp(32px, 4vh, 38px);
  padding: 0 clamp(10px, 1vw, 16px);
  border-radius: var(--radius-pill);
  font-size: clamp(11.5px, 0.85vw, 13px);
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(195, 31, 24, 0.22);
  box-sizing: border-box;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.nav-pill-live:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

.live-pulse-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.live-pulse-dot {
  width: 5.5px;
  height: 5.5px;
  background-color: var(--color-white);
  border-radius: 50%;
  position: relative;
}

.live-pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: livePulse 1.8s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes livePulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.nav-pill-live .live-badge-txt {
  font-weight: 700;
  color: var(--color-white);
}

.nav-pill-live .live-prog-txt {
  color: var(--color-accent-pink);
  font-weight: 400;
  font-size: clamp(11px, 0.8vw, 12.5px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: clamp(2px, 0.4vh, 4px) 8px;
  font-weight: 400;
  font-size: clamp(12.5px, 0.88vw, 13.5px);
  color: var(--color-dark);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.sidebar-nav-link:hover,
.sidebar-nav-link.active {
  color: var(--color-primary);
  font-weight: 500;
}

.sidebar-nav-link svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

/* Up Next Section (Exact full-bleed active band matching Figma Rectangle 3) */
.up-next-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
  width: 100%;
}

.up-next-title {
  font-size: clamp(13px, 0.9vw, 14.5px);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 2px;
  padding-left: 2px;
}

.up-next-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.up-next-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(4px, 0.6vh, 6px) var(--sidebar-px);
  margin-left: calc(-1 * var(--sidebar-px));
  margin-right: calc(-1 * var(--sidebar-px));
  border-radius: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.up-next-item.active {
  background-color: #FFEAEA;
}

.up-next-item:not(.active):hover {
  background-color: rgba(255, 234, 234, 0.5);
}

.up-next-info h4 {
  font-size: clamp(12px, 0.82vw, 13px);
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.2;
}

.up-next-info span {
  font-size: clamp(10.5px, 0.75vw, 11.5px);
  font-weight: 400;
  color: var(--color-text-muted);
}

.up-next-play {
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.up-next-play svg {
  width: 9px;
  height: 9px;
  fill: var(--color-dark);
}

.up-next-item.active .up-next-play svg {
  fill: var(--color-primary);
}

/* Sidebar Ad Banner (Preserves true 336 / 280 aspect ratio & fits gracefully) */
.sidebar-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 1;
  min-height: 0;
  width: 100%;
}

.sidebar-ad .ad-label {
  font-size: 9.5px;
  font-weight: 500;
  text-transform: none;
  color: var(--color-text-muted);
  letter-spacing: 0.3px;
  text-align: center;
}

.sidebar-ad a {
  width: 100%;
  display: flex;
  justify-content: center;
}

.sidebar-ad img {
  border-radius: 10px;
  width: 100%;
  max-width: 336px;
  height: auto;
  aspect-ratio: 336 / 280;
  max-height: clamp(160px, 26vh, 280px);
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: block;
}

/* Sidebar Social Links */
.sidebar-socials {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(10px, 1.1vw, 16px);
  padding-top: clamp(6px, 1vh, 10px);
  padding-left: 2px;
  border-top: 1px solid var(--color-border-subtle);
  flex-shrink: 0;
}

.social-icon-link {
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.social-icon-link:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

.social-icon-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* ==========================================================================
   RIGHT MAIN CONTENT STREAM (Scrolls freely!)
   ========================================================================== */
.main-wrapper {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
}

/* Content Canvas: Proportional width, responsive margins, streamlined vertical flow */
.content-canvas {
  width: 100%;
  max-width: var(--content-max-width);
  margin-left: var(--content-margin-left);
  margin-right: auto;
  padding: clamp(6px, 1.2vh, 16px) clamp(16px, 2.5vw, 48px) 48px 0;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vh, 16px);
  flex: 1;
  box-sizing: border-box;
}

/* Mobile Header */
.mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border-subtle);
  position: sticky;
  top: 0;
  z-index: 200;
}

.mobile-brand .brand-logo-img {
  max-width: 140px;
}

.mobile-menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-white);
  stroke-width: 2.2;
}

.mobile-live-bar {
  display: none;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   TOP SEARCH TOOLBAR PILL (Sleek Figma Capsule: Streamlined Height)
   ========================================================================== */
.top-search-pill-toolbar {
  width: 100%;
  max-width: var(--content-max-width);
  height: clamp(34px, 4.2vh, 40px);
  border-radius: var(--radius-pill);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-capsule);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 2px clamp(12px, 1.2vw, 16px);
  gap: 10px;
  box-sizing: border-box;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.top-search-pill-toolbar:focus-within {
  border-color: var(--color-border-pink);
  box-shadow: 0 4px 16px rgba(195, 31, 24, 0.08);
}

.search-field-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.search-field-left .search-icon {
  width: 15px;
  height: 15px;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.search-input-pill {
  width: 100%;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: clamp(12px, 0.8vw, 13px);
  color: var(--color-dark);
  outline: none;
}

.search-input-pill::placeholder {
  color: var(--color-text-muted);
  font-size: clamp(12px, 0.8vw, 13px);
}

.btn-watch-live-pill {
  width: clamp(96px, 7vw, 114px);
  height: clamp(28px, 3.4vh, 32px);
  border-radius: var(--radius-pill);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: inherit;
  font-weight: 700;
  font-size: clamp(11px, 0.75vw, 12px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(195, 31, 24, 0.22);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-watch-live-pill:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

.btn-watch-live-pill .live-dot {
  width: 6.5px;
  height: 6.5px;
  background-color: var(--color-white);
  border-radius: 50%;
}

/* ==========================================================================
   LEADERBOARD AD (Google Standard 728x90 Leaderboard / 970x90 Large Leaderboard)
   ========================================================================== */
.leaderboard-ad-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.leaderboard-ad-block .ad-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.8px;
  text-align: center;
  line-height: 1;
  margin-bottom: 2px;
}

.leaderboard-ad-block a,
.leaderboard-ad-block .ad-slot-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.leaderboard-ad-block img {
  width: 728px;
  max-width: 100%;
  height: 90px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: block;
}

/* Wide screen billboard upgrade (up to 970x90) */
@media (min-width: 1500px) {
  .leaderboard-ad-block img {
    width: 970px;
    max-width: 100%;
    height: 90px;
  }
}

/* Google AdSense container and script iframe support */
.leaderboard-ad-block iframe,
.leaderboard-ad-block ins.adsbygoogle {
  width: 728px !important;
  max-width: 100% !important;
  height: 90px !important;
  display: block !important;
  margin: 0 auto;
}

@media (min-width: 1500px) {
  .leaderboard-ad-block iframe,
  .leaderboard-ad-block ins.adsbygoogle {
    width: 970px !important;
  }
}

@media (max-width: 768px) {
  .leaderboard-ad-block img,
  .leaderboard-ad-block iframe,
  .leaderboard-ad-block ins.adsbygoogle {
    width: 100%;
    max-width: 468px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .leaderboard-ad-block img,
  .leaderboard-ad-block iframe,
  .leaderboard-ad-block ins.adsbygoogle {
    width: 320px;
    max-width: 100%;
    height: 50px;
  }
}

/* Breaking News Ticker (Figma 30:969: Continuous Left Marquee & Premium Broadcast Glow) */
.breaking-ticker {
  width: 100%;
  max-width: var(--content-max-width);
  height: clamp(32px, 3.8vh, 42px);
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #fff2f0 0%, #fff6f5 100%);
  border: 1px solid rgba(195, 31, 24, 0.14);
  display: flex;
  align-items: center;
  padding: 0 12px 0 0;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(195, 31, 24, 0.04);
  position: relative;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.breaking-ticker:hover {
  border-color: rgba(195, 31, 24, 0.3);
  box-shadow: 0 4px 14px rgba(195, 31, 24, 0.1);
}

.breaking-badge {
  width: clamp(88px, 6.5vw, 115px);
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #c31f18 0%, #dc2626 100%);
  color: var(--color-white);
  font-size: clamp(11px, 0.8vw, 13px);
  font-weight: 700;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  z-index: 3;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.12);
  animation: breakingBadgePulse 3.5s ease-in-out infinite;
}

@keyframes breakingBadgePulse {
  0%, 100% {
    box-shadow: 2px 0 8px rgba(195, 31, 24, 0.25);
  }
  50% {
    box-shadow: 2px 0 16px rgba(195, 31, 24, 0.55);
  }
}

.breaking-icon {
  animation: breakingIconFlash 2.5s ease-in-out infinite;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

@keyframes breakingIconFlash {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  45% {
    transform: scale(1.2);
    opacity: 1;
  }
  50% {
    transform: scale(0.9);
    opacity: 0.75;
  }
  55% {
    transform: scale(1.25);
    opacity: 1;
  }
}

.breaking-marquee-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}

.breaking-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: tickerScroll 34s linear infinite;
}

.breaking-ticker:hover .breaking-marquee-track {
  animation-play-state: paused;
}

.breaking-marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 14px;
  padding-right: 14px;
}

.ticker-text {
  font-size: clamp(12px, 0.85vw, 14.5px);
  color: #1a1a1a;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.1px;
}

.breaking-separator {
  color: #c31f18;
  font-size: 14px;
  line-height: 1;
  opacity: 0.85;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   2-Column Main Feed (Figma: Left Video/Schedule column, Right Shows/FB column)
   ========================================================================== */
.two-column-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(340px, 1fr);
  gap: clamp(16px, 2vw, 32px);
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.main-feed-col {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vh, 24px);
  min-width: 0;
  width: 100%;
}

.right-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vh, 24px);
  min-width: 0;
  width: 100%;
  max-width: clamp(340px, 26vw, 460px);
}

/* Section Headings */
.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(16px, 1.25vw, 24px);
  font-weight: 700;
  color: var(--color-dark);
}

.btn-pill-action {
  width: clamp(110px, 7.8vw, 132px);
  height: clamp(28px, 3.4vh, 32px);
  border-radius: var(--radius-pill);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: clamp(11px, 0.74vw, 12px);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-pill-action:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

.link-all-action {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.link-all-action:hover {
  text-decoration: underline;
}

/* ==========================================================================
   LIVE VIDEO HERO (Figma 30:979: 16:9, Expansive Desktop Coverage)
   ========================================================================== */
.video-hero-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: clamp(360px, 52vh, 660px);
  background-color: var(--color-dark-pure);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.42), 0 0 28px -6px rgba(195, 31, 24, 0.22);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.video-hero-container:hover {
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.55);
}

.live-stream-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.video-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.2vh, 14px);
  text-align: center;
  background-color: var(--color-dark-pure);
  z-index: 2;
  transition: background-color var(--transition-fast);
}

.video-hero-container:hover .video-hero-overlay {
  background-color: rgba(9, 9, 9, 0.94);
}

.big-play-btn {
  width: clamp(54px, 5.5vw, 76px);
  height: clamp(54px, 5.5vw, 76px);
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #c31f18 0%, #e53935 100%);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(195, 31, 24, 0.45);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, background 0.35s ease;
  position: relative;
  animation: playRadarPulse 2.8s infinite;
}

@keyframes playRadarPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(195, 31, 24, 0.7);
  }
  70% {
    box-shadow: 0 0 0 22px rgba(195, 31, 24, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(195, 31, 24, 0);
  }
}

.big-play-btn svg {
  width: clamp(18px, 2vw, 26px);
  height: clamp(18px, 2vw, 26px);
  fill: var(--color-white);
  margin-left: 3px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-hero-container:hover .big-play-btn {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(195, 31, 24, 0.65);
}

.video-hero-container:hover .big-play-btn svg {
  transform: scale(1.08) translateX(1px);
}

.video-hero-title {
  color: var(--color-white);
  font-size: clamp(16px, 1.6vw, 23px);
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.2;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.video-hero-container:hover .video-hero-title {
  transform: translateY(-2px);
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.35);
}

/* Video Hero Buffer & Connection Loader */
.video-hero-loader {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 5;
  color: #ffffff;
}

.player-spinner {
  width: 42px;
  height: 42px;
  border: 3.5px solid rgba(255, 255, 255, 0.2);
  border-top-color: #c31f18;
  border-radius: 50%;
  animation: playerSpin 0.75s linear infinite;
}

@keyframes playerSpin {
  to { transform: rotate(360deg); }
}

.loader-text {
  font-size: 13px;
  font-weight: 600;
  color: #dddddd;
  letter-spacing: 0.3px;
}

/* Unmute Notice Pill */
.player-unmute-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(195, 31, 24, 0.92);
  color: #ffffff;
  border: none;
  padding: 7px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
  animation: pulse-unmute 2s infinite;
}

.player-unmute-btn:hover {
  background: #e02820;
  transform: scale(1.05);
}

@keyframes pulse-unmute {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* Picture-in-Picture on Scroll (Floating Sticky Mini-Player) */
.video-hero-placeholder {
  display: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: clamp(360px, 52vh, 660px);
}

.video-hero-container.is-floating-pip {
  position: fixed !important;
  bottom: 24px !important;
  right: var(--pip-right, max(24px, calc(100vw - var(--sidebar-width) - var(--content-margin-left) - var(--content-max-width) + 16px))) !important;
  width: 340px !important;
  max-width: calc(100vw - 32px) !important;
  aspect-ratio: 16 / 9 !important;
  max-height: 191px !important;
  z-index: 99999 !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.55), 0 0 0 2px #c31f18 !important;
  overflow: hidden !important;
  cursor: pointer !important;
  will-change: transform, box-shadow;
}

.video-hero-container.is-floating-pip:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 0 2.5px #c31f18, 0 0 24px rgba(195, 31, 24, 0.4) !important;
}

.pip-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.3) 75%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  z-index: 10;
  pointer-events: auto;
}

.pip-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pip-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #c31f18;
  box-shadow: 0 0 8px #c31f18;
  animation: pulse-live 1.8s infinite;
}

.pip-title {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.pip-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pip-btn {
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  font-size: 14px;
  line-height: 1;
}

.pip-btn:hover {
  background: #c31f18;
  color: #ffffff;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .video-hero-container.is-floating-pip {
    bottom: 16px !important;
    right: 16px !important;
    width: 250px !important;
    max-height: 141px !important;
  }
}

/* ==========================================================================
   TODAY ON KAMEME SCHEDULE LIST (Figma 30:988: #FFF5F5, Proportional Cards)
   ========================================================================== */
.schedule-group {
  margin-bottom: 12px;
}

.schedule-day-heading {
  font-size: clamp(13.5px, 0.95vw, 17px);
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 6px;
  margin-bottom: 6px;
}

.schedule-cards-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schedule-card {
  width: 100%;
  height: clamp(52px, 6vh, 72px);
  border-radius: var(--radius-lg);
  background-color: var(--color-sidebar-bg);
  border-left: 3px solid transparent;
  padding: 0 clamp(10px, 1.2vw, 20px);
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 18px);
  box-sizing: border-box;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-left-color 0.25s ease, box-shadow 0.25s ease;
}

.schedule-card:hover {
  background-color: #fff0ee;
  border-left-color: #c31f18;
  transform: translateX(5px);
  box-shadow: 0 4px 14px rgba(195, 31, 24, 0.08);
}

.schedule-card-time {
  font-size: clamp(12px, 0.85vw, 15px);
  font-weight: 500;
  color: var(--color-text-muted);
  min-width: clamp(80px, 6.5vw, 110px);
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.schedule-card:hover .schedule-card-time {
  color: var(--color-primary);
  font-weight: 600;
}

.schedule-card-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.schedule-card-details h4 {
  font-size: clamp(12.5px, 0.9vw, 15.5px);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.25;
}

.schedule-card-details p {
  font-size: clamp(11px, 0.78vw, 13.5px);
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   MURIMA STORIES CARDS GRID (Figma 30:1029: 3 Cards, #FFF5F5)
   ========================================================================== */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.3vw, 20px);
  width: 100%;
  max-width: 100%;
}

.story-card {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  background-color: var(--color-sidebar-bg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(195, 31, 24, 0.22);
}

.story-card-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
}

.story-card:hover .story-card-thumb {
  transform: scale(1.07);
  filter: brightness(1.04);
}

.story-card-content {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.story-date {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.story-title {
  font-size: clamp(13px, 0.92vw, 15px);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}

.story-card:hover .story-title {
  color: var(--color-primary);
}

.story-excerpt {
  font-size: clamp(11px, 0.75vw, 12.5px);
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   UPCOMING SHOWS (Figma 30:1054: 2 Cards spanning right column)
   ========================================================================== */
.upcoming-shows-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.upcoming-shows-wrapper .section-title {
  font-size: clamp(16px, 1.2vw, 22px);
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
}

.upcoming-shows-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 1vw, 16px);
  width: 100%;
}

.show-card {
  width: 100%;
  border-radius: 12px;
  background-color: #0b0b0b;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  position: relative;
}

.show-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.14) 50%, transparent 100%);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  pointer-events: none;
  z-index: 3;
}

.show-card:hover::before {
  left: 150%;
}

.show-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.38), 0 0 20px rgba(195, 31, 24, 0.22);
}

.show-card-poster {
  width: 100%;
  height: clamp(156px, 17vh, 230px);
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
}

.show-card:hover .show-card-poster {
  transform: scale(1.07);
  filter: brightness(1.06);
}

.show-card-info {
  padding: 8px 10px 10px 10px;
  background-color: #0b0b0b;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 52px;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.show-card:hover .show-card-info {
  background-color: #111111;
}

.show-card-title {
  color: #ffffff;
  font-size: clamp(11.5px, 0.85vw, 14.5px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  transition: color 0.3s ease;
}

.show-card-status {
  color: #a0a0a0;
  font-size: clamp(9.5px, 0.72vw, 12px);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   LATEST ON FACEBOOK (Figma 30:1069: Right column Facebook Post)
   ========================================================================== */
.facebook-feed-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.fb-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.facebook-feed-wrapper .section-title {
  font-size: clamp(16px, 1.2vw, 22px);
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
}

.fb-view-toggle {
  display: inline-flex;
  align-items: center;
  background: #f1f1f1;
  border-radius: var(--radius-pill);
  padding: 2px;
  gap: 2px;
}

.fb-toggle-btn {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  color: #666666;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.fb-toggle-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 1px 4px rgba(195, 31, 24, 0.3);
}

.fb-live-embed-card {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e9e9e9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.fb-post-card {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  padding: 12px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.fb-post-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fb-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.fb-author-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.fb-author-info h4 {
  font-size: clamp(13.5px, 0.95vw, 16.5px);
  font-weight: 700;
  color: #111111;
  line-height: 1.2;
  margin: 0;
}

.fb-author-info span {
  font-size: 11px;
  font-weight: 400;
  color: #888888;
}

.fb-post-text {
  font-size: clamp(12px, 0.85vw, 14.5px);
  font-weight: 400;
  color: #222222;
  line-height: 1.45;
  margin: 0;
}

.fb-post-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: clamp(185px, 22vh, 280px);
  border-radius: 8px;
  overflow: hidden;
}

.fb-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fb-happening-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background-color: #c31f18;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   SCHEDULE PAGE SPECIFIC STYLES (Figma Frame 28:346)
   ========================================================================== */
.schedule-hero-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.schedule-hero-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.schedule-breadcrumb {
  font-size: 11px;
  font-weight: 800;
  color: #c31f18;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.schedule-tag-right-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.schedule-badge-week {
  font-size: 11px;
  font-weight: 800;
  color: #c31f18;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.schedule-week-nav-pills {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #fff4f2;
  padding: 3px 6px;
  border-radius: 20px;
  border: 1px solid rgba(195, 31, 24, 0.15);
}

.week-nav-link {
  font-size: 11px;
  font-weight: 700;
  color: #c31f18;
  text-decoration: none;
  padding: 3px 10px;
  border-radius: 14px;
  transition: all 0.2s ease;
}

.week-nav-link:hover {
  background-color: rgba(195, 31, 24, 0.1);
  color: #a01812;
}

.week-nav-active {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  background-color: #c31f18;
  padding: 3px 10px;
  border-radius: 14px;
  letter-spacing: 0.3px;
}

.schedule-hero-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.schedule-page-title {
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 900;
  color: #111111;
  letter-spacing: -0.5px;
  margin: 0;
  line-height: 1.1;
}

.schedule-page-title .heading-dot {
  color: #c31f18;
}

.schedule-date-range {
  font-size: 16px;
  font-weight: 600;
  color: #2d2d2d;
}

.schedule-legend-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  background-color: #fafafa;
  border: 1px solid #efeae9;
  border-radius: 10px;
  font-size: 12px;
  color: #666666;
  line-height: 1.5;
}

.schedule-legend-left {
  flex: 1;
}

.schedule-legend-strong {
  font-weight: 700;
  color: #222222;
  margin: 0 0 4px 0;
}

.schedule-legend-sub {
  margin: 0;
  color: #777777;
  font-size: 11.5px;
}

.schedule-legend-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legend-indicators {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  font-weight: 700;
  font-size: 12px;
  color: #222222;
}

.badge-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #c31f18;
  margin-right: 4px;
}

.schedule-day-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 24px 0;
}

.day-tab-pill {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  background-color: #fff4f2;
  color: #333333;
  border: 1px solid rgba(195, 31, 24, 0.15);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.day-tab-pill:hover,
.day-tab-pill.active {
  background-color: #c31f18;
  color: #ffffff;
  border-color: #c31f18;
}

.day-tab-pill.is-today-pill {
  border-color: rgba(195, 31, 24, 0.45);
}

.badge-today-dot {
  color: #c31f18;
  font-size: 15px;
  line-height: 0;
  vertical-align: middle;
  margin-left: 2px;
}

.day-tab-pill.active .badge-today-dot {
  color: #ffffff;
}

.badge-today-tag {
  display: inline-block;
  background: linear-gradient(135deg, #c31f18 0%, #e02820 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 3px 9px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(195, 31, 24, 0.35);
  animation: todayBadgePulse 2.4s ease-in-out infinite;
}

.badge-past-tag {
  display: inline-block;
  background-color: #777777;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
  line-height: 1.2;
}

/* Day Schedule Blocks */
.day-schedule-block {
  margin-bottom: 28px;
  transition: all 0.3s ease;
}

.day-schedule-block.is-today-block {
  position: relative;
  border-left: 3.5px solid #c31f18;
  padding-left: 16px;
  margin-left: -19px;
  background: linear-gradient(180deg, rgba(255, 245, 244, 0.45) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 0 12px 12px 0;
  padding-top: 8px;
  padding-bottom: 8px;
}

.day-schedule-block.is-today-block .day-header-bar {
  border-bottom: 2.5px solid #c31f18;
}

.day-schedule-block.is-past-day {
  opacity: 0.88;
}

.day-schedule-block.is-past-day .day-header-bar {
  border-bottom-color: #cccccc;
}

.day-header-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid #c31f18;
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.day-header-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.day-bar-accent {
  color: #c31f18;
  font-weight: 900;
  font-size: 20px;
}

.day-title-main {
  font-size: 20px;
  font-weight: 800;
  color: #111111;
  margin: 0;
}

.day-date-sub {
  font-size: 13.5px;
  font-weight: 600;
  color: #666666;
}

.day-entries-count {
  font-size: 11px;
  font-weight: 700;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 5-Column Equal Width Slots Grid */
.day-slots-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

@media (max-width: 1200px) {
  .day-slots-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .day-slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .day-slots-grid {
    grid-template-columns: 1fr;
  }
}

.schedule-slot-pill {
  background-color: #fff8f7;
  border: 1px solid rgba(195, 31, 24, 0.12);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 84px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.schedule-slot-pill:hover {
  background-color: #fff0ee;
  border-color: rgba(195, 31, 24, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(195, 31, 24, 0.08);
}

.schedule-slot-pill.is-live {
  border: 2px solid #c31f18;
  background-color: #fff0ee;
  box-shadow: 0 2px 8px rgba(195, 31, 24, 0.15);
}

.slot-time-badge {
  font-size: 12.5px;
  font-weight: 800;
  color: #c31f18;
  line-height: 1.2;
}

.slot-prog-name {
  font-size: 12px;
  font-weight: 700;
  color: #111111;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0;
}

.slot-badge-live {
  font-size: 9.5px;
  font-weight: 800;
  color: #c31f18;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slot-badge-rpt {
  font-size: 9.5px;
  font-weight: 700;
  color: #777777;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slot-sub-notes {
  font-size: 10.5px;
  color: #777777;
  line-height: 1.3;
}

.schedule-slot-pill.is-past-slot {
  background-color: #f7f7f7;
  border-color: #e5e5e5;
  opacity: 0.9;
}

.schedule-slot-pill.is-past-slot .slot-time-badge {
  color: #777777;
}

/* Next Week Schedule CTA Banner */
.next-week-schedule-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  background: linear-gradient(135deg, #fff5f4 0%, #ffe9e7 100%);
  border: 1.5px solid rgba(195, 31, 24, 0.2);
  border-radius: 14px;
  margin-top: 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(195, 31, 24, 0.06);
}

.next-week-schedule-cta.current-week-return {
  background: linear-gradient(135deg, #f5f5f5 0%, #ebebeb 100%);
  border-color: #dddddd;
}

.next-week-cta-content {
  flex: 1;
}

.next-week-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #c31f18;
  margin-bottom: 4px;
}

.current-week-return .next-week-badge {
  color: #555555;
}

.next-week-title {
  font-size: 18px;
  font-weight: 800;
  color: #111111;
  margin: 0 0 4px 0;
}

.next-week-date-sub {
  font-size: 13px;
  color: #666666;
  margin: 0;
}

.btn-next-week-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #c31f18;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 24px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(195, 31, 24, 0.25);
  white-space: nowrap;
}

.btn-next-week-action:hover {
  background-color: #a01812;
  transform: translateX(3px);
  box-shadow: 0 6px 16px rgba(195, 31, 24, 0.35);
}

/* Collapsed Past Days Archive Accordion */
.schedule-past-accordion {
  margin-top: 20px;
  margin-bottom: 24px;
  border: 1px solid #e8e3e2;
  border-radius: 12px;
  background-color: #fafafa;
  overflow: hidden;
  transition: all 0.2s ease;
}

.schedule-past-accordion[open] {
  background-color: #ffffff;
  border-color: rgba(195, 31, 24, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.schedule-past-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  color: #666666;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: all 0.2s ease;
}

.schedule-past-summary::-webkit-details-marker {
  display: none;
}

.schedule-past-summary:hover {
  color: #c31f18;
  background-color: #fff8f7;
}

.past-summary-icon {
  font-size: 14px;
}

.past-summary-text {
  flex: 1;
}

.past-summary-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  background-color: #eae5e4;
  color: #666666;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.past-days-container {
  padding: 20px;
  border-top: 1px solid #f0eaea;
  background-color: #fdfcfc;
}

@media (max-width: 768px) {
  .next-week-schedule-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }
  .btn-next-week-action {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .day-schedule-block.is-today-block {
    margin-left: 0;
    padding-left: 10px;
  }
}

/* About Schedule Box */
.schedule-about-box {
  margin-top: 36px;
  margin-bottom: 40px;
  padding: 20px 24px;
  background-color: #fafafa;
  border-radius: 12px;
  border: 1px solid #ece7e6;
  font-size: 12.5px;
  color: #666666;
  line-height: 1.6;
}

.schedule-about-title {
  font-size: 14px;
  font-weight: 800;
  color: #c31f18;
  margin: 0 0 8px 0;
}

.schedule-source-cite {
  margin-top: 10px;
  font-size: 11.5px;
  color: #999999;
  font-style: italic;
}

/* ==========================================================================
   ARTICLE PAGE SPECIFIC STYLES
   ========================================================================== */
.article-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-title-main {
  font-size: 30px;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.25;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.article-featured-image {
  width: 100%;
  max-height: 440px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body-content {
  font-size: 16px;
  line-height: 1.7;
  color: #2D2D2D;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.article-body-content p {
  line-height: 1.7;
}

.article-body-content strong {
  color: var(--color-dark);
}

.ad-skyscraper {
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  max-width: 280px;
}

/* ==========================================================================
   MURIMA STORIES & SEARCH RESULTS PAGE (Figma Frame 56:633)
   ========================================================================== */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.breadcrumb-nav a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb-nav a:hover {
  color: var(--color-primary);
}

.breadcrumb-sep {
  color: #B5A8A5;
}

.breadcrumb-current {
  color: var(--color-dark);
  font-weight: 500;
}

.search-results-heading-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.search-results-title {
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.15;
}

.search-results-subtitle {
  font-size: clamp(14px, 1vw, 16px);
  color: var(--color-text-muted);
  font-weight: 400;
}

.filter-tabs-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 4px 0 6px 0;
}

.filter-tab-pill {
  height: 38px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--color-border-pink);
  background-color: var(--color-white);
  color: var(--color-dark);
  transition: all var(--transition-fast);
}

.filter-tab-pill.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(195, 31, 24, 0.25);
}

.filter-tab-pill:not(.active):hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.stories-grid-full-width,
.murima-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  width: 100%;
}

.story-card,
.murima-archive-card {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  background-color: var(--color-card-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.story-card:hover,
.murima-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Homepage 3-card section only */
.murima-stories-section .story-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.murima-stories-section .story-card-link {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  overflow: hidden;
  background-color: #161616;
  flex-shrink: 0;
}

/* Inner /murima/ archive cards: keep image strictly 16:10, never full card height */
.murima-archive-card > a.story-card-link {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  flex-shrink: 0;
}

.story-card-thumb,
.murima-archive-thumb {
  width: 100%;
  height: 100% !important;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
}

.story-card:hover .story-card-thumb,
.murima-archive-card:hover .murima-archive-thumb {
  transform: scale(1.04);
  filter: brightness(1.03);
}

.story-card-content,
.murima-archive-body {
  padding: 16px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.murima-stories-section .story-card-content {
  padding: 12px 14px 14px;
  gap: 6px;
}

.story-card-content .story-date {
  white-space: nowrap;
  flex-shrink: 0;
}

.murima-archive-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.murima-archive-category {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: capitalize;
}

.murima-archive-date {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.story-title,
.murima-archive-title {
  font-size: clamp(15.5px, 1.15vw, 18px);
  font-weight: 700;
  color: #141414;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-title a,
.murima-archive-title a {
  color: inherit;
  text-decoration: none;
}

.story-title a:hover,
.murima-archive-title a:hover {
  color: var(--color-primary);
}

.story-excerpt,
.murima-archive-excerpt {
  font-size: 13px;
  font-weight: 400;
  color: #5a5a5a;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-excerpt p,
.murima-archive-excerpt p {
  margin: 0;
}

.story-read-link,
.murima-archive-link {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.story-read-link:hover,
.murima-archive-link:hover {
  gap: 8px;
  color: var(--color-primary-hover);
}

.results-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--color-text-muted);
}

.browse-all-link {
  color: var(--color-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast);
}

.browse-all-link:hover {
  gap: 8px;
  text-decoration: underline;
}

.search-clear-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0 4px;
  display: flex;
  align-items: center;
  line-height: 1;
}

.search-clear-btn:hover {
  color: var(--color-dark);
}

.search-submit-btn {
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  padding: 4px 8px;
}

.search-submit-btn:hover {
  text-decoration: underline;
}

/* ==========================================================================
   NO RESULTS EMPTY STATE (Figma Frame 56:735)
   ========================================================================== */
.no-results-box {
  background-color: var(--color-card-bg);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vh, 60px) clamp(24px, 4vw, 48px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
}

.no-results-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #FFEAEA;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.no-results-icon-circle svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
  stroke-width: 2;
}

.no-results-title {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  color: var(--color-dark);
}

.no-results-desc {
  font-size: clamp(14px, 1vw, 15px);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 480px;
}

.no-results-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.btn-search-again {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  height: 44px;
  border-radius: var(--radius-pill);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-search-again:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

.btn-browse-murima {
  display: inline-flex;
  align-items: center;
  padding: 0 24px;
  height: 44px;
  border-radius: var(--radius-pill);
  background-color: var(--color-white);
  color: var(--color-dark);
  border: 1px solid var(--color-border-pink);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-browse-murima:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.no-results-hint {
  font-size: 12.5px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   SITE FOOTER (Inside main-wrapper, scrolls with right section)
   ========================================================================== */
.site-footer {
  width: 100%;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 48px 36px 36px 36px;
  margin-top: auto;
  box-sizing: border-box;
}

.footer-container {
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-link-item a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-link-item a:hover {
  color: var(--color-white);
  padding-left: 3px;
}

.footer-address-text,
.footer-contact-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.site-subfooter {
  width: 100%;
  background-color: var(--color-dark-chocolate);
  color: var(--color-white);
  padding: 14px 20px;
  text-align: center;
  font-size: 15px;
}

/* ==========================================================================
   LIVE STREAM MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-player-box {
  background-color: var(--color-dark-pure);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 880px;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background-color var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--color-primary);
}

.modal-close-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-white);
  stroke-width: 2.2;
}

.modal-stream-frame {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   CHANNEL INFORMATION SECTION (Mobile & Tablet - Figma Frames 63:8585, 63:11282)
   ========================================================================== */
.channel-info-mobile-tablet {
  display: none;
}

.channel-section-title {
  font-size: 18px;
  font-weight: 800;
  color: #111111;
  margin: 0 0 12px 0;
}

.up-next-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.channel-next-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(195, 31, 24, 0.08);
  transition: transform 0.2s ease;
}

.channel-next-row:hover {
  transform: translateX(4px);
  border-color: #c31f18;
}

.channel-next-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.channel-next-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #111111;
}

.channel-next-time {
  font-size: 11px;
  color: #777777;
}

.channel-next-arrow {
  color: #c31f18;
  font-size: 12px;
}

.channel-sponsor-card {
  text-align: center;
}

.channel-sponsor-card .ad-label {
  font-size: 9.5px;
  font-weight: 700;
  color: #888888;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.channel-sponsor-banner {
  display: block;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.channel-sponsor-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.channel-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}

.channel-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #c31f18;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.channel-social-links a:hover {
  background-color: #c31f18;
  color: #ffffff;
  transform: translateY(-2px);
}

.sidebar-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.sidebar-close-btn {
  display: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM
   Figma Style Guides: Desktop (1728px), Tablet (768px), Mobile (390px)
   ========================================================================== */

/* Standard Desktops & Laptops (1081px to 1600px) */
@media (max-width: 1600px) {
  :root {
    --content-margin-left: clamp(18px, 2.2vw, 36px);
  }

  .content-canvas {
    width: calc(100% - var(--content-margin-left) - 20px);
    padding-right: 0;
  }

  .two-column-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
    gap: clamp(14px, 1.6vw, 22px);
  }
}

/* ==========================================================================
   TABLET STYLE GUIDE (769px to 1024px) - Matches Figma Frame 63:8585
   ========================================================================== */
@media (max-width: 1024px) {
  .left-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    z-index: 9999;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    background-color: #fff4f2;
    padding: 24px 20px;
    flex-direction: column;
    gap: 20px;
  }

  .left-sidebar.is-drawer-open {
    display: flex;
  }

  .sidebar-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(195, 31, 24, 0.12);
    border: none;
    cursor: pointer;
    color: #c31f18;
  }

  .main-wrapper {
    margin-left: 0;
    width: 100%;
  }

  /* Tablet Header */
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
    background-color: #fff4f2;
    border-bottom: 1px solid rgba(195, 31, 24, 0.1);
  }

  .mobile-brand img {
    width: 170px;
    height: auto;
  }

  .tablet-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .tablet-nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #421d18;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .tablet-nav-links a:hover,
  .tablet-nav-links a.active {
    color: #c31f18;
    font-weight: 700;
  }

  .tablet-action-group {
    display: block;
  }

  .tablet-watch-live-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #c31f18;
    color: #ffffff;
    border-radius: 100px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }

  .tablet-watch-live-btn:hover {
    background-color: #a71812;
  }

  .live-dot-white {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
    display: inline-block;
  }

  .mobile-menu-btn {
    display: none;
  }

  /* Tablet Live Bar */
  .mobile-live-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 41px;
    padding: 0 32px;
    background-color: #c31f18;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
  }

  /* Content Canvas in Tablet: 704px centered container */
  .content-canvas {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    padding: 24px 32px 48px 32px;
  }

  /* Homepage Grid reordering on Tablet & Mobile */
  .two-column-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .main-feed-col,
  .right-sidebar-col {
    display: contents;
  }

  .video-hero-section {
    order: 1;
    width: 100%;
  }

  .video-hero-container {
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: 20px;
  }

  .upcoming-shows-wrapper {
    order: 2;
    width: 100%;
    margin: 4px 0 8px 0;
  }

  .upcoming-shows-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 100%;
  }

  .show-card {
    border-radius: 10px;
    overflow: hidden;
  }

  .show-card-poster {
    height: 220px;
    width: 100%;
    object-fit: cover;
  }

  .today-schedule-section {
    order: 3;
    width: 100%;
  }

  .murima-stories-section {
    order: 4;
    width: 100%;
  }

  .stories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .facebook-feed-wrapper {
    order: 5;
    width: 100%;
  }

  .fb-post-card {
    max-width: 100%;
  }

  .fb-post-media {
    max-width: 100%;
  }

  /* Schedule Guide on Tablet */
  .day-slots-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .schedule-legend-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
  }

  /* Murima Stories on Tablet */
  .murima-archive-grid,
  .stories-grid-full-width {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  /* Channel Information on Tablet */
  .channel-info-mobile-tablet {
    display: block;
    width: 100%;
    margin: 32px 0 36px 0;
  }

  .channel-info-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .channel-up-next-card {
    background-color: #fff4f2;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(195, 31, 24, 0.1);
  }

  .channel-sponsor-card {
    background-color: #fff4f2;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(195, 31, 24, 0.1);
  }

  /* Footer on Tablet */
  .footer-container {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding: 36px 32px;
  }
}

/* ==========================================================================
   MOBILE STYLE GUIDE (max-width: 768px) - Matches Figma Frames 63:9987, 63:11282
   ========================================================================== */
@media (max-width: 768px) {
  /* Mobile Header */
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background-color: #ffffff;
    border-bottom: 1px solid #ece7e6;
  }

  .mobile-brand img {
    width: 140px;
    height: auto;
  }

  .tablet-nav-links {
    display: none !important;
  }

  .tablet-action-group {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #c31f18;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(195, 31, 24, 0.28);
    padding: 0;
  }

  .hamburger-bar {
    display: block;
    width: 18px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
  }

  /* Mobile Live Bar */
  .mobile-live-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    font-size: 13px;
  }

  /* Content Canvas in Mobile */
  .content-canvas {
    width: 100%;
    padding: 14px 18px 36px 18px;
  }

  /* Breaking News in Mobile: Streamlined Left-Scrolling Ticker */
  .breaking-ticker {
    height: 34px;
    border-radius: 100px;
    padding: 0 8px 0 0;
    flex-direction: row;
    align-items: center;
    gap: 0;
    box-shadow: 0 2px 6px rgba(195, 31, 24, 0.06);
  }

  .breaking-badge {
    width: auto;
    padding: 0 10px;
    height: 100%;
    font-size: 11px;
    border-radius: 100px;
  }

  .breaking-marquee-container {
    height: 100%;
  }

  .ticker-text {
    font-size: 12px;
  }

  /* Live Video Player in Mobile */
  .video-hero-container {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
  }

  .big-play-btn {
    width: 60px;
    height: 60px;
  }

  .video-hero-title {
    font-size: 18px;
  }

  /* Upcoming Shows in Mobile */
  .upcoming-shows-wrapper {
    margin: 4px 0 10px 0;
  }

  .upcoming-shows-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .show-card-poster {
    height: 140px;
  }

  .show-card-info {
    padding: 8px 10px;
  }

  .show-card-title {
    font-size: 13px;
    line-height: 1.25;
  }

  .show-card-status {
    font-size: 10.5px;
  }

  /* Today on Kameme in Mobile */
  .schedule-card {
    border-radius: 14px;
    padding: 12px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    height: auto;
  }

  .schedule-card-time {
    font-size: 11px;
    min-width: unset;
  }

  /* Murima Stories in Mobile */
  .stories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }

  .story-card {
    max-width: 100%;
    height: auto;
  }

  .story-card-thumb,
  .murima-archive-thumb {
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 10;
    max-height: 230px;
    object-fit: cover;
    object-position: center 15%;
  }

  .story-card-link {
    aspect-ratio: 16 / 10;
    max-height: 230px;
  }

  .story-card-link > .story-card-thumb,
  .story-card-link > .murima-archive-thumb {
    height: 100% !important;
  }

  .story-card-content {
    padding: 14px 16px 16px;
    gap: 6px;
  }

  .story-title {
    font-size: 16px;
    line-height: 1.35;
  }

  /* Schedule Guide Page on Mobile */
  .schedule-hero-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .schedule-page-title {
    font-size: 32px;
  }

  .schedule-date-range {
    font-size: 14px;
  }

  .schedule-legend-bar {
    flex-direction: column;
    gap: 12px;
    padding: 12px 14px;
  }

  .schedule-legend-right {
    text-align: left;
    align-items: flex-start;
  }

  .legend-indicators {
    justify-content: flex-start;
    gap: 10px;
  }

  .schedule-day-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 6px;
  }

  .day-tab-pill {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 5px 12px;
    font-size: 12px;
  }

  .day-header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .day-title-main {
    font-size: 18px;
  }

  .day-date-sub {
    font-size: 12.5px;
  }

  .day-slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .schedule-slot-pill {
    padding: 8px 10px;
    min-height: 74px;
  }

  .slot-time-badge {
    font-size: 11.5px;
  }

  .slot-prog-name {
    font-size: 11px;
  }

  .schedule-about-box {
    padding: 14px 16px;
    margin-top: 24px;
    font-size: 11.5px;
  }

  /* Murima Stories Page on Mobile */
  .search-results-title {
    font-size: 26px;
  }

  .filter-tabs-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 6px;
  }

  .filter-tab-pill {
    white-space: nowrap;
    flex-shrink: 0;
    height: 34px;
    padding: 0 14px;
    font-size: 12.5px;
  }

  .murima-archive-grid,
  .stories-grid-full-width {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .murima-archive-card,
  .story-card {
    border-radius: 14px;
  }

  .murima-archive-body,
  .story-card-content {
    padding: 14px 16px 16px 16px;
  }

  .results-footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Channel Information on Mobile */
  .channel-info-mobile-tablet {
    display: block;
    width: 100%;
    margin: 20px 0 24px 0;
  }

  .channel-info-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .channel-up-next-card {
    background-color: #fff4f2;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(195, 31, 24, 0.1);
  }

  .channel-sponsor-card {
    background-color: #fff4f2;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(195, 31, 24, 0.1);
  }

  /* Footer on Mobile */
  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    padding: 24px 18px 20px 18px;
  }
}

/* ==========================================================================
   SMALL SMARTPHONES (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .day-slots-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .show-card-poster {
    height: 125px;
  }

  .channel-social-links {
    gap: 12px;
  }
}

/* ==========================================================================
   11. Floating Mini-Player (Picture-in-Picture on Scroll)
   ========================================================================== */
.floating-mini-player {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 320px;
  background: #111;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  z-index: 9990;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  animation: miniPlayerSlideUp 0.35s ease forwards;
}

@keyframes miniPlayerSlideUp {
  from {
    transform: translateY(40px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.mini-player-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-player-status {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.mini-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff0000;
  box-shadow: 0 0 8px #ff0000;
  flex-shrink: 0;
  animation: pulse-live 1.8s infinite;
}

.mini-player-title {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.mini-player-close-btn {
  background: transparent;
  border: none;
  color: #888;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s;
}

.mini-player-close-btn:hover {
  color: #fff;
}

.mini-player-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.mini-stream-frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mini-unmute-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.mini-unmute-btn:hover {
  background: #ff0000;
}

@media (max-width: 900px) {
  .floating-mini-player {
    right: 16px;
    bottom: 20px;
    width: 260px;
  }
}

/* ==========================================================================
   13. Calendar Reminder Modal
   ========================================================================== */
.modal-calendar-box {
  background: #fff;
  color: #1a1a1a;
  border-radius: 16px;
  padding: 28px 24px 24px 24px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  text-align: center;
  animation: modalPopIn 0.25s ease-out;
}

@keyframes modalPopIn {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.cal-modal-icon {
  font-size: 38px;
  margin-bottom: 8px;
  display: inline-block;
}

.btn-cal-action {
  transition: transform 0.15s ease, opacity 0.2s;
}
.btn-cal-action:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* ==========================================================================
   14. Live Show On-Air Progress Bar in Timeline
   ========================================================================== */
.show-live-progress-bar {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  height: 5px;
  overflow: hidden;
  position: relative;
}

.show-live-progress-fill {
  height: 100%;
  background: #ff0000;
  border-radius: 4px;
  transition: width 1s linear;
}

.show-live-progress-text {
  font-size: 11px;
  color: #ff4d4d;
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   15. PREMIUM BROADCAST ANIMATION & MICRO-INTERACTION SYSTEM
   Cinematic entrance fades, smooth spring hovers, ambient glows, and pulse beacons
   ========================================================================== */

/* A. Staggered Smooth Entrance Keyframes */
@keyframes premiumFadeUp {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .leaderboard-ad-block {
    animation: premiumFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
  }

  .breaking-ticker {
    animation: premiumFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
  }

  .video-hero-section {
    animation: premiumFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
  }

  .upcoming-shows-wrapper {
    animation: premiumFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
  }

  .today-schedule-section {
    animation: premiumFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
  }

  .facebook-feed-wrapper {
    animation: premiumFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.34s both;
  }

  .murima-stories-section {
    animation: premiumFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
  }

  .schedule-hero-container {
    animation: premiumFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
  }

  .schedule-week-container {
    animation: premiumFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
  }

  .murima-search-bar {
    animation: premiumFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
  }

  .murima-archive-grid {
    animation: premiumFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
  }
}

/* B. Social Media Icons Bounce on Hover */
.social-link {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease, filter 0.25s ease;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.18);
  color: #c31f18;
  filter: drop-shadow(0 2px 6px rgba(195, 31, 24, 0.35));
}

/* C. Sidebar Up Next Arrow Glide */
.up-next-item {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
}

.up-next-item:not(.active):hover {
  transform: translateX(4px);
  background-color: #ffeaea;
}

.up-next-item.active .up-next-play svg {
  animation: arrowNudge 2s ease-in-out infinite;
}

@keyframes arrowNudge {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}

/* D. "See Full Schedule" & Pill Buttons Glow Pulse */
.btn-pill-action {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, box-shadow 0.25s ease;
}

.btn-pill-action:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(195, 31, 24, 0.35);
}

/* E. Schedule Guide Slot Pills Hover Lift */
.schedule-slot-pill {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.schedule-slot-pill:hover {
  transform: translateY(-2px);
  border-color: #c31f18;
  box-shadow: 0 4px 12px rgba(195, 31, 24, 0.12);
}

.schedule-slot-pill.is-live .slot-badge-live {
  animation: liveBadgeGlow 2.2s ease-in-out infinite;
}

@keyframes liveBadgeGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(195, 31, 24, 0.6);
  }
  50% {
    box-shadow: 0 0 8px 2px rgba(195, 31, 24, 0.85);
  }
}

/* F. Link All Action Arrow Glide */
.link-all-action {
  transition: color 0.2s ease;
}

.link-all-action:hover {
  color: #c31f18;
}

/* G. Facebook Post Card Hover Depth */
.fb-post-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.fb-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.fb-post-media img {
  transition: transform 0.4s ease;
}

.fb-post-card:hover .fb-post-media img {
  transform: scale(1.02);
}

/* H. Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .breaking-marquee-track {
    animation: none !important;
  }
  .breaking-marquee-container {
    overflow-x: auto;
  }
  * {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}

/* ==========================================================================
   V1.8.4 — Production Visual Polish (Zero-Risk Refinements)
   ========================================================================== */

/* 1. Visible blank reserved Google Ads slots (728x90 leaderboard & sidebar) */
.ad-slot-placeholder {
  width: 100%;
  background: #f8f8f8;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  box-sizing: border-box;
}

.ad-slot-placeholder-leaderboard {
  max-width: 728px;
  height: 90px;
  margin: 0 auto;
}

.ad-slot-placeholder-sidebar {
  height: 150px;
}

/* 2. Clean breathing room below WP Admin Bar when logged in */
body.admin-bar .main-content-wrapper {
  padding-top: 12px;
}

/* 3. Smooth hover polish for sidebar & channel social icons */
.social-icon-link,
.channel-social-links a {
  transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.social-icon-link:hover,
.channel-social-links a:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* 4. Crisp hover polish for Left Sidebar "Up next" items */
.up-next-item {
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.up-next-item:hover {
  transform: translateX(2px);
}

/* 5. Single story reading polish */
.story-single-article .article-body-content p {
  margin-bottom: 1.15em;
}

.story-single-article .article-featured-image img {
  max-height: 540px;
  object-fit: cover;
  object-position: center 20%;
}

/* ==========================================================================
   V1.8.6 — YouTube-Style Live Broadcast Player
   ========================================================================== */
.yt-player-shell {
  background-color: #000000 !important;
  border-radius: 12px;
  outline: none;
  user-select: none;
}

.yt-player-shell:fullscreen,
.yt-player-shell:-webkit-full-screen {
  border-radius: 0 !important;
  max-height: none !important;
  width: 100vw !important;
  height: 100vh !important;
}

/* Iconic YouTube Rounded-Rectangle Play Button */
.yt-big-play-btn {
  width: 68px !important;
  height: 48px !important;
  border-radius: 12px !important;
  background: rgba(33, 33, 33, 0.85) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45) !important;
  animation: none !important;
  transition: background-color 0.2s ease, transform 0.2s ease !important;
}

.yt-player-shell:hover .yt-big-play-btn {
  background: #FF0000 !important;
  transform: scale(1.06) !important;
  box-shadow: 0 6px 24px rgba(255, 0, 0, 0.45) !important;
}

.yt-big-play-btn svg {
  width: 24px !important;
  height: 24px !important;
  margin-left: 2px !important;
}

/* YouTube Top Gradient Title Bar */
.yt-player-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 14px 18px 28px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.28) 65%, transparent 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 6;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.yt-topbar-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.yt-topbar-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Center Play/Pause Bezel Animation */
.yt-bezel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 7;
}

.yt-bezel-icon {
  width: 26px;
  height: 26px;
}

.yt-bezel.is-flashing {
  animation: ytBezelPop 0.52s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ytBezelPop {
  0% {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(0.85);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.45);
  }
}

/* YouTube Bottom Control Bar */
.yt-controls-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 8px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.42) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 8;
  transition: opacity 0.25s ease;
}

/* Auto-hide controls & topbar when playing and mouse is idle */
.yt-player-shell.yt-controls-hidden .yt-controls-bar,
.yt-player-shell.yt-controls-hidden .yt-player-topbar {
  opacity: 0;
  pointer-events: none;
}

.yt-player-shell.yt-controls-hidden {
  cursor: none;
}

/* Hide YouTube bars when floating scroll mini-player is active */
.yt-player-shell.is-floating-pip .yt-controls-bar,
.yt-player-shell.is-floating-pip .yt-player-topbar {
  display: none !important;
}

/* Red Live Progress Bar */
.yt-progress-track {
  position: relative;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  cursor: pointer;
  transition: height 0.15s ease;
}

.yt-controls-bar:hover .yt-progress-track {
  height: 5px;
}

.yt-progress-fill {
  width: 100%;
  height: 100%;
  background: #FF0000;
  border-radius: 2px;
}

.yt-progress-scrubber {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%) scale(0);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #FF0000;
  transition: transform 0.15s ease;
}

.yt-controls-bar:hover .yt-progress-scrubber {
  transform: translate(50%, -50%) scale(1);
}

/* Control Row */
.yt-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 38px;
}

.yt-controls-left,
.yt-controls-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.yt-ctrl-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.92;
  border-radius: 4px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.yt-ctrl-btn:hover {
  opacity: 1;
  transform: scale(1.08);
}

.yt-ctrl-btn svg {
  width: 22px;
  height: 22px;
}

/* Expandable YouTube Volume Slider */
.yt-volume-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.yt-volume-slider {
  width: 0;
  opacity: 0;
  height: 3px;
  accent-color: #ffffff;
  cursor: pointer;
  transition: width 0.2s ease, opacity 0.2s ease, margin 0.2s ease;
  margin: 0;
}

.yt-volume-group:hover .yt-volume-slider,
.yt-volume-slider:focus {
  width: 60px;
  opacity: 1;
  margin-right: 6px;
}

/* YouTube LIVE Dot + Text */
.yt-live-badge {
  background: transparent;
  border: none;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 4px 8px;
  cursor: pointer;
  opacity: 0.95;
  transition: opacity 0.15s ease;
}

.yt-live-badge:hover {
  opacity: 1;
}

.yt-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF0000;
  box-shadow: 0 0 6px rgba(255, 0, 0, 0.85);
}

@media (max-width: 640px) {
  .yt-controls-bar {
    padding: 20px 10px 6px;
  }
  .yt-volume-slider {
    display: none;
  }
  .yt-topbar-title {
    font-size: 13px;
  }
}

/* ==========================================================================
   V1.9.0 — Live Action Bar & Cinema Mode
   ========================================================================== */
.live-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.live-action-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.live-action-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF0000;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.7);
  flex-shrink: 0;
}

.live-action-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  text-transform: uppercase;
  flex-shrink: 0;
}

.live-action-show {
  font-size: 13.5px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-action-buttons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.live-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.live-action-pill:hover,
.live-action-pill.is-active {
  background: #fff0ee;
  color: var(--color-primary);
  border-color: rgba(195, 31, 24, 0.28);
}

/* Smooth Cinema Mode for Evening TV Viewing */
body.kameme-cinema-mode {
  background-color: #0e0e10 !important;
  transition: background-color 0.35s ease;
}

body.kameme-cinema-mode .main-content-wrapper {
  background-color: #0e0e10 !important;
}

body.kameme-cinema-mode .left-sidebar,
body.kameme-cinema-mode .top-bar,
body.kameme-cinema-mode .breaking-ticker,
body.kameme-cinema-mode .today-schedule-section,
body.kameme-cinema-mode .murima-stories-section,
body.kameme-cinema-mode .right-sidebar-col,
body.kameme-cinema-mode .leaderboard-ad-block {
  opacity: 0.22;
  transition: opacity 0.35s ease;
}

body.kameme-cinema-mode .left-sidebar:hover,
body.kameme-cinema-mode .right-sidebar-col:hover,
body.kameme-cinema-mode .top-bar:hover {
  opacity: 0.95;
}

body.kameme-cinema-mode .live-action-bar {
  background: #1a1a1e;
  border-color: rgba(255, 255, 255, 0.1);
}

body.kameme-cinema-mode .live-action-show {
  color: #f3f3f3;
}

body.kameme-cinema-mode .live-action-pill {
  background: #2a2a30;
  color: #f3f3f3;
  border-color: rgba(255, 255, 255, 0.12);
}

body.kameme-cinema-mode .live-action-pill.is-active {
  background: var(--color-primary);
  color: #ffffff;
}

/* ==========================================================================
   V1.9.1 — YouTube Ambient Mode Glow & True Full-Width Theater Mode
   ========================================================================== */
.yt-ambient-stage {
  position: relative;
  width: 100%;
  isolation: isolate;
}

.yt-ambient-stage > .video-hero-container {
  position: relative;
  z-index: 2;
}

.yt-ambient-canvas {
  position: absolute;
  inset: -14px -12px -20px;
  width: calc(100% + 24px);
  height: calc(100% + 34px);
  border-radius: 26px;
  filter: blur(44px) saturate(1.45);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.85s ease;
  background: radial-gradient(circle at 50% 50%, rgba(195, 31, 24, 0.35), rgba(0, 0, 0, 0) 70%);
}

.yt-ambient-canvas.yt-ambient-active {
  opacity: 0.42;
}

body.kameme-cinema-mode .yt-ambient-canvas.yt-ambient-active {
  opacity: 0.65;
  filter: blur(56px) saturate(1.6);
}

/* Subtle Focus Elevation While Live Video Is Playing */
.video-hero-container.is-playing-live {
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* True Full-Width YouTube Theater Mode Expansion */
@media (min-width: 992px) {
  body.kameme-cinema-mode .two-column-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.kameme-cinema-mode .video-hero-container {
    max-height: 76vh !important;
    border-radius: 10px;
  }
}

.yt-ctrl-btn.is-active {
  color: #FF0000;
  opacity: 1;
}

/* ==========================================================================
   V1.9.3 — Big Screen / 1920px–4K Responsive Polish & Zero-Crop FB Graphics
   ========================================================================== */

/* 1. Left Sidebar: balanced vertical rhythm from top to bottom on all screen heights */
.left-sidebar {
  justify-content: flex-start !important;
  padding: clamp(18px, 2.6vh, 28px) var(--sidebar-px) clamp(14px, 2vh, 22px) var(--sidebar-px) !important;
  gap: clamp(18px, 2.6vh, 28px) !important;
  overflow-y: auto;
}

.left-sidebar .sidebar-brand {
  padding-bottom: 4px;
}

.left-sidebar .sidebar-brand .brand-logo-img {
  max-height: clamp(38px, 4.6vh, 48px);
  width: auto;
}

.left-sidebar .sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.left-sidebar .up-next-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.left-sidebar .up-next-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.left-sidebar .up-next-item {
  padding: 9px 12px;
  border-radius: 10px;
}

.left-sidebar .sidebar-ad {
  margin-top: auto !important;
  margin-bottom: 4px;
}

.left-sidebar .sidebar-socials {
  margin-top: 0 !important;
  padding-top: 14px;
  justify-content: center;
  gap: 18px;
}

/* 2. Right Sidebar Facebook Graphic: show full square/portrait graphic without chopping heads or text */
.fb-post-media {
  aspect-ratio: auto !important;
  max-height: 400px !important;
  background-color: #f6f6f6;
}

.fb-post-media img {
  width: 100% !important;
  height: auto !important;
  max-height: 400px !important;
  object-fit: contain !important;
  object-position: top center !important;
}

/* 3. True 16:9 Hero Video Proportions on Large Monitors */
.video-hero-container {
  aspect-ratio: 16 / 9;
  max-height: 70vh !important;
}

/* 4. Large / Ultrawide Desktops (>= 1440px, 1920px, 2560px, 4K) */
@media (min-width: 1440px) {
  :root {
    --sidebar-width: clamp(230px, 15vw, 270px);
  }

  .main-content-wrapper > .top-bar,
  .main-content-wrapper > .leaderboard-ad-block,
  .main-content-wrapper > .breaking-ticker,
  .main-content-wrapper > .two-column-grid,
  .main-content-wrapper > .murima-page-hero,
  .main-content-wrapper > .murima-archive-grid,
  .main-content-wrapper > .results-footer-bar,
  .main-content-wrapper > .breadcrumb-nav,
  .main-content-wrapper > .schedule-hero,
  .main-content-wrapper > .schedule-grid-wrapper {
    max-width: 1480px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .two-column-grid {
    grid-template-columns: minmax(0, 1fr) clamp(350px, 25vw, 420px) !important;
    gap: 28px !important;
  }
}






