:root {
  --primary: #800000;
  --primary-dark: #5C0000;
  --primary-light: #F5E6E6;
  --bg-light: #FFFFFF;
  --text-dark: #000000;
  --text-muted: #333333;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(128, 0, 0, 0.10);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] {
  --bg-light: #1A0000;
  --text-dark: #FFFFFF;
  --text-muted: #CCCCCC;
  --white: #2D0000;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --glass-bg: rgba(45, 0, 0, 0.95);
  --glass-border: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #F5E6E6;
}

::-webkit-scrollbar-thumb {
  background: #800000;
  border-radius: 4px;
}

::selection {
  background: #800000;
  color: white;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans Tamil', 'Segoe UI', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
  transition: var(--transition);
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* WordPress + builder compatibility */
.builder-content>.elementor,
.builder-content>.vc_row,
.vmtalks-builder-content>.entry-content {
  width: 100%;
}

.elementor-section.elementor-section-boxed>.elementor-container,
.wpb-content-wrapper .container {
  max-width: 1280px;
}

.single-article {
  min-width: 0;
  background: #ffffff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  margin-bottom: 30px;
}

.single-header {
  margin-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 16px;
}

.single-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.4;
  color: #0f172a;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.single-header .card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
}

.single-featured-image {
  margin: 20px 0 28px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  cursor: default;
}

.single-featured-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.entry-content {
  line-height: 1.85;
  font-size: 17px;
  color: #1e293b;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.entry-content p {
  margin: 0 0 1.4em 0;
  line-height: 1.85;
  font-size: 17px;
  color: #1e293b;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.35;
  margin: 32px 0 16px;
  clear: both;
}

.entry-content h2 {
  font-size: 22px;
  border-left: 4px solid #800000;
  padding-left: 12px;
}

.entry-content h3 {
  font-size: 19px;
}

.entry-content h4 {
  font-size: 17px;
}

.entry-content img,
.entry-content figure.wp-block-image img,
.entry-content .wp-caption img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
  display: block;
}

.entry-content figure.wp-block-image,
.entry-content .wp-caption {
  margin: 24px auto;
  max-width: 100%;
}

.entry-content figure.wp-block-image figcaption,
.entry-content .wp-caption-text {
  font-size: 13px;
  color: #64748b;
  text-align: center;
  margin-top: 8px;
}

.entry-content .aligncenter {
  margin: 24px auto;
  display: block;
  text-align: center;
}

.entry-content .alignleft {
  float: left;
  margin: 0 24px 16px 0;
  max-width: 50%;
}

.entry-content .alignright {
  float: right;
  margin: 0 0 16px 24px;
  max-width: 50%;
}

/* Category & Badge alignment inside article content & headings */
.entry-content .cat-badge,
.entry-content .category-badge,
.entry-content a.badge,
.entry-content span.badge,
.single-article .cat-badge,
.single-article .category-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  margin: 0 6px !important;
  padding: 4px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  border-radius: 20px !important;
  background: #FFD700 !important;
  color: #800000 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

/* In-article Ad Slot Containers */
.vmtalks-in-article-ad,
div[style*="VMTalks In-article Ad Slot"],
.entry-content .ad-slot-wrapper,
.entry-content .ad-slot {
  margin: 28px auto !important;
  padding: 18px 20px !important;
  background: #f8fafc !important;
  border: 1px dashed #cbd5e1 !important;
  border-radius: 12px !important;
  text-align: center !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  color: #64748b !important;
  font-size: 12px !important;
}

