/**
 * BINDHU VOICE - Official Digital Publication Design System
 * Inspired by Broad-sheet Gravitas + Modern Digital Editorial Architecture
 */

/* ==========================================================================
   1. CSS Custom Properties / Design Tokens
   ========================================================================== */
:root {
  /* Brand Color System */
  --bv-blue: #123F8A;
  --bv-blue-dark: #0c2b60;
  --bv-blue-light: #e8f0fe;
  --bv-red: #D71920;
  --bv-red-dark: #b01319;
  --bv-red-light: #fde8e9;
  --bv-green: #159447;
  --bv-green-dark: #0e6931;
  --bv-gold: #E2AD27;
  --bv-gold-light: #fef8eb;
  
  /* Neutral Palette */
  --bv-dark: #111111;
  --bv-charcoal: #222222;
  --bv-gray-900: #1a1a1a;
  --bv-gray-700: #374151;
  --bv-gray-600: #4B5563;
  --bv-gray-500: #6B7280;
  --bv-gray-300: #D1D5DB;
  --bv-gray-200: #E5E7EB;
  --bv-gray-100: #F3F4F6;
  --bv-bg-light: #F7F8FA;
  --bv-white: #FFFFFF;

  /* Typography Stacks */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Poppins', 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-telugu-sans: 'Noto Sans Telugu', 'Segoe UI', system-ui, sans-serif;
  --font-telugu-serif: 'Noto Serif Telugu', Georgia, serif;

  /* Elevation & Borders */
  --bv-radius-sm: 4px;
  --bv-radius-md: 8px;
  --bv-radius-lg: 12px;
  --bv-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --bv-shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --bv-shadow-hover: 0 8px 20px rgba(18, 63, 138, 0.12);
  --bv-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. Reset, Base & Global Typography
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background-color: var(--bv-bg-light);
  color: var(--bv-charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Telugu Language Mode Specific Typography */
[lang="te"], [lang="te"] body {
  font-family: var(--font-telugu-sans);
  line-height: 1.8;
}

[lang="te"] h1, [lang="te"] h2, [lang="te"] h3, [lang="te"] h4, [lang="te"] h5, [lang="te"] h6,
[lang="te"] .bv-headline, [lang="te"] .navbar-nav, [lang="te"] .nav-link {
  font-family: var(--font-telugu-sans);
  line-height: 1.5;
  letter-spacing: normal;
}

[lang="te"] .bv-article-body {
  font-family: var(--font-telugu-sans);
  font-size: 1.15rem;
  line-height: 1.95;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--bv-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a {
  color: var(--bv-blue);
  text-decoration: none;
  transition: var(--bv-transition);
}

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

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

/* Accessibility Focus States */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--bv-red);
  outline-offset: 2px;
}

.skip-to-content {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--bv-red);
  color: var(--bv-white);
  padding: 10px 18px;
  z-index: 9999;
  font-weight: 600;
  border-radius: var(--bv-radius-sm);
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 15px;
}

/* ==========================================================================
   3. Top Utility Bar
   ========================================================================== */
.bv-utility-bar {
  background-color: #0b1f44;
  color: #d0d7e5;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bv-utility-bar a {
  color: #e2e8f0;
}

.bv-utility-bar a:hover {
  color: var(--bv-gold);
}

