/* SAD Lučenec — Dopravný portál 2026, v2.3.0
   New dark, compact transport page headers. Loaded AFTER every legacy stylesheet.
   Scope: secondary pages; homepage design remains unchanged.
*/
body.dp2026-site:not(.home) {
  --dp-interior-navy: #081e40;
  --dp-interior-dark: #07172f;
  --dp-interior-blue: #2571c8;
  --dp-interior-red: #e3473e;
  --dp-interior-ink: #122d51;
  --dp-interior-soft: #f3f7fc;
  --dp-interior-line: #dde7f1;
  background: #fff !important;
}
body.dp2026-site:not(.home) .site-main { overflow: clip; background: #fff !important; }

/* One genuinely new hero language: a compact dark transport masthead, no oversized white cards. */
body.dp2026-site:not(.home) :is(
 .sadlc-stations-hero-v128, .sadlc-mhd-hero-v127, .sadlc-contact-hero-v125,
 .sadlc-about-hero-v122, .sadlc-fleet-hero-v131, .sadlc-info-hero-v115,
 .sadlc-gallery-hero-v137, .sadlc-documents-hero-v133,
 .sadlc-station-detail-hero-v145, .sadlc-documents-catalog-hero,
 .sadlc-notices-hero, .sadlc-gdpr-hero, .dp-interior-hero
) {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: clamp(44px, 5vw, 74px) max(20px, calc((100% - 1220px)/2)) !important;
  border: none !important;
  border-bottom: 4px solid #e64d40 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: linear-gradient(112deg, #071b3a 0%, #0c2b57 62%, #124174 100%) !important;
  color: #fff !important;
  overflow: hidden !important;
  isolation: isolate !important;
  transform: none !important;
}
body.dp2026-site:not(.home) :is(
 .sadlc-stations-hero-v128, .sadlc-mhd-hero-v127, .sadlc-contact-hero-v125,
 .sadlc-about-hero-v122, .sadlc-fleet-hero-v131, .sadlc-info-hero-v115,
 .sadlc-gallery-hero-v137, .sadlc-documents-hero-v133,
 .sadlc-station-detail-hero-v145, .sadlc-documents-catalog-hero,
 .sadlc-notices-hero, .sadlc-gdpr-hero, .dp-interior-hero
)::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: auto -90px -170px auto !important;
  width: 470px !important;
  height: 470px !important;
  border: 1px solid rgba(155,204,255,.16) !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: 0 0 0 55px rgba(120,180,255,.035), 0 0 0 125px rgba(120,180,255,.025) !important;
  pointer-events: none !important;
  z-index: -1 !important;
}
body.dp2026-site:not(.home) :is(
 .sadlc-stations-hero-v128, .sadlc-mhd-hero-v127, .sadlc-contact-hero-v125,
 .sadlc-about-hero-v122, .sadlc-fleet-hero-v131, .sadlc-info-hero-v115,
 .sadlc-gallery-hero-v137, .sadlc-documents-hero-v133,
 .sadlc-station-detail-hero-v145, .sadlc-documents-catalog-hero,
 .sadlc-notices-hero, .sadlc-gdpr-hero, .dp-interior-hero
)::after { content: none !important; display: none !important; }

/* Override the legacy hero geometry without changing the PHP data model. */
body.dp2026-site:not(.home) :is(
 .sadlc-stations-hero-inner, .sadlc-mhd-hero-inner, .sadlc-contact-hero-inner,
 .sadlc-about-hero-inner, .sadlc-fleet-hero-inner, .sadlc-info-hero-v115-inner,
 .sadlc-info-hero-inner, .sadlc-gallery-hero-inner-v137, .sadlc-documents-hero-inner,
 .sadlc-station-detail-hero-inner-v145, .sadlc-documents-catalog-hero-inner,
 .sadlc-notices-hero-grid, .sadlc-gdpr-hero-inner
) {
  position: relative !important;
  inset: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .37fr) !important;
  align-items: center !important;
  gap: clamp(24px, 4vw, 60px) !important;
  width: 100% !important;
  max-width: 1220px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