.page-content {
  padding-top: 32px;
  padding-bottom: 32px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.site-footer {
  background: var(--primary-dark);
  color: white;
  padding: 36px 0;
}

.site-footer .container {
  display: grid;
  gap: 18px;
}

.footer-menu ul {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.copyright {
  font-size: 13px;
  opacity: .8;
}

/* Top Bar */
.top-bar {
  background: var(--primary-dark);
  color: white;
  font-size: 13px;
  padding: 6px 0;
  position: relative;
  z-index: 1001;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.top-bar-left i {
  font-size: 12px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-right a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

.top-bar-right a:hover {
  color: white;
}

.top-bar-right .social-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  font-size: 12px;
}

.top-bar-right .social-icon:hover {
  background: var(--primary);
}

.dark-toggle {
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.dark-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lang-switcher {
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 12px;
  cursor: pointer;
}

.district-select-top {
  background: transparent;
  color: white;
  border: none;
  font-size: 13px;
  cursor: pointer;
  padding: 2px 4px;
  outline: none;
  font-family: inherit;
}

.district-select-top option {
  background: var(--primary-dark);
  color: white;
}

/* Header Main */
.header-main {
  background: #ffffff !important;
  padding: 14px 0;
  position: relative;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-bottom: 3px solid var(--primary);
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-text {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -1px;
}

.logo-text span {
  color: var(--text-dark);
}

.tagline {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
  text-align: center;
}

/* ===== NAVIGATION ===== */
.main-nav {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: var(--transition);
  overflow: visible !important;
}

[data-theme="dark"] .main-nav {
  border-color: rgba(255, 255, 255, 0.05);
}

.main-nav .container {
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible !important;
  min-height: 48px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
  position: relative;
  overflow: visible !important;
}

/* Nav Items */
.nav-item,
.nav-menu>.menu-item,
.nav-menu>li {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Nav Links */
.nav-item>a,
.nav-menu>.menu-item>a,
.nav-menu>li>a,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: white !important;
  white-space: nowrap;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  text-decoration: none;
  line-height: 1;
}

.nav-item>a:hover,
.nav-menu>.menu-item>a:hover,
.nav-menu>li>a:hover,
.nav-item.active>a,
.nav-item.current-menu-item>a,
.nav-menu>.menu-item.current-menu-item>a,
.nav-link:hover,
.nav-link.active {
  color: #FFD700 !important;
  border-bottom-color: #FFD700;
}

/* Dropdown Arrow Icon */
.nav-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
  margin-left: 4px;
  opacity: 0.85;
}

.nav-item:hover>a .nav-arrow,
.menu-item:hover>a .nav-arrow,
.nav-item.open>a .nav-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* Submenu / Dropdown */
.nav-item.menu-item-has-children,
.menu-item-has-children {
  position: relative;
}

.nav-menu .sub-menu,
.nav-menu .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white, #FFFFFF);
  border-radius: 0 0 var(--radius-md, 8px) var(--radius-md, 8px);
  box-shadow: var(--shadow-lg, 0 10px 30px rgba(0, 0, 0, 0.18));
  padding: 8px 0;
  min-width: 220px;
  z-index: 99999 !important;
  list-style: none;
  margin: 0;
  display: none !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  border-top: 3px solid var(--primary, #800000);
}

.nav-menu li:hover>.sub-menu,
.nav-menu li.open>.sub-menu,
.nav-menu .menu-item-has-children:hover>.sub-menu,
.nav-menu .menu-item-has-children.open>.sub-menu,
.nav-menu>.menu-item-has-children:hover>.sub-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

/* Submenu items list styling */
.nav-menu .sub-menu li,
.nav-menu .sub-menu .menu-item {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
  position: relative !important;
}

.nav-menu .sub-menu li>a,
.nav-menu .sub-menu .menu-item>a,
.sub-menu li>a,
.dropdown-link {
  display: block !important;
  padding: 10px 20px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--text-dark, #000000) !important;
  border-bottom: none !important;
  border-left: 3px solid transparent !important;
  transition: var(--transition);
  white-space: nowrap !important;
  background: transparent !important;
}

.nav-menu .sub-menu li>a:hover,
.nav-menu .sub-menu .menu-item>a:hover,
.sub-menu li>a:hover,
.dropdown-link:hover {
  color: var(--primary, #800000) !important;
  background: var(--primary-light, #F5E6E6) !important;
  border-left-color: var(--primary, #800000) !important;
  padding-left: 24px !important;
}

/* Mega Menu (fallback static) */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  display: none;
  min-width: 600px;
  z-index: 100;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.nav-item:hover .mega-menu,
.menu-item:hover .mega-menu {
  display: grid;
}

.mega-col h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--primary-light);
}

.mega-col a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

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

/* Search icon */
.nav-search {
  padding: 0 16px;
  cursor: pointer;
  color: white;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-search:hover {
  color: #FFD700;
}

.mobile-menu-btn {
  display: none;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 20px;
  color: white;
  align-items: center;
}

/* Breaking News */
.breaking-news {
  background: var(--primary-light);
  border-bottom: 3px solid var(--primary);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .breaking-news {
  background: #2D0000;
  border-color: #800000;
}

.breaking-news .container {
  display: flex;
  align-items: center;
  gap: 0;
}

.breaking-label {
  background: var(--primary);
  color: white;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.breaking-label i {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.breaking-ticker {
  flex: 1;
  overflow: hidden;
  padding: 8px 16px;
  position: relative;
}

.breaking-track {
  display: flex;
  animation: scroll-left 40s linear infinite;
  white-space: nowrap;
}

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

.breaking-track a {
  padding: 0 30px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
}

.breaking-track a:hover {
  color: var(--primary);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.breaking-controls {
  display: flex;
  gap: 4px;
  padding-right: 12px;
  flex-shrink: 0;
}

.breaking-controls button {
  width: 28px;
  height: 28px;
  border: none;
  background: #E2E8F0;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-dark);
}

.breaking-controls button:hover {
  background: var(--primary);
  color: white;
}

/* Hero Section */
.hero-section {
  padding: 24px 0;
}

.vmtalks-widget-wrapper {
  margin-bottom: 24px;
  width: 100%;
}

.vmtalks-widget-mixed-hero-subposts,
.vmtalks-widget-mixed-hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.vmtalks-widget-mixed-hero-subposts .hero-primary,
.vmtalks-widget-mixed-hero .hero-primary {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #800000;
  min-height: 380px;
  height: 100%;
}

.vmtalks-widget-mixed-hero-subposts .hero-primary>a,
.vmtalks-widget-mixed-hero .hero-primary>a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.vmtalks-widget-mixed-hero-subposts .hero-primary img,
.vmtalks-widget-mixed-hero .hero-primary img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  background: #0f172a;
  transition: var(--transition);
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.featured-card .card-img {
  width: 100%;
  height: 420px;
  background: #0f172a;
  overflow: hidden;
  position: relative;
}

.featured-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-card .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: white;
}

.featured-card .category-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  background: var(--primary);
}

.featured-card h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}

.featured-card p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-card .meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  opacity: 0.75;
}

.featured-card .meta i {
  margin-right: 4px;
}

.trending-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trending-card {
  display: flex;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}

.trending-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.trending-card .thumb {
  width: 100px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
}

.trending-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trending-card .info {
  flex: 1;
}

.trending-card .info h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trending-card .info .meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  display: flex;
  gap: 10px;
}

.trending-card .trend-num {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
}

/* Category Colors */
.cat-politics {
  background: #800000;
}

.cat-business {
  background: #A00000;
}

.cat-sports {
  background: #5C0000;
}

.cat-technology {
  background: #3D0000;
}

.cat-cinema {
  background: #800000;
}

.cat-agriculture {
  background: #5C0000;
}

.cat-education {
  background: #3D0000;
}

.cat-weather {
  background: #800000;
}

/* Quick Access */
.quick-access {
  padding: 0 0 24px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}

.quick-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 1px solid transparent;
}

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

.quick-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  margin-bottom: 8px;
}

.quick-card span {
  font-size: 12px;
  font-weight: 500;
}

/* Section Titles */
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}

.section-title h2 {
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title h2 i {
  color: var(--primary);
}

.section-title .view-all {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

.section-title .view-all:hover {
  gap: 4px;
}

/* News Grid */
.news-section {
  padding: 0 0 24px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card .card-img {
  width: 100%;
  height: 180px;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
}

.news-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card .cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: white;
}

.news-card .card-body {
  padding: 14px;
}

.news-card .card-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .card-body p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
}

.news-card .card-meta i {
  margin-right: 3px;
}

/* Sidebar Layout */
.with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
}

/* Trending Sidebar */
.trending-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

.trending-list {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.trending-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #F1F5F9;
}

.trending-item:last-child {
  border-bottom: none;
}

.trending-item .rank {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-light);
  min-width: 30px;
  line-height: 1;
}

.trending-item .rank.top3 {
  color: var(--primary);
}

.trending-item .info {
  flex: 1;
}

.trending-item .info h5 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trending-item .info .meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
  display: flex;
  gap: 8px;
}

