/**
 * UttarPradesh.org - Voice Theme Clean News/Magazine Stylesheet
 * Inspired by Meks Voice Clean News Magazine Theme
 * Modern Editorial Aesthetics, Micro-animations, Dark/Light Mode
 */

/* =========================================================
   1. CSS VARIABLES & THEME TOKENS
   ========================================================= */
:root {
  /* Voice Brand Primary */
  --primary: #ff5221;
  --primary-hover: #e03e0e;
  --primary-glow: rgba(255, 82, 33, 0.35);

  /* Category Color Accents (Iconic Voice Theme System) */
  --cat-1: #e74c3c; /* Politics / Crimson Red */
  --cat-2: #2563eb; /* Development / Royal Blue */
  --cat-3: #059669; /* Culture & Tourism / Emerald */
  --cat-4: #d97706; /* Crime & Districts / Amber */
  --cat-5: #7c3aed; /* Youth & Specials / Purple */
  --cat-6: #f97316; /* Elections / Vibrant Orange */

  /* Neutral Surface Colors (Light Mode) */
  --bg-page: #f4f6f8;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f8fafc;
  --bg-elevated: #ffffff;
  --border-color: #e5e9ef;
  --border-light: #f1f3f7;

  /* Typography Colors */
  --text-main: #192024;
  --text-body: #3c4858;
  --text-muted: #6b7c93;
  --text-light: #9aa7b9;

  /* Elevation Shadows */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.16);

  /* Typography Families */
  --font-hindi: 'Anek Devanagari', 'Noto Sans Devanagari', sans-serif;
  --font-heading: 'Outfit', 'Poppins', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Dimensions & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --container-width: 1220px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   DARK THEME PALETTE
   ========================================================= */
[data-theme="dark"] {
  --bg-page: #0f141c;
  --bg-surface: #18202c;
  --bg-surface-alt: #1e2838;
  --bg-elevated: #222e40;
  --border-color: #273549;
  --border-light: #1f2a3a;

  --text-main: #f1f5f9;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-light: #64748b;

  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.6);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-hindi);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  transition: var(--transition);
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Utilities */
.text-orange { color: #ff6b35; }
.text-red { color: #dc2626; }
.text-green { color: #16a34a; }

/* Top Progress Bar */
.vce-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #ff5221, #f59e0b, #e11d48);
  width: 0%;
  z-index: 99999;
  transition: width 0.1s ease;
}

/* Toast */
.vce-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #111827;
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.95rem;
  z-index: 100000;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border-left: 4px solid var(--primary);
}

.vce-toast.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   2. INTRO SPLASH OVERLAY
   ========================================================= */
.splash-screen {
  position: fixed;
  inset: 0;
  background: #100602;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
}

.splash-screen.splash-hide {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  pointer-events: none;
}

.splash-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.splash-logo-container {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
}

.splash-pulse-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.45);
  animation: pulseRing 1.8s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulseRing {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.splash-logo-box {
  width: 100%;
  height: 100%;
  animation: logoBounce 1.2s ease-out;
}

.splash-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 25px rgba(212, 175, 55, 0.3);
  display: block;
}

@keyframes logoBounce {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}

.splash-brand-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.splash-brand-title span {
  color: var(--primary);
}

.splash-brand-sub {
  font-size: 0.95rem;
  color: #fbd5c3;
  margin-top: 6px;
}

.splash-loader-bar {
  width: 180px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  margin-top: 24px;
  overflow: hidden;
  position: relative;
}

.splash-loader-progress {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ff5221, #f59e0b);
  animation: loaderAnim 1.2s infinite ease-in-out;
  transform-origin: left;
}

@keyframes loaderAnim {
  0% { transform: scaleX(0); }
  50% { transform: scaleX(0.7); }
  100% { transform: scaleX(1); }
}

.splash-loader-txt {
  font-size: 0.8rem;
  color: #999;
  margin-top: 8px;
}

/* =========================================================
   3. TOP HEADER (Voice Top Bar)
   ========================================================= */
.top-header {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 6px 0;
}

.top-header .vce-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vce-wrap-left, .vce-wrap-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vce-date-clock {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vce-time-badge {
  background: var(--bg-surface-alt);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--primary);
  border: 1px solid var(--border-color);
}

