/* -------------------------------------------------------------
   TOP INDIAN NEWS - PREMIUM CSS DESIGN SYSTEM (BOOTSTRAP 5 OVERRIDES)
   ------------------------------------------------------------- */

:root {
  /* Brand Colors */
  --primary-red: #ed3c59;      /* Brand Accent Red */
  --primary-blue: #005a87;     /* Header Utility Blue */
  --primary-blue-hover: #004466;
  
  /* Neutral Palette */
  --body-bg: #ffffff;
  --bg-offset: #f7fafc;
  --card-bg: #ffffff;
  --text-primary: #1a202c;     /* Clean Dark Charcoal */
  --text-secondary: #4a5568;   /* Muted Slate Gray */
  --text-muted: #718096;       /* Light Muted Gray */
  
  /* Borders and UI */
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
  --shadow-premium: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.03);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Core Settings */
.container,
.container-fluid {
  max-width: 100% !important;
  padding-left: 30px !important;
  padding-right: 30px !important;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--body-bg);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.epaper-reader-page {
  overflow-x: auto;
}

.hidden {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* -------------------------------------------------------------
   DOUBLE HEADER LAYOUT (BOOTSTRAP OVERRIDES)
   ------------------------------------------------------------- */
.top-utility-bar {
  background-color: var(--primary-blue);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sister-portals a {
  color: rgba(255, 255, 255, 0.85);
  transition: opacity var(--transition-fast);
}

.sister-portals a:hover {
  color: #ffffff;
}

/* Branding Logo */
.branding-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 90px;
}

.logo-circle {
  width: 44px;
  height: 44px;
  background-color: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 6px rgba(237, 60, 89, 0.2);
}

.logo-main-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.75px;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .branding-logo img {
    max-height: 56px;
  }
}

/* Bootstrap Navbar Overrides */
.navbar {
  height: auto;
}

@media (min-width: 992px) {
  .navbar {
    height: 52px;
  }
}

.nav-menu-link {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary) !important;
  white-space: nowrap;
  letter-spacing: 0.3px;
  padding: 15px 12px !important;
  border-bottom: 3px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.nav-menu-link:hover,
.nav-menu-item.active .nav-menu-link {
  color: var(--primary-red) !important;
  border-bottom-color: var(--primary-red) !important;
}

.category-date-filter-form {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.category-date-filter-trigger {
  position: relative;
  cursor: pointer;
  min-height: 100%;
  margin-left: 12px;
  padding-right: 12px !important;
  flex-shrink: 0;
}

.category-date-filter-trigger.nav-menu-link {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.category-date-filter-input {
  width: 150px;
  height: 36px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background-color: #fff;
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 40px 8px 14px;
  cursor: pointer;
}

.category-date-filter-input::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.category-date-filter-icon {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  pointer-events: none;
}

@media (max-width: 991px) {
  .nav-menu-link {
    padding: 12px 20px !important;
    border-bottom: none;
    border-left: 3px solid transparent;
  }
  .nav-menu-link:hover,
  .nav-menu-item.active .nav-menu-link {
    border-left-color: var(--primary-red) !important;
    background-color: var(--bg-offset);
  }
  .navbar-collapse {
    background-color: #ffffff;
    box-shadow: var(--shadow-md);
    padding: 10px 0;
  }

  .category-date-filter-trigger.nav-menu-link {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
}

.search-btn-trigger {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.search-btn-trigger:hover {
  color: var(--primary-red);
}

.epaper-image-link {
  display: inline-block;
  text-decoration: none;
}

.epaper-image-link:hover .epaper-page-image {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

/* -------------------------------------------------------------
   BREAKING NEWS TICKER
   ------------------------------------------------------------- */
.ticker-wrap {
  background-color: var(--text-primary);
  color: #ffffff;
  display: flex;
  align-items: stretch;
  height: 40px;
  overflow: hidden;
}

.ticker-heading {
  background-color: var(--primary-red);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0 16px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  letter-spacing: 1px;
  z-index: 5;
  box-shadow: 4px 0 10px rgba(0,0,0,0.25);
  position: relative;
}

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

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-animation 30s linear infinite;
  padding-left: 50px;
}

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

.ticker-item {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast);
}

.ticker-item::before {
  content: "•";
  color: var(--primary-red);
  font-size: 1.2rem;
  margin-right: 5px;
}

.ticker-item:hover {
  color: var(--primary-red);
  text-decoration: underline;
}

@keyframes ticker-animation {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* -------------------------------------------------------------
   CATEGORY HEADERS WITH ACCENTS
   ------------------------------------------------------------- */
.section-accent-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-primary);
  border-left: 4px solid var(--primary-red);
  padding-left: 10px;
  line-height: 1.2;
}

.section-more-link {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-red);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

/* -------------------------------------------------------------
   NATIVE BOOTSTRAP CAROUSEL STYLING
   ------------------------------------------------------------- */
.hero-carousel-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.2px;
  color: #ffffff;
}

@media (min-width: 768px) {
  .hero-carousel-title {
    font-size: 1.8rem;
  }
}

#hero-carousel {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.carousel-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
  color: #ffffff;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.carousel-slide-top {
  align-self: flex-start;
  max-width: min(92%, 1120px);
  margin: 18px 18px 0;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(12, 17, 29, 0.34) 0%, rgba(12, 17, 29, 0.22) 100%);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.carousel-slide-bottom {
  margin: 0 18px 18px;
  padding: 10px 14px 12px;
  background: linear-gradient(180deg, rgba(12, 17, 29, 0.18) 0%, rgba(12, 17, 29, 0.28) 100%);
  border-radius: 12px;
  align-self: flex-start;
}