.trending-item .trend-score {
  font-size: 11px;
  color: #22C55E;
  font-weight: 600;
}

/* Weather Widget */
.weather-widget {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.weather-current {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
}

.weather-current .temp {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.weather-current .details {
  font-size: 13px;
}

.weather-current .details span {
  display: block;
  color: var(--text-muted);
}

.weather-forecast {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.forecast-day {
  text-align: center;
  font-size: 11px;
}

.forecast-day .day-name {
  font-weight: 600;
  margin-bottom: 3px;
}

.forecast-day .day-icon {
  font-size: 18px;
  margin-bottom: 3px;
}

.forecast-day .day-temp {
  font-size: 12px;
  font-weight: 600;
}

/* Video Section */
.video-section {
  padding: 24px 0;
  background: var(--white);
}

.video-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}

.featured-video {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-video video,
.featured-video iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.featured-video .play-btn {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(0, 87, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition);
}

.featured-video .play-btn:hover {
  transform: scale(1.1);
}

.video-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: start;
}

.video-thumb {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: #000;
  aspect-ratio: 16/9;
}

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

.video-thumb .duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
}

.video-thumb .v-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 10px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.video-thumb .v-overlay h5 {
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.video-categories {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.video-cat-btn {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
}

.video-cat-btn:hover,
.video-cat-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Web Stories */
.stories-section {
  padding: 24px 0;
}

.stories-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.stories-track::-webkit-scrollbar {
  display: none;
}

.story-card {
  min-width: 140px;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  scroll-snap-align: start;
  flex-shrink: 0;
  background: linear-gradient(135deg, #667eea, #764ba2);
  transition: var(--transition);
}

.story-card:hover {
  transform: scale(1.02);
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card .story-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: white;
}

.story-card .story-overlay .story-cat {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.story-card .story-overlay h5 {
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

/* Agriculture Section */
.agri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.agri-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--primary);
}

.agri-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.agri-card .price {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

.agri-card .change {
  font-size: 12px;
}

.agri-card .change.up {
  color: #22C55E;
}

.agri-card .change.down {
  color: #EF4444;
}

/* District News */
.district-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.district-btn {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
}

.district-btn:hover,
.district-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Election Dashboard */
.election-section {
  padding: 24px 0;
  background: var(--white);
}

.election-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.election-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.election-card .party {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.election-card .seats {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
}

.election-card .bar {
  height: 6px;
  border-radius: 3px;
  margin-top: 8px;
  background: #E2E8F0;
  overflow: hidden;
}

.election-card .bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease;
}

/* Business Dashboard */
.business-section {
  padding: 24px 0;
}

.business-ticker {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}

.business-ticker::-webkit-scrollbar {
  display: none;
}

.stock-item {
  white-space: nowrap;
  font-size: 14px;
  padding: 8px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.stock-item .name {
  font-weight: 600;
}

.stock-item .price {
  font-weight: 700;
  margin-left: 8px;
}

.stock-item .change {
  margin-left: 6px;
  font-size: 12px;
}

/* Live TV */
.livetv-section {
  padding: 24px 0;
  background: var(--primary-dark);
  color: white;
}

.livetv-section .section-title h2 {
  color: white;
}

.livetv-section .section-title h2 i {
  color: #FFD700;
}

.livetv-player {
  aspect-ratio: 16/9;
  max-width: 800px;
  margin: 0 auto;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.livetv-player .live-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #800000;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.livetv-player .live-badge i {
  animation: pulse 1.5s infinite;
}

.livetv-player .play-btn {
  width: 80px;
  height: 80px;
  background: rgba(128, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  cursor: pointer;
  transition: var(--transition);
}

.livetv-player .play-btn:hover {
  transform: scale(1.1);
}

/* Poll Section */
.poll-section {
  padding: 24px 0;
}

.poll-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  max-width: 500px;
}

.poll-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.poll-option {
  margin-bottom: 10px;
}

.poll-option label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.poll-option label:hover {
  background: var(--primary-light);
}

.poll-option input[type="radio"] {
  accent-color: var(--primary);
}

.poll-bar {
  height: 6px;
  border-radius: 3px;
  background: #E2E8F0;
  margin-top: 6px;
  overflow: hidden;
}

.poll-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--primary);
  transition: width 1s ease;
}

/* Newsletter */
.newsletter-section {
  padding: 40px 0;
  background: var(--primary);
  color: white;
}

.newsletter-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.newsletter-text h3 {
  font-size: 24px;
  font-weight: 800;
}

.newsletter-text p {
  opacity: 0.85;
  font-size: 14px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: none;
  min-width: 280px;
  font-size: 14px;
}

.newsletter-form button {
  padding: 12px 28px;
  background: var(--primary-dark);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: #002D91;
}

/* News Digest */
.digest-section {
  padding: 24px 0;
}

.digest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.digest-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--primary);
}

.digest-card .source {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.digest-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 4px 0;
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-brand .logo-text {
  font-size: 28px;
  margin-bottom: 4px;
  color: white;
}

.footer-brand p {
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.7;
  margin-top: 10px;
}

.footer-col h5 {
  color: #FFD700;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #FFD700;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}

.footer-col a:hover {
  color: #FFD700;
  padding-left: 4px;
}

.footer-bottom {
  margin-top: 32px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
  color: #FFD700;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: #FFD700;
  color: var(--primary-dark);
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, #E2E8F0 25%, #F1F5F9 50%, #E2E8F0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ===== COMPREHENSIVE RESPONSIVE AUDIT STYLES ===== */
html,
body {
  overflow-x: hidden !important;
  width: 100% !important;
}

@media (max-width: 1200px) {
  .vmtalks-5-col-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
  }

  .vmtalks-news-grid,
  .vmtalks-directory-grid,
  .vmtalks-spotlight-grid,
  .vmtalks-showcase-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 1024px) {

  /* ===== HERO NEWS TOUCH SLIDER (MOBILE & IPAD / TABLET ONLY) ===== */
  .hero-grid,
  .vmtalks-widget-mixed-hero,
  .vmtalks-widget-mixed-hero-subposts {
    display: flex !important;
    flex-direction: row !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding: 6px 4px 18px 4px !important;
    scrollbar-width: none !important;
  }

  .hero-grid::-webkit-scrollbar,
  .vmtalks-widget-mixed-hero::-webkit-scrollbar,
  .vmtalks-widget-mixed-hero-subposts::-webkit-scrollbar {
    display: none !important;
  }

  /* Primary Featured Hero Card in Touch Slider */
  .hero-grid>.featured-card,
  .vmtalks-widget-mixed-hero>.hero-primary,
  .vmtalks-widget-mixed-hero-subposts>.hero-primary {
    flex: 0 0 88% !important;
    width: 88% !important;
    min-width: 290px !important;
    max-width: 580px !important;
    height: 350px !important;
    min-height: 300px !important;
    scroll-snap-align: start !important;
    flex-shrink: 0 !important;
    position: relative !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
  }

  .hero-grid>.featured-card .card-img,
  .vmtalks-widget-mixed-hero>.hero-primary img,
  .vmtalks-widget-mixed-hero-subposts>.hero-primary img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
  }

  .hero-grid>.featured-card .card-overlay,
  .vmtalks-widget-mixed-hero>.hero-primary .hero-overlay,
  .vmtalks-widget-mixed-hero-subposts>.hero-primary div[style*="position:absolute;bottom:0"] {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 22px 18px 18px !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 65%, transparent 100%) !important;
    z-index: 3 !important;
  }

  .hero-grid>.featured-card h2,
  .vmtalks-widget-mixed-hero>.hero-primary h2,
  .vmtalks-widget-mixed-hero-subposts>.hero-primary h2 {
    font-size: 19px !important;
    line-height: 1.35 !important;
    margin: 0 0 6px !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6) !important;
  }

  /* Flatten subpost wrappers so all cards become direct horizontal hero slides */
  .hero-grid>.trending-stack,
  .vmtalks-widget-mixed-hero>.hero-secondary,
  .vmtalks-widget-mixed-hero-subposts>.hero-subposts {
    display: contents !important;
  }

  /* ALL Hero Slide Cards (Featured Hero + Subposts) on Mobile & iPad */
  .hero-grid>.featured-card,
  .vmtalks-widget-mixed-hero>.hero-primary,
  .vmtalks-widget-mixed-hero-subposts>.hero-primary,
  .trending-stack>.trending-card,
  .trending-stack>a,
  .hero-secondary>article,
  .hero-secondary>.trending-card,
  .hero-subposts>article,
  .hero-subposts>.news-list-item,
  .hero-subposts>.vmtalks-small-news-card {
    flex: 0 0 88% !important;
    width: 88% !important;
    min-width: 280px !important;
    max-width: 540px !important;
    height: 330px !important;
    min-height: 300px !important;
    scroll-snap-align: start !important;
    flex-shrink: 0 !important;
    position: relative !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
    background: #0f172a !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
  }

  /* Links & Image container in all Hero Slides */
  .trending-stack>.trending-card a,
  .trending-stack>a,
  .hero-secondary>article a,
  .hero-secondary>.trending-card a,
  .hero-subposts>article a,
  .hero-subposts>.news-list-item a,
  .hero-subposts>.news-list-link,
  .hero-subposts>.vmtalks-small-news-card a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    text-decoration: none !important;
    color: #ffffff !important;
    padding: 0 !important;
  }

  /* Slide Images: Full cover background image spanning entire card */
  .hero-grid img,
  .vmtalks-widget-mixed-hero img,
  .vmtalks-widget-mixed-hero-subposts img,
  .trending-stack .thumb img,
  .trending-stack img,
  .hero-secondary img,
  .hero-subposts img,
  .hero-subposts .news-list-thumb img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    margin: 0 !important;
    z-index: 1 !important;
  }

  .trending-stack .thumb,
  .hero-subposts .news-list-thumb {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    border-radius: 0 !important;
    z-index: 1 !important;
  }

  /* Bottom dark gradient overlay for all hero slides */
  .trending-stack>.trending-card::after,
  .trending-stack>a::after,
  .hero-secondary>article::after,
  .hero-secondary>.trending-card::after,
  .hero-subposts>article::after,
  .hero-subposts>.news-list-item::after,
  .hero-subposts>.vmtalks-small-news-card::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 75% !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.6) 55%, transparent 100%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
  }

  /* Rank badge position overlay */
  .trending-stack .trend-num {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    z-index: 4 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  }

  /* Info container overlaid at bottom of each slide */
  .trending-stack .info,
  .hero-secondary .info,
  .hero-subposts .info,
  .hero-subposts .news-list-content,
  .hero-subposts .small-news-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 20px 18px 18px !important;
    z-index: 3 !important;
    background: transparent !important;
  }

  .hero-grid h2,
  .hero-grid h4,
  .hero-grid h5,
  .vmtalks-widget-mixed-hero h2,
  .vmtalks-widget-mixed-hero h4,
  .vmtalks-widget-mixed-hero h5,
  .vmtalks-widget-mixed-hero-subposts h2,
  .vmtalks-widget-mixed-hero-subposts h4,
  .vmtalks-widget-mixed-hero-subposts h5,
  .trending-stack .info h4,
  .hero-secondary .info h4,
  .hero-secondary .info h5,
  .hero-subposts .info h4,
  .hero-subposts .info h5,
  .hero-subposts .news-list-title,
  .hero-subposts .small-news-title {
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8) !important;
    margin: 0 0 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .trending-stack p,
  .hero-secondary p,
  .hero-subposts p,
  .hero-subposts .news-list-excerpt {
    font-size: 12px !important;
    color: #e2e8f0 !important;
    line-height: 1.4 !important;
    opacity: 0.9 !important;
    margin: 0 0 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .trending-stack .meta,
  .trending-stack .meta span,
  .hero-secondary .meta,
  .hero-secondary .meta span,
  .hero-subposts .meta,
  .hero-subposts .meta span,
  .hero-subposts .news-list-meta,
  .hero-subposts .news-list-meta span,
  .hero-subposts .small-news-meta {
    font-size: 11px !important;
    color: #cbd5e1 !important;
    opacity: 1 !important;
  }

  .with-sidebar {
    grid-template-columns: 1fr !important;
  }

  .trending-sidebar {
    position: static !important;
    margin-top: 24px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .election-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .right-widgets {
    max-width: 100%;
    display: none;
  }

  .header-ad-banner {
    max-width: 100%;
    height: 70px;
  }

  .vmtalks-5-col-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
  }

  .vmtalks-horizontal-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 992px) {
  .top-bar {
    font-size: 11px;
    padding: 4px 0;
  }

  .top-bar-left {
    gap: 8px;
  }

  .top-bar-right {
    gap: 6px;
  }

  .top-bar-left i,
  .top-bar-right .social-icon,
  .dark-toggle,
  .lang-switcher,
  .district-select-top {
    font-size: 10px;
  }

  .top-bar-right .social-icon {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .dark-toggle {
    padding: 2px 6px;
  }

  .lang-switcher {
    padding: 2px 6px;
    font-size: 10px;
  }

  .district-select-top {
    font-size: 11px;
    max-width: 90px;
  }
}

@media (max-width: 768px) {
  .top-bar .container {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }

  .top-bar-left,
  .top-bar-right {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }

  .header-main .container {
    justify-content: center;
    text-align: center;
    padding: 8px 16px;
  }

  .logo-area {
    justify-content: center;
    margin: 0 auto;
  }

  .logo-text {
    font-size: 26px;
  }

  .custom-theme-logo img {
    max-height: 55px !important;
  }

  .right-widgets {
    max-width: 100%;
    width: 100%;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 22px;
    cursor: pointer;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    z-index: 99999 !important;
    max-height: 80vh;
    overflow-y: auto;
  }

  .nav-menu.open {
    display: flex !important;
  }

  .nav-item>a,
  .nav-menu>.menu-item>a,
  .nav-link {
    padding: 12px 20px !important;
    min-height: 44px;
    color: var(--text-dark) !important;
    border-bottom-color: transparent;
    font-size: 15px !important;
  }

  .nav-item>a:hover,
  .nav-menu>.menu-item>a:hover,
  .nav-link:hover {
    color: var(--primary) !important;
    background: #F8FAFC !important;
  }

  .nav-menu .sub-menu {
    position: static;
    display: none !important;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: transparent;
    border-top: none;
  }

  .nav-menu .menu-item-has-children.open>.sub-menu,
  .nav-menu li.open>.sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .sub-menu .menu-item>a,
  .sub-menu li>a,
  .dropdown-link {
    color: var(--text-dark) !important;
    background: transparent !important;
  }

  .mega-menu {
    display: none !important;
  }

  /* Hero & Elementor Widget Grid Responsive Collapses */
  .hero-primary {
    min-height: 260px !important;
    height: auto !important;
  }

  .featured-card .card-img {
    height: 220px;
  }

  .featured-card h2 {
    font-size: 20px;
  }

  .vmtalks-5-col-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .vmtalks-news-grid,
  .vmtalks-directory-grid,
  .vmtalks-spotlight-grid,
  .vmtalks-horizontal-grid,
  .vmtalks-showcase-grid,
  .news-grid,
  .election-grid {
    grid-template-columns: 1fr !important;
  }

  .quick-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
  }

  .quick-card {
    padding: 12px 6px;
  }

  .quick-card .icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .weather-forecast {
    grid-template-columns: repeat(4, 1fr);
  }

  .newsletter-form input {
    min-width: 200px;
  }

  .story-card {
    min-width: 110px;
    height: 200px;
  }

  .trending-card .thumb {
    width: 80px;
    height: 64px;
  }

  /* Tables & Media Responsive Containment */
  table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
  }

  iframe,
  video {
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px !important;
  }

  .breaking-label {
    font-size: 11px;
    padding: 6px 12px;
  }

  .breaking-track a {
    font-size: 12px;
    padding: 0 12px;
  }

  .featured-card .card-img {
    height: 180px;
  }

  .featured-card .card-overlay {
    padding: 14px;
  }

  .featured-card h2 {
    font-size: 16px;
  }

  .featured-card p {
    font-size: 12px;
  }

  .vmtalks-5-col-grid {
    grid-template-columns: 1fr !important;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    min-width: auto;
    width: 100%;
  }

  /* Customizer Panel & Floating Action Buttons Responsive Offsets */
  .customize-panel {
    width: 100% !important;
    max-width: 100vw !important;
    right: -100vw !important;
  }

  .customize-panel.open {
    right: 0 !important;
  }

  .back-to-top {
    bottom: 20px !important;
    right: 16px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
  }

  .customize-toggle {
    bottom: 68px !important;
    right: 16px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
  }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: var(--transition);
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* River Water Level (base) */
.river-slide {
  display: none;
}

