@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;600;700&display=swap");

:root {
  --nitv-accent: #c41e3a;
  --nitv-accent-dark: #9e1830;
  --nitv-text: #1a1a1a;
  --nitv-muted: #666;
  --nitv-border: #e8e8e8;
  --nitv-bg: #f5f5f5;
  --nitv-white: #fff;
  --nitv-max: 1200px;
  --nitv-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --nitv-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --nitv-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --nitv-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
  --nitv-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nitv-gradient: linear-gradient(135deg, var(--nitv-accent) 0%, var(--nitv-accent-dark) 100%);
}

/* Dark mode */
[data-theme="dark"] {
  --nitv-text: #e8e8e8;
  --nitv-muted: #a0a0a0;
  --nitv-border: #333;
  --nitv-bg: #121212;
  --nitv-white: #1e1e1e;
  --nitv-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --nitv-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --nitv-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --nitv-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] body {
  background: var(--nitv-bg);
  color: var(--nitv-text);
}

[data-theme="dark"] .top-bar {
  background: #000;
}

[data-theme="dark"] .site-header {
  background: rgba(30, 30, 30, 0.95);
  border-bottom-color: var(--nitv-accent);
}

[data-theme="dark"] .primary-nav {
  background: rgba(20, 20, 20, 0.95);
  border-top-color: var(--nitv-border);
}

[data-theme="dark"] .primary-menu a {
  color: var(--nitv-text);
}

[data-theme="dark"] .compact-card,
[data-theme="dark"] .news-card,
[data-theme="dark"] .sidebar,
[data-theme="dark"] .youtube-video-card {
  background: rgba(30, 30, 30, 0.95);
  border-color: var(--nitv-border);
}

[data-theme="dark"] .hero-card {
  background: #1a1a1a;
}

[data-theme="dark"] .site-footer {
  background: #000;
}

[data-theme="dark"] .single-article,
[data-theme="dark"] .static-page {
  background: var(--nitv-white);
  border-color: var(--nitv-border);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Noto Sans Devanagari", sans-serif; color: var(--nitv-text); background: var(--nitv-bg); line-height: 1.6; }
a { color: inherit; text-decoration: none; transition: var(--nitv-transition); }
a:hover { color: var(--nitv-accent); transform: translateY(-1px); }
img { max-width: 100%; display: block; }
.container { width: min(100% - 2rem, var(--nitv-max)); margin-inline: auto; }

/* Fade in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Staggered animation for children */
.stagger-children > * {
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

.top-bar { background: #111; color: #eee; font-size: 0.8rem; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; padding: 0.4rem 0; flex-wrap: wrap; gap: 0.5rem; }
.top-links { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.social-links a { color: #ccc; margin-left: 0.5rem; font-size: 0.75rem; }

/* Breaking scroll ticker (Bhaskar-style) */
.breaking-ticker {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, var(--nitv-accent-dark), var(--nitv-accent));
  color: #fff;
  padding: 0.5rem 0;
  overflow: hidden;
  gap: 0.75rem;
}
.breaking-label {
  flex-shrink: 0;
  background: #fff;
  color: var(--nitv-accent);
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  margin-left: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 2px;
}
.breaking-track-wrap {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}
.breaking-track {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: nitv-marquee 35s linear infinite;
}
.breaking-track:hover { animation-play-state: paused; }
.breaking-track a {
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
}
.breaking-track a:hover { text-decoration: underline; color: #fff; }
.breaking-sep { opacity: 0.5; user-select: none; }
@keyframes nitv-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Nav icons */
.nav-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}
.primary-menu a,
.top-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.primary-nav {
  background: #fff;
  border-top: 1px solid var(--nitv-border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.primary-menu a {
  padding: 0.7rem 0.85rem;
  font-size: 0.92rem;
  color: #333;
}
.top-links a {
  font-size: 0.8rem;
  color: #ddd;
}
.top-links a:hover { color: #fff; }

/* YouTube channel page (/youtube) */
.youtube-channel-page {
  max-width: 1100px;
  margin: 0 auto 2rem;
}
.youtube-channel-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 2px solid var(--nitv-accent);
  background: var(--nitv-gradient);
  color: #fff;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.youtube-channel-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0% { transform: translate(-30%, -30%) rotate(0deg); }
  100% { transform: translate(30%, 30%) rotate(360deg); }
}
.youtube-channel-label {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.9);
  position: relative;
  z-index: 1;
}
.youtube-channel-name {
  margin: 0.35rem 0;
  font-size: 1.75rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}
.youtube-channel-name a {
  color: #fff;
  text-decoration: none;
  transition: var(--nitv-transition);
}
.youtube-channel-name a:hover {
  text-shadow: 0 0 20px rgba(255,255,255,0.5);
  transform: scale(1.05);
}
.youtube-channel-hint {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  position: relative;
  z-index: 1;
}
.youtube-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.5rem;
}
.youtube-video-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--nitv-border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--nitv-transition);
  backdrop-filter: blur(10px);
  box-shadow: var(--nitv-shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}
.youtube-video-card:hover {
  box-shadow: var(--nitv-shadow-lg);
  transform: translateY(-2px);
  border-color: var(--nitv-accent);
}
.youtube-video-link {
  display: block;
  color: inherit;
  text-decoration: none;
  position: relative;
}
.youtube-video-link img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #111;
  transition: var(--nitv-transition);
}
.youtube-video-card:hover .youtube-video-link img {
  transform: scale(1.05);
}
.youtube-video-title {
  margin: 0;
  padding: 0.4rem 0.5rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--nitv-text);
  transition: var(--nitv-transition);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.youtube-video-card:hover .youtube-video-title {
  color: var(--nitv-accent);
}
.youtube-video-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--nitv-accent);
  opacity: 0;
  transition: var(--nitv-transition);
  pointer-events: none;
  z-index: 1;
}
.youtube-video-card:hover::after {
  opacity: 0.05;
}
.youtube-empty {
  text-align: center;
  color: var(--nitv-muted);
  padding: 2rem;
  background: var(--nitv-white);
  border-radius: 12px;
  border: 2px dashed var(--nitv-border);
}

