/* ==========================================================================
   A cleaner, more current look over the whole site: bold sans-serif headlines, white and cool-grey surfaces, larger rounded
   corners, soft light shadows, flat colour bands instead of heavy gradients and patterns, and more white space.
   Loaded last so it can refine the page styles without rewriting them.
   ========================================================================== */
:root {
    --section-y: clamp(5rem, 3.5rem + 6vw, 9rem);
    --soft-shadow: 0 14px 36px -16px rgb(25 47 37 / 0.16);
    --card-radius: 20px;
}

/* ---- headlines: bold, tight, upright ---- */
.h2, .h-display, .md-title, .a-block__title, .pg-title, .fg-text__title, .fc-card__title, .cca-row__title,
.h-hero__title, .hero__title, .hx__name, .hy__name, .cl-club__text strong, .vv-text p, .hs-open__text,
.pg-stage__head h3, .sc-box__role, .gl-tab__year {
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    font-style: normal !important;
}
.h-hero__line:last-child, .hero__title em { font-style: normal !important; font-weight: 700 !important; }
.h2, .pg-title, .md-title, body:not(.page-home) :is(.h2, .h-display, .md-title, .a-block__title, .pg-title) {
    font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.6rem);
    line-height: 1.08;
}
body { line-height: 1.7; }

/* ---- hero banners: a flat bottom edge with rounded corners instead of the curve ---- */
.h-hero::after { display: none !important; }
.h-hero { border-radius: 0 0 clamp(1.5rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 2.75rem); }
.h-hero__content { padding-bottom: clamp(2.5rem, 5vw, 4rem) !important; }

/* ---- photographs and cards: larger rounded corners, soft shadows ---- */
.vv-photo, .cl-club__photo, .cca-row__photo, .cca-intro__photo, .hs-open__photo, .pg-photo, .hs-banner,
.a-beyond__photo, .as-open__photo, .s-cong__patron img, .s-cong__founder, .hx__tile, .hy__card, .sc-box,
.gl-card a, .fc-gallery__item, .fc-photo, .ev-video, .ev-more-side, .cv-thumb, .vm-photo img, .pg-stage,
.a-term, .a-note, .nl-doc, .hs-open__copy, .pg-intro__text, .vv-panel, .cl-club--banner .cl-club__body,
.cca-intro__copy, .pg-tiles--lang li, .hs-lane {
    border-radius: var(--card-radius) !important;
}
.vv-photo, .cl-club__photo, .cca-row__photo, .cca-intro__photo, .hs-open__photo, .pg-photo, .hs-banner,
.a-beyond__photo, .hx__tile, .hy__card, .sc-box, .gl-card a, .fc-gallery__item, .ev-video, .ev-more-side,
.pg-stage, .a-term, .nl-doc, .hs-open__copy, .pg-intro__text, .vv-panel, .cl-club--banner .cl-club__body, .cca-intro__copy {
    box-shadow: var(--soft-shadow) !important;
}
.vv-panel { border-radius: 0 0 var(--card-radius) var(--card-radius) !important; }

/* buttons and chips are pills */
.btn, .pg-grades li, .nl-btn, .gl-tab, .cca-row__items li, .pg-tabs__list button, .pg-tabs__list { border-radius: 999px !important; }
.pg-grades li, .cca-row__items li { border-radius: 999px !important; }

/* ---- flat bands and no patterns ---- */
.hx, .ad-contact { background-image: none !important; }
.v-mission, .achievements, .recognition, .upcoming, .site-footer, .ct-day, .sc-box--dark, .hy__card--current, .hx__tile::after {
    background-image: none;
}
.v-mission, .achievements, .recognition { background-color: var(--c-maroon-800); }
.pg-stage__head { background: var(--c-soft) !important; }

/* ---- sections breathe ---- */
.section { padding-block: var(--section-y); }
/* ---- inner pages: the section after a hero banner starts right under it, with the room inside its own top padding ---- */
.h-hero + * { margin-top: 0 !important; padding-top: clamp(3.5rem, 6vw, 6rem) !important; }
/* inner-page hero: the text and the badge sit lower in the banner (about 70% of its height) */
.h-hero__content { padding-bottom: clamp(2.25rem, 4.4vw, 4rem) !important; }
.h-hero__badge { bottom: clamp(2.25rem, 4.4vw, 4rem); }

/* gallery year tabs: a straight underline that slides in from the left on hover and stays on the selected tab */
.gl-tab { position: relative; border-radius: 0 !important; border-bottom: 0 !important; background: none !important; transition: color 0.25s ease, transform 0.25s var(--ease); }
.gl-tab::after { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; bottom: -1px; height: 3px; background: var(--c-gold-500); border-radius: 3px 3px 0 0; transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.35s var(--ease), background-color 0.25s ease; }
.gl-tab:hover { color: var(--c-maroon-900); background: none !important; transform: translateY(-2px); }
.gl-tab:hover::after { transform: scaleX(1); background: rgb(var(--rgb-gold-500) / 0.45); }
.gl-tab:hover .gl-tab__count { color: var(--c-gold-700); }
.gl-tab[aria-selected="true"]::after { transform: scaleX(1); background: var(--c-gold-500); }
.gl-tabs__bar { border-bottom: 1px solid var(--c-line); }

/* the "more" list in the event sidebar: seven items, no scroll bar */
.ev-more-side__list { max-height: none !important; overflow: visible !important; }
.ev-side { max-height: none; }
