/* =========================================================
   VSP Media & Network — Telugu News Portal
   Core design system & desktop layout
   ========================================================= */

:root {
  --primary: #0A1D37; /* Royal Navy Masthead */
  --primary-dark: #000E24;
  --primary-soft: #EEF2F6;
  --accent-red: #D91B24; /* VSP Crimson for Breaking/Live/Badges */
  --accent-red-hover: #B80F17;
  --black: #0f172a; /* Deep sharp dark slate black for maximum legibility */
  --dark-gray: #1e293b; /* High-contrast readable body color */
  --medium-gray: #475569; /* Crisp readable slate gray */
  --light-gray: #E2E8F0;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --bg: #FFFFFF;
  --soft-bg: #F8FAFC;
  --white: #FFFFFF;
  --gold: #D97706;
  --overlay: rgba(10, 20, 35, 0.72);
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.07), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --container: 1260px;
  --header-h: 88px;
  --nav-h: 46px;
  --radius: 4px;
  --radius-sm: 2px;
  --font-telugu: 'Noto Sans Telugu', 'Mandali', system-ui, -apple-system, sans-serif;
  --font-telugu-headline: 'Noto Sans Telugu', system-ui, -apple-system, sans-serif;
  --font-ui: 'Source Sans 3', 'Noto Sans Telugu', sans-serif;
  --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-telugu);
  font-size: 16px;
  line-height: 1.55;
  color: var(--black);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

button,
input {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Layout ---------- */
.site-wrapper {
  min-width: 0;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.full-bleed {
  width: 100%;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-telugu-headline);
  font-weight: 700;
  line-height: 1.35;
  color: var(--black);
  letter-spacing: normal;
}

h1 { font-size: 34px; }
h2 { font-size: 24px; }
h3 { font-size: 19px; }

.section-title {
  font-family: var(--font-telugu-headline);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: normal;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 20px;
  background: var(--accent-red);
  border-radius: 2px;
}

.headline {
  font-family: var(--font-telugu-headline);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.42;
  transition: color var(--transition);
  display: block;
  letter-spacing: normal;
}

.headline:hover,
a:hover .headline {
  color: var(--accent-red);
}

.news-excerpt,
.excerpt {
  font-family: var(--font-telugu);
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}

/* ---------- Top Masthead Bar: Date, Edition, Social ---------- */
.top-utility-bar {
  background: var(--soft-bg);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--medium-gray);
  padding: 5px 0;
}

.top-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-telugu);
}

.edition-badge {
  background: var(--primary);
  color: var(--white);
  padding: 1px 7px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.utility-date {
  font-weight: 600;
  color: var(--dark-gray);
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.utility-epaper-link {
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--accent-red);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition);
}

.utility-epaper-link:hover {
  color: var(--accent-red-hover);
}

.utility-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.utility-social-links a {
  color: var(--medium-gray);
  font-size: 12px;
  transition: color var(--transition);
}

.utility-social-links a:hover {
  color: var(--primary);
}

/* ---------- Header ---------- */
.top-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.top-header-inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 8px 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo img {
  height: 64px;
  width: auto;
  max-width: 310px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.footer-brand .site-logo img,
.offcanvas-header .site-logo img {
  height: 58px;
  max-width: 260px;
}

.logo-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  background: var(--accent-red);
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1px;
  padding: 10px 12px;
  border-radius: 4px;
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-name {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--primary);
}

.logo-sub {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent-red);
}

.header-ad-slot {
  position: relative;
  display: block;
  height: 72px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--soft-bg);
  border-radius: var(--radius-sm);
}

.header-ad-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ad-kicker {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 2px 6px;
  z-index: 1;
}

.ad-banner--image {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--light-gray);
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  background: #001944;
  min-height: 90px;
}

.ad-banner--image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.ad-banner--sidebar.ad-banner--image img {
  height: 250px;
  object-fit: cover;
}

.ad-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 24px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.12) 70%, transparent 100%);
  text-align: left;
}

.ad-overlay strong {
  font-size: 18px;
  font-weight: 800;
  display: block;
}

.ad-overlay em {
  font-style: normal;
  font-size: 13px;
  opacity: 0.92;
}

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

.top-header .icon-btn {
  color: var(--dark-gray);
}

.top-header .icon-btn:hover,
.top-header .icon-btn:focus-visible {
  background: var(--primary-soft);
  color: var(--primary);
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-gray);
  font-size: 16px;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: var(--primary-soft);
  color: var(--primary);
}

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

.desktop-only {
  display: inline-flex;
}

/* ---------- Primary Navigation ---------- */
.main-navigation {
  background: var(--primary);
  color: var(--white);
  z-index: 40;
}

.main-navigation.is-sticky {
  position: sticky;
  top: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.main-nav-inner {
  display: flex;
  align-items: center;
  min-height: var(--nav-h);
  gap: 4px;
}

.nav-hamburger {
  width: 42px;
  height: var(--nav-h);
  color: var(--white);
  font-size: 18px;
  flex-shrink: 0;
}

.nav-hamburger:hover {
  background: var(--primary-dark);
}

.primary-menu {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
}

.primary-menu::-webkit-scrollbar {
  display: none;
}

.primary-menu a {
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  padding: 0 12px;
  height: var(--nav-h);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  position: relative;
}

.primary-menu a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  background: var(--white);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.primary-menu a:hover::after,
.primary-menu a:focus-visible::after,
.primary-menu a.is-active::after {
  transform: scaleX(1);
}

.primary-menu a:hover {
  background: var(--primary-dark);
}

/* ---------- Secondary Navigation ---------- */
.secondary-navigation {
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
}

.secondary-nav-inner {
  display: flex;
  align-items: center;
  min-height: 42px;
  gap: 14px;
}

.topics-tab {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 6px 12px;
  flex-shrink: 0;
}

.topics-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}