.carousel-meta-tag {
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  display: inline-block;
}

.carousel-slide-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

@media (min-width: 768px) {
  .carousel-slide-title {
    font-size: 1.8rem;
  }
}

/* Carousel Control Overlay Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), background-color var(--transition-fast), visibility var(--transition-fast);
}

#hero-carousel:hover .carousel-arrow {
  opacity: 1;
  visibility: visible;
}

.carousel-arrow:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
}

.carousel-arrow-prev {
  left: 20px;
}

.carousel-arrow-next {
  right: 20px;
}

/* Carousel Pagination Indicators override */
.carousel-dots {
  position: absolute;
  bottom: 25px;
  right: 25px;
  left: auto;
  margin: 0;
  display: flex;
  gap: 8px;
  width: auto;
  z-index: 10;
}

.carousel-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.4) !important;
  border: none !important;
  cursor: pointer;
  padding: 0;
  opacity: 1 !important;
  transition: background-color var(--transition-fast), transform var(--transition-fast) !important;
}

.carousel-dot.active {
  background-color: var(--primary-red) !important;
  transform: scale(1.2);
}

/* -------------------------------------------------------------
   HERO SIDEBAR OVERLAY CARDS STACK
   ------------------------------------------------------------- */
.sidebar-overlay-card {
  position: relative;
  box-shadow: var(--shadow-sm);
  background-color: var(--text-primary);
  display: flex;
}

.sidebar-overlay-card img {
  transition: transform var(--transition-normal);
}

.sidebar-overlay-card:hover img {
  transform: scale(1.05);
}

.sidebar-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 2;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
}

.sidebar-card-badge {
  background-color: var(--primary-blue);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 2px;
  align-self: flex-start;
  margin-bottom: 6px;
}

.sidebar-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.sidebar-card-date {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}

/* -------------------------------------------------------------
   GRID FEATURED NEWS CARDS (Hover lifts)
   ------------------------------------------------------------- */
.grid-featured-card {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.grid-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md) !important;
}

.grid-featured-badge {
  background-color: var(--primary-red);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}

.list-thumbnail-row {
  transition: transform var(--transition-fast);
}

.list-thumbnail-row:hover {
  transform: translateX(4px);
}

/* -------------------------------------------------------------
   DYNAMIC DISSOLVE TABS (STATES NEWS - BOOTSTRAP OVERRIDES)
   ------------------------------------------------------------- */
