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

:root {
  --primary: #ed1c24;
  --primary-dark: #c40d14;
  --orange: #ff6600;
  --sun: #ffa726;
  --green: #2e8b57;
  --yellow-bg: #fff8e1;
  --yellow-border: #ffd54f;
  --bengal-yellow: #ffd900;
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --bg-card: #ffffff;
  --text: #1a1a1a;
  --text-light: #4a4a4a;
  --text-muted: #777;
  --border: #e6e6e6;
  --border-soft: #f0f0f0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 3px 10px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 100px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Mukta', 'Noto Sans Devanagari', system-ui, -apple-system, sans-serif;
  background: var(--bg-soft);
  color: var(--text);
  line-height: 1.45;
  overflow-x: hidden;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
ul, ol { list-style: none; }

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

/* ========== LOADER ========== */
.loader {
  position: fixed; inset: 0;
  background: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}
.loader.hide { opacity: 0; visibility: hidden; }
.logo-img-loader {
  display: flex; align-items: center; gap: 8px;
  font-size: 32px; font-weight: 800;
  margin-bottom: 22px;
}
.sun-spin { color: var(--sun); animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader-bar { width: 220px; height: 3px; background: #f0f0f0; border-radius: 4px; overflow: hidden; }
.loader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--sun));
  animation: loadProg 1.4s ease-in-out infinite;
}
@keyframes loadProg {
  0% { transform: translateX(-100%); width: 30%; }
  50% { width: 60%; }
  100% { transform: translateX(340%); width: 30%; }
}

/* ========== TOP HEADER (STICKY) ========== */
.top-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  transition: box-shadow var(--transition);
  will-change: transform;
}
.top-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}
.brand-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-mark {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 800;
  font-size: 26px;
  color: #1a1a1a;
  letter-spacing: -0.4px;
  font-family: 'Mukta', 'Noto Sans Devanagari', sans-serif;
}
.sun-icon {
  color: var(--sun);
  font-size: 20px;
  animation: spin 8s linear infinite;
  filter: drop-shadow(0 0 6px rgba(255,167,38,0.5));
}
.brand-mark.light { color: #fff; }

/* ===== LOGO IMAGE / TEXT TOGGLE (dynamic) ===== */
.brand-mark .logo-img,
.logo-img-loader .logo-img {
  height: 84px;
  width: auto;
  display: none;
  object-fit: contain;
  transition: height 0.25s ease;
}
.logo-img-loader .logo-img { height: 96px; }

/* ===== LOGO SIZE CONTROL (dynamic — sm / md / lg / xl) ===== */
body.logo-size-sm .brand-mark .logo-img { height: 56px; }
body.logo-size-sm .brand-mark { font-size: 22px; }
body.logo-size-sm .sun-icon { font-size: 16px; }

body.logo-size-md .brand-mark .logo-img { height: 78px; }
body.logo-size-md .brand-mark { font-size: 26px; }
body.logo-size-md .sun-icon { font-size: 20px; }

body.logo-size-lg .brand-mark .logo-img { height: 54px; }
body.logo-size-lg .brand-mark { font-size: 32px; }
body.logo-size-lg .sun-icon { font-size: 24px; }

body.logo-size-xl .brand-mark .logo-img { height: 70px; }
body.logo-size-xl .brand-mark { font-size: 38px; }
body.logo-size-xl .sun-icon { font-size: 28px; }

/* Larger header to accommodate xl logo */
body.logo-size-lg .top-header,
body.logo-size-xl .top-header { padding: 4px 0; }
.brand-mark .logo-text,
.logo-img-loader .logo-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
/* Image mode (default): show image, hide text */
body.logo-mode-image .brand-mark .logo-img,
body.logo-mode-image .logo-img-loader .logo-img { display: inline-block; }
body.logo-mode-image .brand-mark .logo-text,
body.logo-mode-image .logo-img-loader .logo-text { display: none; }
/* Text mode: hide image, show text */
body.logo-mode-text .brand-mark .logo-img,
body.logo-mode-text .logo-img-loader .logo-img { display: none; }
body.logo-mode-text .brand-mark .logo-text,
body.logo-mode-text .logo-img-loader .logo-text { display: inline-flex; }

/* Footer brand-mark: ALWAYS show text logo regardless of global logo mode */
.brand-mark.light .logo-img { display: none !important; }
.brand-mark.light .logo-text { display: inline-flex !important; }

.top-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 600;
  color: #444;
  transition: all var(--transition);
}
.nav-item i {
  font-size: 18px;
  transition: transform var(--transition);
}
.nav-item:hover {
  background: var(--bg-soft);
  color: var(--orange);
}
.nav-item:hover i { transform: scale(1.15); color: var(--orange); }
.nav-item.active { color: var(--primary); }
.nav-item.active i {
  font-size: 19px;
  background: linear-gradient(135deg, #ffa726 0%, #ff6600 50%, #ed1c24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(255,102,0,0.35));
}
.nav-item.profile { padding: 9px 11px; }
.nav-item .small { font-size: 10px; }
.menu-toggle {
  display: none;
  font-size: 22px;
  padding: 6px 8px;
}

/* ========== TRENDING BAR ========== */
.trending-bar {
  padding: 10px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.trending-flex { display: flex; align-items: center; gap: 14px; }
.trending-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  color: var(--primary);
  font-size: 15px;
  flex-shrink: 0;
}
.trending-label i {
  animation: flicker 1.5s ease-in-out infinite alternate;
  font-size: 14px;
}
@keyframes flicker {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 1; transform: scale(1.15); }
}
/* Trending chips - Auto-scrolling marquee */
.trending-chips {
  flex: 1;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
}
.trending-chips-track {
  display: inline-flex;
  gap: 10px;
  animation: chipScroll 35s linear infinite;
  will-change: transform;
  padding-right: 10px;
}
.trending-chips-track:hover {
  animation-play-state: paused;
}
@keyframes chipScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Pause on touch/drag */
.trending-chips.paused .trending-chips-track {
  animation-play-state: paused;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 22px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  color: #555;
  transition: all var(--transition);
  flex-shrink: 0;
  cursor: pointer;
}
.chip i { font-size: 10px; opacity: 0.5; }
.chip:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* ========== MAIN LAYOUT ========== */
.main-layout { padding: 14px 0 32px; }
.layout-grid {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}
.main-content {
  min-width: 0;
  max-width: 100%;
}
.latest-posts-container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* ========== LEFT SIDEBAR ========== */
.left-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
  padding-right: 2px;
}
.left-sidebar::-webkit-scrollbar { width: 4px; }
.left-sidebar::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }
.cat-list {
  background: #fff;
  border-radius: var(--radius);
  padding: 5px;
  box-shadow: var(--shadow-sm);
}
.cat-list li { margin-bottom: 1px; }
.cat-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #2a2a2a;
  transition: all var(--transition);
}
.cat-list li a i {
  font-size: 17px;
  width: 22px;
  flex-shrink: 0;
  text-align: center;
  transition: transform var(--transition);
}
.cat-list li a img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform var(--transition);
}
.cat-list li a:hover {
  background: var(--bg-soft);
  color: var(--primary);
}
.cat-list li a:hover i,
.cat-list li a:hover img { transform: scale(1.2) rotate(-5deg); }
.cat-list li.active a {
  background: linear-gradient(135deg, rgba(237,28,36,0.1), rgba(255,102,0,0.06));
  color: var(--primary);
  font-weight: 700;
}
.cat-list li.lifestyle-active a {
  background: linear-gradient(135deg, rgba(255,102,0,0.1), rgba(255,167,38,0.05));
  color: var(--orange);
  font-weight: 700;
}

/* App Section */
.app-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-sm);
}
.app-label, .follow-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 6px;
}
.app-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: #1a1a1a;
  color: white;
  border-radius: 6px;
  transition: transform var(--transition);
}
.app-btn:hover { transform: scale(1.02); }
.app-btn i { font-size: 22px; }
.app-btn small { display: block; font-size: 8px; opacity: 0.8; line-height: 1; }
.app-btn strong { font-size: 12px; }

/* Follow Us */
.follow-section {
  background: #fff;
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.follow-icons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.follow-icons a {
  width: 32px; height: 32px;
  background: var(--bg-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #555;
  transition: all var(--transition);
}
.follow-icons a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ========== MAIN CONTENT ========== */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ========== FEATURED STORY (Headline ABOVE image) ========== */
.featured-story {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
  padding: 16px 16px 0;
}
.featured-story:hover { box-shadow: var(--shadow-md); }
.featured-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.3px;
  color: var(--text);
  margin-bottom: 14px;
  cursor: pointer;
  transition: color var(--transition);
}
.featured-title:hover { color: var(--primary); }
.featured-media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 0;
}
.featured-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.featured-story:hover .featured-media img { transform: scale(1.02); }

/* Reporter Badge - White (clean) */
.reporter-badge {
  position: absolute;
  top: 12px; left: 12px;
  display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.97);
  padding: 6px 16px 6px 6px;
  border-radius: 32px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
  animation: slideInLeft 0.5s ease 0.2s both;
  z-index: 3;
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
.reporter-badge img {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
}
.reporter-badge small {
  display: block;
  font-size: 11px;
  color: #555;
  line-height: 1.2;
  font-weight: 600;
}
.reporter-badge strong {
  font-size: 14px;
  color: var(--primary);
  line-height: 1.2;
  font-weight: 800;
}

/* Bengal Badge - Red gradient (no yellow) */
.bengal-badge {
  position: absolute;
  top: 12px; right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, var(--orange), var(--primary));
  color: white;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 4px 14px rgba(237,28,36,0.4);
  animation: slideInRight 0.5s ease 0.2s both;
  z-index: 3;
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.bengal-badge .bb-flag { font-size: 18px; line-height: 1; }
.bengal-badge b { font-weight: 900; font-size: 14px; }

/* Big Play Button - Black/White minimal */
.big-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: rgba(0,0,0,0.7);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  border: 3px solid rgba(255,255,255,0.9);
  transition: all var(--transition);
  z-index: 2;
}
.big-play-btn::before {
  content: '';
  position: absolute; inset: -8px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  animation: ripple 1.8s ease-out infinite;
}
@keyframes ripple {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.big-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--primary);
}
.big-play-btn i { margin-left: 3px; }

/* Duration Badge */
.duration-badge {
  position: absolute;
  bottom: 12px; right: 12px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.85);
  color: white;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  z-index: 2;
}

/* Story Bottom (footer of featured) */
.story-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  margin-top: 4px;
  font-size: 13px;
}
.cat-link {
  font-weight: 700;
  color: #555;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  cursor: pointer;
  padding: 6px 14px;
  background: linear-gradient(135deg, #f5f5f5, #ececec);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.1px;
  position: relative;
  overflow: hidden;
}
.cat-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  transform: translateX(-101%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.cat-link:hover {
  color: white;
  border-color: transparent;
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(237,28,36,0.3);
}
.cat-link:hover::before { transform: translateX(0); }
.cat-link i { font-size: 9px; opacity: 0.85; }

/* Inline Tags (text-only, no background) */
.inline-tag {
  display: inline-block;
  padding: 0;
  background: transparent;
  color: var(--primary);
  border-radius: 0;
  font-size: 12.5px;
  font-weight: 700;
  margin-right: 7px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  white-space: nowrap;
  letter-spacing: 0.2px;
  box-shadow: none;
  line-height: 1.5;
  text-transform: uppercase;
}
.inline-tag.red { background: transparent; color: var(--primary); box-shadow: none; }
.inline-tag.green { background: transparent; color: #2e8b57; box-shadow: none; }
.inline-tag.orange { background: transparent; color: var(--orange); box-shadow: none; }
.inline-tag.blue { background: transparent; color: #1565c0; box-shadow: none; }
.inline-tag.pink { background: transparent; color: #c2185b; box-shadow: none; }
.inline-tag[style*="6a1b9a"] { background: transparent !important; color: #6a1b9a !important; box-shadow: none !important; }
.inline-tag[style*="283593"] { background: transparent !important; color: #283593 !important; box-shadow: none !important; }

/* Live Tag */
.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  background: var(--primary);
  color: white;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  margin-right: 6px;
  letter-spacing: 0.5px;
  vertical-align: baseline;
  position: relative;
  top: -2px;
  animation: liveBlink 1.4s ease-in-out infinite;
}
.live-tag .live-d {
  width: 6px; height: 6px;
  background: white;
  border-radius: 50%;
  animation: blinkDot 1s ease-in-out infinite;
}
@keyframes liveBlink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(237,28,36,0.6); }
  50% { box-shadow: 0 0 0 5px rgba(237,28,36,0); }
}
@keyframes blinkDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Exclusive Tag */
.exclusive-tag {
  background: transparent !important;
  color: #ff9800 !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

/* ========== NEWS ROW (PRO QUALITY) ========== */
.news-row {
  background: linear-gradient(135deg, #fff 0%, #fdfdfd 100%);
  border-radius: 12px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 18px;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 2px 8px rgba(0,0,0,0.03);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}
.news-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--orange));
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 4px 4px 0;
}
.news-row::after {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(237,28,36,0.04), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.news-row:hover {
  box-shadow:
    0 6px 20px rgba(0,0,0,0.06),
    0 12px 32px rgba(237,28,36,0.05);
  transform: translateY(-2px);
  border-color: rgba(237,28,36,0.1);
}
.news-row:hover::before { width: 4px; }
.news-row:hover::after { opacity: 1; }

/* Yellow Exclusive Row */
.exclusive-row {
  background: linear-gradient(135deg, #fff8e1, #fffdf5);
  border: 1px solid var(--yellow-border);
}
.exclusive-row:hover { background: linear-gradient(135deg, #fff3c4, #fffdf0); }

/* Live Row */
.live-row { border-left: 3px solid var(--primary); }

.news-row-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.news-row h2 {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 10px;
  cursor: pointer;
  transition: color var(--transition);
  letter-spacing: -0.1px;
  word-break: break-word;
  overflow-wrap: break-word;
}
.news-row h2:hover { color: var(--primary); }
.news-bullets {
  margin: 6px 0 10px;
  padding: 0;
  list-style: none;
  background: none;
  border: none;
}
.news-bullets li {
  font-size: 13.5px;
  color: #555;
  line-height: 1.55;
  margin-bottom: 3px;
  padding: 0;
  font-weight: 400;
}
.news-bullets li:last-child { margin-bottom: 0; }
.news-bullets li::before { content: none; }
.news-bullets li b {
  color: #222;
  font-weight: 600;
}

.news-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed rgba(0,0,0,0.06);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.news-row:hover .news-bottom {
  border-top-color: rgba(237,28,36,0.1);
}

/* ========== NEWS ROW IMAGE/VIDEO (PRO) ========== */
.news-row-img {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.6s ease-in-out infinite;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease;
}
.news-row:hover .news-row-img {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12), 0 0 0 1px rgba(237,28,36,0.06);
}
@keyframes skeletonShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.news-row-img.loaded {
  background: #f5f5f5;
  animation: none;
}
.news-row-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  opacity: 0;
}
.news-row-img img.loaded {
  opacity: 1;
}
.news-row:hover .news-row-img img {
  transform: scale(1.08);
}
/* Image fallback - placeholder when image broken */
.news-row-img.error {
  background: linear-gradient(135deg, #f8f8f8, #ececec);
  animation: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-row-img.error::after {
  content: '\f03e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 28px;
  color: #ccc;
}

/* VIDEO MODE - has-play class */
.news-row-img.has-play::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.35));
  z-index: 1;
  pointer-events: none;
}
.row-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: rgba(0,0,0,0.7);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2.5px solid rgba(255,255,255,0.95);
  transition: all var(--transition);
  z-index: 2;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.row-play::before {
  content: '';
  position: absolute; inset: -5px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  animation: ripple 1.6s ease-out infinite;
}
.row-play::after {
  content: '';
  position: absolute; inset: -5px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: ripple 1.6s ease-out 0.5s infinite;
}
.row-play i { margin-left: 3px; }
.news-row:hover .row-play {
  background: var(--primary);
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 6px 24px rgba(237,28,36,0.5);
  border-color: white;
}
.row-duration {
  position: absolute;
  bottom: 8px; right: 8px;
  padding: 3px 8px;
  background: rgba(0,0,0,0.85);
  color: white;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  z-index: 2;
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  font-variant-numeric: tabular-nums;
}

/* IMAGE-ONLY MODE - subtle indicator */
.news-row-img:not(.has-play) {
  /* clean image — no overlays */
}
.news-row-img:not(.has-play)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,0.15));
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.news-row:hover .news-row-img:not(.has-play)::after {
  opacity: 1;
}

/* Optional photo badge for image-only items with multiple photos */
.row-photo-count {
  position: absolute;
  bottom: 8px; right: 8px;
  padding: 3px 8px;
  background: rgba(0,0,0,0.75);
  color: white;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
}
.row-photo-count i { font-size: 10px; }

/* Share Row (Pro Quality) */
.share-row {
  display: flex;
  gap: 6px;
  align-items: center;
}
.share-row a {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f7f7f7, #ededed);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 50%;
  font-size: 13px;
  color: #555;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.share-row a:hover {
  color: white;
  transform: translateY(-3px) scale(1.12);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  border-color: transparent;
}
.share-row.tiny a {
  width: 28px; height: 28px;
  font-size: 11px;
}

/* Hide link icon on mobile by default — desktop only */
.share-row .sc-link {
  display: none;
}
@media (min-width: 769px) {
  .share-row .sc-link {
    display: inline-flex;
  }
}

/* Hide Instagram from share rows on mobile only (kept on desktop) */
@media (max-width: 768px) {
  .share-row .sc-instagram {
    display: none !important;
  }
}

/* ========== SOCIAL BRAND COLORS ========== */
/* WhatsApp - Green */
.sc-whatsapp:hover { background: #25D366 !important; color: white !important; }
.sc-whatsapp:hover { box-shadow: 0 4px 14px rgba(37,211,102,0.4) !important; }

/* Facebook - Blue */
.sc-facebook:hover { background: #1877F2 !important; color: white !important; }
.sc-facebook:hover { box-shadow: 0 4px 14px rgba(24,119,242,0.4) !important; }

/* X (Twitter) - Black */
.sc-x:hover { background: #000000 !important; color: white !important; }
.sc-x:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.4) !important; }

/* Instagram - Gradient */
.sc-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: white !important;
  box-shadow: 0 4px 14px rgba(220,39,67,0.4) !important;
}

/* Subtle pulse on hover */
.share-row a::after, .follow-icons a::after, .social-row a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.4s, transform 0.4s;
}
.share-row a:hover::after, .follow-icons a:hover::after, .social-row a:hover::after {
  opacity: 0.15;
  transform: scale(1.4);
}

/* ========== LIVE FEED HEADER & CONTAINER ========== */
.live-feed-header {
  background: linear-gradient(135deg, #fff5f5, #ffffff) !important;
  border: 1px solid rgba(237,28,36,0.15) !important;
}
.live-feed-header::before {
  background: linear-gradient(180deg, var(--primary), var(--orange)) !important;
  transform: scaleY(1) !important;
}
.csh-live-dot {
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  animation: feedPulse 1.4s ease-in-out infinite;
}
.csh-live-dot::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.4;
  animation: feedRipple 1.4s ease-out infinite;
}
@keyframes feedPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(237,28,36,0.6); }
  50% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(237,28,36,0); }
}
@keyframes feedRipple {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}
.csh-live-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), #c40d14);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.6px;
  margin-left: 8px;
  vertical-align: middle;
  box-shadow: 0 2px 8px rgba(237,28,36,0.3);
  animation: liveBlink 1.5s ease-in-out infinite;
}
/* ========== LATEST POSTS HORIZONTAL SCROLL (Pro Quality) ========== */
.latest-posts-container:empty {
  display: none;
}
.latest-posts-container {
  display: flex !important;
  flex-direction: row !important;
  gap: 14px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 6px 4px 14px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #f0f0f0;
  position: relative;
  /* Soft fade edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
}
.latest-posts-container::-webkit-scrollbar {
  height: 6px;
}
.latest-posts-container::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 3px;
}
.latest-posts-container::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--primary), var(--orange));
  border-radius: 3px;
}

/* Each news-row in horizontal scroll = vertical card */
/* Exactly 2 cards visible, scroll horizontally for more */
.latest-posts-container .news-row {
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 calc(50% - 7px) !important;
  min-width: calc(50% - 7px) !important;
  max-width: calc(50% - 7px) !important;
  padding: 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.04),
    0 4px 16px rgba(0,0,0,0.03) !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  scroll-snap-align: start;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}