/* Responsive YouTube grid */
@media (min-width: 600px) {
  .youtube-videos-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
  }
  .youtube-video-title {
    font-size: 0.75rem;
    padding: 0.5rem 0.6rem 0.6rem;
  }
}

@media (min-width: 900px) {
  .youtube-videos-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }
  .youtube-video-title {
    font-size: 0.8rem;
    padding: 0.6rem 0.7rem 0.7rem;
  }
}

/* Hero slider */
.hero-slider {
  position: relative;
  margin-bottom: 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--nitv-shadow-xl);
}
.slider-viewport {
  position: relative;
  aspect-ratio: 16 / 7;
  max-height: min(52vh, 480px);
}
.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  transform: scale(1.05);
}
.slider-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
  transform: scale(1);
}
.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease-out;
}
.slider-slide.is-active img {
  transform: scale(1.1);
}
.slider-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.5rem 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
  color: #fff;
  backdrop-filter: blur(5px);
}
.slider-caption h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.1rem, 3vw, 1.65rem);
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.6s ease-out 0.3s both;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #222;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--nitv-shadow-md);
  transition: var(--nitv-transition);
  backdrop-filter: blur(10px);
}
.slider-arrow:hover {
  background: var(--nitv-accent);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--nitv-shadow-lg);
}
.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0;
  transition: var(--nitv-transition);
}
.slider-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}
.slider-dot.active {
  background: var(--nitv-accent);
  width: 28px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(196, 30, 58, 0.5);
}

.site-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 3px solid var(--nitv-accent);
  box-shadow: var(--nitv-shadow-md);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--nitv-transition);
}