.topics-menu::-webkit-scrollbar {
  display: none;
}

.topics-menu a {
  font-size: 13.5px;
  color: var(--dark-gray);
  white-space: nowrap;
  font-weight: 500;
}

.topics-menu a:hover {
  color: var(--primary);
}

.secondary-nav-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 5px 10px;
  border-radius: 2px;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- Off-canvas ---------- */
.offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 80;
}

.offcanvas-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.offcanvas-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: min(340px, 88vw);
  height: 100%;
  background: var(--white);
  z-index: 90;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 0 30px rgba(0, 0, 0, 0.18);
}

.offcanvas-menu.is-open {
  transform: translateX(0);
}

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #ffffff;
  color: var(--black);
  border-bottom: 1px solid var(--light-gray);
}

.offcanvas-header .logo-mark {
  background: var(--white);
  color: var(--primary);
}

.offcanvas-header .logo-name,
.offcanvas-header .logo-sub {
  color: var(--white);
}

.offcanvas-close {
  color: var(--black);
  font-size: 22px;
  width: 36px;
  height: 36px;
}

.offcanvas-links {
  padding: 12px 0;
  overflow-y: auto;
}

.offcanvas-links a {
  display: block;
  padding: 12px 22px;
  font-weight: 600;
  border-bottom: 1px solid var(--soft-bg);
}

.offcanvas-links a:hover {
  color: var(--primary);
  background: var(--soft-bg);
}

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.92);
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 20px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.search-overlay-inner {
  width: min(720px, 100%);
}

.search-overlay form {
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
}

.search-overlay input {
  flex: 1;
  border: 0;
  padding: 16px 18px;
  font-size: 18px;
  outline: none;
}

.search-overlay .search-submit {
  background: var(--primary);
  color: var(--white);
  padding: 0 22px;
  font-weight: 700;
}

.search-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--white);
  font-size: 28px;
}

/* ---------- Advertisement ---------- */
.advertisement-area {
  padding: 18px 0 8px;
}

/* ---------- Google AdWords Ad Slots ---------- */
.ad-slot-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 6px auto;
  text-align: center;
  width: 100%;
}

.ad-label-micro {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.6px;
  margin-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.ad-label-micro::before {
  content: "AD";
  background: #cbd5e1;
  color: #334155;
  font-size: 8px;
  padding: 0 3px;
  border-radius: 2px;
  font-weight: 800;
}

/* Compact AdWords Standard Sizes */
.adwords-leaderboard {
  width: 728px;
  max-width: 100%;
  height: 52px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  overflow: hidden;
  position: relative;
  transition: border-color var(--transition);
}

.adwords-leaderboard:hover {
  border-color: #003366;
}

.adwords-banner {
  width: 468px;
  max-width: 100%;
  height: 44px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  overflow: hidden;
  position: relative;
  margin: 6px auto;
}

.adwords-medium-rect {
  width: 300px;
  max-width: 100%;
  height: 160px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  overflow: hidden;
  margin: 8px auto;
  text-align: center;
  transition: transform var(--transition);
}

.adwords-medium-rect:hover {
  transform: translateY(-2px);
}

.adwords-info-title {
  font-family: var(--font-telugu-headline);
  font-size: 13px;
  font-weight: 700;
  color: #003366;
  line-height: 1.25;
}

.adwords-info-desc {
  font-family: var(--font-telugu);
  font-size: 11px;
  color: #64748b;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 460px;
}

.adwords-cta-btn {
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 700;
  color: #ffffff;
  background: #003366;
  padding: 4px 10px;
  border-radius: 3px;
  flex-shrink: 0;
  white-space: nowrap;
}

.adwords-badge {
  position: absolute;
  top: 2px;
  right: 6px;
  font-size: 8.5px;
  font-family: var(--font-ui);
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 2px;
}

.ad-banner {
  background: var(--soft-bg);
  border: 1px solid var(--light-gray);
  color: var(--medium-gray);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
}

.ad-banner--sidebar {
  min-height: 250px;
  margin: 14px 0;
}

.ad-banner--300 {
  max-width: 300px;
  min-height: 250px;
  margin: 12px auto;
}

/* ---------- Breaking news ---------- */
.breaking-news {
  padding: 10px 0 6px;
  background: var(--white);
}

.breaking-bar {
  display: flex;
  align-items: stretch;
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  overflow: hidden;
  background: #FFF5F5;
  box-shadow: 0 1px 3px rgba(217, 27, 36, 0.05);
}

.breaking-label {
  background: var(--accent-red);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  flex-shrink: 0;
}

.breaking-pulse-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 1.4s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.ticker-wrap {
  overflow: hidden;
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 42px;
  white-space: nowrap;
  animation: ticker 34s linear infinite;
  padding-left: 18px;
}

.ticker-track.is-paused,
.ticker-wrap:hover .ticker-track {
  animation-play-state: paused !important;
}

.ticker-track a {
  font-family: var(--font-telugu-headline);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}

.ticker-track a::before {
  content: "♦";
  color: var(--accent-red);
  font-size: 10px;
}

.ticker-track a:hover {
  color: var(--accent-red);
}

.ticker-ctrl-btn {
  padding: 0 14px;
  background: #FFF1F2;
  border: 0;
  border-left: 1px solid #FECACA;
  color: var(--accent-red);
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.ticker-ctrl-btn:hover {
  background: #FFE4E6;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section chrome ---------- */
.page-section {
  padding: 4px 0 10px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--light-gray);
  position: relative;
}

.section-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 72px;
  height: 2px;
  background: var(--primary);
}

.more-link {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--medium-gray);
  text-transform: uppercase;
  white-space: nowrap;
}

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

