/* Content determines carousel height. Shared controls have their own reserved area,
   including when copy, font size, navigation labels or the slide count change. */
.hero{
 --hero-gutter:clamp(20px,3vw,32px);
 --hero-header-space:104px;
 --hero-controls-space:96px;
 --hero-controls-bottom:28px;
 --hero-copy-gap:32px;
 --hero-bottom-space:calc(var(--hero-controls-space) + var(--hero-controls-bottom) + var(--hero-copy-gap));
 display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;
 height:auto;min-height:clamp(620px,calc(100svh - var(--main-player-height)),900px);max-height:none;
}
.hero>.hero-slide{
 grid-area:1/1;position:relative;inset:auto;display:grid;align-items:center;
 width:100%;min-width:0;height:auto;min-height:100%;max-height:none;
 padding:var(--hero-header-space) 0 var(--hero-bottom-space);
}
.hero>.hero-slide[hidden]{display:grid!important;visibility:hidden;pointer-events:none}
.hero .container{width:min(1240px,calc(100% - var(--hero-gutter)*2));min-width:0}
.hero .hero-editorial-inner,.hero .alexa-inner,.hero .hero-news-inner,
.hero .app-hero-inner,.hero .panorama-inner,.hero .anniversary-inner{
 position:relative;inset:auto;height:auto;min-height:0;margin-inline:auto;padding:24px 0;
 align-self:center;
}
.hero .hero-editorial-inner,.hero .alexa-inner{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 align-items:center;gap:clamp(24px,5vw,70px);
}
.hero .hero-editorial-copy,.hero .alexa-copy,.hero .hero-news-copy,
.hero .app-hero-copy,.hero .panorama-copy,.hero .anniversary-copy{
 position:relative;inset:auto;min-width:0;height:auto;overflow-wrap:anywhere;
}
.hero .hero-editorial-copy,.hero .alexa-copy{width:100%;max-width:none}
.hero .hero-editorial-copy p,.hero .alexa-copy p{margin-bottom:0}
.hero .hero-portrait{width:min(100%,380px);height:auto;aspect-ratio:1;margin:auto}
.hero .alexa-product{width:100%;max-width:none;margin:0;left:auto;transform:none;min-width:0}
.hero .alexa-product>img{width:100%;margin:0;height:auto;aspect-ratio:1000/667;object-fit:contain}
.hero .alexa-bubble{right:3%;max-width:75%}
.hero .hero-news-inner{display:flex;align-items:center;min-height:330px}
.hero .hero-news-copy{width:46%;max-width:560px}
.hero .hero-news-copy h2{margin-bottom:0}
.hero .app-hero-inner,.hero .panorama-inner,.hero .anniversary-inner{display:block;z-index:3}
.hero .app-hero-copy,.hero .panorama-copy,.hero .anniversary-copy{width:46%;max-width:550px;margin:0}
.hero .app-hero-visual,.hero .panorama-visual{
 top:calc(var(--hero-header-space) + 16px);bottom:0;height:auto;
 right:max(0px,calc((100% - 1380px)/2));width:min(52%,720px);
}
.hero .anniversary-scene{top:calc(var(--hero-header-space) + 16px);bottom:0;height:auto}
.hero .anniversary-illustrative{bottom:12px}
.hero>#destaque-1{display:grid;min-height:600px}
.hero .mobile-hero-title{padding:0}
.hero>.hero-controls{
 grid-area:1/1;position:relative;inset:auto;transform:none;align-self:end;justify-self:start;
 margin:0 0 var(--hero-controls-bottom) max(var(--hero-gutter),calc((100% - 1240px)/2));
 padding:0;width:max-content;max-width:calc(100% - var(--hero-gutter)*2);
 grid-template-columns:minmax(0,max-content) 44px 44px 44px;grid-template-rows:auto auto;
 gap:14px 12px;z-index:5;
}
.hero-control-action{min-width:0;max-width:270px}
.hero .hero-controls .hero-action{height:auto;min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.hero .hero-controls>#hero-autoplay{width:44px;height:44px;min-height:44px}
.hero .hero-dots{max-width:100%;gap:8px;flex-wrap:wrap}
.hero .hero-dots button{min-width:0;flex:0 1 30px}
.hero .hero-dots button::before{width:100%;max-width:30px}

/* A shorter window may scroll; it never compresses copy underneath controls. */
@media(min-width:901px) and (max-height:650px){
 .hero .hero-editorial h2,.hero .alexa-copy h2{font-size:clamp(34px,3.6vw,54px)}
 .hero .hero-portrait{max-width:310px}
}
@media(max-width:1100px){
 .header .desktop-nav{display:none}.header .menu-toggle{display:flex;flex:none;margin-left:0}
 .header .header-play{margin-left:auto}.header-inner{min-width:0;gap:16px}
 .header .brand{min-width:0}.header .brand small{white-space:normal}
 .live-panel{flex-wrap:wrap}.live-panel .live-copy{min-width:0;flex:1}
 .live-panel .main-track{min-width:0}
}
@media(max-width:900px){
 .hero{--hero-gutter:clamp(16px,4.5vw,28px);--hero-header-space:84px;--hero-copy-gap:28px;--hero-controls-bottom:20px;--hero-photo-height:clamp(300px,78vw,390px);min-height:0}
 .hero>.hero-slide,.hero>.hero-slide[hidden]{display:grid;min-height:0}
 .hero .hero-editorial-inner,.hero .alexa-inner{grid-template-columns:minmax(0,1fr);gap:28px;max-width:600px}
 .hero .hero-editorial h2,.hero .alexa-copy h2{font-size:clamp(28px,6vw,40px);line-height:1.12;letter-spacing:-1.3px}
 .hero .hero-editorial p,.hero .alexa-copy p{font-size:14px;line-height:1.65}
 .hero .hero-portrait{width:min(80vw,320px);max-width:calc(100% - 20px)}
 .hero .alexa-product{width:min(112vw,460px);max-width:none;margin:auto;left:50%;transform:translateX(-50%)}
 .hero .alexa-bubble{right:12%;bottom:0;max-width:72%;font-size:17px;padding:15px 18px}
 .hero .alexa-bubble strong{font-size:19px}
 .hero .hero-news-inner{min-height:350px;max-width:600px;align-items:end}
 .hero .hero-news-copy{width:100%;max-width:none}
 .hero .hero-news-copy h2{font-size:clamp(26px,6.3vw,36px);line-height:1.17}
 .hero>.hero-app,.hero>.hero-panorama{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch}
 .hero .app-hero-visual,.hero .panorama-visual{
  order:-1;position:relative;inset:auto;width:min(100%,480px);height:var(--hero-photo-height);
  flex:none;align-self:center;margin:12px auto 0;z-index:1;
 }
 .hero .app-hero-inner,.hero .panorama-inner{margin:0 auto;max-width:600px;align-self:auto;z-index:3;padding:26px 0 20px}
 .hero .app-hero-copy,.hero .panorama-copy{width:100%;max-width:none;color:#fff}
 .hero .app-hero-copy h2,.hero .panorama-copy h2{color:#fff;font-size:clamp(32px,8vw,47px);line-height:1.07;letter-spacing:-1.5px;margin:12px 0 18px}
 .hero .app-hero-copy h2 em,.hero .panorama-copy h2 em,.hero .app-hero-copy .eyebrow,.hero .panorama-copy .eyebrow{color:var(--yellow)}
 .hero .app-hero-copy p,.hero .panorama-description{color:#edf3ff;font-size:14px;line-height:1.65}
 .hero .panorama-host{font-size:17px}
 .hero .panorama-time{color:white;border-color:#ffffff70}
 .hero .app-hero-copy .app-hero-status{background:#ffffff0c;border-color:#ffffff60}
 .hero .hero-app::after,.hero .hero-panorama::after{
  inset:auto -8% 0;height:calc(100% - var(--hero-header-space) - var(--hero-photo-height) + 18px);
  border-radius:50% 12% 0 0/7% 3% 0 0;border-top:3px solid #fff;
  background:linear-gradient(160deg,#0756ed,#061632 80%);z-index:2;
 }
 .hero>.hero-anniversary{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch}
 .hero .anniversary-inner{max-width:600px;width:calc(100% - var(--hero-gutter)*2);align-self:auto;padding:24px 0 12px}
 .hero .anniversary-copy{width:100%;max-width:none}
 .hero .anniversary-scene{position:relative;inset:auto;width:min(100%,550px);height:var(--hero-photo-height);flex:none;align-self:center}
 .hero .anniversary-illustrative{bottom:-8px}
 .hero>#destaque-1{display:flex;flex-direction:column;justify-content:flex-end;min-height:680px;padding-top:calc(var(--hero-header-space) + 290px)}
 .hero #destaque-1 .mobile-hero-title{position:relative;inset:auto;transform:none;width:calc(100% - var(--hero-gutter)*2);max-width:600px;margin:24px auto;font-size:clamp(28px,7vw,38px)}
 .hero>.hero-controls{
  justify-self:center;margin-left:0;width:calc(100% - var(--hero-gutter)*2);max-width:600px;
  grid-template-columns:minmax(0,1fr) 44px 44px 44px;gap:12px 8px;
 }
 .hero .hero-control-action{max-width:none}.hero .hero-action{min-width:0;width:100%}
 .hero .hero-dots{flex-wrap:nowrap;gap:6px;width:100%}
 .hero .hero-dots button{flex:1;max-width:48px;height:36px;min-height:36px}
 .hero .hero-dots button::before{width:80%}
 .hero[data-active-slide='destaque-3'] .hero-action,.hero[data-active-slide='destaque-panorama'] .hero-action{background:var(--yellow);color:var(--navy)}
 .hero[data-active-slide='destaque-3'] .hero-prev,.hero[data-active-slide='destaque-3'] .hero-next,.hero[data-active-slide='destaque-3'] #hero-autoplay,
 .hero[data-active-slide='destaque-panorama'] .hero-prev,.hero[data-active-slide='destaque-panorama'] .hero-next,.hero[data-active-slide='destaque-panorama'] #hero-autoplay{border-color:var(--yellow);color:var(--yellow)}
 .hero[data-active-slide='destaque-3'] .hero-dots button::before,.hero[data-active-slide='destaque-panorama'] .hero-dots button::before{background:#ffffff90}
 .hero[data-active-slide='destaque-3'] .hero-dots button[aria-current='true']::before,.hero[data-active-slide='destaque-panorama'] .hero-dots button[aria-current='true']::before{background:var(--yellow)}
}
@media(max-width:640px){.hero{--hero-header-space:76px}}

/* Reusable content limits also apply outside the carousel. */
.button{max-width:100%;white-space:normal;text-align:center}
.section-heading>*,.contact-inner>*,.brand-band .container>*,.schedule-row-copy,.now-current-name,.live-copy{min-width:0;overflow-wrap:anywhere}
.schedule-hero-actions,.anniversary-dialog-actions,.team-controls{flex-wrap:wrap}
dialog{max-width:calc(100% - 24px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;overflow-x:hidden}
.detail-times li,.contact-options small{overflow-wrap:anywhere}