.bv-meta-pill {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: var(--bv-radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.bv-lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2px 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.bv-lang-btn {
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--bv-transition);
}

.bv-lang-btn.active {
  background-color: var(--bv-red);
  color: var(--bv-white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ==========================================================================
   4. Main Brand Header (Masthead)
   ========================================================================== */
.bv-main-header {
  background: var(--bv-white);
  border-bottom: 2px solid var(--bv-gray-200);
  position: relative;
}

.bv-masthead-container {
  padding: 16px 0;
}

.bv-masthead-img {
  max-height: 96px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.bv-masthead-img:hover {
  transform: scale(1.005);
}

.bv-header-badge {
  font-size: 0.75rem;
  color: var(--bv-gray-600);
  background: var(--bv-gray-100);
  padding: 4px 10px;
  border-radius: var(--bv-radius-sm);
  border: 1px solid var(--bv-gray-200);
}

.bv-header-search-btn {
  background: var(--bv-gray-100);
  border: 1px solid var(--bv-gray-200);
  color: var(--bv-gray-700);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  transition: var(--bv-transition);
}

.bv-header-search-btn:hover {
  background: var(--bv-white);
  border-color: var(--bv-blue);
  color: var(--bv-blue);
  box-shadow: var(--bv-shadow-sm);
}

/* ==========================================================================
   5. Primary Editorial Navigation Bar
   ========================================================================== */
.bv-navbar {
  background-color: var(--bv-blue);
  padding: 0;
  box-shadow: 0 3px 10px rgba(18, 63, 138, 0.15);
  transition: var(--bv-transition);
}

.bv-navbar.sticky-top {
  top: 0;
  z-index: 1030;
}

.bv-navbar .navbar-nav {
  gap: 2px;
}

.bv-navbar .nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 12px 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  position: relative;
  transition: var(--bv-transition);
  white-space: nowrap;
}

[lang="te"] .bv-navbar .nav-link {
  font-size: 0.92rem;
  letter-spacing: normal;
  text-transform: none;
  padding: 11px 9px !important;
}

.bv-navbar .nav-link:hover {
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.08);
}

.bv-navbar .nav-link.active {
  color: #fff !important;
  background-color: rgba(0, 0, 0, 0.15);
}

.bv-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--bv-red);
}

.bv-nav-highlight {
  background: rgba(215, 25, 32, 0.18) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   6. Breaking News Marquee Strip
   ========================================================================== */
.bv-breaking-bar {
  background: var(--bv-white);
  border-bottom: 1px solid var(--bv-gray-200);
  box-shadow: var(--bv-shadow-sm);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  height: 44px;
}

.bv-breaking-label {
  background: var(--bv-red);
  color: var(--bv-white);
  font-size: 0.8125rem;
  font-weight: 800;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  box-shadow: 2px 0 6px rgba(0,0,0,0.15);
}

.bv-breaking-ticker {
  flex-grow: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.bv-ticker-content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: bv-ticker-scroll 32s linear infinite;
}

.bv-breaking-ticker:hover .bv-ticker-content {
  animation-play-state: paused;
}

.bv-ticker-item {
  display: inline-block;
  padding: 0 28px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bv-dark);
}

.bv-ticker-item:hover {
  color: var(--bv-red);
}

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

@media (prefers-reduced-motion: reduce) {
  .bv-ticker-content {
    animation: none;
    padding-left: 16px;
    overflow-x: auto;
  }
}

/* ==========================================================================
   7. Section Headers & Dividers
   ========================================================================== */
.bv-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--bv-blue);
  padding-bottom: 8px;
  margin-bottom: 22px;
  position: relative;
}

.bv-section-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--bv-red);
}

.bv-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: var(--bv-blue);
  display: flex;
  align-items: center;
  gap: 8px;
}

[lang="te"] .bv-section-title {
  font-size: 1.45rem;
}

.bv-section-title i {
  color: var(--bv-red);
}

.bv-view-all-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--bv-red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bv-view-all-link:hover {
  color: var(--bv-blue);
  transform: translateX(3px);
}

/* ==========================================================================
   8. Editorial News Cards
   ========================================================================== */
.bv-card {
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: var(--bv-radius-md);
  overflow: hidden;
  transition: var(--bv-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bv-shadow-hover);
  border-color: var(--bv-gray-300);
}

.bv-card-img-wrapper {
  position: relative;
  overflow: hidden;
  background-color: var(--bv-gray-100);
}

.bv-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bv-card:hover .bv-card-img-wrapper img {
  transform: scale(1.04);
}

.bv-badge-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--bv-blue);
  color: var(--bv-white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: var(--bv-radius-sm);
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.bv-badge-cat.badge-red {
  background: var(--bv-red);
}

.bv-badge-cat.badge-green {
  background: var(--bv-green);
}

.bv-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bv-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--bv-dark);
  transition: color 0.2s ease;
}

[lang="te"] .bv-card-title {
  font-size: 1.25rem;
  line-height: 1.55;
}

.bv-card:hover .bv-card-title {
  color: var(--bv-blue);
}

.bv-card-text {
  font-size: 0.9rem;
  color: var(--bv-gray-600);
  line-height: 1.55;
  margin-bottom: 12px;
  flex-grow: 1;
}

[lang="te"] .bv-card-text {
  font-size: 0.96rem;
  line-height: 1.7;
}

