/* Dimensions and component arrangement from the official history page. Scoped so other pages retain their layouts. */
.history-page{--hu:clamp(16px,calc(14.8px + .25vw),18px);font:300 var(--hu)/1.75 Roboto,"Roboto Fallback",Arial,sans-serif;background:#f8f8f8;color:#333}
.history-page p{font:inherit;margin:0}
.history-page h1,.history-page h2,.history-page h3{font-weight:500;letter-spacing:0;hyphens:auto;overflow-wrap:break-word;margin:0}
.history-page h1,.history-page h2{letter-spacing:.025em}
.history-wrap{width:min(1280px,calc(100% - var(--hu)*2));margin-inline:auto}
.history-narrow{width:min(740px,calc(100% - var(--hu)*2));margin-inline:auto}
.history-stage{position:relative;padding-top:calc(65vh - var(--hu)*12)}
.history-stage-image{position:absolute;inset:0 0 auto;height:65vh}
.history-stage-image img{width:100%;height:100%;object-fit:cover;object-position:center}
.history-stage-body{position:relative;background:#fff;padding:calc(var(--hu)*2.5) 0;text-align:center}
.history-stage-copy{width:min(100%,calc(740px + var(--hu)*2));margin-inline:auto;padding-inline:var(--hu)}
.history-stage-copy h1{font-size:calc(var(--hu)*2.44140625);line-height:calc(var(--hu)*3.5);text-transform:uppercase}
.history-stage-copy>p{margin-top:calc(var(--hu)*1.5)}
.history-decade{padding:calc(var(--hu)*4) 0;scroll-margin-top:160px}
.history-heading{margin-bottom:calc(var(--hu)*2.5);text-align:center}
.history-heading h2,.history-wide-overview h2{font-size:calc(var(--hu)*1.953125);line-height:calc(var(--hu)*2.75);text-transform:uppercase}
.history-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(var(--hu)*1.5);align-items:start}
.history-row:not(:last-child){margin-bottom:calc(var(--hu)*2.5)}
.history-row figure{margin:0}.history-row figure img{width:100%;height:auto}
.history-row-reverse figure{order:2}
.history-row-copy h3{font-size:calc(var(--hu)*1.5625);line-height:calc(var(--hu)*2)}
.history-row-copy>p,.history-row-copy>ul{margin-top:calc(var(--hu)*1.5)}
.history-gallery,.history-related{background:#fff}
.history-gallery-item{margin:0}.history-gallery-item:not(:first-child){margin-top:calc(var(--hu)*2.5)}
.history-gallery-image{margin-bottom:var(--hu);touch-action:pan-y}
.history-gallery-image img{width:100%;height:auto;aspect-ratio:1.6;object-fit:contain}
.history-enlarge{display:block;cursor:zoom-in}
.history-gallery-item figcaption{font-size:calc(var(--hu)*.8);line-height:calc(var(--hu)*1.25);color:#666;min-height:calc(var(--hu)*2)}
.history-gallery-item .history-year{font-weight:700;color:#333}
.history-gallery-body.is-enhanced{position:relative;container-type:inline-size}
.history-gallery-body.is-enhanced .history-gallery-item{margin-top:0}
.history-gallery-body.is-enhanced>[id],.history-wide-content.is-enhanced{display:grid}
.history-gallery-body.is-enhanced [data-history-slide],.history-wide-content.is-enhanced [data-history-slide]{grid-area:1/1}
.history-gallery-body.is-enhanced [data-history-slide][hidden],.history-wide-content.is-enhanced [data-history-slide][hidden]{display:block!important;visibility:hidden;pointer-events:none}
.history-gallery-body.is-enhanced figcaption{padding-right:calc(var(--hu)*9.5)}
.history-gallery-body.is-enhanced>.history-controls{position:absolute;right:0;top:calc(62.5cqw + var(--hu));margin:0 6px 6px}
.history-controls{display:flex;align-items:center;gap:var(--hu);margin:calc(var(--hu)*1.5) 6px 6px;font:300 var(--hu)/1.75 Roboto,"Roboto Fallback",Arial,sans-serif;white-space:nowrap;color:#333}
.history-controls button{position:relative;display:flex;align-items:center;justify-content:center;width:calc(var(--hu)*2);height:calc(var(--hu)*2);padding:0;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0003;color:var(--red);flex:none}
.history-controls button::after{content:'';position:absolute;min-width:44px;min-height:44px;inset:50% auto auto 50%;transform:translate(-50%,-50%);border-radius:50%}
.history-controls .icon{font-size:var(--hu);width:auto;height:auto;line-height:1}
.history-controls [data-history-prev] .icon{transform:rotate(180deg)}
.history-controls button:hover{color:var(--red-dark)}
.history-controls button:focus-visible{outline:3px solid var(--blue);outline-offset:5px}
.history-wide{padding-top:0}
.history-wide-images{touch-action:pan-y}
.history-wide-images figure{height:65vh;margin:0}
.history-wide-images img{width:100%;height:100%;object-fit:cover}
.history-wide-body{position:relative;margin-top:calc(var(--hu)*-6);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.history-wide-overview{background:#fff;padding:calc(var(--hu)*1.5)}
.history-wide-content{background:#1d334b;color:#fff;min-width:0;touch-action:pan-y}
.history-wide-item{padding:calc(var(--hu)*1.5)}
.history-wide-item p+p{margin-top:var(--hu)}
.history-wide-item a{color:white;text-decoration:underline}
.history-wide-images:not(.is-enhanced) figure:not(:first-child){display:none}
.history-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:calc(var(--hu)*1.5)}
.history-card{display:flex;flex-direction:column;background:#f8f8f8;box-shadow:0 1px 3px #0004;min-width:0}
.history-card>a:first-child img{width:100%;aspect-ratio:1.6;object-fit:cover}
.history-card-body{padding:calc(var(--hu)*1.5);flex:1}
.history-card-body h3{font-size:calc(var(--hu)*1.5625);line-height:calc(var(--hu)*2);text-transform:none;margin-bottom:var(--hu)}
.history-card-link{display:flex;justify-content:flex-end;align-items:center;gap:var(--hu);color:var(--red);padding:0 calc(var(--hu)*1.5) calc(var(--hu)*1.5)}
.history-card-link .icon{font-size:calc(var(--hu)*.9)}
.history-lightbox{padding:64px 32px 32px;border:0;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);background:#fff;overflow:auto}
.history-lightbox::backdrop{background:#000c}
.history-lightbox>.icon-button{position:absolute;right:12px;top:10px;color:var(--blue)}
.history-lightbox img{max-width:100%;max-height:calc(100dvh - 128px);width:auto;height:auto;margin:auto;object-fit:contain}
@media(max-width:919px){
 .history-row{display:flex;flex-direction:column;gap:calc(var(--hu)*1.5)}
 .history-row figure,.history-row-reverse figure{order:0;width:100%}
 .history-wide-body{grid-template-columns:1fr}
 .history-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:679px){
 .history-stage{padding-top:calc(45vh - var(--hu)*6)}
 .history-stage-image{height:45vh}
 .history-gallery-body.is-enhanced figcaption{padding-right:0}
 .history-gallery-body.is-enhanced>.history-controls{position:static;margin:calc(var(--hu)*1.5) 6px 6px}
 .history-related-grid{grid-template-columns:1fr}
 .history-lightbox{padding:60px 16px 16px}
}
@media print{
 .history-controls,.history-lightbox{display:none!important}
 .history-stage{padding-top:0}.history-stage-image{display:none}
 .history-page [data-history-slide]{display:block!important;visibility:visible!important;pointer-events:auto!important}
 .history-gallery-body.is-enhanced>[id],.history-wide-content.is-enhanced{display:block}
 .history-gallery-body.is-enhanced figcaption{padding-right:0}
 .history-wide-images{display:none}
 .history-wide-body{display:block;margin-top:0}
 .history-wide-content{color:#333;background:#fff}
 .history-decade{padding-block:24px}
 .history-gallery-item,.history-row{break-inside:avoid}
}
