:root {
  --epaper-yellow: #ffd200;
  --epaper-blue: #18449c;
  --epaper-icon-blue: #2a3495;
  --epaper-red: #d81f26;
  --primary-color: var(--epaper-red);
  --secondary-color: var(--epaper-blue);
  --accent-color: var(--epaper-yellow);
  --text-dark: #1a1a1a;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --border-color: #dee2e6;
  --font-main: 'Poppins', sans-serif;
}

body {
  font-family: var(--font-main);
  background-color: #f4f4f4;
  color: var(--text-dark);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-header {
  background-color: var(--epaper-yellow);
}

.top-bar {
  background-color: var(--epaper-yellow);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.85rem;
  padding: 8px 0;
  color: #111;
}

.social-links a {
  color: #111;
}

.social-links a:hover {
  color: #000;
}

.header-logo {
  max-height: 60px;
}

.logo-bar {
  background-color: var(--accent-color);
}

.header-ad {
  background-color: #eee;
  color: #999;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #ccc;
  font-size: 0.8rem;
}

.epaper-nav {
  background-color: var(--epaper-blue);
  padding: 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.epaper-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 1rem 1.2rem !important;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.epaper-nav .nav-link:hover,
.epaper-nav .nav-link.active {
  background-color: rgba(0, 0, 0, 0.1);
  color: #fff !important;
}

.notification-btn {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.notification-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  border: 1px solid var(--secondary-color);
}

/* Notifications Dropdown */
.notifications-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  background: #fff;
  border-radius: 8px;
  display: none;
  z-index: 1050;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.notifications-dropdown.show {
  display: block;
}

.notifications-dropdown .dropdown-header {
  background: #f8f9fa;
  padding: 10px 15px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  color: var(--text-dark);
}

.notification-item {
  display: block;
  padding: 12px 15px;
  border-bottom: 1px solid #f1f1f1;
  color: #333;
}

.notification-item:hover {
  background-color: #f9f9f9;
}

.notification-item .title {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.notification-item .time {
  display: block;
  font-size: 0.75rem;
  color: #999;
}

/* Breaking News */
.breaking-bar {
  background-color: #fff;
  border-bottom: 1px solid #e9ecef;
}

.ticker-wrap {
  overflow: hidden;
}

.ticker {
  display: inline-flex;
  gap: 48px;
  white-space: nowrap;
  animation: tickerScroll 52s linear infinite;
}

.ticker-item {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Hero Section */
.hero-section {
  min-height: 500px;
}

.main-highlight-card {
  background: #fff;
  transition: transform 0.3s ease;
}

.hero-placeholder {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.hero-visual {
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #0b2242 0%, #1f6fd1 70%);
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 2rem;
  color: #fff;
}

.hero-overlay h1 {
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
}

.hero-badge {
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.hero-meta {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

.section-heading {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-heading-lg {
  font-size: 1.75rem;
  font-weight: 700;
}

.top-stories-wrapper .sidebar-item {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  color: var(--text-dark);
  font-weight: 500;
}

.top-stories-wrapper .sidebar-item:hover {
  color: var(--primary-color);
}

.top-stories-wrapper .sidebar-item .index {
  color: var(--primary-color);
  font-weight: 700;
  margin-right: 10px;
}

.top-story-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-dark);
}

.top-story-row:hover {
  color: var(--secondary-color);
}

.top-story-index {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(216, 31, 38, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary-color);
  flex: 0 0 auto;
}

.top-story-text {
  flex: 1;
}

.top-story-title {
  font-weight: 700;
  line-height: 1.25;
}

.top-story-meta {
  margin-top: 2px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Magazine Cards */
.magazine-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
  display: block;
  color: inherit;
}

.magazine-card:hover {
  transform: translateY(-5px);
}

.magazine-thumb {
  height: 200px;
  background-color: #eee;
  background-size: cover;
  background-position: top center;
}

.magazine-body {
  padding: 1.25rem;
}

.magazine-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.magazine-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* News Cards */
.news-card-modern {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
  height: 100%;
}

.news-card-modern .thumb {
  height: 160px;
  background-color: #f0f0f0;
  background-size: cover;
  background-position: center;
}

.news-card-modern .body {
  padding: 1rem;
}

.news-card-modern .title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-modern .meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.news-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: rgba(0, 75, 145, 0.10);
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.news-epaper-header {
  background: #ffd200;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.news-epaper-header .top-section {
  background: #ffd200;
}

.news-epaper-header .top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.news-epaper-header .logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  position: relative;
  padding-bottom: 0;
}

.news-epaper-header .logo-link::after {
  content: 'www.eeroju.com';
  position: relative;
  left: 26%;
  bottom: auto;
  transform: translateX(-50%) scaleX(1.34);
  transform-origin: center center;
  display: block;
  min-width: auto;
  text-align: center;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .01em;
  padding: 0;
  white-space: nowrap;
  color: #1d4ed8;
  pointer-events: none;
  width: max-content;
  margin-top: -6px;
}

.news-epaper-header .brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-epaper-header .top-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-epaper-header .top-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  color: #0f172a;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.news-epaper-header .top-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.news-epaper-header .top-cta i {
  color: #18449c;
}

.district-header-title {
  font-weight: 950;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: 0.2px;
  color: #e11d48;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  padding: 6px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.10);
}

@media (max-width: 991px) {
  .district-header-title {
    font-size: 30px;
  }
}

.pradhanamshalu-top {
  border-radius: 16px;
}

.pradhanamshalu-carousel {
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.pradhanamshalu-carousel .carousel-link {
  display: block;
  color: inherit;
  text-decoration: none;
  position: relative;
}

.pradhanamshalu-carousel img {
  height: 420px;
  width: 100%;
  object-fit: contain;
  background: rgba(15, 23, 42, 0.03);
}

@media (max-width: 991px) {
  .pradhanamshalu-carousel img {
    height: 280px;
  }
}

.pradhanamshalu-carousel .carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
  text-align: left;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.78) 70%, rgba(0, 0, 0, 0.9) 100%);
}

.pradhanamshalu-carousel .carousel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0.2px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 210, 0, 0.95);
  color: #0f172a;
  font-size: 12px;
  margin-bottom: 10px;
}