.states-tab-scroller {
  overflow-x: auto;
  scrollbar-width: none;
}

.states-tab-scroller::-webkit-scrollbar {
  display: none;
}

.states-tab-pill {
  background-color: var(--bg-offset) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-secondary) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  padding: 5px 12px !important;
  border-radius: 20px !important;
  white-space: nowrap;
  transition: all var(--transition-fast) !important;
  margin-right: 6px;
}

.states-tab-pill:hover {
  background-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

.states-tab-pill.active,
.states-tab-pill.show {
  background-color: var(--primary-red) !important;
  border-color: var(--primary-red) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(237, 60, 89, 0.25) !important;
}

/* Bootstrap Tab Swapping animations fade overrides */
.state-news-view {
  animation: tab-fade-in 0.4s ease forwards;
  display: none;
}

.state-news-view.active {
  display: block;
}

/* Scrollable tab container with floating arrow buttons */
.states-tabs-container {
  overflow: hidden;
}

.states-scroll-btn {
  width: 26px;
  height: 26px;
  z-index: 10;
  cursor: pointer;
  border: 1px solid var(--primary-red) !important;
  color: var(--primary-red) !important;
  background-color: #ffffff;
  transition: all var(--transition-fast) !important;
  font-size: 0.65rem;
}

.states-scroll-btn:hover {
  background-color: var(--primary-red) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 8px rgba(237, 60, 89, 0.25) !important;
}

.states-tab-scroller {
  scroll-behavior: smooth;
  scrollbar-width: none; /* Hide standard Firefox scrollbars */
  -ms-overflow-style: none; /* Hide IE scrollbars */
}

.states-tab-scroller::-webkit-scrollbar {
  display: none; /* Hide Chrome/Safari scrollbars */
}

@keyframes tab-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------------------------------------------
   3-COLUMN VERTICAL BLOCKS SECTION
   ------------------------------------------------------------- */
.vertical-card-main {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.vertical-card-main:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md) !important;
}

.vertical-list-item {
  transition: padding-left var(--transition-fast);
}

.vertical-list-item:hover {
  padding-left: 4px;
}

/* -------------------------------------------------------------
   TRENDING BOX SIDEBAR
   ------------------------------------------------------------- */
.trending-number-box {
  background-color: var(--border-color);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 800;
  min-width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trending-item-row:nth-child(1) .trending-number-box {
  background-color: var(--primary-red);
  color: #ffffff;
}

.trending-item-row:nth-child(2) .trending-number-box {
  background-color: var(--primary-blue);
  color: #ffffff;
}

/* -------------------------------------------------------------
   HORIZONTAL WEBSTORIES (9:16 CARDS)
   ------------------------------------------------------------- */
.webstories-bg-wrap {
  margin-top: 40px;
}

.webstories-row {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-red) rgba(255,255,255,0.05);
}

.webstories-row::-webkit-scrollbar {
  height: 6px;
}

.webstories-row::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.webstories-row::-webkit-scrollbar-thumb {
  background-color: var(--primary-red);
  border-radius: 3px;
}

.webstory-poster-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.webstory-poster-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.5);
}

.webstory-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%);
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.webstory-badge-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--primary-red);
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.webstory-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* -------------------------------------------------------------
   PREMIUM PALE BLUE FOOTER SECTION
   ------------------------------------------------------------- */
.footer-wrap {
  background-color: #f0f4f8; /* Pale Premium Blue Grey */
  color: var(--text-primary);
}

.footer-col-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 4px;
}

/* -------------------------------------------------------------
   PREMIUM BOOTSTRAP DROPDOWN CUSTOMIZATION
   ------------------------------------------------------------- */
.dropdown-menu {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  animation: dropdown-fade-in 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-red) var(--border-color);
}

/* Custom scrollbars for the dropdown menu */
.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: var(--bg-offset);
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background-color: var(--primary-red);
  border-radius: 3px;
}

.dropdown-item {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 20px;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--primary-red);
  color: #ffffff;
}