body.dp2026-site:not(.home) :is(
 .sadlc-stations-hero-copy, .sadlc-mhd-hero-copy, .sadlc-contact-hero-copy,
 .sadlc-about-hero-copy, .sadlc-fleet-hero-copy, .sadlc-info-hero-v115-copy,
 .sadlc-info-hero-copy, .sadlc-gallery-hero-copy-v137, .sadlc-documents-hero-copy,
 .sadlc-station-detail-hero-copy-v145, .sadlc-documents-catalog-hero-text,
 .sadlc-notices-hero-copy, .sadlc-gdpr-hero-copy
) {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #fff !important;
  text-align: left !important;
  text-shadow: none !important;
  transform: none !important;
}
body.dp2026-site:not(.home) :is(
 .sadlc-stations-hero-copy, .sadlc-mhd-hero-copy, .sadlc-contact-hero-copy,
 .sadlc-about-hero-copy, .sadlc-fleet-hero-copy, .sadlc-info-hero-v115-copy,
 .sadlc-info-hero-copy, .sadlc-gallery-hero-copy-v137, .sadlc-documents-hero-copy,
 .sadlc-station-detail-hero-copy-v145, .sadlc-documents-catalog-hero-text,
 .sadlc-notices-hero-copy, .sadlc-gdpr-hero-copy
) h1, body.dp2026-site:not(.home) .dp-interior-hero h1 {
  display: block !important;
  max-width: 740px !important;
  margin: 12px 0 15px !important;
  padding: 0 !important;
  font-size: clamp(32px, 3vw, 49px) !important;
  line-height: 1.12 !important;
  font-weight: 800 !important;
  letter-spacing: -.042em !important;
  color: #fff !important;
  text-transform: none !important;
  text-align: left !important;
  text-shadow: none !important;
}
body.dp2026-site:not(.home) :is(
 .sadlc-stations-hero-copy, .sadlc-mhd-hero-copy, .sadlc-contact-hero-copy,
 .sadlc-about-hero-copy, .sadlc-fleet-hero-copy, .sadlc-info-hero-v115-copy,
 .sadlc-info-hero-copy, .sadlc-gallery-hero-copy-v137, .sadlc-documents-hero-copy,
 .sadlc-station-detail-hero-copy-v145, .sadlc-documents-catalog-hero-text,
 .sadlc-notices-hero-copy, .sadlc-gdpr-hero-copy
) > p:not(.sadlc-section-kicker):not(.sadlc-gdpr-overline) {
  margin: 0 0 16px !important;
  max-width: 680px !important;
  font-size: clamp(14px, 1.3vw, 17px) !important;
  line-height: 1.65 !important;
  color: #c8d9ed !important;
  text-shadow: none !important;
}
body.dp2026-site:not(.home) :is(.sadlc-section-kicker,.sadlc-gdpr-overline,.dp-interior-eyebrow) {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font-size: 11px !important;
  letter-spacing: .14em !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  color: #ffa89b !important;
  box-shadow: none !important;
}
body.dp2026-site:not(.home) :is(.sadlc-hero-actions,.sadlc-notices-actions) {
  margin-top: 22px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}