.latest-posts-container .news-row:hover {
  transform: none !important;
  box-shadow:
    0 4px 14px rgba(0,0,0,0.08),
    0 2px 6px rgba(0,0,0,0.04) !important;
  border-color: rgba(0,0,0,0.08) !important;
  background: #fff !important;
}
.latest-posts-container .news-row::before { display: none !important; }
.latest-posts-container .news-row::after { display: none !important; }

/* Force white/gray background — NO orange/red overlay anywhere */
.latest-posts-container .news-row,
.latest-posts-container .news-row.is-new,
.latest-posts-container .news-row:hover {
  background: #fff !important;
  background-image: none !important;
}

/* Image area — clean gray skeleton (no orange) */
.latest-posts-container .news-row .news-row-img {
  overflow: hidden !important;
  background: #f0f0f0 !important;
  background-image: linear-gradient(135deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%) !important;
}
.latest-posts-container .news-row .news-row-img.loaded {
  background: #f5f5f5 !important;
  animation: none !important;
}
.latest-posts-container .news-row .news-row-img img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  opacity: 1 !important;
}
.latest-posts-container .news-row:hover .news-row-img img {
  transform: scale(1.12) !important;
}

/* Removed slide-in red flash — clean fade-in only */
.latest-posts-container .news-row.is-new {
  animation: newPostSlideInH 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image on TOP — full width of card */
.latest-posts-container .news-row .news-row-img {
  order: -1;
  width: 100% !important;
  aspect-ratio: 16/9 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex-shrink: 0;
}
.latest-posts-container .news-row .news-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content below image */
.latest-posts-container .news-row .news-row-content {
  padding: 14px 16px 14px !important;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

/* Timestamp badge */
.post-time-row {
  margin-bottom: 8px;
}
.post-time-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.2px;
}
.post-time-label i {
  font-size: 10px;
}
/* Newest post — clean red text only, NO orange background */
.latest-posts-container .news-row.is-new .post-time-label {
  background: transparent;
  padding: 0;
  color: var(--primary);
  animation: timePulse 1.5s ease-in-out infinite;
}
@keyframes timePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.latest-posts-container .news-row h2 {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  color: #1a1a1a !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.1px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.latest-posts-container .news-row .news-bullets { display: none !important; }

/* Footer: cat-link + share icons */
.latest-posts-container .news-row .news-bottom {
  margin-top: auto;
  padding-top: 12px !important;
  border-top: 1px dashed rgba(0,0,0,0.07) !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.latest-posts-container .news-row .cat-link {
  font-size: 11.5px !important;
  padding: 4px 10px !important;
  flex-shrink: 0;
  background: var(--bg-soft) !important;
  border: 1px solid var(--border) !important;
  color: #555 !important;
}
.latest-posts-container .news-row .share-row {
  gap: 8px !important;
}
.latest-posts-container .news-row .share-row a {
  width: 26px !important;
  height: 26px !important;
  font-size: 12px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #888 !important;
}

/* Video play badge — bigger on horizontal cards */
.latest-posts-container .news-row .row-play {
  width: 48px !important;
  height: 48px !important;
  font-size: 15px !important;
}
.latest-posts-container .news-row .row-duration {
  bottom: 10px !important;
  right: 10px !important;
  padding: 3px 9px !important;
  font-size: 11.5px !important;
}

/* New post entry animation */
.latest-posts-container .news-row.is-new {
  animation: newPostSlideInH 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes newPostSlideInH {
  from {
    opacity: 0;
    transform: translateX(-50px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* NEW badge — fit-content width, no extra space */
.latest-posts-container .news-row.is-new::after {
  content: 'NEW' !important;
  display: inline-block !important;
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  background: linear-gradient(135deg, var(--primary), var(--orange)) !important;
  color: white !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  padding: 1px 5px !important;
  border-radius: 3px !important;
  letter-spacing: 0.4px !important;
  line-height: 1.4 !important;
  box-shadow: 0 2px 6px rgba(237,28,36,0.35) !important;
  z-index: 10;
  animation: newBadgePulse 1.5s ease-in-out infinite;
  pointer-events: none;
  width: fit-content !important;
  height: fit-content !important;
  min-width: 0 !important;
  max-width: max-content !important;
  white-space: nowrap !important;
  box-sizing: content-box !important;
}
@keyframes newBadgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ===== RESPONSIVE — Latest Posts (Always 2 cards visible) ===== */

/* Tablet & Smaller — 2 cards still visible, smaller text */
@media (max-width: 900px) {
  .latest-posts-container {
    gap: 12px;
  }
  .latest-posts-container .news-row {
    flex: 0 0 calc(50% - 6px) !important;
    min-width: calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
  }
  .latest-posts-container .news-row .news-row-content {
    padding: 12px 14px !important;
  }
  .latest-posts-container .news-row h2 {
    font-size: 14px !important;
    margin-bottom: 10px !important;
  }
}

/* Mobile (540-768px) — 2 cards compact */
@media (max-width: 768px) and (min-width: 540px) {
  .latest-posts-container {
    gap: 10px;
  }
  .latest-posts-container .news-row {
    flex: 0 0 calc(50% - 5px) !important;
    min-width: calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
  }
  .latest-posts-container .news-row h2 {
    font-size: 13.5px !important;
  }
  .latest-posts-container .news-row .row-play {
    width: 40px !important;
    height: 40px !important;
    font-size: 13px !important;
  }
}

/* Mobile (<540px) — 2 cards still */
@media (max-width: 540px) {
  .latest-posts-container {
    gap: 10px;
    padding: 4px 2px 12px;
  }
  .latest-posts-container .news-row {
    flex: 0 0 calc(50% - 5px) !important;
    min-width: calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
    border-radius: 10px !important;
  }
  .latest-posts-container .news-row .news-row-content {
    padding: 10px 12px !important;
  }
  .latest-posts-container .news-row h2 {
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    -webkit-line-clamp: 3;
  }
  .latest-posts-container .news-row .news-bottom {
    padding-top: 8px !important;
  }
  .latest-posts-container .news-row .cat-link {
    font-size: 10px !important;
    padding: 3px 7px !important;
  }
  .latest-posts-container .news-row .share-row {
    gap: 5px !important;
  }
  .latest-posts-container .news-row .share-row a {
    width: 22px !important;
    height: 22px !important;
    font-size: 10px !important;
  }
  .latest-posts-container .news-row .row-play {
    width: 36px !important;
    height: 36px !important;
    font-size: 12px !important;
  }
  .latest-posts-container .news-row .row-duration {
    bottom: 6px !important;
    right: 6px !important;
    padding: 2px 6px !important;
    font-size: 10px !important;
  }
  .latest-posts-container .news-row.is-new::after {
    top: 6px !important;
    left: 6px !important;
    font-size: 8px !important;
    padding: 1px 4px !important;
    border-radius: 3px !important;
  }
}

/* Hide scrollbar visually on mobile, keep functional */
@media (max-width: 768px) {
  .latest-posts-container::-webkit-scrollbar {
    height: 3px;
  }
  /* Better touch feel on mobile */
  .latest-posts-container {
    transition: box-shadow 0.4s ease;
    border-radius: 12px;
  }
  /* Disable hover lift on mobile (no lift on touch) */
  .latest-posts-container .news-row:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  }
  /* Active state — when tapped */
  .latest-posts-container .news-row:active {
    transform: scale(0.98) !important;
    transition: transform 0.15s ease !important;
  }
  /* Live feed header smaller on mobile */
  .live-feed-header {
    padding: 10px 14px !important;
  }
  .csh-live-tag {
    font-size: 10px !important;
    padding: 2px 7px !important;
  }
}

/* Scroll Indicator Animation — visual hint for swipe on mobile */
@media (max-width: 768px) {
  .latest-posts-container {
    position: relative;
  }
  /* Subtle "swipe hint" arrow on first card initially */
  .latest-posts-container::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(237,28,36,0.12);
    border-radius: 50%;
    pointer-events: none;
    animation: swipeHint 2.5s ease-in-out 1s 2;
    opacity: 0;
  }
  @keyframes swipeHint {
    0%, 100% { transform: translate(0, -50%); opacity: 0; }
    50% { transform: translate(-15px, -50%); opacity: 1; }
  }
}

/* ========== CATEGORY SECTION HEADER (Pro Quality) ========== */
.cat-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 2px 8px rgba(0,0,0,0.03);
  margin-top: 6px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0,0,0,0.04);
}
.cat-section-header::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--orange));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 4px 4px 0;
}
.cat-section-header::after {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,102,0,0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.cat-section-header:hover {
  box-shadow:
    0 4px 16px rgba(0,0,0,0.06),
    0 8px 32px rgba(237,28,36,0.04);
  border-color: rgba(237,28,36,0.1);
  transform: translateY(-1px);
}
.cat-section-header:hover::before { transform: scaleY(1); }
.cat-section-header:hover::after { opacity: 1; }

.csh-info {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.csh-info img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  background: linear-gradient(135deg, #fff5e6, #ffe9d6);
  border-radius: 50%;
  padding: 7px;
  box-shadow: 0 2px 6px rgba(255,102,0,0.12), inset 0 0 0 1px rgba(255,102,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cat-section-header:hover .csh-info img {
  transform: rotate(-8deg) scale(1.1);
  box-shadow: 0 4px 14px rgba(255,102,0,0.25), inset 0 0 0 1px rgba(255,102,0,0.15);
}
.csh-name {
  font-size: 19px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.3px;
  font-family: 'Mukta', 'Noto Sans Devanagari', sans-serif;
  line-height: 1.2;
  position: relative;
}
.csh-name::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cat-section-header:hover .csh-name::after { transform: scaleX(1); }

.csh-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 16px;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  border-radius: 22px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(255,255,255,0.5);
}
.csh-more::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange), var(--primary));
  transform: translateX(-101%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.csh-more:hover {
  color: white;
  border-color: transparent;
  transform: translateX(3px);
  box-shadow: 0 6px 16px rgba(255,102,0,0.35);
}
.csh-more:hover::before { transform: translateX(0); }
.csh-more:active { transform: translateX(3px) scale(0.97); }

/* Mobile sizing */
@media (max-width: 768px) {
  .cat-section-header { padding: 12px 14px; border-radius: 10px; }
  .csh-info { gap: 11px; }
  .csh-info img { width: 34px; height: 34px; padding: 6px; }
  .csh-name { font-size: 17.5px; }
  .csh-more { font-size: 12.5px; padding: 6px 14px; }
}
@media (max-width: 380px) {
  .cat-section-header { padding: 10px 12px; }
  .csh-info { gap: 9px; }
  .csh-info img { width: 30px; height: 30px; padding: 5px; }
  .csh-name { font-size: 16px; }
  .csh-more { font-size: 11.5px; padding: 5px 12px; }
}

/* ========== MOBILE-ONLY SECTION (1 Big + 3 Small) ========== */
/* Hidden on desktop/tablet, visible only on mobile */
.mobile-only-section {
  display: none !important;
}
@media (max-width: 768px) {
  .mobile-only-section {
    display: flex !important;
  }
  .cat-section-header.mobile-only-section {
    display: flex !important;
  }
}

/* ========== FEATURED CLUSTER (1 Big + 3 Small) ========== */
.featured-cluster {
  flex-direction: column;
  gap: 12px;
}

/* Main news row - bigger image */
.featured-main {
  grid-template-columns: 1fr 280px !important;
}
.featured-main .news-row-img {
  aspect-ratio: 16/10;
}
.featured-main h2 {
  font-size: 17px !important;
  line-height: 1.5 !important;
}

/* 3 Small Cards Grid */
.mini-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mini-card {
  background: linear-gradient(135deg, #fff 0%, #fdfdfd 100%);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 2px 8px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.mini-card:hover {
  box-shadow:
    0 6px 18px rgba(0,0,0,0.08),
    0 12px 28px rgba(237,28,36,0.05);
  transform: translateY(-3px);
  border-color: rgba(237,28,36,0.1);
}
.mini-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.6s ease-in-out infinite;
}
.mini-img.loaded {
  background: #f5f5f5;
  animation: none;
}
.mini-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.mini-card:hover .mini-img img {
  transform: scale(1.08);
}
/* Mini play button */
.mini-img.has-play::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3));
  z-index: 1;
}
.mini-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.7);
  color: white;
  border: 2px solid rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  z-index: 2;
  backdrop-filter: blur(4px);
  transition: all var(--transition);
}
.mini-play::before {
  content: '';
  position: absolute; inset: -4px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  animation: ripple 1.6s ease-out infinite;
}
.mini-play i { margin-left: 2px; }
.mini-card:hover .mini-play {
  background: var(--primary);
  transform: translate(-50%, -50%) scale(1.1);
}
.mini-duration {
  position: absolute;
  bottom: 6px; right: 6px;
  padding: 2px 6px;
  background: rgba(0,0,0,0.85);
  color: white;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 700;
  z-index: 2;
  backdrop-filter: blur(4px);
  font-variant-numeric: tabular-nums;
}
.mini-content {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.mini-content .inline-tag {
  align-self: flex-start;
  font-size: 11px;
  padding: 1px 8px;
  margin: 0;
  top: 0;
}
.mini-content h4 {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -0.1px;
  transition: color var(--transition);
}
.mini-card:hover .mini-content h4 { color: var(--primary); }

/* Responsive */
@media (max-width: 1100px) {
  .featured-main {
    grid-template-columns: 1fr 240px !important;
  }
}
@media (max-width: 768px) {
  .featured-main {
    grid-template-columns: 1fr 38% !important;
  }
  .featured-main h2 { font-size: 16px !important; }
  .mini-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .mini-content { padding: 8px 10px 10px; }
  .mini-content h4 { font-size: 12.5px; }
}
@media (max-width: 540px) {
  .featured-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
  }
  .featured-main .news-row-img {
    aspect-ratio: 16/9;
    width: 100%;
    border-radius: 0;
    order: -1;
  }
  .featured-main .news-row-content {
    padding: 14px 14px 12px;
  }
  .mini-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
@media (max-width: 380px) {
  .mini-cards-grid {
    grid-template-columns: 1fr;
  }
  .mini-content h4 { font-size: 13px; }
}

/* ========== GOOGLE STRIP ========== */
.google-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #fff8e1, #fff);
  border: 1px solid #ffe082;
  border-radius: var(--radius);
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  gap: 10px;
  flex-wrap: wrap;
}
.g-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.g-badge i { color: #4285f4; font-size: 14px; }

/* ========== LOAD MORE ========== */
.load-more {
  align-self: center;
  margin: 16px auto;
  padding: 11px 26px;
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 28px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}
.load-more:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(237,28,36,0.3);
}

/* ========== RIGHT SIDEBAR (Fixed, no scrolling, full content) ========== */
.right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 12px);
  /* No max-height, no overflow — all cards fully visible */
}