/* Rotate caret arrow on active state */
.dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.nav-menu-item.dropdown.show .dropdown-toggle,
.dropdown-toggle.show {
  color: var(--primary-red) !important;
  border-bottom-color: var(--primary-red) !important;
}

.nav-menu-item.dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
  color: var(--primary-red);
}

@keyframes dropdown-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Widescreen Inter-column Gutter Gap Reduction */
main.container .row {
  --bs-gutter-x: 16px !important; /* Reduces standard 24px column gap to 16px */
}

/* Font Size Selector Stylings */
.font-size-btn-group .btn {
  line-height: 1 !important;
  font-weight: 700 !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transition: all var(--transition-fast);
}

.font-size-btn-group .btn:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.font-size-btn-group .btn.active {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: var(--primary-blue) !important;
  box-shadow: none !important;
}

/* Site-wide Font Scaling via Root font-size adjustments */
html.font-size-s { font-size: 100% !important; }
html.font-size-m { font-size: 112.5% !important; }
html.font-size-l { font-size: 125% !important; }
html.font-size-xl { font-size: 150% !important; }

/* -------------------------------------------------------------
   UTILITY HELPER CLASSES FOR MINIMIZING INLINE STYLES
   ------------------------------------------------------------- */

/* Typographic Font Sizes */
.fs-55 { font-size: 0.55rem !important; }
.fs-58 { font-size: 0.58rem !important; }
.fs-62 { font-size: 0.62rem !important; }
.fs-65 { font-size: 0.65rem !important; }
.fs-68 { font-size: 0.68rem !important; }
.fs-70 { font-size: 0.7rem !important; }
.fs-72 { font-size: 0.72rem !important; }
.fs-75 { font-size: 0.75rem !important; }
.fs-76 { font-size: 0.76rem !important; }
.fs-78 { font-size: 0.78rem !important; }
.fs-80 { font-size: 0.8rem !important; }
.fs-82 { font-size: 0.82rem !important; }
.fs-85 { font-size: 0.85rem !important; }
.fs-88 { font-size: 0.88rem !important; }
.fs-90 { font-size: 0.9rem !important; }
.fs-95 { font-size: 0.95rem !important; }

/* Custom Sized Text Elements */
.text-uppercase-spaced {
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
}

.text-primary-blue {
  color: var(--primary-blue) !important;
}

/* line-height variations */
.lh-12 { line-height: 1.2 !important; }
.lh-125 { line-height: 1.25 !important; }
.lh-13 { line-height: 1.3 !important; }
.lh-135 { line-height: 1.35 !important; }
.lh-16 { line-height: 1.6 !important; }

/* Component Specific Dimensions */
.logo-circle-sm {
  width: 34px !important;
  height: 34px !important;
  font-size: 0.85rem !important;
}

.logo-circle-md {
  width: 36px !important;
  height: 36px !important;
  font-size: 0.9rem !important;
}

.img-size-48 {
  width: 48px !important;
  height: 48px !important;
}

.img-size-60 {
  width: 60px !important;
  height: 60px !important;
}

.img-size-70 {
  width: 70px !important;
  height: 70px !important;
}

/* Height and Scroll Constraints */
.carousel-inner-min-height {
  aspect-ratio: 4 / 3 !important;
  width: 100%;
  height: auto !important;
  min-height: auto !important;
  max-height: 480px !important; /* Premium height cap to fit above the fold beautifully on large screens */
}

.carousel-item-caption-wrap {
  min-height: 90px !important;
}

@media (min-width: 992px) {
  .carousel-inner-min-height {
    aspect-ratio: auto !important;
    height: 480px !important;
    max-height: 480px !important;
  }

  .carousel-inner-min-height .carousel-item {
    position: relative;
    height: 480px !important;
    background: #111827;
  }

  .carousel-inner-min-height .carousel-item > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #111827;
  }

  .carousel-inner-min-height .carousel-item img {
    width: 100%;
    height: 100% !important;
    object-fit: contain;
    display: block;
    background: #111827;
  }

  .hero-sidebar-stack {
    max-height: 480px !important;
  }
  .hero-sidebar-stack .sidebar-overlay-card {
    height: 0 !important;
    min-height: 0 !important;
    flex: 1 1 0% !important;
  }
}