/* Header ad banner slider */
.header-ad-banner {
  width: 100%;
  max-width: 728px;
  margin: 0.75rem auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--nitv-shadow-sm);
  position: relative;
  background: #f5f5f5;
}
.header-ad-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 728 / 90;
}
.header-ad-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}
.header-ad-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.header-ad-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.header-ad-slide a {
  display: block;
  width: 100%;
  height: 100%;
}
.header-ad-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.header-ad-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--nitv-transition);
}
.header-ad-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}
.header-ad-dot.active {
  background: var(--nitv-accent);
  width: 20px;
  border-radius: 4px;
}
.header-ad-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--nitv-shadow-sm);
  transition: var(--nitv-transition);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-ad-nav:hover {
  background: var(--nitv-accent);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.header-ad-prev { left: 8px; }
.header-ad-next { right: 8px; }

@media (max-width: 768px) {
  .header-ad-banner {
    max-width: 100%;
  }
  .header-ad-slider {
    aspect-ratio: 320 / 50;
  }
  .header-ad-nav {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 1rem; }
.logo { font-size: 2rem; font-weight: 800; color: var(--nitv-accent); transition: var(--nitv-transition); }
.logo:hover { transform: scale(1.05); }
.site-branding { display: flex; flex-direction: column; gap: 0.15rem; }
.logo-image-link { display: inline-block; line-height: 0; }
.site-logo {
  display: block;
  max-height: 52px;
  max-width: min(220px, 55vw);
  width: auto;
  height: auto;
  object-fit: contain;
  transition: var(--nitv-transition);
}
.logo-image-link:hover .site-logo { transform: scale(1.05); }
.tagline { margin: 0; font-size: 0.9rem; color: var(--nitv-muted); }
.header-actions { display: flex; gap: 0.5rem; align-items: center; }

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}
.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--nitv-text);
  border-radius: 3px;
  transition: var(--nitv-transition);
  transform-origin: center;
}
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .header-social {
    display: none;
  }
  .primary-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--nitv-white);
    box-shadow: var(--nitv-shadow-xl);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    padding-top: 80px;
    overflow-y: auto;
  }
  .primary-nav.active {
    right: 0;
  }
  .primary-menu {
    flex-direction: column;
    padding: 1rem;
  }
  .primary-menu a {
    padding: 1rem;
    border-bottom: 1px solid var(--nitv-border);
    border-bottom-width: 1px;
  }
  .primary-menu a::after {
    display: none;
  }
  .primary-menu a.menu-live {
    margin: 0.5rem 0;
  }
}

/* Theme toggle button */
.theme-toggle {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--nitv-white);
  color: var(--nitv-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--nitv-transition);
  box-shadow: var(--nitv-shadow-sm);
  position: relative;
  overflow: hidden;
}
.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--nitv-shadow-md);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
  position: absolute;
  transition: var(--nitv-transition);
}
.theme-icon-sun {
  opacity: 1;
  transform: rotate(0deg);
}
.theme-icon-moon {
  opacity: 0;
  transform: rotate(-90deg);
}
[data-theme="dark"] .theme-icon-sun {
  opacity: 0;
  transform: rotate(90deg);
}
[data-theme="dark"] .theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg);
}

.btn-primary {
  background: var(--nitv-gradient);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: var(--nitv-transition);
  box-shadow: var(--nitv-shadow-sm);
}
.btn-primary:hover {
  background: var(--nitv-accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--nitv-shadow-md);
}

.primary-nav {
  background: rgba(250, 250, 250, 0.95);
  border-top: 1px solid var(--nitv-border);
  backdrop-filter: blur(10px);
}
.primary-menu { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.primary-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 600;
  border-bottom: 3px solid transparent;
  transition: var(--nitv-transition);
  position: relative;
}
.primary-menu a:hover, .primary-menu a.active {
  color: var(--nitv-accent);
  border-bottom-color: var(--nitv-accent);
}
.primary-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--nitv-accent);
  transition: var(--nitv-transition);
  transform: translateX(-50%);
}
.primary-menu a:hover::after {
  width: 80%;
}