.category-label {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-bottom: 6px;
}

.category-label--gold,
.category-label.label-t4 {
  background: #c9a227;
  color: #111;
}

.category-label.label-t0 { background: #001944; }
.category-label.label-t1 { background: #0f766e; }
.category-label.label-t2 { background: #c2410c; }
.category-label.label-t3 { background: #be123c; }
.category-label.label-t5 { background: #15803d; }
.category-label.label-t6 { background: #1d4ed8; }
.category-label.label-t7 { background: #6d28d9; }
.category-label.label-t8 { background: #be185d; }
.category-label.label-t9 { background: #9f1239; }
.category-label.label-t10 { background: #0369a1; }
.category-label.label-t11 { background: #4d7c0f; }

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--medium-gray);
  font-size: 12.5px;
  margin-top: 6px;
}

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

/* ---------- Cards ---------- */
.media-frame {
  overflow: hidden;
  background: #ddd;
  position: relative;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.news-card:hover .media-frame img,
.featured-card:hover .media-frame img,
.video-card:hover .media-frame img,
.gallery-card:hover .media-frame img,
.review-card:hover .media-frame img {
  transform: scale(1.06);
}

.news-card a,
.review-card a,
.video-card a {
  display: block;
}

.video-play-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}

.news-card,
.review-card,
.video-card,
.featured-card {
  min-width: 0;
  transition: transform 0.22s ease;
}

.news-card:hover,
.review-card:hover,
.video-card:hover {
  transform: translateY(-2px);
}

.featured-card--overlay {
  position: relative;
  display: block;
}

.featured-card--overlay .media-frame {
  aspect-ratio: 16 / 11;
}

.featured-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 16px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.08) 100%);
  color: var(--white);
}

.featured-overlay .headline {
  color: var(--white);
  font-size: 20px;
  line-height: 1.35;
}

.featured-overlay .headline:hover,
.featured-card--overlay:hover .headline {
  color: #c5d4ef;
}

.featured-overlay .excerpt {
  color: rgba(255, 255, 255, 0.86);
  margin-top: 6px;
}

.featured-overlay .news-meta {
  color: rgba(255, 255, 255, 0.75);
}

.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-thumb { aspect-ratio: 1 / 1; width: 92px; flex-shrink: 0; }

/* =========================================================
   VSP TIMES EDITORIAL HERO SLIDER & TOP STORIES PANEL
   Inspired by Eenadu's banner hierarchy, engineered for VSP Times
   ========================================================= */

.hero-editorial-section {
  padding: 14px 0 24px;
  background: var(--white);
}

.hero-editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 70%) minmax(0, 30%);
  gap: 24px;
  align-items: start;
}

/* Main Hero Slider Container (68-72% width) */
.hero-slider-container {
  position: relative;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.2;
  overflow: hidden;
  background: #0b1526;
  touch-action: pan-y;
}

.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.001);
  transition: transform 0.6s ease;
}

.hero-slide:hover img {
  transform: scale(1.04);
}

/* Editorial Gradient & Headline Overlay */
.hero-slide-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 24px 22px;
  background: linear-gradient(to top, rgba(7, 16, 30, 0.95) 0%, rgba(7, 16, 30, 0.72) 45%, rgba(7, 16, 30, 0.15) 80%, transparent 100%);
  color: var(--white);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-featured-tag {
  background: var(--accent-red);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-category-tag {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-family: var(--font-telugu-headline);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-headline {
  font-family: var(--font-telugu-headline);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin: 0 0 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  transition: color var(--transition);
}

.hero-slide:hover .hero-headline {
  color: #FEE2E2;
}

.hero-excerpt {
  font-family: var(--font-telugu);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  max-width: 90%;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

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

/* Controls: Next & Prev Arrows */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(10, 25, 47, 0.75);
  backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 5;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), opacity var(--transition);
  opacity: 0.85;
}

.hero-nav-btn:hover {
  background: var(--accent-red);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}

.hero-nav-prev { left: 16px; }
.hero-nav-next { right: 16px; }

/* Slide Indicators & Thumb Selector Bar */
.hero-indicator-bar {
  position: absolute;
  bottom: 10px;
  right: 14px;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.hero-indicator-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  border: 0;
  padding: 0;
  transition: all 0.22s ease;
}

.hero-indicator-dot.is-active {
  background: var(--accent-red);
  width: 24px;
  border-radius: 6px;
}

/* Live Pause indicator */
.hero-pause-btn {
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  cursor: pointer;
  padding: 0 4px;
  margin-left: 4px;
}

.hero-pause-btn:hover {
  color: #fff;
}

/* Hero Thumbnail Selector Strip */
.hero-thumb-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #07101E;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-thumb-item {
  padding: 8px 10px;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: #94A3B8;
  text-align: left;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  position: relative;
}

.hero-thumb-item:last-child {
  border-right: 0;
}

.hero-thumb-item .thumb-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #CBD5E1;
  margin-bottom: 2px;
}

.hero-thumb-item .thumb-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  font-family: var(--font-telugu-headline);
  font-size: 12.5px;
  line-height: 1.35;
  color: #E2E8F0;
}

.hero-thumb-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hero-thumb-item.is-active {
  background: #0E223D;
  color: #fff;
}

.hero-thumb-item.is-active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-red);
}

