/* Shared responsive safeguards across Kyusi Museo. Scoped to museum pages. */
:where(.pcmuseum,.qh-page,.qh-detail-page,.qms-page){max-width:100%;min-width:0}
:where(.pcmuseum,.qh-page,.qh-detail-page,.qms-page) :where(img,video,iframe){max-width:100%}
:where(.pcmuseum,.qh-page,.qh-detail-page,.qms-page) :where(h1,h2,h3,p,a,button){overflow-wrap:break-word}
:where(.pcmuseum,.qh-page,.qh-detail-page,.qms-page) :where(button,a){-webkit-tap-highlight-color:transparent}
:where(.pcmuseum,.qh-page,.qh-detail-page,.qms-page) :where(button,a):focus-visible{outline:2px solid #e8c78e;outline-offset:3px}
@media(max-width:1100px){
 .pcmuseum .pc-container{width:min(100% - 48px,1120px)}
 .pcmuseum .pc-hero-body{padding-top:130px}
 .pcmuseum .pc-hero h1{font-size:clamp(48px,7.4vw,82px)}
 .qh-page .qh-hero,.qms-page .qms-hero{padding-left:clamp(22px,5vw,60px);padding-right:clamp(22px,5vw,60px)}
}
@media(max-width:760px){
 .pcmuseum .pc-container{width:calc(100% - 36px)}
 .pcmuseum .pc-hero{min-height:100vh;min-height:100svh;height:auto;align-items:flex-end}
 .pcmuseum .pc-hero-body{padding:115px 0 90px}
 .pcmuseum .pc-hero h1{font-size:clamp(39px,10vw,66px);letter-spacing:-.035em}
 .pcmuseum .pc-hero-description{margin-bottom:26px;font-size:14px;line-height:1.7}
 .pcmuseum .pc-hero-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:16px 0 22px}
 .pcmuseum .pc-hero-facts>div{min-width:0}
 .pcmuseum .pc-section{padding-top:65px;padding-bottom:65px}
 .pcmuseum .pc-section-nav{gap:12px 17px}
 .pcmuseum .pc-car-stage,.pcmuseum .pc-car-controls,.pcmuseum .pc-car-details,.pcmuseum .pc-car-specs{max-width:100%}
 .pcmuseum .pc-car-stage img{max-width:100%;object-fit:contain}
 .qh-page .qh-hero,.qms-page .qms-hero{min-height:100vh;min-height:100svh;height:auto;padding:110px 22px 90px}
 .qh-page .qh-hero h1,.qms-page .qms-hero h1{font-size:clamp(36px,9vw,58px);overflow-wrap:normal}
 .qh-page .qh-hero-facts,.qms-page .qms-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
 .qh-page .qh-hero-facts>*,.qms-page .qms-facts>*{min-width:0}
 .qh-page .qh-overview{padding-left:22px;padding-right:22px}
 .qh-page .qh-overview-grid{grid-template-columns:minmax(0,1fr)}
 .qh-detail-page .qh-story-content{max-width:100%}
 .qh-detail-page .qh-story-main,.qh-detail-page .qh-story-secondary{min-width:0}
}
@media(max-width:480px){
 .pcmuseum .pc-container{width:calc(100% - 28px)}
 .pcmuseum .pc-hero-body{padding:100px 0 80px}
 .pcmuseum .pc-hero h1{font-size:clamp(36px,11vw,50px)}
 .pcmuseum .pc-subtitle{font-size:15px}
 .pcmuseum .pc-hero-facts{grid-template-columns:minmax(0,1fr);gap:12px}
 .pcmuseum .pc-hero-facts small{margin-bottom:3px}
 .pcmuseum .pc-section-nav{gap:9px 14px}
 .qh-page .qh-hero,.qms-page .qms-hero{padding:95px 16px 78px}
 .qh-page .qh-hero h1,.qms-page .qms-hero h1{font-size:clamp(33px,10vw,46px)}
 .qh-page .qh-hero-facts,.qms-page .qms-facts{grid-template-columns:minmax(0,1fr);gap:9px}
 .qh-page .qh-hero-facts p,.qms-page .qms-facts p{margin:4px 0}
 .qh-page .qh-overview{padding-left:16px;padding-right:16px}
 .eqc-overlay{padding:10px}
 .eqc-modal{max-height:calc(100dvh - 20px);max-height:calc(100vh - 20px)}
}
@media(max-height:600px) and (orientation:landscape){
 .pcmuseum .pc-hero,.qh-page .qh-hero,.qms-page .qms-hero{min-height:100vh;min-height:100svh}
 .pcmuseum .pc-hero-body{padding-top:90px;padding-bottom:70px}
 .qh-page .qh-hero,.qms-page .qms-hero{padding-top:90px;padding-bottom:70px}
 .eqc-modal{max-height:calc(100vh - 20px)}
}
@media(prefers-reduced-motion:reduce){
 :where(.pcmuseum,.qh-page,.qh-detail-page,.qms-page) :where(*, *::before, *::after){scroll-behavior:auto!important}
}
