/* Main stylesheet for AKANAYO TV */
:root{
	/* Brand palette: yellow, green, black, white */
	--bg-color:#ffffff; /* white page background */
	--text-color:#0b0b0b; /* near-black text */
	--header-bg:#ffffff;
	--header-border:rgba(11,11,11,0.06);
	--nav-bg:#ffffff;
	--footer-bg:#0b5a2e; /* dark green footer */
	--footer-text:#ffffff;
	--card-border:#e6e6e6;
	--accent-yellow:#f6c12d; /* primary highlight */
	--accent-green:#0b8a46; /* secondary accent */
	--accent-red:#ef4444; /* keep for error/live alerts if needed */
	--accent-orange:#f97316;
	--chip-border:#d1d5db;
	--muted-text:#6b7280;
	--menu-bg:#ffffff;
	--menu-text:#0b0b0b;
	--menu-backdrop:rgba(0,0,0,0.8);
	--live-bg:var(--accent-green);
	
	/* Spacing system */
	--spacing-sticky-footer: 92px;
	--spacing-modal-content: 72px;
	--spacing-xs: 4px;
	--spacing-sm: 8px;
	--spacing-md: 12px;
	--spacing-lg: 18px;
	--spacing-xl: 24px;
	
	/* Border radius */
	--radius-sm: 8px;
	--radius-md: 10px;
	--radius-lg: 14px;
	--radius-xl: 16px;
	--radius-full: 999px;
	
	/* Transitions */
	--transition-fast: 140ms ease;
	--transition-normal: 220ms ease;
	--transition-slow: 300ms ease;
}

[data-theme="dark"]{
	/* Dark variant keeping the brand palette readable */
	--bg-color:#071114; /* very dark teal-black */
	--text-color:#f7f7f2;
	--header-bg:#071114;
	--header-border:rgba(255,255,255,0.04);
	--nav-bg:#071114;
	--footer-bg:#083a22; /* slightly different dark green */
	--footer-text:#f7f7f2;
	--card-border:#0f1720;
	--accent-yellow:#f6c12d;
	--accent-green:#0bb66a;
	--accent-red:#ef4444;
	--accent-orange:#fb923c;
	--chip-border:#18323a;
	--muted-text:#9ca3af;
	--menu-bg:#071114;
	--menu-text:#f7f7f2;
	--menu-backdrop:rgba(0,0,0,0.8);
	--live-bg:var(--accent-green);
}

html,body{
	margin:0;
	padding:0;
}

/* Helper class: apply short transitions during theme switch only */
.theme-transition{
	transition: background-color var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal);
}

/* Target specific child elements that need theme transitions */
.theme-transition .site-header,
.theme-transition .main-nav,
.theme-transition footer,
.theme-transition .story-card,
.theme-transition .home-card,
.theme-transition .product-card{
	transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

body{
	min-height:100vh;
	display:flex;
	flex-direction:column;
	font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
	background:var(--bg-color);
	color:var(--text-color);
	line-height:1.6;
	transition:background-color 0.25s ease,color 0.25s ease;
}

/* ============================================
   ACCESSIBILITY - FOCUS STATES
   ============================================ */
   
/* Buttons */
button:focus-visible,
.btn-link:focus-visible,
.theme-toggle:focus-visible{
	outline: 2px solid var(--accent-yellow);
	outline-offset: 2px;
}

/* Links */
a:focus-visible{
	outline: 2px solid var(--accent-red);
	outline-offset: 2px;
	border-radius: 2px;
}

/* Form controls */
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
	outline: 2px solid var(--accent-green);
	outline-offset: 1px;
}

/* Tab buttons */
.tab-button:focus-visible{
	outline: 2px solid var(--accent-yellow);
	outline-offset: 2px;
}

/* Category chips */
.category-chip:focus-visible{
	outline: 2px solid var(--accent-red);
	outline-offset: 2px;
}