.hero-thumb-item.is-active .thumb-label {
  color: var(--accent-red);
}

/* Supporting Top Stories Panel (28-32% width) */
.hero-top-stories-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.top-stories-header {
  background: var(--primary);
  color: var(--white);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-stories-header h2 {
  font-family: var(--font-telugu-headline);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.top-stories-header .top-stories-live {
  background: var(--accent-red);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.top-stories-list {
  display: flex;
  flex-direction: column;
}

.top-story-item {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
  transition: background var(--transition);
}

.top-story-item:last-child {
  border-bottom: 0;
}

.top-story-item:hover {
  background: var(--soft-bg);
}

.top-story-thumb {
  width: 90px;
  height: 64px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #E2E8F0;
}

.top-story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.top-story-item:hover .top-story-thumb img {
  transform: scale(1.06);
}

.top-story-content {
  flex: 1;
  min-width: 0;
}

.top-story-cat {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
  margin-bottom: 2px;
  display: block;
}

.top-story-title {
  font-family: var(--font-telugu-headline);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--black);
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  transition: color var(--transition);
}

.top-story-item:hover .top-story-title {
  color: var(--accent-red);
}

.top-story-time {
  font-size: 11.5px;
  color: var(--medium-gray);
  display: flex;
  align-items: center;
  gap: 4px;
}

.top-stories-footer {
  padding: 9px 14px;
  background: var(--soft-bg);
  border-top: 1px solid var(--border);
  text-align: right;
}

.top-stories-footer a {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.top-stories-footer a:hover {
  color: var(--accent-red);
}

.headline-list {
  display: flex;
  flex-direction: column;
}

.headline-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
}

.headline-list li:first-child {
  padding-top: 0;
}

.headline-list li:last-child {
  border-bottom: 0;
}

.headline-list .headline {
  font-size: 15.5px;
  font-weight: 600;
  color: #0f172a;
  display: block;
  margin-bottom: 3px;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.42;
}

.headline-list.bullet-list li {
  padding-left: 18px;
  position: relative;
}

.headline-list.bullet-list li a {
  color: #0f172a;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.42;
  display: block;
  transition: color var(--transition);
}

.headline-list.bullet-list li a:hover {
  color: var(--accent-red);
}

.headline-list.bullet-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent-red);
  position: absolute;
  left: 0;
  top: 17px;
}

/* ---------- Latest news thumbs ---------- */
.latest-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--light-gray);
  align-items: flex-start;
}

.latest-item:first-child {
  padding-top: 0;
}

.latest-item:last-child {
  border-bottom: 0;
}

.latest-item .ratio-thumb {
  width: 130px;
  height: 92px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.latest-item .ratio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.latest-item:hover .ratio-thumb img {
  transform: scale(1.05);
}

.latest-item .headline {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 4px;
}

.latest-item .excerpt {
  font-family: var(--font-telugu);
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
  margin: 4px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.latest-item .news-meta {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
}

.hero-story-list .latest-item {
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
}

.hero-story-list .latest-item .ratio-thumb {
  width: 72px;
  height: 54px;
}

.hero-story-list .latest-item .headline {
  font-size: 14px;
  margin-bottom: 2px;
}

.hero-story-list .latest-item .excerpt {
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.movie-headlines .latest-item {
  align-items: center;
}

/* ---------- Two / three column layouts ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.movies-grid .news-card .headline,
.grid-3 .news-card .headline,
.grid-4 .news-card .headline,
.review-card .headline {
  font-size: 16px;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.news-card .excerpt,
.review-card .excerpt {
  font-family: var(--font-telugu);
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
  margin: 6px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.sports-thumbs .excerpt {
  font-family: var(--font-telugu);
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

/* ---------- Category featured + stack ---------- */
.category-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
}

.category-featured .media-frame {
  aspect-ratio: 16 / 9;
  margin-bottom: 10px;
}

.category-featured .headline {
  font-size: 22px;
}

.small-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.small-story .media-frame {
  aspect-ratio: 16 / 10;
  margin-bottom: 8px;
}

.small-story .headline {
  font-size: 15px;
}

.ap-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.tg-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
}

.tg-side .latest-item:first-child {
  padding-top: 0;
}

/* ---------- Digital exclusives (Dense, Competitor-grade Layout) ---------- */
.exclusives-layout {
  display: grid;
  grid-template-columns: 1.15fr 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.exclusives-col {
  display: flex;
  flex-direction: column;
}

.exclusives-col-border {
  border-right: 1px solid var(--border);
  padding-right: 20px;
}

.exclusive-lead-card {
  display: block;
  margin-bottom: 12px;
}

.exclusive-lead-card .media-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
}

.exclusive-lead-card .headline {
  font-size: 16.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 5px;
}

.exclusive-lead-card .excerpt {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 6px;
}

.exclusive-sub-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exclusive-sub-item {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--light-gray);
  align-items: flex-start;
}

.exclusive-sub-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.exclusive-sub-item .sub-thumb {
  width: 80px;
  height: 58px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.exclusive-sub-item .sub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.exclusive-sub-item:hover .sub-thumb img {
  transform: scale(1.05);
}

.exclusive-sub-item .sub-content {
  flex: 1;
  min-width: 0;
}

.exclusive-sub-item .sub-headline {
  font-family: var(--font-telugu-headline);
  font-size: 14.5px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.38;
  display: block;
  margin-bottom: 3px;
  transition: color var(--transition);
}

.exclusive-sub-item:hover .sub-headline {
  color: var(--accent-red);
}

.exclusive-sub-item .sub-meta {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--medium-gray);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Horoscope compact list */
.horoscope-compact-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.horo-compact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 10px;
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.horo-compact-item:hover {
  background: var(--white);
  border-color: var(--accent-red);
  transform: translateX(3px);
}

.horo-badge {
  font-family: var(--font-telugu-headline);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1px 6px;
  border-radius: 3px;
  width: fit-content;
}

.horo-text {
  font-family: var(--font-telugu);
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}

/* Career Bulletin list */
.career-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.career-bullet-list li a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--light-gray);
  transition: color var(--transition);
}

