/* ---------- House System page (hero from history.css) ---------- */

.page-houses .h-hero::after { background: var(--c-soft, #f6f2eb); }
.page-houses .h-hero__content { padding-bottom: calc(var(--h-curve) + 1.5rem); }

/* House System: the photograph on the left (about 60% of the width) with the four house colours as a bar down its edge;
   the introduction on a white card that overlaps the photograph's right edge, in the normal body font. */
.hs-open { background: var(--c-soft, #f6f2eb); }
.hs-open__grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); align-items: center; }
.hs-open .eyebrow::after { content: ""; width: 1.75rem; height: 1px; background: currentColor; }

.hs-open__photo { position: relative; grid-column: 1; grid-row: 1; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 6px; box-shadow: 0 28px 46px -34px rgb(var(--rgb-maroon-950) / 0.7); }
.hs-open__photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.hs-open__colours { position: absolute; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; width: 0.6rem; }
.hs-open__colours i { flex: 1; }

.hs-open__copy { position: relative; z-index: 1; grid-column: 2; grid-row: 1; margin-left: clamp(-5rem, -6vw, -2rem); padding: clamp(1.5rem, 3.5vw, 2.75rem); background: var(--c-white); border-top: 4px solid var(--c-gold-500); box-shadow: 0 30px 50px -36px rgb(var(--rgb-maroon-950) / 0.6); }
.hs-open__text { margin: 1rem 0 0; font-family: var(--f-sans); font-size: 1.25rem; font-weight: 400; font-style: normal; line-height: 1.85; color: var(--c-ink); }
.hs-banner-wrap { background: var(--c-white); }
.hs-banner { margin: 0; overflow: hidden; border-radius: 6px; box-shadow: 0 30px 50px -36px rgb(var(--rgb-maroon-950) / 0.55); }
.hs-banner img { display: block; width: 100%; height: auto; border-radius: 0 !important; }

@media (max-width: 960px) {
    .hs-open__grid { grid-template-columns: 1fr; }
    .hs-open__photo, .hs-open__copy { grid-column: 1; grid-row: auto; }
    .hs-open__copy { margin: -2rem 1rem 0; }
}