/* Product cards */
.product-card:focus-visible,
.product-name-toggle:focus-visible{
	outline: 2px solid var(--accent-yellow);
	outline-offset: 2px;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ============================================
   TYPOGRAPHY & BASE ELEMENTS
   ============================================ */

p{
	margin-top:0;
	margin-bottom:0.75rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
   
.site-header{
	border-bottom:1px solid var(--header-border);
	background:var(--header-bg);
	box-shadow:none;
	transition:background-color 0.25s ease,border-color 0.25s ease;
}

.top-bar{
	max-width:1360px;
	margin:0 auto;
	display:flex;
	align-items:center;
	justify-content:space-between;
	padding:8px 18px;
	position:relative;
}

.menu-toggle{
	font-size:1.3rem;
	background:none;
	border:none;
	cursor:pointer;
	color:var(--text-color);
}

/* Slide-in global menu (right side) */

/* Slide-in global menu (right side) */
.global-menu{
	position:fixed;
	inset:0;
	z-index:120;
	display:none;
	align-items:center;
	justify-content:center;
}

.global-menu.open{
	display:flex;
	overflow-y:auto;
}


.global-menu-backdrop{
	position:absolute;
	inset:0;
	background:var(--menu-backdrop);
}

.global-menu-panel{
	position:relative;
	width:100%;
	max-width:720px;
	margin:0 24px;
	height:auto;
	background:transparent;
	display:flex;
	flex-direction:column;
	padding:0 20px;
	transition:background-color 0.25s ease,color 0.25s ease,transform 220ms cubic-bezier(.2,.9,.3,1),opacity 220ms ease;
	opacity:0;
	transform:translateY(8px);
}

.global-menu-close{
	background:none;
	border:none;
	font-size:1.4rem;
	margin-bottom:18px;
	align-self:flex-end;
	cursor:pointer;
}

.global-menu-search{
	display:flex;
	align-items:center;
	gap:10px;
	margin-bottom:22px;
	padding:6px 10px;
	border-radius:999px;
	background:var(--header-bg);
	border:1px solid var(--card-border);
	box-shadow:0 18px 40px rgba(15,23,42,0.18);
}

.global-menu-search input{
	flex:1;
	padding:12px 14px;
	border:0;
	border-radius:999px;
	font-size:1rem;
	background:transparent;
	color:var(--menu-text);
}

.global-menu-search button{
	flex:0 0 auto;
	width:40px;
	height:40px;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:0;
	background:var(--accent-red);
	color:#ffffff;
	border:none;
	border-radius:999px;
	cursor:pointer;
	font-size:1.1rem;
}

.global-menu-nav a{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:8px 14px;
	margin:0 8px 10px 0;
	border-radius:999px;
	border:1px solid var(--card-border);
	text-decoration:none;
	color:var(--menu-text);
	font-size:0.9rem;
	background:var(--bg-color);
	box-shadow:0 8px 20px rgba(15,23,42,0.18);
}

.global-menu-nav a::after{
	display:none;
}

.global-menu-nav a:hover{
	background:var(--accent-red);
	color:#ffffff;
	border-color:var(--accent-red);
}

/* When the global menu opens, bring the panel into view smoothly */
.global-menu.open .global-menu-panel{
  opacity:1;
  transform:translateY(0);
}

.logo-link{
	display:flex;
	justify-content:flex-start;
	flex:0 0 auto;
}

.logo-bar{
	display:flex;
	gap:1px;
	align-items:center;
	height:44px;
}

.logo-part{
	background:#000000;
	color:#ffffff;
	padding:8px;
	font-weight:bold;
	font-size:1.1rem;
	border-radius:2px;
	text-align:center;
}

[data-theme="dark"] .logo-part{
	background:#ffffff;
	color:#000000;
}

.header-actions{
	display:flex;
	gap:16px;
}

.top-right{
	position:static;
	display:flex;
	align-items:center;
	gap:8px;
}

/* Mobile: stack header items so top-right controls don't overlap centered logo */
@media (max-width:640px){
	.top-bar{
		padding:8px 12px;
		align-items:center;
	}
	.header-actions,
	.theme-toggle{
		display:none;
	}
	.main-nav{ width:100%; padding-left:12px; padding-right:12px; box-sizing:border-box; }
}

.btn-link{
	padding:4px 0;
	border-radius:0;
	border:none;
	text-decoration:none;
	color:var(--text-color);
	font-size:0.9rem;
	font-weight:500;
	background:transparent;
}

.btn-link:hover{
	color:var(--accent-red);
}

.theme-toggle{
	margin-left:12px;
	border-radius:4px;
	border:1px solid transparent;
	background:transparent;
	color:var(--text-color);
	padding:4px;
	display:flex;
	align-items:center;
	justify-content:center;
	cursor:pointer;
}

.theme-toggle:hover{
	border-color:var(--chip-border);
	background:rgba(148,163,184,0.08);
}

.theme-toggle-icon{
	width:22px;
	height:22px;
	stroke:currentColor;
	fill:none;
	stroke-width:1.6;
	stroke-linecap:round;
	stroke-linejoin:round;
}

.main-nav{
	max-width:1360px;
	margin:0 auto;
	display:flex;
	gap:22px;
	padding:10px 18px 14px;
	font-size:0.9rem;
	background:var(--nav-bg);
	border-top:1px solid var(--header-border);
	transition:background-color 0.25s ease,border-color 0.25s ease;
}

.main-nav a{
	text-decoration:none;
	color:var(--text-color);
	padding-bottom:4px;
	border-bottom:2px solid transparent;
	transition:color 0.18s ease,border-color 0.18s ease;
}

.main-nav a:hover{
	border-bottom-color:var(--accent-red);
}

.page-main{
	max-width:1360px;
	margin:22px auto 40px;
	padding:0 18px 40px;
	flex:1;
}

/* ============================================
   HOMEPAGE - WELCOME BANNER
   ============================================ */
   
.home-welcome {
  margin-bottom: 30px;
}

.welcome-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.welcome-content {
  padding: 40px 24px;
  text-align: center;
  color: #ffffff;
}

.welcome-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px 0;
  background: linear-gradient(to right, #ffffff, #ffd700);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.welcome-subtitle {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 30px 0;
  color: #e0e0e0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.welcome-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.welcome-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 100px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.welcome-feature:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-2px);
}

.feature-text {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
}

.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.welcome-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.welcome-btn-primary {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #1a1a2e;
}

.welcome-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.welcome-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.welcome-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .welcome-content {
    padding: 60px 40px;
  }
  
  .welcome-title {
    font-size: 48px;
  }
  
  .welcome-subtitle {
    font-size: 18px;
  }
  
  .feature-text {
    font-size: 15px;
  }
}

/* Homepage: mobile-first newsroom layout (TV-style hierarchy) */
.home-top{
	display:grid;
	grid-template-columns:1fr;
	gap:14px;
	align-items:start;
}

.home-section-head .section-title{
	margin-bottom:10px;
}

.home-lead{
	border-radius:14px;
	overflow:hidden;
	border:1px solid var(--card-border);
	background:var(--bg-color);
	box-shadow:0 10px 30px rgba(15,23,42,0.08);
}

.home-lead__link{
	display:block;
	color:inherit;
	text-decoration:none;
}

.home-lead__media{
	position:relative;
	margin:0;
	width:100%;
	aspect-ratio:16/9;
	background:#0b0b0b;
}

.home-lead__media img{
	position:absolute;
	inset:0;
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
}

.home-lead__overlay{
	position:absolute;
	inset:0;
	background:linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 52%, rgba(0,0,0,0.78) 100%);
	display:flex;
	align-items:flex-end;
}

.home-lead__overlay-inner{
	padding:14px;
	color:#ffffff;
	max-width:56rem;
}

.home-kicker{
	display:flex;
	align-items:center;
	gap:10px;
	margin-bottom:8px;
	flex-wrap:wrap;
}

.home-badge{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:6px 10px;
	border-radius:999px;
	font-weight:700;
	text-transform:uppercase;
	letter-spacing:0.12em;
	font-size:0.72rem;
	background:rgba(246,193,45,0.95);
	color:#0b0b0b;
}

.home-dot{
	opacity:0.9;
}

.home-category{
	font-weight:700;
	font-size:0.85rem;
	opacity:0.95;
}

.home-lead__title{
	margin:0;
	font-size:clamp(1.55rem, 5.6vw, 2.6rem);
	line-height:1.08;
	letter-spacing:-0.01em;
}

.home-lead__excerpt{
	margin:10px 0 0;
	font-size:0.95rem;
	line-height:1.45;
	opacity:0.95;
	display:-webkit-box;
	-webkit-line-clamp:3;
	line-clamp:3;
	-webkit-box-orient:vertical;
	overflow:hidden;
}

.home-lead__meta{
	margin:10px 0 0;
	font-size:0.82rem;
	opacity:0.85;
}

.home-lead__empty{
	padding:16px;
}

.home-rail{
	border:1px solid var(--card-border);
	border-radius:14px;
	background:var(--bg-color);
	box-shadow:0 10px 26px rgba(15,23,42,0.06);
	overflow:hidden;
}

.home-rail__header{
	display:flex;
	align-items:baseline;
	justify-content:space-between;
	gap:12px;
	padding:14px 14px 10px;
	border-bottom:1px solid var(--card-border);
}

.home-rail__title{
	margin:0;
	font-size:1.05rem;
	letter-spacing:-0.01em;
}

.home-rail__more{
	color:var(--accent-red);
	text-decoration:none;
	font-weight:600;
	font-size:0.9rem;
}

.home-rail__more:hover{
	text-decoration:underline;
}

.home-rail__list{
	display:flex;
	flex-direction:column;
}

.home-rail__item{
	display:flex;
	gap:12px;
	padding:12px 14px;
	text-decoration:none;
	color:var(--text-color);
	border-top:1px solid var(--card-border);
	transition:background-color 140ms ease;
}

.home-rail__item:hover{
	background:rgba(249,250,251,0.85);
}

[data-theme="dark"] .home-rail__item:hover{
	background:rgba(255,255,255,0.03);
}

.home-rail__thumb{
	flex:0 0 86px;
	height:54px;
	border-radius:10px;
	overflow:hidden;
	background:#111827;
}

.home-rail__thumb img{
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
}

