/* BARON V4 R30.1 -- verified selectors from R30 public home. Hero only. */
/* Keep a stable compositor box regardless of photo/video intrinsic dimensions. */
body.page-showroom .r08-cinema{width:100%;max-width:2000px;margin-inline:auto;padding:0 clamp(14px,2.3vw,40px) 30px;min-width:0}
body.page-showroom .r08-scene-counter{height:48px;min-height:48px}
body.page-showroom .r08-cinema-stage{
  position:relative;width:100%;height:clamp(610px,72svh,820px);min-height:610px;
  border-radius:clamp(0px,1.1vw,12px);overflow:hidden;isolation:isolate;
  background:#07111c;contain:layout paint;box-shadow:none;
}
body.page-showroom .r08-cinema-stage .r08-slide,
body.page-showroom .r08-cinema-stage .r08-slide.is-active{
  position:absolute;inset:0;width:100%;height:100%;overflow:hidden;
  transform:none!important;animation:none!important;
  transition:opacity .5s cubic-bezier(.2,.7,.2,1),visibility 0s linear .5s!important;
}
body.page-showroom .r08-cinema-stage .r08-slide.is-active{
  transition:opacity .5s cubic-bezier(.2,.7,.2,1),visibility 0s!important;
}
body.page-showroom .r08-cinema-stage .r08-slide>.r08-picture,
body.page-showroom .r08-cinema-stage .r08-slide>.r08-film{
  position:absolute;inset:0!important;width:100%!important;height:100%!important;
  max-height:none!important;min-height:0!important;
}
body.page-showroom .r08-cinema-stage .r08-slide .r08-slide-media{
  position:absolute;inset:0;width:100%!important;height:100%!important;
  object-fit:cover;object-position:center center;max-height:none!important;
  transform:none!important;animation:none!important;filter:none;
  transition:opacity .32s ease!important;
}
body.page-showroom .r08-cinema-stage .r08-video-poster{z-index:0}
body.page-showroom .r08-cinema-stage .r08-film{z-index:1;background:transparent}
body.page-showroom .r08-cinema-stage .r08-slide-wash{z-index:2;pointer-events:none}
body.page-showroom .r08-cinema-stage .r08-slide-caption{z-index:3}
body.page-showroom .r08-cinema-stage .r21-scene-stack{z-index:5}
body.page-showroom .r08-cinema-stage .r08-stage-controls{z-index:6}
body.page-showroom .r08-cinema-stage .r08-slide-caption h1{line-height:1.08;text-wrap:balance}
body.page-showroom .r08-view-model{border-radius:5px;min-height:52px;max-width:100%}
body.page-showroom .r08-cinema-bottom{padding:11px 0 0}
body.page-showroom .r08-scene-navigation.r21-scene-stack{margin:0}
/* Tablet: prioritize photograph, then readable caption. */
@media(max-width:900px){
 body.page-showroom .r08-cinema{padding-inline:12px;padding-bottom:18px}
 body.page-showroom .r08-cinema-stage{height:clamp(600px,78svh,790px);min-height:600px}
 body.page-showroom .r08-cinema-stage .r08-slide-caption{width:70%;max-width:70%;inset-inline-start:5%;inset-inline-end:auto;top:auto;bottom:100px;transform:none}
 body.page-showroom .r08-cinema-stage .r08-slide-caption h1{font-size:clamp(38px,6vw,65px);margin:11px 0 13px}
}
/* Mobile full-stage editorial layout -- no half-height image/card split. */
@media(max-width:760px){
 body.page-showroom .r08-cinema{padding:0 0 12px!important;margin:0;width:100%}
 body.page-showroom .r08-scene-counter{padding-inline:18px;min-height:40px;height:40px}
 body.page-showroom .r08-cinema-stage{
   height:clamp(590px,calc(100svh - 150px),755px)!important;min-height:590px!important;
   width:100%;border-radius:0!important;box-shadow:none;
 }
 body.page-showroom .r08-cinema-stage .r08-slide>.r08-picture,
 body.page-showroom .r08-cinema-stage .r08-slide>.r08-film,
 body.page-showroom .r08-cinema-stage .r08-slide .r08-slide-media{
   inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;
   object-fit:cover!important;object-position:center center;
 }
 body.page-showroom .r08-cinema-stage .r08-slide-wash{
   background:linear-gradient(0deg,rgba(2,8,16,.96) 0%,rgba(3,10,20,.88) 19%,rgba(2,9,18,.57) 39%,rgba(3,9,17,.10) 68%,transparent 100%)!important;
 }
 :root[data-theme="light"] body.page-showroom .r08-cinema-stage .r08-slide-wash{
   background:linear-gradient(0deg,rgba(233,244,252,.97),rgba(237,246,253,.92) 23%,rgba(239,248,255,.55) 46%,transparent 75%)!important;
 }
 body.page-showroom .r08-cinema-stage .r08-slide-caption{
   position:absolute;top:auto!important;bottom:92px!important;inset-inline-start:clamp(18px,5.3vw,30px)!important;
   inset-inline-end:clamp(18px,5.3vw,30px)!important;
   max-width:none!important;width:auto!important;transform:none!important;
   text-align:start;pointer-events:none;
 }
 body.page-showroom .r08-cinema-stage .r08-slide-caption :where(a,button){pointer-events:auto}
 body.page-showroom .r08-cinema-stage .r08-slide-caption h1{
   font-size:clamp(33px,8.2vw,54px)!important;letter-spacing:-.025em;line-height:1.13;
   margin:10px 0 14px!important;max-width:100%;overflow-wrap:anywhere;
 }
 body.page-showroom .r08-cinema-stage .r08-caption-type{font-size:10px;gap:8px}
 body.page-showroom .r08-cinema-stage .r08-caption-line{width:26px}
 body.page-showroom .r08-cinema-stage .r08-vehicle-meta{
   display:flex;align-items:center;flex-wrap:wrap;gap:8px 13px;font-size:12px;margin:8px 0 16px;
 }
 body.page-showroom .r08-cinema-stage .r08-view-model{
   min-width:0!important;width:min(100%,290px)!important;max-width:100%!important;
   min-height:52px;padding:10px 17px!important;font-size:15px!important;
   border-radius:5px;gap:10px;line-height:1.4;white-space:normal;
 }
 body.page-showroom .r08-cinema-stage .r08-stage-controls{
   position:absolute;bottom:15px!important;inset-inline-start:clamp(18px,5vw,28px)!important;
   inset-inline-end:auto!important;display:flex;gap:9px;
 }
 body.page-showroom .r08-cinema-stage .r08-stage-controls button{
   width:44px!important;height:44px!important;min-width:44px!important;
   border-radius:6px;font-size:21px;touch-action:manipulation;
 }
 body.page-showroom .r08-cinema-stage .r08-stage-controls button:last-child{margin-inline-start:0}
 body.page-showroom .r08-cinema-stage .r21-scene-stack{
   position:absolute!important;inset:14px 14px auto auto!important;left:auto!important;right:14px!important;
   transform:none!important;max-height:206px!important;width:62px!important;
   padding:5px!important;gap:4px;border-radius:9px;
 }
 body.page-showroom .r08-cinema-stage .r21-scene-stack .r08-progress-list{gap:4px;max-height:174px}
 body.page-showroom .r08-cinema-stage .r21-scene-stack .r08-progress-item{
   min-height:0!important;padding:2px!important;border-radius:5px!important;transform:none!important;
 }
 body.page-showroom .r08-cinema-stage .r21-scene-stack .r08-progress-thumb{
   width:100%!important;height:43px!important;border-radius:4px;
 }
 body.page-showroom .r08-cinema-stage .r21-scene-stack .r08-progress-title{display:none!important}
 body.page-showroom .r08-cinema-bottom{padding:10px 17px 0;margin:0;font-size:10px}
}
@media(max-width:380px){
 body.page-showroom .r08-cinema-stage{height:clamp(550px,calc(100svh - 135px),690px)!important;min-height:550px!important}
 body.page-showroom .r08-cinema-stage .r08-slide-caption{bottom:88px!important}
 body.page-showroom .r08-cinema-stage .r08-slide-caption h1{font-size:clamp(30px,8vw,38px)!important}
 body.page-showroom .r08-cinema-stage .r08-view-model{width:min(100%,245px)!important;min-height:49px}
 body.page-showroom .r08-cinema-stage .r21-scene-stack{width:53px!important;max-height:175px!important}
 body.page-showroom .r08-cinema-stage .r21-scene-stack .r08-progress-thumb{height:37px!important}
}
@media(prefers-reduced-motion:reduce){
 body.page-showroom .r08-cinema-stage .r08-slide,
 body.page-showroom .r08-cinema-stage .r08-slide.is-active,
 body.page-showroom .r08-cinema-stage .r08-slide .r08-slide-media{transition:none!important;animation:none!important}
}
