.hb-flex{clear:both;margin:0 auto;background:var(--hf-background);color:var(--hf-text)}
.hb-flex.hb-full{margin-inline:calc(50% - 50vw)}
.hb-flex-inner{max-width:72rem;margin:auto;padding:clamp(1rem,2.4vw,2rem) clamp(1rem,3vw,2.5rem)}
.hb-flex h2,.hb-flex h3{color:var(--hf-heading);margin-top:0}
.hb-flex a{color:var(--hf-link)}.hb-flex .hb-cta,.hb-flex button,.hb-flex input[type=submit]{display:inline-block;background:var(--hf-button);color:var(--hf-button-text);padding:.55em 1em;border:0;border-radius:.25rem}
.hb-copy{max-width:68ch}.hb-flex img{max-width:100%;height:auto}
.hb-ladder-row{display:grid;align-items:center;gap:clamp(1.5rem,4vw,4rem)}
.hb-ladder-row img{display:block;width:100%}
@media(min-width:760px){.hb-ladder-row.with-image{grid-template-columns:1fr 1fr}.hb-ladder-row.side-right img{order:1}}
.hb-images{display:grid;gap:1rem;grid-template-columns:repeat(var(--columns),minmax(0,1fr))}.hb-images figure{margin:0}
@media(max-width:650px){.hb-images{grid-template-columns:repeat(auto-fit,minmax(min(9rem,100%),1fr))}}
.hb-flex details{padding:1em 0;border-top:1px solid currentColor}.hb-flex summary{cursor:pointer;font-weight:600}
.hb-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.hb-track article{flex:0 0 100%;min-width:0;scroll-snap-align:start}
.hb-slide-actions{margin-top:1rem}.hb-enlarged img{max-width:85vw;max-height:76vh;display:block;object-fit:contain}.hb-enlarged::backdrop{background:#171313cf}
.hb-embed iframe{max-width:100%}.ratio-16-9 iframe,.ratio-4-3 iframe{width:100%;height:auto;aspect-ratio:16/9}.ratio-4-3 iframe{aspect-ratio:4/3}
.hb-banner-panel{position:relative;isolation:isolate;display:flow-root}.hb-banner-panel.height-medium{min-height:18rem}.hb-banner-panel.height-tall{min-height:28rem}.hb-banner-panel.has-backdrop{padding:clamp(1.5rem,4vw,4rem);background:var(--hf-background)}.hb-banner-panel.has-backdrop>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.16;z-index:-1}

/* The booking link shares the opening row. Sections use the whole canvas below. */
.hb-opening{display:grid;align-items:start;gap:1rem 2rem;margin:0 0 clamp(1.25rem,3vw,2.5rem)}
.hb-opening h1{font-size:clamp(2.75rem,5vw,4.75rem);line-height:1.06;margin:0;text-wrap:balance}
.hb-opening .subtitle{margin:.35em 0 0;font-size:clamp(1.45rem,2.5vw,2.15rem)}
/* Content-width rows on the default scheme follow the title gutter. */
.hb-flex.hb-scheme-default:not(.hb-full)>.hb-flex-inner{padding-inline:0}
.hb-story-sections>.hb-flex:first-child{margin-top:0}
.hb-flex-inner h2{font-size:clamp(1.65rem,3vw,2.5rem);line-height:1.15;margin-bottom:.55em}
.hb-copy>:first-child{margin-top:0}.hb-copy>:last-child{margin-bottom:0}
.hb-dates-link{justify-self:start}
.hb-programme{clear:both;margin-top:clamp(2rem,5vw,4rem);padding-block:1rem;border-top:1px solid var(--wash);scroll-margin-top:5rem}
@media(min-width:940px){.hb-opening:has(.hb-dates-link){grid-template-columns:minmax(0,1fr) auto}.hb-dates-link{margin-top:.35rem}}

/* Reusable CPT Jacob's ladder: alternating media/copy, with text-only fallbacks. */
.hb-cpt-ladder{display:grid;gap:clamp(2rem,5vw,4.5rem)}
.hb-cpt-ladder-row{display:grid;align-items:center;gap:clamp(1.25rem,4vw,4rem)}
.hb-cpt-ladder-media{display:block;overflow:hidden;border-radius:.25rem}
.hb-cpt-ladder-media img{display:block;width:100%;height:auto}
.hb-cpt-ladder-copy h3{font-size:clamp(1.6rem,3vw,2.4rem);line-height:1.15;margin:0 0 .45em}
.hb-cpt-ladder-copy h3 a{color:inherit;text-decoration:none}
.hb-cpt-ladder-copy h3 a:hover,.hb-cpt-ladder-copy h3 a:focus-visible{text-decoration:underline}
.hb-cpt-ladder-subtitle{font-family:var(--display-font);font-size:1.18em;font-style:italic;margin:.25em 0 .7em}
.hb-cpt-ladder-description{max-width:62ch}
.hb-cpt-ladder-description p{margin:0}
.hb-cpt-ladder-next{margin:1.1em 0;padding:.65em 0;border-block:1px solid currentColor}
.hb-cpt-ladder-next strong{font-weight:600}
.hb-cpt-ladder-copy .hb-cta{margin-top:.35em}
@media(min-width:760px){
    .hb-cpt-ladder-row.with-image{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
    .hb-cpt-ladder-row.image-right .hb-cpt-ladder-media{order:2}
    .hb-cpt-ladder-row.image-right .hb-cpt-ladder-copy{order:1}
}
/* Display posts: compact lists and responsive grids share the ladder data. */
.hb-post-list{padding-inline-start:1.25em;margin:0;display:grid;gap:.5em}
.hb-post-mode-grid,.hb-post-mode-subtitle_grid{gap:clamp(1rem,2.5vw,2rem);grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.hb-post-mode-grid .hb-cpt-ladder-row,.hb-post-mode-subtitle_grid .hb-cpt-ladder-row{grid-template-columns:minmax(0,1fr);gap:.75rem;align-items:start;min-width:0}
.hb-post-mode-grid .hb-cpt-ladder-media img,.hb-post-mode-subtitle_grid .hb-cpt-ladder-media img{aspect-ratio:4/3;object-fit:cover}
.hb-post-mode-grid .hb-cpt-ladder-copy h3,.hb-post-mode-subtitle_grid .hb-cpt-ladder-copy h3{font-size:clamp(1.1rem,1.8vw,1.55rem)}
/* 0.7.4: preserve the distinction between compact and editorial grids. */
@media(max-width:759px){
.hb-post-cols-2:is(.hb-post-mode-grid,.hb-post-mode-subtitle_grid),.hb-post-cols-3:is(.hb-post-mode-grid,.hb-post-mode-subtitle_grid){grid-template-columns:minmax(0,1fr)}
}
@media(max-width:359px){
.hb-post-mode-grid,.hb-post-mode-subtitle_grid{grid-template-columns:minmax(0,1fr)}
}
@media(min-width:760px){
.hb-post-cols-5:is(.hb-post-mode-grid,.hb-post-mode-subtitle_grid){grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:1050px){
.hb-post-cols-3:is(.hb-post-mode-grid,.hb-post-mode-subtitle_grid){grid-template-columns:repeat(3,minmax(0,1fr))}
.hb-post-cols-4:is(.hb-post-mode-grid,.hb-post-mode-subtitle_grid){grid-template-columns:repeat(4,minmax(0,1fr))}
.hb-post-cols-5:is(.hb-post-mode-grid,.hb-post-mode-subtitle_grid){grid-template-columns:repeat(5,minmax(0,1fr))}
}