@media (max-width: 991px) {
  .carousel-item-caption-wrap {
    min-height: 140px !important; /* Elegant stacked height on mobile viewports */
  }
}

.grid-featured-img-height {
  height: 280px !important;
}

.grid-medium-img-height {
  height: 130px !important;
}

.vertical-card-img-height {
  height: 150px !important;
}

.ad-space-height-250 {
  height: 250px !important;
}

.states-dropdown-menu-scroll {
  max-height: 350px !important;
  overflow-y: auto !important;
  min-width: 220px !important;
}

.no-scrollbar {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.no-scrollbar::-webkit-scrollbar {
  display: none !important;
}

.webstory-card-dimensions {
  min-width: 190px !important;
  width: 190px !important;
  height: 300px !important;
}

.header-ad-spot-style {
  font-size: 0.8rem !important;
  min-width: 400px !important;
  height: 60px !important;
}

/* -------------------------------------------------------------
   VIDEO WIDGET CUSTOM STYLES
   ------------------------------------------------------------- */
.video-news-section-wrap {
  border-left: 4px solid var(--primary-red) !important;
  border-top: 1px solid var(--border-color) !important;
  border-right: 1px solid var(--border-color) !important;
  border-bottom: 1px solid var(--border-color) !important;
}

.video-news-card {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
  border: 1px solid var(--border-color) !important;
}

.video-news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md) !important;
  border-color: rgba(237, 60, 89, 0.3) !important;
}

.video-news-card img {
  transition: transform var(--transition-normal);
}

.video-news-card:hover img {
  transform: scale(1.04);
}

/* Play Button Overlay */
.video-play-overlay {
  background: rgba(0, 0, 0, 0.15);
  transition: background-color var(--transition-fast);
}

.video-news-card:hover .video-play-overlay {
  background: rgba(0, 0, 0, 0.35);
}

.video-play-btn {
  width: 48px;
  height: 48px;
  background-color: var(--primary-red);
  border: 2px solid #ffffff;
  transition: transform var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.video-news-card:hover .video-play-btn {
  transform: scale(1.15);
  background-color: var(--primary-blue);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Clean Custom Scrollbar for tab category bar */
#video-category-tabs .nav-link {
  background-color: var(--bg-offset);
  border-color: var(--border-color) !important;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

#video-category-tabs .nav-link:hover {
  background-color: var(--border-color);
  color: var(--text-primary);
}

#video-category-tabs .nav-link.active {
  background-color: var(--primary-red) !important;
  border-color: var(--primary-red) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(237, 60, 89, 0.25);
}

.article-author-badge,
.article-share-btn {
  width: 32px;
  height: 32px;
}

.article-story-gallery {
  background: #111827;
}

.article-story-gallery .carousel-item {
  background: #111827;
}

.article-story-gallery-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.article-story-gallery-image {
  width: 100%;
  height: auto;
  max-height: min(72vh, 760px);
  object-fit: contain;
  background: #111827;
}

.story-image-lightbox-content {
  border-radius: 1rem;
}

.story-image-lightbox-image {
  max-height: 86vh;
  width: auto;
  object-fit: contain;
}

.article-related-image {
  height: 120px;
}

.article-sidebar-thumb {
  width: 88px;
  height: 68px;
}

.article-sidebar-title {
  line-height: 1.35;
}

.subscriber-story-shell {
  position: relative;
}

.subscriber-story-shell-locked .subscriber-story-content {
  filter: blur(8px);
  user-select: none;
  pointer-events: none;
}

.subscriber-paywall-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.5rem, 8vh, 4rem) 1.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.45);
}

.subscriber-paywall-card {
  max-width: 380px;
  position: sticky;
  top: clamp(1rem, 10vh, 6rem);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  padding: 2rem 1.5rem;
}

.subscriber-paywall-lock {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(220, 53, 69, 0.12);
  color: var(--primary-red);
  font-size: 1.25rem;
}