.site-main { padding: 1.5rem 0 3rem; }
.home-hero-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 900px) {
  .home-hero-section { grid-template-columns: 1fr 340px; }
}
.hero-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 320px;
  background: #333;
  box-shadow: var(--nitv-shadow-md);
  transition: var(--nitv-transition);
}
.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nitv-shadow-lg);
}
.hero-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  opacity: 0.9;
  transition: var(--nitv-transition);
}
.hero-card:hover .hero-image {
  transform: scale(1.05);
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  backdrop-filter: blur(3px);
}
.hero-title {
  margin: 0.5rem 0;
  font-size: 1.6rem;
  line-height: 1.25;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.category-badge {
  color: #ffb3c0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.home-side-list { display: flex; flex-direction: column; gap: 0.85rem; }
.compact-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--nitv-border);
  border-radius: 10px;
  transition: var(--nitv-transition);
  backdrop-filter: blur(10px);
  box-shadow: var(--nitv-shadow-sm);
}
.compact-card:hover {
  transform: translateX(4px);
  box-shadow: var(--nitv-shadow-md);
  border-color: var(--nitv-accent);
}
.compact-link { display: flex; gap: 0.85rem; padding: 0.75rem; }
.compact-thumb {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  transition: var(--nitv-transition);
}
.compact-card:hover .compact-thumb {
  transform: scale(1.05);
}
.compact-title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  transition: var(--nitv-transition);
}
.compact-card:hover .compact-title {
  color: var(--nitv-accent);
}

.home-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; }
.section-title {
  font-size: 1.35rem;
  border-left: 4px solid var(--nitv-accent);
  padding-left: 0.85rem;
  margin: 0 0 1.25rem;
  font-weight: 700;
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  left: -4px;
  bottom: -4px;
  width: 4px;
  height: 0;
  background: var(--nitv-accent-dark);
  transition: var(--nitv-transition);
}
.section-title:hover::after {
  height: 100%;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.news-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--nitv-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--nitv-transition);
  backdrop-filter: blur(10px);
  box-shadow: var(--nitv-shadow-sm);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--nitv-shadow-lg);
  border-color: var(--nitv-accent);
}
.card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: var(--nitv-transition);
}
.news-card:hover .card-image {
  transform: scale(1.05);
}
.card-body { padding: 1rem 1.15rem 1.15rem; }
.card-title {
  margin: 0.4rem 0;
  font-size: 1.1rem;
  line-height: 1.4;
  transition: var(--nitv-transition);
}
.news-card:hover .card-title {
  color: var(--nitv-accent);
}
.card-meta {
  font-size: 0.8rem;
  color: var(--nitv-muted);
  margin: 0;
}

.sidebar {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--nitv-border);
  border-radius: 12px;
  padding: 1.25rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--nitv-shadow-sm);
}
.sidebar h3 {
  margin: 0 0 0.85rem;
  border-bottom: 2px solid var(--nitv-accent);
  padding-bottom: 0.4rem;
  font-size: 1.1rem;
}
.trending-list { list-style: none; margin: 0; padding: 0; }
.trending-list li {
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--nitv-border);
  font-size: 0.9rem;
  transition: var(--nitv-transition);
}
.trending-list li:hover {
  color: var(--nitv-accent);
  padding-left: 0.5rem;
  border-bottom-style: solid;
  border-bottom-color: var(--nitv-accent);
}

/* YouTube section on home page */
.youtube-section {
  margin-bottom: 2rem;
  animation: fadeIn 0.6s ease-out;
}
.youtube-section-header {
  text-align: center;
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  background: var(--nitv-gradient);
  color: #fff;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.youtube-section-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shimmer 3s infinite;
}
.youtube-section-header .section-title {
  color: #fff;
  border-left-color: #fff;
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}
.youtube-section-header .youtube-channel-label {
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0.15rem 0;
  position: relative;
  z-index: 1;
}
.youtube-section-header .youtube-channel-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0.25rem 0;
  position: relative;
  z-index: 1;
}
.youtube-section-header .youtube-channel-name a {
  color: #fff;
  transition: var(--nitv-transition);
}
.youtube-section-header .youtube-channel-name a:hover {
  text-shadow: 0 0 20px rgba(255,255,255,0.5);
  transform: scale(1.05);
}
.youtube-section-header .youtube-channel-hint {
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  margin: 0.25rem 0 0;
  position: relative;
  z-index: 1;
}

