/* ==========================================================================
   SAMADHAN NEWS (समाधान न्यूज़) - PREMIUM DESIGN SYSTEM
   Theme: Bold Dark Orange & Warm Slate
   ========================================================================== */

:root {
  --color-primary: #0052cc;         /* Vibrant Electric Cobalt / Royal Blue */
  --color-primary-light: #2563eb;   /* Modern Bright Blue */
  --color-primary-dark: #0038d1;    /* Deep Royal Blue */
  --color-primary-deep: #0a192f;    /* Midnight Navy */
  --color-accent: #3b82f6;          /* Bright Azure */
  --color-accent-amber: #06b6d4;    /* Vibrant Cyan / Sky Blue */
  --color-charcoal: #1e293b;        /* Slate Charcoal */
  --color-charcoal-dark: #0f172a;   /* Deep Navy Slate */
  --color-charcoal-light: #334155;  /* Muted Navy */
  --color-danger: #ef4444;          /* Crisp Red Alert */
  --color-text: #0f172a;            /* Deep Navy Slate Text */
  --color-text-muted: #64748b;      /* Slate Muted */
  --color-bg: #f8fafc;              /* Crisp Modern Light Slate */
  --color-card-bg: #ffffff;
  --color-border: #e2e8f0;

  --font-body: 'Plus Jakarta Sans', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Noto Sans Devanagari', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 82, 204, 0.10);
  --shadow-lg: 0 12px 36px rgba(0, 82, 204, 0.16);
  --transition: all 0.25s ease-in-out;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
  max-width: 100%;
  position: relative;
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--color-primary-dark);
}

/* --------------------------------------------------------------------------
   Top Utility Strip (Live Date & Social Icons)
   -------------------------------------------------------------------------- */