.bv-card-meta {
  font-size: 0.8rem;
  color: var(--bv-gray-500);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  border-top: 1px solid var(--bv-gray-100);
  padding-top: 12px;
  margin-top: auto;
}

.bv-card-meta .btn {
  white-space: nowrap !important;
  flex-shrink: 0;
}

/* Hero / Asymmetric Top Story Layout */
.bv-hero-lead-card {
  border-left: 4px solid var(--bv-red);
}

.bv-hero-lead-card .bv-card-img-wrapper {
  height: 340px;
}

.bv-hero-lead-card .bv-card-title {
  font-size: 1.65rem;
  line-height: 1.35;
  margin-bottom: 12px;
}

[lang="te"] .bv-hero-lead-card .bv-card-title {
  font-size: 1.75rem;
  line-height: 1.45;
}

/* Horizontal Article Cards */
.bv-card-horizontal {
  display: flex;
  flex-direction: row;
  border: 1px solid var(--bv-gray-200);
  border-radius: var(--bv-radius-md);
  background: var(--bv-white);
  overflow: hidden;
  margin-bottom: 20px;
  transition: var(--bv-transition);
  width: 100%;
}

.bv-card-horizontal:hover {
  transform: translateY(-2px);
  box-shadow: var(--bv-shadow-hover);
  border-color: var(--bv-gray-300);
}

.bv-card-horizontal .bv-card-img-wrapper,
.bv-card-horizontal-img {
  width: 260px;
  min-width: 260px;
  height: auto;
  min-height: 180px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--bv-gray-100);
}

.bv-card-horizontal .bv-card-img-wrapper img,
.bv-card-horizontal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bv-card-horizontal:hover .bv-card-img-wrapper img,
.bv-card-horizontal:hover .bv-card-horizontal-img img {
  transform: scale(1.04);
}

.bv-card-horizontal .bv-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bv-card-horizontal .bv-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

/* Compact Sidebar Article Items */
.bv-sidebar-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bv-gray-200);
  transition: var(--bv-transition);
}

.bv-sidebar-item:last-child {
  border-bottom: none;
}

/* Secondary Top Stories Card */
.bv-secondary-card {
  min-height: 125px;
}

.bv-secondary-thumb {
  width: 140px;
  min-width: 140px;
  height: 100%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--bv-gray-100);
}

.bv-secondary-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bv-secondary-card:hover .bv-secondary-thumb img {
  transform: scale(1.05);
}

@media (max-width: 480px) {
  .bv-secondary-thumb {
    width: 110px;
    min-width: 110px;
  }
}

.bv-sidebar-thumb {
  width: 86px;
  height: 64px;
  min-width: 86px;
  border-radius: var(--bv-radius-sm);
  overflow: hidden;
  background-color: var(--bv-gray-100);
  flex-shrink: 0;
}

.bv-sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bv-sidebar-content {
  flex-grow: 1;
}

.bv-sidebar-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--bv-dark);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

[lang="te"] .bv-sidebar-title {
  font-size: 0.98rem;
  line-height: 1.5;
}

.bv-sidebar-item:hover .bv-sidebar-title {
  color: var(--bv-blue);
}

.bv-sidebar-date {
  font-size: 0.74rem;
  color: var(--bv-gray-500);
}

/* ==========================================================================
   9. Special Stories / Investigative Section (Rich Navy Editorial)
   ========================================================================== */
.bv-special-section {
  background: linear-gradient(135deg, #0d2757 0%, #123F8A 100%);
  color: var(--bv-white);
  padding: 50px 0;
  position: relative;
}

.bv-special-section .bv-section-header {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.bv-special-section .bv-section-header::after {
  background-color: var(--bv-gold);
}

.bv-special-section .bv-section-title {
  color: var(--bv-white);
}

.bv-special-section .bv-section-title i {
  color: var(--bv-gold);
}

.bv-special-section .bv-view-all-link {
  color: var(--bv-gold);
}

.bv-special-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--bv-radius-md);
  color: var(--bv-white);
  backdrop-filter: blur(4px);
  transition: var(--bv-transition);
}

.bv-special-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--bv-gold);
  transform: translateY(-4px);
}

.bv-special-card .bv-card-title {
  color: var(--bv-white);
}

.bv-special-card:hover .bv-card-title {
  color: var(--bv-gold);
}

.bv-special-card .bv-card-text {
  color: #d0d7e5;
}