.vce-weather-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 82, 33, 0.08);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-weight: 500;
}

.vce-weather-badge .weather-icon {
  color: #f59e0b;
}

.vce-mini-nav {
  display: flex;
  list-style: none;
  gap: 12px;
}

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

/* Font Resizer */
.vce-font-resizer {
  display: flex;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.font-btn {
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.font-btn.active, .font-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Social Icons */
.vce-social-links {
  display: flex;
  gap: 8px;
}

.soc-item {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.78rem;
  background: var(--bg-surface-alt);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.soc-item:hover {
  color: #fff;
  transform: translateY(-2px);
}
.soc-item.fb:hover { background: #1877f2; border-color: #1877f2; }
.soc-item.tw:hover { background: #000; border-color: #000; }
.soc-item.yt:hover { background: #ff0000; border-color: #ff0000; }
.soc-item.tg:hover { background: #229ed9; border-color: #229ed9; }

/* Theme Toggle */
.vce-theme-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.78rem;
}

.vce-theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* =========================================================
   4. MAIN BRANDING HEADER & BANNER
   ========================================================= */
.header-main-area {
  background: var(--bg-surface);
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.header-main-area .vce-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vce-logo-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.vce-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vce-logo-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15), 0 0 0 1.5px rgba(212, 175, 55, 0.4);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  display: block;
}

.vce-logo-link:hover .vce-logo-img {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2);
}

.vce-logo-text .site-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  line-height: 1.1;
  display: block;
}

.vce-logo-text .site-title span {
  color: var(--primary);
}

.vce-logo-text .site-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  margin-top: 2px;
}

/* Header Ad Billboard */
.vce-header-ads {
  max-width: 650px;
}

.vce-banner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(255, 82, 33, 0.08) 0%, rgba(225, 29, 72, 0.04) 100%);
  border: 1px dashed rgba(255, 82, 33, 0.4);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  position: relative;
}

.banner-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.banner-content h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.banner-content p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.banner-cta-btn {
  background: var(--text-main);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.banner-cta-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* =========================================================
   5. STICKY NAVBAR (Voice Iconic Navigation)
   ========================================================= */
.header-sticky {
  background: var(--bg-surface);
  border-bottom: 2px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-sticky.is-scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--primary);
}

.vce-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vce-responsive-nav-btn {
  display: none;
  font-size: 1.3rem;
  color: var(--text-main);
  padding: 10px 0;
}

.vce-sticky-brand {
  display: none;
  margin-right: 18px;
}

.vce-sticky-brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--text-main);
}

.vce-sticky-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
  display: block;
}

.vce-sticky-brand-link:hover .vce-sticky-logo-img {
  transform: scale(1.1);
}

.vce-sticky-brand-link span { color: var(--text-main); }
.vce-sticky-brand-link strong { color: var(--primary); }

.header-sticky.is-scrolled .vce-sticky-brand {
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-menu > .menu-item {
  position: relative;
}

.nav-menu > .menu-item > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 14px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.nav-menu > .menu-item:hover > a,
.nav-menu > .menu-item.current-menu-item > a {
  color: var(--primary);
}

.cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.cat-dot-1 { background-color: var(--cat-1); }
.cat-dot-2 { background-color: var(--cat-2); }
.cat-dot-3 { background-color: var(--cat-3); }
.cat-dot-4 { background-color: var(--cat-4); }
.cat-dot-5 { background-color: var(--cat-5); }
.cat-dot-6 { background-color: var(--cat-6); }

.vce-nav-pill {
  background: #dc2626;
  color: #fff;
  font-size: 0.65rem;
  padding: 1px 5px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  margin-left: 2px;
}

/* Sub Menu / Dropdown */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
}

.nav-menu > .menu-item:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
}

.sub-menu li a:hover {
  background: var(--bg-surface-alt);
  color: var(--primary);
  padding-left: 20px;
}

/* Nav Actions */
.vce-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vce-action-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
  position: relative;
}

.vce-action-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.vce-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #dc2626;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   6. VOICE TICKER BAR
   ========================================================= */
.vce-ticker-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  font-size: 0.9rem;
}