.article-layout { max-width: 800px; margin: 0 auto; }
.single-article { background: var(--nitv-white); padding: 1.5rem; border-radius: 6px; border: 1px solid var(--nitv-border); }
.article-title { font-size: 2rem; line-height: 1.25; margin: 0.5rem 0; }
.article-meta { color: var(--nitv-muted); margin-bottom: 1rem; }
.article-featured { margin: 1rem 0; border-radius: 6px; width: 100%; }
.entry-content { font-size: 1.05rem; line-height: 1.75; }
.entry-content p { margin: 0 0 1rem; }

.site-footer { background: #1a1a1a; color: #ddd; padding: 2rem 0 1rem; margin-top: 2rem; }
.footer-copy { text-align: center; font-size: 0.85rem; color: #888; }

/* Social icons */
.social-icons { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.social-icon-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff;
}
.header-social .social-icon-link { background: #f0f0f0; color: #444; }
.header-social .social-icon-link:hover { background: var(--nitv-accent); color: #fff; }
.social-icon-link svg { width: 18px; height: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* LIVE tab */
.primary-menu a.menu-live {
  color: #fff; background: var(--nitv-accent);
  border-radius: 4px; margin: 0.35rem 0.25rem;
  border-bottom-color: transparent !important;
}
.primary-menu a.menu-live:hover { background: var(--nitv-accent-dark); color: #fff; }

/* Share bar */
.share-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  margin: 0.75rem 0 1rem; padding: 0.65rem; background: #fafafa;
  border: 1px solid var(--nitv-border); border-radius: 6px;
}
.share-label { font-weight: 600; font-size: 0.9rem; margin-right: 0.25rem; }
.share-btn {
  padding: 0.35rem 0.65rem; border-radius: 4px; font-size: 0.85rem; font-weight: 600;
  border: 1px solid var(--nitv-border); background: #fff; cursor: pointer;
}
.share-wa { border-color: #25d366; color: #128c7e; }
.share-fb { border-color: #1877f2; color: #1877f2; }
.share-x { border-color: #000; color: #000; }
.share-copy { border-color: var(--nitv-accent); color: var(--nitv-accent); }

/* Live player */
.live-page {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}
.live-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: #e00; margin-left: 0.35rem; animation: pulse 1.2s infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }
.live-player-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 1rem 0;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: min(72vh, 720px);
}
.live-player {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #000;
}
.live-unmute {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 2;
  padding: 0.55rem 1rem;
  border: none;
  border-radius: 999px;
  background: var(--nitv-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.live-unmute:hover {
  background: var(--nitv-accent-dark);
}
.live-placeholder, .live-hint {
  color: var(--nitv-muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 768px) {
  .live-page {
    padding: 0 0.5rem;
  }
  .live-page .section-title {
    padding-left: 0.25rem;
    font-size: 1.1rem;
  }
  .live-player-wrap {
    width: 100%;
    max-height: 56vw;
    min-height: 200px;
    border-radius: 6px;
    aspect-ratio: 16 / 9;
  }
  .live-player {
    object-fit: contain;
  }
  .live-unmute {
    bottom: 0.65rem;
    font-size: 0.85rem;
    padding: 0.5rem 0.85rem;
  }
}

@media (max-width: 480px) {
  .live-player-wrap {
    max-height: 52vh;
    border-radius: 4px;
  }
}

/* Static pages */
.static-page { background: var(--nitv-white); padding: 1.5rem; border-radius: 6px; border: 1px solid var(--nitv-border); }
.page-body h2 { margin-top: 1.25rem; }

/* Ads */
.ad-slot {
  margin: 0 0 1rem; padding: 0.5rem; text-align: center;
  min-height: 90px; background: #fafafa; border: 1px dashed var(--nitv-border);
}

/* Footer */
.footer-inner { text-align: center; padding: 0 0 1rem; }
.footer-links { display: flex; justify-content: center; gap: 1.25rem; margin: 0.75rem 0; flex-wrap: wrap; }
.footer-links a { color: #ccc; }
.footer-links a:hover { color: #fff; }
.footer-social { justify-content: center; margin-bottom: 0.5rem; }
.footer-icon { background: #333 !important; color: #eee !important; }
.footer-copy { margin: 0; }

@media (max-width: 900px) {
  .home-hero-section, .home-layout { grid-template-columns: 1fr; }
  .header-social { display: none; }
}