.river-slide.active {
  display: block;
}

.river-slide h5 {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-dark);
}

[data-theme="dark"] .river-slide h5 {
  color: #7DD3FC;
}

.river-slide .river-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px 8px;
  margin-top: 2px;
  font-size: 10px;
}

.river-slide .river-meta span {
  display: flex;
  justify-content: space-between;
  line-height: 1.1;
}

.river-slide .river-meta .label {
  color: var(--text-muted);
}

.river-slide .river-meta .val {
  font-weight: 600;
}

.river-slide .storage-bar {
  height: 3px;
  border-radius: 2px;
  background: #CBD5E1;
  margin-top: 2px;
  overflow: hidden;
}

.river-slide .storage-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--primary);
}

[data-theme="dark"] .river-widget {
  background: linear-gradient(135deg, #0C4A6E, #075985) !important;
}

/* Crypto Widget (base) */
.crypto-row .name {
  font-weight: 600;
}

.crypto-row .price {
  font-weight: 700;
}

.crypto-row .change {
  font-size: 10px;
}

/* Skeleton Cards */
.skeleton-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.skeleton-card .skeleton-img {
  height: 180px;
}

.skeleton-card .skeleton-body {
  padding: 14px;
}

.skeleton-card .skeleton-line {
  height: 14px;
  margin-bottom: 8px;
}

.skeleton-card .skeleton-line:last-child {
  width: 60%;
}

/* Mobile Menu Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.mobile-overlay.show {
  display: block;
}

/* ===== CUSTOMIZATION PANEL ===== */
.customize-toggle {
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 997;
  transition: var(--transition);
}

.customize-toggle:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.customize-toggle i {
  transition: transform 0.3s ease;
}

.customize-toggle.open i {
  transform: rotate(90deg);
}

.customize-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.customize-panel.open {
  right: 0;
}

.customize-panel .panel-header {
  padding: 18px 20px;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.customize-panel .panel-header h3 {
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
}

.customize-panel .panel-header .close-panel {
  width: 32px;
  height: 32px;
  border: none;
  background: #F1F5F9;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  transition: var(--transition);
}

.customize-panel .panel-header .close-panel:hover {
  background: #EF4444;
  color: white;
}

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

.customize-group {
  margin-bottom: 20px;
}

.customize-group h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #F1F5F9;
}

.customize-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}

