/* SAD Lučenec | Dopravný portál 2026 — stabilný patch v2.6 */

/* BRAND: nahrádza predchádzajúce CSS kruhy skutočným výrezom loga používateľa. */
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 -65px -100px auto !important;
 width:clamp(270px,35vw,470px) !important;
 height:clamp(240px,32vw,430px) !important;
 border:0 !important;
 border-radius:0 !important;
 background:rgba(178,213,255,.13) !important;
 box-shadow:none !important;
 -webkit-mask:url('../images/hero-logo-mark-v260.svg') center / contain no-repeat !important;
 mask:url('../images/hero-logo-mark-v260.svg') center / contain no-repeat !important;
 pointer-events:none !important;
 z-index:0 !important;
 opacity:1 !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
)::after {content:none !important;display:none !important;box-shadow:none !important;}
@media(max-width:720px){
 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{right:-110px !important;bottom:-100px !important;opacity:.55 !important;}
}

/* HOMEPAGE: wider full-bleed photographic hero, no clipped SVG texts or fake LIVE. */
body.dp2026-site.home .dp-hero {padding:clamp(54px,6vw,86px) 0 clamp(58px,6vw,86px) !important;}
body.dp2026-site.home .dp-hero>.dp-wrap{width:min(calc(100% - 64px),1460px) !important;max-width:1460px !important;}
body.dp2026-site.home .dp-hero-grid{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr) !important;gap:clamp(32px,4vw,72px) !important;}
body.dp2026-site.home .dp-hero h1{font-size:clamp(58px,5.7vw,98px) !important;}
body.dp2026-site.home .dp-hero-photo{position:relative;overflow:hidden;min-height:500px;border-radius:30px;background:#103974;box-shadow:0 38px 76px rgba(13,39,81,.17);isolation:isolate;}
body.dp2026-site.home .dp-hero-photo>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;display:block;filter:saturate(.85) contrast(1.06);}
body.dp2026-site.home .dp-hero-photo-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,24,56,.34) 0%,transparent 43%,rgba(5,24,56,.78) 100%);z-index:1;}
body.dp2026-site.home .dp-hero-photo-topline{position:absolute;left:30px;top:30px;display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.94);color:#102f63;padding:12px 18px;border-radius:100px;font-size:11px;font-weight:850;letter-spacing:.13em;z-index:2;backdrop-filter:blur(10px);}
body.dp2026-site.home .dp-hero-photo-dot{width:8px;height:8px;border-radius:50%;background:#e33c32;}
body.dp2026-site.home .dp-hero-photo-footer{position:absolute;inset:auto 32px 32px;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;gap:18px;color:white;}
body.dp2026-site.home .dp-hero-photo-label{display:block;font-size:11px;font-weight:800;letter-spacing:.12em;margin-bottom:13px;color:#e1ebff;}
body.dp2026-site.home .dp-hero-photo-footer strong{display:block;color:white;font-size:clamp(30px,3vw,49px);line-height:1.07;letter-spacing:-.04em;}
body.dp2026-site.home .dp-hero-photo-symbol{width:54px;height:54px;border:1px solid rgba(255,255,255,.46);border-radius:50%;display:grid;place-items:center;font-size:26px;flex:none;}
@media(max-width:950px){body.dp2026-site.home .dp-hero-grid{grid-template-columns:1fr !important;}body.dp2026-site.home .dp-hero-photo{min-height:420px;}}
@media(max-width:620px){body.dp2026-site.home .dp-hero>.dp-wrap{width:min(calc(100% - 36px),1460px) !important;}body.dp2026-site.home .dp-hero-photo{min-height:340px;border-radius:22px;}body.dp2026-site.home .dp-hero-photo-topline{left:18px;top:18px;padding:10px 12px;font-size:9px;}body.dp2026-site.home .dp-hero-photo-footer{inset:auto 20px 20px;}body.dp2026-site.home .dp-hero-photo-footer strong{font-size:30px;}body.dp2026-site.home .dp-hero-photo-symbol{width:44px;height:44px;font-size:20px;}}

/* HISTÓRIA — nový komponent. Nededí staré .timeline-* / .content-item štýly. */
body.dp2026-site .dp-history-v260{position:relative;max-width:none !important;margin:0 !important;padding:clamp(65px,7vw,100px) max(20px,calc((100% - 1240px)/2)) !important;background:#f3f7fc;overflow:visible;}
body.dp2026-site .dp-history-container{width:100%;max-width:1240px;margin:auto;}
body.dp2026-site .dp-history-intro{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:32px;}
body.dp2026-site .dp-history-eyebrow{display:block;color:#c63e35;font-weight:850;font-size:12px;letter-spacing:.14em;margin-bottom:14px;}
body.dp2026-site .dp-history-intro h2{font-size:clamp(34px,4.8vw,60px);line-height:1.07;letter-spacing:-.045em;color:#102b55;margin:0 0 14px;}
body.dp2026-site .dp-history-intro p{margin:0;color:#60728b;font-size:17px;line-height:1.6;}
body.dp2026-site .dp-history-arrows{display:flex;gap:10px;flex:none;}
body.dp2026-site .dp-history-arrow{width:52px;height:52px;border:1px solid #dbe5f2;border-radius:14px;cursor:pointer;background:white;color:#14386b;font-size:22px;transition:background .2s,color .2s,transform .2s;}
body.dp2026-site .dp-history-arrow:hover{background:#102e61;color:white;transform:translateY(-2px);}
body.dp2026-site .dp-history-arrow:focus-visible,body.dp2026-site .dp-history-tab:focus-visible{outline:3px solid #e63f37;outline-offset:3px;}
body.dp2026-site .dp-history-tabs{display:flex;align-items:center;gap:9px;overflow-x:auto;max-width:100%;scrollbar-width:thin;padding:2px 2px 22px;}
body.dp2026-site .dp-history-tab{display:flex;align-items:center;justify-content:center;gap:12px;min-width:112px;flex:1 0 112px;background:#fff;border:1px solid #dae5f1;border-radius:12px;padding:17px 18px;color:#34557d;font-size:17px;font-weight:800;cursor:pointer;transition:background .2s,color .2s,border-color .2s;}
body.dp2026-site .dp-history-tab-dot{width:8px;height:8px;border-radius:50%;background:#becce1;}
body.dp2026-site .dp-history-tab:hover{border-color:#a3bddc;}
body.dp2026-site .dp-history-tab.is-active{color:white;background:#123568;border-color:#123568;box-shadow:0 14px 30px rgba(18,53,104,.16);}
body.dp2026-site .dp-history-tab.is-active .dp-history-tab-dot{background:#ea453a;}
body.dp2026-site .dp-history-panel[hidden]{display:none !important;}
body.dp2026-site .dp-history-panel{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);min-height:400px;background:#fff;overflow:hidden;border:1px solid #e0e8f3;border-radius:24px;box-shadow:0 23px 60px rgba(12,34,71,.1);}
body.dp2026-site .dp-history-image{position:relative;min-height:400px;background:#163a6b;overflow:hidden;}
body.dp2026-site .dp-history-image img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;}
body.dp2026-site .dp-history-image-year{position:absolute;left:25px;bottom:24px;color:#fff;background:rgba(5,22,51,.82);border:1px solid rgba(255,255,255,.16);border-radius:12px;padding:9px 16px;font-size:28px;font-weight:850;}
body.dp2026-site .dp-history-copy{padding:clamp(30px,5vw,65px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0;}
body.dp2026-site .dp-history-copy-kicker{color:#df4036;font-size:12px;font-weight:850;letter-spacing:.14em;}
body.dp2026-site .dp-history-copy h3{color:#102d5a;font-size:clamp(29px,3vw,43px);line-height:1.13;letter-spacing:-.035em;margin:15px 0 17px;}
body.dp2026-site .dp-history-copy p{font-size:17px;line-height:1.75;color:#5d6e83;margin:0;}
body.dp2026-site .dp-history-progress{display:flex;gap:9px;margin-top:42px;color:#7891b0;font-size:13px;font-weight:850;}
body.dp2026-site .dp-history-progress span:first-child{color:#e04036;}
@media(max-width:820px){body.dp2026-site .dp-history-panel{grid-template-columns:1fr;}body.dp2026-site .dp-history-image{min-height:300px;}body.dp2026-site .dp-history-intro{align-items:flex-start;}body.dp2026-site .dp-history-copy{padding:30px 26px;}}
@media(max-width:540px){body.dp2026-site .dp-history-v260{padding:60px 18px !important;}body.dp2026-site .dp-history-intro{flex-direction:column;}body.dp2026-site .dp-history-arrow{width:44px;height:44px;}body.dp2026-site .dp-history-tab{min-width:93px;flex-basis:93px;padding:14px 10px;font-size:15px;}body.dp2026-site .dp-history-image{min-height:240px;}body.dp2026-site .dp-history-copy p{font-size:16px;}}
@media(prefers-reduced-motion:reduce){body.dp2026-site .dp-history-arrow,body.dp2026-site .dp-history-tab{transition:none !important;}}