.career-bullet-list li:last-child a {
  border-bottom: 0;
}

.career-dot {
  width: 22px;
  height: 22px;
  background: #eff6ff;
  color: #0284c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}

.career-text {
  font-family: var(--font-telugu);
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}

.career-bullet-list li a:hover .career-text {
  color: var(--accent-red);
}

.thumb-stack .latest-item {
  align-items: flex-start;
}

/* ---------- Reviews ---------- */
.star-rating {
  color: #e0b000;
  font-size: 13px;
  margin-top: 6px;
  letter-spacing: 1px;
}

.star-rating .muted {
  color: #d0d0d0;
}

.review-card .media-frame {
  aspect-ratio: 16 / 10;
  max-height: 180px;
  border-radius: 6px;
}

/* ---------- Sports / Business ---------- */
.split-sections {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 32px;
}

.sports-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}

.sports-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.sports-thumbs .headline {
  font-size: 13.5px;
  margin-top: 8px;
}

.column-divider {
  border-left: 1px solid var(--light-gray);
  padding-left: 28px;
}

/* ---------- Explainers ---------- */
.explainers-section {
  background: var(--soft-bg);
  padding: 16px 0;
  margin: 4px 0 6px;
}

.explainer-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  padding: 18px;
  min-height: 100%;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.explainer-num {
  font-family: var(--font-ui);
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

/* ---------- Videos ---------- */
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-overlay i {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0, 25, 68, 0.92);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding-left: 3px;
}

.video-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.78);
  color: var(--white);
  font-size: 12px;
  padding: 2px 6px;
  font-family: var(--font-ui);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-card {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: pointer;
  margin: 0;
}

.gallery-card .media-frame {
  aspect-ratio: 4 / 3;
}

.gallery-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 10px 10px;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.gallery-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--white);
  font-size: 16px;
  z-index: 2;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img,
.lightbox-image {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-video {
  display: none;
  width: min(1100px, 92vw);
  max-height: 82vh;
  background: #000;
}

.lightbox.is-video .lightbox-image {
  display: none;
}

.lightbox.is-video .lightbox-video {
  display: block;
}

.lightbox.is-photo .lightbox-video {
  display: none;
}

.article-hero video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--white);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 22px;
  color: var(--white);
  font-size: 32px;
}

/* ---------- Trending ---------- */
.trending-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
  align-items: flex-start;
}

.trending-list li:last-child {
  border-bottom: 0;
}

.trending-num {
  font-family: var(--font-ui);
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-red);
  line-height: 1;
}

.trending-list .headline {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.38;
  margin-bottom: 3px;
}

.trending-list .excerpt {
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
  margin: 3px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

/* ---------- Horoscope ---------- */
.horoscope-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.zodiac-card {
  border: 1px solid var(--light-gray);
  text-align: center;
  padding: 16px 8px;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.zodiac-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.zodiac-card i {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 8px;
}

.zodiac-card span {
  display: block;
  font-weight: 700;
  font-size: 14px;
}

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

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

.newsletter-section h2 {
  color: var(--white);
  margin-bottom: 6px;
}

.newsletter-section p {
  color: #cfcfcf;
  font-size: 14.5px;
}

.newsletter-form {
  display: flex;
  width: min(520px, 100%);
}

.newsletter-form input {
  flex: 1;
  border: 0;
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
}

.newsletter-form button {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  padding: 0 22px;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

.form-note {
  display: none;
  margin-top: 8px;
  font-size: 13px;
  color: #9d9;
}

.form-note.is-visible {
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #000000;
  color: #d0d0d0;
  padding-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 32px;
}

.footer-brand .logo-mark {
  background: var(--primary);
}

.footer-brand .logo-name {
  color: var(--white);
}

.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: #b5b5b5;
  max-width: 280px;
}

.footer-company {
  margin-top: 14px;
  font-weight: 700;
  color: var(--white);
  font-size: 15px;
}

.footer-address {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 13px;
  line-height: 1.65;
  color: #b5b5b5;
  max-width: 280px;
}

.footer-contact {
  margin-top: 12px;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 13px;
}

.footer-contact i {
  width: 16px;
  color: var(--white);
}

.site-footer h3 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 14px;
  letter-spacing: 0.4px;
}

.site-footer a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: #c8c8c8;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

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

.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid #444;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

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

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: var(--white);
  border-radius: 3px;
  font-size: 18px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), background var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

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

/* ---------- Inner pages ---------- */
.page-hero-bar {
  background: var(--soft-bg);
  border-bottom: 1px solid var(--light-gray);
  padding: 18px 0;
}

.breadcrumb {
  font-size: 13px;
  color: var(--medium-gray);
  margin-bottom: 8px;
}

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

.article-layout,
.category-layout,
.search-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.85fr);
  gap: 36px;
  padding: 28px 0 40px;
}

.article-title {
  font-size: 34px;
  line-height: 1.35;
  margin: 8px 0 12px;
}

.article-hero {
  margin: 18px 0;
}

.article-hero .media-frame {
  aspect-ratio: 16 / 9;
}

.article-body p {
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--dark-gray);
}