.epaper-viewer-card .card-body {
  min-height: 540px;
}

.epaper-viewer-frame {
  min-height: 540px;
}

.epaper-nav-column {
  display: flex;
  align-items: stretch;
}

.epaper-viewer-frame > .epaper-nav-column:first-child {
  justify-content: flex-end;
  padding-right: 5px;
}

.epaper-viewer-frame > .epaper-nav-column:last-child {
  justify-content: flex-start;
  padding-left: 5px;
}

.epaper-image-column {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.epaper-page-image-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.epaper-page-image {
  max-width: 100%;
  height: auto;
  display: block;
}

.epaper-viewer-card .epaper-page-nav-btn {
  width: 75%;
  height: 500px;
  min-height: 500px;
  margin-top: auto;
  margin-bottom: auto;
  padding: 0;
  border: 2px solid rgba(0, 0, 0, 0.75) !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  color: var(--primary-red) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.epaper-viewer-card .epaper-page-nav-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.95) !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24) !important;
}

.epaper-viewer-card .epaper-page-nav-btn span {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-red) !important;
  text-shadow: 0 4px 10px rgba(237, 60, 89, 0.38);
}

.epaper-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.epaper-reader-scroll {
  width: max-content;
  min-width: 100%;
  overflow: visible;
  -webkit-overflow-scrolling: touch;
}