/* Cards keep natural height, no shrinking */
.right-sidebar > .rs-card {
  flex-shrink: 0;
  width: 100%;
}
.rs-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition);
  flex-shrink: 0;
}
.rs-card:hover { box-shadow: var(--shadow-md); }

/* Google Promo */
.google-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  background: linear-gradient(135deg, #fff8e1, #fff);
  border: 1px solid #ffe082;
}
.gp-text { flex: 1; font-size: 13px; }
.gp-text strong {
  display: block;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}
.arrow-anim {
  display: inline-block;
  font-size: 16px;
  color: var(--primary);
  animation: arrowMove 1.5s ease-in-out infinite;
}
@keyframes arrowMove {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}
.gp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.gp-badge i { color: #4285f4; font-size: 13px; }

/* ========== DYNAMIC ROTATING AD CAROUSEL ========== */
.dynamic-ad-card {
  padding: 0;
  position: relative;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  min-height: 360px;
}
.dynamic-ad-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.dynamic-ad-slide {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.dynamic-ad-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}
.dynamic-ad-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dynamic-ad-text {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.85));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: white;
}
.dynamic-ad-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), #c40d14);
  color: white;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  width: fit-content;
  box-shadow: 0 3px 10px rgba(237,28,36,0.5);
  animation: tagBounce 2s ease-in-out infinite;
}
.dynamic-ad-tag.green { background: linear-gradient(135deg, #2e7d32, #1b5e20); box-shadow: 0 3px 10px rgba(46,125,50,0.5); }
.dynamic-ad-tag.blue { background: linear-gradient(135deg, #1565c0, #0d47a1); box-shadow: 0 3px 10px rgba(21,101,192,0.5); }
.dynamic-ad-tag.purple { background: linear-gradient(135deg, #7b1fa2, #4a148c); box-shadow: 0 3px 10px rgba(123,31,162,0.5); }
.dynamic-ad-tag.orange { background: linear-gradient(135deg, #ef6c00, #e65100); box-shadow: 0 3px 10px rgba(239,108,0,0.5); }
@keyframes tagBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
.dynamic-ad-text h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.dynamic-ad-text p {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.95;
  margin-bottom: 12px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.dynamic-ad-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: white;
  color: #1a1a1a;
  border: none;
  border-radius: 22px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  width: fit-content;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.dynamic-ad-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(237,28,36,0.5);
}
.dynamic-ad-btn:hover i { transform: translateX(3px); }
.dynamic-ad-btn i { transition: transform 0.25s ease; }

/* Dot indicators */
.dynamic-ad-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.dad-dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.4);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}
.dad-dot:hover {
  background: rgba(255,255,255,0.7);
}
.dad-dot.active {
  width: 22px;
  border-radius: 4px;
  background: white;
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

/* Navigation arrows */
.dad-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  z-index: 5;
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: all 0.25s ease;
}
.dynamic-ad-card:hover .dad-nav {
  opacity: 1;
}
.dad-nav:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.1);
}
.dad-prev {
  left: 8px;
}
.dad-next {
  right: 8px;
}

/* ========== PREMIUM BANNER AD ========== */
.premium-ad-card {
  padding: 0;
  overflow: hidden;
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.premium-ad-card:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.ad-label-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.65);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  z-index: 5;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}
.ad-label-badge.native {
  background: linear-gradient(135deg, #ff9800, #f57c00);
}
.premium-ad-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.premium-ad-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.premium-ad-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.premium-ad-card:hover .premium-ad-image img {
  transform: scale(1.08);
}
.premium-ad-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  color: white;
}
.premium-ad-tag {
  display: inline-block;
  background: linear-gradient(135deg, #ff6f00, #d84315);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  width: fit-content;
  box-shadow: 0 2px 8px rgba(255,111,0,0.5);
  animation: tagPulse 2s ease-in-out infinite;
}
@keyframes tagPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.premium-ad-overlay h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.premium-ad-overlay p {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
}
.premium-ad-content {
  padding: 12px 14px 14px;
}
.brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.brand-logo-circle {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #FF9900, #FF6600);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}
.brand-row strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #1a1a1a;
}
.brand-row small {
  font-size: 10px;
  color: #888;
  letter-spacing: 0.3px;
}
.premium-ad-content h4 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #333;
  margin-bottom: 10px;
}
.premium-ad-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--primary), #d84315);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(237,28,36,0.3);
}
.premium-ad-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(237,28,36,0.4);
}
.premium-ad-btn i {
  transition: transform 0.25s ease;
}
.premium-ad-btn:hover i {
  transform: translateX(3px);
}

/* ========== NATIVE AD (Sponsored Article Style) ========== */
.native-ad-card {
  padding: 12px;
  position: relative;
  border: 1px solid #ffe082;
  background: linear-gradient(135deg, #fffbf0, #ffffff);
  transition: all 0.3s ease;
}
.native-ad-card:hover {
  box-shadow: 0 8px 22px rgba(255,152,0,0.15);
  border-color: #ff9800;
}
.native-ad-link {
  display: flex;
  gap: 12px;
  align-items: stretch;
  color: inherit;
  text-decoration: none;
}
.native-ad-img {
  position: relative;
  flex: 0 0 100px;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1;
}
.native-ad-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.native-ad-card:hover .native-ad-img img {
  transform: scale(1.1);
}
.native-ad-source {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(0,0,0,0.75);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.3px;
}
.native-ad-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.native-ad-body h4 {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.native-ad-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.native-ad-meta span {
  color: #888;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.native-ad-meta span i {
  color: #ff9800;
  font-size: 10px;
}
.native-ad-cta {
  color: #ff6f00 !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px;
}

/* ========== VERTICAL BANNER AD (Investment/SIP Style) ========== */
.vertical-ad-card {
  padding: 0;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
}
.vertical-ad-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.vertical-ad-banner {
  background: linear-gradient(135deg, #00897b 0%, #00695c 50%, #004d40 100%);
  color: white;
  padding: 18px 16px 16px;
  position: relative;
  overflow: hidden;
}
.vertical-ad-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
  pointer-events: none;
}
.vertical-ad-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255,193,7,0.1), transparent 70%);
  pointer-events: none;
}
.va-icon {
  font-size: 36px;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  animation: vaIconBounce 2s ease-in-out infinite;
}
@keyframes vaIconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.vertical-ad-banner h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  position: relative;
}
.va-amount {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -1px;
  color: #ffd54f;
  position: relative;
}
.va-amount small {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
  color: white;
  letter-spacing: 0;
}
.vertical-ad-banner p {
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 12px;
  position: relative;
}
.va-features {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  position: relative;
}
.va-features li {
  font-size: 11.5px;
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.va-features i {
  color: #ffd54f;
  font-size: 11px;
}
.va-btn {
  width: 100%;
  padding: 9px 14px;
  background: #ffd54f;
  color: #004d40;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
  position: relative;
  box-shadow: 0 4px 12px rgba(255,213,79,0.4);
}
.va-btn:hover {
  background: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255,193,7,0.5);
}
.va-brand {
  font-size: 10.5px;
  text-align: center;
  opacity: 0.85;
  position: relative;
}
.va-brand strong {
  color: #ffd54f;
  font-weight: 800;
}

/* ========== MULTI-PRODUCT MINI AD ========== */
.multi-ad-card {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border);
}
.multi-ad-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}
.multi-ad-header strong {
  font-size: 13px;
  font-weight: 800;
  color: #1a1a1a;
}
.ad-label-badge.inline {
  position: static;
  background: #f0f0f0;
  color: #666;
  font-size: 9px;
  padding: 2px 7px;
  backdrop-filter: none;
}
.multi-ad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.multi-ad-item {
  display: block;
  background: #fafafa;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
}
.multi-ad-item:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.ma-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f0f0f0;
}
.ma-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.multi-ad-item:hover .ma-img img {
  transform: scale(1.1);
}
.ma-discount {
  position: absolute;
  top: 4px;
  left: 4px;
  background: linear-gradient(135deg, var(--primary), #c40d14);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(237,28,36,0.4);
}
.ma-info {
  padding: 6px 8px 8px;
}
.ma-info h5 {
  font-size: 11px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ma-price {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
}
.ma-price strong {
  color: #2e7d32;
  font-weight: 800;
}
.ma-price del {
  color: #999;
  font-size: 10px;
}
.multi-ad-more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 0;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
  border-top: 1px solid var(--border);
  text-decoration: none;
  transition: gap 0.25s ease;
}
.multi-ad-more:hover {
  gap: 10px;
}
.multi-ad-more i {
  font-size: 9px;
  transition: transform 0.25s ease;
}
.multi-ad-more:hover i {
  transform: translateX(3px);
}

/* ========== NEWSLETTER SUBSCRIBE AD ========== */
.newsletter-ad-card {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
  border: none;
  color: white;
  position: relative;
}
.newsletter-ad-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(237,28,36,0.25), transparent 70%);
  pointer-events: none;
}
.newsletter-ad-content {
  padding: 20px 16px;
  position: relative;
  text-align: center;
}
.newsletter-icon-big {
  font-size: 40px;
  margin-bottom: 8px;
  animation: nlIconBob 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(255,255,255,0.2));
}
@keyframes nlIconBob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-4px) rotate(3deg); }
}
.newsletter-ad-content h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.newsletter-ad-content p {
  font-size: 12.5px;
  opacity: 0.9;
  margin-bottom: 14px;
  line-height: 1.5;
}
.newsletter-ad-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.newsletter-ad-form input {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 12.5px;
  background: rgba(255,255,255,0.95);
  color: #333;
  outline: none;
  transition: background 0.2s;
}
.newsletter-ad-form input:focus {
  background: white;
  box-shadow: 0 0 0 3px rgba(255,213,79,0.4);
}
.newsletter-ad-form button {
  width: 100%;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--primary), #c40d14);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(237,28,36,0.4);
}
.newsletter-ad-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(237,28,36,0.5);
}
.newsletter-count {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  opacity: 0.85;
}
.newsletter-count span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.newsletter-count i {
  color: #ffd54f;
}
.newsletter-count strong {
  color: #ffd54f;
  font-weight: 800;
}

/* ========== LIVE YOUTUBE NEWS TV WIDGET ========== */
.live-yt-card {
  padding: 0;
  overflow: hidden;
  background: #0f0f0f;
  border: 1px solid #333;
  position: relative;
}
.live-yt-header {
  background: linear-gradient(135deg, #cc0000 0%, #ed1c24 100%) !important;
  color: white;
  padding: 10px 14px !important;
}
.live-yt-header .lcc-title i {
  color: white;
  font-size: 18px;
  animation: ytPulse 1.5s ease-in-out infinite;
}
@keyframes ytPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 transparent); }
  50% { transform: scale(1.15); filter: drop-shadow(0 0 6px rgba(255,255,255,0.6)); }
}
.live-yt-body {
  background: #000;
}
.live-yt-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}
.live-yt-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  display: block;
}
/* Subtle red glow border on hover */
.live-yt-card:hover {
  box-shadow: 0 8px 28px rgba(237,28,36,0.25);
}
/* Channel Selector */
.live-yt-channels {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: #1a1a1a;
  border-top: 1px solid #2a2a2a;
  overflow-x: auto;
  scrollbar-width: none;
}
.live-yt-channels::-webkit-scrollbar { display: none; }
.yt-ch-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: #2a2a2a;
  color: #ccc;
  border: 1px solid #333;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.yt-ch-btn:hover {
  background: #333;
  color: white;
  border-color: var(--primary);
}
.yt-ch-btn.active {
  background: linear-gradient(135deg, #cc0000, #ed1c24);
  color: white;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(237,28,36,0.5);
}
.yt-ch-dot {
  width: 6px;
  height: 6px;
  background: #888;
  border-radius: 50%;
}
.yt-ch-btn.active .yt-ch-dot {
  background: white;
  animation: blinkDot 1s ease-in-out infinite;
}

.live-yt-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
  color: #ddd;
  font-size: 11.5px;
  border-top: 1px solid #2a2a2a;
}
.live-yt-channel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.live-yt-channel i {
  color: var(--primary);
  animation: broadcastPulse 1.5s ease-in-out infinite;
}
@keyframes broadcastPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.live-yt-channel strong {
  color: white;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.live-yt-viewers {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #aaa;
}
.live-yt-viewers i {
  color: #ff5722;
  font-size: 11px;
}
.live-yt-viewers span {
  color: #fff;
  font-weight: 700;
}

/* ========== PRO HOROSCOPE WIDGET ========== */
.pro-horo-card {
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
}
.pro-horo-header {
  background: linear-gradient(135deg, #ff6f00 0%, #d84315 100%) !important;
  color: white;
}
.pro-horo-header .lcc-title i {
  color: #ffd700;
  animation: starTwinkle 2s ease-in-out infinite;
}
@keyframes starTwinkle {
  0%, 100% { transform: rotate(0) scale(1); filter: drop-shadow(0 0 0 transparent); }
  50% { transform: rotate(360deg) scale(1.2); filter: drop-shadow(0 0 8px rgba(255,215,0,0.8)); }
}
.pro-horo-body {
  padding: 14px;
  background: linear-gradient(180deg, #fff8e1 0%, #ffffff 60%);
}

/* Iframe horoscope wrapper */
.pro-horo-iframe-wrap {
  position: relative;
  width: 100%;
  height: 600px;
  background: linear-gradient(180deg, #fff8e1 0%, #ffffff 100%);
  overflow: hidden;
}
.pro-horo-iframe-wrap iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  background: white;
}

/* Zodiac grid - 12 signs */
.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255,111,0,0.2);
}
.zodiac-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px;
  min-height: 56px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(255,111,0,0.12);
  transition: all 0.25s ease;
  cursor: pointer;
}
.zodiac-item:hover {
  background: linear-gradient(135deg, rgba(255,111,0,0.08), rgba(216,67,21,0.05));
  transform: translateY(-1px);
  border-color: rgba(255,111,0,0.3);
}
.zodiac-item.active {
  background: linear-gradient(135deg, #ff6f00, #d84315);
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(255,111,0,0.35);
}
.zodiac-item.active .zo-emoji {
  filter: brightness(2);
}
.zodiac-item.active .zo-name {
  color: white;
}
.zo-emoji {
  font-size: 22px;
  line-height: 1;
  color: #d84315;
}
.zo-name {
  font-size: 11px;
  font-weight: 700;
  color: #444;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.zodiac-item.active .zo-emoji { color: #fff; filter: none; }

/* Selected zodiac details */
.zodiac-details {
  margin-bottom: 10px;
}
.zd-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.zd-emoji {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff6f00, #d84315);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(255,111,0,0.3);
}
.zd-info { flex: 1; min-width: 0; }
.zd-info strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #d84315;
  margin-bottom: 2px;
}
.zd-info small {
  font-size: 10.5px;
  color: #888;
  letter-spacing: 0.2px;
}
.zd-text {
  font-size: 12.5px;
  color: #444;
  line-height: 1.55;
  margin-bottom: 10px;
  font-style: italic;
}

/* Lucky stats row */
.zd-luck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(255,111,0,0.06);
  border-radius: 8px;
  padding: 8px;
}
.zd-luck-item {
  text-align: center;
  padding: 0 4px;
  border-right: 1px solid rgba(255,111,0,0.15);
}
.zd-luck-item:last-child { border-right: none; }
.zd-luck-item i {
  font-size: 12px;
  color: #ff6f00;
  display: block;
  margin-bottom: 3px;
}
.zd-luck-item small {
  display: block;
  font-size: 9.5px;
  color: #888;
  margin-bottom: 2px;
}
.zd-luck-item strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #1a1a1a;
}

/* "View all" link */
.pro-horo-more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  font-weight: 700;
  font-size: 12px;
  color: #ff6f00;
  background: #fffbf5;
  transition: all 0.25s ease;
}
.pro-horo-more:hover {
  background: linear-gradient(90deg, #ff6f00, #d84315);
  color: white;
}
.pro-horo-more i { font-size: 9px; }

/* ========== LIVE WEATHER WIDGET (Custom, Open-Meteo) ========== */
.weather-widget-card {
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
}
.weather-widget-header {
  background: linear-gradient(135deg, #0277bd 0%, #01579b 100%) !important;
  color: white;
}
.weather-widget-header .lcc-title i {
  color: #ffd54f;
  animation: weatherFloat 2.5s ease-in-out infinite;
}
@keyframes weatherFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-3px) rotate(8deg); }
}
.weather-widget-body {
  padding: 14px;
  background: linear-gradient(180deg, #e3f2fd 0%, #ffffff 60%, #ffffff 100%);
}

/* Current weather */
.ww-current {
  margin-bottom: 14px;
}
.ww-main {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.ww-icon-big {
  font-size: 56px;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(2,119,189,0.25));
  animation: wwIconBob 3s ease-in-out infinite;
}
@keyframes wwIconBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.ww-info {
  flex: 1;
  min-width: 0;
}
.ww-temp {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: #01579b;
  letter-spacing: -1px;
  margin-bottom: 4px;
}
.ww-condition {
  font-size: 13px;
  font-weight: 600;
  color: #0277bd;
  margin-bottom: 4px;
}
.ww-location {
  font-size: 12px;
  color: #666;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ww-location i {
  color: var(--primary);
  font-size: 11px;
}

/* Stats row */
.ww-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(2,119,189,0.06);
  border-radius: 8px;
  padding: 10px 8px;
}
.ww-stat {
  text-align: center;
  padding: 0 4px;
  border-right: 1px solid rgba(2,119,189,0.1);
}
.ww-stat:last-child {
  border-right: none;
}
.ww-stat i {
  font-size: 13px;
  color: #0277bd;
  display: block;
  margin-bottom: 4px;
}
.ww-stat-val {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
}
.ww-stat small {
  font-size: 10px;
  color: #888;
}