.article-body h2 {
  font-size: 24px;
  margin: 28px 0 12px;
}

.share-bar {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}

.share-bar a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border-radius: 3px;
  background: var(--dark-gray);
}

.share-bar a:nth-child(1) { background: #1877f2; }
.share-bar a:nth-child(2),
.share-bar .x-bg { background: #111; }
.share-bar a:nth-child(3) { background: #25d366; }
.share-bar a:nth-child(4) { background: #229ed9; }

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--light-gray);
}

.article-nav a {
  max-width: 46%;
  font-weight: 700;
}

.article-nav span {
  display: block;
  font-size: 12px;
  color: var(--medium-gray);
  font-weight: 600;
  margin-bottom: 4px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 12px;
}

.sidebar-widget {
  margin-bottom: 28px;
}

.category-featured-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  margin-bottom: 28px;
}

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

.pagination {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.pagination a,
.pagination span {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--light-gray);
  font-weight: 700;
  font-size: 14px;
}

.pagination .is-active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.search-panel {
  background: var(--soft-bg);
  padding: 18px;
  margin-bottom: 24px;
  border: 1px solid var(--light-gray);
}

.search-panel form {
  display: flex;
}

.search-panel input {
  flex: 1;
  border: 1px solid var(--light-gray);
  border-right: 0;
  padding: 12px 14px;
  font-size: 16px;
  outline: none;
}

.search-panel button {
  background: var(--primary);
  color: var(--white);
  padding: 0 20px;
  font-weight: 700;
}

.search-result {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--light-gray);
}

.search-count {
  color: var(--medium-gray);
  margin-bottom: 8px;
}

body.no-scroll {
  overflow: hidden;
}

/* =========================================================
   EENADU-STYLE EDITORIAL ARCHITECTURE & 3-COLUMN HOMEPAGE
   ========================================================= */

/* Header Masthead Extensions */
.eenadu-header-inner {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
}

.eenadu-logo-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.eenadu-logo-group .site-logo img {
  height: 46px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.eenadu-date-row {
  font-family: var(--font-telugu);
  font-size: 11.5px;
  color: #475569;
  font-weight: 600;
  padding-left: 2px;
}

.eenadu-day {
  color: #0F172A;
  font-weight: 700;
}

.eenadu-header-ad {
  height: 48px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px 12px;
  position: relative;
  text-decoration: none;
  transition: border-color var(--transition);
}

.eenadu-header-ad:hover {
  border-color: var(--accent-red);
}

.eenadu-ad-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.eenadu-ad-brand {
  font-family: var(--font-ui);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #94a3b8;
  text-transform: uppercase;
}

.eenadu-ad-cta {
  font-family: var(--font-telugu);
  font-size: 12px;
  font-weight: 600;
  color: #0a1d37;
}

.eenadu-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eenadu-action-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #334155;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  transition: all var(--transition);
}

.eenadu-action-pill i {
  font-size: 18px;
  margin-bottom: 2px;
  color: #0f172a;
}

.eenadu-action-pill:hover {
  background: #f1f5f9;
  color: var(--accent-red);
}

.eenadu-action-pill:hover i {
  color: var(--accent-red);
}

.eenadu-epaper-btn {
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  border-radius: 4px;
  text-decoration: none;
  transition: all var(--transition);
}

.eenadu-epaper-btn:hover {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

/* Primary Menu Styling: Authentic Classic Navy Blue like Eenadu */
.main-navigation {
  background: #003366 !important; /* Eenadu authentic deep royal blue */
}

.primary-menu {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.primary-menu::-webkit-scrollbar {
  display: none;
}

.primary-menu a {
  color: #ffffff;
  font-family: var(--font-telugu);
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 14px;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.15s ease;
}

.primary-menu a:hover,
.primary-menu a.is-active {
  background: #002244;
  color: #ffd700; /* Warm golden active highlight */
}

.primary-menu a.nav-home-icon {
  font-size: 16px;
  padding: 10px 16px;
  color: #ffffff;
}

/* 3-Column Editorial Grid */
.eenadu-hero-section {
  padding: 8px 0 16px;
  background: #ffffff;
}

.eenadu-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 26%) minmax(0, 48%) minmax(0, 26%);
  gap: 16px;
  align-items: start;
}

/* Column 2: Dominant Slider & Sub-Grid (Center) */
.eenadu-col-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eenadu-slider-card {
  position: relative;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.eenadu-slider-card .hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #0f172a;
}

.eenadu-slider-card .hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.eenadu-slider-card .hero-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  position: relative;
  height: 100%;
  box-sizing: border-box;
}

.eenadu-slider-card .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eenadu-slide-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 25;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.eenadu-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 42px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 25;
  transition: background 0.15s ease;
}

.eenadu-slider-arrow:hover {
  background: #d91b24;
}

.eenadu-arrow-prev { left: 0; border-radius: 0 4px 4px 0; }
.eenadu-arrow-next { right: 0; border-radius: 4px 0 0 4px; }

/* Eenadu Large Caption Overlay (Red/White typography directly over bottom of slide) */
.eenadu-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 14px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
  color: #fff;
  z-index: 10;
  pointer-events: none;
}

.eenadu-caption-headline {
  font-family: var(--font-telugu-headline);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  margin-bottom: 3px;
  pointer-events: auto;
}

.eenadu-caption-sub {
  font-family: var(--font-telugu);
  font-size: 12.5px;
  color: #e2e8f0;
  line-height: 1.35;
  pointer-events: auto;
}

/* 4 Mini News Cards Underneath Slider (2x2 grid) */
.eenadu-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.eenadu-mini-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  padding: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.eenadu-mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}

