/* SAD Lučenec Dopravný portál 2026 — v2.5.0 visual refinements */

/* SAD Lučenec Dopravný portál 2026 — v2.10.0 visual refinements */

/* ------------------------------------------------------------
   1) Brand SVG background on homepage and all subpage heroes
------------------------------------------------------------- */
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
),
.dp-home .dp-hero{
  position:relative;
  overflow:hidden !important;
  isolation:isolate;
}

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,
.dp-home .dp-hero::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  right:clamp(-82px, -3.2vw, -26px) !important;
  bottom:clamp(-112px, -4vw, -26px) !important;
  width:clamp(330px, 42vw, 560px) !important;
  height:clamp(250px, 31vw, 430px) !important;
  background:linear-gradient(135deg, rgba(196,223,255,.20), rgba(76,129,220,.16)) !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;
  filter:drop-shadow(0 18px 42px rgba(56,104,190,.11)) drop-shadow(0 0 26px rgba(146,190,255,.16));
  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,
.dp-home .dp-hero::after{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  right:clamp(26px, 4.6vw, 94px) !important;
  bottom:clamp(26px, 5.2vw, 62px) !important;
  width:clamp(150px, 18vw, 260px) !important;
  height:clamp(108px, 13vw, 184px) !important;
  background:linear-gradient(135deg, rgba(255,255,255,.22), rgba(182,215,255,.18)) !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;
  filter:drop-shadow(0 10px 28px rgba(87,135,222,.09));
  pointer-events:none !important;
  z-index:0 !important;
  opacity:.96 !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
),
.dp-home .dp-hero-grid,
.dp-home .dp-hero-content,
.dp-home .dp-hero-art{
  position:relative;
  z-index:1;
}

@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,
  .dp-home .dp-hero::before{
    right:-58px !important;
    bottom:-88px !important;
    width:clamp(240px, 72vw, 360px) !important;
    height:clamp(180px, 50vw, 265px) !important;
    opacity:.95 !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,
  .dp-home .dp-hero::after{
    right:18px !important;
    bottom:20px !important;
    width:120px !important;
    height:84px !important;
  }
}