.home-rail__text{
	min-width:0;
	display:flex;
	flex-direction:column;
	gap:6px;
}

.home-rail__headline{
	font-weight:700;
	line-height:1.18;
	font-size:0.98rem;
	display:-webkit-box;
	-webkit-line-clamp:2;
	line-clamp:2;
	-webkit-box-orient:vertical;
	overflow:hidden;
}

.home-rail__meta{
	color:var(--muted-text);
	font-size:0.82rem;
	display:flex;
	align-items:center;
	gap:6px;
	flex-wrap:wrap;
}

.home-rail__empty{
	padding:14px;
	color:var(--muted-text);
}

.home-feed{
	display:grid;
	grid-template-columns:1fr;
	gap:12px;
}

.home-card{
	border:1px solid var(--card-border);
	border-radius:14px;
	background:var(--bg-color);
	overflow:hidden;
	box-shadow:0 8px 22px rgba(15,23,42,0.06);
}

.home-card__link{
	display:grid;
	grid-template-columns:112px 1fr;
	gap:12px;
	text-decoration:none;
	color:inherit;
}

.home-card__media{
	position:relative;
	width:112px;
	min-height:96px;
	background:#111827;
}

.home-card__media img{
	position:absolute;
	inset:0;
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
}

.home-card__body{
	padding:12px 12px 12px 0;
	display:flex;
	flex-direction:column;
	gap:8px;
	min-width:0;
}

.home-card__meta{
	color:var(--muted-text);
	font-size:0.82rem;
	display:flex;
	align-items:center;
	gap:6px;
	flex-wrap:wrap;
}

.home-card__category{
	font-weight:700;
	color:var(--text-color);
}

.home-card__title{
	margin:0;
	font-size:1.05rem;
	line-height:1.18;
	display:-webkit-box;
	-webkit-line-clamp:2;
	line-clamp:2;
	-webkit-box-orient:vertical;
	overflow:hidden;
}

.home-card__excerpt{
	margin:0;
	color:var(--muted-text);
	font-size:0.92rem;
	line-height:1.45;
	display:-webkit-box;
	-webkit-line-clamp:2;
	line-clamp:2;
	-webkit-box-orient:vertical;
	overflow:hidden;
}

.home-lane__head{
	display:flex;
	align-items:baseline;
	justify-content:space-between;
	gap:12px;
	margin-bottom:10px;
}

.home-lane__title{
	margin:0;
	font-size:1.2rem;
	letter-spacing:-0.01em;
}

.home-lane__more{
	color:var(--accent-red);
	text-decoration:none;
	font-weight:600;
	font-size:0.9rem;
}

.home-lane__more:hover{
	text-decoration:underline;
}

.home-lane__scroller{
	display:grid;
	grid-auto-flow:column;
	grid-auto-columns:82%;
	gap:12px;
	overflow-x:auto;
	overscroll-behavior-x:contain;
	scroll-snap-type:x mandatory;
	padding-bottom:6px;
}

.home-lane-card{
	scroll-snap-align:start;
	border:1px solid var(--card-border);
	border-radius:14px;
	background:var(--bg-color);
	overflow:hidden;
	box-shadow:0 8px 22px rgba(15,23,42,0.06);
}

.home-lane-card__link{
	display:flex;
	flex-direction:column;
	text-decoration:none;
	color:inherit;
}

.home-lane-card__media{
	position:relative;
	width:100%;
	aspect-ratio:16/9;
	background:#111827;
}

.home-lane-card__media img{
	position:absolute;
	inset:0;
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
}

.home-lane-card__title{
	padding:12px;
	font-weight:700;
	line-height:1.2;
	font-size:1.02rem;
	display:-webkit-box;
	-webkit-line-clamp:2;
	line-clamp:2;
	-webkit-box-orient:vertical;
	overflow:hidden;
}

@media (min-width:900px){
	.home-top{ grid-template-columns: 2fr 1fr; gap:18px; }
	.home-lead__overlay-inner{ padding:18px; }
	.home-rail__thumb{ flex-basis:96px; height:60px; }
	.home-rail__list{ max-height:580px; overflow:auto; }
	.home-feed{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap:14px; }
	.home-card__link{ grid-template-columns: 160px 1fr; }
	.home-card__media{ width:160px; min-height:120px; }
	.home-lane__scroller{ grid-auto-columns: 320px; }
}