body.dp2026-site:not(.home) :is(.sadlc-hero-actions,.sadlc-notices-actions) :is(.sadlc-btn-primary,.sadlc-btn-secondary) {
  min-height: 43px !important;
  padding: 11px 18px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease !important;
}
body.dp2026-site:not(.home) .sadlc-hero-actions .sadlc-btn-primary { background: #e4493d !important; color: #fff !important; border-color: #e4493d !important; }
body.dp2026-site:not(.home) .sadlc-hero-actions .sadlc-btn-secondary { background: rgba(255,255,255,.07) !important; color: #fff !important; border-color: rgba(255,255,255,.35) !important; }
body.dp2026-site:not(.home) .sadlc-hero-actions .sadlc-btn-secondary:hover { background: rgba(255,255,255,.15) !important; }
/* Photographs become a quiet cropped visual, not another overlarge bordered card. */
body.dp2026-site:not(.home) :is(
 .sadlc-stations-hero-media, .sadlc-mhd-hero-media, .sadlc-contact-hero-media,
 .sadlc-about-hero-media, .sadlc-fleet-hero-media, .sadlc-info-hero-v115-media,
 .sadlc-info-hero-media, .sadlc-gallery-hero-media-v137, .sadlc-station-detail-hero-media-v145
) {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: clamp(170px, 17vw, 228px) !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(196,217,245,.25) !important;
  border-radius: 13px !important;
  box-shadow: 0 16px 35px rgba(0,0,0,.18) !important;
  background: #173a6a !important;
  transform: none !important;
}
body.dp2026-site:not(.home) :is(
 .sadlc-stations-hero-media, .sadlc-mhd-hero-media, .sadlc-contact-hero-media,
 .sadlc-about-hero-media, .sadlc-fleet-hero-media, .sadlc-info-hero-v115-media,
 .sadlc-info-hero-media, .sadlc-gallery-hero-media-v137, .sadlc-station-detail-hero-media-v145
) > img:first-of-type {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  filter: saturate(.86) !important;
}
body.dp2026-site:not(.home) :is(
 .sadlc-stations-hero-note,.sadlc-mhd-hero-note,.sadlc-contact-hero-note,
 .sadlc-about-hero-note,.sadlc-fleet-hero-note,.sadlc-info-hero-v115-note,
 .sadlc-info-hero-note,.sadlc-gallery-hero-note-v137,.sadlc-station-detail-note-v145
) {
  position: absolute !important;
  inset: auto 9px 9px 9px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  background: rgba(6,21,45,.88) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}
body.dp2026-site:not(.home) :is(
 .sadlc-stations-hero-note,.sadlc-mhd-hero-note,.sadlc-contact-hero-note,
 .sadlc-about-hero-note,.sadlc-fleet-hero-note,.sadlc-info-hero-v115-note,
 .sadlc-info-hero-note,.sadlc-gallery-hero-note-v137,.sadlc-station-detail-note-v145
) :is(span,strong,p) { color: #fff !important; font-size: 11px !important; line-height: 1.4 !important; }
/* Eliminate legacy hero effects and accidental full-page gutters. */
body.dp2026-site:not(.home) :is(
 .sadlc-stations-hero-bg,.sadlc-mhd-hero-bg,.sadlc-contact-hero-bg,
 .sadlc-about-hero-bg,.sadlc-fleet-hero-bg,.sadlc-info-hero-v115-bg,
 .sadlc-info-hero-bg,.sadlc-gallery-hero-bg,.sadlc-documents-hero-bg
) { display: none !important; }
/* If no photo exists, allow the title to take the space: documents, GDPR, notice etc. */
body.dp2026-site:not(.home) :is(.sadlc-documents-hero-inner,.sadlc-documents-catalog-hero-inner,.sadlc-notices-hero-grid,.sadlc-gdpr-hero-inner) {
  grid-template-columns: minmax(0, 1fr) minmax(0, .28fr) !important;
}
body.dp2026-site:not(.home) .sadlc-documents-hero-panel,
body.dp2026-site:not(.home) .sadlc-gdpr-hero-aside { min-width: 0 !important; max-width: 100% !important; }
/* Comfortable, consistent inner content containers rather than full-width legacy panels. */
body.dp2026-site:not(.home) .site-main :is(
 .sadlc-stations-overview-v128, .sadlc-stations-info-v128,
 .sadlc-mhd-city-section-v127, .sadlc-mhd-quick-section-v127,
 .sadlc-contact-sections-v125, .sadlc-about-values-v122
) { max-width: 1220px !important; margin-inline: auto !important; }
body.dp2026-site:not(.home) .site-main :is(.sadlc-station-card-v128,.sadlc-contact-card-v125,.sadlc-mhd-city-card-v127,.sadlc-documents-quick-card,.sadlc-change-card,.sadlc-notice-card) {
  border-radius: 13px !important;
  border-color: var(--dp-interior-line) !important;
  box-shadow: 0 4px 16px rgba(10,30,61,.045) !important;
}
body.dp2026-site:not(.home) .site-main :is(a.sadlc-station-card-v128,a.sadlc-mhd-city-card-v127,a.sadlc-documents-quick-card):hover { box-shadow: 0 14px 30px rgba(10,30,61,.10) !important; transform: translateY(-2px) !important; }
body.dp2026-site:not(.home) :is(.sadlc-stations-overview-v128,.sadlc-stations-info-v128,.sadlc-mhd-quick-section-v127) { padding-top: clamp(36px,4.6vw,62px) !important; padding-bottom: clamp(44px,5.2vw,76px) !important; }
body.dp2026-site:not(.home) :is(.sadlc-section-head-v127,.sadlc-section-head-v133,.sadlc-section-heading) h2 { font-size: clamp(27px,3vw,39px) !important; line-height: 1.18 !important; letter-spacing: -.038em !important; }
@media(max-width: 900px) {
 body.dp2026-site:not(.home) :is(
 .sadlc-stations-hero-inner,.sadlc-mhd-hero-inner,.sadlc-contact-hero-inner,
 .sadlc-about-hero-inner,.sadlc-fleet-hero-inner,.sadlc-info-hero-v115-inner,
 .sadlc-info-hero-inner,.sadlc-gallery-hero-inner-v137,.sadlc-documents-hero-inner,
 .sadlc-station-detail-hero-inner-v145,.sadlc-documents-catalog-hero-inner,
 .sadlc-notices-hero-grid,.sadlc-gdpr-hero-inner
 ) { grid-template-columns: minmax(0,1fr) !important; gap: 20px !important; }
 body.dp2026-site:not(.home) :is(
 .sadlc-stations-hero-media,.sadlc-mhd-hero-media,.sadlc-contact-hero-media,
 .sadlc-about-hero-media,.sadlc-fleet-hero-media,.sadlc-info-hero-v115-media,
 .sadlc-info-hero-media,.sadlc-gallery-hero-media-v137,.sadlc-station-detail-hero-media-v145
 ) { height: 190px !important; }
 body.dp2026-site:not(.home) :is(.sadlc-documents-hero-panel,.sadlc-gdpr-hero-aside) { display: none !important; }
}
@media(max-width: 600px) {
 body.dp2026-site:not(.home) :is(
 .sadlc-stations-hero-v128,.sadlc-mhd-hero-v127,.sadlc-contact-hero-v125,
 .sadlc-about-hero-v122,.sadlc-fleet-hero-v131,.sadlc-info-hero-v115,
 .sadlc-gallery-hero-v137,.sadlc-documents-hero-v133,
 .sadlc-station-detail-hero-v145,.sadlc-documents-catalog-hero,
 .sadlc-notices-hero,.sadlc-gdpr-hero,.dp-interior-hero
 ) { padding: 37px 18px 42px !important; }
 body.dp2026-site:not(.home) :is(
 .sadlc-stations-hero-copy,.sadlc-mhd-hero-copy,.sadlc-contact-hero-copy,
 .sadlc-about-hero-copy,.sadlc-fleet-hero-copy,.sadlc-info-hero-v115-copy,
 .sadlc-info-hero-copy,.sadlc-gallery-hero-copy-v137,.sadlc-documents-hero-copy,
 .sadlc-station-detail-hero-copy-v145,.sadlc-documents-catalog-hero-text,
 .sadlc-notices-hero-copy,.sadlc-gdpr-hero-copy
 ) h1,body.dp2026-site:not(.home) .dp-interior-hero h1 { font-size: clamp(29px, 8vw, 38px) !important; }
 body.dp2026-site:not(.home) .sadlc-hero-actions { flex-direction: row !important; align-items: stretch !important; }
 body.dp2026-site:not(.home) .sadlc-hero-actions .sadlc-btn { width: auto !important; flex: 1 1 160px !important; }
 body.dp2026-site:not(.home) :is(
 .sadlc-stations-hero-media,.sadlc-mhd-hero-media,.sadlc-contact-hero-media,
 .sadlc-about-hero-media,.sadlc-fleet-hero-media,.sadlc-info-hero-v115-media,
 .sadlc-info-hero-media,.sadlc-gallery-hero-media-v137,.sadlc-station-detail-hero-media-v145
 ) { height: 175px !important; }
}
@media(prefers-reduced-motion:reduce) {
 body.dp2026-site:not(.home) .sadlc-btn { transition: none !important; }
}