.bv-special-card .bv-card-meta {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: #a0aec0;
}

/* ==========================================================================
   10. Editorial Board Cards (Authentic Profile Display)
   ========================================================================== */
.bv-board-card {
  background: var(--bv-white);
  border: 1px solid var(--bv-gray-200);
  border-radius: var(--bv-radius-md);
  padding: 22px;
  height: 100%;
  transition: var(--bv-transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.bv-board-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bv-shadow-hover);
  border-color: var(--bv-blue);
}

.bv-board-card.leadership-card {
  border-top: 4px solid var(--bv-red);
  background: #fff;
  box-shadow: 0 4px 14px rgba(18, 63, 138, 0.08);
}

.bv-board-card.senior-card {
  border-top: 3px solid var(--bv-blue);
}

.bv-board-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bv-blue-light);
  color: var(--bv-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.leadership-card .bv-board-avatar {
  width: 76px;
  height: 76px;
  background: var(--bv-red-light);
  color: var(--bv-red);
  font-size: 1.85rem;
}

.bv-board-designation {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bv-red);
  margin-bottom: 4px;
}

[lang="te"] .bv-board-designation {
  font-size: 0.95rem;
  text-transform: none;
}

.bv-board-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bv-dark);
  margin-bottom: 8px;
}

[lang="te"] .bv-board-name {
  font-size: 1.3rem;
}

.bv-board-bio {
  font-size: 0.875rem;
  color: var(--bv-gray-600);
  line-height: 1.55;
  margin-bottom: 12px;
  flex-grow: 1;
}

[lang="te"] .bv-board-bio {
  font-size: 0.92rem;
  line-height: 1.7;
}

.bv-board-contact {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bv-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

/* ==========================================================================
   11. Article Reading Experience Page
   ========================================================================== */
.bv-article-container {
  max-width: 820px;
  margin: 0 auto;
}

.bv-article-headline {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.28;
  color: var(--bv-dark);
  margin-bottom: 16px;
}

[lang="te"] .bv-article-headline {
  font-size: 2.15rem;
  line-height: 1.45;
}

.bv-article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--bv-gray-200);
  border-bottom: 1px solid var(--bv-gray-200);
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: var(--bv-gray-600);
}

.bv-article-body {
  font-size: 1.125rem;
  line-height: 1.85;
  color: #1f2937;
}

.bv-article-body p {
  margin-bottom: 1.5rem;
}

.bv-article-body .lead {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--bv-dark);
}

.bv-pullquote {
  background: var(--bv-bg-light);
  border-left: 4px solid var(--bv-red);
  padding: 24px;
  margin: 32px 0;
  border-radius: 0 var(--bv-radius-md) var(--bv-radius-md) 0;
}

.bv-pullquote p {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 600;
  color: var(--bv-blue-dark);
  margin-bottom: 8px;
}

.bv-share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
}

.bv-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--bv-gray-300);
  background: var(--bv-white);
  color: var(--bv-charcoal);
  cursor: pointer;
  transition: var(--bv-transition);
}

.bv-share-btn.btn-whatsapp:hover {
  background-color: #25D366;
  color: #fff;
  border-color: #25D366;
}

.bv-share-btn.btn-facebook:hover {
  background-color: #1877F2;
  color: #fff;
  border-color: #1877F2;
}

.bv-share-btn.btn-twitter:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.bv-share-btn.btn-copy:hover {
  background-color: var(--bv-blue);
  color: #fff;
  border-color: var(--bv-blue);
}

/* ==========================================================================
   12. Advertisement Slots
   ========================================================================== */