.top-strip {
  background: linear-gradient(90deg, #0a192f 0%, #0f172a 45%, #0038d1 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 38px;
  display: flex;
  align-items: center;
}
.live-clock-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 3px 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Top Social Quick Icons */
.top-social-icons {
  gap: 5px !important;
}
.top-social {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}
.top-social svg {
  fill: #ffffff !important;
  color: #ffffff !important;
  width: 13px !important;
  height: 13px !important;
  display: block !important;
}
.top-social:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4) !important;
}
.top-social-yt:hover { background: #ff0000 !important; border-color: #ff0000 !important; }
.top-social-fb:hover { background: #1877f2 !important; border-color: #1877f2 !important; }
.top-social-insta:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important; border-color: #d6249f !important; }
.top-social-x:hover { background: #000000 !important; border-color: #ffffff !important; }
.top-social-contact:hover { background: var(--color-accent) !important; border-color: var(--color-accent) !important; }

/* --------------------------------------------------------------------------
   Main Brand Header
   -------------------------------------------------------------------------- */
.brand-wrap {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.brand-logo-img {
  max-height: 58px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
  display: block;
}
.brand-logo-img:hover {
  transform: scale(1.02);
}

/* Precision Centered Search Bar */
.search-form-header {
  margin: 0;
}
.search-input-group {
  display: inline-flex !important;
  align-items: stretch !important;
  height: 42px !important;
  width: 290px !important;
  box-sizing: border-box !important;
}
.search-input-group .form-control {
  border-radius: var(--radius-full) 0 0 var(--radius-full) !important;
  border: 1.5px solid #d6d3d1 !important;
  border-right: none !important;
  padding: 0 16px !important;
  font-size: 0.9rem !important;
  height: 42px !important;
  line-height: 42px !important;
  box-shadow: none !important;
  flex: 1 1 auto !important;
  background: #fafaf9;
}
.search-input-group .form-control:focus {
  border-color: var(--color-primary) !important;
  background: #ffffff;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12) !important;
}
.search-input-group .btn-search-submit {
  border-radius: 0 var(--radius-full) var(--radius-full) 0 !important;
  background: var(--color-primary) !important;
  border: 1.5px solid var(--color-primary) !important;
  color: #ffffff !important;
  width: 50px !important;
  height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
}
.search-input-group .btn-search-submit svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 auto !important;
  stroke: #ffffff !important;
  flex-shrink: 0 !important;
}
.search-input-group .btn-search-submit:hover {
  background: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
}

/* Precision Centered Contact Header Button */
.btn-contact-header {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 42px !important;
  padding: 0 20px !important;
  border-radius: var(--radius-full) !important;
  border: 1.5px solid var(--color-primary) !important;
  color: #0052cc;
  background: transparent !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  line-height: 1 !important;
  transition: var(--transition) !important;
  text-decoration: none !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}
.btn-contact-header svg {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  stroke: var(--color-primary) !important;
  transition: stroke 0.2s ease !important;
}
.btn-contact-header span {
  display: inline-block !important;
  line-height: 1 !important;
}
.btn-contact-header:hover {
  background: var(--color-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(194, 65, 12, 0.25) !important;
  transform: translateY(-2px) !important;
}
.btn-contact-header:hover svg {
  stroke: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Sticky Navigation Bar (Desktop & Mobile) - Royal Cobalt Blue Theme
   -------------------------------------------------------------------------- */
.navbar-samadhaan {
  background: linear-gradient(90deg, #0038d1 0%, #0052cc 50%, #1d4ed8 100%) !important;
  box-shadow: 0 4px 18px rgba(0, 82, 204, 0.28) !important;
  padding: 0 !important;
  z-index: 1030 !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15) !important;
}

@media (max-width: 991.98px) {
  .navbar-samadhaan {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1030 !important;
    padding: 8px 12px !important;
    background: #0052cc !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-samadhaan {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1030 !important;
  }
}

.navbar-nav-desktop .nav-link {
  color: rgba(255, 255, 255, 0.94) !important;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.85rem 1.1rem !important;
  position: relative;
  transition: var(--transition);
}
.navbar-nav-desktop .nav-link:hover,
.navbar-nav-desktop .nav-link.active {
  color: #fff !important;
  background-color: rgba(0, 0, 0, 0.16);
}
.navbar-nav-desktop .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
}
.navbar-brand-mobile {
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.2px;
}
.navbar-samadhaan .navbar-toggler {
  padding: 0.4rem 0.6rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
}
.navbar-samadhaan .navbar-toggler-icon {
  filter: invert(1);
}

/* --------------------------------------------------------------------------
   Mobile Offcanvas Drawer
   -------------------------------------------------------------------------- */
.offcanvas-samadhaan {
  background-color: var(--color-primary-deep) !important;
  color: #ffffff;
}
.offcanvas-samadhaan .offcanvas-header {
  position: relative !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  padding: 1.1rem 1rem !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
}
.offcanvas-samadhaan .offcanvas-brand {
  margin: 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 8px 18px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
  transition: transform 0.2s ease !important;
  max-width: 82% !important;
}
.offcanvas-samadhaan .offcanvas-brand:hover {
  transform: scale(1.02) !important;
}
.offcanvas-samadhaan .offcanvas-brand img {
  max-height: 52px !important;
  max-width: 210px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}
.offcanvas-samadhaan .btn-close {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  padding: 0.5rem !important;
  filter: invert(1) grayscale(100%) brightness(200%) !important;
}
.mobile-nav-list .mobile-nav-link {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.8rem 0.6rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}
.mobile-nav-list .mobile-nav-link:hover,
.mobile-nav-list .mobile-nav-link.active {
  color: #ffedd5;
  padding-left: 0.9rem;
  background: rgba(255, 255, 255, 0.06);
}

/* --------------------------------------------------------------------------
   Universal High-Contrast Social Buttons (Sidebar "हमसे जुड़ें", Footer & Drawer)
   -------------------------------------------------------------------------- */
.social-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  background: var(--color-primary, #c2410c) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease !important;
  text-decoration: none !important;
  margin: 0 3px !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22) !important;
  flex-shrink: 0 !important;
}
.social-btn svg {
  fill: #ffffff !important;
  color: #ffffff !important;
  width: 18px !important;
  height: 18px !important;
  display: block !important;
}

/* Official Brand Colors */
.social-btn-yt,
.social-btn[href*="youtube"] {
  background: #e62117 !important;
  border: 1px solid #ff4d4d !important;
}
.social-btn-fb,
.social-btn[href*="facebook"] {
  background: #1877f2 !important;
  border: 1px solid #4d94ff !important;
}
.social-btn-insta,
.social-btn[href*="instagram"] {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}
.social-btn-x,
.social-btn[href*="twitter"],
.social-btn[href*="x.com"] {
  background: #0f172a !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
}
.social-btn:hover {
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.42) !important;
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   News Cards & Responsive Layout - Dark Orange Accent
   -------------------------------------------------------------------------- */
.news-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}
.card-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e7e5e4;
}
.thumb-zoom {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.news-card:hover .thumb-zoom {
  transform: scale(1.05);
}
.badge-orange,
.badge-category-orange {
  background-color: var(--color-primary-light) !important;
  color: #ffffff !important;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
}
.badge-orange:hover {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
}
.section-title-border {
  border-bottom: 2.5px solid var(--color-primary-light);
}
.section-dot {
  width: 10px;
  height: 10px;
  background-color: var(--color-primary-light);
  border-radius: 50%;
  display: inline-block;
}
.news-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: #1c1917;
  transition: color 0.2s ease;
}
.news-card:hover .news-title {
  color: var(--color-primary-light);
}
.news-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Hero / Featured Card */
.hero-news-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 380px;
  background: #431407;
}
.hero-news-card .hero-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.5s ease;
}
.hero-news-card:hover .hero-thumb {
  transform: scale(1.04);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(67, 20, 7, 0.1) 0%, rgba(67, 20, 7, 0.94) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  color: #fff;
}
.hero-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------------------
   Article Detail Page Container (.news-article-container)
   -------------------------------------------------------------------------- */