.vce-ticker-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vce-ticker-label {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #dc2626;
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.78rem;
  white-space: nowrap;
}

.vce-pulse-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulseDot 1.2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(0.8); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
}

.vce-ticker-viewport {
  flex: 1;
  position: relative;
  height: 26px;
  overflow: hidden;
}

.vce-ticker-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.vce-ticker-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ticker-link {
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-link:hover {
  color: var(--primary);
}

.vce-ticker-nav {
  display: flex;
  gap: 4px;
}

.ticker-ctrl {
  width: 24px;
  height: 24px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.ticker-ctrl:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Category Pills */
.vce-cat-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.vce-cat-pill.cat-1 { background-color: var(--cat-1); }
.vce-cat-pill.cat-2 { background-color: var(--cat-2); }
.vce-cat-pill.cat-3 { background-color: var(--cat-3); }
.vce-cat-pill.cat-4 { background-color: var(--cat-4); }
.vce-cat-pill.cat-5 { background-color: var(--cat-5); }
.vce-cat-pill.cat-6 { background-color: var(--cat-6); }

.cat-1-txt { color: var(--cat-1); font-weight: 700; }
.cat-2-txt { color: var(--cat-2); font-weight: 700; }
.cat-3-txt { color: var(--cat-3); font-weight: 700; }
.cat-4-txt { color: var(--cat-4); font-weight: 700; }

/* =========================================================
   7. VOICE SIGNATURE FEATURED GRID (Big Grid Layout)
   ========================================================= */
.vce-featured-section {
  padding: 24px 0 10px;
}

.vce-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.vce-grid-sub-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.vce-grid-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #000;
}

.vce-grid-big {
  min-height: 440px;
}

.vce-grid-quad {
  min-height: 212px;
}

.vce-grid-img-wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.vce-grid-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.vce-grid-item:hover .vce-grid-img-wrap img {
  transform: scale(1.08);
}

.vce-grid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.5) 55%, transparent 100%);
  pointer-events: none;
}

.vce-grid-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
  color: #fff;
}

.vce-grid-quad .vce-grid-text {
  padding: 14px;
}

.vce-featured-section {
  margin-bottom: 8px;
}

.vce-grid-big .vce-featured-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
}

.vce-grid-big .vce-featured-title a {
  color: #fff;
}

.vce-grid-big .vce-featured-title a:hover {
  color: #fbd5c3;
}

.vce-grid-quad .vce-featured-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
}

.vce-grid-quad .vce-featured-title a {
  color: #fff;
}

.vce-grid-quad .vce-featured-title a:hover {
  color: #fbd5c3;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.entry-meta i { margin-right: 4px; opacity: 0.8; }

.vce-bookmark-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  z-index: 5;
  opacity: 0;
  transform: translateY(-5px);
  transition: var(--transition);
}

.vce-grid-item:hover .vce-bookmark-btn {
  opacity: 1;
  transform: translateY(0);
}

.vce-bookmark-btn:hover {
  background: var(--primary);
  color: #fff;
}

.vce-bookmark-btn.saved {
  background: var(--primary);
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   8. MAIN CONTENT LAYOUT (70% Primary + 30% Sidebar)
   ========================================================= */
.site-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  margin-top: 30px;
  margin-bottom: 40px;
}

/* Main Box (Voice Category Box) */
.main-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  margin-bottom: 28px;
  overflow: hidden;
}

.main-box.vce-border-top {
  border-top-width: 3px;
  border-top-style: solid;
}

.box-cat-1 { border-top-color: var(--cat-1); }
.box-cat-2 { border-top-color: var(--cat-2); }
.box-cat-3 { border-top-color: var(--cat-3); }
.box-cat-4 { border-top-color: var(--cat-4); }

.main-box-head {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.main-box-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.vce-box-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.vce-box-more:hover {
  color: var(--primary);
}

/* Split Columns (Voice 2 Column Modules) */
.vce-module-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.main-box-inside {
  padding: 18px;
}

/* Voice Post Lay-C (Medium Post with Excerpt) */
.vce-lay-c {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-color);
}

.vce-lay-c .meta-image {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
  aspect-ratio: 16 / 9;
}