.customize-row label {
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.customize-row .custom-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

.custom-switch {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.custom-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #CBD5E1;
  border-radius: 24px;
  transition: var(--transition);
}

.custom-switch .slider:before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
}

.custom-switch input:checked+.slider {
  background: var(--primary);
}

.custom-switch input:checked+.slider:before {
  transform: translateX(18px);
}

.color-picker-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: var(--transition);
  position: relative;
}

.color-swatch:hover {
  transform: scale(1.15);
}

.color-swatch.active {
  border-color: var(--text-dark);
  box-shadow: 0 0 0 2px white, 0 0 0 4px var(--text-dark);
}

.color-swatch input[type="color"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.font-size-btn {
  padding: 6px 14px;
  border: 1px solid #E2E8F0;
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.font-size-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.font-size-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.customize-panel .panel-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  border-top: 1px solid #E2E8F0;
  background: var(--white);
  display: flex;
  gap: 10px;
}

.customize-panel .panel-footer button {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.customize-panel .panel-footer .reset-btn {
  background: #F1F5F9;
  color: var(--text-dark);
}

.customize-panel .panel-footer .reset-btn:hover {
  background: #E2E8F0;
}

.customize-panel .panel-footer .apply-btn {
  background: var(--primary);
  color: white;
}

.customize-panel .panel-footer .apply-btn:hover {
  background: var(--primary-dark);
}

.section-visibility {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.section-visibility .customize-row {
  padding: 5px 0;
}

.panel-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9998;
  display: none;
}

.panel-backdrop.show {
  display: block;
}

@media (max-width: 480px) {
  .customize-panel {
    width: 100%;
    right: -100%;
  }

  .customize-toggle {
    bottom: 70px;
    right: 16px;
  }
}

/* ===== CARTOON THEME ANIMATIONS ===== */
@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
}

@keyframes wiggle {

  0%,
  100% {
    transform: rotate(-3deg);
  }

  50% {
    transform: rotate(3deg);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Cartoon Card Hover Effects */
.news-card:hover .card-img,
.trending-card:hover .thumb {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-8px) rotate(1deg) !important;
}

/* Online TV Section Enhanced */
.livetv-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
}

.livetv-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 50%);
  animation: pulse 4s ease-in-out infinite;
}