.pradhanamshalu-carousel .carousel-title {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
  margin: 0 0 10px 0;
  color: #fff;
}

.pradhanamshalu-carousel .carousel-meta {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 13px;
}

.region-filter-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  padding: 16px;
  height: 100%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.region-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.region-filter-badge {
  font-weight: 900;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #18449c;
  background: rgba(24, 68, 156, 0.10);
}

.region-filter-link {
  text-decoration: none;
  font-weight: 800;
  color: #0f172a;
  font-size: 13px;
}

.region-filter-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.region-news-item {
  display: block;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  text-decoration: none;
  background: rgba(15, 23, 42, 0.02);
  transition: background 0.15s ease, transform 0.15s ease;
}

.region-news-item:hover {
  background: rgba(24, 68, 156, 0.08);
  transform: translateY(-1px);
}

.region-news-title {
  color: #0f172a;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.3;
}

.region-news-time {
  margin-top: 4px;
  color: rgba(15, 23, 42, 0.70);
  font-weight: 700;
  font-size: 12px;
}

.region-empty {
  padding: 14px;
  border-radius: 14px;
  border: 1px dashed rgba(24, 68, 156, 0.35);
  background: rgba(24, 68, 156, 0.06);
}

.region-empty-title {
  font-weight: 900;
  color: #0f172a;
  font-size: 14px;
}

.region-empty-sub {
  margin-top: 4px;
  color: rgba(15, 23, 42, 0.70);
  font-weight: 700;
  font-size: 12px;
}

.region-video-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(15, 23, 42, 0.02);
  text-decoration: none;
  color: inherit;
  margin-bottom: 10px;
}

.region-video-thumb {
  width: 96px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.06);
}

.region-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.region-video-title {
  font-weight: 900;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.region-video-meta {
  margin-top: 6px;
  font-weight: 800;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.62);
}

.region-video-embed {
  width: 100%;
  margin-top: 10px;
  min-height: 0;
}

.region-video-embed-frame {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.08);
  min-height: 160px;
}