.vce-lay-c .meta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vce-lay-c:hover .meta-image img {
  transform: scale(1.05);
}

.vce-lay-c .meta-image .vce-cat-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.vce-lay-c .entry-title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.38;
  margin-bottom: 6px;
  color: var(--text-main);
}

.vce-lay-c .entry-title a:hover {
  color: var(--primary);
}

.vce-lay-c .entry-content p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 6px;
}

/* Voice Post Lay-D (Compact Post with 145x100 thumbnail) */
.vce-loop-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vce-lay-d {
  display: flex;
  gap: 12px;
  align-items: center;
}

.vce-lay-d .meta-image {
  width: 100px;
  height: 70px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.vce-lay-d .meta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.vce-lay-d:hover .meta-image img {
  transform: scale(1.08);
}

.vce-lay-d .entry-header {
  flex: 1;
}

.vce-lay-d .meta-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.vce-lay-d .entry-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
}

.vce-lay-d .entry-title a:hover {
  color: var(--primary);
}

/* =========================================================
   9. VOICE VIDEO SHOWCASE (Dark Cinematic Module)
   ========================================================= */
.vce-video-showcase-box {
  background: #111827;
  color: #fff;
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #1f2937;
}

.video-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.vce-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-recording-dot {
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulseDot 1s infinite;
}

.vce-box-title h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.vce-hd-badge {
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
}

.vce-video-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
}

.vce-main-video-player .video-thumbnail-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.vce-main-video-player .video-thumbnail-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vce-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vce-play-btn {
  width: 54px;
  height: 54px;
  background: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.7);
  transition: transform 0.3s ease;
}

.video-thumbnail-wrap:hover .vce-play-btn {
  transform: scale(1.15);
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.vce-main-video-player .video-info {
  margin-top: 14px;
}

.vce-main-video-player h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 8px 0;
  color: #fff;
  line-height: 1.35;
}

.vce-main-video-player p {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* Playlist */
.vce-video-playlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 380px;
  overflow-y: auto;
}

.playlist-item {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.playlist-item:hover, .playlist-item.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 82, 33, 0.5);
}

.pl-thumb {
  width: 90px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.pl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pl-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 0.75rem;
}

.pl-meta h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f3f4f6;
  line-height: 1.3;
}

.pl-meta span {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* =========================================================
   10. UP MLAs & MPs REPS SHOWCASE
   ========================================================= */
.vce-reps-box {
  border-top-color: var(--primary);
}

.reps-filter-pills {
  display: flex;
  gap: 6px;
}

.rep-filter-btn {
  padding: 4px 12px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.rep-filter-btn.active, .rep-filter-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.reps-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 18px;
}

.rep-card {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  transition: var(--transition);
}

.rep-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.rep-avatar-box {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 10px;
}

.rep-avatar-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

.party-tag {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  color: #fff;
}

.party-tag.sp { background: #e11d48; }
.party-tag.bjp { background: #f97316; }
.party-tag.bsp { background: #2563eb; }

.rep-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 2px;
}

.rep-role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.rep-details p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 3px;
}

.rep-profile-btn {
  margin-top: 10px;
  width: 100%;
  padding: 5px 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
}

.rep-profile-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* =========================================================
   11. LATEST ARTICLES & VOICE LAYOUT SWITCHER (Grid vs List)
   ========================================================= */
.vce-layout-switcher {
  display: flex;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.switcher-btn {
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.switcher-btn.active, .switcher-btn:hover {
  background: var(--primary);
  color: #fff;
}

.vce-feed-filter-bar {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
}

.feed-filter-pill {
  padding: 5px 14px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.feed-filter-pill.active, .feed-filter-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Grid Layout */
.vce-articles-feed.layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
}

.vce-articles-feed.layout-grid .vce-feed-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
}

.vce-articles-feed.layout-grid .card-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.vce-articles-feed.layout-grid .card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vce-articles-feed.layout-grid .vce-feed-card:hover .card-thumb-wrap img {
  transform: scale(1.06);
}

.vce-articles-feed.layout-grid .card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vce-articles-feed.layout-grid .card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.38;
  margin: 6px 0 8px;
  color: var(--text-main);
}

.vce-articles-feed.layout-grid .card-excerpt {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
}

.vce-articles-feed.layout-grid .card-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}

/* List Layout (Voice Signature List Mode) */
.vce-articles-feed.layout-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
}