/* International Standard Typography */
.logo-text {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -2px;
}

.logo-text span {
  font-weight: 700;
  letter-spacing: 0;
}

/* Modern Card Shadows */
.news-card,
.trending-card,
.featured-card {
  backdrop-filter: blur(10px);
}

/* Playful Quick Access Icons */
.quick-card:hover {
  animation: bounce 0.5s ease;
}

/* Enhanced Story Cards */
.story-card:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Video Player Enhancement */
.featured-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(255, 0, 0, 0.1), transparent);
  pointer-events: none;
}

/* Modern Button Styles */
.apply-btn,
.submit-btn,
.biz-btn {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 12px;
}

/* Enhanced Breaking News */
.breaking-news {
  background: linear-gradient(90deg, #FFF8E1 0%, #FFECB3 100%);
  border-bottom: 3px solid #800000;
}

.breaking-label {
  background: linear-gradient(135deg, #800000, #5C0000);
  animation: pulse 2s infinite;
}

/* Weather Widget Enhancement */
.weather-widget {
  background: linear-gradient(135deg, #E0F7FA 0%, #B2EBF2 100%);
  border-radius: 16px;
}

[data-theme="dark"] .weather-widget {
  background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
}

/* Trending Sidebar Enhancement */
.trending-sidebar .trending-list {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Footer Brand Enhancement */
.footer-brand .logo-text {
  font-size: 32px;
  background: linear-gradient(135deg, #FFFFFF, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .hero-section {
    padding: 16px 0;
  }

  .featured-card {
    transform: none !important;
  }

  .trending-card {
    transform: none !important;
  }
}

/* ===== SINGLE POST & AUTHOR BOX ===== */
.single-post-main {
  padding: 32px 0 48px;
}

.single-article {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.single-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary-light);
}

.single-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.single-featured-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 20px 0 28px;
}

.single-featured-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* About Author Box */
.about-author-box {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

.about-author-box .author-avatar {
  flex-shrink: 0;
}

.about-author-box .author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
}

.about-author-box .author-info {
  flex: 1;
}

.about-author-box .author-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.about-author-box .author-info .author-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.about-author-box .author-info p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.about-author-box .see-author-posts {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.about-author-box .see-author-posts:hover {
  background: var(--primary);
  color: white;
}

/* ===== COMMENTS SECTION ALIGNMENT & STYLING ===== */
.comments-area {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 2px solid var(--primary-light);
  width: 100%;
}

.comments-title,
.comment-reply-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comments-title i,
.comment-reply-title i {
  color: var(--primary);
}

/* Comment List */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.comment-list .comment {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F1F5F9;
}

.comment-list .children {
  list-style: none;
  padding-left: 30px;
  margin-top: 16px;
}

.comment-body {
  padding: 16px 20px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
}

.comment-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.comment-metadata {
  font-size: 12px;
  color: var(--text-muted);
}

.comment-content {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
}

.reply {
  margin-top: 10px;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  padding: 4px 12px;
  background: var(--primary-light);
  border-radius: 12px;
  transition: var(--transition);
}

.comment-reply-link:hover {
  background: var(--primary);
  color: white;
}

/* Comment Form Perfect Alignment */
.comment-respond {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #E2E8F0;
  margin-top: 24px;
  width: 100%;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.comment-notes,
.logged-in-as {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.comment-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
}

.comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.comment-form textarea:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-submit {
  margin-top: 8px;
}

.comment-submit-btn,
.comment-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: auto;
}

.comment-submit-btn:hover,
.comment-form input[type="submit"]:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ===== RIGHT SIDEBAR WIDGETS PERFECT STYLING ===== */
.trending-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.widget,
.widget-box,
.wp-block-group {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
  overflow: hidden;
  transition: var(--transition);
}

.widget:hover,
.widget-box:hover {
  box-shadow: var(--shadow-md);
}

.widget-title,
.widget h2,
.widget h3,
.widget h4,
.wp-block-heading {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--text-dark) !important;
  margin-bottom: 16px !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid var(--primary) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  line-height: 1.3 !important;
}

/* Widget Lists (Categories, Archives, Recent Posts) */
.widget ul,
.widget ol,
.wp-block-archives-list,
.wp-block-categories-list,
.wp-block-latest-posts {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.widget li,
.wp-block-archives-list li,
.wp-block-categories-list li,
.wp-block-latest-posts li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--text-dark) !important;
  padding: 10px 14px !important;
  background: var(--bg-light) !important;
  border-radius: var(--radius-sm) !important;
  border-left: 3px solid transparent !important;
  transition: var(--transition) !important;
}

.widget li:hover,
.wp-block-archives-list li:hover,
.wp-block-categories-list li:hover,
.wp-block-latest-posts li:hover {
  border-left-color: var(--primary) !important;
  background: var(--primary-light) !important;
  color: var(--primary) !important;
  transform: translateX(4px) !important;
}

.widget li a,
.wp-block-archives-list li a,
.wp-block-categories-list li a,
.wp-block-latest-posts li a {
  color: inherit !important;
  text-decoration: none !important;
  flex: 1 !important;
  transition: var(--transition) !important;
}

/* Post Count Badges */
.widget li .count,
.widget li span,
.wp-block-categories-list li span {
  font-size: 11px !important;
  font-weight: 700 !important;
  background: var(--primary) !important;
  color: white !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  margin-left: 8px !important;
}

/* Media Image / Banner Widgets */
.widget_media_image img,
.widget img,
.wp-block-image img {
  width: 100% !important;
  height: auto !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-sm) !important;
  display: block !important;
  transition: var(--transition) !important;
}

