/* Apply only while the welcome slide owns the carousel. */
html.route-common-home #san-reference-main section.carousel .hero.wrap.san-approved-rotation:has(.v2-stage .slide-art[data-art="0"].active) {
  max-width:none!important;
  width:100%!important;
  grid-template: minmax(min-content,1fr) / minmax(0,1fr)!important;
  padding:0!important;
  gap:0!important;
}
html.route-common-home #san-reference-main section.carousel .hero.wrap.san-approved-rotation:has(.v2-stage .slide-art[data-art="0"].active) > .san-approved-welcome {
  grid-area:1 / 1!important;
  display:grid!important;
  align-items:center;
  position:relative!important;
  width:100%!important;
  height:100%!important;
  isolation:isolate;
  overflow:hidden;
  border-radius:0!important;
  color:white!important;
  background:#20342f!important;
}
html.route-common-home #san-reference-main section.carousel .hero.wrap.san-approved-rotation:has(.v2-stage .slide-art[data-art="0"].active) .san-approved-welcome > .saw-poster {
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  grid-area:auto!important;
  aspect-ratio:auto!important;
  z-index:0;
  pointer-events:none;
}
html.route-common-home #san-reference-main section.carousel .hero.wrap.san-approved-rotation:has(.v2-stage .slide-art[data-art="0"].active) .san-approved-welcome .saw-poster img {
  content:normal!important;
  position:absolute!important;
  right:0!important;
  top:78%!important;
  transform:translateY(-78%)!important;
  width:151.4%!important;
  max-width:none!important;
  height:auto!important;
  margin:0!important;
}
/* The right-hand two thirds of the desktop source contain the original photograph. */
html.route-common-home #san-reference-main section.carousel .hero.wrap.san-approved-rotation:has(.v2-stage .slide-art[data-art="0"].active) .san-approved-welcome > .saw-poster::after {
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  background:linear-gradient(90deg,rgba(10,27,24,.93) 0%,rgba(10,27,24,.85) 29%,rgba(10,27,24,.68) 40%,rgba(10,27,24,.14) 59%,transparent 77%)!important;
}
html.route-common-home #san-reference-main section.carousel .hero.wrap.san-approved-rotation:has(.v2-stage .slide-art[data-art="0"].active) .san-approved-welcome > .saw-copy {
  position:relative!important;
  grid-area:1 / 1!important;
  z-index:1;
  box-sizing:border-box;
  width:min(37vw,560px)!important;
  max-width:100%!important;
  margin-left:max(clamp(24px,4vw,72px),calc((100% - 1280px)/2))!important;
  padding:20px 0!important;
  gap:clamp(8px,.95vw,15px)!important;
  color:#fff!important;
}
html.route-common-home #san-reference-main section.carousel .hero.wrap.san-approved-rotation:has(.v2-stage .slide-art[data-art="0"].active) .san-approved-welcome .saw-copy :is(h1,h2,.saw-slogan,.saw-note) {
  color:#fff!important;
  text-shadow:0 1px 3px rgba(0,0,0,.35);
}
html.route-common-home #san-reference-main section.carousel .hero.wrap.san-approved-rotation:has(.v2-stage .slide-art[data-art="0"].active) .san-approved-welcome .saw-copy h2 strong,
html.route-common-home #san-reference-main section.carousel .hero.wrap.san-approved-rotation:has(.v2-stage .slide-art[data-art="0"].active) .san-approved-welcome .saw-copy h2 strong span {
  color:#ffda48!important;
  background:none!important;
}
html.route-common-home #san-reference-main section.carousel .hero.wrap.san-approved-rotation:has(.v2-stage .slide-art[data-art="0"].active) .san-approved-welcome .saw-copy .saw-note {
  font-size:clamp(12px,.93vw,14px)!important;
  max-width:42ch!important;
}
html.route-common-home #san-reference-main section.carousel .hero.wrap.san-approved-rotation:has(.v2-stage .slide-art[data-art="0"].active) .san-approved-welcome .saw-join:focus-visible {
  outline:3px solid white!important;
}
@media (max-width:800px) {
  html.route-common-home #san-reference-main section.carousel .hero.wrap.san-approved-rotation:has(.v2-stage .slide-art[data-art="0"].active) {
    height:auto!important;
    min-height:calc(272px + 51.75vw)!important;
  }
  html.route-common-home #san-reference-main section.carousel .hero.wrap.san-approved-rotation:has(.v2-stage .slide-art[data-art="0"].active) > .san-approved-welcome {align-items:start!important}
  html.route-common-home #san-reference-main section.carousel .hero.wrap.san-approved-rotation:has(.v2-stage .slide-art[data-art="0"].active) .san-approved-welcome .saw-poster img {
    content:url('../welcome-showroom-visne-1/hos-geldin-mobil.webp')!important;
    inset:0!important;
    transform:none!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:52% 68%!important;
  }
  html.route-common-home #san-reference-main section.carousel .hero.wrap.san-approved-rotation:has(.v2-stage .slide-art[data-art="0"].active) .san-approved-welcome > .saw-poster::after {
    background:linear-gradient(170deg,rgba(9,26,23,.96) 0%,rgba(9,26,23,.88) 26%,rgba(9,26,23,.74) 45%,rgba(9,26,23,.28) 63%,transparent 77%)!important;
  }
  html.route-common-home #san-reference-main section.carousel .hero.wrap.san-approved-rotation:has(.v2-stage .slide-art[data-art="0"].active) .san-approved-welcome > .saw-copy {
    align-self:start!important;
    margin:0!important;
    padding:clamp(22px,5vw,44px) clamp(18px,5vw,48px) 0!important;
    width:min(100%,570px)!important;
    gap:8px!important;
  }
  html.route-common-home #san-reference-main section.carousel .hero.wrap.san-approved-rotation:has(.v2-stage .slide-art[data-art="0"].active) .san-approved-welcome .saw-copy h2 {
    font-size:clamp(30px,6vw,47px)!important;
  }
}
@media (max-width:365px) {
  html.route-common-home #san-reference-main section.carousel .hero.wrap.san-approved-rotation:has(.v2-stage .slide-art[data-art="0"].active) {min-height:calc(287px + 51.75vw)!important;}
}
