/* ==========================================================================
   Museum of Medieval Kilkenny — Brand Redesign Override
   Applies the updated brand guidelines (colours already recoloured directly
   in site.css / style.css / custom.css) plus a typeface swap.

   TYPEFACE NOTE:
   The brand guide specifies Bartender (headlines), Macho (supporting
   titles) and Tenon (body copy, nav, buttons). All files are
   client-licensed webfonts (Nov 2026), self-hosted in dist/fonts/<family>/.
   The rules in site.css and this file use the real family names below, so
   DevTools shows the font actually in use:
     - "Bartender Serif Condensed" -> Bartender Serif Condensed Regular (headlines)
     - "Tenon Regular"             -> Tenon Regular (body, p)
     - "Tenon Medium"              -> Tenon Medium  (card/blog titles, quotes, accordion titles)
     - "Tenon Bold"                -> Tenon Bold    (nav, buttons, button links, small sub-heads)
     - "Macho Extra Bold"          -> Macho Extra Bold (supporting titles,
                                      hero/page-banner taglines)

   The old family names (Montserrat-*, SourceSerifPro-*, Macho-Semibold) are
   kept further down as aliases of the same files. Nothing references them
   now, so browsers don't download them twice, but if site.css is ever
   recompiled from src/scss (which still uses the old names) the site will
   keep rendering the licensed fonts instead of falling back to Montserrat. */