.widget_media_image img:hover,
.wp-block-image img:hover {
  transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-author-box {
    flex-direction: column;
    text-align: center;
  }

  .single-article {
    padding: 18px;
  }

  .single-title {
    font-size: 20px;
  }

  .comment-respond {
    padding: 16px;
  }
}

/* ===== TAMIL TEXT-TO-SPEECH PLAYER BAR ===== */
.speech-player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--primary-light), #FFFFFF);
  border: 1px solid var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  margin: 20px 0 28px;
  box-shadow: var(--shadow-sm);
}

.speech-player-left,
.speech-player-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.speech-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.speech-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.speech-pause-btn {
  background: #D97706;
}

.speech-pause-btn:hover {
  background: #B45309;
}

.speech-stop-btn {
  background: #EF4444;
  padding: 8px 12px;
}

.speech-stop-btn:hover {
  background: #DC2626;
}

.speech-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.speech-rate-select {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  font-size: 12px;
  background: var(--bg-light);
  color: var(--text-dark);
  outline: none;
}

.speech-status {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  animation: fadeIn 0.3s ease;
}

/* ===== STRATEGIC AD SLOTS ===== */
.ad-slot {
  margin: 24px auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ad-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  opacity: 0.75;
}

.ad-header-leaderboard {
  max-width: 1280px;
  margin: 16px auto;
}