@media (min-width:1180px){
	.home-feed{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Smooth fade transition for PJAX main content replacements */
.page-main {
	transition: opacity 220ms ease, transform 240ms ease;
}
.page-main.is-exiting {
	opacity: 0;
	transform: translateY(6px);
}
.page-main.is-entering {
	opacity: 0;
	transform: translateY(6px);
}
.page-main.is-entering.show {
	opacity: 1;
	transform: translateY(0);
}

.hero-layout{
	display:grid;
	grid-template-columns: 2fr 1fr;
	gap:24px;
	align-items:start;
}

/* Modern responsive hero: stack on small screens, big image left on wide */
@media (max-width:900px){
	.hero-layout{ grid-template-columns:1fr; gap:22px; }
	.hero-side{ order:2; }
	.hero-main{ order:1; }
}

/* Top stories grid (cards) inspired by modern news sites */
.story-grid{
	display:grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap:18px;
	align-items:start;
}

.story-card{
	background:var(--bg-color);
	border:1px solid var(--card-border);
	border-radius:8px;
	overflow:hidden;
	display:flex;
	flex-direction:column;
	box-shadow:0 6px 20px rgba(15,23,42,0.06);
	transition:transform 180ms ease, box-shadow 180ms ease;
}
.story-card:focus,
.story-card:hover{ transform:translateY(-6px); box-shadow:0 12px 30px rgba(15,23,42,0.09); }

.story-thumb{ 
	width:100%; 
	position:relative; 
	overflow:hidden;
	aspect-ratio: 16/9;
}
.story-thumb img{ 
	position:absolute; 
	inset:0; 
	width:100%; 
	height:100%; 
	object-fit:cover; 
	display:block;
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 16/9) {
	.story-thumb{
		height:0;
		padding-bottom:56.25%;
	}
}

.story-body{ padding:12px 14px; display:flex; flex-direction:column; gap:8px; }
.story-body h3{ margin:0; font-size:1.05rem; line-height:1.2; }
.story-body h3 a{ color:var(--text-color); text-decoration:none; }
.story-body h3 a:hover{ color:var(--accent-red); }
.story-body .excerpt{ color:var(--muted-text); font-size:0.95rem; margin:0; display:-webkit-box; -webkit-line-clamp:3; line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.story-body .meta{ color:var(--muted-text); font-size:0.82rem; margin-top:auto; }

/* Small variant used in tab rows */
.story-card.small{ border:none; box-shadow:none; padding:6px 0; display:block; }
.story-card.small h3{ font-size:0.95rem; }

/* Quick-view modal styling */
#article-modal{ position:fixed; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(3,6,10,0.55); z-index:1600; }
.article-modal[aria-hidden="true"]{ display:none; }
.article-modal-inner{ background:var(--bg-color); color:var(--text-color); width:min(92vw,980px); max-height:86vh; overflow:auto; border-radius:10px; padding:18px; box-shadow:0 20px 60px rgba(2,6,23,0.5); }
.article-modal-inner img{ max-width:100%; height:auto; border-radius:6px; margin-bottom:12px; }
.modal-close{ position:absolute; right:18px; top:12px; background:transparent; border:none; font-size:1.6rem; color:var(--muted-text); cursor:pointer; }

/* Hide native scrollbars for modal content but keep scroll functionality */
.article-modal-inner{ 
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style:none; /* IE/Edge */
}
.article-modal-inner::-webkit-scrollbar{ width:0; height:0; }

@media (max-width:640px){
	.article-modal-inner{ width:calc(100vw - 28px); padding:12px; border-radius:8px; max-height:88vh; }
	.story-body{ padding:10px 12px; }
}

.hero-main h1{
	font-family:"Playfair Display", "Times New Roman", serif;
	font-size:calc(3rem - 2px);
	font-weight:800;
	line-height:1.1;
	margin-bottom:12px;
}

.hero-main p{
	font-size:0.86rem;
	color:var(--muted-text);
	max-width:44rem;
	margin-bottom:0;
}

.hero-main p a{
	color:var(--accent-red);
	text-decoration:none;
	font-weight:500;
}

.hero-main p a:hover{
	text-decoration:underline;
}

/* Lower-third stripe under logo across pages */
.lower-third{
	width:100%;
	background:linear-gradient(90deg, rgba(8,58,46,0.98), rgba(11,90,46,0.95));
	color:var(--footer-text);
	border-top:3px solid var(--accent-yellow);
}
.lower-third-inner{
	max-width:1360px;
	margin:0 auto;
	display:flex;
	align-items:center;
	gap:18px;
	padding:8px 18px;
}
.lt-headline{
	font-weight:700;
	text-transform:uppercase;
	font-size:0.95rem;
	white-space:nowrap;
}
.lt-headline span{font-weight:600; margin-left:8px}
.lt-ticker{
	flex:1;
	overflow:hidden;
	--ticker-speed: 22s;
}
.lt-ticker-track{
	display:inline-block;
	white-space:nowrap;
	will-change:transform;
	animation:lt-marquee var(--ticker-speed) linear infinite;
	/* Start paused to avoid an initial jump while JS calculates resume position */
	animation-play-state:paused;
}
.lt-ticker-track span{display:inline-block; padding-right:34px; opacity:0.95}

@keyframes lt-marquee{
	0%{transform:translateX(0%)}
	100%{transform:translateX(-50%)}
}

@media (max-width:720px){
	.lower-third-inner{flex-direction:column; align-items:flex-start; gap:8px}
	.lt-ticker{width:100%}
	.lt-headline{font-size:0.9rem}
}

/* Typewriter caret style for hero headline when activated */
.hero-typing-caret::after{
	content:'';
	display:inline-block;
	width:1px;
	height:1.05em;
	margin-left:6px;
	background:currentColor;
	animation:blink-caret 1s steps(1) infinite;
	vertical-align:middle;
}

@keyframes blink-caret{
	0%,50%{opacity:1}
	51%,100%{opacity:0}
}

.hero-main .live-label{
	color:var(--muted-text);
	font-weight:600;
	text-transform:uppercase;
	font-size:0.8rem;
	letter-spacing:0.08em;
	margin-bottom:6px;
}

.hero-main img{
	width:100%;
	height:auto;
	margin-top:16px;
	border-radius:8px;
	max-height:320px; /* keep hero shallower so text leads the layout */
	object-fit:cover;
}

/* Video controls added by JS when available */
.video-controls{
	display:flex;
	gap:12px;
	align-items:center;
	margin-top:8px;
	font-size:0.9rem;
	color:var(--muted-text);
}
.video-controls .vc-time{ min-width:90px; color:var(--text-color); font-weight:600; }
.video-controls .vc-rate select{ padding:4px 6px; border-radius:4px; border:1px solid var(--chip-border); background:var(--menu-bg); color:var(--menu-text); }
.video-controls .vc-pip{ padding:6px 8px; border-radius:6px; border:1px solid var(--chip-border); background:var(--menu-bg); cursor:pointer; }


/* Hero side simple list */
.hero-side ul{
	list-style:none;
	padding:0;
	margin:0;
}

.hero-side li+li{
	margin-top:12px;
}

.hero-side a{
	text-decoration:none;
	color:var(--text-color);
}

.hero-side a:hover{
	text-decoration:underline;
}

.section-block{
	margin-top:32px;
}

.ad-block{
	margin-top:28px;
}

.ad-slot-home{
	padding:12px 0;
	border-top:1px solid var(--card-border);
	border-bottom:1px solid var(--card-border);
	background:transparent;
}

.ad-slot-inner{
	max-width:980px;
	margin:0 auto;
	display:flex;
	flex-direction:column;
	align-items:stretch;
	gap:6px;
}

.ad-label{
	display:block;
	font-size:0.75rem;
	text-transform:uppercase;
	letter-spacing:0.12em;
	color:var(--muted-text);
	text-align:left;
}

.ad-slot-frame{
	width:100%;
	min-height:60px;
	display:flex;
	align-items:center;
	justify-content:center;
	background:transparent;
}

.static-page{
	max-width:760px;
	margin:32px auto 40px;
}

.static-page h3{
	margin-top:18px;
	margin-bottom:8px;
	font-size:1.05rem;
}

.static-page p{
	margin-bottom:0.9rem;
}

.static-lead{
	font-size:0.98rem;
	font-weight:500;
}

.static-page a{
	color:var(--accent-red);
	text-decoration:none;
}

.static-page a:hover{
	text-decoration:underline;
}

.section-title{
	font-size:1.4rem;
	margin-bottom:16px;
	border-bottom:1px solid #dddddd;
	padding-bottom:6px;
}

.section-block .section-title + p.meta-text{
	font-size:0.9rem;
	color:var(--muted-text);
	margin-top:-4px;
	margin-bottom:12px;
}

.story-grid{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:18px;
}

/* ============================================
   PRODUCTS / HERBALS STORE GRID
   ============================================ */
   
.products-grid{
	display:grid;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:26px;
	grid-auto-rows:1fr;
	align-items:stretch;
}

.product-card{
	position:relative;
	border-radius:10px;
	background:var(--menu-bg);
	border:1px solid var(--chip-border);
	padding:14px;
	display:flex;
	flex-direction:column;
	height:100%;
	box-shadow:0 4px 10px rgba(15,23,42,0.06);
	transition:background-color 140ms ease,border-color 140ms ease,transform 140ms ease,box-shadow 140ms ease;
	cursor:pointer;
	box-sizing:border-box;
}

.product-card:hover{
	border-color:var(--accent-yellow);
	background-color:rgba(249,250,251,0.9);
	transform:translateY(-2px);
	box-shadow:0 10px 22px rgba(15,23,42,0.12);
}


.product-thumb{
	width:100%;
	aspect-ratio:3/4;
	border-radius:10px;
	overflow:hidden;
	background:#f3f4f6;
	display:flex;
	align-items:center;
	justify-content:center;
	margin-bottom:10px;
}

.product-thumb img{
	max-width:100%;
	max-height:100%;
	object-fit:contain;
	display:block;
}

.product-body{
	display:flex;
	flex-direction:column;
	gap:2px;
}

.product-name{
	font-size:1rem;
	font-weight:600;
	margin:0;
}

.product-price{
	font-size:0.95rem;
	font-weight:600;
	color:#047857;
	margin:2px 0;
}

.product-tagline{
	font-size:0.9rem;
	color:var(--muted-text);
	margin:2px 0;
}

[data-theme="dark"] .product-card{
	background:#020617;
	border-color:#1f2937;
	box-shadow:0 10px 30px rgba(0,0,0,0.55);
}

[data-theme="dark"] .product-thumb{
	background:#111827;
}

[data-theme="dark"] .product-name-toggle,
[data-theme="dark"] .product-details,
[data-theme="dark"] .product-tagline{
	color:var(--muted-text);
}

.product-meta{
	font-size:0.8rem;
	color:var(--muted-text);
	margin:0;
}

.product-details{
	margin-top:8px;
	padding-top:6px;
	border-top:1px dashed var(--chip-border);
	font-size:0.85rem;
	color:var(--muted-text);
	display:none;
}

.product-details.is-open{
	display:block;
}

.product-name-toggle{
	margin:0;
	font-size:1rem;
	font-weight:600;
	border:none;
	background:none;
	padding:0;
	color:inherit;
	cursor:inherit;
	text-align:left;
}

.product-name-toggle:focus-visible{
	outline:2px solid var(--accent-yellow);
	outline-offset:2px;
}

@media (max-width:1024px){
	.products-grid{
		grid-template-columns:repeat(3,minmax(0,1fr));
		gap:24px;
	}
}

@media (max-width:640px){
	.products-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
		gap:20px;
	}
	.product-card{
		padding:10px;
	}
	.product-name-toggle{
		font-size:0.95rem;
	}
	.product-tagline{
		font-size:0.85rem;
	}
}


/* Product modal (store view) */
.product-modal-backdrop{
	position:fixed;
	inset:0;
	display:none;
	align-items:center;
	justify-content:center;
	background:rgba(15,23,42,0.78);
	z-index:140;
}

.product-modal-backdrop.is-open{
	display:flex;
}

.product-modal{
	background:var(--menu-bg);
	color:var(--text-color);
	border-radius:10px;
	max-width:560px;
	width: min(94vw, 560px); /* fluid width */
	margin:clamp(8px, 1.5vw, 20px) auto;
	box-shadow:0 14px 32px rgba(15,23,42,0.35);
	position:relative;
	padding:clamp(8px, 1.6vw, 14px);
	box-sizing:border-box;
	max-height:calc(100vh - env(safe-area-inset-top) - 40px);
	overflow:auto;
	transform:scale(0.995);
	transform-origin:center;
}

.product-modal-close{
	position:absolute;
	top:8px;
	right:10px;
	border:none;
	background:none;
	font-size:1.4rem;
	cursor:pointer;
	color:var(--muted-text);
}

.product-modal-layout{
	display:grid;
	grid-template-columns:minmax(0,1.6fr) minmax(0,1.4fr);
	gap:16px;
}

.product-modal-image-wrap{
	border-radius:10px;
	background:#f3f4f6;
	display:flex;
	align-items:center;
	justify-content:center;
	overflow:hidden;
}

.product-modal-image{
	max-width:100%;
	max-height:clamp(160px, 28vh, 360px); /* responsive image height */
	object-fit:contain;
}

.product-modal-body{
	display:flex;
	flex-direction:column;
	gap:8px;
}

/* Make description area scrollable but hide scrollbars */
.product-modal-desc{
	overflow:auto;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style:none; /* IE/Edge */
}
.product-modal-desc::-webkit-scrollbar{ width:0; height:0; }

.product-modal-name{
	font-size:clamp(1rem, 2.6vw, 1.2rem);
	font-weight:600;
	margin:0;
}

.product-modal-price{
	font-size:clamp(0.9rem, 2.1vw, 1rem);
	font-weight:600;
	color:#047857;
	margin:2px 0 4px;
}

.product-modal-desc,
.product-modal-dosage,
.product-modal-tags{
	font-size:clamp(0.82rem, 1.8vw, 0.95rem);
	color:var(--muted-text);
	margin:0;
	line-height:1.45;
	/* allow description to scroll if long */
	overflow:auto;
}

.product-modal-tags{
	font-style:italic;
}

.product-modal-footer{
	margin-top:14px;
	display:flex;
	justify-content:flex-end;
}

.product-modal-buy{
	border:none;
	border-radius:999px;
	padding:clamp(7px,1.6vw,10px) clamp(12px,3vw,18px);
	font-size:clamp(0.88rem, 2vw, 0.98rem);
	font-weight:500;
	background:#047857;
	color:#ecfdf5;
	cursor:pointer;
	box-shadow:0 6px 16px rgba(5,150,105,0.35);
}

.product-modal-buy:hover{
	background:#065f46;
}

[data-theme="dark"] .product-modal-buy{
	background:#16a34a;
	color:#ecfdf5;
	box-shadow:0 10px 28px rgba(0,0,0,0.65);
}

[data-theme="dark"] .product-modal-buy:hover{
	background:#15803d;
}

.product-modal-cart{
	margin-top:8px;
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:10px;
	font-size:0.9rem;
}

.product-modal-qty{
	display:inline-flex;
	align-items:center;
	border:1px solid #d1d5db;
	border-radius:999px;
	overflow:hidden;
}

.product-modal-qty input{
	width:42px;
	border:none;
	text-align:center;
	font-size:0.9rem;
	padding:4px 2px;
	background:transparent;
}

.product-modal-qty button{
	border:none;
	background:#f3f4f6;
	padding:4px 8px;
	cursor:pointer;
	font-size:0.9rem;
}

.product-modal-add{
	border:none;
	border-radius:999px;
	padding:6px 14px;
	background:#047857;
	color:#ecfdf5;
	cursor:pointer;
	font-size:0.9rem;
}

.product-modal-add:hover{
	background:#065f46;
}

.product-modal-note{
	margin-top:6px;
	font-size:0.78rem;
	color:var(--muted-text);
}

/* ============================================
   PRODUCT MODAL - MOBILE RESPONSIVE
   ============================================ */
@media (max-width:720px){
	.product-modal-layout{
		grid-template-columns: 1fr;
		gap: var(--spacing-md);
	}
	
	.product-modal{
		width: 70%;
		max-width: 420px;
		min-width: 240px;
		margin: 20px auto;
		padding: 6px 8px 10px;
		border-radius: var(--radius-sm);
		max-height: calc(100vh - 48px);
		overflow: hidden;
		scrollbar-width: none; /* Firefox */
		-ms-overflow-style: none; /* IE/Edge */
	}
	
	.product-modal-image-wrap{ 
		border-radius: var(--radius-sm);
	}
	
	.product-modal-image{ 
		max-height: 280px;
	}
	
	/* Ensure modal body scrolls on mobile and reserve space for CTA */
	.product-modal-body{
		max-height: calc(100vh - 180px);
		overflow-y: auto;
		padding-right: 2px;
		padding-bottom: var(--spacing-sticky-footer);
		scrollbar-width: none; /* Firefox */
		-ms-overflow-style: none; /* IE/Edge */
	}
	
	.product-modal-body::-webkit-scrollbar{ 
		display: none;
	}

	/* Keep Buy Now visible on mobile */
	.product-modal-footer{
		position: sticky;
		bottom: 0;
		background: var(--menu-bg);
		padding: 10px 0;
		border-top: 1px solid #e5e7eb;
		box-shadow: 0 -6px 16px rgba(0,0,0,0.06);
		z-index: 1;
	}
	
	.product-modal-buy{
		width: 100%;
		max-width: none;
		font-size: 0.9rem;
		padding: 8px 16px;
	}
	
	/* Typography adjustments for mobile */
	.product-modal-name{ font-size: 1.1rem; }
	.product-modal-price{ font-size: 0.95rem; }
	.product-modal-desc,
	.product-modal-dosage,
	.product-modal-tags{ font-size: 0.85rem; }
	.product-modal-cart{ font-size: 0.85rem; }
	.product-modal-qty input{ width: 38px; font-size: 0.85rem; }
	.product-modal-qty button{ font-size: 0.85rem; padding: 4px 6px; }
}

[data-theme="dark"] .product-modal-image-wrap{
	background:#111827;
}

[data-theme="dark"] .product-modal-qty{
	border-color:#4b5563;
}

@media (max-width:720px){
	[data-theme="dark"] .product-modal-footer{
		border-top-color: #334155;
		box-shadow: 0 -8px 18px rgba(0,0,0,0.35);
	}
}

.story-row{
	display:flex;
	flex-wrap:wrap;
	gap:12px;
}

.story-card{
	position:relative;
	border-radius:6px;
	background:var(--menu-bg);
	border:1px solid #e5e5e5;
	padding:16px;
	box-shadow:0 1px 3px rgba(15,23,42,0.04);
	transition:background-color 140ms ease,border-color 140ms ease;
}

.story-card.small{
	flex:1 1 30%;
}

.story-card:hover{
	border-color:#d4d4d4;
	background-color:rgba(249,250,251,0.8);
}

.story-row .story-thumb{
	display:block;
	margin:-10px -12px 8px;
	overflow:hidden;
	border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.story-row .story-thumb img{
	display:block;
	width:100%;
	height:auto;
	aspect-ratio: 16/9;
	object-fit:cover;
}

/* Fallback for older browsers */
@supports not (aspect-ratio: 16/9) {
	.story-row .story-thumb{
		position:relative;
		height:0;
		padding-bottom:56.25%;
	}
	.story-row .story-thumb img{
		position:absolute;
		inset:0;
		height:100%;
	}
}

.story-body{
	padding-top:4px;
}

.article-body{
	font-size:1rem;
	line-height:1.7;
}

.story-card h3{
	font-size:1.05rem;
	margin:0 0 6px;
}

.story-card a{
	text-decoration:none;
	color:var(--text-color);
}

.story-card a:hover{
	text-decoration:underline;
}

/* Responsive grid tweaks for story cards */
@media (max-width:960px){
	.story-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:640px){
	.story-grid{ grid-template-columns:repeat(1,minmax(0,1fr)); }
}

/* Quick-view article modal overlay */
.article-modal-backdrop{
	position:fixed;
	inset:0;
	display:none;
	align-items:center;
	justify-content:center;
	background:rgba(15,23,42,0.82);
	z-index:130;
}

.article-modal-backdrop.is-open{
	display:flex;
}

.article-modal{
	max-width:860px;
	width:100%;
	margin:16px;
	background:var(--bg-color);
	color:var(--text-color);
	border-radius:12px;
	box-shadow:0 24px 80px rgba(15,23,42,0.55);
	overflow:hidden;
	display:flex;
	flex-direction:row;
}

.article-modal-image{
	flex:1.1;
	min-height:220px;
	background-size:cover;
	background-position:center;
	background-color:#020617;
}

.article-modal-body{
	flex:1;
	padding:18px 20px 20px;
}

.article-modal-title{
	margin:0 0 6px;
	font-size:1.4rem;
}

.article-modal-meta{
	font-size:0.85rem;
	color:var(--muted-text);
	margin-bottom:10px;
}

.article-modal-text{
	font-size:0.95rem;
	margin-bottom:14px;
}

.article-modal-actions{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
}

.article-modal-actions a{
	text-decoration:none;
	font-size:0.9rem;
}

.article-modal-link{
	padding:6px 12px;
	border-radius:999px;
	background:var(--accent-red);
	color:#ffffff;
}

.article-modal-close{
	position:absolute;
	top:10px;
	right:12px;
	background:rgba(15,23,42,0.7);
	color:#ffffff;
	border:none;
	border-radius:999px;
	width:30px;
	height:30px;
	display:flex;
	align-items:center;
	justify-content:center;
	cursor:pointer;
}

@media (max-width:800px){
	.article-modal{
		flex-direction:column;
		max-width:420px;
		margin:32px auto;
	}
	.article-modal-image{ min-height:180px; }
}

/* Category chips for filters */
.category-chips{
	margin-bottom:16px;
	display:flex;
	flex-wrap:wrap;
	gap:8px;
}

.category-chip{
	border-radius:999px;
	border:1px solid var(--chip-border);
	padding:6px 12px;
	font-size:0.85rem;
	text-decoration:none;
	color:var(--text-color);
	background:var(--menu-bg);
}

.category-chip.active{
	background:var(--text-color);
	color:var(--menu-bg);
	border-color:var(--text-color);
}

/* Homepage live hero (no inline player) */
.live-hero-home{
	margin-top:8px;
	margin-bottom:24px;
	display:none; /* homepage live strip temporarily hidden per layout request */
}

.live-strip{
	display:flex;
	align-items:center;
	gap:10px;
	padding:12px 16px;
	background:#111111;
	color:#ffffff;
	border-radius:6px;
	font-size:0.9rem;
	text-decoration:none;
}

.live-strip-dot{
	width:10px;
	height:10px;
	border-radius:50%;
	background:var(--accent-red);
	flex-shrink:0;
}

footer{
	margin-top:auto;
	border-top:1px solid var(--header-border);
	background:var(--footer-bg);
	color:var(--footer-text);
}

.footer-inner{
	max-width:1360px;
	margin:0 auto;
	padding:14px 18px 20px;
	font-size:0.85rem;
	text-align:center;
}

.footer-main{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	padding-bottom:10px;
	border-bottom:1px solid rgba(148,163,184,0.35);
	margin-bottom:10px;
}

.footer-logo-link{
	text-decoration:none;
}

.footer-logo-bar{
	height:24px;
}

.footer-logo-bar .logo-part{
	background:#ffffff;
	color:#000000;
	padding:3px 4px;
	font-size:0.7rem;
}

.footer-nav{
	flex:1 1 auto;
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	gap:12px;
}

.footer-nav a{
	color:var(--footer-text);
	text-decoration:none;
	font-size:0.84rem;
	padding-bottom:3px;
	border-bottom:2px solid transparent;
}

.footer-nav a:hover{
	border-bottom-color:var(--accent-red);
}

/* Live teaser card on homepage */
.live-teaser{
	margin-top:10px;
	padding-top:6px;
	display:block;
	color:var(--text-color);
}

.live-teaser-button{
	display:none;
}

.live-teaser-text a{
	color:var(--accent-red);
	text-decoration:none;
	font-weight:500;
	font-size:0.9rem;
}

.live-teaser-text a:hover{
	text-decoration:underline;
}

.live-teaser-text > div{
	font-size:0.8rem;
	opacity:0.85;
	color:var(--muted-text);
}

.footer-follow{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	justify-content:flex-start;
	gap:10px;
	margin:2px 0 6px;
}

.footer-follow-label{
	font-weight:500;
	color:var(--footer-text);
}

.footer-social{
	display:flex;
	align-items:center;
	gap:12px;
}

.footer-social a{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:36px;
	height:36px;
	border-radius:50%;
	background:rgba(255,255,255,0.1);
	transition:background-color 0.18s ease, transform 0.18s ease;
}

.footer-social a:hover{
	background:rgba(255,255,255,0.2);
	transform:translateY(-2px);
}

.social-icon{
	display:block;
	width:20px;
	height:20px;
}

.social-icon svg{
	width:100%;
	height:100%;
	fill:var(--footer-text);
	stroke:none;
}

.social-icon--x svg,
.social-icon--tiktok svg,
.social-icon--facebook svg,
.social-icon--instagram svg{
	fill:var(--footer-text);
	stroke:var(--footer-text);
	stroke-width:0;
}

.social-icon--instagram svg{
	fill:none;
	stroke:var(--footer-text);
	stroke-width:2;
}

.footer-legal-links{
	margin:4px 0 2px;
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	gap:12px;
}

.footer-legal-links a{
	color:var(--footer-text);
	text-decoration:none;
	font-size:0.82rem;
}

.footer-legal-links a:hover{
	text-decoration:underline;
}

/* Tabbed category section */
.tabs-header{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	margin-bottom:12px;
}

.tab-button{
	border-radius:999px;
	border:1px solid var(--chip-border);
	padding:6px 14px;
	background:var(--menu-bg);
	color:var(--menu-text);
	font-size:0.85rem;
	cursor:pointer;
	transition:background-color 0.18s ease,color 0.18s ease,border-color 0.18s ease,transform 0.18s ease;
}

.tab-button.active{
	background:var(--text-color);
	color:var(--menu-bg);
	border-color:var(--text-color);
}

.tab-button:focus{outline:2px solid rgba(0,0,0,0.08); outline-offset:2px}

/* Ensure good contrast in dark mode for inactive tab buttons */
[data-theme="dark"] .tab-button{
    background:transparent;
    color:var(--menu-text);
    border-color:var(--chip-border);
}

[data-theme="dark"] .tab-button:focus{outline:2px solid rgba(249,115,22,0.18)}

.tab-panel{
	display:none;
}

.tab-panel.active{
	display:block;
}

/* ============================================
   LIVE TV LAYOUT
   ============================================ */
   
.live-page{
	max-width:1280px;
	margin:0 auto;
	padding:24px 16px;
}

.live-layout{
	display:grid;
	grid-template-columns:2fr 1fr;
	gap:24px;
}

@media (max-width:1024px){
	.live-layout{
		grid-template-columns:1fr;
	}
	.live-side{
		margin-top:16px;
	}
}

@media (max-width:768px){
	.live-page{
		padding:16px 10px 20px;
	}
	.live-layout{
		gap:18px;
	}
	.live-side-section{
		border-radius:10px;
		border:1px solid #11182722;
		padding:10px 12px 12px;
		background:linear-gradient(145deg, rgba(15,23,42,0.96), rgba(15,23,42,0.88));
		color:#e5e7eb;
	}
	[data-theme="light"] .live-side-section{
		background:#ffffff;
		border-color:#e5e7eb;
		color:#111827;
	}
	.live-side-section .section-title{
		font-size:0.92rem;
		margin-bottom:6px;
	}
	.live-comments{
		max-height:none;
	}
}

.live-main,
.live-side{
	background:transparent;
	border-radius:0;
	padding:0;
	box-shadow:none;
}

[data-theme="dark"] .live-main,
[data-theme="dark"] .live-side{
	background:transparent;
}

/* Live hero at top of Live page */
.live-hero{
	margin-top:8px;
	margin-bottom:12px;
	/* Full-bleed hero: stretch to viewport width while staying aligned with content */
	margin-left:calc(-1 * (50vw - 50%));
	margin-right:calc(-1 * (50vw - 50%));
	width:100vw;
}

.live-hero-inner{
	max-width:1360px;
	margin:0 auto;
	border-radius:0;
	overflow:visible;
	background:transparent;
}

/* ============================================
   VIDEO PLAYER - NATIVE CONTROLS
   Using enhanced native HTML5 video controls
   ============================================ */
   
.video-wrapper{
	position:relative;
	width:100%;
	aspect-ratio:16/9;
	background:#000000;
	border-radius:16px;
	overflow:hidden;
	box-shadow:0 8px 32px rgba(0, 0, 0, 0.4);
	transition:box-shadow 0.3s ease;
}

.video-wrapper:hover{
	box-shadow:0 12px 48px rgba(0, 0, 0, 0.6);
}

#akanayo-video-player {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background:#000000;
}

/* Off Air Stamp */
#off-air-stamp {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(255, 0, 0, 0.85);
	color: #fff;
	padding: 12px 24px;
	font-size: 18px;
	font-weight: bold;
	border-radius: 8px;
	display: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

#akanayo-video-player[paused] + #off-air-stamp {
	display: block;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
	.video-wrapper {
		border-radius: 12px;
	}
	
	#off-air-stamp {
		font-size: 16px;
		padding: 10px 20px;
	}
}