.epaper-reader-canvas {
  position: relative;
  display: inline-block;
  line-height: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.epaper-reader-image {
  display: block;
  max-width: none;
  width: auto;
  height: auto;
  margin: 0 auto;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

.epaper-reader-overlay-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.epaper-reader-overlay-tile {
  position: absolute;
  left: calc((var(--tile-col) - 1) * 50%);
  top: calc((var(--tile-row) - 1) * 33.333333%);
  width: 50%;
  height: 33.333333%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  max-width: none !important;
  object-fit: fill;
  display: block;
  vertical-align: top;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

.epaper-clip-help {
  position: relative;
}

.epaper-clip-help-step {
  padding: 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(237, 60, 89, 0.16);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.epaper-clip-help-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(237, 60, 89, 0.12);
  color: var(--primary-red);
  font-size: 1.15rem;
}

.epaper-clip-help-note {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-secondary);
  font-weight: 500;
}

.epaper-selection-rect {
  position: absolute;
  border: 2px dashed var(--primary-red);
  background: rgba(237, 60, 89, 0.12);
  box-shadow: 0 0 0 99999px rgba(18, 25, 39, 0.12);
  pointer-events: auto;
  z-index: 6;
  margin: 0 !important;
  padding: 0 !important;
  cursor: move;
  touch-action: none;
}

.epaper-selection-handle {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  border: 3px solid var(--primary-red);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.2);
  pointer-events: auto;
  touch-action: none;
}

body.epaper-clip-dragging {
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
}

.epaper-selection-handle.handle-nw { top: -14px; left: -14px; cursor: nwse-resize; }
.epaper-selection-handle.handle-n { top: -14px; left: calc(50% - 14px); cursor: ns-resize; }
.epaper-selection-handle.handle-ne { top: -14px; right: -14px; cursor: nesw-resize; }
.epaper-selection-handle.handle-e { top: calc(50% - 14px); right: -14px; cursor: ew-resize; }
.epaper-selection-handle.handle-se { right: -14px; bottom: -14px; cursor: nwse-resize; }
.epaper-selection-handle.handle-s { bottom: -14px; left: calc(50% - 14px); cursor: ns-resize; }
.epaper-selection-handle.handle-sw { bottom: -14px; left: -14px; cursor: nesw-resize; }
.epaper-selection-handle.handle-w { top: calc(50% - 14px); left: -14px; cursor: ew-resize; }

@media (max-width: 767px) {
  .epaper-selection-handle {
    width: 34px;
    height: 34px;
  }

  .epaper-selection-handle.handle-nw { top: -17px; left: -17px; }
  .epaper-selection-handle.handle-n { top: -17px; left: calc(50% - 17px); }
  .epaper-selection-handle.handle-ne { top: -17px; right: -17px; }
  .epaper-selection-handle.handle-e { top: calc(50% - 17px); right: -17px; }
  .epaper-selection-handle.handle-se { right: -17px; bottom: -17px; }
  .epaper-selection-handle.handle-s { bottom: -17px; left: calc(50% - 17px); }
  .epaper-selection-handle.handle-sw { bottom: -17px; left: -17px; }
  .epaper-selection-handle.handle-w { top: calc(50% - 17px); left: -17px; }
}

.epaper-clip-menu {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1080;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(10px);
}

.epaper-clip-menu-btn {
  border: 0;
  border-radius: 12px;
  background: #f8fafc;
  color: var(--text-primary);
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.epaper-clip-menu-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

.epaper-clip-menu-btn[data-action="cut"] {
  color: var(--primary-red);
}

.epaper-clip-menu-btn[data-action="share"] {
  color: var(--primary-blue);
}

.epaper-clip-menu-btn[data-action="cancel"] {
  color: #b91c1c;
}

.epaper-clip-menu-btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

.epaper-clip-result-popup {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1075;
  width: min(360px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 18px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.epaper-clip-result-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--text-secondary);
}

.epaper-clip-result-link {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
}

.epaper-clip-share-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.epaper-clip-share-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #f8fafc;
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.epaper-clip-share-btn:hover {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.epaper-clip-share-btn[data-share="facebook"] { color: #1877f2; }
.epaper-clip-share-btn[data-share="instagram"] { color: #d62976; }
.epaper-clip-share-btn[data-share="whatsapp"] { color: #25d366; }
.epaper-clip-share-btn[data-share="other"] { color: var(--primary-red); }

.epaper-clip-result-image {
  width: 100%;
  max-height: calc(100vh - 240px);
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  object-fit: contain;
}

@media (max-width: 767px) {
  .epaper-clip-result-popup {
    right: 12px;
    bottom: 12px;
    width: min(340px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    padding: 14px;
  }

  .epaper-clip-result-image {
    max-height: calc(100vh - 220px);
  }
}

@media (max-width: 991px) {
  .epaper-viewer-frame {
    min-height: auto;
  }

  .epaper-viewer-card .epaper-page-nav-btn {
    width: 100%;
    height: 220px;
    min-height: 220px;
  }

  .epaper-viewer-card .epaper-page-nav-btn span {
    font-size: 2.2rem;
  }
}

.article-text-content .ajit-lead-text {
  font-size: 1.08rem;
  line-height: 1.85;
  font-weight: 600;
  color: #475569;
  border-left: 4px solid var(--primary-red, #ef4444);
  padding-left: 14px;
}

.article-text-content .ajit-inline-label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-text-content .ajit-callout-box,
.article-text-content .ajit-note-box,
.article-text-content .ajit-read-more-box {
  margin: 1.5rem 0;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.article-text-content .ajit-callout-box {
  border-left: 5px solid var(--primary-red, #ef4444);
}

.article-text-content .ajit-note-box {
  background: #f8fafc;
}

.article-text-content .ajit-quote-panel {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 5px solid var(--primary-red, #ef4444);
  background: linear-gradient(135deg, #fff7f7, #ffffff);
  border-radius: 18px;
}

.article-text-content .ajit-quote-panel p {
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
}

.article-text-content .ajit-quote-panel cite {
  display: block;
  color: #64748b;
  font-size: 0.92rem;
  font-style: normal;
}

.article-text-content .ajit-read-more-box ul {
  margin: 0.85rem 0 0;
  padding-left: 1.25rem;
}

.article-text-content .ajit-two-column-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.article-text-content .ajit-two-column-grid > div {
  padding: 1rem;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.article-text-content .ajit-embed-block {
  margin: 1.75rem 0;
}

.article-text-content .ajit-embed-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 20px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.article-text-content .ajit-embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 767px) {
  .article-text-content .ajit-two-column-grid {
    grid-template-columns: 1fr;
  }
}