.vce-articles-feed.layout-list .vce-feed-card {
  display: flex;
  gap: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
}

.vce-articles-feed.layout-list .card-thumb-wrap {
  width: 200px;
  height: 130px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.vce-articles-feed.layout-list .card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vce-articles-feed.layout-list .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vce-articles-feed.layout-list .card-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  margin: 4px 0 6px;
  color: var(--text-main);
}

.vce-articles-feed.layout-list .card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.vce-articles-feed.layout-list .card-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Card Commons */
.card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-light);
}

.card-foot .read-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

.card-foot .read-more:hover {
  text-decoration: underline;
}

.card-foot .share-btn {
  color: var(--text-light);
}

.card-foot .share-btn:hover {
  color: var(--primary);
}

/* Load More Button */
.vce-load-more {
  text-align: center;
  padding: 16px 20px 24px;
}

.vce-load-more-btn {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 12px 30px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: var(--shadow-xs);
}

.vce-load-more-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* =========================================================
   12. VOICE SIDEBAR WIDGETS
   ========================================================= */
.sidebar .widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}

.sidebar .widget-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
  position: relative;
}

.sidebar .widget-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

/* Multi-Tabs Widget */
.vce-widget-tabs-nav {
  display: flex;
  background: var(--bg-surface-alt);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 14px;
  gap: 4px;
}