/* ------------------------------------------------------------
   2) Homepage hero illustration: keep refined panel, just give it more air
------------------------------------------------------------- */
.dp-home .dp-hero{
  background:
    radial-gradient(circle at 8% 18%, rgba(98,139,255,.08), transparent 26%),
    linear-gradient(180deg,#f7f9fc 0%, #f2f6fb 100%);
}

.dp-home .dp-hero-art{
  filter:none;
}

.dp-home .dp-hero-art svg{
  filter:drop-shadow(0 26px 34px rgba(18,42,92,.10));
}

.dp-home .dp-art-caption{
  color:#d9e6ff;
  font-size:11px;
  letter-spacing:.14em;
}

/* ------------------------------------------------------------
   3) History section on O spoločnosti: stable layout
------------------------------------------------------------- */
.sadlc-about-timeline-v122{
  max-width:1180px;
  margin:0 auto 92px;
  padding:0 24px;
}

.sadlc-about-timeline-v122 .sadlc-section-heading{
  max-width:760px;
  margin:0 auto 30px;
  text-align:center;
}

.sadlc-about-timeline-v122 .timeline-wrapper{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  margin:0 0 24px;
}

.sadlc-about-timeline-v122 .timeline-arrow{
  width:46px;
  height:46px;
  border-radius:50%;
  border:1px solid rgba(0,0,128,.10);
  background:#fff;
  box-shadow:0 10px 30px rgba(10,18,58,.08);
  flex:0 0 46px;
}

.sadlc-about-timeline-v122 .timeline-container{
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scrollbar-width:none;
}

.sadlc-about-timeline-v122 .timeline-container::-webkit-scrollbar{display:none}

.sadlc-about-timeline-v122 .timeline-dates{
  display:flex;
  gap:12px;
  min-width:max-content;
  padding:4px 2px;
}

.sadlc-about-timeline-v122 .timeline-date{
  min-width:92px;
  padding:13px 18px;
  border-radius:999px;
  border:1px solid rgba(0,0,128,.10);
  background:#fff;
  color:#15376f;
  font-size:.96rem;
  font-weight:850;
  line-height:1;
  box-shadow:0 10px 22px rgba(10,18,58,.05);
}

.sadlc-about-timeline-v122 .timeline-date::before{display:none}

.sadlc-about-timeline-v122 .timeline-date.active{
  color:#fff;
  font-size:.96rem;
  border-color:transparent;
  background:linear-gradient(135deg, var(--sadlc-blue), #11189a);
  box-shadow:0 18px 42px rgba(0,0,80,.18);
}

.sadlc-about-timeline-v122 .timeline-content{
  position:relative;
  max-width:none;
  margin:0;
  height:auto;
  overflow:visible !important;
  text-align:left;
}

.sadlc-about-timeline-v122 .content-item{
  position:relative;
  inset:auto;
  opacity:1;
  pointer-events:auto;
  display:none;
  transition:none;
}

.sadlc-about-timeline-v122 .content-item.active{
  display:block;
}

.sadlc-about-timeline-v122 .content-image{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
  align-items:stretch;
  min-height:420px;
  border-radius:32px;
  overflow:hidden !important;
  background:#fff;
  border:1px solid rgba(0,0,128,.08);
  box-shadow:0 28px 70px rgba(10,18,58,.12);
}

.sadlc-about-timeline-v122 .content-image img{
  width:100%;
  height:100%;
  min-height:420px;
  object-fit:cover;
  display:block;
}

.sadlc-about-timeline-v122 .year-label{
  position:absolute;
  top:18px;
  left:18px;
  right:auto;
  background:rgba(5,5,77,.86);
  color:#fff;
  padding:8px 14px;
  font-weight:900;
  font-size:.95rem;
  border-radius:999px;
  box-shadow:0 12px 24px rgba(0,0,0,.16);
}

.sadlc-about-timeline-v122 .content-text{
  position:relative;
  left:auto;
  bottom:auto;
  transform:none;
  width:auto;
  max-width:none;
  height:auto;
  min-height:100%;
  padding:34px 32px;
  border-radius:0;
  background:linear-gradient(180deg,#ffffff 0%, #f8faff 100%);
  box-shadow:none;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
}

.sadlc-about-timeline-v122 .content-text h4{
  margin:0;
  color:var(--sadlc-blue);
  font-size:clamp(1.5rem,2.2vw,2.2rem);
  line-height:1.08;
  letter-spacing:-.03em;
}

.sadlc-about-timeline-v122 .content-text p{
  margin:0;
  line-height:1.72;
  color:var(--sadlc-muted);
  display:block;
  -webkit-line-clamp:unset;
  -webkit-box-orient:unset;
  overflow:visible;
}

.sadlc-about-timeline-v122 .content-text p::after{display:none}
.sadlc-about-timeline-v122 .show-more{display:none}
.sadlc-about-timeline-v122 .text-popup{display:none !important}

@media (max-width: 900px){
  .sadlc-about-timeline-v122 .content-image{
    grid-template-columns:1fr;
    min-height:0;
  }
  .sadlc-about-timeline-v122 .content-image img{
    min-height:280px;
    max-height:360px;
  }
  .sadlc-about-timeline-v122 .content-text{
    padding:28px 24px;
  }
}

@media (max-width: 640px){
  .sadlc-about-timeline-v122{
    padding:0 18px;
  }
  .sadlc-about-timeline-v122 .timeline-wrapper{
    grid-template-columns:40px minmax(0,1fr) 40px;
    gap:10px;
  }
  .sadlc-about-timeline-v122 .timeline-date{
    min-width:84px;
    padding:12px 14px;
    font-size:.88rem;
  }
  .sadlc-about-timeline-v122 .content-image{
    border-radius:24px;
  }
  .sadlc-about-timeline-v122 .content-text h4{
    font-size:1.45rem;
  }
}

body.dp2026-site:not(.home) .dp-interior-hero .dp-wrap{
  position:relative;
  z-index:1;
}