.bv-ad-slot {
  background: #f1f3f7;
  border: 1px dashed var(--bv-gray-300);
  border-radius: var(--bv-radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 24px auto;
  position: relative;
  overflow: hidden;
}

.bv-ad-label {
  font-size: 0.68rem;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.bv-ad-leaderboard {
  max-width: 728px;
  min-height: 90px;
  padding: 12px;
}

.bv-ad-sidebar {
  max-width: 300px;
  min-height: 250px;
  width: 100%;
  padding: 16px;
}

/* ==========================================================================
   13. Search Overlay / Modal
   ========================================================================== */
.bv-search-modal .modal-content {
  border-radius: var(--bv-radius-lg);
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.bv-search-input-group {
  position: relative;
  padding: 20px;
  background: var(--bv-white);
  border-bottom: 1px solid var(--bv-gray-200);
}

.bv-search-input {
  border: 2px solid var(--bv-blue);
  border-radius: 30px;
  padding: 12px 20px 12px 48px;
  font-size: 1.1rem;
  width: 100%;
  transition: var(--bv-transition);
}

.bv-search-input:focus {
  outline: none;
  border-color: var(--bv-red);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.15);
}

.bv-search-icon-inside {
  position: absolute;
  top: 50%;
  left: 36px;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--bv-gray-500);
}

.bv-search-results-list {
  max-height: 480px;
  overflow-y: auto;
  padding: 16px 20px;
}

/* ==========================================================================
   14. Footer
   ========================================================================== */
.bv-footer {
  background-color: #0b1c38;
  color: #cbd5e1;
  border-top: 4px solid var(--bv-red);
  padding: 60px 0 20px;
  font-size: 0.9rem;
}

.bv-footer h5 {
  color: var(--bv-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.bv-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--bv-gold);
}

.bv-footer a {
  color: #cbd5e1;
}

.bv-footer a:hover {
  color: var(--bv-gold);
  transform: translateX(2px);
}

.bv-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bv-footer-links li {
  margin-bottom: 10px;
}

.bv-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-right: 8px;
  transition: var(--bv-transition);
}

.bv-social-icon:hover {
  background: var(--bv-red);
  color: #fff;
  transform: translateY(-3px);
}

.bv-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 40px;
  font-size: 0.8125rem;
}

/* ==========================================================================
   15. Mobile Floating Bottom Navigation Bar
   ========================================================================== */
.bv-mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--bv-white);
  border-top: 1px solid var(--bv-gray-200);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  z-index: 1040;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px;
}

.bv-mobile-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--bv-gray-600);
  font-size: 0.68rem;
  font-weight: 600;
  text-decoration: none;
  flex: 1;
  height: 100%;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.1;
  padding: 4px 2px;
  transition: color 0.15s ease;
}

.bv-mobile-nav-btn i {
  font-size: 1.25rem;
  line-height: 1;
  margin-bottom: 2px;
}

.bv-mobile-nav-btn span {
  display: block;
  white-space: nowrap;
  font-size: 0.68rem;
  line-height: 1.1;
}

.bv-mobile-nav-btn.active, .bv-mobile-nav-btn:hover {
  color: var(--bv-red);
}

/* ==========================================================================
   16. Responsive Breakpoint Adjustments
   ========================================================================== */
@media (max-width: 991.98px) {
  .bv-navbar .navbar-nav {
    padding: 12px 0;
  }
  
  .bv-navbar .nav-link {
    padding: 10px 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .bv-masthead-container {
    padding: 12px 0 8px;
  }

  .bv-masthead-img {
    max-height: 68px;
    width: auto;
    max-width: 100%;
  }

  .bv-mobile-bottom-nav {
    display: flex;
  }

  body {
    padding-bottom: 64px; /* Space for bottom nav */
  }

  /* Full-width responsive horizontal cards */
  .bv-card-horizontal {
    flex-direction: column !important;
    width: 100%;
  }

  .bv-card-horizontal .bv-card-img-wrapper,
  .bv-card-horizontal-img {
    width: 100% !important;
    min-width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 250px !important;
  }

  .bv-card-horizontal .bv-card-img-wrapper img,
  .bv-card-horizontal-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

@media (max-width: 575.98px) {
  .bv-masthead-container {
    padding: 8px 0;
  }

  .bv-masthead-img {
    max-height: 62px;
    width: auto;
    max-width: 100%;
  }

  .bv-hero-lead-card .bv-card-img-wrapper {
    height: 220px;
  }

  .bv-hero-lead-card .bv-card-title {
    font-size: 1.35rem;
  }

  .bv-article-headline {
    font-size: 1.65rem;
  }

  /* Stacking meta button on mobile cards */
  .bv-card-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .bv-card-meta .btn {
    width: 100% !important;
    text-align: center;
    margin-left: 0 !important;
    margin-top: 4px;
    padding: 7px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Minimum 320px support */
@media (max-width: 360px) {
  .bv-utility-bar {
    font-size: 0.75rem;
  }
  
  .bv-masthead-img {
    max-height: 50px;
  }

  .bv-breaking-label {
    padding: 0 10px;
    font-size: 0.75rem;
  }
}