@media (max-width: 480px) {
	.video-wrapper {
		border-radius: 8px;
	}
	
	#off-air-stamp {
		font-size: 14px;
		padding: 8px 16px;
	}
}

/* Sponsors Section */
.sponsors-section {
  text-align: center;
  margin-top: 20px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sponsors-section h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.sponsor-item {
  flex: 0 1 calc(33.333% - 10px);
  max-width: calc(33.333% - 10px);
  text-align: center;
}

.sponsor-item img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ============================================
   YOUTUBE-STYLE VIDEO DESCRIPTION
   ============================================ */
   
.video-description-box{
	background:var(--bg-color);
	border-radius:12px;
	padding:14px;
	margin-top:12px;
	border:1px solid var(--card-border);
}

.video-description-header{
	display:flex;
	align-items:center;
	justify-content:space-between;
	margin-bottom:12px;
	padding-bottom:8px;
	border-bottom:1px solid var(--card-border);
}

.video-view-info{
	display:flex;
	align-items:center;
	gap:8px;
	font-size:0.9rem;
	color:var(--muted-text);
}

.video-views{
	font-weight:600;
}

.video-publish-date::before{
	content:'•';
	margin-right:8px;
}

.video-channel-info{
	display:flex;
	align-items:center;
	gap:12px;
	margin-bottom:16px;
	padding:10px 0;
}

.channel-avatar{
	width:40px;
	height:40px;
	border-radius:50%;
	overflow:hidden;
	background:var(--card-border);
	flex-shrink:0;
}

.channel-avatar img{
	width:100%;
	height:100%;
	object-fit:cover;
}

.channel-details{
	flex:1;
	min-width:0;
}

.channel-name{
	margin:0 0 2px;
	font-size:1rem;
	font-weight:600;
	color:var(--text-color);
}

.channel-subscribers{
	margin:0;
	font-size:0.85rem;
	color:var(--muted-text);
}

.subscribe-btn{
	background:var(--accent-red);
	color:#ffffff;
	border:none;
	border-radius:999px;
	padding:10px 16px;
	font-size:0.9rem;
	font-weight:600;
	cursor:pointer;
	transition:background-color 0.18s ease;
}

.subscribe-btn:hover{
	background:#dc2626;
}

.video-description-text{
	font-size:0.9rem;
	line-height:1.6;
	color:var(--text-color);
	max-height:80px;
	overflow:hidden;
	transition:max-height 0.3s ease;
}

.video-description-text.expanded{
	max-height:none;
}

.video-description-text ul{
	padding-left:20px;
	margin:8px 0;
}

.video-description-text li{
	margin:4px 0;
}

.show-more-btn{
	margin-top:8px;
	background:none;
	border:none;
	color:var(--text-color);
	font-size:0.9rem;
	font-weight:600;
	cursor:pointer;
	padding:4px 0;
}

.show-more-btn:hover{
	color:var(--accent-red);
}

/* Video tabs styling */
.video-tabs{
	display:flex;
	gap:8px;
	margin-top:16px;
	border-bottom:1px solid var(--card-border);
	padding-bottom:2px;
}

.video-tabs button{
	background:none;
	border:none;
	padding:10px 16px;
	font-size:0.95rem;
	font-weight:600;
	color:var(--muted-text);
	cursor:pointer;
	position:relative;
	transition:color 0.18s ease;
}

.video-tabs button:hover{
	color:var(--text-color);
}

.video-tabs button.active{
	color:var(--text-color);
}

.video-tabs button.active::after{
	content:'';
	position:absolute;
	bottom:-2px;
	left:0;
	right:0;
	height:2px;
	background:var(--accent-red);
}

.video-tab-panels{
	margin-top:0;
}

.video-tab-panel{
	display:none;
}

.video-tab-panel.active{
	display:block;
}

/* Video layout (mobile-first) */
.video-page{
	max-width:1180px;
	margin:0 auto;
	padding:16px 12px 28px;
}

.video-layout{
	display:grid;
	grid-template-columns:1fr;
	gap:18px;
}

.video-container{
	display:flex;
	flex-direction:column;
	gap:12px;
}

.video-head{
	display:flex;
	flex-direction:column;
	gap:6px;
}

.video-title-main{
	margin:0;
	font-size:1.3rem;
	line-height:1.2;
}

.video-sidebar{
	display:flex;
	flex-direction:column;
	gap:14px;
}

@media (min-width:960px){
	.video-layout{
		grid-template-columns:minmax(0,2fr) minmax(300px,1fr);
		align-items:start;
	}
}

.live-upnext-list{
	list-style:none;
	padding:0;
	margin:0;
	display:flex;
	flex-direction:column;
	gap:10px;
}

.live-upnext-item{
	padding:10px 12px;
	border:1px solid var(--card-border);
	border-radius:10px;
	background:var(--bg-color);
}

.live-upnext-time{
	font-size:0.85rem;
	color:var(--muted-text);
}

.live-upnext-title{
	font-weight:600;
	margin-top:4px;
}

.ad-section{
	border:1px solid var(--card-border);
	border-radius:12px;
	background:var(--bg-color);
	padding:12px;
	display:flex;
	flex-direction:column;
	gap:10px;
}

.ad-slot{
	display:block;
	border:1px dashed var(--card-border);
	border-radius:10px;
	overflow:hidden;
	background:var(--card-bg, #f7f7f7);
}

.ad-slot img{
	display:block;
	width:100%;
	height:auto;
}

.ad-copy{
	margin:0;
	font-size:0.95rem;
	color:var(--muted-text);
}

.ad-card{
	border:1px solid var(--card-border);
	border-radius:10px;
	padding:10px;
	background:var(--bg-color);
	display:flex;
	flex-direction:column;
	gap:8px;
}

.ad-card.muted{
	background:var(--card-bg, #f7f7f7);
}

.ad-card-text{ display:flex; flex-direction:column; gap:4px; }
.ad-head{ margin:0; font-weight:700; font-size:0.95rem; }
.ad-sub{ margin:0; color:var(--muted-text); font-size:0.9rem; }

.ad-card-actions{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
}

@media (min-width:960px){
	.video-title-main{ font-size:1.5rem; }
}

/* Minimal horizontal sponsor strip */
.sponsor-strip{
	margin:20px auto 10px;
	max-width:1180px;
	padding:12px 14px;
	border:1px solid var(--card-border);
	border-radius:12px;
	background:var(--bg-color);
	display:flex;
	flex-direction:column;
	gap:8px;
}

.sponsor-ad{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:10px;
	font-size:0.95rem;
}

.sponsor-badge{
	padding:4px 8px;
	border-radius:999px;
	background:var(--accent-red);
	color:#fff;
	font-weight:700;
	font-size:0.8rem;
}

.sponsor-link{
	color:var(--accent-red);
	font-weight:600;
	text-decoration:none;
}

.sponsor-link:hover{ text-decoration:underline; }

.sponsor-contact{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:10px;
	font-size:0.9rem;
	color:var(--text-color);
}

.sponsor-contact a{
	color:var(--accent-green);
	text-decoration:none;
	font-weight:600;
}

.sponsor-contact a:hover{ text-decoration:underline; }

@media (max-width:640px){
	.sponsor-strip{ padding:12px; }
	.sponsor-ad{ font-size:0.9rem; }
	.sponsor-contact{ font-size:0.88rem; }
}

/* ============================================
   SMOOTH SCROLLING & iOS OPTIMIZATION
   ============================================ */
   
.product-modal-body,
.article-modal-inner,
.home-rail__list{
	-webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* ============================================
   PRINT STYLES
   ============================================ */
   
@media print {
	.site-header,
	.main-nav,
	footer,
	.menu-toggle,
	.theme-toggle,
	#video-controls,
	.global-menu,
	.ad-slot-home{
		display: none !important;
	}
	
	.page-main{
		max-width: 100%;
		margin: 0;
		padding: 0;
	}
	
	body{
		background: white;
		color: black;
	}
	
	a{
		text-decoration: underline;
	}
	
	.product-card,
	.story-card{
		break-inside: avoid;
		page-break-inside: avoid;
	}
}