.region-video-embed-title {
  margin-top: 10px;
  font-weight: 900;
  font-size: 14px;
  line-height: 1.25;
  color: #0f172a;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.region-video-embed-meta {
  margin-top: 6px;
  font-weight: 800;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.video-feature-section {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.video-feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.video-feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px;
}

@media (max-width: 991px) {
  .video-feature-grid {
    grid-template-columns: 1fr;
  }
}

.video-feature-main {
  display: block;
  text-decoration: none;
  color: inherit;
}

.video-feature-thumb {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.video-feature-thumb img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

@media (max-width: 991px) {
  .video-feature-thumb img {
    height: 240px;
  }
}

.video-feature-title {
  margin-top: 10px;
  font-weight: 900;
  font-size: 16px;
  color: #0f172a;
}

.video-feature-meta {
  margin-top: 4px;
  font-weight: 700;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.65);
}

.video-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-feature-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(15, 23, 42, 0.02);
}

.video-feature-item:hover {
  background: rgba(24, 68, 156, 0.08);
}

.video-feature-mini {
  width: 96px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
}

.video-feature-item-title {
  font-weight: 900;
  font-size: 13px;
  line-height: 1.25;
  color: #0f172a;
}

.video-feature-item-meta {
  margin-top: 4px;
  font-weight: 700;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.65);
}

.news-epaper-header .logo-img {
  display: block;
  height: auto;
  max-height: 108px;
  width: auto;
  max-width: 90%;
  margin: 0 auto;
  object-fit: contain;
}

.news-epaper-header .top-ad {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.news-epaper-header .top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.news-epaper-header .date-display {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111;
}

.news-epaper-header .social-icons {
  display: flex;
  gap: 10px;
}

.news-epaper-header .social-icons i {
  font-size: 25px;
  color: #2a3495;
  cursor: pointer;
  transition: transform 0.3s;
}

.news-epaper-header .social-icons i:hover {
  transform: scale(1.2);
}

.news-epaper-header .ad-row {
  padding-bottom: 10px;
}

.news-epaper-header .ad-slot {
  width: 100%;
  height: 90px;
  border-radius: 10px;
  max-width: 970px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px dashed rgba(0, 0, 0, 0.25);
  color: rgba(0, 0, 0, 0.60);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.news-epaper-header .nav-section {
  background-color: #18449c;
  position: sticky;
  top: 0;
  z-index: 999;
}

.news-epaper-header .nav-section.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 2000;
}

.nav-extra {
  margin-left: auto;
}

.nav-extra a {
  text-decoration: none;
}

.nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.nav-icon:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.nav-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.nav-icon-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.nav-notif-menu {
  min-width: 260px;
}

.news-epaper-header .nav-shell {
  padding: 0;
}

.news-epaper-header .mobile-quick-actions {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.news-epaper-header .mobile-quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(6, 24, 63, 0.18);
}

.news-epaper-header .mobile-quick-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.news-epaper-header .mobile-only-nav {
  display: none;
}

.news-epaper-header .nav-toggler {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  border-radius: 10px;
  padding: 8px 10px;
}

.news-epaper-header .navigation .nav-link {
  color: #fff !important;
  padding: 15px 12px !important;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  white-space: nowrap;
}

.news-epaper-header .navigation .nav-link:hover,
.news-epaper-header .navigation .nav-link.active {
  color: #ffd200 !important;
}

.news-epaper-header .nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.news-epaper-header .nav-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.news-epaper-header .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-weight: 800;
  background: #ffd200;
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.14);
  white-space: nowrap;
}

.news-epaper-header .nav-cta.secondary {
  background: #ffffff;
}

.news-epaper-header .nav-cta:hover {
  color: #000;
  background: #ffdc2f;
}

@media (max-width: 991.98px) {
  .news-epaper-header .top-actions {
    display: none;
  }

  .news-epaper-header .nav-shell {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .news-epaper-header .mobile-quick-actions {
    display: inline-flex;
  }

  .news-epaper-header .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
  }

  .news-epaper-header .mobile-only-nav {
    display: list-item;
  }
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(216, 31, 38, 0.14);
  color: var(--epaper-red);
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
}