.mini-card-link {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  text-decoration: none;
}

.mini-card-img-wrap {
  position: relative;
  width: 72px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
  background: #e2e8f0;
}

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

.mini-play-icon {
  position: absolute;
  bottom: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #d91b24;
  color: #fff;
  border-radius: 50%;
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-card-title {
  font-family: var(--font-telugu);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #1e293b;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}

.eenadu-mini-card:hover .mini-card-title {
  color: #003366;
}

/* Column 1: 'తాజా వార్తలు' Bullet Updates Feed (Left) */
.eenadu-col-updates {
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  border-left: none;
  padding: 0 14px 0 0;
}

.eenadu-feed-header {
  position: relative;
  text-align: center;
  margin-bottom: 14px;
}

.eenadu-feed-header .feed-title {
  display: inline-block;
  background: #fff;
  padding: 0 10px;
  font-family: var(--font-telugu-headline);
  font-size: 18px;
  font-weight: 800;
  color: #d91b24;
  position: relative;
  z-index: 2;
}

.feed-divider-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #cbd5e1;
  z-index: 1;
}

.eenadu-feed-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.eenadu-feed-list li {
  padding: 9px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.eenadu-feed-list li:last-child {
  border-bottom: 0;
}

.eenadu-feed-list a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
  line-height: 1.4;
}

.eenadu-bullet-icon {
  color: #1e293b;
  font-size: 10px;
  margin-top: 3px;
  flex-shrink: 0;
}

.feed-text {
  font-family: var(--font-telugu);
  font-size: 14.5px;
  font-weight: 600;
  color: #0f172a;
  transition: color 0.15s ease;
}

.eenadu-feed-list a:hover .feed-text {
  color: #d91b24;
}

.eenadu-live-badge {
  color: #d91b24;
  font-weight: 800;
}

/* Column 3: Sidebar Widgets (Horoscope, Districts, Ad, Read Next) */
.eenadu-col-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 1px solid #e2e8f0;
  padding-left: 14px;
}

/* Horoscope Banner Card */
.eenadu-horoscope-banner {
  display: block;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  border-radius: 4px;
  padding: 10px 14px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: opacity 0.15s ease;
}

.eenadu-horoscope-banner:hover {
  opacity: 0.95;
}

.horoscope-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.horoscope-zodiac-wheel {
  font-size: 26px;
  color: #fbbf24;
}

.horoscope-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.horoscope-banner-title {
  font-family: var(--font-telugu-headline);
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.horoscope-banner-sub {
  font-family: var(--font-telugu);
  font-size: 11.5px;
  color: #e0e7ff;
}

.banner-arrow {
  color: #fbbf24;
  font-size: 16px;
}

/* AP & TG District Filter Box */
.eenadu-state-tabs-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.state-tabs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f5f9;
  padding: 6px 10px;
  border-bottom: 1px solid #e2e8f0;
}

.state-tabs-label {
  font-family: var(--font-telugu);
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}

.state-tab-buttons {
  display: flex;
  gap: 4px;
}

.state-tab-btn {
  font-family: var(--font-telugu);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  background: #e2e8f0;
  color: #334155;
  transition: all 0.15s ease;
}

.state-tab-btn.is-active {
  background: #d91b24;
  color: #ffffff;
}

.state-tab-btn[data-state="tg"].is-active,
#btn-state-tg.is-active {
  background: #003366;
  color: #ffffff;
}

.state-tab-content {
  padding: 8px 10px;
}

.state-preview-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 6px 0;
  border-bottom: 1px dotted #e2e8f0;
  text-decoration: none;
}

.state-preview-item:last-child {
  border-bottom: 0;
}

.state-dot {
  font-size: 7px;
  color: #d91b24;
  margin-top: 5px;
  flex-shrink: 0;
}

.state-text {
  font-family: var(--font-telugu);
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
}

.state-preview-item:hover .state-text {
  color: #003366;
}

/* Sidebar Ad Box */
.eenadu-sidebar-ad-card {
  border: 1px solid #e2e8f0;
  background: #fafafa;
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
  margin-bottom: 8px;
}

.ad-label-bar {
  background: #f1f5f9;
  font-family: var(--font-ui);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #94a3b8;
  padding: 2px 0;
  text-transform: uppercase;
  border-bottom: 1px solid #e2e8f0;
}

.ad-box-link {
  display: block;
  padding: 8px 10px;
  text-decoration: none;
}

.ad-box-logo {
  max-width: 85px;
  margin: 0 auto 4px;
  height: auto;
}

.ad-box-tagline {
  font-family: var(--font-telugu);
  font-size: 11px;
  color: #475569;
  font-weight: 600;
  margin-bottom: 5px;
}

.ad-cta-btn {
  display: inline-block;
  font-family: var(--font-telugu);
  font-size: 10px;
  font-weight: 700;
  background: #003366;
  color: #fff;
  padding: 3px 8px;
  border-radius: 3px;
}

/* 'ఇవి చదివారా' Widget */
.eenadu-read-next-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 8px 10px;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #003366;
  padding-bottom: 4px;
  margin-bottom: 6px;
}

.widget-title {
  font-family: var(--font-telugu-headline);
  font-size: 15px;
  font-weight: 800;
  color: #003366;
  margin: 0;
}

.widget-pager {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pager-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  width: 22px;
  height: 22px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  color: #334155;
  transition: background 0.15s, color 0.15s;
}

.pager-btn:hover {
  background: #003366;
  color: #ffffff;
  border-color: #003366;
}

