/* ==========================================================================
   দৈনিক বাংলাদেশের কথা (Dainik Bangladesher Kotha) - Responsive Stylesheet
   ========================================================================== */

/* Baseline Global Viewport Guard (Prevents Any Accidental Horizontal Scroll without breaking position: sticky) */
html,
body {
  overflow-x: clip !important;
  max-width: 100vw !important;
  width: 100% !important;
}

/* Tablet & Smaller Screens (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid-layout {
    grid-template-columns: 1fr 1fr;
  }

  .hero-tabs-box {
    grid-column: span 2;
    order: 3;
  }

  .hero-center-col {
    grid-column: span 2;
    order: 1;
  }

  .hero-right-col {
    grid-column: span 2;
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .national-grid {
    grid-template-columns: 1fr;
  }

  .card-national-lead {
    grid-template-columns: 1fr;
  }

  .saradesh-grid,
  .lifestyle-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sports-tech-grid {
    grid-template-columns: 1fr;
  }

  .video-carousel-container {
    grid-template-columns: 1fr;
  }

  .opinion-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-epaper-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .archive-layout,
  .single-page-layout {
    grid-template-columns: 1fr;
  }

  .mega-dropdown {
    width: 95vw;
    left: -20px;
  }

  .mega-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bdk-three-col-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bdk-lead-list-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {

  /* Prevent any horizontal overflow */
  html,
  body {
    overflow-x: clip !important;
    position: relative;
  }

  .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ================= 1. Top Header on Mobile (Clean with Offcanvas Trigger) ================= */
  .top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0.75rem;
  }

  .top-left-info {
    width: auto;
    gap: 0.5rem;
  }

  /* Hide detailed topbar widgets from normal bar to keep it super clean */
  .location-indicator,
  .date-divider,
  .date-text,
  .top-right-meta {
    display: none !important;
  }

  /* Show live time clock boldly on mobile */
  .live-time-date {
    display: flex;
    align-items: center;
  }

  .live-clock {
    font-size: var(--fs-sm);
  }

  /* Show the topbar info off-canvas button */
  .topbar-mobile-btn {
    display: inline-flex !important;
  }

  /* ================= 2. Main Header Logo & Ads ================= */
  .main-header {
    padding: 0.6rem 0;
  }

  .main-header .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .brand-logo-img {
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .header-ad-box {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: auto !important;
    padding: 0.15rem 0 !important;
    margin: 0.2rem 0 !important;
  }

  /* Ultra-Compact Mobile Ad Placeholder */
  .theme-ad-placeholder {
    margin: 0.25rem auto !important;
    padding: 0.35rem 0.65rem !important;
    gap: 0.5rem !important;
    border-radius: 6px !important;
    border-width: 1px !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .ad-placeholder-info {
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    flex: 1 !important;
    overflow: hidden !important;
    text-align: left !important;
  }

  .ad-placeholder-info .ad-tag {
    font-size: 9px !important;
    padding: 1px 4px !important;
    flex-shrink: 0 !important;
    line-height: 1.1 !important;
  }

  .ad-placeholder-title {
    font-size: 0.78rem !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex-shrink: 1 !important;
  }

  .ad-placeholder-desc {
    display: none !important; /* Hide long tagline on mobile so ad takes minimal vertical space */
  }

  .ad-placeholder-btn {
    padding: 0.25rem 0.6rem !important;
    font-size: 0.72rem !important;
    border-radius: 4px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }

  .ad-content-demo {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
  }

  .ad-content-demo h4,
  .ad-content-demo p {
    text-align: center;
  }

  /* ================= 3. Mobile Navigation Drawer & Navbar Stacking Context Fix ================= */
  .navbar-wrapper {
    z-index: 2005 !important;
    /* Always above backdrop */
    position: sticky;
    top: 0;
    padding: 8px 0;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: #fff;
    cursor: pointer;
  }

  .mobile-filter-btn {
    display: inline-flex !important;
  }

  .district-filter-bar,
  .breaking-district-filter {
    display: none !important;
  }

  .mobile-nav-cta-item {
    display: block !important;
  }

  /* Hide Journalist Recruitment / Dashboard button from top row on mobile */
  .nav-actions a[href*="reporter"] {
    display: none !important;
  }

  /* On mobile, style Live TV button as icon-only button */
  .nav-actions .live-tv-btn .live-tv-text {
    display: none !important;
  }

  .nav-actions .live-tv-btn {
    padding: 0 !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    background: #dc2626 !important;
  }

  .nav-actions .live-tv-btn i {
    margin: 0 !important;
    font-size: 0.95rem !important;
  }

  .main-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 290px;
    height: 100vh;
    background: var(--surface-color) !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 0 2rem;
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.45);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2010 !important;
    overflow-y: auto;
  }

  .main-menu.is-open {
    left: 0;
  }

  .main-menu > li > a {
    color: var(--text-main) !important;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    font-size: var(--fs-base);
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.85rem !important;
    text-align: left !important;
  }

  .main-menu > li > a:hover {
    background: var(--primary-light);
    color: var(--primary-color) !important;
  }

  .main-menu > li > a.home-icon-link {
    background: var(--primary-color);
    color: #fff !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
  }

  /* Fixed icon width so all text starts at the exact same left offset */
  .main-menu > li > a > i:first-child {
    width: 22px;
    text-align: center;
    font-size: 1.05rem;
    flex-shrink: 0;
  }

  /* Mobile Navigation Sub-Menu Accordion Styling */
  .main-menu .sub-menu,
  .main-menu .dropdown-menu,
  .mega-dropdown {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: var(--surface-secondary, #f8fafc) !important;
    width: auto !important;
    padding: 0.25rem 0.5rem 0.5rem 0.75rem !important;
    display: none !important;
    border-left: 3px solid var(--primary-color, #006a4e) !important;
    margin: 0.35rem 0.75rem 0.5rem 1rem !important;
    border-radius: 0 8px 8px 0 !important;
  }

  .main-menu .menu-item-has-children.is-open > .sub-menu,
  .main-menu .menu-item-has-children.is-open > .dropdown-menu,
  .main-menu .menu-item-has-children.is-open > .mega-dropdown,
  .main-menu > li.show-mobile-sub > .dropdown-menu,
  .main-menu > li.show-mobile-sub > .mega-dropdown {
    display: block !important;
  }

  .main-menu .menu-item-has-children > a {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.85rem !important;
    text-align: left !important;
  }

  .main-menu .menu-item-has-children > a .fa-angle-down {
    margin-left: auto !important;
    transition: transform 0.25s ease;
    background: rgba(0, 0, 0, 0.06);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85rem !important;
    color: var(--primary-color, #006a4e);
    flex-shrink: 0;
  }

  .main-menu .menu-item-has-children.is-open > a .fa-angle-down {
    transform: rotate(180deg);
    background: var(--primary-color, #006a4e);
    color: #ffffff;
  }

  .main-menu .sub-menu li a,
  .main-menu .dropdown-menu li a {
    padding: 0.6rem 0.85rem !important;
    font-size: 0.88rem !important;
    color: var(--text-main) !important;
    border-bottom: 1px dashed var(--border-color, #e2e8f0) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 8px !important;
    border-left: none !important;
  }

  .main-menu .sub-menu li a i,
  .main-menu .dropdown-menu li a i {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
  }

  .main-menu .sub-menu li:last-child a,
  .main-menu .dropdown-menu li:last-child a {
    border-bottom: none !important;
  }

  .mega-grid {
    grid-template-columns: 1fr;
  }

  /* ================= 4. Hero Section Mobile ================= */
  .hero-grid-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-tabs-box,
  .hero-center-col,
  .hero-right-col {
    grid-column: span 1;
  }

  .hero-lead-title {
    font-size: var(--fs-xl);
  }

  .hero-dual-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .hero-dual-grid .sub-lead-card {
    grid-column: span 1;
  }

  .hero-dual-grid .sub-lead-title {
    font-size: var(--fs-sm);
  }

  .hero-right-col {
    grid-template-columns: 1fr;
  }

  /* Hero Tabs (সর্বশেষ, জনপ্রিয়, আলোচিত) & Trending (ট্রেন্ডিং খবর): Show only 3 items on Mobile */
  .hero-tabs-box .tab-news-list .tab-news-item:nth-child(n+4) {
    display: none !important;
  }

  .hero-tabs-box .tab-news-list .tab-news-item:nth-child(3) {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  .trending-news-stack .trending-list .trending-item:nth-child(n+4) {
    display: none !important;
  }

  .trending-news-stack .trending-list .trending-item:nth-child(3) {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  /* ================= 5. NEWS GRIDS: 1st Large Full Width, Remaining 2-Column Grid ================= */

  /* National Section */
  .national-lead-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .card-national-lead {
    grid-column: span 2 !important;
  }

  .card-national-sub {
    grid-column: span 1 !important;
  }

  .card-national-sub h4 {
    font-size: var(--fs-sm);
  }

  /* Saradesh / District Grid (1st Large, rest 2-col) */
  .saradesh-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .saradesh-grid .district-news-card:first-child {
    grid-column: span 2;
  }

  .saradesh-grid .district-news-card:first-child .district-img-box {
    aspect-ratio: 16 / 9;
  }

  .saradesh-grid .district-news-card:first-child h4 {
    font-size: var(--fs-md);
  }

  .saradesh-grid .district-news-card:not(:first-child) h4 {
    font-size: var(--fs-sm);
  }

  /* Lifestyle & Entertainment Grid (1st Large, rest 2-col) */
  .lifestyle-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .lifestyle-cards-grid .lifestyle-card:first-child {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }

  .lifestyle-cards-grid .lifestyle-card:not(:first-child) {
    aspect-ratio: 4 / 5;
  }

  .lifestyle-cards-grid .lifestyle-card:not(:first-child) h4 {
    font-size: var(--fs-sm);
  }

  /* Photo Tiles Grid (1st Large, rest 2-col) */
  .photo-tiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .photo-tiles-grid .photo-tile-item:first-child {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }

  /* Archive News Grid (1st Large, rest 2-col) */
  .archive-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .archive-news-grid .archive-card:first-child {
    grid-column: span 2;
  }

  .archive-news-grid .archive-card:not(:first-child) h3 {
    font-size: var(--fs-sm);
  }

  .archive-news-grid .archive-card:not(:first-child) p {
    display: none;
    /* Keep mobile cards clean and compact */
  }

  /* Sports and Tech Grids */
  .featured-sub-split {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .sports-main-card {
    grid-column: span 2;
  }

  .opinion-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* ================= MODERN MOBILE FOOTER ================= */
  .site-footer {
    padding-top: 2.25rem !important;
  }

  .footer-top-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem 1rem !important;
    padding-bottom: 1.75rem !important;
  }

  .footer-col-about {
    grid-column: span 2 !important;
    text-align: center !important;
  }

  .footer-col-about .footer-logo {
    display: inline-block !important;
  }

  .footer-col-about .footer-logo img {
    margin: 0 auto !important;
  }

  .footer-col-about p {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    max-width: 480px !important;
    margin: 0.65rem auto 1rem !important;
    color: #cbd5e1 !important;
  }

  .footer-col-about .footer-social-links {
    justify-content: center !important;
    gap: 0.5rem !important;
  }

  .footer-col-categories {
    grid-column: span 1 !important;
  }

  .footer-col-pages {
    grid-column: span 1 !important;
  }

  .footer-col h4 {
    font-size: 0.95rem !important;
    margin-bottom: 0.85rem !important;
  }

  .footer-links-list li {
    margin-bottom: 0.5rem !important;
  }

  .footer-links-list li a {
    font-size: 0.82rem !important;
  }

  .footer-col-office {
    grid-column: span 2 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 14px !important;
    padding: 1.25rem !important;
  }

  .footer-col-office h4 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 0.85rem !important;
  }

  .footer-contact-info .info-item {
    gap: 0.75rem !important;
    margin-bottom: 0.75rem !important;
    font-size: 0.85rem !important;
  }

  .footer-contact-info .info-item:last-child {
    margin-bottom: 0 !important;
  }

  /* Editorial Panel on Mobile */
  .footer-editorial-panel {
    display: flex !important;
    flex-direction: column !important;
    padding: 1.35rem 1.15rem !important;
    margin: 1.75rem 0 !important;
    gap: 0.85rem !important;
    border-radius: 16px !important;
    background: linear-gradient(160deg, #131d2e 0%, #0c1320 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    position: relative !important;
  }

  .footer-editorial-panel::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 20% !important;
    right: 20% !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent, #006a4e, #10b981, transparent) !important;
    border-radius: 3px !important;
  }

  .editorial-item {
    width: 100% !important;
    text-align: center !important;
  }

  .editorial-item-publisher,
  .editorial-item-news-editor {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    padding: 0.85rem 1rem !important;
    box-sizing: border-box !important;
  }

  .editorial-role-badge {
    font-size: 0.74rem !important;
    padding: 2px 10px !important;
    margin-bottom: 0.3rem !important;
  }

  .editorial-name {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    color: #ffffff !important;
  }

  .editorial-contact-group {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
    width: 100% !important;
    margin-top: 0.2rem !important;
  }

  .editorial-contact-chip {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 0.65rem 0.9rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  .editorial-chip-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    font-size: 0.9rem !important;
  }

  .editorial-chip-content h5 {
    font-size: 0.72rem !important;
    margin: 0 0 2px 0 !important;
    color: #94a3b8 !important;
  }

  .editorial-chip-content p {
    font-size: 0.9rem !important;
    margin: 0 !important;
    word-break: break-all !important;
  }

  /* Footer Bottom Bar & Overlap Prevention */
  .footer-bottom-bar {
    padding: 1.25rem 0 4.5rem !important;
    text-align: center !important;
  }

  .footer-bottom-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
    text-align: center !important;
  }

  .footer-copyright-text {
    font-size: 0.8rem !important;
    color: #94a3b8 !important;
    line-height: 1.5 !important;
  }

  .footer-legal-links {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.4rem 0.6rem !important;
  }

  .footer-legal-links a {
    font-size: 0.78rem !important;
    color: #cbd5e1 !important;
    padding: 4px 10px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    text-decoration: none !important;
  }

  .footer-link-sep {
    display: none !important;
  }

  /* Back to Top Button on Mobile: Compact and Non-Intrusive */
  .back-to-top-btn {
    bottom: 18px !important;
    right: 16px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 0.9rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
  }

  .mid-banner-ad .ad-slot-frame {
    flex-direction: column;
    height: auto;
    text-align: center;
    gap: 0.75rem;
  }

  /* ================= NEW DESIGN 1: ECONOMY MATRIX MOBILE ================= */
  .stock-ticker-strip {
    padding: 0.5rem 0.75rem;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .stock-ticker-label {
    font-size: var(--fs-xs);
    padding-right: 0.5rem;
  }

  .ticker-metrics-row {
    gap: 0.85rem;
  }

  .economy-matrix-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .economy-lead-body {
    padding: 1rem !important;
  }

  .economy-lead-body h3 {
    font-size: var(--fs-lg) !important;
  }

  .economy-mini-item {
    padding: 0.65rem !important;
    gap: 0.75rem !important;
  }

  .economy-mini-thumb {
    width: 80px !important;
    height: 60px !important;
  }

  /* ================= NEW DESIGN 2: WORLD MAGAZINE GRID MOBILE (1st Large, rest 2-col) ================= */
  .world-magazine-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }

  .world-magazine-card:first-child {
    grid-column: span 2 !important;
  }

  .world-magazine-card:first-child .world-card-body h4 {
    font-size: var(--fs-md) !important;
  }

  .world-magazine-card:not(:first-child) .world-card-body {
    padding: 0.75rem !important;
  }

  .world-magazine-card:not(:first-child) .world-card-body h4 {
    font-size: var(--fs-xs) !important;
    line-height: 1.3 !important;
  }

  .world-magazine-card:not(:first-child) .world-card-body p {
    display: none !important;
  }

  /* ================= NEW DESIGN 3: INVESTIGATIVE SERIES MOBILE ================= */
  .section-investigative-series {
    padding: 2rem 0 !important;
  }

  .investigative-container-box {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .spotlight-body-box {
    padding: 1.25rem 1rem !important;
  }

  .spotlight-body-box h3 {
    font-size: var(--fs-lg) !important;
    line-height: 1.35 !important;
  }

  .spotlight-body-box p {
    font-size: var(--fs-sm) !important;
  }

  .timeline-episode-card {
    padding: 0.85rem !important;
    gap: 0.75rem !important;
  }

  .episode-number-circle {
    width: 40px !important;
    height: 40px !important;
    font-size: var(--fs-sm) !important;
  }

  .episode-content h4 {
    font-size: var(--fs-sm) !important;
  }

  /* ================= 6. SINGLE POST PAGE (Mobile App-like & No Scrollbar) ================= */
  .single-page-layout {
    grid-template-columns: 1fr !important;
    padding: 0.75rem 0 2rem !important;
    gap: 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .single-article-main {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .article-headline {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.4rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  .article-subheadline {
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.65rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  .article-author-toolbar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
    padding: 0.6rem 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .article-action-tools {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
    width: 100% !important;
  }

  .tool-btn {
    padding: 0.3rem 0.55rem !important;
    font-size: 0.75rem !important;
  }

  .article-featured-image {
    margin-bottom: 1rem !important;
    width: 100% !important;
    border-radius: var(--radius-sm) !important;
  }

  .article-featured-image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .article-image-caption {
    font-size: 0.72rem !important;
    padding: 0.25rem 0 !important;
  }

  .article-body-content {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    width: 100% !important;
  }

  .article-body-content p {
    margin-bottom: 0.85rem !important;
  }

  .article-body-content blockquote {
    padding: 0.6rem 0.85rem !important;
    margin: 0.85rem 0 !important;
    font-size: 0.88rem !important;
    border-left-width: 3px !important;
  }

  /* Comments Section on Mobile */
  .article-comments-section {
    padding: 1.15rem 0.75rem !important;
    margin: 1.5rem 0 !important;
    border-radius: var(--radius-md) !important;
  }

  .comments-header-bar h3 {
    font-size: var(--fs-md) !important;
  }

  .comment-form-box {
    padding: 1rem 0.75rem !important;
    margin-bottom: 1.5rem !important;
  }

  .comment-form-grid {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }

  .comment-single-item {
    padding: 0.85rem !important;
  }

  .comment-avatar {
    width: 36px !important;
    height: 36px !important;
  }

  .comment-nested-reply {
    margin-left: 0.5rem !important;
    padding: 0.75rem !important;
  }

  /* Social Share Buttons - Responsive Wrap (Prevents horizontal overflow) */
  .share-bar-sticky {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
    padding: 0.6rem 0 !important;
    margin: 1rem 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .share-bar-sticky > span {
    width: 100% !important;
    margin-bottom: 0.2rem !important;
    font-size: 0.82rem !important;
  }

  .share-btn-brand {
    font-size: 0.78rem !important;
    padding: 0.35rem 0.6rem !important;
    flex: 1 1 calc(50% - 0.35rem) !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .card-preview-canvas-box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .single-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 1rem !important;
  }

  /* ================= 7. STATIC CONTENT BOX & HERO BANNER (Compact App Style) ================= */
  
  /* Compact Mobile Category / Page Banner */
  .category-hero-banner {
    padding: 1.1rem 0 !important;
    margin-bottom: 0.85rem !important;
    border-bottom: 2px solid var(--accent-color) !important;
  }

  .category-hero-banner .breadcrumb-bar {
    font-size: 0.72rem !important;
    margin-bottom: 0.3rem !important;
    gap: 0.35rem !important;
  }

  .category-hero-banner h1 {
    font-size: 1.18rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.2rem !important;
    font-weight: 800 !important;
  }

  .category-hero-banner p {
    font-size: 0.80rem !important;
    line-height: 1.4 !important;
    opacity: 0.9 !important;
    margin-bottom: 0 !important;
  }

  /* Compact Sleek App-style Static Content Box */
  .static-content-box {
    padding: 0.85rem 0.75rem !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 1.5rem !important;
    box-shadow: var(--card-shadow-sm) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .static-content-box h2 {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    margin: 0.85rem 0 0.35rem !important;
    padding-bottom: 0.2rem !important;
    border-bottom-width: 1px !important;
    line-height: 1.35 !important;
  }

  .static-content-box h3 {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin: 0.75rem 0 0.25rem !important;
    line-height: 1.35 !important;
  }

  .static-content-box h4 {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    margin: 0.5rem 0 0.25rem !important;
  }

  .static-content-box p {
    font-size: 0.86rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.65rem !important;
    word-wrap: break-word !important;
  }

  .static-content-box blockquote {
    padding: 0.55rem 0.75rem !important;
    font-size: 0.86rem !important;
    margin: 0.65rem 0 !important;
    border-left-width: 3px !important;
  }

  .static-content-box ul,
  .static-content-box ol {
    padding-left: 1.15rem !important;
    font-size: 0.86rem !important;
    margin-bottom: 0.65rem !important;
  }

  .static-content-box li {
    margin-bottom: 0.3rem !important;
    line-height: 1.5 !important;
  }

  /* Forms in Static Pages (Contact & Career) */
  .contact-form-group {
    margin-bottom: 0.6rem !important;
  }

  .contact-form-group label {
    font-size: 0.80rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.2rem !important;
  }

  .contact-input {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.86rem !important;
    border-radius: var(--radius-sm) !important;
  }

  .submit-brand-btn {
    padding: 0.6rem 1.25rem !important;
    font-size: 0.88rem !important;
  }

  .opinion-card {
    padding: 0.75rem !important;
    margin: 0.65rem 0 !important;
    border-radius: var(--radius-sm) !important;
  }

  .opinion-author-header {
    gap: 0.5rem !important;
  }

  .opinion-author-header .author-avatar {
    width: 44px !important;
    height: 44px !important;
  }

  .opinion-author-header .author-info h4 {
    font-size: 0.92rem !important;
  }

  .opinion-author-header .author-info span {
    font-size: 0.75rem !important;
  }

  .opinion-quote-body a {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  .footer-contact-info .info-item {
    font-size: 0.85rem !important;
    margin-bottom: 0.65rem !important;
    gap: 0.5rem !important;
  }

  /* ================= 8. MODALS & SEARCH POPUP ON MOBILE (Always Above Header) ================= */
  .search-modal-overlay,
  .video-modal-overlay,
  #photoCardModal {
    z-index: 9999 !important;
    padding: 1rem 0.75rem !important;
    padding-top: 3.5vh !important;
  }

  .search-modal-box {
    padding: 1.15rem 1rem !important;
    max-width: 100% !important;
    border-radius: var(--radius-md) !important;
  }

  .search-input-wrap input {
    font-size: var(--fs-md) !important;
  }

  .bdk-three-col-grid {
    grid-template-columns: 1fr !important;
  }

  .bdk-lead-list-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile Drawer Overlay Backdrop (Zero blur, clean dimming) */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: none !important;
  /* Fix: Never blur the screen or menu */
  -webkit-backdrop-filter: none !important;
  z-index: 1995 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}