.section-link {
  font-weight: 700;
  color: var(--epaper-blue);
}

.section-link:hover {
  color: #0f2f6f;
}

.tv-section {
  padding: 44px 0;
  background: #0b1630;
  color: #fff;
}

.tv-section .section-title {
  color: #fff;
}

.tv-section .section-link {
  color: rgba(255, 255, 255, 0.9);
}

.tv-section .section-link:hover {
  color: #fff;
}

.tv-player {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.tv-side {
  height: 100%;
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.tv-side-title {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.tv-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tv-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.95);
}

.tv-card:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.tv-card-thumb {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 210, 0, 0.35), rgba(24, 68, 156, 0.55));
}

.tv-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

.tv-card-body {
  padding: 10px 12px;
}

.tv-card-title {
  font-weight: 800;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tv-card-meta {
  margin-top: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
}

.web-stories-section {
  padding: 44px 0;
  background: #fff;
}

.web-stories-scroller {
  display: flex;
  gap: 14px;
  overflow: auto;
  padding: 10px 4px 16px;
}

.site-footer {
  background: #0b1630;
  color: rgba(255, 255, 255, 0.9);
  padding: 48px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-logo {
  height: 54px;
  width: auto;
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
}

.footer-about {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.footer-title {
  font-weight: 900;
  margin-bottom: 12px;
  color: #fff;
}

.footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  padding: 6px 0;
}

.footer-link:hover {
  color: #fff;
}

.footer-sub {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.footer-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--epaper-yellow);
  color: #111;
  font-weight: 900;
}

.footer-cta:hover {
  color: #000;
}

.footer-cta.alt {
  background: rgba(255, 255, 255, 0.92);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-links {
  display: flex;
  gap: 14px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-links a:hover {
  color: #fff;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Video Section */
.animate-pulse {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.video-list li {
  margin-bottom: 1rem;
}

.video-list a {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.video-list a:hover {
  color: #fff;
}

.video-list .icon {
  width: 30px;
  height: 30px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.video-row {
  margin-bottom: 14px;
}

.video-link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.9);
}

.video-link:hover {
  color: #fff;
}

.video-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.video-text {
  line-height: 1.25;
  font-weight: 600;
}

/* Web Stories */
.web-stories-wrapper {
  position: relative;
  padding: 0 40px;
}

.web-stories-scroller {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.web-stories-scroller::-webkit-scrollbar {
  display: none;
}

.story-card {
  min-width: 140px;
  height: 220px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8)), #333;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
}

.story-card:hover {
  border-color: var(--accent-color);
}

.story-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.stories-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: none;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.stories-nav-btn.left {
  left: 0;
}

.stories-nav-btn.right {
  right: 0;
}

/* Modal */
.modal-story-card {
  display: flex;
  gap: 15px;
  background: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
}

.modal-story-thumb {
  width: 80px;
  height: 80px;
  background: #ddd;
  border-radius: 6px;
}

/* ===== NEWS POPUP MODAL ===== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.popup-box {
  background: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 750px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.popup-header {
  background: #0b3d91;
  color: #fff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px 8px 0 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.popup-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.popup-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 5px;
  line-height: 1;
}

.popup-close:hover {
  color: #ffd700;
}

.popup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 20px;
}

.popup-card {
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.popup-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.popup-card img,
.popup-card iframe {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.popup-card-body {
  padding: 10px 12px;
}

.popup-card-body h4 {
  margin: 0 0 5px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
}

.popup-card-body h4 a {
  color: #0b3d91;
}

.popup-card-body h4 a:hover {
  color: #d32f2f;
}

.popup-card-body p {
  font-size: 0.78rem;
  color: #777;
  margin: 0 0 6px;
  line-height: 1.4;
}

.popup-card-time {
  font-size: 0.72rem;
  color: #aaa;
}

.popup-footer {
  text-align: center;
  padding: 10px;
  border-top: 1px solid #eee;
  font-size: 0.7rem;
  color: #bbb;
}

@media (max-width: 600px) {
  .popup-grid {
    grid-template-columns: 1fr;
  }
}
