/* Haber70 mobile dark-theme consistency patch. Applied AFTER existing themes.
   Purely presentational; desktop and admin excluded. */
@media screen and (max-width:780px) {
  :root {color-scheme:dark;--h70-dark-bg:#18191a;--h70-dark-card:#242526;--h70-dark-field:#3a3b3c;--h70-dark-border:#3e4042;--h70-dark-text:#e4e6eb;--h70-dark-muted:#b0b3b8;--h70-dark-brand:#e50046}
  html,body,body .site,body .site main,body .site .layout,body .site .main-content,body .site .content,
  body .site .detail-layout,body .site .listing-grid,body .site .news-list-grid,
  body .site .h70-v2-mobile,body .site .h70-v2-desktop-content { background-color:#18191a!important;color:#e4e6eb!important }
  body .site :is(.story,.story-lead,.story-meta,.story-category-stamp,.story-title,.story-author,.story-content,.story-content>p,.story-content>div,.story-content>section,.story-content>article,.story-content>aside,.article-detail,.article-wrapper,.article-body,.article-excerpt,.article-summary,.article-intro,.story-summary,.intro,.lead,.spot,.summary,.excerpt,.description,.breadcrumb,.page-heading,.category-head,.category-heading,.category-banner,.category-title,.category-intro,.category-page,.listing-header,.listing-grid>article,.listing-grid>a,.news-list-grid>a,.news-list-grid>article,.news-card,.article-card,.category-card,.card,.card-copy,.card-body,.panel,.widget,.box,.comments-block,.related-block,.detail-aside,.comment-item,.poll-list-card,.poll-single,.poll-option,.poll-results,.popular-sidebar,.popular-link,.score-placeholder,.soft-empty,.latest-side-link,.firm-card,.firm-card-body,.firm-detail,.firm-intro,.firm-detail-grid,.firm-contact,.contact-card,.firm-filters,.h70-v4-related,.h70-v2-module,.h70-v2-pharmacy-card,.h70-v2-fikstur,.h70-v2-horizontal>a,.h70-v2-box-grid>a) {background-color:#242526!important;background-image:none!important;color:#e4e6eb!important;border-color:#3e4042!important;box-shadow:none!important}
  body .site :is(.story,.story-content,.detail-layout,.listing-grid,.news-list-grid,.comments-block,.related-block,.category-page,.category-head,.article-wrapper,.article-body) {background-color:#18191a!important}
  body .site :is(.story-lead,.story-summary,.article-summary,.article-excerpt,.excerpt,.spot,.summary,.lead,.story-intro,.card-copy p,.card-body p,.page-heading p,.firm-card-body p,.breadcrumb,.muted,.story-meta time,.story-meta span,.comment-item small,.popular-link span,.score-placeholder p) {background:#242526!important;color:#b0b3b8!important}
  body .site .story-lead{display:block!important;margin:0 0 14px!important;padding:9px 0!important;border-radius:0!important;border:0!important;line-height:1.55!important}
  body .site .story-title,body .site .page-heading h1,body .site .category-title,body .site .news-card h2,body .site .news-card h3,body .site .listing-grid h2,body .site .listing-grid h3{color:#e4e6eb!important;text-shadow:none!important}
  body .site :is(.story-content p,.story-content div,.story-content li,.story-content h2,.story-content h3,.listing-grid a,.listing-grid p,.card-copy h3,.firm-card-body h2,.popular-sidebar h2,.score-placeholder h3){color:#e4e6eb!important}
  body .site :is(.story-meta,.story-author,.story-hero,.story-hero figcaption,.section-head,.section-head.dark,.firm-title-row,.story-content blockquote,.comment-item,.popular-link,.page-heading,.card,.panel,.module,.h70-mobile-bottom,.h70-v4-bottom) {border-color:#3e4042!important}
  body .site :is(.story-hero figcaption,.story-hero .caption,.image-caption){background:#242526!important;color:#b0b3b8!important}
  body .site .sharebar{background:transparent!important;gap:8px!important;border-color:#3e4042!important}
  body .site .sharebar :is(button,a){background:#3a3b3c!important;color:#e4e6eb!important;border:1px solid #4a4c4f!important;box-shadow:none!important}
  body .site .sharebar :is(button,a):is(:hover,:focus-visible){background:#4a4c4f!important}
  body .site .sharebar a[href*="whatsapp"]{background:#206f52!important;color:white!important;border-color:#206f52!important}
  body .site .sharebar a[href*="facebook.com"]{background:#285aa5!important;color:white!important;border-color:#285aa5!important}
  body .site .sharebar button[data-copy-url]{background:#3a3b3c!important;color:#e4e6eb!important}
  body .site :is(.full-search input,.search input,.comment-form input,.comment-form textarea,.firm-filters input,.firm-filters select,.poll-vote-form input,.h70-v2-pharmacy-search input,.h70-v2-pharmacy-search button){background:#3a3b3c!important;color:#e4e6eb!important;border-color:#57595b!important}
  body .site :is(.sharebar,.page-heading,.story-meta,.story-author,.popular-link,.comment-item,.card-copy,.firm-card-body){outline:none!important}
  body .site :is(.breadcrumb,.page-heading,.popular-sidebar,.score-placeholder,.card,.firm-card,.listing-grid>article,.news-list-grid>a) {border-width:1px!important}
  body .site .page-heading {padding:17px 18px!important;border-radius:10px!important;border-left:3px solid #e50046!important;margin:10px 0 18px!important}
  body .site .listing-grid {gap:14px 12px!important;padding:0 7px!important}
  body .site .listing-grid :is(.card-copy,.card-body,.news-copy) {padding:12px 11px 16px!important}
  body .site .listing-grid :is(.card-copy h3,.card-copy h2,.card-copy p,.card-copy small) {margin-bottom:8px!important;line-height:1.45!important}
  body .site :is(.popular-sidebar,.score-placeholder,.firm-showcase,.comments-block,.related-block){padding:14px!important;border:1px solid #3e4042!important;border-radius:10px!important}
  body .site .popular-link{padding:13px 5px!important}
  body .site :is(.popular-link,.popular-link span,.popular-sidebar h2,.popular-sidebar .section-head h2,.score-placeholder h3){color:#e4e6eb!important}
  body .site :is(.footer,.site-footer,.footer-top,.footer-bottom){background:#242526!important;border-color:#3e4042!important;color:#e4e6eb!important}
  body .h70-mobile-bottom,body .h70-v4-bottom,body nav.h70-mobile-bottom{background:#242526!important;border-top:1px solid #3e4042!important;box-shadow:none!important}
  body .h70-mobile-bottom :is(a,button,span),body .h70-v4-bottom :is(a,button,span){color:#e4e6eb!important}
  body .h70-mobile-bottom :is(a,button),body .h70-v4-bottom :is(a,button){background:transparent!important;border:0!important;box-shadow:none!important}
  body .h70-mobile-bottom :is(.h70-v4-firm,.h70-v4-firm a,.h70-v4-firm>span),body .h70-v4-bottom :is(.h70-v4-firm,.h70-v4-firm a,.h70-v4-firm>span){background:transparent!important;outline:0!important;border-color:transparent!important;box-shadow:none!important}
  body .h70-mobile-bottom .h70-v4-firm .h70-bottom-ico,body .h70-v4-bottom .h70-v4-firm .h70-bottom-ico{background:#e50046!important;color:#fff!important;border-radius:50%!important}
  body .h70-mobile-drawer,body .h70-mobile-drawer .head,body .h70-v4-drawer,body .h70-v4-drawer .head{background:#242526!important;color:#e4e6eb!important;border-color:#3e4042!important}
  body .h70-mobile-drawer :is(a,button,span,h2,h3),body .h70-v4-drawer :is(a,button,span,h2,h3){color:#e4e6eb!important}
  body .site :is(.h70-v2-ad,.h70-live-ad){background:#242526!important;border-color:#3e4042!important}
  /* Preserve branded yellow directory, news images and colored content graphics. */
  body .site .firm-showcase{background:#f4c24e!important;color:#202124!important}
  body .site .firm-showcase :is(h2,h3,a,span,p){color:#202124!important}
  body .site :is(.story-hero img,.news-card img,.article-card img,.listing-grid img){background:transparent!important}
}
