/* SAD LC – dopravný portál v2.18: visible clean vector watermark, mobile overflow containment.
   No blur filters: large outlines scale sharply on high-DPI and small screens. */

/* Eliminate document-wide horizontal panning, including the transformed mobile menu. */
html { max-width:100%; overflow-x:clip !important; }
body.dp2026-site { max-width:100%; overflow-x:clip !important; }
@supports not (overflow:clip) {
 html, body.dp2026-site { overflow-x:hidden !important; }
}
body.dp2026-site :where(main,.site-main,.dp-home,.dp-header-inner,.dp-footer-2026){min-width:0;max-width:100%}
body.dp2026-site :where(img,video,svg){max-width:100%;}

/* Every hero gets a fixed full-bleed canvas; artwork is positioned within it,
   not a huge absolutely positioned element that extends past the viewport. */
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
),body.dp2026-site.home .dp-hero {
 position:relative !important;
 isolation:isolate !important;
 overflow:clip !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,body.dp2026-site.home .dp-hero::before{
 content:"" !important;
 display:block !important;
 position:absolute !important;
 inset:0 !important;
 width:100% !important;
 height:100% !important;
 background-image:url('../images/hero-outline-v218-dark.svg') !important;
 background-size: min(1350px, 106vw) auto !important;
 background-repeat:no-repeat !important;
 background-position:right -50px center !important;
 background-color:transparent !important;
 opacity:1 !important;
 border:0 !important;
 border-radius:0 !important;
 box-shadow:none !important;
 filter:none !important;
 -webkit-mask:none !important;
 mask:none !important;
 transform:none !important;
 pointer-events:none !important;
 z-index:0 !important;
}
body.dp2026-site.home .dp-hero::before{
 background-image:url('../images/hero-outline-v218-light.svg') !important;
 background-position:right -20px center !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,body.dp2026-site.home .dp-hero::after{
 content:none !important;display:none !important;
}
body.dp2026-site:not(.home) :is(
 .sadlc-contact-hero-inner,.sadlc-mhd-hero-inner,.sadlc-stations-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
),body.dp2026-site:not(.home) .dp-interior-hero>.dp-wrap,
body.dp2026-site.home .dp-hero>.dp-wrap{
 position:relative!important;z-index:2!important;
}

/* The mobile drawer is fixed to the viewport and never participates in layout width.
   It opens from the right; same hamburger -> X animation from v2.15. */
@media(max-width:980px){
 .dp2026-site .dp-header .dp-nav{
  position:fixed !important;
  top:var(--dp-mobile-nav-top, 70px) !important;
  right:0 !important;
  left:auto !important;
  bottom:auto !important;
  inset-inline:auto 0 !important;
  width:min(390px, 100vw) !important;
  max-width:100vw !important;
  box-sizing:border-box !important;
  max-height:calc(100dvh - var(--dp-mobile-nav-top,70px)) !important;
  transform:translate3d(105%,0,0) !important;
 }
 .dp2026-site .dp-header .dp-nav.dp-nav-open{transform:translate3d(0,0,0) !important;}
 .dp2026-site .dp-header-inner, .dp2026-site .dp-brand{min-width:0;}
}
@media(max-width:1050px){
 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,body.dp2026-site.home .dp-hero::before{
  background-size:950px auto !important;
  background-position:right -170px center !important;
 }
}
@media(max-width:700px){
 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,body.dp2026-site.home .dp-hero::before{
  background-size:760px auto !important;
  background-position:right -220px bottom 10px !important;
 }
 body.dp2026-site .dp-wrap{max-width:calc(100% - 34px)}
}


/* v2.19.0: remove the legacy rectangular glass blur on hero content.
   It blurred only the part of SVG behind .sadlc-*-hero-inner at breakpoints. */
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,
 .sadlc-stations-hero-media,.sadlc-contact-hero-media,.sadlc-about-hero-media
){
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

/* Keep the complete SVG within the visible horizontal bounds: no clipped wing at right.
   The underlying SVG is vector-only with no blur or glow filter. */
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,
body.dp2026-site.home .dp-hero::before{
  background-size:min(1050px, 78vw) auto !important;
  background-position:right 48px center !important;
}

@media(max-width:1050px){
  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,body.dp2026-site.home .dp-hero::before{
    background-size: min(810px, 84vw) auto !important;
    background-position: right 28px center !important;
  }
}
@media(max-width:700px){
  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,body.dp2026-site.home .dp-hero::before{
    background-size: min(540px, 92vw) auto !important;
    background-position: right 8px center !important;
  }
}