.widget-tab-btn {
  flex: 1;
  padding: 6px 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.widget-tab-btn.active {
  background: var(--bg-surface);
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.vce-post-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vce-ranked-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rank-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.78rem;
  color: #fff;
  flex-shrink: 0;
}

.rank-1 { background: #e11d48; }
.rank-2 { background: #f97316; }
.rank-3 { background: #f59e0b; }
.rank-4 { background: #10b981; }
.rank-5 { background: #3b82f6; }

.vce-post-thumb {
  width: 58px;
  height: 44px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.vce-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vce-posts-wrap {
  flex: 1;
}

.vce-posts-wrap .meta-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  display: block;
}

.vce-post-link {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  display: block;
}

.vce-post-link:hover {
  color: var(--primary);
}

/* 75 Districts Live Weather Widget */
.district-selector-wrap {
  margin-bottom: 12px;
}

.district-selector-wrap label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-muted);
}

.vce-select {
  width: 100%;
  padding: 8px 12px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 600;
  font-family: inherit;
}

.district-weather-card {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.weather-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
}

.temp-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.temp-city {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2px;
}

.weather-icon-box {
  font-size: 2rem;
  color: #f59e0b;
}

.weather-metrics {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin: 10px 0;
  color: var(--text-muted);
}

.district-news-alert {
  background: var(--bg-surface);
  border-left: 3px solid #dc2626;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  gap: 6px;
  line-height: 1.35;
}

/* Social Counter Widget */
.vce-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vce-soc-box {
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  transition: transform 0.2s ease;
}

.vce-soc-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.vce-soc-box.fb { background: #1877f2; }
.vce-soc-box.tw { background: #000; }
.vce-soc-box.yt { background: #ff0000; }
.vce-soc-box.tg { background: #229ed9; }

.vce-soc-box i { font-size: 1.3rem; }

.soc-count {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.1;
}

.soc-label {
  font-size: 0.68rem;
  opacity: 0.9;
}

/* Poll Widget */
.poll-question {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.4;
}

.poll-option-label {
  display: block;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.poll-option-label:hover {
  border-color: var(--primary);
}

.poll-option-label input {
  margin-right: 8px;
}

.poll-option-label .opt-text {
  font-size: 0.82rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.poll-progress-bar {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.progress-fill {
  height: 100%;
  background: rgba(255, 82, 33, 0.15);
  transition: width 0.6s ease;
}

.poll-submit-btn {
  width: 100%;
  padding: 9px 0;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.poll-submit-btn:hover {
  background: var(--primary-hover);
}

.poll-status {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Newsletter */
.vce-newsletter-widget {
  background: linear-gradient(135deg, #18202c 0%, #0f141c 100%) !important;
  color: #fff;
  border-color: #273549 !important;
}

.nl-icon-badge {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.nl-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.nl-sub {
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.nl-input-group {
  display: flex;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.nl-input-group input {
  flex: 1;
  padding: 10px 12px;
  border: none;
  outline: none;
  font-size: 0.85rem;
}

.nl-input-group button {
  background: var(--primary);
  color: #fff;
  padding: 0 16px;
  font-size: 0.95rem;
}

.nl-privacy {
  display: block;
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 8px;
}

/* Tags */
.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-link {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tag-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* =========================================================
   13. PRE-FOOTER BILLBOARD AD
   ========================================================= */
.vce-ad-above-footer {
  margin-bottom: 40px;
}

.vce-bottom-ad-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.ad-tag {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
}

.ad-content-box h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.ad-content-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.ad-cta-btn {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.ad-cta-btn:hover {
  background: var(--primary-hover);
}

/* =========================================================
   14. MAIN FOOTER (4 Column Layout)
   ========================================================= */
.site-footer {
  background: #111827;
  color: #e5e7eb;
  padding: 50px 0 0;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 40px;
}

.footer-logo {
  margin-bottom: 14px;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.footer-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.35);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  display: block;
}

.footer-brand-wrap:hover .footer-logo-img {
  transform: scale(1.06);
}

.footer-brand-text h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin: 0;
}

.footer-brand-text h3 span { color: var(--primary); }

.footer-brand-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #f59e0b;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 3px;
}

.footer-about-text {
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.6;
  margin: 14px 0;
}

.footer-accreditation {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.75rem;
  color: #cbd5e1;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
}

.footer-links a {
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: #9ca3af;
}

.footer-subheading {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin: 18px 0 10px;
}

.footer-soc-bar {
  display: flex;
  gap: 10px;
}

.footer-soc-bar a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.footer-soc-bar a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom-bar {
  background: #090d16;
  padding: 18px 0;
  font-size: 0.8rem;
  color: #6b7280;
  border-top: 1px solid #1f2937;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

.footer-legal-links a:hover {
  color: #e5e7eb;
}

/* =========================================================
   15. MODALS & DRAWERS
   ========================================================= */
.vce-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.vce-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.vce-modal-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 30px;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vce-modal-backdrop.active .vce-modal-card {
  transform: scale(1);
}

.vce-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--bg-surface-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1.1rem;
}

.vce-modal-close:hover {
  background: #dc2626;
  color: #fff;
}

.modal-article-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 10px 0 12px;
  color: var(--text-main);
}

.modal-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
}

/* Audio Player in Modal */
.modal-audio-player {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tts-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary);
}

.audio-wave-anim {
  display: none;
  align-items: center;
  gap: 3px;
  height: 20px;
}

.audio-wave-anim.playing {
  display: flex;
}

.audio-wave-anim span {
  width: 3px;
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  animation: wave 1s infinite ease-in-out;
}
.audio-wave-anim span:nth-child(2) { animation-delay: 0.2s; }
.audio-wave-anim span:nth-child(3) { animation-delay: 0.4s; }
.audio-wave-anim span:nth-child(4) { animation-delay: 0.6s; }
.audio-wave-anim span:nth-child(5) { animation-delay: 0.8s; }

@keyframes wave {
  0%, 100% { height: 4px; }
  50% { height: 20px; }
}

.modal-font-tools {
  display: flex;
  gap: 4px;
}

.modal-font-tools button {
  padding: 3px 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

.modal-featured-img {
  margin: 16px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-height: 380px;
}

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

.vce-modal-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-body);
}

.vce-modal-body p {
  margin-bottom: 16px;
}

.modal-footer-actions {
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
  margin-top: 20px;
}

.modal-save-btn, .modal-share-btn {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-save-btn {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.modal-save-btn.saved {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.modal-share-btn {
  background: var(--primary);
  color: #fff;
}

/* Video Modal */
.video-modal-card {
  max-width: 820px;
  padding: 20px;
  background: #000;
  color: #fff;
}

.video-iframe-wrap {
  aspect-ratio: 16 / 9;
  width: 100%;
  margin-bottom: 12px;
}

.video-iframe-wrap iframe {
  width: 100%;
  height: 100%;
}

.video-modal-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

/* Search Modal Overlay */
.vce-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 28, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100000;
  display: flex;
  justify-content: center;
  padding-top: 80px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.vce-search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-content {
  width: 100%;
  max-width: 680px;
  padding: 0 20px;
  text-align: center;
  position: relative;
}

.search-overlay-close {
  position: absolute;
  top: -40px;
  right: 20px;
  color: #fff;
  font-size: 1.6rem;
}

.search-header-prompt {
  color: #fff;
  margin-bottom: 24px;
}

.search-icon-huge {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.search-input-box {
  display: flex;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 8px 16px;
  box-shadow: var(--shadow-xl);
}

.search-input-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-family: inherit;
  padding: 8px 0;
}

.search-input-box button {
  color: #999;
  font-size: 1.2rem;
}

.search-results-tray {
  margin-top: 24px;
  max-height: 50vh;
  overflow-y: auto;
  text-align: left;
}

.search-result-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 10px;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}

.search-result-item:hover {
  background: rgba(255, 82, 33, 0.2);
  border-color: var(--primary);
}

.search-result-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.search-result-item p {
  font-size: 0.8rem;
  color: #cbd5e1;
}

.search-empty-state {
  color: #9ca3af;
  font-size: 0.95rem;
}

/* Bookmark Drawer */
.vce-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.vce-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.vce-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 360px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vce-drawer-backdrop.active .vce-drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.drawer-body {
  flex: 1;
  padding: 16px 20px;
  overflow-y: auto;
}

.drawer-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-color);
}

.clear-all-btn {
  width: 100%;
  padding: 8px 0;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: #dc2626;
}

.drawer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.drawer-item h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.drawer-item button {
  color: #999;
  padding: 4px;
}

.drawer-item button:hover {
  color: #dc2626;
}

.empty-drawer-msg {
  text-align: center;
  padding: 40px 10px;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

/* Back to Top with SVG Circular Ring */
.vce-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.vce-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

.progress-ring-circle {
  stroke-dasharray: 125.6;
  stroke-dashoffset: 125.6;
  transition: stroke-dashoffset 0.1s linear;
}

/* =========================================================
   16. RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================= */
@media (max-width: 1024px) {
  .site-content {
    grid-template-columns: 1fr;
  }
  .vce-featured-grid {
    grid-template-columns: 1fr;
  }
  .vce-grid-big {
    min-height: 380px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .reps-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .header-main-area .vce-header-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .vce-logo-link {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .top-header {
    display: none;
  }
  .vce-responsive-nav-btn {
    display: block;
  }
  .vce-sticky-brand {
    display: block;
  }
  .main-navigation {
    position: fixed;
    top: 54px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 2px solid var(--primary);
    box-shadow: var(--shadow-xl);
    max-height: 80vh;
    overflow-y: auto;
    display: none;
  }
  .main-navigation.mobile-active {
    display: block;
  }
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-menu > .menu-item {
    width: 100%;
  }
  .nav-menu > .menu-item > a {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-light);
  }
  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    background: var(--bg-surface-alt);
    padding-left: 20px;
  }
  .vce-module-columns {
    grid-template-columns: 1fr;
  }
  .vce-grid-sub-wrapper {
    grid-template-columns: 1fr;
  }
  .vce-video-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .vce-bottom-ad-card {
    flex-direction: column;
    text-align: center;
  }
  .reps-cards-grid {
    grid-template-columns: 1fr;
  }
  .vce-articles-feed.layout-grid {
    grid-template-columns: 1fr;
  }
  .vce-articles-feed.layout-list .vce-feed-card {
    flex-direction: column;
  }
  .vce-articles-feed.layout-list .card-thumb-wrap {
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 600px) {
  .vce-logo-img {
    width: 48px;
    height: 48px;
  }
  .vce-logo-text .site-title {
    font-size: 1.6rem;
  }
  .vce-logo-text .site-tagline {
    font-size: 0.76rem;
  }
  .footer-logo-img {
    width: 44px;
    height: 44px;
  }
  .footer-brand-text h3 {
    font-size: 1.5rem;
  }
}