/* Extras row (visibility / pressure / UV) */
.ww-extras {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 4px 0;
  border-top: 1px dashed rgba(2,119,189,0.2);
  font-size: 11px;
  color: var(--text-light);
  font-weight: 600;
}
.ww-extras span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ww-extras i { color: #0277bd; font-size: 11px; }

/* Forecast row */
.ww-forecast {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(2,119,189,0.2);
}
.ww-fc-day {
  text-align: center;
  padding: 6px 2px;
  border-radius: 6px;
  transition: background 0.2s;
}
.ww-fc-day:hover {
  background: rgba(2,119,189,0.08);
}
.ww-fc-day .ww-fc-name {
  font-size: 10.5px;
  font-weight: 700;
  color: #555;
  margin-bottom: 4px;
}
.ww-fc-day .ww-fc-icon {
  font-size: 18px;
  line-height: 1;
  margin-bottom: 4px;
}
.ww-fc-day .ww-fc-temp {
  font-size: 11.5px;
  font-weight: 700;
  color: #01579b;
}

/* Loading state */
.weather-widget-body.loading .ww-temp,
.weather-widget-body.loading .ww-condition,
.weather-widget-body.loading .ww-stat-val {
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
  color: transparent;
  border-radius: 4px;
}

/* ========== LIVE NEWS FEED (Auto-Updating) ========== */
.live-news-card {
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
}
.live-news-card .lcc-header {
  background: linear-gradient(135deg, #ed1c24 0%, #c40d14 100%);
}
.live-news-card .lcc-title i {
  animation: boltPulse 1.2s ease-in-out infinite;
}
@keyframes boltPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; filter: drop-shadow(0 0 6px rgba(255,255,255,0.6)); }
}
.live-news-list {
  list-style: none;
  padding: 6px 0;
  margin: 0;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}
.live-news-list::-webkit-scrollbar {
  width: 4px;
}
.live-news-list::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 2px;
}
.lnl-item {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px dashed #eee;
  position: relative;
  transition: all 0.3s ease;
}
.lnl-item:last-child {
  border-bottom: none;
}
.lnl-item:hover {
  background: #fafafa;
  cursor: pointer;
}
.lnl-dot {
  width: 8px;
  height: 8px;
  background: #ddd;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
  position: relative;
}
.lnl-item.new .lnl-dot {
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(237,28,36,0.6);
  animation: lnlPulse 1.5s ease-in-out infinite;
}
@keyframes lnlPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(237,28,36,0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(237,28,36,0);
    transform: scale(1.2);
  }
}
.lnl-content {
  flex: 1;
  min-width: 0;
}
.lnl-time {
  font-size: 11px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.lnl-rel {
  color: var(--primary);
  font-weight: 800;
}
.lnl-divider {
  color: #bbb;
  font-weight: 400;
  margin: 0 1px;
}
.lnl-date {
  color: #888;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.1px;
}
.lnl-item.new .lnl-time::before {
  content: 'NEW';
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-right: 4px;
}
.lnl-item p {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: #1a1a1a;
  margin: 0;
}
.lnl-item.new {
  background: linear-gradient(90deg, rgba(237,28,36,0.06), rgba(255,102,0,0.03), transparent);
  animation: newItemSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes newItemSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
    background: rgba(237,28,36,0.15);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.lnl-item.new p {
  color: #c40d14;
  font-weight: 700;
}

/* ========== LIVE CRICKET CARD (Real Widget) ========== */
.live-cricket-card {
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  position: relative;
}
.lcc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: linear-gradient(135deg, #EE651D 0%, #d8551a 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.lcc-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer 3s linear infinite;
}
.lcc-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  position: relative;
  letter-spacing: 0.3px;
}
.lcc-title i {
  font-size: 16px;
  animation: cricketSpin 4s linear infinite;
}
@keyframes cricketSpin {
  to { transform: rotate(360deg); }
}
.lcc-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background: rgba(0,0,0,0.25);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  position: relative;
}
.lcc-pulse {
  width: 7px; height: 7px;
  background: #fff;
  border-radius: 50%;
  position: relative;
  animation: blinkDot 1s ease-in-out infinite;
}
.lcc-pulse::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: ripple 1.4s ease-out infinite;
}
.lcc-frame {
  position: relative;
  background: #fafafa;
  height: 380px;
  overflow: hidden;
}
.lcc-frame iframe {
  display: block;
  width: 100% !important;
  border: none !important;
  background: #fff;
}
.lcc-frame > a {
  display: none;
}
.lcc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  background: #fafafa;
}
.lcc-footer span {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lcc-footer span i {
  color: #EE651D;
  animation: flicker 1.2s ease-in-out infinite alternate;
}
.lcc-more {
  color: #EE651D;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: gap var(--transition);
}
.lcc-more:hover { gap: 6px; }
.lcc-more i { font-size: 9px; }

/* Cricket Card (legacy) */
.cricket-card {
  padding: 12px;
  background: linear-gradient(135deg, #1a237e, #283593);
  color: white;
}
.cc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12px;
}
.cc-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--primary);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.cc-dot {
  width: 6px; height: 6px;
  background: white;
  border-radius: 50%;
  animation: blinkDot 1s ease-in-out infinite;
}
.cc-format { opacity: 0.85; font-weight: 600; font-size: 12px; }
.cc-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.2);
  margin-bottom: 10px;
}
.cc-team {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.cc-team:last-child { justify-content: flex-end; }
.cc-flag {
  width: 40px; height: 30px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.cc-flag.ind { background: linear-gradient(180deg, #ff9933 33%, #fff 33% 66%, #138808 66%); color: #000080; text-shadow: 0 0 2px white; }
.cc-flag.eng { background: #fff; color: #c8102e; border: 1px solid rgba(255,255,255,0.3); }
.cc-score strong { display: block; font-size: 18px; font-weight: 800; }
.cc-score small { font-size: 11px; opacity: 0.8; }
.cc-vs {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 14px;
}
.cc-result {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 10px;
  opacity: 0.95;
}

/* GoDaddy Ad */
.godaddy-ad { padding: 12px; }
.ga-image {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: 10px;
}
.ga-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.godaddy-ad:hover .ga-image img { transform: scale(1.05); }
.ga-brand {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #00838f;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.godaddy-ad h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  color: #1a1a1a;
}
.ga-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  transition: gap var(--transition);
}
.ga-cta:hover { gap: 9px; }

/* Video Card RS */
.video-card-rs { padding: 0; }
.vc-main {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.vc-main img { width: 100%; height: 100%; object-fit: cover; }
.vc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.85));
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-circle {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.95);
  color: var(--primary);
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--transition);
}
.play-circle::before {
  content: '';
  position: absolute; inset: -6px;
  border: 2px solid white;
  border-radius: 50%;
  animation: ripple 1.6s ease-out infinite;
}
.vc-main:hover .play-circle { transform: scale(1.1); }
.vc-text {
  position: absolute;
  bottom: 12px; left: 12px;
  right: 12px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

/* Horoscope */
.horo-card { padding: 14px; }
.horo-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.horo-title { font-size: 13px; font-weight: 700; color: var(--text-light); }
.horo-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
}
.horo-icon {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}
.horo-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 8px;
}
.horo-link {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
}

/* Bike Ad */
.bike-ad { padding: 0; overflow: hidden; }
.ba-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f5f5f5;
}
.ba-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.bike-ad:hover .ba-image img { transform: scale(1.05); }
.ba-content { padding: 12px; }
.ba-content h3 {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #1a1a1a;
}
.ba-cta {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary);
  color: white;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 700;
  transition: all var(--transition);
}
.ba-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* Footer Links */
.rs-links { padding: 14px; font-size: 12.5px; }
.rs-disclaimer, .rs-other-sites { margin-bottom: 12px; }
.rs-disclaimer strong, .rs-other-sites strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--primary);
}
.rs-disclaimer p {
  font-size: 11.5px;
  color: var(--text-light);
  line-height: 1.5;
}
.rs-other-sites ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 4px;
}
.rs-other-sites ul li a {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  transition: color var(--transition);
}
.rs-other-sites ul li a:hover { color: var(--primary-dark); text-decoration: underline; }
.rs-copy {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 8px;
}

/* ========== BOTTOM CTA ========== */
.bottom-cta {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2d34 100%);
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}
.bottom-cta::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(237,28,36,0.2), transparent 60%);
}
.cta-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
}
.cta-text h2 {
  font-size: 24px;
  font-weight: 800;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.cta-text h2 i {
  color: var(--orange);
  animation: bell 2s ease-in-out infinite;
}
@keyframes bell {
  0%, 50%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(-15deg); }
  20%, 40% { transform: rotate(15deg); }
}
.cta-text p { color: #ccc; margin-top: 4px; font-size: 14px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-notify-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--orange, #ff6f00), #ff8a00);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255,111,0,0.35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  letter-spacing: 0.2px;
}
.cta-notify-btn i { font-size: 15px; }
.cta-notify-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(255,111,0,0.45); filter: brightness(1.05); }
.cta-notify-btn:active { transform: translateY(0); }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: white;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.store-btn:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.store-btn i { font-size: 24px; }
.store-btn small { display: block; font-size: 9px; opacity: 0.8; }
.store-btn strong { font-size: 13px; }

/* ========== FOOTER ========== */
.site-footer {
  background: #0f1116;
  color: #c0c0c0;
  padding: 38px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col p { margin: 12px 0; line-height: 1.7; font-size: 13px; }
.footer-col h4 {
  color: white;
  font-size: 14px;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 5px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 22px; height: 2px;
  background: var(--primary);
}
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a {
  font-size: 13px;
  transition: all var(--transition);
}
.footer-col ul li a:hover { color: white; padding-left: 4px; }
.social-row { display: flex; gap: 7px; margin-top: 12px; }
.social-row a {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all var(--transition);
}
.social-row a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px) rotate(8deg);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-social { margin-top: 0; }
.footer-bottom-social a { width: 30px; height: 30px; font-size: 12.5px; }
.sc-youtube:hover { background: #FF0000 !important; color: white !important; box-shadow: 0 4px 14px rgba(255,0,0,0.4) !important; }
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(237,28,36,0.4);
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 99;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-4px) scale(1.1); }

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1a1a1a;
  color: white;
  padding: 12px 22px;
  border-radius: 26px;
  display: flex; align-items: center; gap: 9px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
  opacity: 0;
  z-index: 9999;
  font-size: 14px;
  transition: all var(--transition);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast i { color: #4ade80; font-size: 18px; }

/* ========== QUIZ CARD (right-sidebar dynamic question) ========== */
.quiz-card {
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  position: relative;
}
.quiz-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6a1b9a, #8e24aa, #ec407a, #6a1b9a);
  background-size: 200% 100%;
  animation: vcShine 3.5s linear infinite;
  z-index: 2;
}
.quiz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #6a1b9a 0%, #4a148c 100%);
  color: #fff;
  padding: 12px 14px;
}
.quiz-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.quiz-title i {
  font-size: 15px;
  color: #ffd54f;
  filter: drop-shadow(0 0 6px rgba(255,213,79,0.6));
  animation: quizBulb 2.5s ease-in-out infinite;
}
@keyframes quizBulb {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(255,213,79,0.5)); }
  50% { transform: scale(1.12); filter: drop-shadow(0 0 10px rgba(255,213,79,0.95)); }
}
.quiz-progress {
  font-size: 11.5px;
  font-weight: 700;
  background: rgba(255,255,255,0.18);
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.3px;
  font-variant-numeric: tabular-nums;
}
.quiz-body {
  padding: 16px 14px 14px;
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 50%);
}
.quiz-question {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 14px;
  min-height: 44px;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.quiz-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: #fff;
  border: 1.5px solid #e6dff0;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}
.quiz-opt-letter {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #f3e5f5;
  color: #6a1b9a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  transition: all 0.25s ease;
}
.quiz-opt-text { flex: 1; line-height: 1.4; }
.quiz-opt-mark {
  flex-shrink: 0;
  font-size: 14px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.25s ease;
}
.quiz-opt:hover:not(.locked) {
  border-color: #6a1b9a;
  background: linear-gradient(135deg, #faf5ff, #fff);
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(106,27,154,0.1);
}
.quiz-opt:hover:not(.locked) .quiz-opt-letter {
  background: #6a1b9a;
  color: #fff;
}
.quiz-opt.correct {
  border-color: #16a34a;
  background: linear-gradient(135deg, #f0fdf4, #fff);
  color: #15803d;
}
.quiz-opt.correct .quiz-opt-letter {
  background: #16a34a;
  color: #fff;
}
.quiz-opt.correct .quiz-opt-mark {
  opacity: 1;
  transform: scale(1);
  color: #16a34a;
}
.quiz-opt.wrong {
  border-color: #dc2626;
  background: linear-gradient(135deg, #fef2f2, #fff);
  color: #b91c1c;
  animation: quizShake 0.4s;
}
.quiz-opt.wrong .quiz-opt-letter {
  background: #dc2626;
  color: #fff;
}
.quiz-opt.wrong .quiz-opt-mark {
  opacity: 1;
  transform: scale(1);
  color: #dc2626;
}
.quiz-opt.locked { cursor: default; }
.quiz-opt.locked:not(.correct):not(.wrong) {
  opacity: 0.55;
}
@keyframes quizShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.quiz-feedback {
  font-size: 12.5px;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  border-left: 3px solid;
  background: #fafafa;
  animation: quizFadeIn 0.4s ease;
}
@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-feedback.correct { border-color: #16a34a; background: #f0fdf4; color: #15803d; }
.quiz-feedback.wrong { border-color: #dc2626; background: #fef2f2; color: #b91c1c; }
.quiz-feedback strong { font-weight: 700; }
.quiz-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(106,27,154,0.15);
}
.quiz-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-light);
  font-weight: 600;
}
.quiz-score i { color: #f59e0b; font-size: 13px; }
.quiz-score strong { color: #6a1b9a; font-weight: 800; font-variant-numeric: tabular-nums; }
.quiz-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #6a1b9a, #4a148c);
  color: #fff;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(106,27,154,0.3);
}
.quiz-next i { font-size: 10px; transition: transform var(--transition); }
.quiz-next:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(106,27,154,0.4); }
.quiz-next:hover:not(:disabled) i { transform: translateX(3px); }
.quiz-next:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

/* ========== VISIT COUNTER (floating right-side widget) ========== */
.visit-counter {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(0);
  z-index: 95;
  font-family: inherit;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.4s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.visit-counter.show { opacity: 1; pointer-events: auto; }
.vc-inner {
  position: relative;
  background: linear-gradient(140deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid rgba(0,0,0,0.06);
  border-right: none;
  border-radius: 14px 0 0 14px;
  box-shadow: -8px 8px 28px rgba(0,0,0,0.08), -2px 2px 8px rgba(237,28,36,0.06);
  padding: 14px 14px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 92px;
  overflow: hidden;
}
.vc-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--sun), var(--primary));
  background-size: 200% 100%;
  animation: vcShine 3s linear infinite;
}
@keyframes vcShine {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
.vc-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(237,28,36,0.35);
  position: relative;
  z-index: 1;
}
.vc-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.vc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}
.vc-num {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  font-variant-numeric: tabular-nums;
}
.vc-label {
  font-size: 9.5px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 2px;
}
.vc-divider {
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}
.vc-pulse {
  position: absolute;
  top: 12px; right: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  animation: vcPulse 1.8s ease-in-out infinite;
}
@keyframes vcPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.visit-counter:hover .vc-inner {
  transform: translateX(-2px);
  box-shadow: -10px 10px 32px rgba(0,0,0,0.12), -2px 2px 12px rgba(237,28,36,0.12);
}
@media (max-width: 768px) {
  .visit-counter { display: none; }
}

/* ========== NEWSLETTER SUBSCRIBE MODAL ========== */
.newsletter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,15,20,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 20px;
}
.newsletter-overlay.show { opacity: 1; visibility: visible; }
.newsletter-modal {
  position: relative;
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 420px;
  padding: 36px 28px 26px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease;
  overflow: hidden;
}
.newsletter-overlay.show .newsletter-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.newsletter-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--sun), var(--primary));
  background-size: 200% 100%;
  animation: vcShine 3s linear infinite;
}
.newsletter-modal::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(237,28,36,0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.nl-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.05);
  color: #555;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  transition: all var(--transition);
  z-index: 2;
}
.nl-close:hover {
  background: var(--primary);
  color: #fff;
  transform: rotate(90deg);
}
.nl-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 10px 28px rgba(237,28,36,0.35);
  position: relative;
  z-index: 1;
  animation: nlBellSwing 2.4s ease-in-out infinite;
}
.nl-icon-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0.5;
  animation: nlBellRing 2s ease-out infinite;
}
@keyframes nlBellSwing {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-12deg); }
  40% { transform: rotate(10deg); }
  60% { transform: rotate(-6deg); }
  80% { transform: rotate(4deg); }
}
@keyframes nlBellRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
.newsletter-modal h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.nl-sub {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 22px;
  padding: 0 6px;
}
.nl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px auto 14px;
  padding: 13px 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 6px 18px rgba(237,28,36,0.3);
}
.nl-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(237,28,36,0.4); }
.nl-btn:active { transform: translateY(0); }
.nl-skip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 22px;
  cursor: pointer;
  transition: all var(--transition);
}
.nl-skip:hover {
  background: #fafafa;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
@media (max-width: 480px) {
  .newsletter-modal { padding: 30px 22px 22px; }
  .newsletter-modal h3 { font-size: 19px; }
  .nl-sub { font-size: 13px; }
}

/* ========== ANIMATIONS ========== */
[data-animate] {
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(0.4,0,0.2,1), transform 0.55s cubic-bezier(0.4,0,0.2,1);
  will-change: transform, opacity;
}
[data-animate="fade-up"] { transform: translateY(22px); }
[data-animate="fade-left"] { transform: translateX(22px); }
[data-animate="fade-right"] { transform: translateX(-22px); }
[data-animate="zoom"] { transform: scale(0.95); }
[data-animate].in {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ========== LANGUAGE TOGGLE ========== */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-soft);
  border: none;
  border-radius: 22px;
  padding: 3px;
  margin: 0 6px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.lang-toggle:hover {
  background: #ececec;
  box-shadow: 0 2px 8px rgba(237,28,36,0.15);
}
.lang-toggle::before {
  content: '';
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  background: linear-gradient(135deg, var(--primary), var(--orange));
  border-radius: 18px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(237,28,36,0.3);
  z-index: 0;
}
.lang-toggle.en::before {
  transform: translateX(100%);
}
.lt-opt {
  position: relative;
  z-index: 1;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #555;
  transition: color 0.3s ease;
  user-select: none;
  min-width: 36px;
  text-align: center;
  letter-spacing: 0.2px;
}
.lt-opt.active {
  color: white;
}

/* Mobile Language Toggle (compact) */
.lang-toggle.mobile-lang {
  margin: 0;
  border-radius: 18px;
  padding: 2px;
}
.lang-toggle.mobile-lang .lt-opt {
  padding: 4px 10px;
  font-size: 13px;
  min-width: 28px;
}
.lang-toggle.mobile-lang::before {
  border-radius: 14px;
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: calc(50% - 2px);
}

/* Click ripple */
.lang-toggle:active { transform: scale(0.96); }

/* Tooltip on hover */
.lang-toggle::after {
  content: attr(title);
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 1000;
}
.lang-toggle:hover::after { opacity: 1; }

/* English mode adjustments */
html[lang="en"] body {
  font-family: 'Inter', 'Mukta', system-ui, sans-serif;
}
html[lang="en"] .featured-title,
html[lang="en"] .news-row h2 {
  letter-spacing: -0.2px;
}

/* Smooth text fade on language switch */
.lang-switching * {
  transition: opacity 0.25s ease !important;
}
.lang-switching [data-hi], .lang-switching [data-en] {
  opacity: 0.4;
}

/* ========== MOBILE-ONLY ELEMENTS ========== */

/* Mobile Top Icons (Plain - no border) */
.mobile-top-icons {
  display: none;
  align-items: center;
  gap: 14px;
}
.mobile-top-icons a {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: #1a1a1a;
  border-radius: 6px;
  transition: all var(--transition);
  position: relative;
}
.mobile-top-icons a:hover, .mobile-top-icons a:active {
  color: var(--primary);
  transform: scale(1.1);
}

/* Join Us button — pro quality, minimal black with elegant red dot */
.join-us-btn {
  color: #1a1a1a !important;
  width: 30px !important;
  height: 30px !important;
  position: relative;
}
.join-us-btn i {
  font-size: 17px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}
.join-us-btn .join-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px #fff, 0 1px 3px rgba(237,28,36,0.4);
  animation: joinPulse 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes joinPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.85;
  }
}
.join-us-btn .join-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.4;
  animation: joinRipple 2s ease-out infinite;
  z-index: -1;
}
@keyframes joinRipple {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}
.join-us-btn:hover {
  color: var(--primary) !important;
  transform: scale(1.08);
}
.join-us-btn:hover i {
  animation: joinShake 0.6s ease;
}
@keyframes joinShake {
  0%, 100% { transform: rotate(0) scale(1); }
  25% { transform: rotate(-10deg) scale(1.05); }
  75% { transform: rotate(10deg) scale(1.05); }
}