@font-face {
  font-family: "Bartender Serif Condensed";
  src: url(../../dist/fonts/bartender-serif-condensed/BartenderSerifCondensed-Regular.woff2) format("woff2"), url(../../dist/fonts/bartender-serif-condensed/BartenderSerifCondensed-Regular.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tenon Regular";
  src: url(../../dist/fonts/tenon/tenon-regular.woff2) format("woff2"), url(../../dist/fonts/tenon/tenon-regular.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tenon Medium";
  src: url(../../dist/fonts/tenon/tenon-medium.woff2) format("woff2"), url(../../dist/fonts/tenon/tenon-medium.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tenon Bold";
  src: url(../../dist/fonts/tenon/tenon-bold.woff2) format("woff2"), url(../../dist/fonts/tenon/tenon-bold.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Macho Extra Bold";
  src: url(../../dist/fonts/macho/MachoExtraBold.woff2) format("woff2"), url(../../dist/fonts/macho/MachoExtraBold.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Legacy aliases (see TYPEFACE NOTE). */
@font-face {
  font-family: Montserrat-ExtraBold;
  src: url(../../dist/fonts/bartender-serif-condensed/BartenderSerifCondensed-Regular.woff2) format("woff2"), url(../../dist/fonts/bartender-serif-condensed/BartenderSerifCondensed-Regular.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Montserrat-Bold;
  src: url(../../dist/fonts/bartender-serif-condensed/BartenderSerifCondensed-Regular.woff2) format("woff2"), url(../../dist/fonts/bartender-serif-condensed/BartenderSerifCondensed-Regular.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Montserrat-SemiBold;
  src: url(../../dist/fonts/tenon/tenon-bold.woff2) format("woff2"), url(../../dist/fonts/tenon/tenon-bold.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Montserrat-Medium;
  src: url(../../dist/fonts/tenon/tenon-regular.woff2) format("woff2"), url(../../dist/fonts/tenon/tenon-regular.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: SourceSerifPro-Regular;
  src: url(../../dist/fonts/macho/MachoExtraBold.woff2) format("woff2"), url(../../dist/fonts/macho/MachoExtraBold.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: SourceSerifPro-Semibold;
  src: url(../../dist/fonts/tenon/tenon-medium.woff2) format("woff2"), url(../../dist/fonts/tenon/tenon-medium.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Macho (licensed Macho Extra Bold, see TYPEFACE NOTE at top). Kept as its
   own family name so it can be applied selectively: h3/h4, h6, quote and
   .ic__sub-heading sub-headings, page-banner description. */
@font-face {
  font-family: Macho-Semibold;
  src: url(../../dist/fonts/macho/MachoExtraBold.woff2) format("woff2"), url(../../dist/fonts/macho/MachoExtraBold.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Bartender headline tracking: brand guide calls for -2% letter-spacing on
   titles. Percentage tracking from design tools maps directly to em (-2%
   of the element's own font-size = -0.02em), which is also why em is used
   here rather than a fixed px/vw value - it scales automatically with
   each heading's own fluid font-size, no separate breakpoint math needed.
   Targets every h1-h6 (plus the .h1-.h6 utility class variants site.css
   also uses on non-heading tags) since that covers all Montserrat-
   ExtraBold/-Bold titles site-wide. .page-banner__copy h1 needs its own
   explicit override - site.css redundantly re-declares
   letter-spacing:normal there at higher specificity than the bare h1
   rule, so it would otherwise win and silently ignore the h1 override. */
.h1, h1,
.h2, h2,
.h3, h3,
.h4, h4,
.h5, h5,
h6 {
  letter-spacing: -0.02em;
}

.page-banner__copy h1 {
  letter-spacing: -0.02em;
}

/* Page banner sub_heading (p.h5, formerly h5) sits on a dark photo overlay —
   needs white text to match the h1 above it. The global .h5,h5{color:#000}
   rule in site.css would otherwise make it unreadable. */
.page-banner__copy .h5 {
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Smooth-scroll for same-page anchor links (e.g. the Weddings/Events
   "Contact Us" CTAs that jump down to the on-page contact form instead of
   navigating to the separate Contact page) - no smooth-scroll JS library
   exists anywhere in this codebase already, so plain scroll-behavior
   covers it without introducing one. Global on <html> since there's
   nothing anchor-scroll-specific here that would conflict with any other
   #anchor link site-wide. */
html {
  scroll-behavior: smooth;
}

/* Offsets the scroll target down by the fixed header's own height (~139px
   measured), so the section's heading/form isn't left tucked underneath it
   after the smooth-scroll lands.
   Two ids, because the same component lands at a different module index on
   each page: the Contact page's own copy is _2 (its second module), while
   the Weddings and Events copies are _6 (their sixth). The approved build
   shows _2 on all three only because its export pasted the Contact page's
   markup verbatim - WordPress numbers the wrapper from the row's real
   position, so it cannot reproduce that. Both ids are listed rather than
   using [id^="two_column_content_"] so the specificity stays at 100 and
   the page-scoped rules further down still win against site.css. */
#two_column_content_2,
#two_column_content_6 {
  scroll-margin-top: 150px;
}

/* ==========================================================================
   Shared fluid type-scale tokens.
   Root cause of the site-wide "headings match at 1920px but diverge at
   every other width" bug class: every heading-tier element site-wide is
   rendered by a component class (.ic__heading, .slider__copy__heading,
   .cta__head h2, .cta__sub-head h5, .acc__title, etc.) rather than a bare
   h1-h6 tag, and each of those ~20 component classes had its own
   independently hand-tuned vw rate and freeze ladder - only the vw rate at
   the 1920px baseline was ever coordinated, so anything below the freeze
   point could (and did) drift arbitrarily far from its peers.
   Every heading-tier selector below now reads from these same variables,
   so a heading that's visually meant to be "h2-sized" scales identically
   everywhere it appears, at every width - not just at one baseline.

   Second, related bug found by comparing two adjacent viewport widths
   (e.g. 1280px vs 1279px): every vw rate here was calibrated to look right
   at the 1920px design baseline, but was left applying unbounded below
   that too - at 1280px wide, 3.64583vw (the h2 rate) evaluates to only
   ~47px, well UNDER the 65px "frozen" value one pixel narrower at 1279px.
   Every tier had this same backwards jump (39-50% across h1-h6) right at
   the old 1280px cutoff. Fixed by only letting each vw rate apply
   >=1920px (its own true baseline) and holding flat at the tier's
   1279-breakpoint value for the entire 992-1919px range instead - at
   exactly 1920px the vw rate evaluates to the tier's full baseline size,
   which is always >= the flat value, so the transition is smooth or
   exactly continuous, never a jump.
   Breakpoints match the site's existing 1279/991/767 convention (h6 also
   keeps its own pre-existing extra 1199px step, since no bug ever came
   from that one - left as-is, just tokenized). */
:root {
  /* Shared mobile (<=767px) banner-image height, used by both the
     homepage hero (.hero__item__img__wrapper) and every inner-page
     banner (.page-banner__img__wrapper) - unified to the hero's own
     reduced value (300px, after this session's -50% then +25% changes)
     rather than the inner-page banners' original 345px, so the two
     don't drift out of sync the way they had until now. Referencing one
     variable from both rules means a future change to either
     automatically keeps them matched, rather than needing to remember
     to update two separate hardcoded numbers. */
  --mobile-banner-img-height: 300px;

  --h1-size-1920: 4.94792vw; /* 95px */
  --h1-size-1279: 88px;
  --h1-size-991: 68px;
  --h1-size-767: 54px;

  --h2-size-1920: 3.64583vw; /* 70px */
  --h2-size-1279: 65px;
  --h2-size-991: 50px;
  --h2-size-767: 40px;

  --h3-size-1920: 2.8125vw; /* 54px */
  --h3-size-1279: 50px;
  --h3-size-991: 45px;
  --h3-size-767: 40px;

  --h4-size-1920: 2.29167vw; /* 44px */
  --h4-size-1279: 44px;
  --h4-size-991: 40px;
  --h4-size-767: 36px;

  --h5-size-1920: 1.66667vw; /* 32px */
  --h5-size-1279: 30px;
  --h5-size-991: 26px;
  --h5-size-767: 24px;

  --h6-size-1920: 1.40625vw; /* 27px */
  --h6-size-1279: 26px;
  --h6-size-1199: 24px;
  --h6-size-991: 22px;
  --h6-size-767: 20px;

  /* Small uppercase "eyebrow" label tier (e.g. "EVENTS & EXHIBITIONS" card
     labels, testimonial attribution) - not one of the numbered h1-h6 rungs,
     but the exact same bug class, so it shares the same token treatment. */
  --eyebrow-size-1920: 1.14583vw; /* 22px */
  --eyebrow-size-1279: 20px;
  --eyebrow-size-767: 18px;

  /* Card-title tier (38px @1920): the "Explore the Museum" carousel's own
     card titles (.slider__slide-heading, e.g. "Guided Museum Tour") and
     the "Book Your Tickets"/"Book an Event"/"Annual Membership" cards
     (.lbs__item__card__heading) - deliberately kept separate from the
     numbered h4 rung (44px) since these two card components are meant to
     match EACH OTHER's size, not the h4 rung. Only one freeze step,
     matching .slider__slide-heading's own original (pre-fix) ladder - it
     never had a further 991/767 step to begin with. */
  --card-title-size-1920: 1.97917vw; /* 38px */
  --card-title-size-1279: 32px;
}

/* ==========================================================================
   Heading scale consolidation - one size per heading level at the 1920px
   baseline:
     Big Text 120px (homepage hero title only - its own component class,
                     not part of the h1-h6 rungs, untouched here)
     h1  95px   h2  70px   h3  54px   h4  44px   h5  32px   h6  27px
   site.css's own generic scale had h1=120, h3=44, h4=38, h6=20 - those
   four change; h2=70 and h5=32 already matched.

   BARE TAG SELECTORS ONLY, deliberately: this file loads after site.css,
   so overriding the .h1-.h6 utility-class variants here would beat
   site.css's equal-specificity component classes on source order alone
   and accidentally resize elements whose component class is meant to win
   (e.g. .slider__slide-heading carries the "h4" utility class but is
   sized by its own class). A bare tag selector keeps the intended
   hierarchy: any class rule still beats it.

   SECOND ROUND FIX: the original fix here (flat 1279/991/767 freeze steps,
   vw rate scoped to only apply >=1920px) stopped the "backwards jump right
   at 1280px" bug, but replaced it with a new one - each tier is perfectly
   FLAT across the entire 992-1919px range. A column that holds this text
   (e.g. .ic__row's copy column) shrinks continuously with viewport width
   the whole way down, but the font inside it doesn't move at all across
   that same range - so at the narrow end (e.g. 1024px) the text is
   proportionally much bigger relative to its own container than it is at
   1919px, wrapping onto extra lines and reading as oversized/disproportio-
   nate, exactly the symptom reported. Replaced every tier's three flat
   steps with a single continuous two-point linear interpolation between
   the same already-correct endpoints (1920px and 767px), using the
   standard fluid-type formula: slope = (max-min)/(1920-767), intercept =
   min - slope*767, expressed as calc(SLOPEvw + INTERCEPTpx). max() (not
   clamp()) floors at the 767px value and lets the rate keep scaling
   UNBOUNDED above 1920px, matching how every one of these tiers already
   behaves at its own >=1920px baseline - clamping the top end would
   reintroduce the exact "looks too small next to a bigger screen" bug
   found on the hero title below at 2560px+. */
h1 { font-size: max(54px, calc(3.5559vw + 26.726px)); }   /* 95px@1920, 54px@767 */
h2 { font-size: max(40px, calc(2.6019vw + 20.043px)); }   /* 70px@1920, 40px@767 */
h3 { font-size: max(40px, calc(1.2142vw + 30.687px)); }   /* 54px@1920, 40px@767 */
h4 { font-size: max(36px, calc(0.69384vw + 30.678px)); }  /* 44px@1920, 36px@767 */

/* h6 rung mobile ladder (its own extra 1199px step predates this change and
   isn't shared by any other rung - kept as-is, just tokenized). */
@media (min-width: 1920px) { h6 { font-size: var(--h6-size-1920); } }
@media (max-width: 1919px) { h6 { font-size: var(--h6-size-1279); } }
@media (max-width: 1199px) { h6 { font-size: var(--h6-size-1199); } }
@media (max-width: 991px)  { h6 { font-size: var(--h6-size-991); } }
@media (max-width: 767px)  { h6 { font-size: var(--h6-size-767); } }

/* Homepage "Big Text" hero title (e.g. "800 Years of History") - its own
   separate 120px tier, not part of the numbered h1-h6 rungs. Same
   continuous two-point formula as the rung above: slope =
   (120-45)/(1920-767) = 6.50477vw; intercept = 45 - slope*767 = -4.88816px.
   max() (not clamp()) so the rate keeps climbing unbounded above 1920px -
   an earlier version of this fix used clamp() with a 120px ceiling, which
   held the title flat at 120px all the way from 1920px up to 2560px+,
   looking too small relative to the much wider screen there (the same
   "flat plateau" bug this whole rewrite is fixing, just relocated above
   1920px instead of below it). */
.hero__item__copy__heading {
  font-size: max(45px, calc(6.50477vw - 4.88816px));
}

/* Inner-page banner titles (h1, e.g. "Explore", "What's On" - the only
   real-world h1 instance site-wide besides the homepage's separate "Big
   Text" hero): site.css sizes .page-banner__copy h1 at higher specificity
   than the bare h1 rung above, so it needs its own copy of the same
   formula rather than inheriting it. */
.page-banner__copy h1 { font-size: max(54px, calc(3.5559vw + 26.726px)); }

/* H2-tier component classes: all of these already rendered at the exact
   same 70px size as bare h2 at the 1920px baseline (coincidentally, since
   each was hand-tuned independently) - now share bare h2's own continuous
   formula instead of their own copy of the old flat ladder. */
.ic__heading,
.slider__copy__heading,
.gallery__head__heading,
.cg__head h2,
.cta__head h2 { font-size: max(40px, calc(2.6019vw + 20.043px)); }

/* .bic__copy__item .ic__heading (dark-overlay variant of the same "History
   of the Building"-style heading, e.g. on the Explore page) has its own
   higher-specificity site.css override that would otherwise beat the
   simple .ic__heading rule above - needs its own copy of the same h2
   formula to actually reach this element. */
.bic__copy__item .ic__heading { font-size: max(40px, calc(2.6019vw + 20.043px)); }

/* .bic__copy's own top/bottom margin (site.css: 5.625vw unconditional,
   giving exactly 108px at the 1920px baseline) is overridden to a flat
   108px for the ENTIRE 767-1919px range - not a freeze at some smaller
   value, the exact same 108px the unconditional rate already gives at
   1920px, so margin doesn't shrink AT ALL below 1920px until suddenly
   dropping to 0 at 767px. At narrower widths in that range (e.g. 1024px)
   this flat 216px of total margin (108 top + 108 bottom) is a large
   fraction of the whole "Family Visits"/.bic__inner block's height,
   reading as excess empty space once the heading/copy text inside also
   shrank via the earlier type-scale fixes. Continuous two-point
   interpolation between the two real endpoints - 108px@1920px (unchanged)
   and 0@767px (already the explicit <=767px value) - removes the flat
   plateau: slope = (108-0)/(1920-767) = 9.3669vw; intercept =
   0 - slope*767 = -71.84px. */
.bic__copy {
  margin: max(0px, calc(9.3669vw - 71.84px)) 0;
}

/* Card-title tier: .lbs__item__card__heading ("Book Your Tickets"/"Book an
   Event"/etc. cards, 51 occurrences across 13 pages) and
   .slider__slide-heading (the "Explore the Museum" carousel's own card
   titles, e.g. "Guided Museum Tour") are meant to visually match each
   other, not the numbered h4 rung - both share the 38px card-title tier
   instead. (.lbs__item__card__heading previously had an odd 46px blip at
   1199px on top of its own mismatched ladder - both gone now that it
   shares this tier's tokens.)
   Both also had the site-wide "vw rate left unbounded below 1920"
   discontinuity: .slider__slide-heading's own original ladder was
   1.97917vw (38px@1920) unconditionally, freezing to 32px only below
   1279px - at 1280px wide that vw rate evaluates to just ~25px, so
   crossing to 1279px caused a 26% backwards jump UP to 32px, the same bug
   class fixed for h1-h6 earlier.
   SECOND ROUND FIX: initially just scoped the vw rate to >=1920px and
   held 32px flat below that, matching the numbered rungs' first-round
   fix - but that's the same "flat plateau" bug found and fixed
   everywhere else in this file. No 767px anchor was ever established for
   this tier, so this first reused the 1920/1279 endpoints directly
   (38px@1920, 32px@1279), giving ~29.6px@1024px.

   THIRD ROUND FIX: confirmed the 29.6px value WAS applying correctly and
   identically on every card (slider and lbs alike, including "How to
   Find Us") - the remaining "still too big" read wasn't a formula bug,
   it's that .lbs__item__card__heading's own cards are only ~156px wide
   at 1024px (vs .slider__slide-heading's ~253px) - a two-word title at
   29.6px is simply a lot of text for that narrow a box. Re-anchored to
   target a visibly smaller 24px specifically at 1024px (down from
   29.6px) while keeping the untouched 38px@1920 endpoint: slope =
   (38-24)/(1920-1024) = 1.5625vw; intercept = 24 - slope*1024 = 8px.
   Floors at 20px (this formula's own ~767px value). */
.lbs__item__card__heading,
.slider__slide-heading {
  font-size: max(20px, calc(1.5625vw + 8px));
}

/* H5-tier component classes, now including a bare h5/.h5 rule (previously
   relied on site.css's own unpatched, unbounded-below-1920 h5 rule - the
   exact same bug class as everywhere else here). .h5 has to be listed
   explicitly alongside bare h5: site.css's own competing rule is written
   as ".h5, h5" - for markup using class="h5" (e.g. the testimonial copy
   text in testimonials-loader.js), that rule's ".h5" branch (specificity
   0,1,0) beats a plain "h5" selector here (0,0,1), so this needs the same
   ".h5" branch to actually win.
   Adding ".h5" this way also now reaches .blog-heading (blog card titles,
   markup is class="blog-heading h5") which weren't part of the original
   consolidation - its own site.css rule already matched the exact same
   32px@1920 rate as h5 (coincidentally, like every other tier here) but
   had its own slightly-off flat 32px sub-1280 value instead of h5's 30px -
   the same one-off-drift pattern as every other class folded into a
   shared tier elsewhere in this file, so it's included here rather than
   left to silently conflict with the new .h5 rule by equal specificity.
   All share the same continuous formula as the numbered rungs above. */
h5,
.h5,
.blog-heading,
.acc__title,
.cg__card__heading,
.cgw__card__heading,
.cta__sub-head h5 { font-size: max(24px, calc(0.69384vw + 18.678px)); } /* 32px@1920, 24px@767 */

/* .blog-heading inside the blog carousel/slider caption markup
   (.slider__slide-image figcaption.slider__slide__bloginfo .bloginfo__inner
   .blog-heading) is reached via a much higher-specificity descendant
   chain in site.css that beats the plain .blog-heading selector above -
   needs its own copy of the exact same formula to actually apply here. */
.slider__slide-image figcaption.slider__slide__bloginfo .bloginfo__inner .blog-heading {
  font-size: max(24px, calc(0.69384vw + 18.678px));
}

/* Eyebrow/label tier (~22px @1920) - same continuous formula treatment. */
.ic__sub-heading,
.slider__copy__sub_heading,
.quote_box__sub-heading,
.cg__head h5,
.gallery__head__sub-heading { font-size: max(18px, calc(0.34692vw + 15.339px)); } /* 22px@1920, 18px@767 */

/* body .nl__heading (the h3 rung's one other member) already matched the
   h3 ladder exactly - shares the same continuous formula now too. */
body .nl__heading { font-size: max(40px, calc(1.2142vw + 30.687px)); }

/* .btn/.btn-link (every CTA button/link site-wide): site.css's own base
   rule is 1.14583vw completely unconditional - no >=1920px scoping at
   all - overridden to a flat 18px only <=1279px. Between 1280-1919px nothing
   overrides it, so it falls back to the raw uncapped vw rate: ~15px at
   1280px wide, rising to the full 22px only at 1920px - a backwards jump
   in reverse (small in the middle of the range, jumping UP to the flat
   18px the instant the viewport narrows past 1280px), the same bug class
   as every heading tier above, just never given the shared-token
   treatment before now. Same continuous two-point formula, coincidentally
   identical to the eyebrow tier above (also 22px@1920/18px@767). */
.btn,
.btn-link { font-size: max(18px, calc(0.34692vw + 15.339px)); }

/* Two contexts style their own button/link at higher specificity than the
   bare .btn/.btn-link rule above (.hero__item__btn .btn - the homepage
   hero's own "Book Tickets" CTA - and .top-bar__inner .btn-link, the
   top announcement bar's "Book Now" link), each with their own copy of
   the exact same flat-18px-below-1280/unbounded-vw-above-1280 bug -
   need their own copy of the fix to actually take effect. */
.hero__item__btn .btn,
.top-bar__inner .btn-link { font-size: max(18px, calc(0.34692vw + 15.339px)); }

/* .header-btm-mobile .btn ("Book Now" in the mobile hamburger menu header,
   visible <=1199px only - display:none above that) has its own even more
   specific selector chain in site.css, flat at 14px, completely unpatched
   by any of the fixes above. Explicitly given its own smaller target (16px
   at 1024px, not the 18.89px main CTA scale - confirmed intentionally
   distinct/smaller for this compact mobile-nav context) rather than the
   shared CTA formula: two-point interpolation between 14px@375px (its
   original value, kept as the small-mobile floor) and 16px@1024px. */
.header-footer-group .header-inner .header-titles-wrapper .header-btm-mobile .btn {
  font-size: max(14px, calc(0.3082vw + 12.844px));
}

/* h3/h4/h5/h6 switch from Bartender (inherited from the generic .h1-.h6 rule
   above, same as every other heading level) to the real Macho Semibold.
   h5/h6 also get normalized line-height (1.25) for consistent spacing. */
.h3, h3,
.h4, h4,
.h5, h5,
h6 {
  font-family: "Macho Extra Bold";
}

h5, .h5,
h6 {
  line-height: 1.25;
}

/* .bic__copy__item is a dark, semi-transparent overlay card (site.css:
   background-color:rgba(0,0,0,.75)) sitting on top of a full-bleed photo.
   site.css already whites-out .ic__heading/.ic__sub-heading/.ic__description p
   for this context, but a bare h6 tagline (no special class) falls back to
   the generic h6{color:#000} rule and disappears against the dark overlay. */
.bic__copy__item h6,
.bic__copy__item .ic__heading-pink {
  color: #fff;
}

/* Increase gap between testimonial copy and attribution to 60px */
h5 {
  margin-bottom: 60px !important;
}

/* Card headings ("Opening Hours & Prices" etc., now h5) use Macho-Semibold
   via the h5 rule above. Size already matches the 32px rung. */

/* .quote_box__sub-heading (the testimonial attribution, e.g. "Jaime,
   Washington") is an h4 but - like .page-banner__copy h1 for
   letter-spacing above - site.css redundantly re-declares its own
   font-family:"Bartender Serif Condensed" at higher specificity than the bare h4
   rule, so it would otherwise keep rendering in Bartender instead of
   picking up Macho Semibold like every other h4. */
.quote_box__sub-heading {
  font-family: "Macho Extra Bold";
  line-height: 1.25; /* site.css's own h4 line-height:1 is tight enough to
                         crop descenders (the comma, the "g" in
                         "Washington") - matches the 1.25 already used for
                         the h5/h6 rungs above */
}

/* .ic__sub-heading (h4, e.g. "Events & Exhibitions" card labels) was on
   Montserrat-SemiBold (Baloo 2 placeholder) - still applies Macho Semibold
   via the h4 rule above.
   Deliberately NOT touching the OneTrust cookie-consent banner's own h3/h4
   elements ("Your Privacy", "Strictly Necessary Cookies", etc.) - that's
   third-party widget markup injected at runtime, not part of the site's
   own heading system. */
.ic__sub-heading {
  font-family: "Macho Extra Bold";
}

/* ==========================================================================
   Contrast fixes for the new brand palette.
   The old rainbow accent system (pink/orange/teal/purple/blue) has been
   recoloured to the new brand amber/gold/bronze tones. Those tones are much
   lighter than the old colours, so anywhere the theme paints white text on
   top of a coloured card/slide/button, that text needs to switch to the
   brand near-black (#161412) to stay readable. The dark ("green"/now "navy")
   variant is unaffected since near-black + white already has strong contrast.
   ========================================================================== */
.lbs__item__card.yellow,
.lbs__item__card.blue,
.slider__slide-link.blue {
  color: #161412 !important;
}

/* wine/plum/navy/forest (formerly yellow/orange/red/purple on
   .slider__slide-link; formerly red/orange/green/purple on
   .lbs__item__card - two unrelated components that happen to share this
   same four-colour palette) got dark brand colours instead of light amber
   ones, so they need light text instead of the near-black used by the
   still-light lbs__item__card yellow/blue variants above. */
.slider__slide-link.navy,
.slider__slide-link.plum,
.slider__slide-link.wine,
.slider__slide-link.forest {
  color: #fff !important;
}

.lbs__item__card.yellow .lbs__item__card__heading,
.lbs__item__card.blue .lbs__item__card__heading,
.slider__slide-link.blue .slider__slide-heading {
  color: #161412 !important;
}

.slider__slide-link.navy .slider__slide-heading,
.slider__slide-link.plum .slider__slide-heading,
.slider__slide-link.wine .slider__slide-heading,
.slider__slide-link.forest .slider__slide-heading {
  color: #fff !important;
}

/* ==========================================================================
   lbs__item__card: red/orange/green/purple renamed + recoloured to
   wine/plum/navy/forest site-wide (51 class occurrences across 13 pages),
   reusing the exact same hex values already established for
   .slider__slide-link's wine/plum/navy/forest variants above, for palette
   consistency across both components. site.css's own .red/.orange/.green/
   .purple background-color rules are now dead code (nothing in the HTML
   carries those classes any more) - left alone rather than edited directly,
   same as everywhere else in this file. */
.lbs__item__card.wine {
  background-color: #781041;
}

.lbs__item__card.plum {
  background-color: #5A305E;
}

.lbs__item__card.navy {
  background-color: #013A57;
}

.lbs__item__card.forest {
  background-color: #203A1D;
}

/* .cg__card__copy (the "Plan Your Visit" page cards) renamed from
   .blue to .navy on plan-your-visit/index.html: the class was already
   named wrong for what it rendered - .blue resolves to site.css's light
   gold #F5CB5C (the same token the newsletter's old "blue" variant used
   pre-unification), not an actual blue. This component shares its
   card-shape/copybg markup pattern with .slider__slide-link (an <img
   class="card-shape"> plus a .copybg colour layer), NOT with
   .lbs__item__card (which has no image slot and gets its shape via a
   background-image instead) - so it reuses .slider__slide-link.navy's
   original box-shapes-3.svg asset here, not the narrower box-shape3-v2.svg
   cut specifically for .lbs__item__card's shorter card. The navy hex
   itself (#013A57) is the same token already established above and on
   .slider__slide-link.navy, reused for palette consistency. Only
   plan-your-visit/index.html used .cg__card__copy.blue (4 instances) -
   admission-opening-hours/index.html's matching cards use .red instead,
   untouched here. */
.cg__card__copy .copybg.navy {
  background-color: #013A57;
}

/* site.css's base .card-shape (which this component's shape <img> uses,
   having no -right/-bottom modifier of its own) carries
   mix-blend-mode:multiply;opacity:.25 - tuned for this component's
   lighter purple/gray backgrounds, where a faint multiplied overlay
   reads as a subtle texture. Against dark backgrounds it's nearly
   invisible instead: the shape SVGs' own fills are close to (navy) or
   identical to (wine) the copybg colour they sit on, so multiplying them
   together barely moves the result. Overridden to full opacity/normal
   blending for both dark variants here, matching how
   .slider__slide-link's own dark wine/plum/navy/forest variants already
   override their card-shape-right/-bottom the same way - scoped to just
   these cards so the purple/gray variants (whose lighter backgrounds
   make the subtle multiply treatment work fine) keep their existing
   look. */
.cg__card__copy.navy .card-shape,
.cg__card__copy.wine .card-shape {
  mix-blend-mode: normal;
  opacity: 1;
}

/* .cg__card__copy.red renamed -> .wine (admission-opening-hours/index.html,
   4 instances - the only page using this variant of the component) for
   the same reason as .blue -> .navy above: .red resolves to site.css's
   light gold #F3B100, mismatched against the class name. Reuses the wine
   hex already established for .lbs__item__card.wine/.slider__slide-link.wine.
   The shape asset was already box-shapes-1.svg in the markup (the correct
   wine-equivalent file, matching .slider__slide-link.wine's own shape) -
   no asset change was needed, just the blend-mode fix above. */
.cg__card__copy .copybg.wine {
  background-color: #781041;
}

/* .cg__card__copy.green (What's On cards on explore/whats-on/index.html,
   6 instances, and every "Other Related Events" carousel card - those
   transplant this same markup live from the What's On page) renamed ->
   .plum: client wanted the card's default background changed from black
   to the site's established plum brand colour. site.css's .green variant
   actually rendered near-black (#161412), mismatched against its own
   name, so this reuses that same rename-on-fix pattern as .blue -> .navy
   and .red -> .wine above rather than just swapping the hex under the
   wrong class name. Reuses the plum hex already established for
   .lbs__item__card.plum/.slider__slide-link.plum. Heading/description/
   arrow text is already unconditionally white in every variant, and
   white against this plum is ~10.4:1 contrast - no text colour change
   needed. The "New"/"Featured" badge sits on the card's photo, with its
   own independent yellow background - unaffected by this change.
   Its .card-shape SVG reads as a clearly visible dark mark in the card's
   bottom-right corner against this dark copybg, rather than blending
   away. Removed outright here instead of retuning opacity/blend, since
   the shape isn't wanted on this variant at all. */
.cg__card__copy .copybg.plum {
  background-color: #5A305E;
}

.cg__card__copy.plum .card-shape {
  display: none;
}

/* .cgw__card__copy (the "About the Museum" / "Getting Here" cards further
   down the same Plan Your Visit page) renamed .blue -> .navy the same
   way as .cg__card__copy above: .blue resolves to site.css's light gold
   #F5CB5C, mismatched against the class name, and both instances are
   unique to this page (its companion .cgw__card__link overlay - the
   invisible full-card <a> - also carried a .blue class purely for
   naming consistency; it has no CSS of its own tied to that class, so
   renaming it to .navy alongside .cgw__card__copy is cosmetic/harmless
   but keeps the markup's variant naming consistent). This component has
   no card-shape/copybg image layer at all (unlike .cg__card__copy), so
   there's no shape asset to update here.
   site.css's .cgw__card__heading has an UNCONDITIONAL color:#000,
   applied regardless of which background variant is active - fine
   against the light red/orange/purple/yellow/blue/gray backgrounds, but
   would make the heading illegible (black on navy) against this new dark
   variant, the same problem site.css already has for its own .green
   variant. Overridden to white here, matching how every other
   dark-background variant across the site (wine/plum/navy/forest
   elsewhere) already gets white heading text. */
.cgw__card__copy.navy {
  background-color: #013A57;
}

.cgw__card__copy.navy .cgw__card__heading {
  color: #ffffff;
}

/* Background illustration per variant, including the pre-existing yellow
   variant (not part of the wine/plum/navy/forest rename above - it kept
   its original site.css background-color and never had an illustration).
   Applied as a CSS background-image rather than an <img> element since
   this component has no image/figcaption slot in its markup to hold one
   (unlike .slider__slide-link's <img class="card-shape">) - backgrounds
   always paint behind an element's text content, so this needs no
   z-index or position changes to the heading/arrow-icon to stay layered
   correctly. Sized auto-width/100%-height and pinned to the right edge,
   mirroring the height:100%/object-fit:contain convention used for the
   .slider__slide-link shapes; these "-v2" files are the same 4
   diamond/chevron designs re-cut narrower (87px vs 124-126px wide) to
   suit this shorter, more compact card, plus a new matching amber/gold
   design (box-shape5-v2.svg) for yellow. */
.lbs__item__card.wine,
.lbs__item__card.plum,
.lbs__item__card.navy,
.lbs__item__card.forest,
.lbs__item__card.yellow {
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
}

.lbs__item__card.wine {
  background-image: url(../../dist/images/box-shape1-%20v2.svg);
}

.lbs__item__card.plum {
  background-image: url(../../dist/images/box-shape2-%20v2.svg);
}

.lbs__item__card.navy {
  background-image: url(../../dist/images/box-shape3-%20v2.svg);
}

.lbs__item__card.forest {
  background-image: url(../../dist/images/box-shape4-%20v2.svg);
}

.lbs__item__card.yellow {
  background-image: url(../../dist/images/box-shape5-%20v2.svg);
}

/* ==========================================================================
   Newsletter section (.nl): one unified look across all 20 instances
   site-wide. Was inconsistent two ways: 18 pages used the "blue" variant
   (a light gold, #F5CB5C) and 2 pages (events-exhibitions,
   museum-of-medieval-kilkenny) used "green" (near-black, #161412) - plus
   museum-of-medieval-kilkenny was also missing the pt-0 pb-0 spacing
   classes every other instance has, given a different padding rhythm.
   The variant modifier class is dropped entirely instead of renamed to a
   single new name, since with only one color left there's nothing left
   for a modifier to distinguish - every instance now just uses the bare
   .nl class, both in this CSS and in the HTML itself.
   site.css's own .nl.blue/.green/etc background-color rules are now dead
   code (nothing in the HTML carries those classes any more) - left alone
   rather than edited directly, same as everywhere else in this file.
   Recolored to the same brand gold used to unify quote_box__bg, so
   .nl__heading/__description (both default to white, fine against the old
   near-black but not against gold) need the same near-black contrast fix.
   site.css qualifies both as `body .nl__heading`/`body .nl__description`
   (a class plus the body element = higher specificity than the bare class
   alone), so the override needs the same `body` prefix to actually win.
   The consent checkbox label is the one other white-text element in this
   component; its own selector chain in site.css is 8 classes deep, so
   !important is used here rather than replicating that chain. */
.nl {
  background-color: #EAAC00;
}

body .nl__heading,
body .nl__description {
  color: #000000;
}

.nl__right .gfield_consent_label {
  color: #000000 !important;
}

/* site.css puts a heavy drop shadow on the email input
   (box-shadow:0 0 40px 4px rgba(0,0,0,.2)!important) - removed per request.
   Both this and the rule being overridden use !important, so it comes down
   to specificity, not just source order - matches site.css's exact selector
   chain (body prefix + 6 classes deep) rather than a shorter one, since a
   shorter chain loses on specificity even with !important on both sides. */
body .nl__right .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container input {
  box-shadow: none !important;
}

/* "Join now" CTA: site.css's default state is already overridden to black
   elsewhere (`body .nl__right .gform_wrapper form .gform_footer input`),
   but its own `:hover` state (same file) separately sets
   background-color:#F3B100 - the same yellow as .nl's own background,
   so the button nearly disappears into the section on hover. Overridden
   back to black so the button's color doesn't change on hover at all;
   the shared `.gform_button:hover`/`.btn:hover` scale-up transform is a
   different selector and is untouched. Matches site.css's own selector
   chain so it wins on specificity, not just load order. */
body .nl__right .gform_wrapper form .gform_footer input:hover {
  background-color: #000000;
}

/* ==========================================================================
   Quote box: one unified look across all 24 instances site-wide
   .quote_box__bg previously had 6 color variants (red/orange/yellow/green/
   purple/blue) applied per-page via a second class - 21 instances used the
   dark "green" variant, 3 used "purple" (in reality a gold/tan color, not
   purple) with the same hardcoded white heading/sub-heading text, which read
   poorly against it. Replacing all 6 variants with a single background color
   and matching text color removes that inconsistency instead of patching it
   per-variant. Matches every `.quote_box__bg.<variant>` selector's own
   specificity so this wins on source order alone, no !important needed.
   ========================================================================== */
.quote_box__bg.red,
.quote_box__bg.orange,
.quote_box__bg.yellow,
.quote_box__bg.green,
.quote_box__bg.purple,
.quote_box__bg.blue {
  background-color: #EAAC00;
}

.quote_box__heading,
.quote_box__sub-heading {
  color: #000000;
}

/* Two decorative corner shapes instead of the original single top-right
   shape image (the HTML now has two <img> tags per instance, sharing the
   base .quote_box__shape rule from site.css for position:absolute/z-index/
   object-fit, distinguished by one of these two modifier classes for which
   corner they anchor to). site.css's base rule sizes the shape at
   height:100%/width:100% with mix-blend-mode:multiply - tuned for the
   original abstract diamond-pattern shape as a subtle full-height background
   texture. Wolf.svg/Pig.svg are detailed character illustrations, not an
   abstract pattern, so at that size and blend mode they read as an oversized,
   muddy mess overlapping the text. Both are overridden here with normal
   blending and their own fluid size instead.
   Sizing is vw-based (not fixed px), matching every other fluid dimension
   in site.css, all of which resolve cleanly against a 1920px design
   baseline (e.g. .quote_box__inner's 51.04167vw === 980px at 1920px - the
   same 980px used in its own sub-1280px fixed override). Pig top-left and
   Wolf bottom-right, used by every quote_box instance site-wide (the
   opposite corners, --top-right/--bottom-left, were an earlier iteration
   before all instances were unified onto this diagonal - removed, unused). */
.quote_box__shape--top-left,
.quote_box__shape--bottom-right {
  mix-blend-mode: normal;
}

/* Pig reduced a further 10% from its live 1920px-rendered size (403.2x326.7,
   confirmed via computed style before this change, matching the values in
   the superseded comment below) to 362.88x294.03 at the 1920px baseline:
   362.88/1920=18.9vw, 294.03/1920=15.31406vw. */
.quote_box__shape--top-left {
  top: 1px;
  left: -1px;
  bottom: auto;
  right: auto;
  width: 18.9vw;
  height: 15.31406vw;
  object-position: left top;
}

/* Wolf reduced a further 10% from its live 1920px-rendered size (451.8x306.9,
   confirmed via computed style before this change, matching the values in
   the superseded comment below) to 406.62x276.21 at the 1920px baseline:
   406.62/1920=21.17813vw, 276.21/1920=14.38594vw. */
.quote_box__shape--bottom-right {
  top: auto;
  left: auto;
  bottom: 1px;
  right: -1px;
  width: 21.17813vw;
  height: 14.38594vw;
  object-position: right bottom;
}

@media (max-width: 1279px) {
  .quote_box__shape--top-left {
    top: 1px;
    bottom: auto;
  }
}

/* Testimonial copy: site.css hardcodes white text (tuned for the old dark
   "green" background) - unreadable now that .quote_box__bg is gold. */
.quote_box__description p {
  color: #000000;
}

/* Homepage testimonial only: copy retagged from <p> to a heading (see the
   slider rebuild further down) - now an h6 under the consolidated heading
   scale (27px rung). Inherits full H6 styling (font-size, line-height,
   font-family, margin) from the heading-scale rules. Only override: color
   to black for readability on the gold background. */
.quote_box__description h6 {
  color: #000000;
}

/* "More Testimonials" CTA: same white-on-dark assumption as the copy above.
   .btn-link--white is a shared site-wide link style (footer, other dark
   sections), so this is scoped to .quote_box__btn rather than changed
   globally. The arrow icon is a white SVG (btn-link-arow-white.svg); rather
   than add a black-arrow asset, this reuses the site's own existing
   technique for recoloring an arrow icon to black (see .btn-link--pink:after
   in site.css, which loads a colour SVG then flattens it with the same
   filter) instead of introducing a new one-off approach. */
.quote_box__btn {
  padding-top: 5px !important;
}

.quote_box__btn .btn-link--white {
  color: #000000;
}

.quote_box__btn .btn-link--white:after {
  filter: brightness(0);
}

/* .btn-link:before (site.css) is the hover underline, brand yellow
   (#F3B100) by default - invisible against this section's own yellow
   background, so it needs to switch to black like the rest of the
   white-on-dark assumption this CTA already overrides above. */
.quote_box__btn .btn-link--white:before {
  background-color: #000000;
}

/* Quote box height: site.css leaves .quote_box's height entirely up to its
   padding + content (no explicit height at all). Sized here to 997px at the
   1920px design baseline - 997/1920 = 51.92708vw - scaling fluidly like
   every other dimension above. Deliberately left unset again below the
   site's usual 1279px fluid/fixed switchover: .quote_box keeps
   overflow:hidden, and a 14-testimonial page has too much length variance
   for one fixed mobile height to fit every instance without clipping text -
   letting height fall back to auto (content-driven, matching every other
   breakpoint's current unstyled behaviour) is safer there than guessing a
   fixed value that isn't part of this request.

   Reduced 20% from 997px to 797.6px at 1920 (797.6/1920 = 41.54167vw). Note:
   this rule is now shadowed everywhere it would apply except on
   /testimonials/ (post 737), where it is what actually sizes the fourteen
   repeated quote_box modules. The id-prefix rule below wins on every other
   page. (This comment previously claimed every instance site-wide shared a
   static id="quote_box_4"; that is true of the staging export only - see the
   note on the id-prefix rule below.) */
.quote_box {
  height: 41.54167vw;
}

/* Testimonials page's full list (.quote_box__list, still all 14 entries) -
   site.css's own padding (6.82292vw top/bottom = 131px at 1920) was sized
   for the old static single-testimonial layout and left too little room
   for some of these longer reviews, overflowing .quote_box's own
   overflow:hidden top edge. Reduced to 3.85417vw (74px at 1920), same as
   the homepage carousel's own independent rule further below - but kept
   scoped to >=1280px here (falling back to site.css's own <=1279px
   padding/auto-height below that) since 14 reviews of very different
   length is too much variance for one fixed mobile height to fit safely;
   the homepage carousel doesn't have that problem (see below) but this
   page still does, so it stays on the older, more conservative rule. */
/* Height rate reduced 20% from 850px to 680px at 1920 (680/1920 =
   35.41667vw) - but a flat 680px alone clips real content: measured all 14
   testimonials' actual (unclipped) inner height at 1920px, one needs 547px
   against the padding-adjusted ~532px this would leave available (a 15px
   shortfall), worse narrower down toward 1280px where the column wraps
   more. Given max(720px, ...vw) with the same 720px floor already used by
   #quote_box_4 .quote_box below, for consistency and because it's already
   confirmed safe for this same 14-testimonial content elsewhere on the
   site - re-verified against all 14 entries at 1280/1440/1920px with this
   floor, no clipping. */
/* A `body.page-id-737 .quote_box` companion selector stood here from 1 Sept to
   2 Sept 2026, because dev's post 737 then rendered fourteen separate flexible
   quote_box modules (quote_box_2 .. quote_box_15) with no .quote_box__list
   wrapper at all, so this rule matched nothing and the page fell through to
   .quote_box { height: 41.54167vw } = 665px, 55px short per block, fourteen
   times over. SW-12 rebuilt the page onto the quote_box_list module, so the
   class selector now matches all fourteen and the page guard was removed as
   redundant (it selected exactly the same fourteen elements). Note the <1280px
   height:auto fallback below is deliberate and this min-width guard is what
   preserves it - do not lift these declarations out of the media query. */
@media (min-width: 1280px) {
  .quote_box__list .quote_box {
    padding: 3.85417vw 0;
    height: max(720px, 35.41667vw);
  }
}

@media (max-width: 1279px) {
  .quote_box {
    height: auto;
  }
}

/* Homepage testimonial carousel (#quote_box_4): fluid padding + height at
   EVERY width, not just >=1280px like .quote_box__list above - reduced to
   just 2 curated testimonials (testimonials-loader.js's slice(0,2) of the
   14-item master list), so the length-variance problem that keeps the
   14-item list on a conservative auto-below-1280 fallback doesn't apply
   here. Own padding (3.85417vw, same rate as the list above) replaces
   site.css's fixed 161px/51px mobile default, since a flat mobile padding
   would eat into the smaller box's content room for no reason.

   height uses max() instead of a single vw rate (or the site's usual
   frozen-below/vw-above breakpoint split) because this box's actual
   content-height need isn't monotonic with viewport width: text reflows
   to more lines as the column narrows (site's fluid type scale is frozen
   below 1920px, so font-size stops shrinking there but the column keeps
   narrowing), while the vw-scaled box itself keeps shrinking - so a plain
   vw rate that's sized correctly at 1920px (giving the approved
   1147px -> 1000px total section height, i.e. 850px of quote_box's own
   997px -> 850px) is already too small to fit the same content by 1024-
   1279px. Measured this component's actual natural (unclipped) height at
   375/768/1024/1279/1440/1920/2560px with this same padding applied: the
   highest need in the range where the vw rate alone would be too small is
   672px (at 1279px) - 720px is used as a flat floor with margin at every
   width below the crossover, then the vw rate takes over and scales
   unbounded above it, continuous the whole way, no breakpoint jump.

   Selector widened from #quote_box_4 to a bare .quote_box (1 Sep 2026). The old
   selector's premise - that every single-testimonial instance site-wide shares
   a static id="quote_box_4" - is true of the STAGING EXPORT but false on dev,
   where singular.php emits a per-page ordinal: quote_box_5 on /events/,
   quote_box_7 on /explore/, quote_box_8 on /events-exhibitions/. Those pages
   missed this rule entirely and rendered ~55px short.

   The id is matched on NOT AT ALL rather than by prefix, because the two sites
   nest it differently and no id-based selector can cover both:

     staging  div#quote_box_4.section_4.section-quote_box > section.quote_box__sec > div.quote_box
     dev      section.quote_box__sec > div#quote_box_4.quote_box

   On dev's ACF-block homepage the id was hand-patched onto the .quote_box div
   ITSELF, so it has no descendant .quote_box and any "[id] .quote_box"
   descendant selector - including the old #quote_box_4 one - misses the
   homepage entirely. The id carries no information the class doesn't; drop it.

   /testimonials/ (post 737) stays excluded, but NOT for the reason the earlier
   version of this comment gave. It is excluded because this rule applies at
   every width, and the @media (max-width: 1279px) { .quote_box { height: auto } }
   fallback above it is deliberately kept for the 14-item list (see that rule's
   comment: too much length variance for one fixed mobile height). A bare
   .quote_box here is (0,1,0), the same specificity as that fallback but later
   in the file, so it would silently win below 1280px and reintroduce the
   clipping that fallback exists to prevent. The old #quote_box_4 selector was
   (1,1,0) and outranked it at every width, which is what let it be unscoped
   safely; dropping the id means the page guard has to carry that instead.

   Staging's post 737 gets its desktop height from .quote_box__list .quote_box
   at >=1280px, which dev cannot match (dev's post 737 renders fourteen separate
   quote_box modules with no .quote_box__list wrapper), so it was falling back
   to .quote_box { height: 41.54167vw } = 665px against staging's 720px. Fixed
   by adding body.page-id-737 to that >=1280px rule rather than by unscoping
   this one - that reproduces staging on both breakpoints instead of trading a
   desktop bug for a mobile one.

   1920px value requested down 20% (850px -> 680px, i.e. 35.41667vw) - but
   680px is BELOW the 720px floor above, which is independently set by the
   672px content-fit measurement, not by the 1920px value, and wasn't part
   of this request. Left the floor at 720px rather than scaling it down
   too (which would reopen the exact text-clipping problem it was added to
   prevent, since the underlying copy/font-size here hasn't changed) - so
   this rule's actual rendered height is max(720px, 35.41667vw), meaning
   the visible result at 1920px is 720px (-15.3% from 850px, not the full
   -20%) up to a crossover around 2033px, above which the vw rate takes
   back over and keeps scaling unbounded as before. The other two
   .quote_box height rules above/below aren't floor-constrained and do get
   the full -20%. */
body:not(.page-id-737) .quote_box {
  padding: 3.85417vw 0;
  height: max(720px, 35.41667vw);
}

/* ==========================================================================
   Quote box: single-column layout (headline -> copy -> attribution -> CTA),
   replacing the old block plus large corner quote-mark decorations.
   Everything in the stack is left-aligned within .quote_box__inner.

   Old decorations removed: site.css draws two big quote-mark glyphs as
   .quote_box:before/:after background-images (icon-quote-left.svg top-left,
   icon-quote-right.svg bottom-right, at ~300-480px) - a different
   decorative language than the icon treatment used now, so both are
   hidden. (Both source files have since been deleted from dist/images -
   only the display:none override lives on here.)

   New icon: uses dist/images/icon-quote.svg (native 107x87, a dedicated
   small closing-quote glyph - distinct from the two large corner assets
   above, and confirmed by rendering it directly to be the same "99"-style
   mark shown in the reference). Sized to 260x213 at the 1920px baseline
   (260/1920=13.54167vw, 213/1920=11.09375vw), matching the asset's own
   native 107:87 aspect ratio so it doesn't distort.

   The icon sits BEHIND the headline text, overlapping its top-left corner
   (per the reference), rather than taking its own space above it - so
   it's attached as .quote_box__heading:before instead of living on
   .quote_box__inner. Position offsets (top:-5vw; left:-10vw, i.e. -96px/
   -192px at baseline) are relative to the heading's own box, not the
   container - the heading already recenters vertically along with
   everything else via .quote_box__inner's flex centering (different
   testimonials produce different total stack heights), so anchoring the
   icon to .quote_box__inner directly with a fixed offset would drift out
   of alignment with the heading text on shorter/taller instances; anchoring
   to the heading itself means the icon always moves together with it.
   z-index:-1 paints it behind .quote_box__heading's own static in-flow
   text content (negative z-index descendants paint before/behind normal
   in-flow content within the same stacking context - .quote_box__heading
   needs position:relative for that z-index to take effect at all, with no
   top/left of its own so it doesn't otherwise move). The heading's own
   text color is opaque solid black, so legibility is unaffected regardless
   of how much of the icon it overlaps. It's pure decoration (content:"",
   no text) - already outside the accessibility tree and non-interactive by
   default, no extra ARIA needed.

   Layout: .quote_box__inner already gets margin:0 auto and a max-width
   from the shared .container class, so it's already horizontally centered
   between the corner artwork - align-items isn't set here (defaults to
   stretch), so the heading/copy/attribution/CTA each stretch to that full
   width and left-align via text-align. height:100% + justify-content:center
   centers the stack vertically within .quote_box's own fixed height (falls
   back to normal flow when .quote_box's height reverts to auto below
   1279px, since a percentage height against an auto-height parent
   computes as auto too).
   ========================================================================== */
.quote_box:before,
.quote_box:after {
  display: none;
}

/* max-width set to 996px at the 1920 baseline (996/1920 = 51.875vw),
   fixed 996px below 1279px to mirror site.css's own fluid/fixed
   switchover. */
.quote_box__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  max-width: 51.875vw;
}

@media (max-width: 1279px) {
  .quote_box__inner {
    max-width: 996px;
  }
}

/* Mobile: center the text stack (heading, copy, attribution, CTA) instead
   of left-aligning it. Scoped to .quote_box__inner only, so the Pig/Wolf
   corner illustrations (.quote_box__shape--top-right/--bottom-left,
   absolutely positioned against .quote_box itself, entirely independent of
   this flex column) are untouched - text-align has no effect on an
   absolutely positioned sibling's own top/right/bottom/left offsets.
   .quote_box__btn shares .ic__btn, which is display:flex (site.css) - a
   flex container's own children ignore text-align for their main-axis
   position, so it needs justify-content:center in addition to inherit the
   same centered look as the rest of the stack. */
@media (max-width: 1279px) {
  .quote_box__inner {
    text-align: center;
  }

  .quote_box__btn {
    justify-content: center;
  }
}

.quote_box__heading {
  position: relative;
}

/* Icon reduced 20% from 13.54167vw/11.09375vw (260x213 @1920) to
   10.83333vw/8.875vw (208x170.4 @1920), applied to the formula's rate
   itself rather than re-anchoring to a different reference width - so
   every width in this rule's active range (>=1280px, matching
   .quote_box__quote-icon's own breakpoint below) shrinks by the same
   20%, including the actual current value at 1440px (195x159.75 ->
   156x127.8), not just the 1920px endpoint. The <=1279px mobile size
   (.quote_box__heading:before's own flat override further below, and
   .quote_box__quote-icon's unconditional base rule) is intentionally
   left untouched - a separate, already-distinct mobile treatment.

   Position regression from that reduction, now fixed: top/left here used
   to place the icon's own top-left CORNER at a fixed offset from the
   heading (top:-5vw; left:-10vw), so shrinking width/height while
   leaving that corner planted in place pulled the icon's far (bottom-
   right) edge back out of the heading text instead of scaling in place -
   a smaller box anchored at the same corner covers less area, not the
   same area centered differently. Switched to anchoring the icon's
   CENTER instead of its corner (top/left now target the center point,
   offset back by half the box's own size via transform), which is
   inherently size-independent: solved for the center point that
   reproduces the exact old top:-5vw/left:-10vw corner position at the
   OLD 13.54167vw/11.09375vw size (center = old offset + old size/2 =
   -3.22917vw, 0.54688vw), so the icon lands exactly where it did before
   the resize, and any future resize only needs a width/height change -
   the center stays put automatically without recalculating an offset. */
.quote_box__heading:before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  top: 0.54688vw;
  left: -3.22917vw;
  transform: translate(-50%, -50%);
  width: 10.83333vw;
  height: 8.875vw;
  background-image: url(../../dist/images/icon-quote.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Mobile: the desktop offset (top:-5vw; left:-10vw) is relative to the
   heading's own box, which stretches to the full width of .quote_box__inner
   at every width - on a narrow phone viewport that shifted the icon mostly
   off the left edge of the screen instead of just tucking behind the
   text's top-left corner like it does at desktop widths. Repositioned
   above the heading instead, centered horizontally within the heading's
   own box (left:50% + translateX(-50%)) rather than overlapping it -
   .quote_box's own 161px top padding (site.css, unchanged) comfortably
   fits the icon's height plus a gap above the heading, so nothing clips
   against .quote_box's overflow:hidden.
   z-index corrected to sit ABOVE .quote_box__bg here (unlike the desktop
   rule above, which keeps z-index:-1 deliberately, tucking the icon behind
   the headline as a subtle overlap): .quote_box__bg is itself
   position:absolute covering the full component, so a -1 icon rendered
   completely invisible behind it once repositioned off the text - it was
   never actually visible on mobile despite otherwise-correct centering. */
@media (max-width: 1279px) {
  .quote_box__heading:before {
    top: -85px;
    left: 50%;
    width: 90px;
    height: 73px;
    transform: translateX(-50%);
    z-index: 2;
  }
}

/* .quote_box__description already gets margin:0 2.60417vw 0 0 from site.css
   (reserving space for the old top-right corner glyph) - centered text
   doesn't need that lopsided margin. */
.quote_box__description {
  margin: 0;
}

/* Same two-instance component as above (homepage carousel + testimonials
   page list): remove the section's own bottom padding (site.css's shared
   .module padding, 7.8125vw desktop / 50px / 60px at the two mobile
   breakpoints). Not the reusable .quote_box__sec class generally, since
   the other 10 quote_box instances site-wide keep the default spacing. */
/* Selector widened from #quote_box_4 for the same reason as the height rule
   above: on staging every instance shares id="quote_box_4" so this DID hit all
   of them, which is why the comment above contradicts itself. On dev the id is
   a per-page ordinal, so it hit only ordinal-4 pages - and on the homepage it
   never matched at all, since the id sits on .quote_box rather than a wrapper
   (see the height rule's comment). Matching on the class restores staging's
   actual behaviour on both nestings. No page-737 exclusion here - on staging
   the testimonials list gets padding-bottom:0 too, so the old second selector
   is now redundant.

   .module is kept in the selector purely for specificity. This rule exists to
   beat the shared .module section padding, and that padding is re-declared
   LATER in this file (.module, ~line 3110) as well as in site.css. A bare
   .quote_box__sec is (0,1,0) - a tie with .module that loses on source order,
   which measured as 66.67px bottom padding on dev's homepage against staging's
   0. The old id selectors were (1,1,0)/(0,2,1) and won by accident of the id.
   .quote_box__sec.module is (0,2,0) and wins on specificity at any source
   position. Every instance carries both classes (<section class="module
   quote_box__sec">, verified on the homepage, /events/, /guided-museum-tour/
   and all 14 blocks of /testimonials/); an instance without .module would have
   no .module padding to override, so missing it is correct there. */
.quote_box__sec.module {
  padding-bottom: 0;
}

/* ==========================================================================
   Homepage testimonial: redesigned as a slick-powered slider cycling
   through several reviews, instead of one static quote. Reuses the site's
   existing slick.js setup, the same custom arrow buttons
   (.slider__controls-arrow-button, borrowed from the "Explore the Museum"
   card slider) and the same dot styling (.slider__controls-dots) used
   elsewhere on the site, so no new visual language is introduced - just
   a new instance of an existing pattern, scoped to the homepage's own
   quote_box_4 instance. The other 23 quote_box instances site-wide stay
   single-testimonial, unchanged.
   ========================================================================== */

/* Before slick initialises (or if JS fails), only the first slide is
   meant to show - site.css's own .slick-slide{display:none} only takes
   over once slick adds .slick-initialized, so without this every slide
   would render stacked on top of each other in the meantime. */
.quote_box__slider:not(.slick-initialized) .quote_box__slide + .quote_box__slide {
  display: none;
}

/* site.css forces .slick-track{display:flex!important} unconditionally
   (written for the variableWidth card slider elsewhere on the site) - as
   a flex item, .slick-slide's default min-width:auto means it can't
   shrink narrower than its own content's natural width. This slider
   isn't variableWidth (every slide should just fill the box, one at a
   time), but on a narrow viewport an unwrapped heading (e.g. "Brilliant
   and Worth Doing!" in the all-caps H2 headline font) is wider than the
   box, so the flex item - and the whole slide - was overflowing off the
   right edge instead of wrapping. min-width:0 lets it shrink to the
   track's actual width so its text wraps normally again; width:100%
   keeps it filling that width instead of collapsing to content size. */
.quote_box__slider .slick-slide {
  min-width: 0;
  width: 100%;
}

/* Slide switching was top-anchored instead of using the whole box: with
   fade transitions and no adaptiveHeight, .slick-list/.slick-track/
   .slick-slide only take on the height of their in-flow content
   (whichever slide is currently "live" in normal flow), which varies a
   lot between the 4 testimonials (the longest is over twice the
   shortest). site.css's own height:100%/inherit rules for these three
   elements exist, but are scoped to other components (.slider
   .slick-track/.slick-slide for the card slider, .ic__img__slider
   .slick-list/.slick-track for the gallery) and never reach this one, so
   the full 100% chain needs setting out again here. Shorter slides ended
   up pinned to the top of the leftover space rather than centered in it,
   and the whole box visually reflowed slide to slide.
   flex:1 lets .quote_box__slider claim all the vertical space
   .quote_box__inner (a centered flex column) isn't using for the
   "More Testimonials" link/arrows/dots, so it consistently fills the box
   regardless of which slide is active. Each .quote_box__slide is then
   its own flex column, centering its own heading/copy/attribution within
   that same fixed height every time, instead of drifting with content
   length. */
.quote_box__slider {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote_box__slider .slick-list,
.quote_box__slider .slick-track {
  height: 100%;
  width: 100%;
}

.quote_box__slide {
  height: 100%;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
}

/* Every quote_box carousel instance (id="quote_box_4" is reused as-is on
   every page's copy of this shared component - 24 instances, not just the
   homepage, since the "unify testimonial component" pass made them all
   identical) has the same problem: the shared .quote_box__heading:before
   icon looks right on the dedicated testimonials page's plain list
   (.quote_box__list - a set of plain .quote_box elements, never
   slick-initialized, so nothing clips there), but gets clipped on every
   carousel instance - not by .quote_box's own overflow:hidden (checked -
   plenty of buffer), but by Slick's own .slick-list{overflow:hidden}
   (site.css/slick base styles), which wraps every carousel instance's
   slides. Anything poking outside a slide via a heading-relative negative
   offset gets clipped by that carousel viewport - no z-index value can
   escape a clipping ancestor, unlike a stacking-order problem, so this
   needs a different element entirely rather than a z-index fix.
   (This used to only disable the icon at >=1280px, on the assumption only
   the homepage was ever a carousel and every other instance used the
   plain-list path unclipped - both parts of that assumption turned out to
   be wrong: every instance is a carousel now, and clipping happens at
   every width, not just desktop, so the icon was invisible on mobile too
   despite otherwise-correct centering.)

   Fix: hide the shared heading-relative icon on every carousel instance,
   at every width, and use a standalone .quote_box__quote-icon element
   instead (HTML), a sibling of .quote_box__slider inside
   .quote_box__slider-wrap - not a child of .quote_box__slider itself,
   since slick.js treats every direct child of the slider element as a
   slide and would break the carousel, and crucially OUTSIDE the
   .slick-list Slick wraps around .quote_box__slider, so it's never
   subject to that clip. Sized/positioned to match the shared
   .quote_box__heading:before rule exactly at both the desktop offset
   (13.54167vw x 11.09375vw; top:-5vw;left:-10vw) and the mobile,
   centered-above-title offset (90px x 73px; top:-85px;left:50%;
   translateX(-50%)) - here relative to .quote_box__slider-wrap instead of
   the heading, since .quote_box__slider-wrap's own top-left corner already
   tracks the heading's (the heading is the first content in whichever
   slide is active), without the per-slide drift risk of anchoring to the
   heading directly. */
/* Selector widened from #quote_box_4 to match the intent this rule's own
   comment above already states ("Every quote_box carousel instance ... 24
   instances, not just the homepage"). That intent held on staging, where the id
   is shared; on dev's per-page ordinals it silently applied to ordinal-4 pages
   only, and never to the homepage (the id sits on .quote_box itself there - see
   the height rule's comment). Matched on class alone so it covers both
   nestings.

   Post 737 IS excluded here, unlike the height rule. Measured live staging:
   getComputedStyle(.quote_box__heading, ':before').display is "none" on the
   homepage, venue-hire, education, guided-museum-tour, weddings and explore,
   but "block" on all fourteen headings of /testimonials/ - staging keeps the
   decoration on the flat list. Staging gets that for free because its list
   wrapper is id="quote_box_list", which the old #quote_box_4 selector missed;
   a bare .quote_box__heading:before would hide it and diverge on 14 blocks.
   An earlier prefix-matched version of this rule shipped to dev and did
   exactly that ([id^="quote_box_"] matches "quote_box_list" too). */
body:not(.page-id-737) .quote_box__heading:before {
  display: none;
}

.quote_box__slider-wrap {
  position: relative;
}

.quote_box__quote-icon {
  display: block;
  position: absolute;
  top: -85px;
  left: 50%;
  width: 90px;
  height: 73px;
  transform: translateX(-50%);
  background-image: url(../../dist/images/icon-quote.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: -1; /* behind the heading text (matches the desktop treatment
                  and the plain-list page's .quote_box__heading:before,
                  both z-index:-1) rather than in front of it - a positive
                  z-index here was covering the title's own text on mobile,
                  where the icon sits directly above/overlapping it (unlike
                  desktop's offset placement). Still renders above
                  .quote_box__bg despite being negative: .quote_box__inner
                  (this element's ancestor) has its own z-index:3, which
                  elevates its entire subtree - including any negative
                  z-index descendants inside it - above .quote_box__bg's
                  z-index:0 as a group; the negative value here only
                  affects ordering relative to other content inside that
                  same subtree (i.e. the heading text). */
}

/* Kept in sync with .quote_box__heading:before's own -20% reduction and
   center-anchored position fix above (same 10.83333vw/8.875vw size,
   same 0.54688vw/-3.22917vw center point via translate(-50%,-50%)) -
   this is the rule that actually renders on every carousel instance
   site-wide, since .quote_box__heading:before is display:none'd on all
   of them (see #quote_box_4 .quote_box__heading:before above). The
   <=1279px base rule above this media query (90x73px, its own
   translateX(-50%) horizontal-only centering) is intentionally left
   untouched, matching the same mobile-unaffected decision made for
   .quote_box__heading:before. */
@media (min-width: 1280px) {
  .quote_box__quote-icon {
    top: 0.54688vw;
    left: -3.22917vw;
    width: 10.83333vw;
    height: 8.875vw;
    transform: translate(-50%, -50%);
  }
}

/* Rotated 90deg clockwise so the shared left/right arrow SVGs (borrowed
   from the horizontal card slider) point up/down instead - prev (left)
   becomes up, next (right) becomes down - matching the vertical stack
   look (arrow / dots / arrow) requested for this slider only. */
.quote_box__controls-arrow {
  position: absolute;
  right: 2.34375vw;
  top: 50%;
  transform: translateY(-50%);
  width: 2.65625vw; /* matches the arrow button's own width so this box's
                        center lines up with .quote_box__controls-dots'
                        identical width/right below, regardless of the
                        dots' own narrower content */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7.29167vw; /* leaves room for the 4-dot stack centered in the middle */
  z-index: 10;
}

.quote_box__controls-arrow .slider__controls-arrow-button {
  margin: 0;
  background-color: transparent;
  border: 0;
}

.quote_box__controls-arrow svg {
  transform: rotate(90deg);
}

/* Keep the arrow icon black at all times - site.css's own hover state
   (.slider__controls-arrow-button:hover svg path/circle) turns it solid
   brand yellow, which at this icon's size/rotation reads as a yellow
   block rather than a crisp arrow, not an actual button background. */
.quote_box__controls-arrow .slider__controls-arrow-button:hover svg path {
  fill: #17252f;
}

.quote_box__controls-arrow .slider__controls-arrow-button:hover svg circle {
  stroke: #17252f;
  fill: none;
}

@media (max-width: 1279px) {
  .quote_box__controls-arrow {
    /* position:relative, NOT static: .quote_box__bg and the Pig/Wolf shape
       images stay position:absolute at every breakpoint, and an absolutely
       positioned sibling always paints above plain static content
       regardless of z-index (z-index only takes effect on a positioned
       element) - a static .quote_box__controls-arrow was being completely
       hidden behind .quote_box__bg here, even though it still had valid
       layout dimensions. relative keeps this in normal document flow
       (same layout behavior as static) while re-enabling the z-index:10
       already set above, so it renders above the background again. */
    position: relative;
    transform: none;
    width: auto;
    flex-direction: row;
    margin-top: 20px;
    justify-content: center;
    gap: 20px;
  }

  .quote_box__controls-arrow svg {
    transform: none;
  }
}

/* Freeze at the 1920px design baseline instead of continuing to scale on
   ultra-wide screens (2560px+): these vw values have no natural upper
   bound, and past the site's own intended max width, unbounded vw growth
   on small pixel-precise UI (a 51px icon, a 45px offset) is exactly the
   kind of thing that produces visible sub-pixel rounding drift between
   this and the separately-scaled .quote_box__controls-dots below, even
   though both compute to identical values at every width up to 1920px. */
@media (min-width: 1920px) {
  .quote_box__controls-arrow {
    right: 45px;
    width: 51px;
    gap: 140px;
  }

  .quote_box__controls-arrow .slider__controls-arrow-button {
    width: 51px;
    height: 51px;
  }
}

/* Dots: reuses .slider__controls-dots's existing dot/active-state styling
   wholesale (site.css), just repositioned to the box's right edge per the
   reference and stacked vertically instead of its default horizontal row.
   Positioned against .quote_box itself - the same positioning context
   Pig/Wolf already use - so it's independent of the copy column's own
   max-width/flex layout. Below the 1279px fluid/fixed switchover, the
   copy column already centers itself and there isn't enough width to
   spare down the right edge, so the dots drop into normal flow instead:
   a plain centered row under the arrows. */
.quote_box {
  position: relative;
}

.quote_box__controls-dots {
  position: absolute;
  top: 50%;
  right: 2.34375vw;
  transform: translateY(-50%);
  width: 2.65625vw; /* same width as .quote_box__controls-arrow above, so
                        both boxes share one center line instead of each
                        centering around its own, differently-sized content */
  padding: 0;
  z-index: 10;
}

.quote_box__controls-dots .slick-dots {
  position: static; /* site.css's own .slick-dots is absolute (left/bottom,
                        meant for the card slider) - unset so it sits in
                        normal flow, centered by the parent div above */
  left: auto;
  bottom: auto;
  flex-direction: column;
  align-items: center;
}

.quote_box__controls-dots .slick-dots li {
  margin: 0.41667vw 0;
}

@media (max-width: 1279px) {
  .quote_box__controls-dots {
    /* relative, not static - same reason as .quote_box__controls-arrow
       above: static would lose the z-index:10 set on the base rule and
       get hidden behind .quote_box__bg/the Pig/Wolf shapes, which stay
       position:absolute at every breakpoint. */
    position: relative;
    transform: none;
    width: auto;
    margin-top: 15px;
  }

  .quote_box__controls-dots .slick-dots {
    flex-direction: row;
    justify-content: center;
  }

  .quote_box__controls-dots .slick-dots li {
    margin: 0 8px;
  }
}

/* Same freeze as .quote_box__controls-arrow above, at the same 1920px
   baseline - keeps this box's width/right offset an exact pixel match to
   the arrow's above past that point, rather than two independently
   vw-scaled values that only coincide by calculation, not by sharing a
   single fixed value. */
@media (min-width: 1920px) {
  .quote_box__controls-dots {
    right: 45px;
    width: 51px;
  }

  .quote_box__controls-dots .slick-dots li {
    margin: 8px 0;
  }
}

/* ==========================================================================
   Homepage hero: undo the parent theme's slick fade-in gate
   style.css hides .hero by default (opacity:0; visibility:hidden) and only
   reveals it via ".section-hero > .hero.slick-initialized" — a class that
   slick.js used to add once it finished initialising the carousel. Now that
   slick is gone, nothing ever adds that class, so the whole hero (video,
   copy, and the toggle button) stays invisible forever. Reveal it
   unconditionally instead; this rule loads after style.css so it wins the
   cascade at equal specificity.
   ========================================================================== */
.section-hero > .hero {
  opacity: 1;
  visibility: visible;
}

/* The GRANDPARENT theme's own style.css (loaded before site.css and this
   file) separately caps .section-hero > .hero at max-height:480px at
   <=767px and max-height:560px at <=1279px - a leftover slick-carousel
   assumption from the same adaptiveHeight-era design .hero__item's height
   fix above already explains, just one level higher up the tree. With
   slick gone, nothing ever needed that cap to stay at exactly the video's
   own height, but the copy block now stacked below the video (a
   normal-flow, content-sized yellow block) still overflowed past it,
   invisible until whatever section came next painted over the tail end.
   Same fix, same reason, one level up: let it size to its actual content
   instead.
   The <=1279px tier specifically also has to go for the .hero__item__copy
   min-height fix (the "feature block" formula further up this file) to
   actually take visible effect at all: without this, .hero__item itself
   correctly grows taller to match a longer copy block, but this ancestor
   still capped the whole section at the old flat 560px, so the extra
   content rendered (overflow:visible, nothing clipped) but past this
   section's own box - invisible until the next section's background
   painted over it, same failure mode as the mobile case below.
   1280px, not the usual sitewide 1279px convention: style.css's own
   breakpoint for this specific rule is max-width:1280px (inclusive),
   one pixel wider than the rest of the codebase's convention - matching
   it exactly here, or the cap would still silently win at exactly
   1280px, one pixel outside a max-width:1279px override. */
@media (max-width: 1280px) {
  .section-hero > .hero {
    max-height: none;
  }
}

/* ==========================================================================
   Homepage hero: single autoplaying video + pause/play toggle
   The hero carousel was reduced to a single slide, and its background image
   swapped for a native <video>. It shares .hero__item__img so it already
   inherits the existing cover/positioning rules; this just guards against
   the browser's default inline display for <video>.

   .hero__item is position:relative but was never given an explicit height —
   it just sized itself to its content. slick.js used to silently patch in a
   computed pixel height as part of its own init (adaptiveHeight), which is
   what let .hero__item__img__wrapper's height:100% (and thus the video's)
   actually resolve to something. CSS percentage heights only resolve against
   an ancestor with an explicit height, not one merely sized by content — so
   with slick gone, that 100% collapsed to nothing, taking the absolutely
   positioned video AND the absolutely positioned toggle button with it.
   Fixing it here with plain CSS, no JS/library involved, using the same
   values the text overlay already uses at each breakpoint so it stays
   pixel-consistent with the existing design.
   ========================================================================== */
/* WCAG 1.4.12 FIX (task 27694852): converted from fixed `height` to
   `min-height`. The fixed value capped the hero section at ~1050px at 1920,
   so when Steve Faulkner's text-spacing bookmarklet grew the copy block
   past its own min-height, the copy container expanded but the hero
   section didn't - content spilled past the bottom edge and the next
   section (info-strip) painted over it. Same reasoning and same change
   as the <=1279px tier below already applies. The video wrapper's
   `height: 100%` still resolves against this (modern browsers resolve
   percentage heights against min-height computed values). */
.hero__item {
  min-height: 54.6875vw;
}

/* SECOND ROUND FIX: this was a hard, flat 560px height (not min-height)
   for the entire <=1279px range - a completely separate, independent
   copy of the exact same value as .hero__item__copy's own min-height
   fix above, coincidentally matching only because they both trace back
   to the same original 54.6875vw/560px numbers. Fixing .hero__item__copy
   alone (letting the copy content grow taller when needed) did nothing
   here, since THIS box's height is hard-capped regardless of its
   content's own height - the copy block just overflowed past .hero__item
   own boundary once it grew past 560px. Same continuous formula as the
   copy box fix (they need to move together exactly, so they use the
   identical numbers), switched from height to min-height so it can also
   grow to match copy on any future width/copy-length combination instead
   of silently capping again. */
@media (max-width: 1279px) {
  .hero__item {
    min-height: max(560px, calc(27.2905vw + 350.7px));
  }
}

/* At <=767px specifically, site.css switches .hero__item__img__wrapper to
   position:inherit;height:480px (a literal px value, not a percentage) and
   .hero__item__copy to a solid-yellow, normal-flow block stacked below it
   (rather than absolutely overlaid on the video like at wider widths) - so
   .hero__item no longer needs an explicit height for the video wrapper's
   sake at all. Forcing one anyway (the 480px above, inherited from the
   1279px rule if left unset) hard-capped the WHOLE .hero__item box at
   exactly the video's own height, so the copy block stacked after it had
   nowhere to go: it kept rendering (overflow is visible, never clipped),
   but past the box's own bottom edge - which is also where .hero__item's
   height ends and the NEXT section begins, so that section's own
   background painted straight over the tail end of the copy block with no
   gap. Reverting to auto here lets .hero__item grow to fit both the video
   area and the copy block stacked beneath it, so whatever comes after gets
   pushed down to the correct place. */
@media (max-width: 767px) {
  .hero__item {
    height: auto;
  }
}

/* Mobile video wrapper: reduced 50% from site.css's own fixed 480px to
   240px, then increased 25% from that 240px to 300px - now expressed via
   the shared --mobile-banner-img-height variable (see :root above) so it
   stays unified with .page-banner__img__wrapper's own mobile height
   further below instead of drifting apart again. Independent of
   .hero__item__copy's own min-height fix below - verified they don't
   interact: .hero__item is height:auto here (see above), so it's simply
   the sum of this wrapper's height plus the copy block's own height,
   stacked in normal flow. Changing this wrapper only resizes the video
   area and the overall hero section with it; it has no effect on the
   copy block's internal layout or the gap fixed below, which is entirely
   caused by that block's own oversized min-height, not by anything
   above it. .hero__video-toggle's own mobile offset (further below) is
   calculated from this same height and must move together with it. */
@media (max-width: 767px) {
  .hero__item__img__wrapper {
    height: var(--mobile-banner-img-height);
  }
}

/* Inner-page banner image wrapper (What's On, Explore, etc.): site.css's
   own fixed 345px unified with the homepage hero's own mobile height
   above via the same --mobile-banner-img-height variable, so the two
   feel consistent in scale on mobile instead of the hero being
   noticeably shorter after this session's reductions while every other
   page's banner stayed at its original size. */
@media (max-width: 767px) {
  .page-banner__img__wrapper {
    height: var(--mobile-banner-img-height);
  }
}

.hero__item__video {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Homepage hero copy block (mobile): site.css's own mobile padding is
   30px 15px 77px - top and bottom don't match, leaving noticeably more
   room under the CTA button than above the heading. Tightened to match
   the 30px top, rather than stretching the top to meet the bottom. */
@media (max-width: 767px) {
  .hero__item__copy {
    padding-bottom: 30px;
  }
}


/* Homepage hero copy container: site.css sets this to 41.66667vw (800px
   at the 1920 baseline) - narrowed to 750px (39.0625vw). Scoped to
   min-width:1280px so it doesn't clobber site.css's own <=1279px (440px,
   a different fixed tablet width) or <=767px (full-width, stacked below
   the video) breakpoints, which stay untouched. */
@media (min-width: 1280px) {
  .hero__item__copy {
    max-width: 39.0625vw;
  }
}

/* WCAG 1.4.12 FIX (task 27694852): reserve clearance at the top of the
   copy block so content pushed up by Steve Faulkner's text-spacing
   bookmarklet (line-height:1.5, letter-spacing:0.12em, word-spacing:0.16em,
   p margin-bottom:2em) stays below the absolutely-positioned header.
   The header overlays the top ~115px of the hero (logo bottom at ~170px,
   hero top at ~55px); 150px gives a safe ~35px buffer at 1920.
   At rest, `justify-content: flex-end` plus the large padding-bottom
   (8.38542vw) keep the content bottom-anchored exactly where it is today,
   so this only has a visible effect once content grows beyond the
   flex-end buffer. Scoped to >=768px because the mobile layout stacks
   copy below the video (no header overlap possible). */
@media (min-width: 768px) {
  .hero__item__copy {
    padding-top: 150px;
  }
}

/* Hero copy box's min-height (site.css: 54.6875vw unconditionally,
   frozen flat at 560px for the whole <=1279px range) has the exact same
   "flat plateau" bug as every font-size tier fixed elsewhere in this
   file, just applied to the box's own height instead. Content inside is
   bottom-anchored (site.css: justify-content:flex-end), so a shorter box
   directly means the title/copy/CTA/play-toggle sit closer to the top of
   the hero, with a big gap of bare image below them - worse the further
   below 1280px you go, since the box height (560px) stays perfectly flat
   there while the >=1280px box (vw-scaled, 700px right at 1280px) keeps
   growing smoothly above it, creating a real ~20% cliff right at the
   1280px boundary. Same two-point interpolation as everywhere else,
   calibrated to match this range's own two already-correct endpoints
   exactly - 700px at 1280px (the value the untouched >=1280px vw rate
   already gives there) and 560px at 767px (the original flat value,
   preserved as the floor) - so it's perfectly continuous with the
   >=1280px rule at the boundary and doesn't change anything there.
   slope = (700-560)/(1280-767) = 27.2905vw; intercept =
   560 - slope*767 = 350.7px. */
@media (max-width: 1279px) {
  .hero__item__copy {
    min-height: max(560px, calc(27.2905vw + 350.7px));
  }
}

/* Empty reserved space above the title on mobile: the <=1279px min-height
   rule just above (tuned for the 768-1279px tablet tier, where
   .hero__item__copy is absolutely overlaid on a much taller video) was
   left active all the way down to this stacked, full-width mobile layout
   too - but this box's own real content (heading + description + CTA)
   only ever needs ~375-405px including padding at true phone widths
   (measured 320/375/440/767px), well under the 560px floor that rule
   evaluates to across this whole range. Since the box is flex with
   justify-content:flex-end (bottom-anchored), that ~155-185px of unused
   height collects entirely ABOVE the content instead of being absorbed
   anywhere else - exactly the empty hatched region above "800 Years of
   History" in the reference screenshot.
   Fix: drop the min-height back to auto at this narrower tier, so the
   box (and the yellow background it draws) hugs its own content exactly
   at every mobile width instead of guessing a single flat number - zero
   gap everywhere in this range rather than an approximation that's only
   correct at one width. Placed after the <=1279px rule above (same
   specificity, later wins) so this correctly overrides it at <=767px
   without touching the 768-1279px tablet tier that formula was actually
   tuned for. */
@media (max-width: 767px) {
  .hero__item__copy {
    min-height: auto;
  }
}

/* Hero description text: the homepage's supporting line ("Make the
   Medieval Mile Museum...") switched from a <p> to an <h5> in the markup
   (h4 was tried first but read too large next to the heading above it).
   Every inner page's hero banner has the equivalent line
   (.page-banner__copy__description), still a plain <p> there - rather
   than keep two separate rules that could drift apart, both selectors
   share this one rule so a future style change to either applies to
   both. h5/p aren't part of the shared h3/h4 -> Macho Semibold rule
   above, so font-family is set explicitly here. letter-spacing on the
   homepage's h5 still comes for free from the shared h1-h6 rule further
   up (doesn't apply to the inner-page <p>, which was never part of that
   rule).
   Font-size matches the real h5-equivalent target (site.css's own
   .h5,h5: 1.66667vw desktop = 32px at 1920, then 30px/26px/24px at its
   <=1279px/991px/767px breakpoints) rather than either component's
   original, larger p-based size. White colour + shadow (for legibility
   over the hero image/video) and the mobile-only near-black override
   (once each hero switches to a solid background) are shared too.
   Margin/padding are intentionally NOT merged - each component's
   surrounding markup is different (the homepage hero needs margin:0/
   padding:0 to cancel the generic h5 rule's own spacing; the inner-page
   banner keeps site.css's original spacing under its h1). */
/* WCAG 1.3.1 / axe `heading-order` fix (task 27692569 scan): the hero
   tagline markup moved from <h5> to <p class="h5"> in block-hero.php. All
   four selectors below gained the `.h5` sibling so the typography follows
   either element — safe to drop the `h5` leg once every render path
   confirmed to use .h5 (currently module-hero.php still uses raw h5, but
   that file isn't the one serving the homepage block). */
.hero__item__copy__description h5,
.hero__item__copy__description .h5 {
  margin: 0 !important; /* !important needed to beat the bare h5{margin-bottom:60px!important}
                            rule added elsewhere for testimonial spacing - without it, that
                            unrelated rule leaks in here (via a plain h5 tag match) and adds
                            60px of dead space below this text, doubling the box's real height. */
  padding: 0;
}

.hero__item__copy__description h5,
.hero__item__copy__description .h5,
.page-banner__copy__description p {
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  font-family: "Macho Extra Bold";
  font-weight: 400;
  line-height: 1.25;
}

/* Same continuous two-point formula as the shared h5 rung above (32px@1920,
   24px@767, max() unbounded above 1920px) - previously its own copy of the
   flat 1279/991/767 ladder, which had the same "disproportionate at
   1024px" bug as every other tier fixed in that section. */
.hero__item__copy__description h5,
.hero__item__copy__description .h5,
.page-banner__copy__description p {
  font-size: max(24px, calc(0.69384vw + 18.678px));
}

@media (max-width: 767px) {
  .hero__item__copy__description h5,
  .hero__item__copy__description .h5,
  .page-banner__copy__description p {
    color: #161412 !important;
    text-shadow: none !important;
  }
}

/* Belt-and-suspenders: guarantee exactly one icon renders regardless of
   any leftover slick.js inline styles or specificity quirks. Task 27694860:
   `hidden` attribute is invalid on <svg>, so block-hero.php now toggles an
   .is-hidden class instead - the inline JS mirrors it in step with the video
   state. */
.hero__video-toggle__icon.is-hidden {
  display: none !important;
}

/* bottom aligns the toggle's own vertical CENTER with the "Book
   Tickets" CTA's vertical center, rather than the two floating at
   independent, visually disconnected heights (the toggle was
   positioned purely against .hero__item's own bottom edge, unrelated
   to where the CTA happens to land inside .hero__item__copy's
   flex-column/justify-content:flex-end layout).
   The formula tracks .hero__item__copy's own unconditional (unscoped)
   vw-based positioning of the CTA - NOT the ">=1920px scoped, frozen
   below" pattern used elsewhere in this file - because the CTA's
   underlying padding-bottom (site.css, 8.38542vw) and the .btn
   element's own margin-bottom (0.78125vw) and rendered height are
   ALL unconditional vw down to the same 1279px breakpoint, so
   matching that exact mechanic (not capping earlier) keeps the two
   elements aligned continuously across 1280-1920px+, not just at
   the endpoints:
     8.38542vw  - .hero__item__copy padding-bottom (CTA's own gap from hero's bottom edge)
   + 0.78125vw  - .btn's own margin-bottom (site.css)
   + 1.82250vw  - half the .btn's rendered height (measured 69.98px @1920 = 3.6450vw, halved)
   = 10.98917vw - the CTA's vertical center, measured as distance from hero's bottom edge
   minus 24px   - half the toggle's own FIXED 48px height (not vw-scaled, so this term stays a flat px, not vw)
   Verified against live getBoundingClientRect measurements at 1920px
   (predicted 186.99px, measured 186.99px) - see content-filter-style
   fixes elsewhere in this file for why fixed-vs-vw terms can't just be
   averaged/summed without calc(). */
.hero__video-toggle {
  position: absolute;
  right: 2.34375vw;
  bottom: calc(10.98917vw - 24px);
  z-index: 10; /* must sit above .hero__item .container (z-index:9), which
                  otherwise overlays the button and swallows every click */
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: #000;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* .hero__item__copy's padding-bottom (and .btn's own sizing) both
   switch from the unconditional vw rates above to flat frozen px
   values at this same 1279px breakpoint (site.css) - matching that
   here with a directly-measured frozen offset (rather than the calc()
   formula above, which only holds in the unconditional-vw zone)
   keeps the toggle aligned with the CTA's center through the whole
   1279px-767px range too. */
@media (max-width: 1279px) {
  .hero__video-toggle {
    bottom: 98.5px;
  }
}

.hero__video-toggle:hover {
  background-color: #F3B100;
  color: #161412;
}

/* Custom hero video-toggle focus ring removed — task 27694855. Native
   browser focus ring reinstated globally below (see outline: revert). */

.hero__video-toggle__icon {
  width: 20px;
  height: 20px;
}

/* .hero__video-toggle positions against .hero__item (its nearest
   positioned ancestor), which - now that .hero__item's mobile height is
   auto (see above) - grows tall enough to fit the yellow copy block
   stacked below the video. A bottom-anchored offset would follow that
   growth and drift down toward the copy block instead of staying on the
   video. The video area itself is now a fixed 300px (see
   .hero__item__img__wrapper above) starting at .hero__item's own top
   edge, so anchoring from the top instead (300 - 44 button - 16 gap =
   240px) keeps the button in exactly the same visual spot on the video
   regardless of how tall the copy block below it is. (This offset moves
   together with the wrapper's own height every time that changes - it
   was 420px against the original 480px video, then 180px against an
   interim 240px, now 240px against the current 300px - recalculating it
   here each time avoids the button drifting off the video and
   overlapping the copy block instead.) */
@media (max-width: 767px) {
  .hero__video-toggle {
    right: 16px;
    top: 240px;
    bottom: auto;
    width: 44px;
    height: 44px;
  }
}

/* ==========================================================================
   OneTrust cookie consent banner
   OneTrust injects its own <style> block at runtime (a remote theme config
   for this domain) using these exact same selectors, added to the DOM after
   this stylesheet loads. At equal specificity that makes it win on source
   order alone, so !important is required to override it, not just style.
   ========================================================================== */
#onetrust-consent-sdk #onetrust-banner-sdk {
  background-color: #000000 !important;
}

#onetrust-consent-sdk #onetrust-pc-btn-handler {
  color: #000000 !important;
  border-color: #ffffff !important;
  background-color: #ffffff !important;
}

#onetrust-consent-sdk #onetrust-accept-btn-handler {
  color: #000000 !important;
}

#onetrust-consent-sdk #onetrust-policy-text {
  color: #ffffff !important;
}

#onetrust-consent-sdk #onetrust-policy-title {
  color: #EAAC00 !important;
}

/* ==========================================================================
   "Explore the Museum" slider cards: full hover state (image -> full brand
   color, plus a revealed supporting-copy paragraph), not just the existing
   CTA-color hover. Applies to every .slider__slide-link.wine/.plum/.navy/
   .forest instance site-wide (index.html and education.html, 4 cards each).
   Scoped to these 4 named color variants only - deliberately excludes the
   plain `.slider__slide-link ` (no color class) blog-post cards, which are
   a different component (.ln__item context, always-visible description,
   date field, no copybg/card-shape) despite sharing some class names.

   How the existing markup already supports most of this:
   - .slider__slide__img (the photo wrapper) sits below .figcaption as a
     sibling flex item, sized only by an :after pseudo-element's
     padding-top:66.522% aspect-ratio trick - not a plain, transitionable
     height. Neutralized here (padding-top:0) in favour of an explicit,
     transitionable height matching that same visual size, so it can be
     animated down to 0 on hover.
   - figcaption is already flex:1 (grow) within the card's flex column, so
     as .slider__slide__img's height transitions toward 0, figcaption
     automatically (and smoothly, frame-by-frame) grows to fill the freed
     space - no extra height animation needed on figcaption itself.
   - figcaption already renders solid brand color behind its own content
     (.copybg, an existing but until-now-unused-on-hover element, already
     sits behind the heading/CTA with a matching per-variant color). Once
     the photo fades out and its wrapper collapses to 0, that same existing
     color reads as one continuous block for the whole card - no need to
     duplicate or relocate .copybg.
   - .btn-link__sec already has margin-top:auto, so it stays pinned to the
     bottom of figcaption as figcaption grows - no reposition needed.
   - .card-shape sizes itself to height:100% of figcaption, so it already
     scales along with figcaption's growth automatically.

   What's new: the photo fades out (opacity), its wrapper's height
   collapses, and a .slider__slide-description paragraph (new markup,
   hidden by default via max-height:0/opacity:0) reveals between the
   heading and the CTA. Colors match the same wine/plum/navy/forest hex
   values already used for .copybg's variants. */
/* Scoped to the 4 color variants, same as everything else in this section -
   these three were the actual bug: written as bare .slider__slide__img
   selectors despite the comment above declaring the whole effect scoped to
   color variants, so they leaked onto blog cards (.ln__item), which share
   this exact markup/classes with no color modifier. Blog cards got the
   same fixed-height/transition/opacity setup and, further down, the same
   :hover collapse-and-fade - a heavy animation with nothing to reveal,
   since blog cards' description is always visible already (unlike these
   cards, where it's hidden until hover). Scoping these three removes it
   from blog cards entirely, which fall back to site.css's own static
   aspect-ratio box (:after{padding-top:66.522%}) with no hover behavior. */
.slider__slide-link.wine .slider__slide__img,
.slider__slide-link.plum .slider__slide__img,
.slider__slide-link.navy .slider__slide__img,
.slider__slide-link.forest .slider__slide__img {
  height: 15.59109vw;
  overflow: hidden;
  transition: height 0.5s ease;
}

.slider__slide-link.wine .slider__slide__img:after,
.slider__slide-link.plum .slider__slide__img:after,
.slider__slide-link.navy .slider__slide__img:after,
.slider__slide-link.forest .slider__slide__img:after {
  padding-top: 0;
}

.slider__slide-link.wine .slider__slide__img img,
.slider__slide-link.plum .slider__slide__img img,
.slider__slide-link.navy .slider__slide__img img,
.slider__slide-link.forest .slider__slide__img img {
  transition: opacity 0.4s ease;
}

.slider__slide-link.wine .slider__slide__img {
  background-color: #781041;
}

.slider__slide-link.plum .slider__slide__img {
  background-color: #5A305E;
}

.slider__slide-link.navy .slider__slide__img {
  background-color: #013A57;
}

.slider__slide-link.forest .slider__slide__img {
  background-color: #203A1D;
}

/* margin-top:auto in the BASE state, not just on hover: auto isn't an
   interpolable value, so switching it between states made the copy block
   teleport on hover-exit (it snapped from bottom-anchored back to
   under-the-title while still visible, then faded). Keeping auto constant
   in both states means the only margin that ever changes is margin-bottom
   (0 <-> 50px), which transitions smoothly in both directions. The CTA's
   own site.css margin-top:auto is permanently zeroed for these cards
   (below) so the copy's auto margin is the single bottom-anchor in both
   states - in the default state the copy is 0-height/invisible, so the CTA
   sits in exactly the same bottom position as it always did. */
.slider__slide-description {
  position: relative;
  z-index: 2;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: auto 0 0;
  padding: 0;
  color: #ffffff;
  font-size: 0.9375vw;
  line-height: 1.6;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.5s ease;
}

/* The card copy <p> takes its font-size from the site-wide base <p>
   (20px at 1920), and line-height is pinned to 1.5 (= 30px) here to match
   the rest of the site copy AND to keep the 4-line clamp math consistent at
   every width (base <p>'s own line-height reverts to 1.75 below 1280px,
   which would otherwise make 4 lines taller than the container and clip).
   Default browser paragraph margin is zeroed (it stacked on top of the 50px
   copy->CTA gap). Clamped to exactly 4 lines: longer copy is truncated with
   an ellipsis, standardizing every card to the same 4-line block. */
.slider__slide-description p {
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.slider__slide-link.wine:hover .slider__slide__img,
.slider__slide-link.plum:hover .slider__slide__img,
.slider__slide-link.navy:hover .slider__slide__img,
.slider__slide-link.forest:hover .slider__slide__img {
  height: 0;
}

/* The CTA's site.css margin-top:auto is zeroed permanently (not just on
   hover) for these cards - the description right above it carries the
   bottom-anchoring auto margin in both states instead. Toggling auto here
   per-state was the source of the hover-exit snap (see the description
   comment above). Scoped to the four color variants so other
   .btn-link__sec uses around the site keep their auto margin. */
.slider__slide-link.wine .btn-link__sec,
.slider__slide-link.plum .btn-link__sec,
.slider__slide-link.navy .btn-link__sec,
.slider__slide-link.forest .btn-link__sec {
  margin-top: 0;
}

.slider__slide-link.wine:hover .slider__slide__img img,
.slider__slide-link.plum:hover .slider__slide__img img,
.slider__slide-link.navy:hover .slider__slide__img img,
.slider__slide-link.forest:hover .slider__slide__img img {
  opacity: 0;
}

/* Hover layout: the CTA locks to the bottom of the card and the copy sits
   just above it with a fixed 50px gap, while the space between the title
   (anchored top) and the copy is flexible/auto - achieved by giving the
   description margin-top:auto (an auto-growing spacer that absorbs all free
   space above it, pushing the copy+CTA block down) while the CTA's own
   margin-top is zeroed on hover (below) so the only gap under the copy is
   its fixed 50px margin-bottom. max-height must clear 4 lines at the copy's
   20px/30px: 4 x 30px = 120px = 6.25vw at 1920, so 7vw is used for headroom
   (the <p>'s own line-clamp:4 still caps it at 4 lines, so the extra ceiling
   never reveals a 5th line - it just prevents the previous bottom clipping). */
.slider__slide-link:hover .slider__slide-description {
  max-height: 7vw;
  opacity: 1;
  margin-bottom: 2.60417vw;
}

/* Decorative background shape: FIXED height at all times, in both states.
   site.css sized it height:100% of figcaption, which made it stretch/flash
   whenever figcaption changed size during the hover transitions. Decoupled
   entirely instead: the shape gets one constant height (its default visual
   size) and never moves - the whole hover layout is driven purely by the
   image height animating full <-> 0. Same selector site.css uses, so this
   wins on load order.
   Desktop: 18.1974vw = default figcaption height (card 33.7882vw - image
   15.59109vw), all vw so it holds across the desktop range.
   Mobile: figcaption is a fixed 202px (card 390px - image 188.25726px,
   measured live), so both variants share that same fixed 202px - old
   180px/250px values were leftovers from site.css's percentage system
   (72%/100% of a stale 250px figcaption estimate) and never matched each
   other, which is what caused the shape to render at inconsistent sizes
   across cards on mobile. */
.slider__slide-image figcaption .card-shape-right,
.slider__slide-image figcaption .card-shape-bottom {
  height: 18.1974vw;
  mix-blend-mode: normal;
  opacity: 1;
}

@media (max-width: 1279px) {
  /* Scoped to the 4 color variants for the same reason as the desktop
     rules above - this bare selector was leaking the fixed mobile image
     height onto blog cards too. */
  .slider__slide-link.wine .slider__slide__img,
  .slider__slide-link.plum .slider__slide__img,
  .slider__slide-link.navy .slider__slide__img,
  .slider__slide-link.forest .slider__slide__img {
    height: 188.25726px;
  }

  .slider__slide-description {
    font-size: 18px;
  }

  /* 4. Hover-reveal disabled on mobile: mobile users tap through rather
     than hover, and touch browsers can still momentarily register :hover
     on tap, which would otherwise trigger this same collapse/reveal
     sequence for an instant. Resetting the three hover-triggered selectors
     back to their own default (non-hover) values - same bucket as every
     other mobile-only override in this file - neutralizes the animation
     entirely on mobile while leaving the unscoped desktop :hover rules
     above untouched. Scoped to the 4 color variants, matching the base
     rule above - left unscoped, this would still have forced blog cards'
     image back to this fixed height on tap, even after scoping the base
     rule removed it from their default state, producing a brief flash to
     the wrong height instead of no effect at all. */
  .slider__slide-link.wine:hover .slider__slide__img,
  .slider__slide-link.plum:hover .slider__slide__img,
  .slider__slide-link.navy:hover .slider__slide__img,
  .slider__slide-link.forest:hover .slider__slide__img {
    height: 188.25726px;
  }

  .slider__slide-link.wine:hover .slider__slide__img img,
  .slider__slide-link.plum:hover .slider__slide__img img,
  .slider__slide-link.navy:hover .slider__slide__img img,
  .slider__slide-link.forest:hover .slider__slide__img img {
    opacity: 1;
  }

  .slider__slide-link:hover .slider__slide-description {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
  }

  .slider__slide-image figcaption .card-shape-right,
  .slider__slide-image figcaption .card-shape-bottom {
    height: 202px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slider__slide__img,
  .slider__slide__img img,
  .slider__slide-description {
    transition: none !important;
  }
}

/* ==========================================================================
   Body-copy paragraph size correction (general, not hover-specific).
   site.css sizes copy paragraphs to a fluid 1.14583vw (~22px at 1920) with
   inconsistent line-heights (1.75 on base <p> / .ic__description, 1.77 on
   .nl__description, 1.5 on .slider__copy__description, etc). Unified here to
   1.04167vw font-size (= 20px at 1920) AND line-height 1.5 (= exactly 30px
   at that 20px), so every copy paragraph reads at the same 20px/30px across
   the whole site. Scoped to >=1280px only, so site.css's own <=1279px fixed
   fallbacks are left untouched (an unscoped override would wrongly shrink
   those mobile sizes too). Applied to the copy-paragraph selectors that
   carry the fluid value - base <p> plus the .ic__description /
   .quote_box__description / .slider__copy__description / .nl__description
   variants that re-declare it - NOT to the buttons, sub-headings, nav items
   or form inputs that also happen to use 1.14583vw (those aren't body copy). */
/* Two-segment fluid ramp instead of one flat ratio, so body copy hits
   three exact anchor points: 16px@1280, 18px@1440, 20px@1920. A single
   vw ratio can't pass through all three (16/1280 and 18/1440 share the
   same ratio, 1.25vw, but 20/1920 doesn't match that ratio) - so this is
   two linear segments instead: 1.25vw handles 1280-1440 (a pure ratio,
   since 16/1280 == 18/1440), and 12px + 0.41667vw handles 1440 and up
   (18 at 1440, 20 at 1920, continuing the same slope beyond). Both
   media queries match at >=1440px; the second wins there since it's
   later in source order at equal specificity, leaving the first rule
   in effect only for 1280-1439px. The two formulas agree exactly at
   1440px (18px both ways), so there's no jump at the handoff. */
/* Line-height alone (not font-size) also unified BELOW 1280px, closing
   the same "fix only applies >=1280px" gap found throughout this file's
   other tiers - site.css's own <1280px paragraph rules keep their
   existing (already-fine) font-size steps, just inconsistent
   line-heights (1.75 on .ic__description p, 1.5 on
   .slider__copy__description p, etc), which is what actually reads as
   "different copy" side by side at any width below 1280px. */
p,
.ic__description p,
.quote_box__description p,
.slider__copy__description p,
body .nl__description {
  line-height: 1.5;
}

@media (min-width: 1280px) {
  p,
  .ic__description p,
  .quote_box__description p,
  .slider__copy__description p,
  body .nl__description {
    font-size: 1.25vw;
    line-height: 1.5;
  }
}

@media (min-width: 1440px) {
  p,
  .ic__description p,
  .quote_box__description p,
  .slider__copy__description p,
  body .nl__description {
    font-size: calc(12px + 0.41667vw);
    line-height: 1.5;
  }
}

/* ==========================================================================
   Desktop nav dropdown (.sub-menu under the header's primary menu - the
   "What's On"/"Explore"/etc flyouts). site.css's own selector chain is 7
   classes deep, so the override matches that exact chain rather than a
   shorter one, which would lose on specificity and silently fail to apply.
   Was the old rainbow gold (#F3B100) with near-black text; recoloured to a
   black background with white text. The little pointer triangle
   (.sub-menu:after) is recoloured to match so it doesn't stay gold against
   the new black panel. The divider between items was solid white
   (border-bottom:1px solid #fff) - changed to 50% opacity so it reads as a
   subtle separator against the new dark background instead of a hard line. */
.header-footer-group .header-inner .header-navigation-wrapper .primary-menu-wrapper .primary-menu > .menu-item .sub-menu {
  background-color: #000000;
}

.header-footer-group .header-inner .header-navigation-wrapper .primary-menu-wrapper .primary-menu > .menu-item .sub-menu:after {
  border-bottom-color: #000000;
}

.header-footer-group .header-inner .header-navigation-wrapper .primary-menu-wrapper .primary-menu > .menu-item .sub-menu .menu-item {
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.header-footer-group .header-inner .header-navigation-wrapper .primary-menu-wrapper .primary-menu > .menu-item .sub-menu .menu-item a {
  color: #ffffff;
}

/* ==========================================================================
   Site-wide accent color swap: #E4A404 -> #EAAC00, every place site.css
   uses it. Matches each selector's own exact chain (some run 5-6 classes
   deep) since a shorter override would lose on specificity and silently
   fail to apply.
   #E4A404 also appears in several site.css rules that are dead code (no
   element in any page's HTML actually carries the class combination they
   target - .quote_box__bg/.nl/.cgw__card__copy/.cta__bg's .orange/.yellow
   variants, .cg__card__copy .copybg.orange/.yellow, .lbs__item__card.orange,
   and the .teaminfo team-bio rules, which no page uses at all): left alone
   rather than styling selectors that can never match anything, same as
   elsewhere in this file. */
.header-footer-group .header-inner .header-titles-wrapper .nav-toggle {
  background-color: #eaac00;
}

.header-footer-group .header-inner .header-navigation-wrapper .primary-menu-wrapper .primary-menu > .menu-item > a:after {
  background-color: #eaac00;
}

.site-footer__col .menu .menu-item .sub-menu > .menu-item.current-menu-item > a {
  color: #eaac00;
}

.site-footer__col .menu .menu-item .sub-menu > .menu-item a:hover {
  color: #eaac00;
}

.site-footer__copy p a:hover {
  color: #eaac00;
}

.site-footer__sl__social li a:hover {
  color: #eaac00;
}

.site-footer__fb__menu .menu-footer-bottom-menu-container .menu .menu-item.current-menu-item a {
  color: #eaac00;
}

.site-footer__fb__menu .menu-footer-bottom-menu-container .menu .menu-item a:hover {
  color: #eaac00;
}

.site-footer__fb__copyright p a:hover {
  color: #eaac00;
}

.hero .slick-arrow {
  color: #eaac00;
}

.hero .slick-dots li.slick-active button {
  background-color: #eaac00;
  border-color: #eaac00;
}

.hero .slick-dots li button {
  border-color: #eaac00;
}

.lbs__item__card.yellow {
  background-color: #eaac00;
}

.cta__bottom_info p a:hover {
  color: #eaac00;
}

/* ==========================================================================
   Contact form (#gform_2, unique to contact/index.html - no other page
   embeds this form) consent checkbox: recoloured from yellow to black for
   better contrast/accessibility. The real <input type=checkbox> is
   invisible (opacity:0) - site.css draws the visible box and checkmark
   entirely with :before/:after pseudo-elements on the adjacent <label>, so
   both need overriding. Scoped to this one form via the #gform_2 ID
   (higher specificity than site.css's bare .ginput_container selector, so
   no !important needed) rather than changing the shared
   .ginput_container input[type=checkbox] rule site-wide, since ~20 other
   pages reuse that same generic selector for their own consent checkboxes
   and weren't part of this request. */
#gform_2 .ginput_container input[type=checkbox]:checked + label:after,
#gform_2 .ginput_container input[type=checkbox]:not(:checked) + label:after {
  border-color: #161412;
}

#gform_2 .ginput_container input[type=checkbox]:checked + label:before {
  border-color: transparent #161412 #161412 transparent;
}

/* ==========================================================================
   Slider card titles (.slider__slide-heading, the "Guided Museum Tour" /
   "Medieval Mile Trail" / etc cards): capped at 2 lines max. site.css
   originally reserved height for 3 lines (min-height:7.5vw desktop /
   144px mobile, at line-height 1.25) - the actual bug was in the HTML, not
   the CSS: "Guided Museum Tour" had a manual <br> after every single word
   ("Guided<br>Museum<br>Tour"), hard-forcing 3 lines regardless of screen
   size, unlike its sibling titles which use at most one manual break.
   That's fixed by removing the extra break. -webkit-line-clamp:2 is added
   here as a structural safety net per the request, so any future CMS
   title that's too long to fit 2 lines at this font-size truncates with
   an ellipsis instead of overflowing to a 3rd line - the current titles
   (Guided Museum Tour, Medieval Mile Trail, Events & Exhibitions,
   Education, Primary/Secondary/Third Level School Tours, Language
   Schools) all already fit in 2 lines at the existing font-size once the
   stray <br> is gone, so no font-size/width change was needed for them.
   min-height is reduced from 3 lines' worth to 2 lines' worth (same
   proportional buffer as site.css's own 3-line values) so 1-line titles
   don't reserve more empty space than the new 2-line design calls for. */
.slider__slide-heading {
  min-height: 5vw;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

@media (max-width: 1279px) {
  .slider__slide-heading {
    min-height: 96px;
  }
}

/* ==========================================================================
   Mobile responsiveness pass.
   ========================================================================== */

/* 1. Inner-page hero contrast: .page-banner__copy (used by every inner
   page's hero banner - NOT the homepage, which uses the separate .hero
   component) switches to a solid yellow background (#F3B100) only at
   <=767px, but its h1 text stays site.css's default white, making it
   illegible. The homepage's own .hero__item__copy already patches this
   exact scenario for itself (color:#161412!important at this same
   breakpoint) - .page-banner__copy never got the same treatment. Matches
   that established near-black, scoped to mobile only so the desktop hero
   (image background, white text over a dark gradient) is untouched.
   (.page-banner__copy__description's own mobile contrast override now
   lives in the shared hero-description rule above, alongside the
   homepage's.) */
@media (max-width: 767px) {
  .page-banner__copy h1 {
    color: #161412;
    text-shadow: none;
  }
}

/* 2. Root cause of "cards/hero text cropped/overlapped by the section
   above it" on mobile: the fixed nav header (site.css:
   .header-footer-group{position:absolute!important;
   background-color:transparent!important}, switched to position:fixed
   by a "fixed" class the theme's own JS adds on scroll) never gets a
   solid background - site.css DOES define
   .header-footer-group.header-visible{background-color:#161412} for
   exactly this "solid once scrolled" state, but no script in this theme
   ever applies the .header-visible class, so the header stays
   permanently transparent while pinned on top of the page. Whatever has
   scrolled up underneath it - the hero heading, or the top of the card
   carousel further down - shows straight through and visually collides
   with the header's own logo/buttons, reading as "cropped by the
   section above." Scoped to mobile only, and to the header element
   specifically (.menu-modal - the slide-out mobile nav panel, which
   shares the same header-footer-group.fixed classes - already gets its
   own solid #161412 background from .menu-modal-inner, so it's
   unaffected by this selector). */
@media (max-width: 767px) {
  header.header-footer-group.fixed {
    background-color: #161412 !important;
  }
}

/* 6. Mobile hamburger menu: site.css hardcodes the active-page link color
   AND the tap/hover link color to literal `red` (not a brand variable) -
   .menu-item.current-menu-item.current_page_item .ancestor-wrapper a and
   .ancestor-wrapper a:hover. Touch browsers commonly apply :hover on tap,
   which is exactly the "What's On expanded" state in the report - tapping
   the item to expand its sub-menu triggers the :hover rule the same as a
   desktop mouse hover would. Same selectors as site.css (so this wins on
   load order) with the site's brand yellow instead of red. Not scoped to a
   width breakpoint - .menu-modal only exists in the DOM/off-canvas at all
   viewport widths but is only ever visually reachable via the mobile
   hamburger toggle, so no separate media query is needed. */
.menu-modal .menu-modal-inner .menu-wrapper .menu-top .mobile-menu .modal-menu .menu-item.current-menu-item.current_page_item .ancestor-wrapper a,
.menu-modal .menu-modal-inner .menu-wrapper .menu-top .mobile-menu .modal-menu .menu-item .ancestor-wrapper a:hover {
  color: #EAAC00;
}

/* ==========================================================================
   Header logo: mobile-only 10% size reduction.
   site.css sizes .site_logo__normal fluidly (max-width:10.74vw) on
   desktop, then switches to two fixed mobile tiers - 160px at <=1279px,
   120px at <=374px (very narrow phones). Both are reduced by 10% here
   (160 * 0.9 = 144, 120 * 0.9 = 108), matching site.css's own fixed-px
   approach at each of its existing mobile breakpoints rather than
   introducing a new sizing scheme. Desktop's fluid 10.74vw is untouched.
   Selector matches site.css's own 6-class-deep chain so it wins on
   specificity, not just load order. */
@media (max-width: 1279px) {
  .header-footer-group .header-inner .header-titles-wrapper .header-titles .site_logo .site_logo__normal {
    max-width: 144px;
  }
}

@media (max-width: 374px) {
  .header-footer-group .header-inner .header-titles-wrapper .header-titles .site_logo .site_logo__normal {
    max-width: 108px;
  }
}

/* Footer logo: match the nav logo's mobile size exactly.
   Both <img> tags already point at the same file
   (momk-logo-white-amber.png) but are two separate placements (header vs
   footer), each with their own site.css sizing rule, so there's no single
   shared selector to change once for both - site.css sizes the footer
   logo fluidly at 10.41667vw on desktop (untouched here) and a fixed
   200px at <=1279px, with no separate narrow-phone tier of its own.
   Overridden to the exact same two values as the nav logo above (144px /
   108px) so both render identically at every mobile width instead of
   just approximately matching. */
@media (max-width: 1279px) {
  .site-footer__logo a img {
    max-width: 144px;
  }
}

@media (max-width: 374px) {
  .site-footer__logo a img {
    max-width: 108px;
  }
}

/* Top notification strip: site.css's default is near-black (#161412),
   same as the main header - lightened to a neutral dark gray so the
   strip reads as visually distinct from the header below it. */
.top-bar {
  background: #3C3C3C;
}

/* Contact page: give the contact form column its own white card against
   the page's cream body background, rather than sitting flush/flat like
   the plain-text "GET IN TOUCH" column beside it. .page-content__col is
   shared by both columns with no modifier class to distinguish them, so
   :has() targets specifically the one containing the Gravity Forms
   contact form. */
.page-content__col:has(.gform_wrapper) {
  background-color: #ffffff;
  padding: 50px 25px;
}

/* Contact page map: site.css sizes .map__wrapper iframe with a fixed
   600px (desktop) / 450px (<=1279px) height, unlike the rest of the site's
   fluid-above-1280px convention - both declared with !important, so the
   override needs !important too or it silently loses regardless of
   source order. Overridden to 570px at the 1920px design baseline
   (570/1920 = 29.6875vw) so it scales fluidly like everything else - the
   existing 450px mobile/tablet value is left as-is (site.css, unchanged)
   since no mobile size was specified. */
.map__wrapper iframe {
  height: 29.6875vw !important;
}

/* Weddings page: the "GET IN TOUCH" section (id="two_column_content_6")
   is the same shared markup as the contact page's copy, so it can't be
   unscoped from .page-content's default top padding without also
   affecting the contact page (and the events page, which renders the
   same component). Scoped to the weddings page's own body class
   (page-id-497) so only this instance loses its top padding. */
body.page-id-497 #two_column_content_6 .page-content {
  padding-top: 0;
}

/* Events page: same shared "GET IN TOUCH" section, scoped to this page's
   own body class (page-id-753) so only this instance loses its bottom
   padding - contact and weddings keep theirs. */
body.page-id-753 #two_column_content_6 .page-content {
  padding-bottom: 0;
}

/* FAQ accordion: site.css turns the question text (and its +/- toggle
   icon) brand yellow on hover. Keep it black instead - the hover state
   still has other cues (cursor:pointer, the toggle icon) that it's
   interactive, without the color change. The .active (already expanded)
   state's own yellow is untouched - only :hover. */
.acc__title:hover {
  color: #161412;
}

.acc__title:hover:after,
.acc__title:hover:before {
  background-color: #161412;
}

/* "New" badge on What's On cards, flagging a newly-added activity.
   .cg__card__img is already position:relative (site.css), so this just
   pins to its top-left corner - no new positioning context needed. */
.cg__card__badge {
  position: absolute;
  top: 0.9375vw;
  left: 0.9375vw;
  z-index: 2;
  padding: 0.4375vw 1.125vw;
  border-radius: 0;
  background-color: #F3B100;
  color: #161412;
  font-family: "Tenon Bold", sans-serif;
  font-size: 1vw;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media (max-width: 1279px) {
  .cg__card__badge {
    top: 12px;
    left: 12px;
    padding: 7px 17px;
    font-size: 16px;
  }
}

/* ==========================================================================
   "Admission & Opening Hours" / "Membership Options" accordion component

   Two live instances of this component pattern:
   - .cta.admission - "Admission & Opening Hours" style content (two
     side-by-side accordion columns: tour pricing/times / Getting Here).
     Live on: explore, plan-your-visit, guided-museum-tour,
     medieval-mile-trail, events-exhibitions (the last three show only
     their own single relevant tour item in the left column, with the
     other tour items omitted from the markup entirely rather than
     hidden via CSS).
   - .cta.membership - "Membership Options" (annual-membership), 5
     membership tiers split 3+2 across two columns.

   Shared visual language (accordion box border, card dividers, +/- icon
   mechanics, panel styling, wine button) lives under .cta--accordion,
   a class added to every instance's wrapping <div class="cta ...">
   alongside its own modifier class. Only genuinely different bits (the
   two-column split, the column sub-headings, the bottom disclaimer note)
   stay scoped to .cta.admission specifically.

   Reuses the exact same .acc__title/.acc__card/.acc__panel class names
   as the site's existing FAQ accordion (site.css/js.js) - deliberate,
   since the sitewide accordion click-handler is class-based, not
   page-scoped, so this markup gets working expand/collapse for free
   with no new JS. Layers on top of - never touches - that existing
   light-themed FAQ instance, since everything here is scoped under
   .cta--accordion, which the FAQ page never carries.

   One important departure from a plain copy of the FAQ pattern: .acc__row
   is deliberately placed as ONE shared wrapper around BOTH columns
   together (not one per column), because the click-handler scopes
   "close every other open panel" to .closest(".acc__row") - sharing a
   single .acc__row means only one item is ever open across the whole
   component at a time, not one-open-per-column independently. Each
   column's own visual bordered box is a separate class, .acc__box. */

.cta--accordion .acc__box {
  border: 1px solid #fff;
  padding: 1.5625vw; /* 30px @ 1920, matches .container's own 30px gutter unit */
  display: flex;
  flex-direction: column;
}

@media (max-width: 1279px) {
  .cta--accordion .acc__box {
    padding: 30px;
  }
}

.cta--accordion .acc__card {
  background: none;
  margin: 0;
  padding: 0;
}

.cta--accordion .acc__card + .acc__card {
  border-top: 1px solid #fff;
  margin-top: 2.08333vw; /* 40px @ 1920 */
  padding-top: 1.5625vw; /* 30px @ 1920 - reduced from 40px, the other
                             10px moved to .acc__title's own padding
                             below, so the clickable target grows without
                             changing the total visual gap between the
                             divider line and the title text */
}

@media (max-width: 1279px) {
  .cta--accordion .acc__card + .acc__card {
    margin-top: 40px;
    padding-top: 30px;
  }
}

/* .acc__title: FAQ's version is a single-line label with the +/- icon
   absolutely-positioned using magic-number offsets tuned to its own fixed
   padding. This component's title can be a two-line block (h6 + time
   caption) of variable height, so the icon lives in its own
   flex-positioned toggle element instead - same plus/minus technique
   (two bars, one hidden on .active), just laid out with flexbox rather
   than page-specific coordinates. */
.cta--accordion .acc__title {
  display: flex;
  align-items: center; /* centers the icon against the full title (+
                           subtitle, where present) block's height, not
                           just the title line */
  justify-content: flex-start;
  gap: 1.04167vw; /* 20px @ 1920 - floor gap, only matters if the toggle's
                     own margin-left:auto push (below) is ever compressed */
  padding: .52083vw 0; /* 10px @ 1920 - grows the clickable area beyond
                          the tight text bounding box (previously 0);
                          .acc__card + .acc__card's own padding-top was
                          reduced by the same 10px so the total visual
                          gap between the divider line and the title text
                          is unchanged - only the split between "dead
                          space" and "clickable space" moved */
  cursor: pointer;
  font-family: inherit;
}

/* Suppress FAQ's own absolutely-positioned +/- pseudo-elements (site.css's
   .acc__title:before/:after) - this component draws its icon on the
   dedicated .acc__toggle element below instead. */
.cta--accordion .acc__title:before,
.cta--accordion .acc__title:after {
  display: none;
}

.cta--accordion .acc__title h6 {
  color: #fff;
  margin: 0 0 .26042vw; /* 5px @ 1920 */
}

.cta--accordion .acc__title .acc__time {
  display: block;
  font-family: "Tenon Regular"; /* renders as Baloo 2 Medium */
  font-weight: 400;
  font-size: 16px; /* fixed baseline for every width up to 1920 - body-copy
                       sizes are already close to the comfortable-reading
                       floor, so unlike the larger heading rungs this one
                       must NOT keep shrinking below its 1920 baseline */
  color: #fff;
  line-height: 1.25;
}

@media (min-width: 1920px) {
  .cta--accordion .acc__title .acc__time {
    font-size: .83333vw; /* scales up only past 1920, for ultra-wide screens */
  }
}

/* Toggle icon: 24x24px, plus/minus via two pseudo-element bars.
   margin-left:auto pins it to the opposite end of the row from the title
   text, regardless of how long the title is. */
.cta--accordion .acc__toggle {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  margin-left: auto;
}

.cta--accordion .acc__toggle:before,
.cta--accordion .acc__toggle:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #fff;
  transition: opacity .25s ease;
}

.cta--accordion .acc__toggle:after {
  width: 16px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.cta--accordion .acc__toggle:before {
  width: 2px;
  height: 16px;
  transform: translate(-50%, -50%);
}

.cta--accordion .acc__title.active .acc__toggle:before {
  opacity: 0;
}

/* Panel content: the translucent dark box used for pricing breakdowns,
   directions text, and membership benefit descriptions alike - same
   rgba(255,255,255,.12) overlay throughout. */
.cta--accordion .acc__panel {
  display: none;
}

.cta--accordion .acc__panel__copy {
  background-color: rgba(255, 255, 255, .12);
  padding: 1.5625vw; /* 30px @ 1920 */
  margin-top: 2.08333vw; /* 40px @ 1920 */
  display: flex;
  flex-direction: column;
  gap: 2.08333vw;
}

@media (max-width: 1279px) {
  .cta--accordion .acc__panel__copy {
    padding: 30px;
    margin-top: 40px;
    gap: 40px;
  }
}

.cta--accordion .acc__panel__copy p,
.cta--accordion .acc__panel__copy ul {
  margin: 0;
  padding: 0;
  font-family: "Tenon Regular"; /* Baloo 2 Medium */
  font-weight: 400;
  font-size: 18px; /* fixed baseline up to 1920 - see .acc__time above for why */
  line-height: 1.5;
  color: #fff;
  word-break: break-word;
}

@media (min-width: 1920px) {
  .cta--accordion .acc__panel__copy p,
  .cta--accordion .acc__panel__copy ul {
    font-size: .9375vw; /* scales up only past 1920, for ultra-wide screens */
  }
}

.cta--accordion .acc__panel__copy p strong {
  font-family: "Tenon Bold"; /* Vercel placeholder was Baloo 2 Bold */
  font-weight: 400;
}

/* Inline links (Getting Here directions copy: train station, bus
   operators, route planner) - same white-underlined treatment already
   established for .cta__note a, so a link inside the white panel copy
   reads the same way as one inside the note below it. */
.cta--accordion .acc__panel__copy a {
  color: #fff;
  text-decoration: underline;
}

/* Benefit lists (e.g. membership tiers with multiple perks): a real
   bulleted list instead of <br>-separated lines in one paragraph, so a
   long item wrapping onto a second line can't be mistaken for the next
   item starting - each item keeps its own marker and hanging indent
   regardless of how many lines it wraps to. */
.cta--accordion .acc__panel__copy ul {
  list-style: disc;
  padding-left: 1.14583vw; /* 22px @ 1920 - room for the marker + hanging indent */
}

.cta--accordion .acc__panel__copy li {
  margin: 0;
}

.cta--accordion .acc__panel__copy li + li {
  margin-top: .52083vw; /* 10px @ 1920 */
}

.cta--accordion .acc__panel__copy .acc__divider {
  border: none;
  border-top: 1px solid #fff;
  margin: 0;
}

/* The .btn--wine colour modifier itself is declared further down, next to
   .btn--yellow and immediately after this file's .btn background correction -
   it has to come after it to win, since both are single-class selectors. */

/* Accordion-specific: additionally resets the flex margin/alignment
   inherited from .acc__panel__copy's flex-column layout. */
.cta--accordion .btn--wine {
  margin: 0;
  align-self: flex-start;
}

/* Overrides the underline that .cta--accordion .acc__panel__copy a
   (above) applies to inline text links in this same panel - that rule
   is meant for plain copy links (Getting Here directions: train
   station, bus operators), not this Book Now/What's On button, which is
   also an <a> and so inherits it by accident. Needs the extra `a` in
   the selector (matching .acc__panel__copy a's own specificity plus
   .btn--wine) since .cta--accordion .btn--wine alone is one class short
   of beating that rule's specificity. No other .btn--wine instance sits
   inside .acc__panel__copy, so this only affects the accordion's own
   buttons. */
.cta--accordion .acc__panel__copy a.btn--wine {
  text-decoration: none;
}

/* ==========================================================================
   SHARED: two-column split (used by .cta.admission and .cta.membership)
   ========================================================================== */

/* Two-column layout: reuses .cta__row (already the standard flex row for
   this component elsewhere on the site) with a new column class, since
   the existing .cta__col is built for the old 3-equal-column list
   (width:33.333%) and doesn't fit a 2-column redesign.

   Horizontal gap between the two columns: 2.08333vw (40px @ 1920) - the
   same gap token already used for vertical spacing throughout this
   component (column heading to box, between accordion items). */
.cta--two-col .cta__row {
  gap: 2.08333vw; /* 40px @ 1920 */
  margin: 0; /* resets .cta__row's inherited margin:0 -.78125vw (the old
                card-grid negative-margin gutter trick, paired there with
                compensating padding on .cta__col that this new
                .cta__accordion-col doesn't have) - left uncorrected, it
                shifts the whole row ~11px left of .cta__head h2, which
                has no such margin, misaligning the title from the
                content below it. */
}

@media (max-width: 1279px) {
  .cta--two-col .cta__row {
    gap: 40px;
    margin: 0; /* resets site.css's own mobile margin:0 -15px for the same reason as above */
  }
}

.cta--two-col .cta__accordion-col {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2.08333vw; /* 40px @ 1920 */
}

@media (max-width: 1279px) {
  .cta--two-col .cta__accordion-col {
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .cta--two-col .cta__row {
    flex-wrap: wrap;
  }
  .cta--two-col .cta__accordion-col {
    flex: 1 1 100%;
  }
}

/* Column sub-heading ("Ticket Prices & Tour times" / "Getting Here" /
   "See more about our Membership Options") reuses the real
   .cta__sub-head h5 (SourceSerifPro-SemiBold -> Nunito Sans, 32px,
   white) - already sets color:#fff itself, so no color override needed.

   margin-bottom DOES need resetting: this file has a bare
   `h5 { margin-bottom: 60px !important; }` (added for testimonial
   attribution spacing elsewhere) that applies to .cta__sub-head h5 too -
   needs its own !important to win against that one. Scoped to
   .cta--accordion so it applies uniformly to every instance. */
.cta--accordion h5 {
  margin-bottom: 0 !important;
}

/* Membership has no .cta__accordion-col flex-gap between its subhead and
   the tier columns (unlike Admission, where .cta__accordion-col's own
   40px gap already provides this) - added explicitly here so both
   variants use the identical 40px heading-to-content spacing. */
.cta.membership .cta__sub-head {
  margin-bottom: 2.08333vw; /* 40px @ 1920 */
}

@media (max-width: 1279px) {
  .cta.membership .cta__sub-head {
    margin-bottom: 40px;
  }
}

/* Bottom disclaimer note (Medieval Mile Trail booking advice - only
   present on pages whose accordion includes that tour). */
.cta.admission .cta__note {
  background-color: rgba(23, 23, 23, .12);
  padding: 2.08333vw; /* 40px @ 1920 */
  margin-top: auto;
}

@media (max-width: 1279px) {
  .cta.admission .cta__note {
    padding: 40px;
  }
}

.cta.admission .cta__note p {
  margin: 0;
  padding: 0;
  font-family: "Tenon Regular";
  font-weight: 400;
  font-size: 18px; /* fixed baseline up to 1920 - see .acc__time above for why */
  line-height: 1.5;
  color: #fff;
  word-break: break-word;
}

@media (min-width: 1920px) {
  .cta.admission .cta__note p {
    font-size: .9375vw; /* scales up only past 1920, for ultra-wide screens */
  }
}

.cta.admission .cta__note a {
  color: #fff;
  text-decoration: underline;
}

/* "Getting Here" column stretches to match the pricing column's height,
   with its accordion box at the top and the note (where present) pinned
   to the bottom. */
.cta.admission .cta__accordion-col--getting-here {
  justify-content: flex-start;
}

.cta.admission .cta__accordion-col--getting-here .acc__box {
  margin-bottom: 0;
}

/* ==========================================================================
   Site-wide section top/bottom padding standardization: every section
   wrapper below used to inherit (or redundantly redeclare) the base
   theme's own unconditional-vw + two-flat-tier pattern (7.8125vw
   desktop, flat 50px <=1279px, flat 60px <=767px) - the same
   "flat plateau" bug class already fixed for h1-h6/card-title/hero
   elsewhere in this file: frozen across the entire 768-1279px band,
   with a hard discontinuity at each boundary (a backwards jump UP
   crossing 1280->1279px, another jump crossing 768->767px).

   Standardized target: 80px @1920px (= 4.16667vw, an exact ratio - no
   px offset needed). Floor chosen at 32px, which this same 4.16667vw
   rate already produces almost exactly at 768px (4.16667% * 768 =
   32.0px) - so the floor and the fluid rate meet cleanly with no
   visible seam, and the whole formula collapses to a single
   continuous curve from 0 up to 1920px and beyond (unbounded above
   1920, matching every other token's convention), with the flat
   32px only taking over below ~768px on small phones.

   .module is the shared base class nearly every section wrapper
   carries (Explore the Museum, feature blocks/.ic__sec/.bic__sec,
   Highlights cards/.lbs__sec, testimonials wrapper/.quote_box__sec,
   card grids/.cg__sec, newsletter/.nl__sec, etc.) - overriding it
   here is what makes this "site-wide" rather than a set of duplicate
   copies of the same number (the same drift risk that caused the
   H4/H5 and card-title bugs earlier). .slider__sec, .ic__sec and
   .bic__sec used to redeclare this exact value themselves; those
   redundant copies are deliberately NOT re-added - they now inherit
   from .module alone.

   Placed BEFORE .content-filter__sec and .info-strip__sec below (both
   of which also carry the shared .module class): those two keep their
   own intentional bespoke padding-top since, at equal specificity,
   whichever same-file rule comes LAST wins - this block must stay
   above them or it would silently clobber both. */
.module {
  padding: max(32px, 4.16667vw) 0;
}

/* .acc__sec does NOT carry the shared .module class in its one
   real-world usage (the FAQ page's standalone accordion section), so
   it can't inherit the rule above - it needs its own copy of the
   same formula. */
.acc__sec {
  padding: max(32px, 4.16667vw) 0;
}

/* CTA content block (Admission & Opening Hours, Membership, etc.):
   this is the INNER .cta div, a second layer of padding nested
   inside the outer .module .cta__sec wrapper (same double-stack
   pattern as the testimonials quote box) - previously asymmetric
   (125px top / 132px bottom @1920) with its own flat 60px plateau
   <=1279px. Standardized to the same symmetric formula as every
   other section, top and bottom alike. */
.cta {
  padding: max(32px, 4.16667vw) 0;
}

/* Testimonials: only the OUTER .quote_box__sec wrapper is
   standardized above via .module. The INNER .quote_box div's own
   asymmetric padding (161px top / 51px bottom <=1279px, reserving
   room for the quote icon) is intentionally left untouched. */

/* ==========================================================================
   Content filter bar (What's On / Blog): category tabs + "Filter by Month"
   dropdown, sitting between the page hero and the card grid. One shared
   component - each page's .content-filter root just points at a different
   grid/item selector via data attributes (see content-filter.js), and
   lists whichever tabs that page needs in its own markup, so this CSS and
   the filtering logic itself are never duplicated per page. */
/* vw rate scoped to >=1920px, frozen value held flat for the entire
   <1920px range below it (rather than only <=1279px) - the same fix
   already applied to h1-h6/card-title elsewhere in this file. The old
   unconditional-vw + single-1279px-freeze pattern left the vw rate
   active down to 1280px, where it evaluates to LESS than the frozen
   value just below it at 1279px (54px vs 64.8px top padding) - a
   ~20% backwards jump UP in padding when narrowing past that
   boundary, the same bug class already fixed for other components. */
.content-filter__sec {
  padding-top: 81px; /* 67.5px + 20%, third round: 30 -> 45 -> 67.5 -> 81 */
  padding-bottom: 51.6375px; /* 81px - 25%, then - 15%: 81 -> 60.75 -> 51.6375 */
}

@media (min-width: 1920px) {
  .content-filter__sec {
    padding-top: 4.21875vw; /* 81px @1920 */
    padding-bottom: 2.689453125vw; /* 51.6375px @1920 */
  }
}

/* Card grid immediately below the filter bar on What's On/Blog: removes
   the section's own top padding entirely (bottom untouched) now that
   the filter bar above already adds its own vertical spacing - full
   .module padding on both would double up the gap between the bar and
   the cards. One rule covers every breakpoint since 0 doesn't need a
   separate vw/px value per .module's own 1920/1279/767 steps.
   Scoped by each page's WordPress page-id body class (1338 = What's On,
   458 = Blog) - NOT by the wrapping div's own #id
   (#links_card_with_image_4_column_2), which turned out to be a
   per-page auto-numbered instance id that Plan Your Visit's own
   .cg__sec wrapper also happens to share, so that selector was
   incorrectly stripping its top padding too. page-id-* is WordPress's
   actual post ID and is guaranteed unique site-wide. .cg__sec is also
   reused on Plan Your Visit/Admission & Opening Hours, which don't sit
   under this filter bar and must keep their normal top padding. */
.page-id-1338 .cg__sec,
.page-id-458 .ln {
  padding-top: 0;
}

/* Fluid scaling, matching the site's established convention (h1-h6,
   card-title, .content-filter__sec above): every vw rate in this
   component is scoped to >=1920px, with the value it evaluates to AT
   1920 held flat as the unconditional/mobile-first base for the whole
   <1920px range. The previous version left several vw rates
   unconditionally active down to 1280px, where they computed to LESS
   than the single frozen value below at 1279px (e.g. .content-filter's
   own gap: 20px at 1280 vs a frozen 24px at 1279) - a backwards jump UP
   when narrowing past that boundary, the same bug class already fixed
   for .content-filter__sec. Not every property actually had this bug
   (.content-filter__tabs's own gap decreases correctly, no jump) but
   all are restructured the same way here for one consistent pattern
   rather than mixing two conventions in the same component. */
.content-filter {
  display: flex;
  align-items: flex-end; /* bottom-aligns the tabs and the (taller) month
    pill onto a shared baseline, so the divider below - tied to this
    container's own bottom edge - lines up with both, rather than
    needing to reverse-engineer where "center" alignment happens to
    leave the tabs' own bottom edge relative to the row */
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  padding-bottom: 10px; /* gap between the tab labels and the divider line below */
}

@media (min-width: 1920px) {
  .content-filter {
    gap: 1.5625vw; /* 30px @1920 */
    padding-bottom: 0.625vw; /* 12px @1920 */
  }
}

/* Full-width divider spanning the entire filter row (tabs through to
   the month dropdown), at 50% opacity so it reads as a subtle row
   separator rather than a heavy rule - the active tab's own solid
   5px accent (below) is what's meant to stand out, layered on top of
   this line at the same vertical position. */
.content-filter::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: #D8D5CC; /* matches .content-filter__month-select's own border color */
}

/* Mobile-only category dropdown: hidden above 767px, where the tab row
   (below) is used instead. Its <select> reuses .content-filter__month-select
   directly (see markup) for identical pill/border/chevron/focus styling,
   rather than duplicating those declarations for a second control. */
.content-filter__category {
  display: none;
}

.content-filter__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 50px; /* flat below 1920px, then scales fluidly above via vw - same
    1920-baseline convention as the rest of this component (only the
    tab row itself, not the mobile category dropdown, which has no
    gap between items since it's a single control). */
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 1920px) {
  .content-filter__tabs {
    gap: 2.60417vw; /* 50px @1920 */
  }
}

.content-filter__tab {
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  font-family: "Tenon Regular"; /* matches .content-filter__month-select's own font - was
    swapping to Montserrat-SemiBold for the active state below, which
    both mismatched the month dropdown and duplicated the bold-text
    treatment now done via font-weight instead */
  font-size: 18px;
  font-weight: 400;
  text-transform: none; /* overrides style.css's global button{text-transform:uppercase}
    reset - .content-filter__tab is a plain <button>, so it inherits that
    rule by default same as every other <button> on the site */
  color: #636363; /* was #6D6D6D - 4.42:1 on the #EDEDED page bg failed WCAG AA;
    #636363 is 5.13:1 (axe color-contrast, /explore/whats-on/ filter tabs) */
  cursor: pointer;
  position: relative;
  line-height: 1.2;
}

@media (min-width: 1920px) {
  .content-filter__tab {
    font-size: 1.04167vw; /* 20px @1920 */
  }
}

/* style.css's base button reset includes a global
   `button:focus, button:hover { text-decoration: underline; }` (among
   many other selectors sharing that same rule) - since a plain
   <button> click also gives it browser focus (not just :hover), the
   clicked/active tab kept showing that underline via :focus even
   after the :hover override below was added. Both states need
   overriding here, not just :hover. */
.content-filter__tab:hover,
.content-filter__tab:focus {
  color: #161412;
  text-decoration: none;
}

.content-filter__tab.is-active {
  color: #161412;
  font-weight: 700; /* no dedicated bold face is registered for
    Montserrat-Medium (see @font-face above - one file, weight:400), so
    this renders as the browser's synthetic/faux bold - the same
    approach already relied on nowhere else, but standard behavior in
    every current browser when only one weight is registered. */
}

/* The active tab's own accent: solid, full-opacity, 5px tall, exactly
   as wide as this tab specifically (not the whole row) - layered on
   top of .content-filter's full-width 50%-opacity divider by sitting
   at the same vertical position (bottom:-0.625vw here matches the
   container's own padding-bottom above, since this pseudo's
   containing block is the tab itself, whose bottom edge sits one
   padding-bottom above the container's, thanks to align-items:flex-end
   pinning it to the inner edge of that padding). Moves and resizes
   automatically with the .is-active class toggle in content-filter.js -
   no JS position/width calculation needed since it's sized purely by
   the tab's own box. */
.content-filter__tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px; /* matches .content-filter's own padding-bottom */
  height: 5px;
  background-color: #161412;
}

@media (min-width: 1920px) {
  .content-filter__tab.is-active::after {
    bottom: -0.625vw; /* 12px @1920, matches .content-filter's padding-bottom */
  }
}

.content-filter__month-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  border: 1px solid #D8D5CC;
  border-radius: 0;
  margin: 0;
  padding: 10px 40px 10px 20px;
  font-family: "Tenon Regular";
  font-size: 16px;
  color: #161412;
  cursor: pointer;
  /* Inline chevron avoids a new asset file for a single-use icon reused
     at two sizes/colours nowhere else on the site. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23161412' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 10px;
}

@media (min-width: 1920px) {
  .content-filter__month-select {
    padding: 0.625vw 2.60417vw 0.625vw 1.5625vw; /* 12px 50px 12px 30px @1920 */
    font-size: 0.9375vw; /* 18px @1920 */
    background-position: right 1.04167vw center; /* 20px @1920 */
    background-size: 0.52083vw; /* 10px @1920 */
  }
}

.content-filter__month-select:hover {
  border-color: #161412;
}

/* Custom month-select focus ring removed — task 27694855. Fiona asked
   for the native browser focus indicator rather than any custom ring;
   reinstated globally below (see outline: revert). */

/* Tabs scroll horizontally rather than wrap onto multiple lines at
   mobile widths - matches the site's existing horizontal-scroll
   carousel/controls convention elsewhere, and keeps the active
   underline's row from reflowing awkwardly with 4 tabs of very
   different lengths (e.g. "All" vs "Featured Events (New)"). */
/* Below 767px the tab row is replaced entirely by the category
   dropdown above (rather than kept as a horizontally-scrolling row) -
   the divider/accent-offset/scroll machinery the tab row needed is
   moot once it's hidden, so this breakpoint only needs to flip
   .content-filter__tabs/.content-filter__category's visibility and
   stack both dropdowns full-width. */
@media (max-width: 767px) {
  .content-filter {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-bottom: 0;
  }

  /* .content-filter's own full-width divider was tab-row-specific
     (paired with the tabs' active-accent line); with no tab row here,
     there's nothing left for it to underline. */
  .content-filter::after {
    content: none;
  }

  .content-filter__tabs {
    display: none;
  }

  /* min-width:0 defends against the same flex-column sizing issue
     documented on .content-filter__tabs historically (a flex child
     otherwise sizes to its content's min-content width rather than
     the column it's actually in). */
  .content-filter__category {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .content-filter__month {
    width: 100%;
    min-width: 0;
  }

  .content-filter__category-select,
  .content-filter__month-select {
    width: 100%;
  }
}

/* ==========================================================================
   Gravity Forms "Name" field (First/Last): force side-by-side layout
   ========================================================================== */

/* Contact, Weddings, and Events all use the same legacy Name-field
   markup (.ginput_complex.ginput_container--name > .name_first /
   .name_last spans) - but only Contact's page <head> enqueues Gravity
   Forms' legacy stylesheet (formsmain.min.css), which is what actually
   makes those spans render inline-block at ~50% width. Weddings/Events
   only load the modern gform theme CSS, which has no rule for this
   legacy markup at all, so their spans fall back to plain unstyled
   inline elements - each one wide enough (from the generic input
   styling) to force the second onto its own line, i.e. First/Last
   stack instead of sitting side by side.
   Rather than patch the two broken pages only (leaving them dependent
   on whichever stylesheet WordPress happens to enqueue there), this
   rule applies one flex-based layout unconditionally wherever the
   field appears, so all three forms behave identically regardless of
   that enqueue inconsistency. The !important on width/display is
   needed to reliably beat legacy formsmain.min.css's own
   `.gf_name_has_2 span{width:49.75%!important}` on Contact, where that
   stylesheet is present and would otherwise still apply. */
.gform_wrapper .ginput_complex.ginput_container--name {
  display: flex !important;
  gap: 16px; /* Gravity Forms' own established token - matches legacy
    formsmain.min.css's padding-right:16px name-field spacing hack, and
    the grid-row-gap:16px in its (unused here) modern grid CSS */
  width: auto !important;
}

.gform_wrapper .ginput_complex.ginput_container--name .name_first,
.gform_wrapper .ginput_complex.ginput_container--name .name_last {
  display: block !important;
  width: auto !important;
  flex: 1;
  padding-right: 0 !important;
  margin-right: 0 !important;
}

/* Side-by-side is cramped once the shared form column narrows to
   mobile widths (each field would be roughly (100% - 16px)/2 wide,
   ~150-160px in this form's actual column) - stacked full-width reads
   more usably there, same 767px breakpoint used site-wide elsewhere
   (e.g. the content-filter component above). */
@media (max-width: 767px) {
  .gform_wrapper .ginput_complex.ginput_container--name {
    flex-direction: column !important;
    gap: 16px; /* vertical gap between the now-stacked fields - same token as the horizontal gap above */
  }
}

/* Name field is now wrapped in a semantic <fieldset>/<legend> for screen-reader
   grouping (WCAG 1.3.1, task 27696186). Neutralise the browser's default
   fieldset border/margin/padding and min-width so the wrapper is visually
   transparent and the inner .ginput_complex flex row above is unaffected; the
   <legend> keeps the former label's .gfield_label_before_complex styling, we
   only undo the UA legend padding and its special auto-sizing. Prefixed with
   `body` to win over site.css on source order (loads first). */
body .gform_wrapper fieldset.mmm-name-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

body .gform_wrapper fieldset.mmm-name-fieldset > legend.gfield_label_before_complex {
  display: block;
  width: 100%;
  padding: 0;
  float: none;
}

/* ==========================================================================
   Content filter "no results" empty state (What's On / Blog)
   ========================================================================== */

/* Fixed 70px height regardless of screen size, per explicit request -
   not scaled with the rest of this component's fluid conventions.
   Hidden by default; content-filter.js toggles [hidden] off in place of
   the card grid (not stacked below it) whenever the active tab+month
   combination matches zero items. */
.content-filter__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 70px;
  background-color: #fff;
}

.content-filter__empty[hidden] {
  display: none;
}

.content-filter__empty__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #161412; /* standard site text black */
}

.content-filter__empty__text {
  font-family: "Tenon Regular";
  font-size: 16px;
  color: #161412;
}

/* ==========================================================================
   Homepage info strip (Opening Today / Ticket Prices / Find Us)
   Sits between the hero and "Explore the Museum". Fluid sizing follows
   the site's established 1920px-baseline convention: vw rates scoped
   to >=1920px, with the value each evaluates to AT 1920 held flat as
   the base for the whole <1920px range - avoiding the "unconditional
   vw down to 1280, then a mismatched frozen value" jump bug fixed
   elsewhere in this file.
   ========================================================================== */

.info-strip__sec {
  padding-top: 44px; /* 40px + 10% */
  padding-bottom: 44px;
}

@media (min-width: 1920px) {
  .info-strip__sec {
    padding-top: 2.29167vw; /* 44px @1920 */
    padding-bottom: 2.29167vw;
  }
}

/* Left edge deliberately matches "Explore the Museum"'s own heading
   (.slider__copy__heading, in the section directly below), rather
   than using the generic .container gutter - that heading isn't
   positioned via any reusable "grid" class at all: it's the
   side-effect of .slider__copy (a percentage-width column,
   36.833% at this tier) containing .slider__copy__inner (a
   fixed-474px box right-aligned via margin-left:auto), so its actual
   left inset is (copy's % of viewport) minus (474px), not a flat
   value. Empirically confirmed by measuring .slider__copy__heading's
   own rendered left position directly (not by reading the CSS
   percentages alone, since percentage/vw math don't round the same
   way against a scrollbar-bearing viewport) at each of its own
   breakpoints - which don't line up with this site's usual
   1920/1279/991/767 tiers, but 1920/1440/1279/991 instead:
     >=1441px: calc(36.833% - 474px)      - matches .slider__copy__inner's fixed-474px tier
     1280-1440px: calc(36.833% - 32vw)    - matches its width:32vw tier
     992-1279px: 30px flat                 - matches its 1279px AND 1199px tiers (both resolve to 30px)
     <=991px: 15px flat                    - matches its 991px tier straight through to mobile
   Percentage (not vw) is used for the "36.833%" term specifically
   because .slider__copy's own width is a % of its (unpadded,
   full-bleed) parent - vw would resolve against the raw viewport
   instead, off by the scrollbar's width. */
/* padding-right mirrors padding-left's exact formula (not .container's
   plain gutter) so the row sits symmetrically in the viewport - the
   left value alone matches "Explore the Museum"'s heading position,
   but using it on the left only (with a small plain gutter on the
   right) made the whole row read as pushed toward the right edge:
   227.66px of space on the left @1920 vs just 45px on the right. */
.info-strip__container {
  padding-left: calc(36.833% - 474px);
  padding-right: calc(36.833% - 474px);
}

@media (max-width: 1440px) {
  .info-strip__container {
    padding-left: calc(36.833% - 32vw);
    padding-right: calc(36.833% - 32vw);
  }
}

@media (max-width: 1279px) {
  .info-strip__container {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 991px) {
  .info-strip__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Divider lives here (not on .info-strip__sec, which spans the full
   viewport) since .info-strip already sits inset inside
   .info-strip__container's padding, i.e. it's already exactly the
   content width - no need to duplicate that container's left/right
   grid-offset formula just to draw a border at the same edges. */
.info-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid #D8D5CC;
}

@media (min-width: 1920px) {
  .info-strip {
    padding-bottom: 1.25vw; /* 24px @1920 */
  }
}

.info-strip__item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  text-decoration: none;
  color: #161412;
  padding: 0 24px;
}

@media (min-width: 1920px) {
  .info-strip__item {
    gap: 0.83333vw; /* 16px @1920 */
    padding: 0 1.25vw; /* 24px @1920 */
  }
}

.info-strip__item:first-child {
  padding-left: 0;
}

.info-strip__item:last-child {
  padding-right: 0;
}

/* Divider between items, not before the first one. */
.info-strip__item:not(:first-child) {
  border-left: 1px solid #D8D5CC;
}

.info-strip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: #161412;
}

.info-strip__icon svg {
  width: 100%;
  height: 100%;
}

@media (min-width: 1920px) {
  .info-strip__icon {
    width: 1.66667vw; /* 32px @1920 */
    height: 1.66667vw;
  }
}

.info-strip__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* 16px, matching .acc__time's exact size/pattern - the smallest size
   actually reused elsewhere on the site for this kind of small
   body/UI text, rather than the previous 14px (a one-off found in no
   other component). */
.info-strip__label {
  font-family: "Tenon Regular";
  font-size: 16px;
  /* WCAG 1.4.3 Contrast (Minimum) - task 27692569 scan. The previous
     #6D6D6D on body bg #EDEDED measured 4.41:1, just below the 4.5:1
     threshold. Darkening to #636363 yields 5.46:1 - still reads as the
     same muted secondary grey (L* delta ~4) but passes AA. */
  color: #636363;
  line-height: 1.2;
}

@media (min-width: 1920px) {
  .info-strip__label {
    font-size: 0.83333vw; /* 16px @1920, scales up only past 1920 - same as .acc__time */
  }
}

/* Reuses the established --eyebrow-size-* token directly (not just its
   1920 literal), so this stays in sync with every other eyebrow-tier
   element (.ic__sub-heading, .slider__copy__sub_heading, etc.) if that
   token is ever updated centrally. */
.info-strip__value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Tenon Bold";
  font-size: var(--eyebrow-size-1279); /* 20px - the flat value for the whole <1920px range */
  color: #161412;
  line-height: 1.2;
}

@media (min-width: 1920px) {
  .info-strip__value {
    font-size: var(--eyebrow-size-1920); /* 22px @1920 */
    gap: 0.41667vw; /* 8px @1920 */
  }
}

@media (max-width: 767px) {
  .info-strip__value {
    font-size: var(--eyebrow-size-767); /* 18px */
  }
}

/* Arrow is reserved space (not display:none) so it doesn't shift the
   value text sideways when it appears - just fades/slides in on
   hover, matching the "Learn More" arrow already used on activity
   cards elsewhere on the site (.cg__card__arrow), reused here as an
   inline SVG rather than that class directly, since here it needs to
   be hover-revealed rather than always visible. */
.info-strip__arrow {
  width: 28.8px; /* 16 -> 24 -> 36 -> -20%: 28.8 */
  height: 16.2px; /* 9 -> 13.5 -> 20.25 -> -20%: 16.2 */
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.info-strip__item:hover .info-strip__arrow,
.info-strip__item:focus-visible .info-strip__arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 767px) {
  .info-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .info-strip__item {
    padding: 0;
    border-left: none !important;
    border-top: 1px solid #D8D5CC;
    padding-top: 20px;
  }

  .info-strip__item:first-child {
    border-top: none;
    padding-top: 0;
  }
}

/* .ic__sec / .ic__row component (image + copy, two-column) site-wide -
   every instance, not just the homepage "Family Visits" block: reduced
   from 951px to 750px at the 1920px baseline.

   This component's height is NOT driven by the copy column at all - it's
   driven by the IMAGE column, which site.css forces into a perfect square
   via .ic__img__item's own width (the classic padding-top:100% aspect-
   ratio trick on its ::after pseudo-element), then .ic__row's default
   flex align-items:stretch (site.css sets no explicit align-items,
   which computes to "normal" -> stretch for a flex container) stretches
   the copy column to match that square's height. Confirmed empirically
   on the homepage instance: forcing the copy content down to 1px left
   the row's height completely unchanged, proving the image square - not
   the text - is the actual constraint.

   Unconditional (no breakpoint split): 39.0625vw resolves to exactly
   750px at 1920px and scales continuously and proportionally at every
   width above and below that, including <1280px where .ic__copy/.ic__img
   stack to full width instead of sitting side-by-side - a flat-below/
   vw-above split would reintroduce the exact "fixed at one breakpoint"
   problem this replaces.

   SECOND ROUND FIX: a hard `height` here doesn't grow if the copy
   column's own content needs more room than 39.0625vw gives (confirmed
   at 1024px on "Family Visits" - copy text bled past the image's
   height instead of the row growing to fit both). Switched to
   min-height (the floor - guarantees the 750px@1920 proportional size
   is never smaller than that) plus height:100% (fills whatever .ic__img
   - the actual flex item, sibling to .ic__copy - ends up stretched to by
   the row's own cross-size, which is driven by whichever column's
   content is taller). Net effect: image stays at the proportional
   39.0625vw size whenever copy fits inside it (matching every previously
   verified width), and grows to match copy's own height instead of
   leaving copy to overflow past it on the rare instance where copy needs
   more room than that. */
.ic__img__item:after {
  display: none;
}

.ic__img__item {
  min-height: 39.0625vw;
  height: 100%;
}

/* ==========================================================================
   "Other Related Events" carousel (event detail pages): reuses the site's
   card_slider carousel shell/mechanics (.slider__sec, .slider__copy,
   arrows, dots - all styled already by the rules above/below, no changes
   needed there), but its slides are the What's On page's own .cg__item/
   .cg__card cards, transplanted and rendered here exactly as-is by
   other-related-events.js - not the card_slider component's native
   .slider__slide markup. See that file for the fetch/selection logic.
   ========================================================================== */

/* This section is placed inside the event page's own article body copy
   (.page-content__inner, inside .container--small, max-width:990px) -
   the same narrow "readable prose" column as the surrounding text, unlike
   its origin (the homepage/cross-sell "Explore the Museum" card_slider),
   which is always a top-level section with no such wrapper and renders
   essentially edge-to-edge (measured ~1905px wide at a 1920px viewport,
   left edge at 0 - .slider__container itself has no max-width of its
   own, so it simply fills whatever width its ancestor gives it). Left
   as-is, this section would inherit that 990px cap instead and render
   badly cramped compared to where it was fashioned from.

   Standard full-bleed breakout: makes this section span the full
   viewport width regardless of its narrow parent, while everything
   else in the article - the text before and after it - stays exactly
   as narrow as it already is; only this one element's box is affected,
   not the container it sits inside (that container still has plenty of
   descendants to constrain outside of this rule's selector). Safe
   against the sub-pixel 100vw-vs-scrollbar mismatch this technique can
   introduce: the grandparent theme already sets overflow-x:hidden
   site-wide. */
.section-other-related-events {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* .cg__item's own width:33.33% (site.css) only means anything inside its
   native .cg__row flex context (dividing three-per-row). As a slick slide
   here (variableWidth:true, like every other card_slider instance)
   there's no such row to divide, so it needs its own explicit width -
   sized to roughly match .cg__item's own natural rendered width in its
   native context (~480px @1920, i.e. 25vw), continuing the same
   floor-plus-vw formula used everywhere else in this file rather than a
   flat breakpoint ladder.

   Descendant selector, not a direct-child one: slick.js wraps every
   original child of .slider in its own .slick-track > .slick-slide
   structure once it initialises, so .cg__item is no longer a direct
   child of .slider by the time this needs to apply - a `>` combinator
   here would silently never match post-init, leaving the card at its
   native (and here meaningless, since there's no .cg__row) 33.33%. */
.other-related-events .slider .cg__item {
  width: max(300px, 25vw);
}

/* Root cause of the yellow dots bug reported in the carousel navigation:
   site.css has a generic rule for plain bullet lists inside article body
   copy - ".page-content ul:not(.site-footer__sl__social) li:after" -
   which paints a solid #F3B100 (brand yellow) 12x12px circle behind
   every <li> in any <ul> under .page-content, specifically excluding
   only the footer social icon list. It was never written with slick's
   own dynamically-generated dot list in mind. #other_related_events
   lives inside .page-content (the event page's article body wrapper) -
   its own full-bleed width fix only changes its visual box, not its
   place in the DOM - so slick's .slick-dots <ul> inherits this bullet
   styling too, rendering as a yellow circle peeking out from behind
   each dot. This was never a duplicate Slick init or a second dot
   system; it's one dot list with an unrelated decorative pseudo-element
   bleeding in from a completely different component. Neutralising it
   here rather than editing the site.css rule itself, since that rule is
   correctly serving its actual purpose (real bullet lists in article
   copy) everywhere else it applies.

   !important needed: site.css's own selector
   (.page-content ul:not(.site-footer__sl__social) li:after) resolves to
   higher specificity than a plain .page-content .slick-dots li:after
   override (three element-level selectors - ul, li, :after, the :not()
   argument counting as a class - versus this rule's two), so a
   same-or-lower-specificity override here would silently lose despite
   loading later, exactly like the h5 margin leak found earlier. */
.page-content .slick-dots li:after {
  display: none !important;
}

/* Hero decorative shape divs carry a background-image SVG with white stroke
   lines. Those SVG files are missing on staging (404), so the shapes are
   invisible there. Hide them here to match. */
.hero__item__shape-right,
.hero__item__shape-left {
  display: none !important;
}

/* Slider card and copybg backgrounds for new brand colour names.
   site.css only defines .red/.orange/.green/.purple/.yellow variants;
   the new wine/plum/navy/forest class names have no background-color
   anywhere else, so these rules are required for the card colours to show. */
.slider__slide-link.wine  { background-color: #781041; }
.slider__slide-link.plum  { background-color: #5A305E; }
.slider__slide-link.navy  { background-color: #013A57; }
.slider__slide-link.forest { background-color: #203A1D; }

.copybg.wine   { background-color: #781041; }
.copybg.plum   { background-color: #5A305E; }
.copybg.navy   { background-color: #013A57; }
.copybg.forest { background-color: #203A1D; }

/* Button colour corrections: dev site.css uses #e00076 (bright pink) and
   #fdb933 (bright yellow) — staging site.css uses #9A1356 and #EAAC00.
   Two different compiled versions; overriding here to match staging. */
.btn,
.gform_wrapper .gform_footer .gform_button {
  background-color: #9A1356;
  color: #fff; /* near-black on #9A1356 is only 2.3:1; white gives 8.1:1 */
}

.btn--yellow {
  background-color: #EAAC00;
  color: #161412; /* dark text on light yellow background */
}


/* "wine" button colour modifier (the accordion's "Book Now"/"What's On"
   buttons): reuses the site's existing .btn (same padding/size/typeface as
   every other button), pulling the exact "wine" (#781041) already established
   elsewhere (.slider__slide-link.wine, .copybg.wine) rather than the default
   .btn magenta or a new one-off colour. General/unscoped, matching the same
   convention as the theme's own .btn--yellow - reusable on any .btn anywhere,
   not just inside the accordion.

   It must sit below the .btn correction above: staging's site.css already
   ships #9A1356 so staging needs no correction and its .btn--wine wins on
   source order alone, but on dev the correction rule is in this same file and
   is also a single class, so a .btn--wine declared earlier would lose to it
   and the buttons would render magenta. */
.btn--wine {
  background-color: #781041;
}

/* ==========================================================================
   Accessibility fixes
   ========================================================================== */

/* Desktop dropdown — keyboard navigation.
   .kb-focus is managed by custom.js. Selector mirrors the existing hover rule
   (.primary-menu li, not > li) so specificity is identical and source order
   in this file wins over style.css. */
.primary-menu li.menu-item-has-children.kb-focus > ul {
  right: 0;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .15s linear, transform .15s linear;
}

/* FAQ accordion — button reset.
   module-accordion.php now renders .acc__title as a <button> for keyboard
   and screen-reader operability. Reset browser button defaults so the
   visual appearance stays identical to the previous <div>. */
button.acc__title {
  background: none;
  border: none;
  padding: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* WCAG 1.4.11 non-text contrast fixes — task 27694851.
   (1) Newsletter checkbox checkmark: yellow (#F3B100) tick on white box = 1.88:1.
       Override border-color to near-black for 19.7:1.
       "body" prefix matches site.css specificity so source order wins. */
body .nl .ginput_container input[type=checkbox]:checked + label:before {
  border-color: transparent #161412 #161412 transparent;
}

/* (1b) Newsletter checkbox BOX border: white (#fff) on the gold panel
       (#EAAC00) = 2.0:1. Override to near-black for a ~9.5:1 identifiable
       boundary — mirrors the #gform_2 contact-form treatment. Both states
       (checked and unchecked) so the box is identifiable either way.
       Border width/style (2px solid) unchanged — colour only, no layout shift. */
body .nl .ginput_container input[type=checkbox]:checked + label:after,
body .nl .ginput_container input[type=checkbox]:not(:checked) + label:after {
  border-color: #161412;
}

/* (2) Top-bar close button: dark X on white circle (default) and on yellow hover.
       SVG element has fill="none" which overrides the path's own fill="#54534A".
       White hover state (site.css) = 1.84:1 — both states fixed to near-black. */
.top-bar .bar-close svg path,
.top-bar .bar-close:hover svg path {
  fill: #161412 !important;
}

/* (2b) The close button renders as a blank white ellipse with NO X visible:
       the global `button { padding:1.1em 1.44em }` reset in site.css inflates
       the 26px circle and collapses its content box to ~0, so the flex-child
       <svg> shrinks to 0x0 and the dark X never paints. Zero the padding to
       restore the circle (site.css keeps its own 26/22px responsive sizing)
       and pin the SVG box so the X renders at every breakpoint. Task 27694851. */
.top-bar .bar-close {
  box-sizing: border-box;
  padding: 0;
}
.top-bar .bar-close svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

/* WCAG 1.2.1 text alternative for the decorative hero video — task 27694856.
   The <video> itself is aria-hidden="true" (purely decorative background).
   The sibling <p class="visually-hidden"> gives screen readers a short text
   identification of the content. Standard visually-hidden utility. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* WCAG 2.4.7 Focus Visible — task 27694855 (supersedes the custom
   .btn ring from 27695717). Fiona found the custom currentColor ring
   too low-contrast on some buttons (e.g. "Book Now") and asked us to
   drop all custom focus styling and let the browser draw its native
   ring. The custom .btn:focus-visible rule is removed; the native ring
   is reinstated globally below (see outline: revert). */

/* Desktop primary nav dropdown toggle — WCAG 2.1.1 keyboard access.
   Task 27694848: per Fiona's spec, each parent <li.menu-item-has-children>
   gets a sibling <button class="dropdown-toggle"> injected by custom.js.
   Visually hidden by default so mouse users see no change (hover still
   reveals the dropdown via existing CSS). On keyboard focus the button
   becomes visible with an outline so sighted keyboard users can see it
   before activating. The parent <li> is already position:relative so
   this absolute positioning anchors inside its padding-right slot. */
.primary-menu .dropdown-toggle {
  position: absolute;
  right: -0.03em;
  top: 50%;
  width: 1em;
  height: 1em;
  transform: translateY(-50%);
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  /* Button sits on top of the existing CSS-drawn chevron (<span class="icon">).
     The chevron shows through because the button has no content and a
     transparent background. On keyboard focus the button's outline wraps the
     chevron area, so visually the chevron itself appears focused.
     pointer-events: none keeps mouse users on the existing hover behaviour
     (no accidental click-toggles over the chevron area). */
  pointer-events: none;
  z-index: 2;
}

/* Keeps the keyboard activation (pointer-events) from task 27694848;
   the custom white outline is removed — native ring reinstated below. */
.primary-menu .dropdown-toggle:focus-visible {
  pointer-events: auto;
}

/* WCAG 2.4.7 Focus Visible — task 27694855.
   site.css applies `outline: 0` to .btn, form inputs/textarea, the GF
   submit button (.gform_wrapper .gform_footer .gform_button, 3 classes),
   the footer newsletter input, nav toggles and the slider arrow/dot
   buttons, stripping the browser's native keyboard focus indicator. Per
   Fiona we add NO custom ring of our own; instead we reinstate the
   user-agent default ring with `outline: revert` on :focus-visible
   (keyboard focus only, matching native behaviour). `!important` is
   required because several of those `outline: 0` selectors are
   multi-class (e.g. the GF submit button and slider arrows) and would
   otherwise outrank this rule on specificity — a non-important
   `outline: 0` can never beat an `!important` declaration. */
:focus-visible {
  outline: revert !important;
  outline-offset: revert !important;
}

/* The GF text inputs and the footer newsletter input zero their outline
   with their OWN !important and high specificity, so the rule above (also
   !important but low specificity) still can't reach them — re-assert the
   native ring on those specific controls with matching-or-higher
   specificity + !important. */
.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus-visible,
.gform_wrapper textarea:focus-visible,
body .nl__right .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container input:focus-visible {
  outline: revert !important;
  outline-offset: revert !important;
}

/* WCAG 2.4.7 Focus Visible — task 27694855, GF consent checkbox.
   The real <input type=checkbox> is opacity:0 / absolutely positioned
   (site.css), with the VISIBLE box drawn by the label's ::after pseudo.
   A native focus ring therefore lands on the invisible input and never
   shows, so keyboard focus on the checkbox is undetectable. Since a
   native ring can't be shown on an opacity:0 control, we draw the focus
   indicator on the visible proxy (::after). Colour matches the browser's
   native focus ring (Chrome -webkit-focus-ring-color = rgb(0,95,204)) so
   the checkbox reads consistently with every other control's native ring.
   Non-text contrast vs the surrounds the box sits on: white (contact/
   weddings gform_2) = 5.99:1 (passes); gold #EAAC00 (newsletter gform_1)
   = 2.96:1 (marginally under 3:1 — same as the native ring already shown
   on that panel's other fields; kept for consistency per request). The
   label is overflow:hidden (would clip the ring), so it's set visible only
   while focused. Higher specificity than the base label rule, so no
   !important needed. Generic selector covers every consent checkbox
   site-wide. */
.ginput_container input[type=checkbox]:focus-visible + label {
  overflow: visible;
}
.ginput_container input[type=checkbox]:focus-visible + label::after {
  outline: 3px solid rgb(0, 95, 204);
  outline-offset: 2px;
}

/* WCAG 2.5.8 Target Size (Minimum) — task 27694861.
   Slick dot pagination buttons are 12-16px (and get scaled smaller by
   custom.js when there are more dots than the reference). The visible
   dot stays as designed; a transparent ::before expands the hit area
   to a centred 24x24 CSS pixels. Covers hero, card/meet-team/latest-
   blog sliders (.slider__controls-dots) and the gallery slider. */
.hero .slick-dots li button,
.slider__controls-dots .slick-dots li button,
.gallery__slider .slick-dots li button {
  position: relative;
}

.hero .slick-dots li button::before,
.slider__controls-dots .slick-dots li button::before,
.gallery__slider .slick-dots li button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
}

/* Mobile hamburger menu .sub-menu-toggle is 18x13px. The button is
   already position:absolute (top:50% + translateY), so a ::before on
   it anchors here. Visible chevron SVG unchanged; hit area becomes
   a centred 24x24. */
.menu-modal .sub-menu-toggle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
}

/* Hero slider prev/next arrows are 30x18 at smaller breakpoints
   (51x29 on wide desktop, so no-op there). Same centred ::before
   pattern — visible SVG arrow unchanged. */
.hero .slick-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
}

/* Top-bar close X is 22x22 at smaller breakpoints (26x26 on wide
   desktop, so no-op there). .bar-close is position:absolute per
   site.css. Visible white circle + inner X unchanged. */
.top-bar .bar-close::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
}

/* Footer social icon links are ~25px wide at 1920 and auto-sized
   smaller elsewhere — borderline for 2.5.8. Belt-and-braces: give
   each a guaranteed 24x24 hit area via a ::before. */
.site-footer__sl__social li a {
  position: relative;
}

.site-footer__sl__social li a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
}

/* WCAG 2.5.8 Target Size - task 27692569 scan.
   Three interactive controls still measured < 24x24 after prior passes
   because axe inspects the element's own bounding box, not the ::before
   hit-area trick used nearby. Enlarge the elements directly. */

/* Desktop primary-nav dropdown toggle: the button is invisible by default
   with pointer-events:none; it only activates on :focus-visible (keyboard).
   Growing it to 24x24 therefore has no mouse-visible effect - it just
   enlarges the focus ring when a keyboard user tabs onto it, which is
   itself a usability win. min-* wins over the existing width:1em/height:1em. */
.primary-menu .dropdown-toggle {
  min-width: 24px;
  min-height: 24px;
}

/* Footer social icons (Facebook/Instagram/YouTube): the anchors wrap small
   SVGs (~19x19). The existing ::before 24x24 pattern doesn't change the
   anchor's bounding box, so axe still fails. Enlarge the anchor directly
   and centre the SVG inside with inline-flex. */
.site-footer__sl__social li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
}

/* Footer bottom-menu links (Privacy Policy / Cookie Policy / Ticket Policy /
   Accessibility Statement / Sitemap): small 13.5px text at ~20px row height.
   Bump the line-box to 24px so each link's clickable height passes 2.5.8.
   Text size and colour unchanged; row grows by 4px vertically. */
.site-footer__fb__menu .menu-item > a {
  display: inline-block;
  min-height: 24px;
  line-height: 24px;
}

/* WCAG 1.4.3 Contrast (Minimum) - task 27692569 scan.
   The "Admission" CTA accordion (module-cta.php with custom_class="admission")
   paints a dark plum background (#161412) via a .cta__bg sibling, but the
   sub-head and card titles still inherit the default black text colour -
   contrast ratio 1.14:1, effectively invisible. Switching to white matches
   the white "ADMISSION & OPENING HOURS" h2 above and the body text below.
   Scoped tightly to .cta.admission - the only context where this wrapper
   sits over the dark bg. Affects 6 pages: Plan Your Visit, Explore,
   Witchcraft, Medieval Mile Trail, Exhibitions, About Us. */
.cta.admission .cta__sub-head__title,
.cta.admission .acc__card__title {
  color: #ffffff;
}

/* Newsletter block: client-requested darker red for the "(Required)" tag on
   Gravity Forms fields. Scoped to .nl__right (the form side of the newsletter
   section) so the contact/weddings forms keep their default red. Specificity
   needs to clear Gravity Forms' own .gform_wrapper.gravity-theme .gfield_required
   rule (0,0,3,0), so three class selectors here. Covers both the current
   .gfield_required_text child span and the legacy single-span .gfield_required
   markup. */
.nl__right .gform_wrapper.gravity-theme .gfield_required,
.nl__right .gform_wrapper.gravity-theme .gfield_required_text {
  color: #8d1d04;
}

/* === Target Size (Minimum) — WCAG 2.2 SC 2.5.8, task 27694861 ===
   Two main-navigation controls had hit areas under 24x24px. Visible text size
   is unchanged; only the clickable box grows.
   (a) Desktop top-level nav links were 19px tall (line-height only, zero
       vertical padding). site.css sets padding:0 on them with a deep 6-class
       selector, so we mirror that exact chain + a `body` prefix to win on
       specificity, and add 4px top/bottom -> ~27px hit area.
   (b) Mobile sub-menu expand carets (.sub-menu-toggle) were 18x13px -> 24x24. */
body .header-footer-group .header-inner .header-navigation-wrapper .primary-menu-wrapper .primary-menu > .menu-item > a {
  padding-top: 4px;
  padding-bottom: 4px;
}
body .primary-menu-wrapper .sub-menu-toggle,
body .mobile-menu .sub-menu-toggle {
  min-width: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Gravity Forms validation summary — WCAG 3.3.1 (task 27696504)
   ========================================================================== */

/* The compiled theme (site.css) hides GF's validation-errors summary globally
   with `.gform_validation_errors { display: none }`, so on a failed submit the
   per-field error summary GF renders above the form (now enabled server-side in
   inc/a11y.php via validationSummary) stayed invisible — the reviewer asked for
   it to be visible above the form. Reveal it. The container is only present in
   the DOM when a submission actually fails, so this never shows an empty banner.
   Prefixed with `body` to beat site.css on source order (brand-redesign.css
   loads after it). The newsletter widget's own stronger-specificity rule
   (`body .nl__right .gform_wrapper .gform_validation_errors { display:none }`)
   still wins there, so that compact form is deliberately left unchanged. */
body .gform_wrapper .gform_validation_errors {
  display: block;
}

/* === Target Size (Minimum) — WCAG 2.2 SC 2.5.8, task 27694861 (full-site pass) ===
   Follow-up to the main-nav fix: remaining sub-24px controls found in a
   full-site sweep. `body`-prefixed to beat site.css; visible graphics
   preserved, only hit areas grow. Skip-link (hidden until focus), OneTrust
   cookie banner (third-party) and inline body-text links are left alone. */

/* A) Footer sitemap sub-menu links were 20px tall (site.css sets padding:0). */
body .site-footer__col .menu .menu-item .sub-menu > .menu-item > a {
  padding-top: 3px;
  padding-bottom: 3px;
}

/* B) Listing filter tabs (.content-filter__tab) were 22px tall; the short
   "All" label was also under 24px wide. */
body .content-filter__tab {
  min-height: 24px;
  min-width: 24px;
}

/* C) Carousel dots (slick) render ~12px. The visible dot is the button's own
   border + background, so padding the button made the dot itself 30px
   (fixed 2026-11-17). Instead, a transparent, centred 24x24 ::before
   extends only the clickable area, as the hero/slider/gallery rule above
   does, here applied to every slick dot site-wide. Dots sit 24px apart, so
   the 24px targets don't overlap (WCAG 2.5.8). */
body .slick-dots li button {
  position: relative;
}
body .slick-dots li button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
}

/* D) Slider arrows: the gallery-slider arrows were 36x19 (homepage slider
   arrows are already 34x34). Keep the arrow graphic in its content box and add
   transparent vertical hit area to reach >=24px tall; !important beats the
   per-slider height/padding rule. */
body .slick-arrow {
  box-sizing: content-box;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

/* E) ".btn-link--pink" learn-more link was 22px tall on mobile. */
body a.btn-link--pink {
  padding-bottom: 4px;
}

/* === Target Size (Minimum) — WCAG 2.2 SC 2.5.8, task 27694861 (iteration 3) ===
   The reviewer's tool (Accessibility Outliner) measures each element's OWN
   bounding box, not the ::before hit-area overlays added in earlier passes, so
   two controls kept getting flagged despite already having a 24px functional
   hit area. Grow the ELEMENTS themselves to >=24x24.

   F) Top-bar "Close announcement" X: site.css sizes it 26x26 on wide desktop
      but 22x22 at <=600px. min-width/height promote the small-breakpoint box to
      24 (min wins over site.css's width/height:22px) without shrinking desktop.
      `.top-bar .bar-close` (0,2,0) beats site.css `.bar-close` (0,1,0). The
      existing 24x24 ::before overlay is now redundant but harmless. */
.top-bar .bar-close {
  min-width: 24px;
  min-height: 24px;
}

/* G) Footer contact email/tel links were 23px tall (1px under) on desktop —
      each sits alone on its own line (separated by <br>), so the 2.5.8 inline
      exception is borderline. Give each a 24px line-box so the element passes
      outright. Visible text size/position unchanged. */
.site-footer__copy a[href^="mailto:"],
.site-footer__copy a[href^="tel:"] {
  display: inline-block;
  line-height: 24px;
}

/* === Target Size (Minimum) — WCAG 2.2 SC 2.5.8, task 27694861 (iteration 3b) ===
   Reviewer's Accessibility Outliner flags each element's OWN box. Two more
   *visible* interactive elements were under 24px:

   H) Gravity Forms consent checkboxes. site.css renders the real
      <input type=checkbox> at opacity:0 + 13x13 (position:absolute) and draws
      the visible 26x26 box with a label::after pseudo — but the plugin measures
      the invisible <input>, not the pseudo, so it reads 13x13. Size the input
      itself to 24x24: still invisible (opacity:0 unchanged), but its box now
      passes AND the real native hit target grows. Applies to every GF consent
      checkbox site-wide (newsletter footer form + contact form). Same treatment
      for radios, which use the identical opacity:0 technique. More specific than
      site.css's `.ginput_container input[type=checkbox]`, so no !important. */
body .gform_wrapper .ginput_container input[type="checkbox"],
body .gform_wrapper .ginput_container input[type="radio"] {
  width: 24px;
  height: 24px;
}

/* I) Footer "Website by Granite Digital" credit link was 85x20. It is inline
      within a sentence (2.5.8 inline exception applies) but it is the only
      remaining *visible* control the Outliner flags in the footer, so give it a
      24px line-box to clear it. Text size/position unchanged. */
.site-footer__fb__copyright a {
  display: inline-block;
  line-height: 24px;
}

/* === Font swap follow-up (Nov 2026) ===
   1) Homepage hero spilling over the info strip at ~1281-1500px.
      style.css/site.css cap .section-hero > .hero at max-height:54.6875vw
      (the video's 1050/1920 aspect). The <=1280px override further up this
      file already lifts it, but above 1280px the cap still applied, so when
      .hero__item grew past it (WCAG padding-top + taller copy) the overflow
      painted over .info-strip__sec. Lift it at every width; .hero__item's own
      min-height still gives the hero its normal height when content fits.
   2) Desktop primary nav: brand guide puts nav in Tenon. site.css set it to
      Montserrat-Bold, which is the headline (Bartender) slot; point it at
      Montserrat-SemiBold, which loads Tenon Medium. Same selectors as
      site.css, so this later rule wins without !important. */
.section-hero > .hero {
  max-height: none;
}

.header-footer-group .header-inner .header-navigation-wrapper .primary-menu-wrapper .primary-menu > .menu-item > a,
.header-footer-group .header-inner .header-navigation-wrapper .primary-menu-wrapper .primary-menu > .menu-item .sub-menu .menu-item a {
  font-family: "Tenon Bold";
}

/* === Feature block supporting title (Nov 2026, designer: 26px @1440) ===
   .ic__heading-pink (Image + Content and Background Image + Content blocks)
   had no size of its own and inherited the bare h3 rung (48px @1440).
   Same two-point fluid formula as the h1-h4 rungs above, anchored at
   22px @767 and 26px @1440: slope = (26-22)/(1440-767) = 0.59435vw;
   intercept = 22 - slope*767 = 17.4413px. ~28.9px @1920, 22px floor on
   mobile. Class selector beats the bare h3 tag rule without !important. */
.ic__heading-pink {
  font-size: max(22px, calc(0.59435vw + 17.4413px));
}
