/* Dopravny portal 2026 — subpages v2.2
   A bounded layout system, not a blanket override of legacy components.
   Existing CPT, filters, forms, departure tables and accordion behaviours remain intact. */
body.dp2026-site {
  --transport-ink:#102a51;
  --transport-muted:#63758d;
  --transport-blue:#2058aa;
  --transport-red:#df382e;
  --transport-line:#dfE8f3;
  --transport-surface:#f5f8fc;
  --transport-radius:18px;
  --transport-ease:cubic-bezier(.22,1,.36,1);
  overflow-x:clip;
}
.dp2026-site :where(.site-main,.sadlc-page,.sadlc-entry,article,section){min-width:0}
.dp2026-site .site-main{width:100%;max-width:100%;margin:0;background:#fff}
.dp2026-site .site-main :is(img,video,iframe,svg){max-width:100%}
.dp2026-site .site-main :is(p,h1,h2,h3,strong,a){overflow-wrap:break-word}
.dp2026-site .site-main :is(table,.wp-block-table){max-width:100%}
/* Page title areas: bounded at every viewport width and no out-of-bounds decorations. */
.dp2026-site :is(
 .sadlc-contact-hero-v125,.sadlc-mhd-hero-v127,.sadlc-stations-hero-v128,
 .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
){
 position:relative!important;isolation:isolate;width:100%!important;max-width:100%!important;
 min-height:0!important;margin:0!important;padding:clamp(54px,6.5vw,94px) 0!important;
 background:linear-gradient(128deg,#f0f5fb 0%,#f9fbff 64%,#fff 100%)!important;
 color:var(--transport-ink)!important;border:0!important;border-bottom:1px solid #e3ebf6!important;
 box-shadow:none!important;overflow:clip!important;transform:none!important;
}
/* Disable heavy legacy overlays, masks, and accidental decorative overflow. */
.dp2026-site :is(
 .sadlc-contact-hero-v125,.sadlc-mhd-hero-v127,.sadlc-stations-hero-v128,
 .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
)::before,
.dp2026-site :is(
 .sadlc-contact-hero-v125,.sadlc-mhd-hero-v127,.sadlc-stations-hero-v128,
 .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
)::after {content:none!important;display:none!important}
.dp2026-site :is(
 .sadlc-contact-hero-bg,.sadlc-mhd-hero-bg,.sadlc-stations-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}
/* All these inner containers use exactly one shared geometry. */
.dp2026-site :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
){
 position:relative!important;inset:auto!important;transform:none!important;
 display:grid!important;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;
 align-items:center!important;gap:clamp(24px,4.5vw,62px)!important;
 width:min(calc(100% - 48px),1200px)!important;max-width:1200px!important;
 min-width:0!important;min-height:0!important;margin-inline:auto!important;
 padding:0!important;float:none!important;
}
.dp2026-site :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
)>* {min-width:0!important;max-width:100%!important;float:none!important}
.dp2026-site :is(
 .sadlc-contact-hero-copy,.sadlc-mhd-hero-copy,.sadlc-stations-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:static!important;transform:none!important;max-width:100%!important;
 padding:0!important;margin:0!important;color:var(--transport-ink)!important;
 text-align:left!important;background:none!important;text-shadow:none!important;
}
.dp2026-site :is(
 .sadlc-contact-hero-copy,.sadlc-mhd-hero-copy,.sadlc-stations-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,
.dp2026-site .dp-interior-hero h1{
 font-size:clamp(35px,4.25vw,62px)!important;font-weight:820!important;
 line-height:1.11!important;letter-spacing:-.046em!important;
 color:#0b2b58!important;text-align:left!important;max-width:900px!important;
 text-shadow:none!important;margin:12px 0 19px!important;
}
.dp2026-site :is(
 .sadlc-contact-hero-copy,.sadlc-mhd-hero-copy,.sadlc-stations-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){
 color:var(--transport-muted)!important;font-size:clamp(15px,1.35vw,18px)!important;
 line-height:1.72!important;text-align:left!important;max-width:615px!important;
 margin:0 0 22px!important;text-shadow:none!important;
}
.dp2026-site :is(.sadlc-section-kicker,.sadlc-gdpr-overline,.dp-interior-eyebrow){
 color:#c33831!important;font-size:11px!important;font-weight:800!important;
 letter-spacing:.12em!important;text-transform:uppercase!important;text-shadow:none!important;
}
/* Photos are fitted in their own column and never spill over the hero bounds. */
.dp2026-site :is(
 .sadlc-contact-hero-media,.sadlc-mhd-hero-media,.sadlc-stations-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
){
 position:relative!important;inset:auto!important;transform:none!important;
 margin:0!important;padding:0!important;width:100%!important;max-width:100%!important;
 height:clamp(245px,29vw,374px)!important;min-height:0!important;
 overflow:hidden!important;border:5px solid #fff!important;border-radius:22px!important;
 background:#d9e4f3!important;box-shadow:0 18px 38px rgba(19,45,79,.13)!important;
}
.dp2026-site :is(
 .sadlc-contact-hero-media,.sadlc-mhd-hero-media,.sadlc-stations-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{
 display:block!important;position:absolute!important;inset:0!important;
 width:100%!important;height:100%!important;max-width:none!important;
 object-fit:cover!important;border:0!important;border-radius:17px!important;
 transform:none!important;filter:none!important;
}
.dp2026-site :is(
 .sadlc-contact-hero-note,.sadlc-mhd-hero-note,.sadlc-stations-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 13px 13px 13px!important;transform:none!important;
 width:auto!important;max-width:calc(100% - 26px)!important;
 padding:13px 17px!important;border:1px solid rgba(255,255,255,.12)!important;
 border-radius:12px!important;background:rgba(9,33,75,.9)!important;
 color:#fff!important;box-shadow:none!important;backdrop-filter:blur(6px);
}
.dp2026-site :is(
 .sadlc-contact-hero-note,.sadlc-mhd-hero-note,.sadlc-stations-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){color:#fff!important}
/* The textual hero-side panels match the photography. */
.dp2026-site :is(.sadlc-documents-hero-panel,.sadlc-notices-hero-panel,.sadlc-documents-catalog-hero-visual,.sadlc-gdpr-hero-aside){
 position:relative!important;inset:auto!important;transform:none!important;
 width:100%!important;max-width:100%!important;min-height:210px!important;
 padding:clamp(23px,3vw,38px)!important;display:flex!important;
 flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;
 gap:14px!important;border:1px solid var(--transport-line)!important;
 border-radius:20px!important;background:#fff!important;color:#1c477d!important;
 box-shadow:0 15px 38px rgba(12,37,76,.09)!important;
}
.dp2026-site :is(.sadlc-documents-hero-panel,.sadlc-notices-hero-panel,.sadlc-documents-catalog-hero-visual,.sadlc-gdpr-hero-aside) :is(strong,h2){color:#102f61!important;font-size:clamp(19px,2vw,28px)!important;line-height:1.2!important}
.dp2026-site :is(.sadlc-documents-hero-panel,.sadlc-notices-hero-panel,.sadlc-documents-catalog-hero-visual,.sadlc-gdpr-hero-aside) :is(span,p){color:var(--transport-muted)!important}
/* All content sections have consistent content bounds, without resizing inner tables. */
.dp2026-site :is(
 .sadlc-contact-main-v125,.sadlc-contact-map-form-v125,.sadlc-mhd-overview-v127,
 .sadlc-mhd-quick-v127,.sadlc-stations-overview-v128,.sadlc-stations-info-v128,
 .sadlc-stations-help-v128,.sadlc-station-detail-quick-v145,.sadlc-station-detail-info-v145,
 .sadlc-station-detail-services-v145,.sadlc-station-detail-gallery-v145,
 .sadlc-station-detail-map-v145,.sadlc-station-detail-other-v145,
 .sadlc-documents-quick-v133,.sadlc-documents-section-v133,
 .sadlc-documents-catalog-content,.sadlc-gdpr-documents,
 .sadlc-about-quick-v122,.sadlc-about-numbers-v122,.sadlc-about-values-v122,
 .sadlc-gallery-detail-v137,.sadlc-changes-content,.sadlc-regional-content
){padding-top:clamp(46px,5vw,75px)!important;padding-bottom:clamp(46px,5vw,75px)!important}
.dp2026-site :is(.sadlc-section-head-v127,.sadlc-section-head-v133,.sadlc-section-heading,.sadlc-changes-heading,.sadlc-section-heading-v145) h2{
 color:#102d58!important;font-size:clamp(27px,3.2vw,43px)!important;
 font-weight:800!important;letter-spacing:-.036em!important;line-height:1.17!important;
}
/* One button language; no broad selector that overrides unrelated controls. */
.dp2026-site :is(.sadlc-btn,.sadlc-change-more,.sadlc-notice-link,.sadlc-notice-back,.sadlc-change-back,.sadlc-documents-catalog-back,.gallery-button){
 display:inline-flex;align-items:center;justify-content:center;gap:9px;max-width:100%;min-height:45px;
 padding:12px 20px!important;border-radius:11px!important;text-decoration:none!important;
 font-size:13px!important;font-weight:750!important;line-height:1.3!important;
 transform:none;transition:background .2s ease,color .2s ease,border-color .2s ease,transform .22s var(--transport-ease),box-shadow .22s ease!important;
}
.dp2026-site .sadlc-btn-primary{background:var(--transport-red)!important;border:1px solid var(--transport-red)!important;color:#fff!important}
.dp2026-site :is(.sadlc-btn-secondary,.sadlc-notice-back,.sadlc-change-back,.sadlc-documents-catalog-back){background:#fff!important;border:1px solid #c7d6e9!important;color:#184783!important}
.dp2026-site :is(.sadlc-btn,.sadlc-change-more,.sadlc-notice-link,.sadlc-notice-back,.sadlc-change-back,.sadlc-documents-catalog-back,.gallery-button):hover{transform:translateY(-2px)!important;box-shadow:0 11px 24px rgba(13,39,80,.12)!important}
.dp2026-site .sadlc-btn-primary:hover{background:#b92e28!important;border-color:#b92e28!important}
.dp2026-site .sadlc-btn-secondary:hover{background:#ecf3fc!important;border-color:#8bb4e5!important}
.dp2026-site .sadlc-hero-actions,.dp2026-site .sadlc-notices-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:12px!important;margin-top:22px!important}
/* Modern service cards: same strokes, same radii, same restrained hover. */
.dp2026-site :is(
 .sadlc-contact-card-v125,.sadlc-mhd-city-card-v127,.sadlc-mhd-quick-card-v127,
 .sadlc-station-card-v128,.sadlc-station-detail-card-v130,.sadlc-station-detail-quick-card-v145,
 .sadlc-station-detail-panel-v145,.sadlc-documents-quick-card,.sadlc-document-card,
 .sadlc-documents-catalog-card,.sadlc-about-quick-card,.sadlc-about-value-card,
 .sadlc-gallery-item-v137,.sadlc-notice-card,.sadlc-change-card
){border:1px solid var(--transport-line)!important;border-radius:var(--transport-radius)!important;
 background-color:#fff!important;box-shadow:0 8px 24px rgba(13,39,82,.05)!important;
 min-width:0;transition:transform .23s var(--transport-ease),box-shadow .23s ease,border-color .23s ease!important}
.dp2026-site :is(
 a.sadlc-mhd-quick-card-v127,a.sadlc-station-card-v128,a.sadlc-documents-quick-card,
 a.sadlc-about-quick-card,a.sadlc-gallery-item-v137,.sadlc-change-card,.sadlc-notice-card
):hover{transform:translateY(-3px)!important;border-color:#a6bfdf!important;box-shadow:0 16px 33px rgba(13,39,82,.1)!important}
.dp2026-site :is(.sadlc-mhd-quick-card-v127,.sadlc-documents-quick-card,.sadlc-about-quick-card){padding:clamp(20px,2.5vw,30px)!important}
.dp2026-site :is(.sadlc-station-card-media-v128,.sadlc-mhd-city-visual-v127){overflow:hidden;border-radius:18px 18px 0 0}
.dp2026-site :is(.sadlc-station-card-media-v128,.sadlc-mhd-city-visual-v127)>img:first-child{object-fit:cover}
.dp2026-site :is(.sadlc-change-card.is-urgent,.sadlc-change-card.is-emergency){border-left:4px solid var(--transport-red)!important;background:#fffafa!important}
.dp2026-site .sadlc-change-card.is-closure{border-left:4px solid #e3a03d!important}
/* Filter and accordion frames remain functional and readable. */
.dp2026-site :is(.sadlc-changes-filters,.sadlc-documents-catalog-filters){
 background:#fff!important;border:1px solid var(--transport-line)!important;
 padding:clamp(18px,2.5vw,28px)!important;border-radius:17px!important;
 box-shadow:0 9px 27px rgba(13,43,79,.055)!important;max-width:100%!important;
}
.dp2026-site :is(.sadlc-changes-filters,.sadlc-documents-catalog-filters) :is(input,select){
 max-width:100%;min-width:0;min-height:44px;border:1px solid #ccd9e8!important;
 border-radius:10px!important;background:#fbfcff!important;color:#17375e!important;
}
.dp2026-site :is(.sadlc-gdpr-accordion,.sadlc-contact-form-card-v125,.sadlc-contact-map-card-v125,.sadlc-documents-sidebar-v133){
 border:1px solid var(--transport-line)!important;border-radius:17px!important;
 background:#fff!important;box-shadow:0 8px 25px rgba(14,43,84,.055)!important;
}
.dp2026-site :is(.sadlc-gdpr-page,.sadlc-documents-catalog-page) :is(a,button,summary):focus-visible,
.dp2026-site :is(.sadlc-btn,.dp-button):focus-visible{outline:3px solid #7bb6f4!important;outline-offset:3px!important}
/* Never force scrollable timetables to become wider than the viewport. */
.dp2026-site .site-main :is(.wp-block-table,.sadlc-table-wrap,.sadlc-timetable-wrap){overflow-x:auto;max-width:100%}
.dp2026-site .site-main :is(.sadlc-line-table,.sadlc-timetable,table){border-collapse:separate;border-spacing:0}
/* Ordinary pages and articles use the same editorial title treatment. */
.dp2026-site .dp-interior-hero .dp-wrap{width:min(calc(100% - 48px),1200px)!important;max-width:1200px!important}
.dp2026-site .dp-interior-body{padding:clamp(40px,5vw,70px) 0 clamp(60px,7vw,105px)!important}
.dp2026-site .dp-interior-body .dp-wrap{max-width:1200px}
.dp2026-site .dp-interior-body .sadlc-wp-content{max-width:890px;font-size:16px;line-height:1.82;color:#334a64}
.dp2026-site .dp-interior-body .sadlc-wp-content :is(h2,h3){color:#123563;letter-spacing:-.025em;line-height:1.22}
.dp2026-site .dp-interior-body .sadlc-wp-content img{height:auto;border-radius:15px}
/* Harmonized footer without overriding colors inside the SVG. */
.dp2026-site .sadlc-footer{margin-top:0!important;background:#071b40!important}
.dp2026-site .sadlc-footer-coverage{background:#0a2858!important;padding:clamp(50px,6vw,77px) 20px!important}
.dp2026-site .sadlc-coverage-illustration{border-radius:18px!important;padding:15px!important;background:rgba(255,255,255,.04)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:none!important}
.dp2026-site .sadlc-coverage-illustration img{display:block;width:100%;max-width:100%;height:auto}
.dp2026-site .sadlc-footer-col a{transition:color .2s ease}
@media (max-width:960px){
 .dp2026-site :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
 ){grid-template-columns:minmax(0,1fr)!important;gap:26px!important}
 .dp2026-site :is(
 .sadlc-contact-hero-media,.sadlc-mhd-hero-media,.sadlc-stations-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:clamp(230px,39vw,360px)!important}
}
@media (max-width:600px){
 .dp2026-site :is(
 .sadlc-contact-hero-v125,.sadlc-mhd-hero-v127,.sadlc-stations-hero-v128,
 .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:43px 0 49px!important}
 .dp2026-site :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
 ){width:calc(100% - 34px)!important}
 .dp2026-site .dp-interior-hero .dp-wrap{width:calc(100% - 34px)!important}
 .dp2026-site :is(
 .sadlc-contact-hero-media,.sadlc-mhd-hero-media,.sadlc-stations-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:245px!important;border-width:4px!important}
 .dp2026-site .sadlc-hero-actions{align-items:stretch!important;flex-direction:column!important}
 .dp2026-site .sadlc-hero-actions .sadlc-btn{width:100%!important}
 .dp2026-site .sadlc-changes-filters{grid-template-columns:minmax(0,1fr)!important}
 .dp2026-site .sadlc-changes-filters>*{min-width:0!important}
 .dp2026-site .site-main :is(h1,h2,h3){overflow-wrap:anywhere}
}
@media (prefers-reduced-motion:reduce){
 .dp2026-site :is(.sadlc-btn,.sadlc-mhd-quick-card-v127,.sadlc-station-card-v128,.sadlc-documents-quick-card,.sadlc-change-card,.sadlc-notice-card){transition:none!important;transform:none!important}
}