/* Mobile Horizontal Category Scroll */
.mobile-cat-scroll {
  display: none;
  overflow-x: auto;
  scrollbar-width: none;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 8px 12px 0;
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  -webkit-overflow-scrolling: touch;
}
.mobile-cat-scroll::-webkit-scrollbar { display: none; }
.mobile-cat-scroll {
  display: none;
  white-space: nowrap;
}
.mc-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px 12px;
  margin-right: 16px;
  font-size: 14.5px;
  font-weight: 700;
  color: #2a2a2a;
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
}
.mc-item i { font-size: 17px; }
.mc-item img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.mc-item:active img { transform: scale(0.92); }
.mc-item.active { color: var(--text); }
.mc-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--orange));
  border-radius: 2px 2px 0 0;
  animation: catUnderline 0.3s ease;
}
@keyframes catUnderline {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Mobile Floating "ऐप खोलें" CTA */
.mobile-app-cta {
  display: none;
  position: fixed;
  bottom: 78px;
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  background: #1a1a1a;
  color: white;
  border-radius: 28px;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  z-index: 95;
  animation: ctaFloat 3s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes ctaFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}
.mobile-app-cta i { font-size: 16px; }
.mobile-app-cta:active { transform: translateX(-50%) scale(0.97); }

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
  z-index: 100;
  padding: 6px 0 max(6px, env(safe-area-inset-bottom));
  justify-content: space-around;
  align-items: center;
}
.mb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 2px;
  font-size: 10.5px;
  font-weight: 600;
  color: #888;
  transition: color var(--transition);
  flex: 1;
  min-height: 52px;
  justify-content: center;
  position: relative;
}
.mb-item i {
  font-size: 19px;
  transition: transform var(--transition);
}
.mb-item:active i { transform: scale(0.88); }
.mb-item.active {
  color: var(--primary);
}
.mb-item.active i {
  color: var(--primary);
  filter: drop-shadow(0 0 6px rgba(237,28,36,0.3));
}
.mb-item.active span {
  font-weight: 800;
}
/* No line indicator above items - clean look */
/* Center video button — slightly bigger/highlighted */
.mb-item-center i {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  color: white !important;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-top: -8px;
  box-shadow: 0 4px 12px rgba(237,28,36,0.4);
  filter: none !important;
}
.mb-item-center.active i {
  filter: drop-shadow(0 0 10px rgba(237,28,36,0.5)) !important;
}
.mb-item-center span {
  margin-top: 0;
}