.pager-count {
  font-family: var(--font-ui);
  font-size: 11px;
  color: #64748b;
  font-weight: 700;
}

.read-next-content {
  transition: opacity 0.2s ease-in-out;
}

.read-next-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
}

.read-next-img {
  width: 100%;
  height: 105px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.read-next-headline {
  font-family: var(--font-telugu);
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.read-next-card:hover .read-next-headline {
  color: #d91b24;
}

.read-next-headline {
  font-family: var(--font-telugu);
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 0;
}

.read-next-card:hover .read-next-headline {
  color: #d91b24;
}

/* Media Query Adaptations for Tablet & Mobile */
@media (max-width: 1024px) {
  .eenadu-hero-grid {
    grid-template-columns: 1fr 1.35fr;
  }

  .eenadu-col-updates {
    border-right: 1px solid #e2e8f0;
    padding-right: 12px;
  }

  .eenadu-col-sidebar {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border-left: none;
    padding-left: 0;
  }

  .eenadu-sidebar-ad-card,
  .eenadu-read-next-widget {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .eenadu-header-inner {
    grid-template-columns: auto auto;
  }

  .eenadu-header-ad {
    display: none;
  }

  .eenadu-hero-grid {
    grid-template-columns: 1fr;
  }

  .eenadu-col-main {
    order: -1; /* Keep visual hero slider at the top on mobile */
  }

  .eenadu-col-updates {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
  }

  .eenadu-col-sidebar {
    grid-template-columns: 1fr;
    border-left: 0;
    padding-left: 0;
  }
}

/* ==========================================================================
   PAGINATION STYLING & SVG SIZE SAFETY
   ========================================================================== */
nav[role="navigation"] svg,
.pagination svg,
svg.w-5,
.w-5 {
  width: 16px !important;
  max-width: 16px !important;
  height: 16px !important;
  max-height: 16px !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.vsp-pagination {
  margin: 32px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

@media (min-width: 640px) {
  .vsp-pagination {
    flex-direction: row;
    justify-content: space-between;
  }
}

.vsp-pagination-info {
  font-size: 13px;
  color: #64748b;
  font-family: var(--font-telugu-body, sans-serif);
}

.vsp-pagination-links {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.vsp-pagination-links .page-item {
  display: inline-flex;
}

.vsp-pagination-links .page-item a,
.vsp-pagination-links .page-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #0A1D37;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.15s ease;
  font-family: var(--font-telugu-body, sans-serif);
}

.vsp-pagination-links .page-item a:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #D91B24;
}

.vsp-pagination-links .page-item.active span {
  background: #D91B24;
  color: #ffffff;
  border-color: #D91B24;
  box-shadow: 0 2px 6px rgba(217, 27, 36, 0.25);
}

.vsp-pagination-links .page-item.disabled span {
  color: #94a3b8;
  background: #f8fafc;
  border-color: #e2e8f0;
  cursor: not-allowed;
  opacity: 0.6;
}

/* ==============================================================================
   3-Language Switcher (Telugu, English, Hindi)
   ============================================================================== */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 3px 8px;
  gap: 4px;
  font-size: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.lang-switcher .lang-label {
  color: #0A1D37;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 2px;
}

.lang-switcher .lang-option {
  color: #475569;
  padding: 2px 8px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.lang-switcher .lang-option:hover {
  color: #D91B24;
  background: #fee2e2;
}

.lang-switcher .lang-option.is-active {
  background: #D91B24;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(217, 27, 36, 0.35);
}

.lang-switcher .lang-divider {
  color: #cbd5e1;
  font-size: 11px;
  user-select: none;
}

.eenadu-header-actions .header-lang-switcher {
  margin-right: 6px;
  background: #f8fafc;
  border-color: #cbd5e1;
}

.offcanvas-lang-bar {
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.offcanvas-lang-bar .lang-switcher {
  width: 100%;
  justify-content: center;
  padding: 6px 12px;
}

.offcanvas-lang-bar .lang-switcher .lang-option {
  padding: 4px 12px;
  font-size: 13px;
}

/* ===================================================
   RESPONSIVE ADVERTISEMENT SLOTS & FILLERS
   =================================================== */
.ad-slot-container {
  width: 100%;
  margin: 22px auto;
  text-align: center;
}

.ad-slot-container--tight {
  margin: 12px auto;
}

.ad-billboard-banner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  gap: 16px;
}

.ad-billboard-banner:hover {
  border-color: #003366;
  transform: translateY(-2px);
}

.ad-billboard-media {
  width: 160px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}

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

.ad-billboard-content {
  flex: 1;
  text-align: left;
}

.ad-billboard-title {
  font-family: var(--font-telugu-headline);
  font-size: 15px;
  font-weight: 700;
  color: #003366;
  line-height: 1.35;
  margin-bottom: 2px;
}

.ad-billboard-desc {
  font-family: var(--font-telugu);
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.ad-billboard-btn {
  background: #d91b24;
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.ad-sticky-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
  z-index: 10;
}

.ad-skyscraper-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  padding: 12px;
  text-align: center;
  margin-top: 18px;
}

.ad-in-article-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-left: 4px solid #d91b24;
  border-radius: 6px;
  padding: 14px 18px;
  margin: 22px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.ad-in-article-box:hover {
  background: #f1f5f9;
}

@media (max-width: 768px) {
  .ad-billboard-banner {
    flex-direction: column;
    text-align: center;
    padding: 12px;
  }
  .ad-billboard-media {
    width: 100%;
    height: 120px;
  }
  .ad-billboard-content {
    text-align: center;
  }
  .ad-in-article-box {
    flex-direction: column;
    text-align: center;
  }
}