.ad-placeholder-banner {
  width: 100%;
  max-width: 728px;
  height: 90px;
  margin: 0 auto;
  background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
  border: 2px dashed #CBD5E1;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.ad-in-article {
  margin: 32px 0;
}

.ad-placeholder-rect {
  width: 100%;
  max-width: 336px;
  height: 280px;
  margin: 0 auto;
  background: linear-gradient(135deg, #FFF8E1, #FFECB3);
  border: 2px dashed #FFD54F;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #800000;
}

.ad-placeholder-sidebar {
  width: 100%;
  min-height: 250px;
  background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
  border: 2px dashed #CBD5E1;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .ad-placeholder-banner {
    max-width: 320px;
    height: 50px;
    font-size: 11px;
  }
}

/* ===== SMALL NEWS LIST MODULES WITH THUMBNAILS ===== */
.news-list-item,
.small-news-item,
.elementor-post,
.wp-block-latest-posts__list li {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #F1F5F9 !important;
  transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.news-list-link {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  text-decoration: none !important;
}

.news-list-thumb,
.small-news-thumb,
.elementor-post__thumbnail,
.trending-item .thumb,
.small-news-item .thumb {
  width: 100px !important;
  min-width: 100px !important;
  max-width: 100px !important;
  height: 75px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: linear-gradient(135deg, #800000, #5C0000) !important;
  position: relative !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.news-list-thumb img,
.small-news-thumb img,
.elementor-post__thumbnail img,
.trending-item .thumb img,
.small-news-item .thumb img,
.vmtalks-fallback-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.news-list-content,
.small-news-content,
.elementor-post__text,
.trending-item .info {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.news-list-title,
.elementor-post__title,
.small-news-title,
.trending-item .info h4,
.trending-item .info h5 {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: var(--text-dark, #0F172A) !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.news-list-excerpt,
.elementor-post__excerpt,
.small-news-excerpt {
  font-size: 12px !important;
  color: var(--text-muted, #64748B) !important;
  margin: 2px 0 0 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.news-list-meta {
  font-size: 11px !important;
  color: var(--text-muted, #94A3B8) !important;
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
  margin-top: 2px !important;
}