/* ========== DESKTOP PRO QUALITY (Colored Headlines + List Style) ========== */
@media (min-width: 769px) {
  /* Tight stacking — no gap between consecutive news rows */
  .main-content {
    gap: 0;
  }
  /* Re-add gaps between section headers and clusters */
  .main-content > .cat-section-header,
  .main-content > .featured-cluster,
  .main-content > .featured-story,
  .main-content > .live-strip,
  .main-content > .google-strip,
  .main-content > .inline-ad,
  .main-content > .section-block,
  .main-content > .load-more {
    margin-top: 14px;
  }
  .main-content > .featured-story:first-child,
  .main-content > :first-child {
    margin-top: 0;
  }

  /* News rows behave as list items in unified container */
  .news-row {
    border-radius: 0;
    box-shadow: none !important;
    border: none;
    border-bottom: 1px solid #ececec;
    background: #fff;
    padding: 16px 18px;
    transform: none !important;
  }
  .news-row::before { display: none; }
  .news-row::after { display: none; }
  .news-row:hover {
    background: #fafafa;
    box-shadow: none !important;
  }

  /* First news row after section header — top rounded */
  .cat-section-header + .news-row {
    border-radius: 10px 10px 0 0;
    border-top: 1px solid #ececec;
    margin-top: 0;
  }
  /* Last news before another section/cluster — bottom rounded */
  .news-row:has(+ .cat-section-header),
  .news-row:has(+ .featured-cluster),
  .news-row:has(+ .load-more),
  .news-row:has(+ .section-block),
  .news-row:has(+ .google-strip),
  .news-row:has(+ .inline-ad),
  .news-row:last-child {
    border-radius: 0 0 10px 10px;
    border-bottom: 1px solid #ececec;
  }
  /* Remove inner border between adjacent rows visual cleanup */
  .news-row + .news-row {
    border-top: none;
  }

  /* Featured cluster main also list-style */
  .featured-cluster {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ececec;
  }
  .featured-cluster .featured-main {
    border-radius: 0;
    border-bottom: 1px solid #ececec;
    border: none;
    border-bottom: 1px solid #ececec;
  }
  .featured-cluster .mini-cards-grid {
    padding: 14px;
  }

  /* Show inline tag on desktop (since headlines are black, tag shows category) */
  .news-row .inline-tag,
  .news-row .live-tag {
    display: inline-block;
  }
  .news-row .live-tag {
    display: inline-flex;
  }

  /* Default: All headlines BLACK on desktop */
  .news-row h2 {
    color: #1a1a1a;
  }

  /* Special rows: LIVE and Exclusive get colored headlines (stand out) */
  .news-row.live-row h2 {
    color: #e91e2c;
  }
  .news-row.exclusive-row h2 {
    color: #ef6c00;
  }

  /* Manual: add .colored-h class to any row for colored headline */
  .news-row.colored-h:has(.inline-tag.red) h2 { color: #e91e2c; }
  .news-row.colored-h:has(.inline-tag.green) h2 { color: #2e7d32; }
  .news-row.colored-h:has(.inline-tag.blue) h2 { color: #1976d2; }
  .news-row.colored-h:has(.inline-tag.pink) h2 { color: #c2185b; }
  .news-row.colored-h:has(.inline-tag.orange) h2 { color: #ef6c00; }
  .news-row.colored-h:has(.inline-tag[style*="6a1b9a"]) h2 { color: #7b1fa2; }

  /* Hover: subtle darker shade for black headlines */
  .news-row:hover h2 {
    color: #000;
  }
  .news-row.live-row:hover h2 {
    color: var(--primary-dark);
  }
  .news-row.exclusive-row:hover h2 {
    color: #c25400;
  }

  /* Pro headline size & weight on desktop — bigger, bolder, clear */
  .news-row h2 {
    font-size: 17.5px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    letter-spacing: -0.3px;
    margin-bottom: 14px !important;
  }

  /* Share icons - ALWAYS visible on desktop, plain minimal style */
  .news-row .share-row {
    gap: 14px !important;
  }
  .news-row .share-row a {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #888 !important;
    width: 22px !important;
    height: 22px !important;
    font-size: 15px !important;
  }
  .news-row .share-row a:hover {
    background: transparent !important;
    transform: scale(1.2) !important;
    box-shadow: none !important;
  }
  .news-row .share-row a.sc-facebook:hover { color: #1877F2 !important; }
  .news-row .share-row a.sc-x:hover { color: #000 !important; }
  .news-row .share-row a.sc-link:hover { color: var(--primary) !important; }

  /* On desktop: show WhatsApp + FB + X + Link + Instagram */
  .news-row .share-row .sc-whatsapp {
    display: inline-flex !important;
  }
  .news-row .share-row .sc-instagram {
    display: inline-flex !important;
  }
  /* Brand color hover */
  .news-row .share-row a.sc-whatsapp:hover { color: #25D366 !important; }

  /* Refined cat-link button - more elegant */
  .news-row .cat-link {
    background: transparent !important;
    border: 1px solid #d8d8d8 !important;
    color: #666 !important;
    padding: 5px 16px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    border-radius: 18px !important;
  }
  .news-row .cat-link::before {
    background: linear-gradient(135deg, var(--primary), var(--orange)) !important;
  }
  .news-row .cat-link:hover {
    border-color: transparent !important;
    color: white !important;
  }
  .news-row .cat-link i {
    font-size: 9px !important;
    margin-left: 2px;
  }

  /* Cleaner news-bottom — no dashed border for minimal look */
  .news-row .news-bottom {
    border-top: 1px solid rgba(0,0,0,0.04);
    padding-top: 10px;
  }
  .news-row:hover .news-bottom {
    border-top-color: rgba(237,28,36,0.08);
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .layout-grid { grid-template-columns: 165px 1fr 280px; gap: 16px; }
  .featured-title { font-size: 20px; }
}

@media (max-width: 1050px) {
  .layout-grid { grid-template-columns: 160px 1fr; gap: 14px; }
  .right-sidebar { display: none; }
  .featured-title { font-size: 19px; }
}

@media (max-width: 900px) {
  :root { --header-h: 56px; }
  .layout-grid { grid-template-columns: 1fr; }
  .left-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .left-sidebar > * { flex-shrink: 0; min-width: 220px; }
  .cat-list { display: flex; min-width: max-content; }
  .cat-list li a { white-space: nowrap; padding: 8px 12px; }
  .top-nav .nav-item:not(.active):not(.profile) span { display: none; }
  .nav-item { padding: 8px 11px; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .featured-title { font-size: 18px; }
  .news-row h2 { font-size: 15px; }
}

@media (max-width: 768px) {
  :root { --header-h: 54px; }
  .container { padding: 0 12px; }
  .header-flex { gap: 10px; }
  .brand-mark { font-size: 22px; }
  .sun-icon { font-size: 17px; }

  /* Smaller logo on mobile */
  .brand-mark .logo-img { height: 58px; }
  .logo-img-loader .logo-img { height: 70px; }
  body.logo-size-sm .brand-mark .logo-img { height: 46px; }
  body.logo-size-md .brand-mark .logo-img { height: 58px; }
  body.logo-size-lg .brand-mark .logo-img { height: 54px; }
  body.logo-size-xl .brand-mark .logo-img { height: 64px; }

  /* Hide desktop nav, show mobile icons */
  .desktop-nav { display: none !important; }
  .mobile-top-icons { display: inline-flex; }
  .menu-toggle { display: none; }

  /* Show mobile category scroll */
  .mobile-cat-scroll { display: block; }

  /* Hide desktop trending bar (replaced by mobile scroll) */
  .trending-bar { padding: 6px 0; }
  .trending-flex { gap: 8px; }
  .trending-label { font-size: 13px; }
  .chip { padding: 5px 12px; font-size: 13px; }

  /* Show mobile bottom nav + app CTA */
  .mobile-bottom-nav { display: flex; }
  .mobile-app-cta { display: inline-flex; }

  .scroll-top { bottom: 18px; right: 16px; width: 42px; height: 42px; }

  /* Add bottom padding so content doesn't hide behind bottom nav */
  body { padding-bottom: 64px; }

  .news-row { grid-template-columns: 1fr 38%; gap: 14px; padding: 12px; }
  .news-row h2 { font-size: 14.5px; }
  .news-row-img { aspect-ratio: 4/3; }
  .featured-title { font-size: 17px; }
  .featured-story { padding: 14px 14px 0; }
  /* Footer: brand spans full width, link cols in 2x2 grid */
  .site-footer { padding: 28px 0 0; }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
    padding-bottom: 22px;
  }
  .footer-col:first-child {
    grid-column: 1 / -1;
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 4px;
  }
  .footer-col:first-child .brand-mark {
    justify-content: center;
    font-size: 26px;
  }
  .footer-col:first-child p {
    margin: 10px auto 14px;
    max-width: 320px;
    font-size: 13px;
    color: #a8a8a8;
  }
  .footer-col:first-child .social-row {
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
  }
  .footer-col:first-child .social-row a {
    width: 36px; height: 36px; font-size: 14px;
  }
  .footer-col h4 {
    font-size: 13.5px;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
  }
  .footer-col h4::after { width: 20px; }
  .footer-col ul li { margin-bottom: 6px; }
  .footer-col ul li a { font-size: 12.5px; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 14px 0 18px;
  }
  .footer-bottom p { font-size: 11.5px; line-height: 1.5; }
  .footer-bottom-social { justify-content: center; }
  .reporter-badge { padding: 4px 12px 4px 4px; }
  .reporter-badge img { width: 32px; height: 32px; }
  .reporter-badge small { font-size: 10px; }
  .reporter-badge strong { font-size: 12px; }
  .bengal-badge { font-size: 11px; padding: 4px 10px; }
  .bengal-badge .bb-flag { font-size: 14px; }
  .bengal-badge b { font-size: 12px; }
  .big-play-btn { width: 56px; height: 56px; font-size: 19px; }
  .duration-badge { font-size: 11px; padding: 3px 8px; bottom: 8px; right: 8px; }
}

@media (max-width: 540px) {
  .brand-mark { font-size: 19px; }
  .nav-item { padding: 6px 8px; gap: 0; }
  .nav-item.active span { display: none; }
  .left-sidebar { display: none; }

  /* Even smaller logo on phones */
  .brand-mark .logo-img { height: 50px; }
  .logo-img-loader .logo-img { height: 62px; }
  body.logo-size-sm .brand-mark .logo-img { height: 40px; }
  body.logo-size-md .brand-mark .logo-img { height: 50px; }
  body.logo-size-lg .brand-mark .logo-img { height: 48px; }
  body.logo-size-xl .brand-mark .logo-img { height: 56px; }

  /* DEFAULT: Compact side-by-side layout (image on right) — for 2nd, 3rd news */
  .news-row {
    display: grid;
    grid-template-columns: 1fr 38%;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
  }
  .news-row-img {
    aspect-ratio: 4/3;
    border-radius: 6px;
    order: 0;
    width: auto;
  }
  .news-row h2 {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 6px;
  }
  .news-row .news-bullets { display: none; }
  /* Cat link + share icons on SAME line */
  .news-row .news-bottom {
    padding-top: 8px;
    display: flex;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
  }
  .news-row .news-bottom .cat-link {
    flex-shrink: 0;
    font-size: 11.5px;
    padding: 4px 10px;
  }
  .news-row .news-bottom .share-row {
    flex-shrink: 0;
    gap: 8px;
  }
  .news-row .news-bottom .share-row a {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
  .row-play {
    width: 36px; height: 36px;
    font-size: 12px;
  }
  .row-duration {
    bottom: 6px; right: 6px;
    padding: 2px 7px;
    font-size: 11px;
  }

  /* FIRST news after each category section header — BIG stacked layout */
  .cat-section-header + .news-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    border-radius: 12px !important;
    overflow: hidden;
  }
  .cat-section-header + .news-row .news-row-img {
    aspect-ratio: 16/9 !important;
    border-radius: 0 !important;
    width: 100% !important;
    box-shadow: none !important;
    order: -1;
  }
  .cat-section-header + .news-row .news-row-content {
    padding: 14px 14px 12px !important;
  }
  .cat-section-header + .news-row h2 {
    font-size: 15.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
  }
  .cat-section-header + .news-row .news-bullets {
    display: block !important;
    margin: 6px 0 8px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
  }
  .cat-section-header + .news-row .news-bullets li {
    font-size: 12.5px !important;
    padding-left: 0 !important;
  }
  .cat-section-header + .news-row .news-bullets li::before {
    content: none !important;
  }
  .cat-section-header + .news-row .row-play {
    width: 54px !important;
    height: 54px !important;
    font-size: 17px !important;
  }
  .cat-section-header + .news-row .row-duration {
    bottom: 10px !important;
    right: 10px !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
  }

  .featured-title { font-size: 16px; }
  .cat-link { font-size: 12px; padding: 4px 10px; }
  .share-row a { width: 28px; height: 28px; font-size: 12px; }
  .reporter-badge {
    top: 8px; left: 8px;
    padding: 3px 10px 3px 3px;
  }
  .reporter-badge img { width: 28px; height: 28px; }
  .reporter-badge small { font-size: 9px; }
  .reporter-badge strong { font-size: 11px; }
  .bengal-badge { top: 8px; right: 8px; padding: 3px 8px; font-size: 10px; }
  .big-play-btn { width: 48px; height: 48px; font-size: 16px; }
  .cta-text h2 { font-size: 19px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 18px; }
}

@media (max-width: 380px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .footer-col h4 { font-size: 13px; }
  .footer-col ul li a { font-size: 12px; }
  .nav-item.active span { display: none; }
  .featured-title { font-size: 15px; }
  .news-row { grid-template-columns: 1fr 40%; gap: 10px; padding: 10px; }
  .news-row h2 { font-size: 13.5px; }
  .news-row-content { padding: 0; }
  .cat-section-header + .news-row .news-row-content { padding: 12px 12px 10px !important; }
  .cat-section-header + .news-row h2 { font-size: 14.5px !important; }
  .reporter-badge strong { font-size: 10px; }
  .reporter-badge small { display: none; }
}

/* ========================================================================
   NEW PAGES (Video, E-Paper, About, Contact, Career, Terms)
   ======================================================================== */

/* Page hero (shared across new pages) */
.page-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: #fff;
  padding: 32px 0 28px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(237,28,36,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb i { font-size: 9px; opacity: 0.6; }
.page-title {
  font-size: 32px; font-weight: 800;
  display: flex; align-items: center; gap: 12px;
  margin: 0;
}
.page-title i { color: var(--orange); }
.page-subtitle { color: rgba(255,255,255,0.75); font-size: 15px; margin-top: 8px; }

/* ========== VIDEO PAGE ========== */
.vid-cat-bar {
  position: sticky; top: var(--header-h);
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.vid-cat-pills {
  display: flex; gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.vid-cat-pills::-webkit-scrollbar { display: none; }
.vid-pill {
  flex: 0 0 auto;
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.vid-pill:hover { border-color: var(--primary); color: var(--primary); }
.vid-pill.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(237,28,36,0.25);
}

.video-page-main { padding: 28px 0 60px; }

.featured-video {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 32px;
}
.fv-player {
  position: relative;
  background: #000;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.fv-player img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.fv-play {
  position: absolute; inset: 0; margin: auto;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  color: var(--primary); font-size: 26px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform var(--transition);
}
.fv-play:hover { transform: scale(1.1); }
.fv-live {
  position: absolute; top: 14px; left: 14px;
  background: var(--primary); color: #fff;
  padding: 5px 12px; border-radius: 4px;
  font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%; background: #fff;
  animation: livePulse 1.4s infinite;
}
@keyframes livePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.fv-duration {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(0,0,0,0.75); color: #fff;
  padding: 4px 10px; border-radius: 4px;
  font-size: 12.5px; font-weight: 600;
}
.fv-meta { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.fv-meta h2 {
  font-size: 22px; font-weight: 700; line-height: 1.4;
  margin: 12px 0 16px;
}
.fv-info {
  display: flex; gap: 18px;
  font-size: 13px; color: var(--text-muted);
}
.fv-info i { margin-right: 5px; opacity: 0.7; }

/* Section header */
.section-header-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.section-header-bar h2 {
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.section-header-bar h2 i { color: var(--primary); }
.more-link {
  color: var(--primary); font-weight: 600; font-size: 14px;
  text-decoration: none;
}
.more-link:hover { text-decoration: underline; }

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.video-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.vid-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}
.vid-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .vid-thumb img { transform: scale(1.06); }
.vid-play {
  position: absolute; inset: 0; margin: auto;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--primary);
  border: none;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  opacity: 0; transform: scale(0.8);
  transition: all var(--transition);
}
.video-card:hover .vid-play { opacity: 1; transform: scale(1); }
.vid-time {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.78); color: #fff;
  padding: 3px 8px; border-radius: 3px;
  font-size: 11.5px; font-weight: 600;
}
.vid-body { padding: 14px 16px 16px; }
.vid-cat {
  display: inline-block;
  font-size: 11.5px; font-weight: 700;
  color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.4px;
  margin-bottom: 6px;
}
.vid-cat.pink { color: #c2185b; }
.vid-cat.blue { color: #1565c0; }
.vid-cat.green { color: #2e8b57; }
.vid-body h3 {
  font-size: 14.5px; font-weight: 700; line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.vid-meta {
  display: flex; gap: 14px;
  font-size: 12px; color: var(--text-muted);
}
.vid-meta i { margin-right: 4px; opacity: 0.7; }

/* ========== EPAPER PAGE ========== */
.ep-toolbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky; top: var(--header-h);
  z-index: 50;
}
.ep-toolbar-flex {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ep-select-group { display: flex; align-items: center; gap: 8px; }
.ep-select-group label {
  font-size: 13px; font-weight: 600; color: var(--text-light);
}
.ep-select {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13.5px; font-weight: 600;
  background: #fff;
  cursor: pointer;
}
.ep-select:focus { border-color: var(--primary); outline: none; }
.ep-actions { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.ep-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  background: #f5f5f5;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}
.ep-btn:hover { background: #ebebeb; border-color: #ccc; }
.ep-btn.primary {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
}
.ep-btn.primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.epaper-main { padding: 28px 0 60px; }

.ep-featured { margin-bottom: 36px; }
.ep-featured-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 24px;
}
.ep-featured-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #f0f0f0;
}
.ep-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-page-num {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #fff;
  padding: 16px 14px 10px;
  font-size: 12.5px; font-weight: 600;
}
.ep-featured-info { display: flex; flex-direction: column; }
.ep-edition-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  align-self: flex-start;
}
.ep-featured-info h2 {
  font-size: 26px; font-weight: 800;
  margin: 12px 0 4px;
}
.ep-date { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.ep-highlights { list-style: none; margin: 0 0 20px; padding: 0; }
.ep-highlights li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  font-size: 14px; line-height: 1.5;
  display: flex; align-items: flex-start; gap: 10px;
}
.ep-highlights li:last-child { border-bottom: none; }
.ep-highlights i { color: var(--primary); font-size: 7px; margin-top: 8px; }
.ep-read-btn {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(237,28,36,0.3);
  transition: transform var(--transition);
}
.ep-read-btn:hover { transform: translateY(-2px); }

/* E-paper pages grid */
.ep-pages-section { margin-bottom: 36px; }
.ep-view-toggle { display: flex; gap: 4px; }
.ep-view-toggle button {
  width: 34px; height: 34px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-light); font-size: 13px;
  cursor: pointer;
}
.ep-view-toggle button.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.ep-pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.ep-pages-grid.list-view {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.ep-page-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}
.ep-page-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.ep-page-thumb {
  position: relative;
  aspect-ratio: 3/4;
  background: #f3f3f3;
  overflow: hidden;
}
.ep-page-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep-zoom {
  position: absolute; top: 8px; right: 8px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  opacity: 0;
  transition: opacity var(--transition);
}
.ep-page-card:hover .ep-zoom { opacity: 1; }
.ep-page-label {
  text-align: center;
  padding: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--text-light);
}

/* Archive */
.ep-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.ep-arch-card {
  display: block;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: all var(--transition);
}
.ep-arch-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ep-arch-card img {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover; display: block;
}
.ep-arch-meta {
  padding: 10px 12px;
  display: flex; flex-direction: column;
}
.ep-arch-meta strong { color: var(--text); font-size: 14px; }
.ep-arch-meta span { color: var(--text-muted); font-size: 12px; }

/* ========== STATIC PAGES (About, Contact, Career, Terms) ========== */
.static-main { padding: 36px 0 60px; }
.static-article {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 38px 44px;
  max-width: 920px;
  margin: 0 auto;
  line-height: 1.75;
}
.static-article h2 {
  font-size: 24px; font-weight: 800;
  margin: 28px 0 14px;
  color: var(--text);
}
.static-article h2:first-child { margin-top: 0; }
.static-article h3 {
  font-size: 19px; font-weight: 700;
  margin: 22px 0 10px;
  color: var(--text);
}
.static-article p { margin: 0 0 14px; color: var(--text-light); font-size: 15.5px; }
.static-article ul, .static-article ol { margin: 10px 0 18px 22px; }
.static-article li { margin-bottom: 8px; color: var(--text-light); }
.static-article a { color: var(--primary); }

/* Stats row (About) */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin: 24px 0 28px;
}
.stat-card {
  background: linear-gradient(135deg, #fff8f0, #fff);
  border: 1px solid #ffe0c0;
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.stat-card strong {
  display: block;
  font-size: 28px; font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.stat-card span { font-size: 13px; color: var(--text-muted); font-weight: 600; }

.value-list { list-style: none !important; margin-left: 0 !important; }
.value-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex; gap: 14px; align-items: flex-start;
}
.value-list li:last-child { border-bottom: none; }
.value-list i {
  color: var(--primary);
  font-size: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.cta-block {
  margin-top: 32px;
  padding: 24px;
  background: linear-gradient(135deg, #fff5f5, #fff);
  border: 1px solid #ffd6d8;
  border-radius: var(--radius-lg);
  text-align: center;
}
.cta-block h3 { margin-bottom: 8px; }
.cta-block-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }

/* ========== CONTACT PAGE ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-info { display: grid; gap: 16px; align-content: start; }
.info-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
}
.info-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  margin-bottom: 12px;
}
.info-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.info-card p { font-size: 13.5px; color: var(--text-light); line-height: 1.6; margin: 0; }
.info-card a { color: var(--primary); text-decoration: none; }
.info-card a:hover { text-decoration: underline; }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 30px 32px;
}
.contact-form h2 { font-size: 22px; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 13px; font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-light);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: #fafafa;
  transition: all var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(237,28,36,0.08);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; }

/* ========== CAREER PAGE ========== */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 14px 0 26px;
}
.perk-card {
  background: linear-gradient(135deg, #fff, #fafafa);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all var(--transition);
}
.perk-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #ffd6d8; }
.perk-card i {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 10px;
}
.perk-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.perk-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

.jobs-list { display: grid; gap: 12px; margin: 14px 0 26px; }
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.job-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.job-dept {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 4px;
}
.job-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.job-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--text-muted);
}
.job-meta i { margin-right: 4px; opacity: 0.7; }
.job-apply {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  background: var(--primary); color: #fff;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
}
.job-apply:hover { background: var(--primary-dark); transform: translateX(2px); }

/* ========== TERMS PAGE ========== */
.terms-article section { margin-bottom: 32px; scroll-margin-top: 90px; }
.terms-toc {
  background: #f8f9fa;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-bottom: 32px;
}
.terms-toc strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  color: var(--text-muted);
}
.terms-toc ol { margin: 0 0 0 20px; }
.terms-toc li { margin-bottom: 4px; }
.terms-toc a { color: var(--text); text-decoration: none; font-weight: 600; }
.terms-toc a:hover { color: var(--primary); }

/* ========== RESPONSIVE (new pages) ========== */
@media (max-width: 900px) {
  .featured-video { grid-template-columns: 1fr; }
  .ep-featured-card { grid-template-columns: 1fr; gap: 20px; }
  .ep-featured-img { max-width: 360px; margin: 0 auto; aspect-ratio: 3/4; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-hero { padding: 22px 0 20px; }
  .page-title { font-size: 24px; }
  .page-subtitle { font-size: 13.5px; }
  .static-article { padding: 24px 18px; border-radius: var(--radius); }
  .static-article h2 { font-size: 20px; }
  .static-article h3 { font-size: 17px; }
  .video-grid { grid-template-columns: 1fr; gap: 16px; }
  .ep-pages-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  .ep-archive-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .job-card { flex-direction: column; align-items: flex-start; }
  .job-apply { align-self: stretch; justify-content: center; }
  .ep-actions { width: 100%; }
  .ep-toolbar-flex { gap: 10px; }
  .fv-meta { padding: 18px; }
  .fv-meta h2 { font-size: 17px; }
  .fv-play { width: 60px; height: 60px; font-size: 20px; }
}

/* ========================================================================
   E-PAPER PAGE V2 (Bhaskar-style: state/city sidebar + reader + tabs)
   ======================================================================== */
.page-epaper { background: #f3f4f6; }

/* Masthead */
.ep2-masthead {
  background: linear-gradient(135deg, #ed1c24 0%, #c40d14 100%);
  color: #fff;
  padding: 22px 0 20px;
  position: relative;
  overflow: hidden;
}
.ep2-masthead::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255,255,255,0.12), transparent 60%);
  pointer-events: none;
}
.ep2-masthead-flex {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.ep2-title h1 {
  font-size: 28px; font-weight: 800;
  display: flex; align-items: center; gap: 12px;
  margin: 0;
}
.ep2-title h1 i { color: #ffd54f; }
.ep2-title p { color: rgba(255,255,255,0.92); font-size: 14px; margin-top: 4px; font-weight: 500; }

.ep2-date-pager {
  display: flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,0.18);
  border-radius: 999px;
  padding: 4px;
  backdrop-filter: blur(8px);
}
.ep2-pager-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  transition: background var(--transition);
}
.ep2-pager-btn:hover { background: rgba(255,255,255,0.18); }
.ep2-date-input {
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13.5px; font-weight: 600;
  color: #333;
  cursor: pointer;
  font-family: inherit;
}
.ep2-today-btn {
  background: #ffd54f;
  color: #5d2b00;
  border: none;
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 700; font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
}
.ep2-today-btn:hover { background: #ffca28; transform: translateY(-1px); }

.ep2-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ep2-action {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all var(--transition);
}
.ep2-action:hover { background: rgba(255,255,255,0.28); transform: translateY(-1px); }
.ep2-action.premium {
  background: linear-gradient(135deg, #ffd54f, #ffa726);
  color: #5d2b00;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255,167,38,0.35);
}
.ep2-action.premium:hover { background: linear-gradient(135deg, #ffca28, #ff9800); }

/* Tabs bar */
.ep2-tabs-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: var(--header-h);
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.ep2-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.ep2-tabs::-webkit-scrollbar { display: none; }
.ep2-tab {
  flex: 0 0 auto;
  padding: 14px 22px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 14px; font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.ep2-tab i { font-size: 13px; opacity: 0.85; }
.ep2-tab:hover { color: var(--primary); background: rgba(237,28,36,0.04); }
.ep2-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(237,28,36,0.04);
}

/* Layout: sidebar + content */
.ep2-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 24px 16px 60px;
}

/* Sidebar */
.ep2-sidebar { display: flex; flex-direction: column; gap: 16px; align-self: start; position: sticky; top: calc(var(--header-h) + 60px); }
.ep2-sidebar-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.ep2-sidebar-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #fafafa, #fff);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.ep2-sidebar-head i { color: var(--primary); font-size: 14px; }
.ep2-sidebar-head strong { font-size: 14px; font-weight: 700; }

.ep2-state-select {
  padding: 14px 18px 8px;
  border-bottom: 1px solid var(--border-soft);
}
.ep2-state-select label {
  display: block;
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.ep2-state-select select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px; font-weight: 600;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
}
.ep2-state-select select:focus { border-color: var(--primary); outline: none; }

.ep2-city-list-wrap { padding: 10px 12px 12px; }
.ep2-city-select-mobile {
  display: none;
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px; font-weight: 600;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  margin-top: 4px;
  appearance: auto;
  color: var(--text);
}
.ep2-city-select-mobile:focus { border-color: var(--primary); outline: none; }
.ep2-city-list-head {
  display: block;
  padding: 6px 6px 8px;
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text-muted);
}
.ep2-city-list {
  list-style: none;
  margin: 0; padding: 0;
  max-height: 360px;
  overflow-y: auto;
}
.ep2-city-list::-webkit-scrollbar { width: 6px; }
.ep2-city-list::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }
.ep2-city-btn {
  width: 100%;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  font-size: 13.5px; font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  font-family: inherit;
}
.ep2-city-btn i { font-size: 11px; opacity: 0.5; }
.ep2-city-btn:hover { background: #f5f5f5; }
.ep2-city-btn.active {
  background: rgba(237,28,36,0.08);
  color: var(--primary);
}
.ep2-city-btn.active i { opacity: 1; }
.ep2-city-check { margin-left: auto; font-size: 11px !important; opacity: 1 !important; color: var(--primary); }

/* === Sidebar widgets (stats + trending) — fill empty column space === */
.ep2-side-widget {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: ep2WidgetIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.ep2-side-widget:nth-child(2) { animation-delay: 0.1s; }
.ep2-side-widget:nth-child(3) { animation-delay: 0.2s; }
@keyframes ep2WidgetIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ep2-side-widget-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: linear-gradient(135deg, #fafafa, #fff);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.ep2-side-widget-head i {
  color: var(--primary);
  font-size: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(237,28,36,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ep2-side-widget-head i {
  transition: transform 0.3s ease;
}
.ep2-side-widget:hover .ep2-side-widget-head i {
  transform: scale(1.15) rotate(-5deg);
}
.ep2-side-widget-head.trending i {
  color: #ff6f00;
  background: rgba(255,111,0,0.12);
  animation: ep2FlamePulse 1.5s ease-in-out infinite;
}
@keyframes ep2FlamePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.ep2-side-widget-head strong { font-size: 14px; font-weight: 700; }

/* Stats grid (2x2) */
.ep2-stats-list {
  list-style: none;
  margin: 0; padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ep2-stats-list li {
  background: linear-gradient(135deg, #fff5f5, #fff);
  border: 1px solid #ffd6d8;
  border-radius: 8px;
  padding: 12px 8px;
  text-align: center;
  transition: all var(--transition);
}
.ep2-stats-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(237,28,36,0.15);
}
.ep2-stats-list li strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 2px;
}
.ep2-stats-list li span {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Trending list */
.ep2-trending-list {
  list-style: none;
  margin: 0; padding: 6px 14px 12px;
  counter-reset: trending;
}
.ep2-trending-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
  border-bottom: 1px dashed #f0f0f0;
  cursor: pointer;
  transition: color var(--transition);
  counter-increment: trending;
}
.ep2-trending-list li:last-child { border-bottom: none; }
.ep2-trending-list li::before {
  content: counter(trending);
  position: absolute;
  left: 0;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6f00, #ff9500);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(255,111,0,0.3);
}
.ep2-trending-list li:hover {
  color: var(--primary);
}
.ep2-trending-list li:hover::before {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 2px 8px rgba(237,28,36,0.4);
}

/* Promo card */
.ep2-promo-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ep2-promo-card::before {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255,213,79,0.18), transparent 70%);
  pointer-events: none;
}
.ep2-promo-icon {
  font-size: 28px;
  color: #ffd54f;
  margin-bottom: 8px;
}
.ep2-promo-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.ep2-promo-card p { font-size: 12.5px; color: rgba(255,255,255,0.75); margin-bottom: 14px; line-height: 1.5; }
.ep2-promo-btn {
  display: inline-block;
  width: 100%;
  background: linear-gradient(135deg, #ffd54f, #ffa726);
  color: #5d2b00;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700; font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
}
.ep2-promo-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,167,38,0.35); }
.ep2-promo-btn.dark {
  background: var(--primary); color: #fff;
}
.ep2-promo-card small { display: block; margin-top: 8px; font-size: 11.5px; color: rgba(255,255,255,0.6); }

/* Content area */
.ep2-content { min-width: 0; }
.ep2-panel { display: none; animation: ep2FadeIn .25s ease; }
.ep2-panel.active { display: block; }
@keyframes ep2FadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Reader */
.ep2-reader {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 28px;
}
.ep2-reader-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap; gap: 12px;
}
.ep2-edition-pill {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}
.ep2-reader-head h2 { font-size: 18px; font-weight: 700; margin: 0; }
.ep2-reader-tools { display: flex; gap: 6px; }
.ep2-reader-tools button {
  width: 36px; height: 36px;
  background: #f5f5f5;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-light);
  cursor: pointer;
  font-size: 13px;
  transition: all var(--transition);
}
.ep2-reader-tools button:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-1px); }
.ep2-reader-tools .ep2-tool-dl {
  background: linear-gradient(135deg, #2e7d32, #43a047);
  color: #fff;
  border-color: #2e7d32;
  box-shadow: 0 2px 8px rgba(46,125,50,0.25);
}
.ep2-reader-tools .ep2-tool-dl:hover {
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  border-color: #1b5e20;
}
.ep2-ed-card.active {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(237,28,36,0.18), 0 0 0 2px rgba(237,28,36,0.15);
}

.ep2-reader-wrap {
  position: relative;
}
.ep2-reader-frame {
  position: relative;
  background:
    radial-gradient(ellipse at top, rgba(0,0,0,0.03), transparent 60%),
    linear-gradient(180deg, #fafbfc 0%, #eef0f3 100%);
  padding: 28px 90px 36px;
  min-height: 520px;
  max-height: 92vh;
  overflow: auto;
  display: flex;
  align-items: safe flex-start;
  justify-content: safe center;
}
/* Hard fallback for browsers without `safe`: when zoomed (content overflows),
   stick to start so user can scroll fully left and right */
.ep2-reader-frame[data-zoomed="true"] {
  justify-content: flex-start;
  align-items: flex-start;
}
.ep2-reader-frame::-webkit-scrollbar { width: 10px; height: 10px; }
.ep2-reader-frame::-webkit-scrollbar-track { background: rgba(0,0,0,0.04); }
.ep2-reader-frame::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.25); border-radius: 5px; }
.ep2-reader-frame::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.4); }

.ep2-flipbook-stage {
  position: relative;
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 720px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: top center;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2)) drop-shadow(0 4px 10px rgba(0,0,0,0.08));
  flex-shrink: 0;
}
.ep2-simple-page {
  width: 100%;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ep2-simple-page img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.ep2-flipbook img,
.ep2-flipbook canvas {
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}
/* Cursor hint when zoomed in for hand-pan */
.ep2-reader-frame[data-zoomed="true"] { cursor: grab; }
.ep2-reader-frame[data-zoomed="true"].ep2-panning { cursor: grabbing; }
.ep2-reader-frame[data-zoomed="true"] .ep2-flipbook,
.ep2-reader-frame[data-zoomed="true"] .ep2-flipbook * {
  cursor: grab;
}
.ep2-reader-frame[data-zoomed="true"].ep2-panning .ep2-flipbook,
.ep2-reader-frame[data-zoomed="true"].ep2-panning .ep2-flipbook * {
  cursor: grabbing;
}

.ep2-flip-loading {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px;
  text-align: center;
  pointer-events: none;
  z-index: 5;
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(245,247,250,0.7) 100%);
  backdrop-filter: blur(2px);
  animation: ep2LoadFadeIn 0.3s ease;
}
@keyframes ep2LoadFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Big animated loader ring (red gradient) */
.ep2-loader-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 5px solid rgba(237,28,36,0.12);
  border-top-color: var(--primary);
  border-right-color: var(--primary);
  animation: ep2LoaderSpin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  position: relative;
  margin-bottom: 4px;
}
.ep2-loader-ring::after {
  content: '\f1ea';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  animation: ep2LoaderPulse 1.6s ease-in-out infinite;
}
@keyframes ep2LoaderSpin {
  to { transform: rotate(360deg); }
}
@keyframes ep2LoaderPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.ep2-flip-loading i {
  font-size: 56px;
  color: var(--primary);
  opacity: 0.9;
  filter: drop-shadow(0 4px 10px rgba(237,28,36,0.18));
}
.ep2-flip-loading p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.2px;
}
.ep2-flip-loading p + p {
  margin-top: -8px;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  max-width: 320px;
}
.ep2-flip-loading strong {
  display: block;
  color: var(--text);
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.ep2-fb-arrow {
  position: sticky;
  top: 50%;
  align-self: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--primary);
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ep2-fb-arrow:hover:not(:disabled) {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(237,28,36,0.4);
}
.ep2-fb-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
/* Old absolute positioning removed — arrows are now sticky inside flex container,
   sitting in the frame's padding area, never overlapping the page */
.ep2-fb-arrow.prev {
  margin-right: 14px;
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}
.ep2-fb-arrow.next {
  margin-left: 14px;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}
.ep2-fb-arrow.prev:hover:not(:disabled),
.ep2-fb-arrow.next:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.08);
}
.ep2-reader-pgbadge {
  position: absolute;
  bottom: 14px;
  right: 18px;
  background: rgba(255,255,255,0.96);
  color: var(--primary);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  pointer-events: none;
  z-index: 11;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  border: 1px solid rgba(0,0,0,0.06);
}
.ep2-reader-page {
  position: relative;
  max-width: 540px; width: 100%;
  aspect-ratio: 3/4;
  background: #fff;
  box-shadow: 0 14px 36px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.08);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center top;
}
.ep2-reader-frame.is-fullscreen {
  background: #1a1a1a;
  padding: 24px;
  min-height: 100vh;
}
.ep2-reader-frame.is-fullscreen .ep2-reader-page {
  max-width: min(80vh * 0.75, 90vw);
  height: calc(100vh - 48px);
  aspect-ratio: 3/4;
}
.ep2-reader-page img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep2-reader-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  padding: 14px 16px 10px;
  color: #fff;
  font-size: 12.5px;
}
.ep2-reader-pgnum strong { font-weight: 800; }

/* Section heads in panels */
.ep2-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 18px 4px 14px;
  flex-wrap: wrap; gap: 8px;
  animation: ep2SectionHeadIn 0.5s ease both;
}
@keyframes ep2SectionHeadIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ep2-section-head h3 {
  font-size: 18px; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.ep2-section-head h3 i { color: var(--primary); font-size: 16px; }
.ep2-pg-info {
  font-size: 13px; color: var(--text-muted); font-weight: 500;
}
.ep2-pg-count {
  font-weight: 800; color: var(--primary); font-size: 15px;
  background: rgba(237,28,36,0.08);
  padding: 2px 10px; border-radius: 999px;
  margin-right: 4px;
}

/* Pages grid (thumbnail strip) */
.ep2-pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}
.ep2-pg-card {
  text-decoration: none; color: inherit;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: block;
  border: 2px solid transparent;
}
.ep2-pg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ep2-pg-card.active {
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(237,28,36,0.25);
}
.ep2-pg-thumb {
  position: relative;
  aspect-ratio: 3/4;
  background: #f3f4f6;
  overflow: hidden;
}
.ep2-pg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep2-pg-zoom {
  position: absolute; top: 6px; right: 6px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  opacity: 0;
  transition: opacity var(--transition);
}
.ep2-pg-card:hover .ep2-pg-zoom { opacity: 1; }
.ep2-pg-num {
  text-align: center;
  padding: 7px 6px;
  font-size: 12.5px; font-weight: 700;
  color: var(--text-light);
  background: #fafafa;
  border-top: 1px solid var(--border-soft);
}
.ep2-pg-card.active .ep2-pg-num { color: var(--primary); background: rgba(237,28,36,0.06); }

/* Magazine grid */
.ep2-mag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.ep2-mag-card {
  display: flex;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  border-left: 4px solid var(--primary);
}
.ep2-mag-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ep2-mag-card.pink { border-left-color: #c2185b; }
.ep2-mag-card.orange { border-left-color: #ef6c00; }
.ep2-mag-card.blue { border-left-color: #1565c0; }
.ep2-mag-card.green { border-left-color: #2e7d32; }
.ep2-mag-card.purple { border-left-color: #6a1b9a; }
.ep2-mag-card.red { border-left-color: var(--primary); }

.ep2-mag-thumb {
  flex-shrink: 0;
  width: 110px;
  background: #f3f4f6;
}
.ep2-mag-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep2-mag-body { padding: 14px 16px; flex: 1; min-width: 0; }
.ep2-mag-tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 2px 9px; border-radius: 999px;
  background: rgba(237,28,36,0.1);
  color: var(--primary);
  margin-bottom: 6px;
}
.ep2-mag-card.pink .ep2-mag-tag { background: rgba(194,24,91,0.1); color: #c2185b; }
.ep2-mag-card.orange .ep2-mag-tag { background: rgba(239,108,0,0.1); color: #ef6c00; }
.ep2-mag-card.blue .ep2-mag-tag { background: rgba(21,101,192,0.1); color: #1565c0; }
.ep2-mag-card.green .ep2-mag-tag { background: rgba(46,125,50,0.1); color: #2e7d32; }
.ep2-mag-card.purple .ep2-mag-tag { background: rgba(106,27,154,0.1); color: #6a1b9a; }
.ep2-mag-body h4 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.ep2-mag-body p { font-size: 13px; color: var(--text-light); line-height: 1.5; margin-bottom: 8px; }
.ep2-mag-day {
  font-size: 11.5px; color: var(--text-muted); font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px;
}
.ep2-mag-day::before { content: '🗓'; font-size: 11px; }

/* City supplement grid */
.ep2-supp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.ep2-supp-card {
  display: block;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}
.ep2-supp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ep2-supp-thumb { aspect-ratio: 3/4; background: #f3f4f6; }
.ep2-supp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep2-supp-info { padding: 10px 12px; text-align: center; }
.ep2-supp-info strong { display: block; font-size: 14px; }
.ep2-supp-info span { font-size: 11.5px; color: var(--text-muted); }

/* Archive grid v2 */
.ep2-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.ep2-arch-card2 {
  display: block;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}
.ep2-arch-card2:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ep2-arch-card2 img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.ep2-arch-thumb {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #f8f9fa 0%, #eef0f3 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  position: relative;
  border-bottom: 1px solid var(--border-soft);
}
.ep2-arch-thumb i { font-size: 26px; color: #c40d14; opacity: 0.85; }
.ep2-arch-thumb span { font-size: 22px; font-weight: 800; color: var(--text); }

/* Reader empty / loading state */
.ep2-state-msg {
  width: 100%; height: 100%;
  min-height: 380px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
  color: var(--text-light);
}
.ep2-state-msg i {
  font-size: 48px;
  color: var(--primary);
  opacity: 0.6;
}
.ep2-state-msg h4 {
  font-size: 17px; font-weight: 700;
  color: var(--text);
  margin: 4px 0;
}
.ep2-state-msg p { font-size: 14px; color: var(--text-muted); margin: 0; max-width: 320px; }
.ep2-state-msg small { font-size: 11.5px; color: #999; margin-top: 6px; }
.ep2-state-msg code {
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11.5px;
  color: var(--primary);
}
.ep2-state-upload {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  background: var(--primary); color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  box-shadow: 0 4px 14px rgba(237,28,36,0.25);
  transition: all var(--transition);
}
.ep2-state-upload:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Pages grid empty */
.ep2-pg-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 38px 16px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border);
  color: var(--text-muted);
}
.ep2-pg-empty i { font-size: 32px; color: #cbd5e1; margin-bottom: 8px; }
.ep2-pg-empty p { font-size: 13.5px; }

/* Drag overlay on reader frame */
.ep2-reader-frame.drag-over {
  outline: 3px dashed var(--primary);
  outline-offset: -8px;
  background: linear-gradient(180deg, rgba(237,28,36,0.05), rgba(237,28,36,0.02));
}
.ep2-reader-frame.drag-over::after {
  content: '📄  PDF drop करें';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  color: var(--primary);
  background: rgba(255,255,255,0.85);
  pointer-events: none;
  z-index: 5;
}

/* PDF canvas thumbnails */
.ep2-pg-canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ============== EDITION CARDS (Bhaskar magazine grid style) ============== */
.ep2-editions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 8px;
}
.ep2-ed-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15,23,42,0.04);
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  opacity: 0;
  animation: edCardIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  will-change: transform;
}
/* Colored top accent stripe — edition-color identity */
.ep2-ed-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  z-index: 5;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.ep2-ed-card:hover::before,
.ep2-ed-card.active::before {
  transform: scaleX(1);
}
@keyframes edCardIn {
  from { opacity: 0; transform: translateY(24px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ep2-ed-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 22px 40px rgba(237,28,36,0.18),
              0 6px 14px rgba(0,0,0,0.08);
  border-color: rgba(237,28,36,0.4);
}
.ep2-ed-card:active {
  transform: translateY(-3px) scale(1.0);
  transition-duration: 0.12s;
}

/* Cover takes top of card — image natural aspect, no cropping */
.ep2-ed-cover {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
  line-height: 0;
}
/* Cover crop — show top half of newspaper page (header + hero), hide bottom.
   Applies everywhere (mobile + desktop) — clean uniform look. */
.ep2-ed-cover {
  aspect-ratio: 4 / 3;
}
.ep2-ed-cover img {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  vertical-align: bottom;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.ep2-ed-cover img {
  animation: ep2CoverFadeIn 0.5s ease both;
}
@keyframes ep2CoverFadeIn {
  from { opacity: 0; transform: scale(1.02); }
  to   { opacity: 1; transform: scale(1); }
}
.ep2-ed-card:hover .ep2-ed-cover img {
  transform: scale(1.05);
}
.ep2-ed-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.08));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.ep2-ed-card:hover .ep2-ed-cover::after { opacity: 1; }
.ep2-ed-pages {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 800;
  display: inline-flex; align-items: center; gap: 6px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 4;
}
.ep2-ed-pages i { font-size: 10px; opacity: 0.9; }

/* Hover overlay icon — book opening hint */
.ep2-ed-overlay-icon {
  position: absolute;
  top: 50%; left: 50%;
  width: 56px; height: 56px;
  margin-top: -28px; margin-left: -28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  pointer-events: none;
}
.ep2-ed-card:hover .ep2-ed-overlay-icon {
  opacity: 1;
  transform: scale(1);
}

/* Body — title + date on left, share button on right */
.ep2-ed-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  min-height: 64px;
}
.ep2-ed-info {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0; flex: 1;
}
.ep2-ed-info strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep2-ed-info small {
  font-size: 11.5px;
  color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 5px;
}
.ep2-ed-info small i { color: var(--primary); opacity: 0.65; font-size: 10px; }

.ep2-ed-share {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-light);
  cursor: pointer;
  font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.ep2-ed-share:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 4px 12px rgba(237,28,36,0.3);
}
.ep2-ed-share:active { transform: scale(0.95); }

.ep2-ed-card.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(237,28,36,0.2),
              0 10px 24px rgba(237,28,36,0.18);
}
.ep2-ed-card.active .ep2-ed-cover img {
  transform: scale(1.03);
}

/* "PDF देखें" button at bottom of each card */
.ep2-ed-cta-row {
  padding: 0 14px 14px;
}
.ep2-ed-view-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(237,28,36,0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.ep2-ed-view-btn i { font-size: 12px; }
.ep2-ed-view-btn .ep2-ed-arrow {
  transition: transform 0.2s ease;
  margin-left: 2px;
}
.ep2-ed-view-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), #a00b10);
  box-shadow: 0 6px 18px rgba(237,28,36,0.4);
  transform: translateY(-1px);
}
.ep2-ed-view-btn:hover .ep2-ed-arrow {
  transform: translateX(4px);
}
.ep2-ed-view-btn:active {
  transform: translateY(0);
}

/* "और PDFs देखें" CTA at bottom of editions grid */
.ep2-more-row {
  display: flex;
  justify-content: center;
  margin: 28px 0 8px;
  animation: ep2MoreFadeIn 0.6s ease 0.4s both;
}
@keyframes ep2MoreFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ep2-more-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 30px 13px 26px;
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ep2-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.ep2-more-btn:active { transform: translateY(0); }
.ep2-more-text { z-index: 2; }
.ep2-more-icon {
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform 0.3s ease, background 0.3s ease;
  animation: ep2MoreBob 1.6s ease-in-out infinite;
}
@keyframes ep2MoreBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
.ep2-more-btn:hover .ep2-more-icon {
  background: rgba(255,255,255,0.25);
  transform: scale(1.15) translateY(2px);
  animation: none;
}
/* Pulsing ring effect */
.ep2-more-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--primary);
  opacity: 0;
  animation: ep2MorePulse 2.2s ease-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes ep2MorePulse {
  0%   { opacity: 0.35; transform: scale(1); }
  100% { opacity: 0;    transform: scale(1.18); }
}

/* "+ नया PDF" upload card — sits as first item in grid */
.ep2-ed-upload-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e7 100%);
  border: 2px dashed var(--primary);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  cursor: pointer;
  text-align: center;
  gap: 12px;
  transition: all 0.25s ease;
  min-height: 100%;
}
.ep2-ed-upload-card:hover {
  background: linear-gradient(135deg, #ffe5e7 0%, #ffd0d4 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(237,28,36,0.18);
}
.ep2-ed-upload-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(237,28,36,0.3);
}
.ep2-ed-upload-card strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}
.ep2-ed-upload-card small {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}

/* ============== INLINE PDF READER (in-section) ============== */
.ep2-editions-wrap { position: relative; }

.ep2-inline-reader {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  animation: ep2InlineFade 0.25s ease;
}
@keyframes ep2InlineFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.ep2-inline-bar {
  position: sticky;
  top: calc(var(--header-h) + 60px);
  z-index: 20;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.ep2-inline-back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--primary); color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.ep2-inline-back:hover { background: var(--primary-dark); transform: translateX(-2px); }
.ep2-inline-back i { font-size: 11px; }

.ep2-inline-title {
  display: flex; flex-direction: column;
  min-width: 0; flex: 1;
  margin-left: 4px;
}
.ep2-inline-title strong {
  font-size: 16px; font-weight: 800;
  color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ep2-inline-title span { font-size: 12px; color: var(--text-muted); }

.ep2-inline-pginfo {
  background: rgba(237,28,36,0.08);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  white-space: nowrap;
  border: 1px solid rgba(237,28,36,0.15);
}

.ep2-inline-actions { display: flex; gap: 6px; }
.ep2-inline-actions button {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #f5f5f5;
  border: 1px solid var(--border);
  color: var(--text-light);
  cursor: pointer;
  font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.ep2-inline-actions button:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(237,28,36,0.2);
}
.ep2-inline-actions .ep2-inline-dl {
  background: linear-gradient(135deg, #2e7d32, #43a047);
  color: #fff;
  border-color: #2e7d32;
  box-shadow: 0 2px 8px rgba(46,125,50,0.25);
}
.ep2-inline-actions .ep2-inline-dl:hover {
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  border-color: #1b5e20;
}

.ep2-inline-body {
  padding: 22px 16px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: linear-gradient(180deg, #f3f4f6 0%, #eaecef 100%);
}

.ep2-modal-page {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.35), 0 4px 12px rgba(0,0,0,0.18);
  overflow: hidden;
  min-height: 200px;
}
.ep2-modal-page canvas {
  display: block;
  width: 100%;
  height: auto;
}
.ep2-modal-pgnum {
  position: absolute; bottom: 8px; right: 12px;
  background: rgba(0,0,0,0.7); color: #fff;
  padding: 3px 10px; border-radius: 4px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.3px;
  pointer-events: none;
}
.ep2-modal-loading {
  width: 100%;
  text-align: center;
  padding: 60px 20px;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}
.ep2-modal-loading i { font-size: 28px; margin-right: 10px; }

@media (max-width: 640px) {
  .ep2-ed-card { flex-direction: column; }
  .ep2-ed-cover {
    width: 100%; height: 200px;
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
  }
  /* === MOBILE EDITION CARDS — pro polish === */
  .ep2-editions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .ep2-ed-card {
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
  }
  .ep2-ed-card:hover { transform: translateY(-3px) scale(1.01); }
  .ep2-ed-cover {
    background: linear-gradient(135deg, #f9fafb 0%, #e9ecf2 100%);
  }
  .ep2-ed-pages {
    bottom: 10px; left: 10px;
    padding: 4px 11px;
    font-size: 10.5px;
    font-weight: 700;
    background: rgba(0,0,0,0.85);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }
  .ep2-ed-pages i { font-size: 9px; }
  .ep2-ed-overlay-icon { width: 44px; height: 44px; margin-top: -22px; margin-left: -22px; font-size: 16px; }
  .ep2-ed-body {
    padding: 12px 14px 14px;
    min-height: 0;
    gap: 10px;
  }
  .ep2-ed-info { gap: 4px; }
  .ep2-ed-info strong {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    color: #1a1a1a;
  }
  .ep2-ed-info small {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 500;
  }
  .ep2-ed-info small i { font-size: 10px; opacity: 0.7; }
  .ep2-ed-share {
    width: 34px; height: 34px;
    font-size: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  }
  .ep2-ed-share:hover {
    box-shadow: 0 4px 12px rgba(237,28,36,0.3);
  }
  /* Active card (currently open) */
  .ep2-ed-card.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(237,28,36,0.18), 0 6px 18px rgba(237,28,36,0.18);
  }
  .ep2-inline-bar {
    padding: 10px 12px; gap: 8px;
    top: var(--header-h);
  }
  .ep2-inline-back { padding: 7px 10px; font-size: 12px; }
  .ep2-inline-back span { display: none; }
  .ep2-inline-title strong { font-size: 13px; }
  .ep2-inline-title span { font-size: 11px; }
  .ep2-inline-pginfo { padding: 5px 10px; font-size: 11.5px; }
  .ep2-inline-actions button { width: 34px; height: 34px; font-size: 12px; }
  .ep2-inline-body { padding: 14px 8px 30px; gap: 12px; }
}
.ep2-arch-meta2 { padding: 8px 10px; text-align: center; }
.ep2-arch-meta2 strong { display: block; font-size: 13px; color: var(--text); }
.ep2-arch-meta2 span { font-size: 11.5px; color: var(--text-muted); }

.ep2-arch-search-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  color: var(--text);
  transition: all var(--transition);
}
.ep2-arch-search-btn:hover { border-color: var(--primary); color: var(--primary); }

.ep2-arch-cta {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-top: 8px;
}
.ep2-arch-cta p { color: var(--text-light); margin-bottom: 12px; font-size: 14px; }
.ep2-arch-cta .ep2-promo-btn { width: auto; padding: 10px 22px; }

/* Responsive */
@media (max-width: 980px) {
  .ep2-layout { grid-template-columns: 1fr; }
  .ep2-sidebar { position: static; flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .ep2-sidebar-card, .ep2-promo-card { flex: 1 1 280px; }
  /* Hide desktop list, show mobile dropdown — clean राज्य-style */
  .ep2-city-list { display: none; }
  .ep2-city-select-mobile { display: block; }
}
@media (max-width: 640px) {
  .ep2-reader-frame {
    padding: 14px 56px 18px;
    min-height: 0;
    height: auto;
    max-height: 85vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }
  /* Default (zoom = 1) → stage fills available space (excluding arrow padding) */
  .ep2-reader-frame:not([data-zoomed="true"]) .ep2-flipbook-stage {
    max-width: 100%;
    width: 100%;
  }
  .ep2-reader-frame[data-zoomed="true"] {
    touch-action: pan-x pan-y;
  }
  .ep2-simple-page {
    min-height: 0;
  }
  .ep2-fb-arrow {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
  .ep2-fb-arrow.prev { left: 8px; }
  .ep2-fb-arrow.next { right: 8px; }
  .ep2-reader-pgbadge {
    bottom: 10px; right: 10px;
    padding: 4px 11px;
    font-size: 11px;
  }
  .ep2-reader-head {
    padding: 12px 14px;
  }
  .ep2-reader-head h2 { font-size: 15px; }
  .ep2-reader-tools button {
    width: 32px; height: 32px;
    font-size: 11px;
  }
  .ep2-edition-pill { font-size: 10.5px; padding: 3px 9px; }
  .ep2-masthead { padding: 16px 0; }
  .ep2-title h1 { font-size: 22px; }
  .ep2-title p { font-size: 12.5px; }
  .ep2-masthead-flex { gap: 12px; }
  .ep2-actions { width: 100%; }
  .ep2-action span { display: none; }
  .ep2-action { padding: 8px 10px; }
  .ep2-action.premium span { display: inline; }
  .ep2-tab { padding: 12px 14px; font-size: 13px; }
  .ep2-reader-frame { padding: 16px 50px; min-height: 360px; }
  .ep2-flip-btn { width: 36px; height: 36px; font-size: 12px; }
  .ep2-flip-btn.prev { left: 8px; }
  .ep2-flip-btn.next { right: 8px; }
  .ep2-pages-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
  .ep2-mag-card { flex-direction: column; }
  .ep2-mag-thumb { width: 100%; aspect-ratio: 16/10; }
  .ep2-archive-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
  .ep2-layout { padding: 16px 12px 40px; gap: 16px; }
  .ep2-sidebar { flex-direction: column; }
}

/* ====================================================================
   VIDEO PAGE — Bhaskar-style portrait grid + animated background
   ==================================================================== */
body.page-video { background: #f5f6f8; }

/* ===== Video page heading — colored gradient background ===== */
.vp-page-head {
  background:
    radial-gradient(ellipse at top right, rgba(255,193,7,0.18), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(255,255,255,0.08), transparent 55%),
    linear-gradient(135deg, #b30019 0%, #d80027 45%, #ff3a47 100%);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 32px 0 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(216,0,39,0.22);
}
.vp-page-head::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 65%);
  pointer-events: none;
  animation: vpHeadGlow 6s ease-in-out infinite;
}
.vp-page-head::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 10%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,213,79,0.2), transparent 70%);
  pointer-events: none;
  animation: vpHeadGlow 7s ease-in-out infinite reverse;
}
@keyframes vpHeadGlow {
  0%, 100% { transform: scale(1) translate(0,0); opacity: 0.7; }
  50%      { transform: scale(1.15) translate(20px,-10px); opacity: 1; }
}
.vp-page-head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.vp-page-head-text { flex: 1; min-width: 220px; }
.vp-page-head-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.vp-page-head-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  animation: vpHeadIconPulse 2.4s ease-in-out infinite;
}
@keyframes vpHeadIconPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
  50%      { transform: scale(1.08); box-shadow: 0 10px 26px rgba(0,0,0,0.35); }
}
.vp-page-head-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.92);
  margin: 0;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.vp-page-head-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.vp-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.4);
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  backdrop-filter: blur(6px);
}
.vp-stat-pill i { color: #ff6f00; font-size: 12px; }
.vp-stat-pill strong { color: var(--primary); font-weight: 800; }
.vp-stat-pill.live {
  background: rgba(0,0,0,0.78);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  letter-spacing: 0.6px;
  font-weight: 800;
}
.vp-live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: vpLiveDot 1.4s ease-in-out infinite;
}
@keyframes vpLiveDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.85); }
}