.news-article-container {
  background: #ffffff; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06); border: 1px solid #e2e8f0; border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.article-header-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.35;
  color: #1c1917;
}
@media (min-width: 768px) {
  .article-header-title {
    font-size: 2.3rem;
  }
}
.article-featured-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.article-body-content {
  font-size: 1.12rem;
  line-height: 1.85;
  color: #292524;
}
.article-body-content p {
  margin-bottom: 1.4rem;
}

/* Custom Primary Buttons */
.btn-primary-orange {
  background-color: var(--color-primary-light) !important;
  border-color: var(--color-primary-light) !important;
  color: #ffffff !important;
  font-weight: 600;
  transition: var(--transition);
}
.btn-primary-orange:hover {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.3) !important;
}

/* Share Buttons */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff !important;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.share-wa { background: #25d366; }
.share-fb { background: #1877f2; }
.share-x { background: #0f172a; }
.share-copy { background: var(--color-primary); }

/* --------------------------------------------------------------------------
   Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, #0f172a 0%, #0a192f 100%); border-top: 4px solid #0052cc;
  color: rgba(255, 255, 255, 0.85);
  border-top: 4px solid var(--color-primary-light);
}
.footer-logo-badge {
  background: #ffffff;
  padding: 8px 18px;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: 2px solid var(--color-primary-light);
  display: inline-block;
  padding-bottom: 6px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}
.footer-bottom {
  background: rgba(0, 0, 0, 0.45);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Force hide contact button on mobile */
@media (max-width: 991.98px) {
  .btn-contact-header {
    display: none !important;
  }
}

/* Mobile Navigation Bar & Offcanvas */
.navbar-brand-mobile {
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.2px;
}
.navbar-samadhaan .navbar-toggler {
  padding: 0.4rem 0.65rem;
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: var(--radius-sm);
}
.navbar-samadhaan .navbar-toggler:focus {
  box-shadow: none;
}
.navbar-samadhaan .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}
.offcanvas-mobile-nav {
  background-color: #ffffff;
}
.offcanvas-mobile-nav .offcanvas-header {
  background: linear-gradient(90deg, #0038d1 0%, #0052cc 100%);
  color: #ffffff;
  padding: 1.25rem;
}
.offcanvas-mobile-nav .btn-close {
  filter: brightness(0) invert(1);
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.25rem;
  color: #0f172a;
  font-weight: 600;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  transition: var(--transition);
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: #eff6ff;
  color: #0052cc;
  padding-left: 1.5rem;
}

/* --------------------------------------------------------------------------
   Banner Advertisements Component (Header & News Detail)
   -------------------------------------------------------------------------- */
.banner-ad-container {
  width: 100%;
  margin: 0.6rem 0;
  position: relative;
  z-index: 10;
}
.banner-ad-header {
  margin: 0.5rem 0 0.75rem 0;
}
.banner-ad-news_detail {
  margin: 1.75rem 0 1.25rem 0;
}
.banner-ad-frame {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.banner-ad-frame:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.09);
}
.banner-ad-tag {
  position: absolute;
  top: 6px;
  right: 10px;
  z-index: 5;
  pointer-events: none;
}
.banner-ad-tag span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #64748b;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: inline-block;
  line-height: 1.2;
}
.banner-ad-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
}
.banner-ad-track {
  position: relative;
  width: 100%;
  min-height: 80px;
}
.banner-ad-slide {
  display: none;
  opacity: 0;
  width: 100%;
  transition: opacity 0.45s ease-in-out;
}
.banner-ad-slide.active {
  display: block;
  opacity: 1;
}
.banner-ad-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #f8fafc;
  cursor: pointer;
  overflow: hidden;
  outline: none;
}
.banner-ad-item:focus-visible {
  outline: 3px solid #ea580c;
  outline-offset: -3px;
}
.banner-ad-header .banner-ad-item {
  min-height: 90px;
  max-height: 160px;
}
.banner-ad-news_detail .banner-ad-item {
  min-height: 100px;
  max-height: 240px;
}
.banner-ad-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}
.banner-ad-header .banner-ad-img {
  max-height: 160px;
}
.banner-ad-news_detail .banner-ad-img {
  max-height: 240px;
}
.banner-ad-item:hover .banner-ad-img {
  transform: scale(1.012);
}