/* ===== Compact tab bar (kept for backward compat — unused) ===== */
.vp-tabs-bar {
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.vp-tabs-inner { padding: 0 16px; }
.vp-tabs-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
}
.vp-tabs-scroll::-webkit-scrollbar { display: none; }
.vp-tab {
  flex: 0 0 auto;
  padding: 14px 18px 12px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.vp-tab:hover {
  color: var(--primary);
}
.vp-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 700;
}
.video-page-main {
  padding: 22px 0 50px;
}
.video-grid-section { padding-top: 4px; }

/* Video grid — portrait Bhaskar-style */
.video-grid.vp-portrait {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.vp-portrait .video-card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  cursor: pointer;
  opacity: 0;
  animation: vpCardIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.vp-portrait .video-card:nth-child(1)  { animation-delay: 0.05s; }
.vp-portrait .video-card:nth-child(2)  { animation-delay: 0.10s; }
.vp-portrait .video-card:nth-child(3)  { animation-delay: 0.15s; }
.vp-portrait .video-card:nth-child(4)  { animation-delay: 0.20s; }
.vp-portrait .video-card:nth-child(5)  { animation-delay: 0.25s; }
.vp-portrait .video-card:nth-child(6)  { animation-delay: 0.30s; }
.vp-portrait .video-card:nth-child(7)  { animation-delay: 0.35s; }
.vp-portrait .video-card:nth-child(8)  { animation-delay: 0.40s; }
.vp-portrait .video-card:nth-child(9)  { animation-delay: 0.45s; }
.vp-portrait .video-card:nth-child(10) { animation-delay: 0.50s; }
.vp-portrait .video-card:nth-child(11) { animation-delay: 0.55s; }
.vp-portrait .video-card:nth-child(12) { animation-delay: 0.60s; }
@keyframes vpCardIn {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.vp-portrait .vid-thumb {
  position: relative;
  aspect-ratio: 9 / 14;
  width: 100%;
  background: linear-gradient(135deg, #e9ecef 0%, #cfd4dc 100%);
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s ease;
}
.vp-portrait .video-card:hover .vid-thumb {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 38px rgba(0,0,0,0.28), 0 6px 14px rgba(0,0,0,0.14);
}
.vp-portrait .vid-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.vp-portrait .video-card:hover .vid-thumb img {
  transform: scale(1.08);
}

/* Overlay hidden — headline now shown below thumbnail as simple text */
.vc-overlay { display: none; }
.vc-overlay-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  background: var(--primary);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vc-overlay-tag.red    { background: #d80027; }
.vc-overlay-tag.orange { background: #ff6f00; }
.vc-overlay-tag.yellow { background: #ffb300; color: #3d2400; }
.vc-overlay-tag.blue   { background: #1565c0; }
.vc-overlay-tag.green  { background: #2e7d32; }
.vc-overlay-tag.pink   { background: #c2185b; }
.vc-overlay h3 {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Centered play button — reliable inset:0 + margin auto centering */
.vp-portrait .vid-play {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  margin: auto;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  color: #d80027;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
  z-index: 3;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease,
              color 0.3s ease,
              box-shadow 0.3s ease;
  opacity: 0.95;
}
.vp-portrait .vid-play::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  animation: vpPlayPulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes vpPlayPulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
.vp-portrait .video-card:hover .vid-play {
  transform: scale(1.15);
  background: #fff;
  color: var(--primary);
  box-shadow: 0 10px 28px rgba(216,0,39,0.5);
}

/* Video duration badge — bottom right (YouTube-style) */
.vp-portrait .vid-time {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  z-index: 3;
  letter-spacing: 0.3px;
  backdrop-filter: blur(6px);
}

/* Body — simple dark title + meta (clean text, no overlay) */
.vp-portrait .vid-body {
  padding: 14px 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vp-portrait .vid-body h4 {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  color: #1a1a1a;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.vp-portrait .video-card:hover .vid-body h4 {
  color: var(--primary);
}
.vid-meta-pro {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.2px;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .video-grid.vp-portrait {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .vc-overlay { padding: 10px 10px 18px; }
  .vc-overlay h3 { font-size: 13px; -webkit-line-clamp: 2; }
  .vc-overlay-tag { font-size: 9.5px; padding: 3px 9px; }
  .vp-portrait .vid-play { width: 44px; height: 44px; font-size: 13px; }
  .vp-portrait .vid-time { font-size: 10px; padding: 3px 8px; bottom: 8px; right: 8px; top: auto; }
  .vp-portrait .vid-body { padding: 10px 4px 6px; }
  .vp-portrait .vid-body h4 { font-size: 12.5px; -webkit-line-clamp: 3; }
  .vid-meta-pro { font-size: 11px; }
  .vp-orb { filter: blur(50px); opacity: 0.25; }
}

/* ============== YOUTUBE MODAL (portrait shorts player) ============== */
.vp-yt-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.vp-yt-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.vp-yt-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}
.vp-yt-close:hover {
  background: rgba(237,28,36,0.85);
  border-color: transparent;
  transform: scale(1.08) rotate(90deg);
}
.vp-yt-frame {
  width: min(420px, 92vw);
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  animation: vpYtFrameIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes vpYtFrameIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.vp-yt-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
@media (max-width: 640px) {
  .vp-yt-frame { width: 96vw; max-height: 92vh; aspect-ratio: 9/16; }
  .vp-yt-close { top: 12px; right: 12px; width: 40px; height: 40px; }
}