/* Hover hint overlay */
.banner-ad-overlay-hint {
  position: absolute;
  bottom: 8px;
  right: 12px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 4;
}
.banner-ad-item:hover .banner-ad-overlay-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Slider Controls: Arrows */
.banner-ad-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, transform 0.2s, color 0.2s;
  padding: 0;
}
.banner-ad-arrow:hover {
  background: #ffffff;
  color: #ea580c;
  transform: translateY(-50%) scale(1.08);
}
.banner-ad-prev {
  left: 10px;
}
.banner-ad-next {
  right: 10px;
}

/* Slider Controls: Dots */
.banner-ad-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 6;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 20px;
}
.banner-ad-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}
.banner-ad-dot:hover {
  background: #ffffff;
}
.banner-ad-dot.active {
  width: 20px;
  border-radius: 4px;
  background: #ea580c;
}

/* --------------------------------------------------------------------------
   Fullscreen Lightbox Overlay
   -------------------------------------------------------------------------- */
.banner-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(10, 15, 29, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  overflow: hidden;
}
.banner-lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
body.banner-overlay-open {
  overflow: hidden !important;
}

.banner-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: background 0.2s, transform 0.2s, color 0.2s;
  padding: 0;
}
.banner-lightbox-close:hover {
  background: rgba(239, 68, 68, 0.9);
  border-color: #ef4444;
  transform: scale(1.08);
}

.banner-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.banner-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.08);
}
.banner-lightbox-prev {
  left: 20px;
}
.banner-lightbox-next {
  right: 20px;
}

.banner-lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.95);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.banner-lightbox-overlay.active .banner-lightbox-content {
  transform: scale(1);
}

.banner-lightbox-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 78vh;
}
.banner-lightbox-img {
  max-width: 92vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  background: rgba(0, 0, 0, 0.3);
}

.banner-lightbox-meta {
  margin-top: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.banner-lightbox-title {
  color: #f1f5f9;
  font-size: 1.05rem;
  font-weight: 600;
  max-width: 800px;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.banner-lightbox-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.banner-lightbox-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(234, 88, 12, 0.6);
  color: #ffffff !important;
}

@media (max-width: 767.98px) {
  .banner-lightbox-prev {
    left: 8px;
    width: 40px;
    height: 40px;
  }
  .banner-lightbox-next {
    right: 8px;
    width: 40px;
    height: 40px;
  }
  .banner-lightbox-close {
    top: 12px;
    right: 14px;
    width: 38px;
    height: 38px;
  }
  .banner-lightbox-img {
    max-height: 68vh;
  }
  .banner-ad-header .banner-ad-item {
    min-height: 70px;
    max-height: 120px;
  }
  .banner-ad-header .banner-ad-img {
    max-height: 120px;
  }
  .banner-ad-news_detail .banner-ad-item {
    min-height: 80px;
    max-height: 180px;
  }
  .banner-ad-news_detail .banner-ad-img {
    max-height: 180px;
  }
}

