
.proof{--proof-ring:#fff;--proof-text:var(--color-neutral-100);--proof-sub:var(--color-neutral-60);display:flex;align-items:center;gap:12px}
.hero .proof,.mh-section--deep .proof,.proof--dark{--proof-ring:#002d3c;--proof-text:#fff;--proof-sub:#c9d6dc}
.proof--tint{--proof-ring:#cfe3ea}
.proof-avatars{display:flex;align-items:center}
.proof-avatar{width:36px;height:36px;border-radius:50%;border:2px solid var(--proof-ring);background:#1f5f86;color:#fff;font-size:12px;font-weight:var(--font-weight-bold,700);line-height:1;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}
.proof-avatar+.proof-avatar{margin-left:-10px}
.proof-avatar:nth-child(2){background:#2d7a99}
.proof-avatar:nth-child(3){background:#3a8fb0}
.proof-avatar:nth-child(4){background:#4aa3c2}
.proof-avatar:nth-child(5){background:#5fb4d1;color:#002d3c}
.proof-avatar p{margin:0!important;line-height:0;width:100%;height:100%}
.proof-avatar img{width:100%;height:100%;margin:0!important;padding:0!important;object-fit:cover}
.proof-text{display:flex;flex-direction:column;line-height:1.2;color:var(--proof-text)}
.proof-text strong{font-size:15px;color:var(--proof-text);font-weight:var(--font-weight-bold,700)}
.proof-text span{font-size:12px;color:var(--proof-sub)}
.sec-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:6px 24px;margin-bottom:10px}
.sec-head>div:first-child{display:flex;flex-direction:column;gap:4px;min-width:0;max-width:900px}
.sec-head span{color:var(--color-two-90)}
.sec-head h2{margin:0}
.sec-head h2,.sec-head p,.intent-heading{text-wrap:balance}
.sec-head a:not(.btn){color:var(--color-two-100);text-decoration:none;white-space:nowrap}
.sec-head a:not(.btn):hover{text-decoration:underline}
@media (min-width:600px){
  .sec-head{flex-wrap:nowrap}
}
@media (min-width:992px){
  .sec-head{margin-left:auto;margin-right:auto}
}
.sec-actions{display:flex;flex-wrap:wrap;align-items:center;gap:5px 5px;margin-top:5px}
.sec-actions .btn{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:100%;margin:0;color:#fff!important;text-decoration:none}
.sec-actions .btn.btn-alt{background:transparent;box-shadow:inset 0 0 0 2px var(--color-two-100);border-color:transparent;color:var(--color-two-100)!important}
.sec-actions .btn.btn-alt:hover,.sec-actions .btn.btn-alt:focus{background:var(--color-two-100);color:#fff!important}
.sec-actions a:not(.btn){color:var(--color-two-100);text-decoration:none}
.sec-actions a:not(.btn):hover{text-decoration:underline}
.eyebrow,.mh-eyebrow{display:block;color:var(--color-tertiary-100,var(--color-two-100,#00779a));font-weight:700}
/* eyebrow--light: the eyebrow on a dark background (hero bands, the blue band, dark cards), in the light teal.
   Add it to the eyebrow on any page or component that sits on a dark background: class="eyebrow eyebrow--light". */
.eyebrow--light,.mh-eyebrow--light{color:#7fc4d6}


.mh{--mh-teal:var(--color-tertiary-100,var(--color-two-100,#00779a));--mh-teal-dark:var(--color-tertiary-110,var(--color-two-110,#18506d));--mh-tint:var(--color-tertiary-5,var(--color-two-5,#e8f1f4));--mh-ink:var(--color-neutral-100);--mh-muted:var(--color-neutral-60);--mh-line:var(--color-neutral-20);--mh-soft:var(--color-neutral-5);--mh-white:#fff;--mh-radius:12px;color:var(--mh-ink)}
.mh *,.mh *::before,.mh *::after{box-sizing:border-box}
.mh p{margin:0}
.mh h1,.mh h2,.mh h3{margin:0}
/* Width: .mh-inner copies the site's own .container (1230px, 15px sides, 20px below 1200px), so content
   lines up with the logo and breadcrumb whether or not the CMS wraps the block in a container.
   Grey and dark backgrounds run the full width of the screen, drawn behind the section. */
.mh-section{position:relative;isolation:isolate;padding:clamp(40px,6vw,64px) 0}
.mh-section--soft::before,.mh-section--deep::before,.mh-section--blue::before{content:"";position:absolute;top:0;bottom:0;left:50%;transform:translateX(-50%);width:calc(100vw + 2px);z-index:-1}
.mh-section--soft::before{background:var(--mh-soft)}
.mh-section--deep::before{background:var(--mh-teal-dark)}
.mh-section--deep{color:var(--mh-white)}
.mh-inner,.mh-nav__inner{box-sizing:border-box;width:100%;max-width:1230px;margin:0 auto;padding-left:15px;padding-right:15px}
@media (max-width:1199px){.mh-inner,.mh-nav__inner{padding-left:20px;padding-right:20px}}
.container .mh-inner,.container .mh-nav__inner{padding-left:0;padding-right:0}
.mh-lead{color:var(--mh-muted);max-width:60ch;text-wrap:pretty}
.mh-section--deep .mh-lead{color:var(--mh-white)}
.mh-stack{display:flex;flex-direction:column;gap:20px}
/* buttons: the site's own .btn / .btn.btn-bordered, laid out side by side with no stray margins */
.mh .btn{display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:100%;margin:0;text-decoration:none}
.mh-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding-top:10px;}
.mh-actions--center{justify-content:center}
/* mh-foot: a centred closing block under a table or grid (heading, a line of copy, buttons). Markup:
     <div class="mh-foot"><h3>…</h3><p class="mh-lead">…</p><div class="mh-actions">…</div></div>
   On the blue band the heading goes white and the lead the soft grey-blue. */
.mh-foot{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:720px;margin:clamp(32px,5vw,48px) auto 0;text-align:center}
.mh-foot .mh-lead{margin:0 auto}
.mh-foot .mh-actions{justify-content:center;padding-top:8px}
.mh-section--blue .mh-foot h3{color:var(--mh-white)}
/* numbered steps (mh-steps) on the blue band: light teal circles with dark numbers, step text in the soft grey-blue */
.mh-section--blue .mh-steps li::before{background:#7fc4d6;color:#002d3c}
.mh-section--blue .mh-steps strong{color:var(--mh-white)}
.mh-section--blue .mh-steps p{color:#c9d6dc}
.mh-section--blue .mh-foot .mh-lead{color:#c9d6dc}
.mh-actions .btn,.mh-actions .mh-btn{flex:0 0 auto}

/* ── LEGACY BUTTONS (mh-btn) ──────────────────────────────────────────────────────────────
   The membership pages are moving to the site's own buttons: class="btn" (solid) and
   class="btn btn-bordered" (outline). The Overview page already uses them. Pages still on
   mh-btn / mh-btn--ghost / mh-btn--block / mh-btn--line keep working with the styles below.
   Once every membership page has been switched over, delete this block (down to END LEGACY). */
.mh-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border:2px solid var(--mh-teal);border-radius:8px;background:var(--mh-teal);color:var(--mh-white)!important;font-weight:600;text-decoration:none!important;transition:background .15s,color .15s}
.mh-btn:hover,.mh-btn:focus-visible{background:var(--mh-teal-dark);border-color:var(--mh-teal-dark)}
.mh-btn--ghost{background:var(--mh-white);color:var(--mh-teal)!important}
.mh-btn--ghost:hover,.mh-btn--ghost:focus-visible{background:var(--mh-tint);color:var(--mh-teal-dark)!important}
.mh-btn--block{width:100%}
.mh-btn--line{background:transparent;border-color:var(--mh-white)}
.mh-btn--line:hover,.mh-btn--line:focus-visible{background:var(--mh-white);border-color:var(--mh-white);color:var(--mh-teal-dark)!important}
.mh-section--deep .mh-btn--ghost{background:var(--mh-white)}
.mh-door .mh-btn,.mh-panel .mh-btn{align-self:flex-start;margin-top:auto}
.mh-plan .mh-btn{margin-top:auto}
@media (max-width:599px){
  .mh-hero .mh-actions .mh-btn{width:100%}
}
/* ── END LEGACY BUTTONS ─────────────────────────────────────────────────────────────────── */
.mh-link{color:var(--mh-teal);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.mh-link:hover{color:var(--mh-teal-dark)}

/* hero: grey band (mh-section--soft) with the copy on the left and a cut-out photo on the right
   standing on the bottom edge of the band; on phones the photo sits under the copy and the
   buttons go full width. Add "mh-section--hero" to the hero section. CMS images come wrapped
   in <p> with inline spacing, so those are zeroed here. The photo works best as a PNG with the
   background removed. .mh-hero__card is the name badge at the bottom-right of the photo
   (logo image, role, name); it straddles the bottom edge of the band, half over the hero
   and half over the section below (z-index:1 on the hero keeps it on top). The avatars line
   above the heading is the shared "proof" component. */
.mh-section--hero{padding-bottom:0;z-index:1}
/* hero band, every screen size: dark teal gradient (top-left #013040 to bottom-right #04637F) instead
   of the grey, with the copy, proof line and lead in white. Buttons: both carry class="btn btn-bordered".
   The first (primary) is filled white with dark-teal text; the second is transparent and keeps the
   site's own btn-bordered border, with its text in the same colour as that border. The story strip
   underneath stays on the grey (--mh-soft). */
.mh-section--hero.mh-section--soft::before{background:linear-gradient(135deg,#013040 60%,#04637F 0%)}
.mh-section--hero .mh-hero__copy,.mh-section--hero .mh-hero__title,.mh-section--hero .mh-hero__copy .mh-lead{color:var(--mh-white)}
.mh-section--hero .mh-hero__copy .proof{--proof-ring:#013040;--proof-text:#fff;--proof-sub:#c9d6dc}
/* grade pages: the hero copy can also hold a tick list (mh-checks), a line of small print (mh-muted) and a
   text link (mh-link). On the dark band they go light: ticks in the light teal, small print in the soft
   grey-blue, links white and underlined. The eyebrow in the hero copy carries class "eyebrow eyebrow--light"
   (see SHARED); the story strip's eyebrow sits on the grey, so it stays the normal teal. */
.mh-section--hero .mh-hero__copy .mh-checks{color:var(--mh-white)}
.mh-section--hero .mh-hero__copy .mh-checks li::before{border-color:#7fc4d6}
.mh-section--hero .mh-hero__copy .mh-muted{color:#c9d6dc}
.mh-section--hero .mh-hero__copy .mh-link{color:var(--mh-white);text-decoration:underline;text-underline-offset:3px}
.mh-section--hero .mh-hero__copy .mh-link:hover{color:var(--mh-white);text-decoration-thickness:2px}
.mh-section--hero .mh-actions .btn.btn-bordered:first-child{background:var(--mh-white);border-color:var(--mh-white);color:var(--mh-teal-dark)}
.mh-section--hero .mh-actions .btn.btn-bordered:first-child:hover,.mh-section--hero .mh-actions .btn.btn-bordered:first-child:focus-visible{background:var(--mh-tint);border-color:var(--mh-tint);color:var(--mh-teal-dark)}
.mh-section--hero .mh-actions .btn.btn-bordered:not(:first-child){background:transparent;border-color:var(--mh-white);color:var(--mh-white)}
.mh-section--hero .mh-actions .btn.btn-bordered:not(:first-child):hover,.mh-section--hero .mh-actions .btn.btn-bordered:not(:first-child):focus-visible{background:rgba(255,255,255,.08)}
.mh-hero{display:flex;flex-wrap:wrap;align-items:stretch;gap:0 clamp(32px,5vw,64px)}
.mh-hero__copy{flex:1 1 420px;align-self:center;display:flex;flex-direction:column;gap:10px;padding-bottom:clamp(40px,6vw,64px)}
.mh-hero__title{max-width:26ch}
.mh-hero__media{position:relative;flex:1 1 340px;max-width:560px;margin:0 auto;align-self:flex-end;padding-top:8px}
.mh-hero__media p{margin:0!important;line-height:0}
.mh-hero__media>p>img,.mh-hero__media>img{display:block;width:100%;height:auto;max-width:100%;margin:0!important;padding:0!important;border-radius:0}
.mh-hero__card{position:absolute;right:0;bottom:0;transform:translateY(50%);display:flex;align-items:center;gap:14px;max-width:calc(100% - 16px);padding:10px 20px 10px 10px;border-radius:6px;background:linear-gradient(100deg,var(--mh-teal),var(--mh-teal-dark));color:var(--mh-white);box-shadow:0 10px 30px rgba(15,42,53,.2);line-height:1.3;border: 0.5px solid rgba(255,255,255,.2);}
.mh-hero__card img{display:block;flex-shrink:0;width:112px;height:56px;margin:0!important;padding:6px 10px;border-radius:4px;background:var(--mh-white);object-fit:contain}
.mh-hero__card span{display:block;opacity:.85}
.mh-hero__card strong{display:block;font-weight:700}
/* the avatars + "Join 4,000+ members" line is the shared "proof" component (see SHARED above):
   <div class="proof proof--tint"> ... </div> inside .mh-hero__copy; nothing extra is needed here */
@media (max-width:767px){
  .mh-hero__card{gap:10px;padding:8px 14px 8px 8px}
  .mh-hero__card img{width:96px;height:48px}
}
@media (max-width:599px){
  .mh-hero .mh-actions{flex-direction:column;align-items:stretch}
  .mh-hero .mh-actions .btn{width:100%}
}

/* hero member story: the quote from the person in the photo. It is the third child of .mh-hero,
   after .mh-hero__copy and .mh-hero__media:
     <div class="mh-hero__story"><span class="eyebrow">...</span><h2>...</h2>
       <p class="mh-hero__quote">"..."</p><cite class="mh-cite">...</cite></div>
   The quote is a plain paragraph with ordinary quotation marks typed in the text (not the site's
   blockquote style).
   A full-width grey strip under the hero band (the grey is drawn behind it, edge to edge),
   centred eyebrow + heading + quote + name. Its top padding clears the name badge, which
   hangs over the band edge. The photo column sits above the strip so the badge is never covered.
   Phones: same strip, same order (copy, photo, strip). */
.mh-hero__media{z-index:2}
.mh-hero__story{position:relative;isolation:isolate;order:3;flex:1 1 100%;display:flex;flex-direction:column;align-items:center;gap:16px;max-width:none;margin:0;padding:clamp(104px,12vw,144px) 0 clamp(56px,7vw,80px);text-align:center}
.mh-hero__story::before{content:"";position:absolute;top:0;bottom:0;left:50%;transform:translateX(-50%);width:calc(100vw + 2px);background:var(--mh-soft);z-index:-1}
.mh-hero__story .eyebrow{margin:0}
.mh-hero__story h2{max-width:28ch;text-wrap:balance;}
.mh-hero__story .mh-hero__quote{max-width:60ch;margin:8px auto;font-weight:500;font-style:italic;color:var(--mh-muted);text-wrap:pretty}
.mh-hero__story .mh-cite{font-weight:600;color:var(--mh-ink)}

/* two doors */
.mh-doors{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:32px}
.mh-door{display:flex;flex-direction:column;gap:14px;padding:28px;border:1px solid var(--mh-line);border-radius:var(--mh-radius);background:var(--mh-white)}
.mh-door__links{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.mh-door .btn{align-self:flex-start;margin-top:auto}

/* section heading row + cards (benefits, grades) */
.mh-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:32px}
.mh-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
.mh-card{position:relative;display:flex;flex-direction:column;gap:12px;padding:24px;border:1px solid var(--mh-line);border-radius:var(--mh-radius);background:var(--mh-white);transition:box-shadow .15s,transform .15s}
.mh-card:hover{box-shadow:0 8px 24px rgba(15,42,53,.08);transform:translateY(-2px)}
/* card picture: the first thing in the card, whether an image widget on its own (the CMS wraps it in <p>), a bare
   <img>, or an element carrying class mh-card__icon. It runs edge to edge across the top of the card, cropped to
   2:1, with the card's rounded corners. The !important rules override the widget's inline sizing. */
.mh-card>p:first-child:has(>img),.mh-card>img:first-child,.mh-card>.mh-card__icon,.mh-card>div:first-child:has(>p>img),.mh-card>div:first-child:has(>img){display:block;width:auto!important;height:auto!important;max-width:none;margin:-24px -24px 4px!important;padding:0!important;line-height:0;overflow:hidden;border-radius:calc(var(--mh-radius) - 1px) calc(var(--mh-radius) - 1px) 0 0;background:var(--mh-soft)}
.mh-card>div:first-child p{margin:0!important;padding:0!important;line-height:0}
.mh-card>p:first-child>img,.mh-card>img:first-child,img.mh-card__icon,.mh-card>.mh-card__icon img,.mh-card>div:first-child img{display:block;width:100%!important;height:auto!important;max-width:none;aspect-ratio:2/1;object-fit:cover;margin:0!important;padding:0!important;border-radius:0}
.mh-card>img:first-child,.mh-card>img.mh-card__icon{width:calc(100% + 48px)!important;margin:-24px -24px 4px!important;border-radius:calc(var(--mh-radius) - 1px) calc(var(--mh-radius) - 1px) 0 0}
.mh-card__body{color:var(--mh-muted)}
.mh-card__link{color:inherit;text-decoration:none}
.mh-card:hover .mh-card__link{color:var(--mh-teal)}
.mh-card__link::after{content:"";position:absolute;inset:0;border-radius:inherit}
.mh-grades{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin:28px 0}
.mh-center{display:flex;justify-content:center}

/* mh-title--center: a centred title block (eyebrow, heading, lead) */
.mh-title--center{align-items:center;text-align:center;max-width:720px;margin-left:auto;margin-right:auto}
.mh-title--center .mh-lead{margin-left:auto;margin-right:auto}
/* mh-title--split: eyebrow + heading on the left, lead on the right (Relume two-up). Stacks under 768px.
   Written as .mh-title.mh-title--split so it wins over the plain .mh-title rule further down the file. */
.mh-title.mh-title--split{align-items:flex-start;text-align:left;gap:12px;margin-bottom:40px}
@media (min-width:768px){
  .mh-title.mh-title--split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 64px;align-items:end;margin-bottom:56px}
  .mh-title.mh-title--split>div{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
  .mh-title.mh-title--split .mh-lead{max-width:52ch;margin:0}
  /* mh-title--top: both columns aligned to the top (for a right column taller than one paragraph) */
  .mh-title.mh-title--split.mh-title--top{align-items:start}
}

/* mh-ways: the "Seven ways to belong" grade cards, in three groups (mockup: Option D, Relume split rows).
   Markup (the membership home page):
     <div class="mh-ways">
       <div class="mh-tier">                                   one row per group, divided by hairlines
         <div class="mh-tier__head">                           left: eyebrow, group title, one line, meta
           <span class="eyebrow">Grades 1–3</span><h3>…</h3><p>…</p><span class="mh-tier__meta">Studying · Essentials · Affiliate</span>
         </div>
         <div class="mh-tier__cards">                          right: the group's cards, equal heights
           <article class="mh-way">
             <span class="mh-way__num">01</span>
             <div class="mh-way__icon">{{image}}</div>
             <span class="eyebrow">Learners</span><h4>…</h4><p class="mh-way__body">…</p>
             <div class="mh-way__actions"><a class="btn btn-bordered">…</a><a class="mh-link mh-link--arrow">…</a></div>
           </article> …
         </div>
       </div>
       Enforcement Agent: the same row, with its one card carrying class "mh-way mh-way--wide": it fills
       the right column, laid out as a row (icon · text · buttons). Its text is wrapped in <div class="mh-way__text">.
     </div>
   Screens: 1024px and up, head left (5/17) and cards right (12/17), head sticky while the row scrolls.
            768–1023px, head on top as a two-up (title left, line right), cards 3 across beneath.
            Under 768px, everything stacks in one column.
   The number is a faded watermark top-right (opacity on ".mh-way__num"). The icon is a CMS image
   widget: the CMS wraps it in its own <p> with inline sizing, so the !important rules override that.
   Icon size: the width/height on ".mh-way__icon img". */
.mh-ways{margin-bottom:40px}
.mh-tier{display:flex;flex-direction:column;gap:18px;padding:28px 0;border-top:1px solid var(--mh-line)}
.mh-tier:last-child{border-bottom:1px solid var(--mh-line)}
.mh-tier__head{display:flex;flex-direction:column;gap:6px}
.mh-tier__head h3,.mh-tier__head p{margin:0}
.mh-tier__head p{color:var(--mh-muted);max-width:34ch}
.mh-tier__meta{display:block;color:var(--mh-muted);font-size:13px;margin-top:2px}
.mh-tier__cards{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:stretch}
.mh-way{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:20px;border:1px solid var(--mh-line);border-radius:var(--mh-radius);background:var(--mh-white);overflow:hidden}
.mh-way__num{position:absolute;top:-5px;right:10px;font-size:64px;line-height:1;font-weight:700;letter-spacing:-.04em;color:var(--mh-teal);opacity:.045;pointer-events:none}
.mh-way__icon{display:block;width:36px;height:36px;line-height:0;margin-bottom:14px}
.mh-way__icon p{margin:0!important;padding:0!important;line-height:0}
.mh-way__icon img{display:block;width:36px!important;height:36px!important;max-width:none;margin:0!important;padding:0!important;object-fit:contain}
.mh-way>.eyebrow,.mh-way__text>.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:3px}
.mh-way h4{margin:0 0 6px}
.mh-way__body{color:var(--mh-muted);text-wrap:pretty}
.mh-way__actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:auto;padding-top:16px}
.mh-way__text{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.mh-ways+.mh-center{margin-top:8px}
/* mh-section--blue: the Seven ways section on the site's dark blue, with white cards (mockup: Option E).
   Only the section heading, group headings, dividers and the buttons under the grid change colour;
   everything inside the cards stays as on a white page. */
.mh-section--blue::before{background:#002d3c}
.mh-section--blue{color:var(--mh-white)}
.mh-section--blue .mh-title .eyebrow,.mh-section--blue .mh-tier__head .eyebrow{color:#7fc4d6}
.mh-section--blue .mh-title h2,.mh-section--blue .mh-tier__head h3{color:var(--mh-white)}
.mh-section--blue .mh-title .mh-lead,.mh-section--blue .mh-tier__head p{color:#c9d6dc}
.mh-section--blue .mh-tier__meta{color:#8fa6af}
.mh-section--blue .mh-tier{border-top-color:rgba(255,255,255,.14)}
.mh-section--blue .mh-tier:last-child{border-bottom-color:rgba(255,255,255,.14)}
.mh-section--blue .mh-way{color:var(--mh-ink);border-color:transparent;box-shadow:0 1px 2px rgba(0,0,0,.2),0 8px 24px rgba(0,0,0,.18)}
.mh-section--blue .mh-way h4{color:var(--mh-ink)}
.mh-section--blue .mh-center .btn:not(.btn-bordered){background:var(--mh-white);border-color:var(--mh-white);color:#002d3c}
.mh-section--blue .mh-center .btn:not(.btn-bordered):hover,.mh-section--blue .mh-center .btn:not(.btn-bordered):focus-visible{background:var(--mh-tint);border-color:var(--mh-tint);color:#002d3c}
.mh-section--blue .mh-center .btn.btn-bordered{background:transparent;border-color:var(--mh-white);color:var(--mh-white)}
.mh-section--blue .mh-center .btn.btn-bordered:hover,.mh-section--blue .mh-center .btn.btn-bordered:focus-visible{background:var(--mh-white);color:#002d3c}
/* a button row (mh-actions) on the blue band, e.g. under the comparison table on a grade page: a plain "btn" is
   filled white with dark-blue text, a "btn btn-bordered" is transparent with a white border and white text.
   !important because the site's own .btn / .btn-bordered rules set these colours too. */
.mh-section--blue .mh-actions .btn{background:var(--mh-white)!important;border-color:var(--mh-white)!important;color:#002d3c!important}
.mh-section--blue .mh-actions .btn:hover,.mh-section--blue .mh-actions .btn:focus-visible{background:var(--mh-tint)!important;border-color:var(--mh-tint)!important;color:#002d3c!important}
.mh-section--blue .mh-actions .btn.btn-bordered{background:transparent!important;border-color:var(--mh-white)!important;color:var(--mh-white)!important}
.mh-section--blue .mh-actions .btn.btn-bordered:hover,.mh-section--blue .mh-actions .btn.btn-bordered:focus-visible{background:rgba(255,255,255,.12)!important;color:var(--mh-white)!important}
@media (min-width:768px){
  .mh-tier{gap:22px;padding:32px 0}
  .mh-tier__head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 40px;align-items:end}
  .mh-tier__head>.eyebrow,.mh-tier__head h3{grid-column:1}
  .mh-tier__head p{grid-column:2;grid-row:1/3;max-width:none}
  .mh-tier__meta{display:none}
  .mh-tier__cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .mh-way__actions{flex-direction:column;align-items:flex-start;padding-top:18px}
  .mh-way--wide{grid-column:1/-1;display:grid;grid-template-columns:36px minmax(0,1fr) auto;column-gap:20px;align-items:center;padding:24px}
  .mh-way--wide .mh-way__icon{margin:0;align-self:start}
  .mh-way--wide .mh-way__num{top:50%;right:220px;transform:translateY(-50%);font-size:80px}
  .mh-way--wide .mh-way__body{max-width:48ch}
  .mh-way--wide .mh-way__actions{margin:0;padding:0;align-items:flex-end}
}
@media (min-width:1024px){
  .mh-tier{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,12fr);gap:32px 64px;padding:40px 0}
  .mh-tier__head{display:flex;flex-direction:column;align-items:flex-start;gap:10px;position:sticky;top:140px;align-self:start}
  .mh-tier__head p{max-width:34ch}
  .mh-tier__meta{display:block;margin-top:6px}
  /* desktop: heading and cards share the row half and half; the cards stack in one column on the right,
     upright (icon on top, then text, then the button and link side by side) */
  .mh-tier{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:80px}
  .mh-tier__cards{grid-template-columns:minmax(0,1fr);gap:16px}
  .mh-way,.mh-way--wide{display:flex;flex-direction:column;align-items:flex-start;padding:28px}
  .mh-way .mh-way__icon{margin:0 0 18px;align-self:auto}
  .mh-way__icon,.mh-way__icon img{width:40px!important;height:40px!important}
  .mh-way>.eyebrow,.mh-way__text>.eyebrow{font-size:12px;margin-bottom:4px}
  .mh-way h4{margin-bottom:8px}
  .mh-way .mh-way__body{max-width:none}
  .mh-way .mh-way__actions{flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px 20px;margin:auto 0 0;padding:20px 0 0}
  .mh-way .mh-way__num{top:-5px;right:10px;transform:none;font-size:80px}
}

/* mh-link--arrow: a text link with an arrow after it */
.mh-link--arrow{text-decoration:none;white-space:nowrap}
.mh-link--arrow::after{content:" \2192"}
.mh-link--arrow:hover{text-decoration:underline}

/* proof */
.mh-proof{display:flex;flex-wrap:wrap;align-items:center;gap:clamp(32px,5vw,56px)}
.mh-proof__media{flex:0 1 360px}
.mh-proof__media img{display:block;width:100%;height:auto;border-radius:16px;object-fit:cover;aspect-ratio:3/2}
.mh-proof__body{flex:1 1 380px;display:flex;flex-direction:column;gap:20px}
.mh-quote{margin:0;font-weight:600}
.mh-quote p{quotes:"\201C" "\201D"}
.mh-quote p::before{content:open-quote}
.mh-quote p::after{content:close-quote}
.mh-cite{color:var(--mh-muted);font-style:normal}
.mh-stats{display:flex;flex-wrap:wrap;gap:48px}
.mh-stat{display:flex;flex-direction:column;gap:6px}
.mh-stat__n{color:var(--mh-teal);font-weight:700;line-height:1;font-size:clamp(28px,3vw,40px)}
.mh-stat__l{color:var(--mh-muted)}

/* closing call to action */
.mh-cta{max-width:640px;display:flex;flex-direction:column;gap:5px}
.mh-section--deep h2{color:var(--mh-white)}

/* mh-closer: the closing band on the Overview page (Relume Testimonial 29 style). Grey band (mh-section--soft):
   the grade question and buttons on the left, a member quote card on the right, so the page hands over cleanly
   to the dark footer call to action below it. Stacks under 900px (question first, then the card).
   HTML: <div class="mh-inner mh-closer">
           <div class="mh-cta"><span class="eyebrow">…</span><h2>…</h2><p class="mh-lead">…</p><div class="mh-actions">…</div></div>
           <figure class="mh-testimonial"><p class="mh-testimonial__quote">…</p>
             <figcaption class="mh-testimonial__by"><span class="mh-testimonial__avatar">{{image}}</span>
               <span class="mh-testimonial__who"><strong>Name</strong><span>Role, Company</span></span></figcaption></figure></div>
   mh-testimonial works on its own anywhere: white card, a quote mark drawn above the text (so no quote marks in
   the text), a round photo cropped to the face, name and role on two lines. The quote is a plain paragraph, not a
   blockquote, so the site's own blockquote marks and indent stay out of it. */
.mh-closer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:clamp(40px,6vw,80px)}
.mh-closer .mh-cta{max-width:none;gap:16px}
.mh-closer .mh-cta .eyebrow{margin:0}
.mh-closer .mh-actions{gap:10px}
.mh-actions{padding-top:20px}
.mh-testimonial{display:flex;flex-direction:column;gap:28px;margin:0;padding:clamp(24px,3.5vw,40px);border:1px solid var(--mh-line);border-radius:16px;background:var(--mh-white);box-shadow:0 12px 32px rgba(15,45,59,.06)}
.mh-testimonial__quote{position:relative;margin:0;padding-top:40px;font-weight:500;font-style:normal;text-wrap:pretty}
.mh-testimonial__quote::before{content:"\201C";position:absolute;top:-14px;left:-2px;font-size:72px;line-height:1;font-weight:700;color:var(--mh-teal)}
.mh-testimonial__by{display:flex;align-items:center;gap:16px;padding-top:24px;border-top:1px solid var(--mh-line)}
.mh-testimonial__avatar{flex:0 0 64px;width:64px;height:64px;border-radius:50%;overflow:hidden;background:var(--mh-tint)}
.mh-testimonial__avatar > *{display:block;width:100%;height:100%;margin:0!important}
.mh-testimonial__avatar img{display:block;width:100%!important;height:100%!important;margin:0!important;padding:0!important;object-fit:cover;object-position:50% 15%}
/* The CMS editor strips the avatar span, so the photo widget usually sits straight inside the figcaption.
   Whatever the widget comes wrapped in (<p>, <div>, bare <img>), the first thing in the figcaption that is not
   the name block becomes the 64px circle. object-fit on both rules: when the first thing IS the <img>, the first
   rule sizes it to 64x64 directly, and without object-fit a portrait photo would be squashed to fit. */
.mh-testimonial__by>:first-child:not(.mh-testimonial__who){flex:0 0 64px;width:64px!important;height:64px!important;margin:0!important;padding:0!important;border-radius:50%;overflow:hidden;background:var(--mh-tint);line-height:0;object-fit:cover;object-position:50% 15%}
.mh-testimonial__by>:first-child:not(.mh-testimonial__who) img{display:block;width:100%!important;height:100%!important;margin:0!important;padding:0!important;object-fit:cover;object-position:50% 15%}
.mh-testimonial__who{display:flex;flex-direction:column;gap:2px;line-height:1.35}
.mh-testimonial__who strong{font-weight:600;color:var(--mh-ink)}
.mh-testimonial__who span{color:var(--mh-muted);font-size:.9375em}
@media (max-width:899px){
  .mh-closer{grid-template-columns:minmax(0,1fr);gap:36px}
}
@media (max-width:599px){
  .mh-closer .mh-actions .btn{flex:1 1 100%}
  .mh-testimonial__avatar,.mh-testimonial__by>:first-child:not(.mh-testimonial__who){flex-basis:56px;width:56px!important;height:56px!important}
}


/* links that jump down the page stop below the site header */
.mh [id],.mh[id]{scroll-margin-top:140px}

/* title + intro above a section's content */
.mh-title{display:flex;flex-direction:column;gap:10px;margin-bottom:28px}
.mh-title h1,.mh-title h2{text-wrap:balance}
.mh-section--deep h3{color:var(--mh-white)}

/* mh-section--band: the dark teal gradient from the membership home hero, for a text-only hero
   (eyebrow, heading, lead, buttons) with no photo. Everything in it goes light.
   Buttons: a plain "btn" is filled white with dark-teal text; a "btn btn-bordered" is transparent with a
   white border and white text. If every button in .mh-actions is btn-bordered (the membership home pattern),
   the first one is filled instead. Works whether or not the buttons sit inside .mh-actions.
   !important because the site's own .btn / .btn-bordered rules set these colours too.
   Jump links (.mh-pills), if a band has them: plain underlined text links in light teal, not pills,
   so they are never mistaken for the buttons. Everywhere else mh-pills keep their pill shape. */
.mh-section--band::before{content:"";position:absolute;top:0;bottom:0;left:50%;transform:translateX(-50%);width:calc(100vw + 2px);z-index:-1;background:linear-gradient(135deg,#013040 60%,#04637F 0%)}
.mh-section--band,.mh-section--band h1,.mh-section--band h2,.mh-section--band .mh-lead{color:var(--mh-white)}
.mh-section--band .eyebrow{color:#7fc4d6}
.mh-section--band .btn{display:inline-flex;align-items:center;justify-content:center;margin:0;background:transparent!important;border:2px solid var(--mh-white)!important;color:var(--mh-white)!important}
.mh-section--band .btn:hover,.mh-section--band .btn:focus-visible{background:rgba(255,255,255,.12)!important;border-color:var(--mh-white)!important;color:var(--mh-white)!important}
.mh-section--band .btn:not(.btn-bordered),.mh-section--band .mh-actions .btn.btn-bordered:first-child{background:var(--mh-white)!important;border-color:var(--mh-white)!important;color:var(--mh-teal-dark)!important}
.mh-section--band .btn:not(.btn-bordered):hover,.mh-section--band .btn:not(.btn-bordered):focus-visible,.mh-section--band .mh-actions .btn.btn-bordered:first-child:hover,.mh-section--band .mh-actions .btn.btn-bordered:first-child:focus-visible{background:var(--mh-tint)!important;border-color:var(--mh-tint)!important;color:var(--mh-teal-dark)!important}
.mh-section--band .mh-pills{gap:6px 22px}
.mh-section--band .mh-pills a{min-height:0;padding:0;border:0;border-radius:0;background:none;color:#bfe6f0;text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(191,230,240,.5)}
.mh-section--band .mh-pills a:hover,.mh-section--band .mh-pills a:focus-visible{border:0;background:none;color:var(--mh-white);text-decoration-color:var(--mh-white)}
/* text links sitting directly on a dark background (hero band, blue or deep band): white and underlined,
   with or without the mh-link--light class. Links inside white cards, routes, tables and quote cards on a
   dark band keep the normal teal mh-link colour. */
.mh-section--band .mh-link:not(.mh-panel *):not(.mh-route *):not(.mh-table-wrap *):not(.mh-testimonial *):not(.mh-way *),
.mh-section--blue .mh-link:not(.mh-panel *):not(.mh-route *):not(.mh-table-wrap *):not(.mh-testimonial *):not(.mh-way *),
.mh-section--deep .mh-link:not(.mh-panel *):not(.mh-route *):not(.mh-table-wrap *):not(.mh-testimonial *):not(.mh-way *),
.mh-link--light{color:var(--mh-white);text-decoration:underline;text-underline-offset:3px}
.mh-section--band .mh-link:not(.mh-panel *):not(.mh-route *):not(.mh-table-wrap *):not(.mh-testimonial *):not(.mh-way *):hover,
.mh-section--blue .mh-link:not(.mh-panel *):not(.mh-route *):not(.mh-table-wrap *):not(.mh-testimonial *):not(.mh-way *):hover,
.mh-section--deep .mh-link:not(.mh-panel *):not(.mh-route *):not(.mh-table-wrap *):not(.mh-testimonial *):not(.mh-way *):hover,
.mh-link--light:hover,.mh-link--light:focus-visible{color:var(--mh-white);text-decoration-thickness:2px}

/* mh-jump: the "Explore our benefits" jump links under the hero buttons (Benefits page). A small label,
   then the links. On a dark band they keep their pill shape but are drawn quietly (thin translucent
   border, no fill) so they never compete with the buttons above. Markup:
     <div class="mh-jump"><span>Explore our benefits</span><ul class="mh-pills">...</ul></div> */
.mh-jump{display:flex;flex-direction:column;gap:12px;margin-top:clamp(20px,3vw,32px)}
.mh-jump>span{font-size:13px;letter-spacing:.04em;text-transform:uppercase;font-weight:600;color:var(--mh-muted)}
.mh-section--band .mh-jump>span{color:#9fd8e8}
.mh-section--band .mh-jump .mh-pills{gap:10px}
.mh-section--band .mh-jump .mh-pills a{display:inline-flex;align-items:center;min-height:40px;padding:6px 16px;border:1px solid rgba(255,255,255,.3);border-radius:999px;background:rgba(255,255,255,.06);color:var(--mh-white);text-decoration:none}
.mh-section--band .mh-jump .mh-pills a:hover,.mh-section--band .mh-jump .mh-pills a:focus-visible{border:1px solid var(--mh-white);background:rgba(255,255,255,.14);color:var(--mh-white);text-decoration:none}

/* mh-pills: row of rounded links (jump links, "which sounds like you") */
.mh-pills{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}
.mh-pills li{margin:0;padding:0}
.mh-pills li::before{content:none}
.mh-pills a{display:inline-flex;align-items:center;min-height:44px;padding:6px 18px;border:1px solid var(--mh-line);border-radius:999px;background:var(--mh-white);color:var(--mh-ink);font-weight:400;text-decoration:none}
.mh-pills a:hover,.mh-pills a:focus-visible{border-color:var(--mh-teal);color:var(--mh-teal);text-decoration:none}

/* mh-split: text one side, picture the other. Add mh-split--flip to put the picture on the left */
.mh-split{display:flex;flex-wrap:wrap;align-items:center;gap:clamp(28px,5vw,64px)}
.mh-split__copy{flex:1 1 380px;display:flex;flex-direction:column;gap:18px}
.mh-split__media{flex:1 1 320px;max-width:520px}
.mh-split__media img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:16px;background:var(--mh-tint);color:var(--mh-muted)}
@media (min-width:768px){
  .mh-split--flip .mh-split__media{order:-1}
}

/* mh-checks: list with teal ticks */
.mh-checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.mh-checks li{position:relative;margin:0;padding:0 0 0 30px}
.mh-checks li::before{content:"";position:absolute;left:3px;top:.35em;width:14px;height:8px;border:0;border-left:2.5px solid var(--mh-teal);border-bottom:2.5px solid var(--mh-teal);border-radius:0;background:none;transform:rotate(-45deg)}
.mh-checks--arrow li::before{content:"\2192";top:0;left:0;width:auto;height:auto;border:0;transform:none;color:var(--mh-muted)}
.mh-section--deep .mh-checks li::before{border-color:var(--mh-white)}

/* mh-duo + mh-panel: two or three boxes side by side */
.mh-duo{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.mh-panel{display:flex;flex-direction:column;gap:12px;padding:24px;border:1px solid var(--mh-line);border-radius:var(--mh-radius);background:var(--mh-white);color:var(--mh-ink)}
.mh-panel--tint{background:var(--mh-tint);border-color:transparent}
/* mh-panel--dark: the box on the hero's darkest blue (#013040), text in white, ticks in a very light blue.
   Used for the "Yes, if you..." box on grade pages. An eyebrow inside it takes class "eyebrow eyebrow--light". */
.mh-panel--dark{background:#013040;border-color:transparent;color:var(--mh-white)}
.mh-panel--dark h3,.mh-panel--dark h4{color:var(--mh-white)}
.mh-panel--dark .mh-muted{color:#c9d6dc}
.mh-panel--dark .mh-checks li::before{border-color:#bfe6f0}
.mh-panel--dark .mh-checks--arrow li::before{color:#bfe6f0}
.mh-panel--dark .mh-link{color:var(--mh-white);text-decoration:underline;text-underline-offset:3px}
.mh-panel--dark .mh-link:hover{color:var(--mh-white);text-decoration-thickness:2px}
.mh-panel--dark .btn{background:var(--mh-white)!important;border-color:var(--mh-white)!important;color:#013040!important}
.mh-panel--dark .btn.btn-bordered{background:transparent!important;border-color:var(--mh-white)!important;color:var(--mh-white)!important}
.mh-panel .btn{align-self:flex-start;margin-top:auto}
.mh-muted{color:var(--mh-muted)}

/* mh-routes + mh-route: a short list of routes, each row one link (Grades page "Other routes").
   Markup: <div class="mh-routes"><a class="mh-route" href="..."><span class="mh-route__text"><strong>Name</strong>
   <span>One line about it</span></span><span class="mh-route__go">Label &rarr;</span></a> ...</div>
   On its own the rows sit in a grid (one column under 600px); inside .mh-split they stack beside the text. */
.mh-routes{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.mh-split .mh-routes,.mh-routes--stack{grid-template-columns:minmax(0,1fr)}
.mh-route{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border:1px solid var(--mh-line);border-radius:var(--mh-radius);background:var(--mh-white);color:var(--mh-ink);text-decoration:none;transition:border-color .15s,box-shadow .15s}
.mh-route:hover,.mh-route:focus-visible{border-color:var(--mh-teal);box-shadow:0 8px 24px rgba(15,42,53,.08);color:var(--mh-ink);text-decoration:none}
.mh-route__text{display:flex;flex-direction:column;gap:4px;min-width:0}
.mh-route__text strong{font-weight:600}
.mh-route__text span{color:var(--mh-muted)}
.mh-route__go{flex-shrink:0;color:var(--mh-teal);font-weight:600;white-space:nowrap}
.mh-route:hover .mh-route__go{text-decoration:underline}
@media (max-width:599px){
  .mh-route{flex-direction:column;align-items:flex-start;gap:10px}
}

/* mh-bento: one large tinted lead panel across the top, smaller white panels under it (Benefits page, CPD).
   Markup: <div class="mh-bento"><div class="mh-bento__lead">eyebrow, h3, p, <div class="mh-bento__links">links</div></div>
   <div class="mh-panel">...</div> x3</div>. Three across from 900px, otherwise as many as fit. */
.mh-bento{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.mh-bento__lead{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:center;padding:28px;border-radius:var(--mh-radius);background:var(--mh-tint)}
.mh-bento__text{display:flex;flex-direction:column;gap:14px;min-width:0}
.mh-bento__text p{max-width:60ch}
.mh-bento__links{display:flex;flex-wrap:wrap;gap:10px 24px;padding-top:6px}
/* photos: image widgets placed straight into the boxes, no wrapper (the CMS strips wrappers round a widget).
   The lead panel: the widget goes after <div class="mh-bento__text"> (it shows on the right from 768px).
   A card: the widget goes FIRST, before the heading (it runs across the top of the card, 3:2, cropped to fit).
   The CMS wraps each image in its own <p> with inline sizing, so the !important rules override that. */
.mh-bento__lead>p:has(>img),.mh-bento__lead>img{display:block;margin:0!important;padding:0!important;line-height:0;border-radius:var(--mh-radius);overflow:hidden;background:var(--mh-white)}
.mh-panel>p:first-child:has(>img),.mh-panel>img:first-child{display:block;margin:-24px -24px 6px!important;padding:0!important;line-height:0;border-radius:calc(var(--mh-radius) - 1px) calc(var(--mh-radius) - 1px) 0 0;overflow:hidden;background:var(--mh-white)}
.mh-bento__lead>p>img,.mh-bento__lead>img,.mh-panel>p:first-child>img,.mh-panel>img:first-child{display:block;width:100%!important;height:auto!important;max-width:none;aspect-ratio:3/2;object-fit:cover;margin:0!important;padding:0!important}
/* mh-ph: a placeholder until the photo is added. <div class="mh-ph">Knowledge Hub screenshot</div> in the same spot the
   widget will go: a tinted 3:2 box with the text centred in it. Replace the whole div with the image widget, or drop
   the widget inside the div: either way the photo fills the box edge to edge. */
.mh-ph{display:flex;align-items:center;justify-content:center;aspect-ratio:3/2;border-radius:var(--mh-radius);background:var(--mh-tint);color:var(--mh-teal-dark);font-size:14px;text-align:center;padding:16px;overflow:hidden}
.mh-bento__lead>.mh-ph{background:var(--mh-white)}
.mh-panel>.mh-ph:first-child{margin:-24px -24px 6px;border-radius:calc(var(--mh-radius) - 1px) calc(var(--mh-radius) - 1px) 0 0}
.mh-ph:has(img){display:block;padding:0;line-height:0;font-size:0}
.mh-ph p{margin:0!important;padding:0!important;line-height:0;width:100%;height:100%}
.mh-ph img{display:block;width:100%!important;height:100%!important;max-width:none;object-fit:cover;margin:0!important;padding:0!important}
/* a card left on a row by itself (two-column widths, 600 to 899px): it spans both columns and turns sideways,
   photo on the left, text on the right. The photo is exactly the width of the left column above it (half the
   row minus half the 16px gap), so the split lines up with the gap between the two cards above. */
@media (min-width:600px) and (max-width:899px){
  .mh-bento{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mh-bento>.mh-panel:nth-child(even):last-child{grid-column:1/-1;position:relative;min-height:220px;padding-left:calc(50% + 8px + 24px)}
  .mh-bento>.mh-panel:nth-child(even):last-child>:first-child:is(.mh-ph,p,img){position:absolute;top:0;bottom:0;left:0;width:calc(50% - 8px);height:auto;margin:0!important;aspect-ratio:auto;border-radius:calc(var(--mh-radius) - 1px) 0 0 calc(var(--mh-radius) - 1px)}
  .mh-bento>.mh-panel:nth-child(even):last-child>p:first-child>img,.mh-bento>.mh-panel:nth-child(even):last-child>img:first-child{height:100%!important;aspect-ratio:auto}
}
@media (min-width:768px){
  .mh-bento__lead{grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:32px}
}
@media (min-width:900px){
  .mh-bento{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* mh-ask: a tinted "how it works" panel, three steps top to bottom (Benefits page, Advice and support).
   Markup: <div class="mh-ask"><h3>How it works</h3><ol class="mh-steps"><li><div><strong>Step</strong><p>Line</p></div></li>...</ol></div> */
.mh-ask{display:flex;flex-direction:column;gap:20px;padding:28px;border-radius:var(--mh-radius);background:var(--mh-tint);min-width:0}
.mh-ask .mh-steps{grid-template-columns:minmax(0,1fr);gap:18px}
.mh-ask .mh-steps li{flex-direction:row;align-items:flex-start;gap:14px}
.mh-ask .mh-steps li::before{flex-shrink:0}
.mh-ask .mh-steps li>div{display:flex;flex-direction:column;gap:4px}

/* mh-bridge: a member quote card straddling the join between two bands (Benefits page, between Recognition
   and Advice and support). The section ABOVE the bridge carries class "mh-section--pre-bridge" (extra bottom
   padding, so its text stays clear of the card); the bridge section itself has no padding and is pulled up by
   the same amount, so the card sits half on each band. Inside it, one mh-testimonial, usually the dark version.
   mh-testimonial--dark: the quote card on the site's dark blue, with an optional eyebrow and heading at the
   top left (<div class="mh-testimonial__head"><span class="eyebrow">...</span><h3>...</h3></div>) before the quote. */
.mh-section--pre-bridge{padding-bottom:calc(clamp(24px,3vw,36px) + 80px)}
.mh-bridge{padding:0;margin-top:-80px}
.mh-bridge .mh-testimonial{max-width:820px;margin:0 auto}
.mh-testimonial--dark{background:#002d3c;border-color:transparent;color:var(--mh-white);box-shadow:0 16px 40px rgba(0,45,60,.25)}
.mh-testimonial__head{display:flex;flex-direction:column;gap:6px}
.mh-testimonial__head .eyebrow{color:#7fc4d6}
.mh-testimonial__head h3{color:var(--mh-white)}
.mh-testimonial--dark .mh-testimonial__quote{color:var(--mh-white)}
.mh-testimonial--dark .mh-testimonial__quote::before{color:#7fc4d6}
.mh-testimonial--dark .mh-testimonial__by{border-top-color:rgba(255,255,255,.16)}
.mh-testimonial--dark .mh-testimonial__who strong{color:var(--mh-white)}
.mh-testimonial--dark .mh-testimonial__who span{color:#c9d6dc}
.mh-testimonial__head+.mh-testimonial__quote{padding-top:36px;margin-top:-8px}

/* mh-points: short statements in a row (used on the dark band) */
.mh-points{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:28px}
.mh-point{display:flex;flex-direction:column;gap:8px}

/* mh-table: comparison and fees tables. On phones the table scrolls sideways inside its box */
.mh-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--mh-line);border-radius:var(--mh-radius);background:var(--mh-white)}
.mh-table{width:100%;min-width:760px;margin:0;border:0;border-collapse:collapse;background:none}
.mh-table th,.mh-table td{padding:14px 16px;border:0;border-bottom:1px solid var(--mh-line);background:none;color:var(--mh-ink);text-align:center;vertical-align:middle}
.mh-table th:first-child,.mh-table td:first-child{text-align:left}
.mh-table tbody tr:last-child>*{border-bottom:0}
.mh-table thead th{font-weight:700}
.mh-table tbody th{font-weight:600}
.mh-table .mh-table__group>*{background:var(--mh-tint);color:var(--mh-teal-dark);font-weight:700}
.mh-table--grades tr>*:nth-child(5),.mh-table--grades .mh-table__group>*:nth-child(3){border-left:2px solid var(--mh-line)}
/* benefits-by-grade table drawn by membership.js (see MH_BENEFITS there). Column groups are separated by a
   stronger vertical line (class mh-table__sep on the first cell of each group). The Studying column has its
   own group ("Learners only") and a soft tint, so it reads as a different kind of grade from the rest.
   A note under a grade's name in the header goes in <small>. */
.mh-table .mh-table__sep{border-left:2px solid var(--mh-line)}
.mh-table .mh-table__note{display:block;max-width:18ch;margin:4px auto 0;font-weight:400;color:var(--mh-muted)}
.mh-table .mh-table__study{background:var(--mh-soft)}
.mh-table .mh-table__group .mh-table__study{background:var(--mh-tint)}
.mh-table .mh-table__group .mh-table__study small{display:block;margin-top:2px;font-weight:400;color:var(--mh-teal-dark)}
/* dark version: inside a dark band (mh-section--blue / mh-section--deep), or add class "mh-table-wrap--dark" */
.mh-section--blue .mh-table-wrap,.mh-section--deep .mh-table-wrap,.mh-table-wrap--dark{--mh-line:rgba(255,255,255,.16);--mh-ink:#fff;--mh-muted:#c9d6dc;--mh-soft:rgba(255,255,255,.05);--mh-tint:rgba(127,196,214,.18);--mh-teal-dark:#9fd8e8;--mh-teal:#7fc4d6;background:rgba(0,0,0,.18);border-color:rgba(255,255,255,.16)}
.mh-section--blue .mh-table th,.mh-section--blue .mh-table td,.mh-section--deep .mh-table th,.mh-section--deep .mh-table td,.mh-table-wrap--dark .mh-table th,.mh-table-wrap--dark .mh-table td{color:var(--mh-ink)}
.mh-table--fees{min-width:0}
.mh-table--fees th:not(:first-child),.mh-table--fees td:not(:first-child){text-align:right;white-space:nowrap}
.mh-yes{color:var(--mh-teal);font-weight:700}
.mh-no{color:var(--mh-muted)}
.mh-table small{display:block;color:var(--mh-muted)}
/* the column for the grade a page is about (added automatically on grade pages) */
.mh-table .mh-col{background:var(--mh-tint)}
/* when one grade's column is highlighted (a grade page), the Studying column loses its own tint so that only
   the page's grade stands out. Studying keeps its own column group and heading note. The class is added by
   membership.js whenever data-mh-table names a grade. */
.mh-table-wrap--one .mh-table .mh-table__study:not(.mh-col){background:none}
/* on the Studying page itself, its column is the highlighted one */
.mh-table-wrap--one .mh-table .mh-table__study.mh-col{background:var(--mh-tint)}
.mh-table-wrap--one .mh-table .mh-table__group .mh-table__study{background:var(--mh-tint)}
.mh-table thead .mh-col{color:var(--mh-teal-dark)}

/* mh-table--criteria: the professional grade criteria table on the Grades page (ACICM, MCICM, FCICM
   side by side, one row per question: who it is for, roles, qualification route, what you show, evidence).
   Every cell is left-aligned and top-aligned, since the cells hold short lists, not ticks.
   The first column (the row labels) stays narrow; the grade columns share the rest equally. */
.mh-table--criteria th,.mh-table--criteria td{text-align:left;vertical-align:top}
.mh-table--criteria thead th{vertical-align:middle}
.mh-table--criteria tbody th{width:150px;color:var(--mh-muted)}
.mh-table--criteria .mh-tag{margin-bottom:6px}
.mh-table--criteria .mh-checks{gap:8px}
.mh-table--criteria .mh-btn{margin-top:4px}
.mh-table--criteria .mh-link{display:inline-block;margin-top:4px}

/* mh-plans + mh-plan: grade cards with the fee and one button each.
   A link to #essentials (the card's id) outlines that card when the visitor lands on it */
.mh-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.mh-plans+.mh-title{margin-top:clamp(56px,8vw,96px);padding-top:clamp(40px,6vw,64px);border-top:1px solid var(--mh-line)}
.mh-plan{display:flex;flex-direction:column;gap:14px;padding:24px;border:1px solid var(--mh-line);border-radius:var(--mh-radius);background:var(--mh-white)}
.mh-plan:target,.mh-title:target+.mh-plans .mh-plan{border-color:var(--mh-teal);box-shadow:0 0 0 2px var(--mh-teal)}
.mh-plan__price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.mh-plan__price strong{color:var(--mh-ink);font-weight:700;line-height:1;font-size:clamp(28px,3vw,36px)}
.mh-plan__price span{color:var(--mh-muted)}
.mh-plan__alt{color:var(--mh-muted);margin-top:-8px!important}
.mh-plan .btn{margin-top:auto}
.mh-plan__more{align-self:center}
.mh-tag{display:inline-block;align-self:flex-start;padding:2px 10px;border-radius:999px;background:var(--mh-tint);color:var(--mh-teal-dark);font-weight:600}

/* mh-grade-icon: a grade's icon at the top of a plan card (Grades page) or an "Other routes" panel.
   The icon is a CMS image widget inside <div class="mh-grade-icon">: the CMS wraps it in its own <p>
   with inline sizing, so the !important rules override that. Icon size: the width/height below (40px). */
.mh-grade-icon{display:block;width:40px;height:40px;line-height:0}
.mh-grade-icon p{margin:0!important;padding:0!important;line-height:0}
.mh-grade-icon img{display:block;width:40px!important;height:40px!important;max-width:none;margin:0!important;padding:0!important;object-fit:contain}
.mh-grade-icon+.mh-tag{margin-top:-2px}

/* mh-price: the fee box beside a grade page's heading */
.mh-price{flex:0 1 380px;display:flex;flex-direction:column;gap:14px;padding:24px;border:2px solid var(--mh-teal);border-radius:var(--mh-radius);background:var(--mh-white)}
/* buttons in the fee box use the site's own btn / btn btn-bordered, stretched to the box's full width */
.mh-price .btn{display:flex;width:100%}

/* mh-faq: questions that open when clicked. Add class "mh-faq--wide" to a <details> whose answer
   holds a table, so the answer can use the full width instead of the usual reading measure */
.mh-faq{border-top:1px solid var(--mh-line)}
/* mh-faq--solo: the questions as a section of their own (no join box beside them): kept to a reading width */
.mh-faq--solo{max-width:820px}
.mh-faq details{border-bottom:1px solid var(--mh-line)}
.mh-faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;font-weight:600;cursor:pointer;list-style:none}
.mh-faq summary::-webkit-details-marker{display:none}
.mh-faq summary::after{content:"";flex-shrink:0;width:9px;height:9px;margin-right:4px;border-right:2px solid var(--mh-muted);border-bottom:2px solid var(--mh-muted);transform:rotate(45deg);transition:transform .15s}
.mh-faq details[open] summary::after{transform:rotate(-135deg)}
.mh-faq summary:hover{color:var(--mh-teal)}
.mh-faq details>div{display:flex;flex-direction:column;gap:10px;max-width:72ch;padding:0 0 20px;color:var(--mh-muted)}
.mh-faq details.mh-faq--wide>div{max-width:none}
.mh-faq details.mh-faq--wide>div>p{max-width:72ch}
.mh-faq .mh-table-wrap{margin-top:6px}

/* mh-steps: numbered steps in a row */
.mh-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:28px;counter-reset:mh-step}
.mh-steps li{margin:0;padding:0;display:flex;flex-direction:column;gap:8px;counter-increment:mh-step}
.mh-steps li::before{content:counter(mh-step);position:static;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--mh-teal);color:var(--mh-white);font-weight:700}
.mh-steps p{color:var(--mh-muted)}

/* mh-path: the grade ladder. aria-current="step" marks the grade the page is about */
.mh-path{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}
.mh-path li{margin:0;padding:14px 0 0;border-top:4px solid var(--mh-line);display:flex;flex-direction:column;gap:6px}
.mh-path li::before{content:none}
.mh-path li[aria-current]{border-top-color:var(--mh-teal)}
.mh-path span{color:var(--mh-muted)}

/* mh-statrow: a labelled row of figures (Fees page) */
.mh-statrow{display:flex;flex-direction:column;gap:14px;padding:24px 0;border-top:1px solid var(--mh-line)}
.mh-statrow:last-child{padding-bottom:0}
.mh-statrow .mh-stat{min-width:150px;max-width:230px}

/* ── FEES & HOW TO APPLY (/membership/application-process.html) ───────────────────────────────────── */
/* mh-band-facts: a text hero on the dark band (mh-section--band) with three key figures beside it (Relume Stats 15).
   Each figure has a thin light rule on its left, no box, so the numbers carry the contrast and nothing competes
   with the heading. Desktop (900px+): copy left, figures stacked on the right. 600 to 899px: copy, then the three
   figures in a row. Phones (under 600px): the figures are hidden. Markup:
     <section class="mh mh-section mh-section--band"><div class="mh-inner mh-band-facts">
       <div class="mh-title">eyebrow, h1, lead, mh-actions</div>
       <div class="mh-facts">
         <div class="mh-fact"><span class="mh-fact__n">10 min</span><span class="mh-fact__l">to apply online</span></div> ...
       </div>
     </div></section> */
.mh-band-facts{display:grid;grid-template-columns:minmax(0,1fr);gap:36px;align-items:center}
.mh-band-facts>.mh-title{margin:0}
.mh-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mh-fact{display:flex;flex-direction:column;gap:6px;min-width:0;padding:2px 0 2px 14px;border-left:2px solid rgba(255,255,255,.28)}
/* a figure too long for its column (e.g. "No extra cost") wraps onto two balanced lines instead of being cut off */
.mh-fact__n{font-size:clamp(28px,7vw,40px);line-height:1.05;font-weight:700;color:var(--mh-white);text-wrap:balance}
.mh-fact__l{color:#dbe7ec;line-height:1.35}
@media (max-width:599px){
  .mh-band-facts .mh-actions{flex-direction:column;align-items:stretch}
  .mh-band-facts .mh-actions .btn{width:100%}
  /* phones: the three key figures are hidden, so the hero is just the heading, intro and buttons */
  .mh-band-facts .mh-facts{display:none}
}
@media (min-width:900px){
  .mh-band-facts{grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:64px}
  .mh-facts{grid-template-columns:minmax(0,1fr);gap:28px}
  .mh-fact{padding-left:28px}
  .mh-fact__n{font-size:clamp(44px,4.6vw,60px)}
}

/* mh-apply: the two ways to apply as stacked cards (Relume FAQ 11 accordion pattern). Each card shows the route's
   name, grades, key facts and its main button straight away, so visitors can act without opening anything. The steps
   and "Have ready" open underneath from a "See the steps" bar: a native <details>, so no script is needed (the same
   click-to-open as the FAQs). The card's border turns teal while it is open. Markup:
     <div class="mh-apply-list">
       <article class="mh-apply">
         <div class="mh-apply__head">
           <div class="mh-apply__name"><h3>Introductory grades</h3><p>Studying, Essentials or Affiliate</p></div>
           <ul class="mh-apply__meta"><li><strong>5 min</strong> online</li>…</ul>
           <a class="btn" href="…">Join now</a>
         </div>
         <details class="mh-apply__more">
           <summary><span class="mh-apply__show">See the steps and what to have ready</span><span class="mh-apply__hide">Hide the steps</span></summary>
           <div class="mh-apply__body">
             <ol class="mh-timeline"><li><h4>…</h4><p>…</p></li>…</ol>
             <div class="mh-apply__side"><h4>Have ready</h4><ul class="mh-checks mh-checks--todo">…</ul><a class="mh-link mh-link--arrow">…</a></div>
           </div>
         </details>
       </article> …
     </div>
   Add the attribute "open" to a <details> to have that card start open.
   The key facts sit under the title in the same grey, regular weight (no bold), separated by dots.
   Desktop (900px+): title and key facts on the left, button on the right; when open, steps on the left and "Have ready" on the right.
   Phones: title, key facts and a full-width button stacked with generous space between them,
   and extra room between the steps and between checklist lines.
   mh-apply-after: a centred line under the cards ("Not sure which grade?"). */
.mh-apply-list{display:flex;flex-direction:column;gap:20px}
.mh-apply{min-width:0;border:1px solid var(--mh-line);border-radius:var(--mh-radius);background:var(--mh-white);overflow:hidden;transition:border-color .15s,box-shadow .15s}
.mh-apply:has(.mh-apply__more[open]){border-color:var(--mh-teal);box-shadow:0 8px 24px rgba(15,42,53,.08)}
.mh-apply__head{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:28px 24px 24px}
.mh-apply__name{display:flex;flex-direction:column;gap:6px}
.mh-apply__name p{color:var(--mh-muted)}
.mh-apply__meta{display:block;list-style:none;margin:0;padding:0;color:var(--mh-muted)}
.mh-apply__meta li{display:inline;margin:0;padding:0;white-space:nowrap}
.mh-apply__meta li::before{content:none}
.mh-apply__meta li:not(:last-child)::after{content:"\00a0\00a0\00b7\00a0"}
.mh-apply__meta strong{color:inherit;font-weight:inherit}
.mh-apply__head .btn{width:100%;margin-top:14px}
@media (min-width:600px){
  .mh-apply__head .btn{width:auto;justify-self:start;margin-top:10px}
}
@media (min-width:900px){
  .mh-apply__head{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 32px;padding:28px}
  .mh-apply__name,.mh-apply__meta{grid-column:1}
  .mh-apply__head .btn{grid-column:2;grid-row:1/3;margin-top:0}
}
.mh-apply__more{border-top:1px solid var(--mh-line)}
.mh-apply__more summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;color:var(--mh-teal);font-weight:600;cursor:pointer;list-style:none}
.mh-apply__more summary::-webkit-details-marker{display:none}
.mh-apply__more summary::after{content:"";flex-shrink:0;width:9px;height:9px;margin-right:4px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-3px);transition:transform .15s}
.mh-apply__more[open] summary::after{transform:rotate(-135deg) translateY(-2px)}
.mh-apply__more summary:hover,.mh-apply__more summary:focus-visible{background:var(--mh-soft)}
.mh-apply__hide,.mh-apply__more[open] .mh-apply__show{display:none}
.mh-apply__more[open] .mh-apply__hide{display:inline}
.mh-apply__body{display:grid;grid-template-columns:minmax(0,1fr);gap:36px;padding:12px 24px 36px}
.mh-apply__side{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding-top:32px;border-top:1px solid var(--mh-line)}
.mh-apply__side h4{margin:0}
@media (min-width:900px){
  .mh-apply__more summary{padding:18px 28px}
  .mh-apply__body{grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:48px;padding:12px 28px 32px}
  .mh-apply__side{padding-top:0;border-top:0}
}
@media (max-width:599px){
  .mh-apply-list{gap:24px}
  .mh-apply__body .mh-timeline li{padding-bottom:30px}
  .mh-apply__body .mh-timeline li:last-child{padding-bottom:0}
  .mh-apply__body .mh-timeline h4{margin-bottom:6px}
  .mh-apply__side .mh-checks{gap:16px}
}
@media (prefers-reduced-motion:reduce){
  .mh-apply,.mh-apply__more summary::after{transition:none}
}
.mh .mh-apply-after{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 24px;margin-top:28px;text-align:center;color:var(--mh-muted)}

/* mh-timeline: numbered steps top to bottom, joined by a line. Add class "mh-timeline__ours" to a step CICM does
   (e.g. the review): its circle is hollow, so the visitor's own steps stand out. */
.mh-timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;counter-reset:mh-tl}
.mh-timeline li{position:relative;margin:0;padding:0 0 22px 48px;counter-increment:mh-tl}
.mh-timeline li:last-child{padding-bottom:0}
.mh-timeline li::before{content:counter(mh-tl);position:absolute;left:0;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--mh-teal);color:var(--mh-white);font-weight:700;line-height:1}
.mh-timeline li:not(:last-child)::after{content:"";position:absolute;left:15px;top:38px;bottom:6px;width:2px;background:var(--mh-line)}
.mh-timeline li.mh-timeline__ours::before{background:var(--mh-white);color:var(--mh-teal);box-shadow:inset 0 0 0 2px var(--mh-teal)}
.mh-timeline h4{margin:4px 0}
.mh-timeline p{margin:0;color:var(--mh-muted)}

/* mh-checks--todo: an empty circle per line instead of a tick, for "have ready" checklists */
.mh-checks--todo li::before{top:.2em;left:0;width:16px;height:16px;border:2px solid var(--mh-teal);border-radius:50%;transform:none}

/* mh-fees: the fees table (mh-table mh-table--fees) with a side column: the "employer pays" card (the biggest lever for
   professional grades) and the tax relief card under it. On the dark blue band, see "Fees on the dark blue band" below.
   Side column on the right from 900px, where it stays in view while the table scrolls past.
   In the table the annual fee is bold and the other columns muted, so the eye goes to one number per grade.
   Grade names link to their grade pages; a note under a name goes in <small>.
   Phones (under 600px): each grade becomes a block, name on top and the three fees side by side under it, labelled
   from the data-label on each cell (<td data-label="Annual">), so nothing scrolls sideways.
   mh-fees__notes: the small print under the table, one <li> per point. */
.mh-fees{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
.mh-fees__aside{display:flex;flex-direction:column;gap:16px}
.mh-fees__aside .mh-panel{padding:28px}
@media (min-width:900px){
  .mh-fees{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:40px}
  .mh-fees__aside{position:sticky;top:140px}
}
.mh-table--fees td:nth-of-type(1){font-weight:700}
.mh-table--fees td:nth-of-type(n+2){color:var(--mh-muted)}
.mh-table--fees tbody th a{color:inherit;text-decoration:none}
.mh-table--fees tbody th a:hover,.mh-table--fees tbody th a:focus-visible{color:var(--mh-teal);text-decoration:underline}
.mh-table--fees tbody th small,.mh-table--fees thead small{font-weight:400}
@media (max-width:599px){
  .mh-table--fees thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .mh-table--fees,.mh-table--fees tbody{display:block;width:100%}
  .mh-table--fees tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 12px;padding:14px 16px;border-bottom:1px solid var(--mh-line)}
  .mh-table--fees tbody tr:last-child{border-bottom:0}
  .mh-table--fees tbody tr>*{padding:0;border:0;text-align:left!important;white-space:normal}
  .mh-table--fees tbody th{grid-column:1/-1;margin-bottom:6px}
  .mh-table--fees tbody tr.mh-table__group{display:block;padding:10px 16px;background:var(--mh-tint)}
  .mh-table--fees td::before{content:attr(data-label);display:block;font-weight:400;color:var(--mh-muted)}
}
.mh-fees__notes{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-direction:column;gap:6px;color:var(--mh-muted)}
.mh-fees__notes li{position:relative;margin:0;padding:0 0 0 16px}
.mh-fees__notes li::before{content:"";position:absolute;left:2px;top:.6em;width:5px;height:5px;border:0;border-radius:50%;background:var(--mh-muted);transform:none}
/* Fees on the dark blue band: the section carries class "mh-section--blue" (the same band as the grade comparison
   sections). The table switches to its dark version by itself. The notes under the table go light grey-blue.
   mh-fees__employer: the white "Get your employer to pay" card, the brightest thing on the band. Its button opens the
   business case dialog (see mh-case below and MH_CASES in the membership script).
   mh-fees__tax: the tax relief card, drawn quietly (translucent, white text) so it sits behind the employer card. */
.mh-section--blue .mh-fees__notes{color:#c9d6dc}
.mh-section--blue .mh-fees__notes li::before{background:#7fc4d6}
.mh-fees__employer{border-color:transparent;box-shadow:0 1px 2px rgba(0,0,0,.2),0 8px 24px rgba(0,0,0,.18)}
.mh-fees__employer .btn{align-self:flex-start;margin-top:6px}
.mh-fees__tax{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.16);color:var(--mh-white)}
.mh-fees__tax h3{color:var(--mh-white)}
.mh-fees__tax .mh-muted{color:#c9d6dc}
.mh-fees__tax .mh-link{color:var(--mh-white)}
@media (max-width:599px){
  .mh-fees__employer .btn{width:100%}
}
/* a <button class="btn"> that opens the business case dialog: same font as the site's link buttons */
.mh button.btn[data-mh-case]{font:inherit;font-weight:600;cursor:pointer}

/* mh-case: the business case dialog, drawn by the membership script (MH_CASES) the first time a button with
   data-mh-case is clicked. Centred over the page on desktop; slides up from the bottom on phones.
   Inside: the grade picker, a preview of the two-page PDF (thumbnail in the PDF's own colours, what is inside),
   one Download button (greyed out until a grade is picked) and a "Find my grade" link. */
html.mh-case-open{overflow:hidden}
dialog.mh-case{box-sizing:border-box;width:calc(100% - 48px);max-width:560px;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);margin:auto;padding:0;border:0;border-radius:16px;background:var(--mh-white);color:var(--mh-ink);box-shadow:0 24px 64px rgba(0,0,0,.35);overflow:auto}
dialog.mh-case::backdrop{background:rgba(1,24,32,.62)}
.mh-case__box{position:relative;display:flex;flex-direction:column;gap:10px;padding:32px}
.mh-case__box h3{margin:0 0 4px;padding-right:36px;color:var(--mh-ink)}
.mh-case__x{position:absolute;top:14px;right:14px;width:40px;height:40px;min-width:0;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--mh-ink);font:inherit;font-size:24px;line-height:1;cursor:pointer}
.mh-case__x:hover,.mh-case__x:focus-visible{background:var(--mh-soft)}
.mh-case__label{margin-top:12px;font-weight:600}
.mh-case__select{width:100%;margin:0;padding:12px 14px;border:1px solid var(--mh-line);border-radius:8px;background:var(--mh-white);color:var(--mh-ink);font:inherit}
.mh-case__select:focus-visible{outline:2px solid var(--mh-teal);outline-offset:1px}
.mh-case__preview{display:grid;grid-template-columns:108px minmax(0,1fr);gap:18px;align-items:start;margin-top:10px;padding:18px;border-radius:var(--mh-radius);background:var(--mh-soft)}
.mh-case__preview strong{display:block}
.mh-case__meta{display:block;margin-bottom:10px;color:var(--mh-muted)}
.mh-case__preview .mh-checks{gap:6px}
.mh-case__pages{display:flex;gap:4px}
.mh-case__pg{position:relative;display:flex;flex-direction:column;gap:4px;width:52px;height:68px;padding:7px 6px 0;background:#f7f4ef;box-shadow:0 2px 8px rgba(0,0,0,.14);overflow:hidden}
.mh-case__pg b{display:block;height:6px;width:85%;border-radius:1px;background:#1d3a4c}
.mh-case__pg b.s{height:3px;width:45%;background:#0b7a9a}
.mh-case__pg i{display:block;height:2px;width:100%;background:#cfd6da}
.mh-case__pg u{position:absolute;left:0;right:0;bottom:0;height:9px;background:#0f2d3e}
.mh-case .mh-case__cta{display:flex;width:100%;margin-top:10px}
.mh-case .mh-case__cta[aria-disabled="true"]{opacity:.45;pointer-events:none}
.mh-case__help{margin-top:10px!important;color:var(--mh-muted)}
@media (max-width:599px){
  dialog.mh-case{width:100%;max-width:none;max-height:92vh;max-height:92dvh;margin:auto 0 0;border-radius:16px 16px 0 0}
  .mh-case__box{padding:28px 20px 32px}
  .mh-case__preview{grid-template-columns:minmax(0,1fr);gap:14px}
}

/* mh-crit: the professional grade criteria (ACICM, MCICM, FCICM) as click-to-open rows, using the mh-faq rows so no
   script is needed. Each row shows the grade as an h3 with who it is for in a grey line under it (the same title style
   as the route cards above), so the row title stays bigger than the h4 headings inside. Opening it shows who it is for, what the assessors
   look for and the qualified route on the left, and "What to send" with the grade's buttons in a white card on the
   right (stacked under 900px). A link to #criteria-acicm (or -mcicm, -fcicm) opens that row. Markup:
     <div class="mh-faq mh-crit">
       <details id="criteria-acicm">
         <summary><h3>Associate (ACICM)</h3><span class="mh-crit__sub">Who it is for, one line</span></summary>
         <div class="mh-crit__body">
           <div class="mh-crit__main"><h4>…</h4><p>…</p><ul class="mh-checks mh-checks--cols">…</ul></div>
           <div class="mh-crit__send"><h4>What to send</h4><ul class="mh-checks mh-checks--todo">…</ul><a class="btn">…</a></div>
         </div>
       </details> …
     </div>
   mh-checks--cols: a long tick list in two columns from 1100px. */
.mh-crit summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 16px;padding:24px 0;font-weight:400}
.mh-crit summary h3{grid-column:1;margin:0}
.mh-crit__sub{grid-column:1;color:var(--mh-muted)}
.mh-crit summary::after{grid-column:2;grid-row:1/3}
.mh-crit summary:hover h3,.mh-crit details[open] summary h3{color:var(--mh-teal)}
/* older row markup (<span><strong>Grade</strong><small>line</small></span>): still drops the line under the grade,
   in regular weight and grey, so a page that has not been re-pasted reads the same way */
.mh-crit summary>span:not(.mh-crit__sub),.mh-crit summary>strong,.mh-crit summary>small{grid-column:1}
.mh-crit summary>span:not(.mh-crit__sub){display:flex;flex-direction:column;gap:6px;min-width:0}
.mh-crit summary small{display:block;font-weight:400;color:var(--mh-muted)}
.mh-crit details>.mh-crit__body{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;max-width:none;padding:4px 0 32px;color:var(--mh-ink)}
.mh-crit__main{display:flex;flex-direction:column;gap:12px;min-width:0}
.mh-crit__main h4{margin:14px 0 0}
.mh-crit__main h4:first-child{margin-top:0}
.mh-crit__main p{color:var(--mh-muted);max-width:68ch}
.mh-crit__main .mh-checks{gap:10px}
.mh-crit__send{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:24px;border:1px solid var(--mh-line);border-radius:var(--mh-radius);background:var(--mh-white)}
.mh-crit__send h4{margin:0}
.mh-crit__send .mh-checks{gap:12px}
.mh-crit__send .btn{margin-top:4px}
@media (min-width:900px){
  .mh-crit details>.mh-crit__body{grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:48px;align-items:start}
}
@media (min-width:1100px){
  .mh-crit__main .mh-checks--cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 32px}
}
@media (max-width:599px){
  .mh-crit__send{padding:20px}
  .mh-crit__send .btn{width:100%}
  .mh-crit__main .mh-checks{gap:14px}
}
/* mh-aud: "Who it's for", every audience shown at once (no tabs or clicking), from Relume Layout 611.
   Two by two (one column on phones): a big number beside each audience, then its name (h3), one line
   (p.mh-muted) and one or two arrow links in .mh-aud__links. Works on white and on the dark band
   (mh-section--blue: light text, light teal numbers, faint dividers). First used on /membership/creditmatters.html.
   <div class="mh-aud">
     <div class="mh-aud__item"><span class="mh-aud__n">01</span>
       <div class="mh-aud__body"><h3>Audience</h3><p class="mh-muted">One line.</p>
         <div class="mh-aud__links"><a class="mh-link mh-link--arrow" href="...">Link</a></div></div></div>
   </div> */
.mh-aud{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:64px}
.mh-aud__item{display:flex;gap:24px;min-width:0;padding:32px 0;border-top:1px solid var(--mh-line)}
.mh-aud__n{flex:none;width:64px;color:var(--color-two-100,#00779a);font-weight:700;font-size:44px;line-height:1}
.mh-aud__body{display:flex;flex-direction:column;gap:12px;min-width:0}
.mh-aud__body h3,.mh-aud__body p{margin:0}
.mh-aud__links{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding-top:8px}
.mh-section--blue .mh-aud__item{border-top-color:rgba(255,255,255,.18)}
.mh-section--blue .mh-aud__n{color:#7fc4d6}
.mh-section--blue .mh-aud h3{color:#fff}
.mh-section--blue .mh-aud .mh-muted{color:#c9d6dc}
@media (max-width:767px){
  .mh-aud{grid-template-columns:minmax(0,1fr)}
  .mh-aud__n{width:48px;font-size:32px}
}
/* mh-split--fill: add to an mh-split so the picture fills the full height of the text beside it, cropped to fit,
   instead of sitting in the middle with white space above and below. On phones (stacked) it keeps at least 260px.
   First used on /membership/benefits-of-membership/retirement.html ("Who it is for" and the retirement planner), and on
   /creditandcollectionsresources/free-policy-health-check.html ("How to get your free report", a portrait picture). */
.mh-split--fill{align-items:stretch}
.mh-split--fill>.mh-split__media{display:flex;flex-direction:column}
.mh-split--fill>.mh-split__media>p{flex:1 1 auto;display:flex;margin:0!important;line-height:0}
.mh-split--fill>.mh-split__media img{flex:1 1 auto;height:100%!important;min-height:260px;aspect-ratio:auto!important;object-fit:cover}

/* mh-feats: short features in a two by two grid (one column on phones), a line above each, from Relume Layout 4.
   Sits in an mh-split__copy under the title. On the dark band (mh-section--blue) the lines go light teal, headings
   white and text the soft grey-blue; small print (p.mh-muted) straight inside the copy goes a quieter grey-blue.
   <div class="mh-feats"><div class="mh-feat"><h3>Tax</h3><p>One line.</p></div> ...</div>
   Phones: a button row carrying "mh-actions--early" moves up to sit straight under the title, above the features,
   so the call to action is seen without scrolling past them; the small print stays at the end. */
.mh-feats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 32px;margin:4px 0}
.mh-feat{display:flex;flex-direction:column;gap:6px;padding-top:14px;border-top:2px solid var(--color-two-100,#00779a)}
.mh-feat h3,.mh-feat p{margin:0}
.mh-section--blue .mh-feat{border-top-color:#7fc4d6}
.mh-section--blue .mh-feat h3{color:#fff}
.mh-section--blue .mh-feat p{color:#c9d6dc}
.mh-section--blue .mh-split__copy>.mh-muted{color:#9fb3bb}
@media (max-width:767px){
  .mh-split__copy:has(>.mh-feats)>.mh-actions--early{order:1;padding-top:0}
  .mh-split__copy:has(>.mh-feats)>.mh-feats{order:2}
  .mh-split__copy:has(>.mh-feats)>.mh-muted{order:3}
}
@media (max-width:599px){.mh-feats{grid-template-columns:minmax(0,1fr)}}
/* mh-lines: a short list as clean rows, a hairline between each and a small teal marker, e.g. the five elements of a
   skill area on the Professional standards page. Long items wrap neatly on their own row.
   <ul class="mh-lines"><li>Strategy and policy</li> ...</ul>
   In an mh-panel, a link straight after the list sits at the bottom of the card, so the cards' links line up. */
.mh-lines{list-style:none;margin:4px 0 0;padding:0;border-bottom:1px solid var(--mh-line)}
.mh-lines li{position:relative;margin:0;padding:11px 0 11px 20px;border-top:1px solid var(--mh-line);color:var(--mh-ink);line-height:1.35}
.mh-lines li::before{content:"";position:absolute;left:2px;top:calc(11px + .68em - 3px);width:6px;height:6px;border:0;border-radius:50%;background:var(--color-two-100,#00779a);transform:none}
.mh-panel .mh-lines+.mh-link{margin-top:auto;padding-top:10px}

/* mh-bento__links: the button and the text link beside it sit on one centre line; when they wrap onto two lines
   (phones), a little more space between them */
.mh-bento__links{align-items:center}
@media (max-width:599px){.mh-bento__links{row-gap:18px}}

/* mh-index: a numbered index in two columns (one on phones), from Relume Layout 242. Each line: a small group label
   in capitals over the item name; the numbers (01, 02 ...) are added automatically. First used for the eleven
   specialisms on /membership/professional-standards.html.
   <ol class="mh-index"><li><small>Credit risk</small><strong>Consumer credit risk management</strong></li> ...</ol> */
.mh-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px;list-style:none;margin:0 0 8px;padding:0;counter-reset:mh-ix}
.mh-index li{counter-increment:mh-ix;display:grid;grid-template-columns:52px minmax(0,1fr);gap:2px 12px;margin:0;padding:18px 0;border-top:1px solid var(--mh-line)}
.mh-index li::before{content:counter(mh-ix,decimal-leading-zero);position:static;grid-row:1/3;width:auto;height:auto;border:0;background:none;transform:none;color:var(--color-two-100,#00779a);font-weight:700;font-size:24px;line-height:1.1}
.mh-index small{color:var(--mh-muted);font-size:13px;letter-spacing:.04em;text-transform:uppercase}
.mh-index strong{font-weight:600;color:var(--mh-ink)}
@media (max-width:767px){.mh-index{grid-template-columns:minmax(0,1fr)}}

/* mh-bento__lead--bleed: add to an mh-bento__lead so its picture fills the right-hand side of the tinted panel, right
   to its top, right and bottom edges (no white frame, no rounded corners of its own; the panel's corners round it),
   cropped to fit the height of the text beside it. Phones: the picture runs edge to edge across the bottom of the
   panel, under the text. First used on /membership/professional-standards.html ("What they are"). */
.mh-bento__lead--bleed{padding:0 0 0 28px;align-items:stretch;overflow:hidden}
.mh-bento__lead--bleed>.mh-bento__text{align-self:center;padding:28px 0}
.mh-bento__lead--bleed>p:has(>img),.mh-bento__lead--bleed>img{display:flex;border-radius:0;background:none}
.mh-bento__lead--bleed>p>img,.mh-bento__lead--bleed>img{height:100%!important;min-height:240px;aspect-ratio:auto;object-fit:cover;object-position:50% 35%}
@media (max-width:767px){
  .mh-bento__lead--bleed{padding:0}
  .mh-bento__lead--bleed>.mh-bento__text{padding:28px 28px 8px}
}
/* mh-library: ReadyMembership's own resource widgets (the grid of resources), shown as a list in the style of the
   restyled events list: one row per item with the date, a "Members only" tag, the title, two lines of teaser, the
   tags, and a "Watch" or "Listen" button on the right (under the text on phones). The pictures are hidden.
   The section carries data-mh-library (see "Library" in the notes above MEMBERSHIP_JS); membership.js adds
   class mh-library and, when there is more than one widget, a row of pills to switch between them (with counts),
   and shows the first 6 items of each with a "Show all" button. Without the script the widgets show as normal. */
.mh-library .widget-resource{margin:0;padding:6px 24px 24px;border:1px solid var(--mh-line);border-radius:16px;background:var(--mh-white)}
.mh-library .widget-resource[hidden]{display:none!important}
.mh-library .widget-resource>.widget-title{display:none}
.mh-lib__bar{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.mh-lib__bar[hidden]{display:none}
.mh-lib__bar button{margin:0;padding:8px 16px;border:1px solid var(--mh-line);border-radius:999px;background:var(--mh-white);color:var(--mh-ink);font:inherit;font-size:14px;font-weight:700;line-height:1.2;cursor:pointer}
.mh-lib__bar button:hover{border-color:var(--color-two-100,#00779a);color:var(--color-two-100,#00779a)}
.mh-lib__bar button[aria-pressed="true"]{background:var(--color-two-100,#00779a);border-color:var(--color-two-100,#00779a);color:#fff}
.mh-lib__bar button span{margin-left:6px;font-weight:400;opacity:.75}
.mh-library .article-list{display:block!important;margin:0!important;padding:0!important}
.mh-library .article-list-item{display:block!important;width:auto!important;max-width:none!important;flex:none!important;float:none!important;margin:0!important;padding:20px 0!important;border-bottom:1px solid var(--mh-line);background:none!important;cursor:pointer}
.mh-library .article-list-item:last-child{border-bottom:0}
.mh-library .article-list-item[hidden]{display:none!important}
.mh-library .article-img{display:none!important}
.mh-library .article-wrapper{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
.mh-library .article-details{position:static!important;display:flex;flex-direction:column;gap:6px;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;transform:none!important;background:none!important}
.mh-library .article-meta-list{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0;padding:0}
.mh-library .article-meta-list-item{margin:0;padding:0;color:var(--color-two-90,#0e6a86);font-size:14px}
.mh-library .article-meta-list-item .font-icon{display:none}
.mh-lib__lock{padding:2px 8px;border-radius:999px;background:var(--mh-tint);color:var(--color-two-110,#18506d);font-size:12px;font-weight:600}
.mh-library h4.article-title{margin:0;font-size:inherit;font-weight:600;line-height:1.35;text-wrap:balance}
.mh-library h4.article-title a{color:var(--mh-ink);text-decoration:none}
.mh-library .article-list-item:hover h4.article-title a{color:var(--color-two-100,#00779a)}
.mh-library .article-teaser{margin:0}
.mh-library .article-teaser p{margin:0;color:var(--mh-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mh-library .article-post-meta{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 0;padding:0}
.mh-library .article-post-meta a{padding:2px 9px;border:1px solid var(--mh-line);border-radius:999px;background:var(--mh-soft);color:var(--mh-muted);font-size:13px;line-height:1.4;text-decoration:none}
.mh-lib__go{justify-self:start;color:var(--color-two-100,#00779a);font-weight:700;white-space:nowrap}
.mh-lib__more{display:block;margin:20px auto 0;padding:10px 20px;border:2px solid var(--color-two-100,#00779a);border-radius:999px;background:transparent;color:var(--color-two-100,#00779a);font:inherit;font-weight:700;cursor:pointer}
.mh-lib__more:hover,.mh-lib__more:focus-visible{background:var(--color-two-100,#00779a);color:#fff}
.mh-lib__more[hidden]{display:none}
.mh-library .article-list-more{margin:16px 0 0;text-align:center}
.mh-library .article-list-more .btn{display:inline;min-height:0;margin:0;padding:0;border:0;background:none!important;color:var(--color-two-100,#00779a)!important;font-weight:600;text-decoration:underline}
@media (min-width:768px){
  .mh-library .article-wrapper{grid-template-columns:minmax(0,1fr) auto;column-gap:32px;align-items:center}
  .mh-lib__go{grid-column:2;grid-row:1;padding:10px 20px;border:2px solid var(--color-two-100,#00779a);border-radius:999px}
  .mh-library .article-list-item:hover .mh-lib__go{background:var(--color-two-100,#00779a);color:#fff}
}
@media (max-width:599px){.mh-library .widget-resource{padding:4px 18px 20px}}
/* mh-rails: ReadyMembership resource widgets shown as horizontal, swipeable rows of cards (like a streaming app),
   one row per widget: heading with the count, arrows (desktop), "See all" link, then the cards (thumbnail with a
   Webinar/Podcast label and a "Members only" tag, date, title). 4 cards across on desktop, 2.6 on tablets, one and a
   bit on phones (swipe, with the arrows under the cards). The section carries data-mh-rails (see "Rails" in the notes above MEMBERSHIP_JS). Without the
   script the widgets show as normal. */
.mh-rails{display:flex;flex-direction:column;gap:40px}
.mh-rails-on .widget-resource{display:none!important}
.mh-rail__head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-bottom:16px}
.mh-rail__head h3{display:flex;align-items:baseline;gap:10px;margin:0}
.mh-rail__head h3 span{color:var(--mh-muted);font-size:15px;font-weight:500}
.mh-rail__all{margin-left:auto}
.mh-rail__nav{display:flex;gap:8px}
.mh-rail__nav button{width:40px;height:40px;margin:0;padding:0;border:1px solid var(--mh-line);border-radius:50%;background:var(--mh-white);color:var(--mh-ink);font:inherit;font-size:18px;line-height:1;cursor:pointer}
.mh-rail__nav button:hover{border-color:var(--color-two-100,#00779a);color:var(--color-two-100,#00779a)}
.mh-rail__nav button:disabled{opacity:.35;cursor:default}
.mh-rail__track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 3*20px)/4);gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 2px 12px}
.mh-rail__track::-webkit-scrollbar{display:none}
.mh-rcard{scroll-snap-align:start;display:flex;flex-direction:column;min-width:0;color:var(--mh-ink);text-decoration:none}
.mh-rcard:hover,.mh-rcard:focus-visible{color:var(--mh-ink);text-decoration:none}
.mh-rcard__img{position:relative;display:block;aspect-ratio:16/10;border-radius:12px;overflow:hidden;background:var(--mh-tint)}
.mh-rcard__img img{display:block;width:100%;height:100%;margin:0;object-fit:cover;transition:transform .3s}
.mh-rcard:hover .mh-rcard__img img{transform:scale(1.04)}
.mh-rcard__type{position:absolute;left:10px;bottom:10px;padding:4px 10px;border-radius:999px;background:rgba(1,48,64,.85);color:#fff;font-size:12px;font-weight:700}
.mh-rcard__lock{position:absolute;right:10px;top:10px;padding:3px 9px;border-radius:999px;background:#fff;color:var(--color-two-110,#18506d);font-size:12px;font-weight:700}
.mh-rcard__body{display:flex;flex-direction:column;gap:4px;padding:12px 2px 0}
.mh-rcard__date{color:var(--mh-muted);font-size:14px}
.mh-rcard strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-weight:600;line-height:1.35}
.mh-rcard:hover strong{color:var(--color-two-100,#00779a)}
@media (max-width:1023px){.mh-rail__track{grid-auto-columns:calc((100% - 2*16px)/2.6);gap:16px}}
/* phones: the arrows move under the cards (centred), the heading and "See all" stay on one line above */
@media (max-width:599px){
  .mh-rail{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px}
  .mh-rail__head{display:contents}
  .mh-rail__head h3{grid-column:1;grid-row:1;margin:0 0 14px}
  .mh-rail__all{grid-column:2;grid-row:1;margin:0 0 14px}
  .mh-rail__track{grid-column:1/-1;grid-row:2;grid-auto-columns:78%}
  .mh-rail__nav{grid-column:1/-1;grid-row:3;justify-content:center;gap:12px;margin-top:6px}
  /* bigger, filled buttons with a heavier arrow so they are easy to see and tap; the one that cannot move
     (start or end of the row) stays outlined, not faded right out */
  .mh-rail__nav button{width:52px;height:52px;border:2px solid var(--color-two-100,#00779a);background:var(--color-two-100,#00779a);color:#fff;font-size:24px;font-weight:700;box-shadow:0 4px 12px rgba(0,45,60,.18)}
  .mh-rail__nav button:hover{background:var(--color-two-110,#18506d);border-color:var(--color-two-110,#18506d);color:#fff}
  .mh-rail__nav button:disabled{opacity:1;background:var(--mh-white);border-color:#9fb3bb;color:#7c8b91;box-shadow:none}
}

/* mh-spot: "latest" spotlight on the right of a hero band, filled in by membership.js from the resource widgets
   further down the page: the newest item of the first widget as a white card (play mark, label, title, date,
   "Members only", "Watch now"), and the newest of the second widget as a smaller row under it. Text only: the
   resource thumbnails are not used here. Until it is filled in (or if it cannot be), its link shows. */
.mh-spot{display:flex;flex-direction:column;gap:12px}
.mh-spot__card{display:flex;flex-direction:column;gap:12px;padding:26px;border-radius:16px;background:var(--mh-white);color:var(--mh-ink);text-decoration:none;box-shadow:0 24px 48px -20px rgba(0,0,0,.55);transition:transform .2s}
.mh-spot__card:hover,.mh-spot__card:focus-visible{transform:translateY(-3px);color:var(--mh-ink);text-decoration:none}
.mh-spot__top{display:flex;align-items:center;gap:12px}
.mh-spot__play{position:relative;flex:none;width:44px;height:44px;border-radius:50%;background:var(--color-two-100,#00779a)}
.mh-spot__play::after{content:"";position:absolute;left:17px;top:13px;border-left:13px solid #fff;border-top:9px solid transparent;border-bottom:9px solid transparent}
.mh-spot__kicker{font-weight:700;color:var(--color-two-100,#00779a)}
.mh-spot__card strong{font-size:20px;font-weight:700;line-height:1.3;text-wrap:balance}
.mh-spot__meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;color:var(--mh-muted);font-size:14px}
.mh-spot__lock{padding:2px 8px;border-radius:999px;background:var(--mh-tint);color:var(--color-two-110,#18506d);font-size:12px;font-weight:600}
.mh-spot__go{color:var(--color-two-100,#00779a);font-weight:700}
.mh-spot__card:hover .mh-spot__go{text-decoration:underline}
.mh-spot__also{display:flex;flex-direction:column;gap:4px;padding:16px 20px;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:rgba(255,255,255,.07);color:#fff;text-decoration:none}
.mh-spot__also:hover,.mh-spot__also:focus-visible{background:rgba(255,255,255,.12);color:#fff;text-decoration:none}
.mh-spot__also span{color:#7fc4d6;font-size:14px;font-weight:700}
.mh-spot__also strong{font-weight:600;line-height:1.35}
.mh-section--band .mh-spot>.mh-link{color:#fff}

/* mh-allow: "Who gets it" as two cards side by side (stacked on phones): what one grade gets, in big numbers on a white
   card, and what every other grade gets on the dark blue card. Each card: eyebrow, h3, a row of three figures
   (<ul class="mh-allow__nums"><li><strong>2</strong><span>webinars</span></li> ...</ul>), a line, then a link or button.
   On the dark card the figures go light teal; mh-allow__grades is the list of grades under them.
   First used on /membership/benefits-of-membership/podcasts-and-webinars.html. */
.mh-allow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.mh-allow__card{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:clamp(28px,4vw,40px);border:1px solid var(--mh-line);border-radius:16px;background:var(--mh-white);color:var(--mh-ink)}
.mh-allow__card h3{margin:0}
.mh-allow__nums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;list-style:none;margin:10px 0 4px;padding:20px 0;border-top:1px solid var(--mh-line);border-bottom:1px solid var(--mh-line)}
.mh-allow__nums li{display:flex;flex-direction:column;gap:6px;margin:0;padding:0 12px;border-left:1px solid var(--mh-line)}
.mh-allow__nums li:first-child{padding-left:0;border-left:0}
.mh-allow__nums li::before{content:none}
.mh-allow__nums strong{color:var(--color-two-100,#00779a);font-size:clamp(40px,5vw,56px);font-weight:700;line-height:1}
.mh-allow__nums span{color:var(--mh-muted);line-height:1.3}
.mh-allow__card>.mh-link,.mh-allow__card>.mh-actions{margin-top:auto;padding-top:6px}
.mh-allow__card--all{border-color:transparent;background:#013040;color:var(--mh-white);box-shadow:0 20px 40px -18px rgba(0,45,60,.45)}
.mh-allow__card--all h3{color:var(--mh-white)}
.mh-allow__card--all .mh-allow__nums,.mh-allow__card--all .mh-allow__nums li{border-color:rgba(255,255,255,.16)}
.mh-allow__card--all .mh-allow__nums strong{color:#7fc4d6}
.mh-allow__card--all .mh-allow__nums span{color:#c9d6dc}
.mh-allow__grades{color:var(--mh-white);font-weight:600}
.mh-allow__card--all .btn{background:var(--mh-white)!important;border-color:var(--mh-white)!important;color:#013040!important}
.mh-allow__card--all .btn:hover,.mh-allow__card--all .btn:focus-visible{background:var(--mh-tint)!important;border-color:var(--mh-tint)!important}
.mh-allow button.btn{cursor:pointer}
.mh-allow+*{margin-top:clamp(24px,3vw,32px)!important}
@media (max-width:767px){.mh-allow{grid-template-columns:minmax(0,1fr)}}

/* mh-feats--4: the four features in one row from 1024px (two by two below, one column on phones), used on its own
   under a centred title, e.g. on the dark band of /creditandcollectionsresources/free-policy-health-check.html */
.mh-title--center+.mh-feats{margin-top:8px}
@media (min-width:1024px){.mh-feats--4{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* mh-report: a picture of a report drawn from a short list, no image needed (Policy health check, "Four checks").
   A white page on a tinted backdrop: a dark header (report name, provider), numbered rows each with a teal tick on the
   right, and a line at the foot. Markup:
     <div class="mh-split__media mh-split__media--report"><div class="mh-report">
       <div class="mh-report__head"><strong>Policy Check Report</strong><span>Compare Credit Insurance</span></div>
       <ol class="mh-report__rows"><li><strong>Hidden gaps</strong><span>One line</span></li> ...</ol>
       <div class="mh-report__foot">Free of charge</div></div></div> */
.mh-split__media--report{display:flex;justify-content:center;padding:clamp(24px,4vw,44px);border-radius:20px;background:var(--mh-tint)}
.mh-report{width:100%;max-width:440px;border-radius:12px;overflow:hidden;background:var(--mh-white);box-shadow:0 24px 48px -20px rgba(0,45,60,.35),0 2px 6px rgba(0,45,60,.08);counter-reset:mh-rp}
.mh-report__head{display:flex;flex-direction:column;gap:2px;padding:18px 22px;background:#013040;color:var(--mh-white)}
.mh-report__head strong{font-size:18px;font-weight:700;color:var(--mh-white)}
.mh-report__head span{color:#9fd8e8;font-size:14px}
.mh-report__rows{list-style:none;margin:0;padding:6px 22px}
.mh-report__rows li{counter-increment:mh-rp;position:relative;display:grid;grid-template-columns:32px minmax(0,1fr) 26px;column-gap:14px;align-items:center;margin:0;padding:16px 0;border-top:1px solid var(--mh-line)}
.mh-report__rows li:first-child{border-top:0}
.mh-report__rows li::before{content:counter(mh-rp);grid-row:1/3;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--mh-tint);color:var(--mh-teal-dark);font-weight:700;line-height:1;position:static;border:0;transform:none}
.mh-report__rows li::after{content:"";grid-column:3;grid-row:1/3;justify-self:center;width:12px;height:7px;margin-top:-4px;border-left:3px solid var(--color-two-100,#00779a);border-bottom:3px solid var(--color-two-100,#00779a);transform:rotate(-45deg)}
.mh-report__rows strong{grid-column:2;font-weight:700;color:var(--mh-ink);line-height:1.3}
.mh-report__rows span{grid-column:2;color:var(--mh-muted);font-size:14px;line-height:1.4}
.mh-report__foot{padding:14px 22px;border-top:1px solid var(--mh-line);background:var(--mh-soft);color:var(--mh-teal-dark);font-weight:700;font-size:14px}
/* mh-split__media--wide: a picture that only shows from 768px (tablets and desktops); on phones it is left out, for a
   decorative picture that would otherwise land at the very end of the section, after its button and small print */
@media (max-width:767px){.mh-split .mh-split__media--wide{display:none}}
@media (max-width:599px){.mh-split__media--report{padding:18px}.mh-report__rows{padding:4px 16px}.mh-report__head,.mh-report__foot{padding-left:16px;padding-right:16px}}

/* mh-spend: where members can save, as a card grid from Relume Layout 378. Wide cards (text left, the brand tile
   picture right), small icon cards (the icon in a blue rounded badge above the text), and a tall "Up to 70% off" card
   on the right with the hero's diagonal split. Four columns on desktop, two on tablets, one on phones (pictures above
   the text). First used on /membership/benefits-of-membership/exclusive-rewards.html ("Where you can save"). Markup:
     <div class="mh-spend">
       <div class="mh-spend__card mh-spend__card--split">
         <div class="mh-spend__body"><h3>Supermarkets</h3><ul class="mh-spend__names"><li>Tesco</li> ...</ul><p>One line</p></div>
         <div class="mh-spend__pic">{{image widget: the 16:9 brand tile}}</div></div>
       <div class="mh-spend__stat"><strong>Up to 70% off</strong><span>One line</span><a class="btn" href="...">Get the app</a></div>
       <div class="mh-spend__card mh-spend__card--icon">
         <div class="mh-spend__body"><div class="mh-spend__icon">{{image widget: the transparent icon}}</div><h3>...</h3><ul class="mh-spend__names">...</ul></div></div>
       ... (one more icon card, then two more split cards)
     </div>
     <p class="mh-spend__more">Plus ...</p>
   The list of names MUST keep class="mh-spend__names": a list with no class picks up the site's own list styles (indent and gaps).
   Names are separated by small teal dots; a dot never starts or ends a line. The CMS wraps each image in its own <p>,
   so the !important rules override its inline sizing. */
.mh-spend{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.mh-spend__card{position:relative;display:flex;flex-direction:column;min-width:0;border:1px solid var(--mh-line);border-radius:18px;background:var(--mh-white);color:var(--mh-ink);overflow:hidden}
.mh-spend__body{display:flex;flex-direction:column;padding:28px}
.mh-spend__body h3{margin:0;font-size:16px;font-weight:700;line-height:1.3;color:var(--color-two-100,#00779a)}
.mh-spend__names{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 0;list-style:none;margin:10px 0 0 -24px;padding:0;clip-path:inset(0 0 0 24px)}
.mh-spend__names li{margin:0;padding:0;font-size:22px;font-weight:700;line-height:1.3;letter-spacing:-.01em;color:var(--mh-ink)}
.mh-spend__names li::before{content:"\00b7";position:static;display:inline-block;width:24px;height:auto;margin:0;border:0;background:none;transform:none;text-align:center;color:var(--color-two-100,#00779a)}
.mh-spend__body>p{margin:10px 0 0;color:var(--mh-muted)}
.mh-spend__pic{margin:0;line-height:0;background:#1E6FA8;overflow:hidden}
.mh-spend__pic p{margin:0!important;padding:0!important;line-height:0;height:100%}
.mh-spend__pic img{display:block;width:100%!important;height:100%!important;max-width:none;margin:0!important;padding:0!important;object-fit:cover}
.mh-spend__icon{width:64px;height:64px;margin:0 0 22px;border-radius:16px;background:#1E6FA8;line-height:0;overflow:hidden;box-shadow:0 8px 18px -8px rgba(30,111,168,.6)}
.mh-spend__icon p{margin:0!important;padding:0!important;line-height:0;width:100%;height:100%}
.mh-spend__icon img{display:block;width:100%!important;height:100%!important;max-width:none;margin:0!important;padding:0!important;object-fit:cover;transform:scale(1.08)}
.mh-spend__card--split{grid-column:span 2;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.mh-spend__card--split .mh-spend__body{justify-content:center}
.mh-spend__card--split .mh-spend__pic{min-height:240px}
.mh-spend__card--icon .mh-spend__body{height:100%}
.mh-spend__stat{grid-column:3/5;grid-row:1/3;display:flex;flex-direction:column;justify-content:flex-end;gap:10px;min-width:0;padding:32px;border-radius:18px;background:linear-gradient(135deg,#013040 55%,#04637F 0%);color:var(--mh-white);overflow:hidden}
.mh-spend__stat strong{font-size:clamp(56px,6.5vw,92px);line-height:.92;font-weight:800;letter-spacing:-.03em;color:var(--mh-white);text-wrap:balance}
.mh-spend__stat span{font-size:18px;color:#c9d6dc;text-wrap:balance}
.mh-spend__stat .btn{align-self:flex-start;margin-top:14px;background:var(--mh-white)!important;border-color:var(--mh-white)!important;color:#013040!important}
.mh-spend__stat .btn:hover,.mh-spend__stat .btn:focus-visible{background:var(--mh-tint)!important;border-color:var(--mh-tint)!important}
.mh-spend__more{max-width:62ch;margin:24px auto 0!important;color:var(--mh-muted);text-align:center;text-wrap:balance}
@media (max-width:1023px){
  .mh-spend{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mh-spend__stat{grid-column:1/-1;grid-row:auto;min-height:260px}
}
@media (max-width:599px){
  .mh-spend{grid-template-columns:minmax(0,1fr);gap:14px}
  .mh-spend__card--split{grid-column:auto;grid-template-columns:minmax(0,1fr)}
  .mh-spend__card--split .mh-spend__pic{order:-1;min-height:0;aspect-ratio:16/9}
  .mh-spend__stat{grid-column:auto;padding:26px}
  .mh-spend__body{padding:24px}
}
@media (max-width:599px){.mh-allow__card--all .mh-actions .btn{width:100%}.mh-allow__card--all .mh-actions{width:100%}}


/* page chrome: the CMS banner and title are hidden (the ticket carries the h1); no stray padding or empty paragraph */
.page-banner:has(~.main-wrapper .evp),.page-wrapper:has(.evp) .page-banner,.page-wrapper:has(.evp) .page-section-title{display:none!important}
#contents>.page-section:has(.evp){padding-top:0;padding-bottom:0}
#contents:has(.evp)>p{display:none}

.evp{--evp-navy:#002d3c;--evp-teal:var(--color-two-100,#00779a);--evp-teal-dark:#18506d;--evp-tint:#e8f1f4;--evp-paper:#f6f7f5;--evp-ink:#21262b;--evp-text:#494f55;--evp-muted:#757b80;--evp-line:#d2d3d5;--evp-sky:#7fc4d6;--evp-mist:#c9d6dc;--evp-bg:#fff;color:var(--evp-text)}
.evp.mh-section{padding:clamp(56px,8vw,88px) 0}
.evp h1,.evp h2,.evp h3{color:var(--evp-ink);font-weight:700;text-wrap:balance}
.evp-h2{font-size:clamp(27px,3.2vw,34px)!important;line-height:1.2!important}
.evp .eyebrow{margin:0 0 12px}
/* section titles: the CMS drops inline margins from the block, so the spacing under them is set here */
.evp .mh-title{margin-bottom:clamp(28px,4vw,40px)}
.evp .mh-title>.evp-muted{margin-top:2px}
.evp-muted{color:var(--evp-muted)}
.evp-band::before{content:"";position:absolute;top:0;bottom:0;left:50%;transform:translateX(-50%);width:calc(100vw + 2px);z-index:-1;background:var(--evp-bg)}
.evp-band--paper{--evp-bg:var(--evp-paper)}
.evp-band--tint{--evp-bg:var(--evp-tint)}
/* long venues stop at two lines; empty lines collapse */
.evp-stub__venue,.evp-card__where,.evp-row__where{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.evp-card__where:empty,.evp-row__where:empty{display:none}
/* jumps (filters, Show N events, the guide's Next step) stop clear of the site's sticky header */
.evp.mh-section,.evp-results,.evp-gstep{scroll-margin-top:90px}
.evp-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* buttons: pill shaped, 48px tall */
.evp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;margin:0;padding:10px 22px;border:2px solid var(--evp-navy);border-radius:999px;background:var(--evp-navy);color:#fff!important;font:inherit;font-weight:600;line-height:1.2;text-decoration:none!important;white-space:nowrap;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.evp-btn:hover,.evp-btn:focus-visible{background:var(--evp-teal-dark);border-color:var(--evp-teal-dark)}
.evp-btn--white{background:#fff;border-color:#fff;color:var(--evp-navy)!important}
.evp-btn--white:hover,.evp-btn--white:focus-visible{background:var(--evp-tint);border-color:var(--evp-tint)}
.evp-btn--line{background:transparent;color:var(--evp-navy)!important}
.evp-btn--line:hover,.evp-btn--line:focus-visible{background:var(--evp-navy);color:#fff!important}
.evp-btn--ghost{background:transparent;border-color:#fff}
.evp-btn--ghost:hover,.evp-btn--ghost:focus-visible{background:#fff;border-color:#fff;color:var(--evp-navy)!important}
.evp-btn--teal{background:var(--evp-teal);border-color:var(--evp-teal)}
.evp-actions{display:flex;flex-wrap:wrap;gap:12px}
/* "Book now" pill with a round arrow: on event cards and the Next up stub */
.evp-cta{display:inline-flex;align-items:center;gap:12px;padding:6px 6px 6px 20px;border-radius:999px;background:var(--evp-teal);color:#fff;font-weight:700;white-space:nowrap;transition:background .2s}
.evp-cta__arrow{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#fff;color:var(--evp-teal);font-weight:700;transition:transform .2s}
.evp-cta--white{background:#fff;color:var(--evp-navy)}
.evp-cta--white .evp-cta__arrow{background:var(--evp-navy);color:#fff}
.evp-chip{display:inline-block;padding:3px 10px;border-radius:999px;background:var(--evp-tint);color:var(--evp-teal-dark);font-size:13px;font-weight:600;line-height:1.4}
.evp-chip--free{background:#e4f6ec;color:#1b5e3a}
.evp-chip--hot{background:#fdf0dc;color:#7a4b06}
.evp-chip--line{border:1px solid var(--evp-line);background:#fff;color:var(--evp-text)}
.evp-chip--white{background:#fff;color:var(--evp-teal-dark)}
.evp-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:76px;padding:8px 10px;border-radius:12px;background:#fff;color:var(--evp-ink);line-height:1.15;text-align:center}
.evp-tile span{font-size:13px;color:var(--evp-muted)}
.evp-tile strong{margin:2px 0;font-size:26px;font-weight:700}

/* ── 1. HERO: the event ticket. The stub (data-evp-next) is filled in by events.js; the notches are its ::before/::after ── */
/* hero backdrop: the dark blue with a faint dot grid and two soft radial glows (teal top-left, light teal bottom-right).
   The ticket gets a thin light rim so it reads against the same blue; its notches and the counts follow the dark band. */
.evp.evp-hero{--evp-bg:#002d3c}
.evp-hero::after{content:"";position:absolute;top:0;bottom:0;left:50%;width:calc(100vw + 2px);transform:translateX(-50%);z-index:-1;pointer-events:none;
  background:radial-gradient(circle at 1px 1px,rgba(255,255,255,.08) 1.1px,transparent 1.6px) 0 0/22px 22px,radial-gradient(ellipse 45% 85% at 6% 0%,rgba(0,119,154,.45),transparent 70%),radial-gradient(ellipse 28% 60% at 100% 100%,rgba(127,196,214,.16),transparent 70%);
  -webkit-mask-image:linear-gradient(#000 40%,rgba(0,0,0,.4) 75%,transparent);mask-image:linear-gradient(#000 40%,rgba(0,0,0,.4) 75%,transparent)}
.evp.evp-hero{padding:36px 0 40px}
.evp-ticket{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,380px);border-radius:24px;color:#fff;filter:drop-shadow(0 0 1px rgba(255,255,255,.4)) drop-shadow(0 26px 28px rgba(0,0,0,.35))}
.evp-ticket--solo{grid-template-columns:minmax(0,1fr)}
.evp-ticket--solo .evp-stub{display:none}
.evp-ticket--solo .evp-ticket__main{border-radius:inherit;-webkit-mask:none;mask:none}
/* the notches are real holes cut out of the two halves (masks), so whatever is behind shows through; the shadow and
   the faint light outline come from drop-shadow filters on the ticket, so they follow the notched shape */
.evp-ticket__main{display:flex;flex-direction:column;justify-content:center;gap:10px;min-width:0;padding:40px 48px 32px;border-radius:24px 0 0 24px;background:var(--evp-navy);-webkit-mask:radial-gradient(circle 20px at 100% 0,#0000 19.5px,#000 20.5px) top/100% 51% no-repeat,radial-gradient(circle 20px at 100% 100%,#0000 19.5px,#000 20.5px) bottom/100% 51% no-repeat;mask:radial-gradient(circle 20px at 100% 0,#0000 19.5px,#000 20.5px) top/100% 51% no-repeat,radial-gradient(circle 20px at 100% 100%,#0000 19.5px,#000 20.5px) bottom/100% 51% no-repeat}
.evp-ticket__main .eyebrow{margin:0}
.evp .evp-ticket h1{max-width:24ch;margin:0;color:#fff;font-size:36px;line-height:1.15}
.evp-ticket__lead{max-width:60ch;color:var(--evp-mist);font-size:16px}
.evp-ticket .evp-actions{align-items:center;gap:12px 24px;margin-top:10px}
/* a quiet text link on the dark ticket ("How booking works") */
.evp-tlink{color:#fff!important;font-weight:600;text-decoration:underline!important;text-underline-offset:4px;text-decoration-color:rgba(255,255,255,.45)!important}
.evp-tlink:hover,.evp-tlink:focus-visible{text-decoration-color:#fff!important}
.evp-fine{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:auto;padding-top:28px;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--evp-sky);opacity:.4}
.evp-stub{position:relative;display:flex;flex-direction:column;gap:8px;padding:36px 36px 32px;border-left:2px dashed rgba(255,255,255,.35);border-radius:0 24px 24px 0;background:var(--evp-teal);color:#fff!important;text-decoration:none!important;transition:background .2s;-webkit-mask:radial-gradient(circle 20px at 0 0,#0000 19.5px,#000 20.5px) top/100% 51% no-repeat,radial-gradient(circle 20px at 0 100%,#0000 19.5px,#000 20.5px) bottom/100% 51% no-repeat;mask:radial-gradient(circle 20px at 0 0,#0000 19.5px,#000 20.5px) top/100% 51% no-repeat,radial-gradient(circle 20px at 0 100%,#0000 19.5px,#000 20.5px) bottom/100% 51% no-repeat}
.evp-stub:hover,.evp-stub:focus-visible{background:#006a89}
.evp-stub__label{font-size:13px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#d9f1f7}
.evp-stub__date{display:flex;align-items:center;gap:12px}
.evp-stub__num{font-size:56px;line-height:.9}
.evp-stub__mon{display:flex;flex-direction:column;font-weight:700;line-height:1.15}
.evp-stub__mon span+span{font-weight:500;color:#d9f1f7}
.evp-stub__title{font-size:22px;line-height:1.25;text-wrap:balance}
.evp-stub__venue{color:#d9f1f7}
.evp-stub__chips{display:flex;flex-wrap:wrap;gap:6px}
/* the whole stub is the link; a round arrow at its foot (no second button competing with "Browse all events") */
.evp-stub__go{display:inline-flex;align-items:center;justify-content:center;align-self:flex-end;margin-top:auto;width:52px;height:52px;border-radius:50%;background:#fff;color:var(--evp-navy);font-size:22px;font-weight:700;transition:transform .2s}
.evp-stub:hover .evp-stub__go,.evp-stub:focus-visible .evp-stub__go{transform:translateX(4px)}
.evp-stub:hover .evp-cta__arrow{transform:translateX(4px)}
/* the counts under the ticket: each one opens the calendar on that type */
/* "Coming up:" one quiet line of counts under the ticket; each one opens the calendar on that type */
.evp-snap{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 0;margin:24px 0 0;color:var(--evp-mist);font-size:15px}
.evp-snap:empty{display:none}
.evp-snap__label{margin-right:14px}
.evp-snap a{color:#fff!important;font-weight:600;text-decoration:none!important}
.evp-snap a:hover,.evp-snap a:focus-visible{text-decoration:underline!important;text-underline-offset:4px}
.evp-snap a+a::before{content:"\00b7";display:inline-block;margin:0 12px;color:var(--evp-sky);font-weight:700}

/* ── 2. FULL CALENDAR: the widgets in data-evp-feed are read by events.js and shown as one list ── */
/* the widget box at the top of the page block: staff edit the widgets there; visitors never see it (the calendar is
   built from it). If this stylesheet fails to load, the widgets simply show at the top of the page as normal. */
.evp-source{display:none!important}
.evp-feed--on .widget-events{display:none!important}
.evp-feed__wait{margin:24px 0 0!important;color:var(--evp-muted)}
.evp-feed--on .evp-feed__wait{display:none}
.evp-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}
.evp-head .evp-h2{margin:0}
.evp-seg{display:inline-flex;flex-wrap:wrap;padding:4px;border-radius:999px;background:var(--evp-tint)}
.evp-seg button{min-height:40px;margin:0;padding:0 18px;border:0;border-radius:999px;background:transparent;color:var(--evp-ink);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.evp-seg button[aria-pressed="true"]{background:var(--evp-navy);color:#fff}
/* the view switch and the search button sit together beside the heading (data-evp-views) */
.evp-viewbar{display:flex;align-items:center;gap:8px}
.evp-viewbar[hidden]{display:none}
.evp-sbtn{flex:none;width:48px;height:48px;margin:0;padding:0;border:0;border-radius:50%;background:var(--evp-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23002d3c' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center/20px no-repeat;cursor:pointer;transition:background-color .2s,transform .2s}
.evp-sbtn:hover{background-color:#d3e6ec}
.evp-sbtn.is-open{background:var(--evp-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center/20px no-repeat;transform:rotate(90deg)}
/* the search bar slides open under the heading when the magnifying glass is pressed */
.evp-searchwrap{display:grid;grid-template-rows:0fr;margin-top:0;opacity:0;visibility:hidden;transition:grid-template-rows .32s ease,margin-top .32s ease,opacity .2s ease,visibility 0s linear .32s}
.evp-searchwrap.is-open{grid-template-rows:1fr;margin-top:4px;opacity:1;visibility:visible;transition:grid-template-rows .32s ease,margin-top .32s ease,opacity .25s ease .06s,visibility 0s}
.evp-searchwrap__in{min-height:0;overflow:hidden;padding:4px}
.evp-search{display:flex;align-items:center;min-height:56px;margin:0;padding:0 16px 0 48px;border:1px solid #c4ced3;border-radius:14px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23757b80' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 18px center no-repeat;box-shadow:0 8px 28px rgba(0,45,60,.1);transform:translateY(-8px);transition:transform .32s ease}
.evp-searchwrap.is-open .evp-search{transform:none}
.evp-search:focus-within{border-color:var(--evp-teal);box-shadow:0 0 0 3px rgba(0,119,154,.2),0 8px 28px rgba(0,45,60,.1)}
.evp-search input{flex:1;min-width:0;height:54px;margin:0;padding:0;border:0;outline:0;background:transparent;box-shadow:none;font:inherit;font-size:16px;color:var(--evp-ink)}
.evp-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.evp-pills button{min-height:44px;margin:0;padding:9px 16px;border:1px solid var(--evp-line);border-radius:999px;background:#fff;color:var(--evp-ink);font:inherit;font-size:14px;font-weight:700;line-height:1.2;cursor:pointer}
.evp-pills button:hover{border-color:var(--evp-teal);color:var(--evp-teal)}
.evp-pills button[aria-pressed="true"]{background:var(--evp-teal);border-color:var(--evp-teal);color:#fff}
.evp-pills button span{margin-left:6px;font-weight:400;opacity:.75}
.evp-pills button[hidden]{display:none}

/* cards (the default view) */
.evp-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:24px;margin-top:32px}
.evp-card{position:relative;display:flex;flex-direction:column;border:1px solid var(--evp-line);border-radius:20px;overflow:hidden;background:#fff;color:var(--evp-ink);transition:transform .2s,box-shadow .2s}
.evp-card:hover{transform:translateY(-4px);box-shadow:0 22px 44px -20px rgba(0,45,60,.4)}
.evp-card__img{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:var(--evp-tint)}
.evp-card__img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s}
.evp-card:hover .evp-card__img img{transform:scale(1.05)}
.evp-card__img .evp-tile{position:absolute;top:14px;left:14px}
.evp-card__img .evp-chip{position:absolute;top:14px;right:14px;max-width:calc(100% - 120px);overflow:hidden;background:#fff;text-overflow:ellipsis;white-space:nowrap}
.evp-card__body{display:flex;flex-direction:column;gap:10px;flex:1;padding:20px 22px 22px}
.evp-card__flags{display:flex;flex-wrap:wrap;gap:6px}
.evp-card__flags:empty{display:none}
.evp .evp-card h3{margin:0;font-size:19px;line-height:1.35}
.evp-card h3 a{color:inherit;text-decoration:none}
.evp-card h3 a::after{content:"";position:absolute;inset:0;z-index:1}
.evp-card h3 a:focus-visible{outline:none}
.evp-card:has(h3 a:focus-visible){outline:3px solid var(--evp-teal);outline-offset:3px}
.evp-card__where{font-size:14px;color:var(--evp-muted)}
/* the footer is the ticket stub: a dashed tear line with a notch at each edge */
.evp-card__foot{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:16px;border-top:2px dashed var(--evp-line);font-size:14px;font-weight:600;color:var(--evp-muted)}
.evp-card__foot::before,.evp-card__foot::after{content:"";position:absolute;top:-12px;width:22px;height:22px;border:1px solid var(--evp-line);border-radius:50%;background:#fff}
.evp-card__foot::before{left:-34px}
.evp-card__foot::after{right:-34px}
.evp-card:hover .evp-cta{background:var(--evp-teal-dark)}
.evp-card:hover .evp-cta__arrow{transform:translateX(4px)}
/* annual events (Credit Fest, the awards, the AGM) stand out on navy */
.evp-card--flag{border-color:var(--evp-navy);background:var(--evp-navy);color:#fff}
.evp .evp-card--flag h3,.evp .evp-row--flag h3{color:#fff}
.evp-card--flag .evp-card__where,.evp-card--flag .evp-card__foot{color:var(--evp-mist)}
.evp-card--flag .evp-card__foot{border-top-color:rgba(255,255,255,.3)}
.evp-card--flag .evp-card__foot::before,.evp-card--flag .evp-card__foot::after{border-color:var(--evp-navy)}
.evp-card--flag .evp-cta{background:#fff;color:var(--evp-navy)}
.evp-card--flag .evp-cta__arrow{background:var(--evp-teal);color:#fff}
.evp-card--flag:hover .evp-cta{background:var(--evp-tint)}

/* list and "by month" views: agenda rows */
.evp-month{margin:28px 0 0!important;padding:0 0 10px;border-bottom:2px solid var(--evp-ink);font-weight:700;color:var(--evp-ink)}
.evp-rows{margin-top:16px}
.evp-row{position:relative;display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:24px;align-items:center;padding:20px 0;border-top:1px solid var(--evp-line);color:var(--evp-ink)}
.evp-month+.evp-row{border-top:0}
.evp-row .evp-tile{border:1px solid var(--evp-line)}
.evp-row__body{display:flex;flex-direction:column;gap:6px;min-width:0}
.evp-row__flags{display:flex;flex-wrap:wrap;gap:6px}
.evp .evp-row h3{margin:0;font-size:18px;line-height:1.35}
.evp-row h3 a{color:inherit;text-decoration:none}
.evp-row h3 a::after{content:"";position:absolute;inset:0;z-index:1}
.evp-row:hover h3 a{color:var(--evp-teal)}
.evp-row__where{font-size:14px;color:var(--evp-muted)}
.evp-row__book{display:inline-flex;align-items:center;min-height:44px;padding:8px 20px;border:2px solid var(--evp-navy);border-radius:999px;color:var(--evp-navy);font-weight:600;white-space:nowrap}
.evp-row:hover .evp-row__book{background:var(--evp-navy);color:#fff}
.evp-row--flag{margin:12px 0;padding:20px 24px;border:0;border-radius:16px;background:var(--evp-navy);color:#fff}
.evp-row--flag+.evp-row{border-top:0}
.evp-row--flag .evp-row__where{color:var(--evp-mist)}
.evp-row--flag:hover h3 a{color:#fff}
.evp-row--flag .evp-row__book{border-color:#fff;background:#fff;color:var(--evp-navy)}
/* by month: one row of months that scrolls sideways, with previous / next buttons at the end */
.evp-monthbar{display:flex;align-items:center;gap:16px;margin-top:28px}
.evp-months{position:relative;display:flex;flex:1;min-width:0;gap:10px;padding:2px 0 4px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}
.evp-months::-webkit-scrollbar{display:none}
.evp-months button{flex:none;min-width:112px;margin:0;padding:12px 18px;border:1px solid var(--evp-line);border-radius:12px;background:#fff;color:var(--evp-ink);font:inherit;text-align:left;white-space:nowrap;cursor:pointer;scroll-snap-align:start}
.evp-months button strong{display:block;font-size:18px}
.evp-months button span{font-size:13px;opacity:.85}
.evp-months button[aria-pressed="true"]{border:2px solid var(--evp-navy);background:var(--evp-navy);color:#fff}
.evp-months button:disabled{opacity:.45;cursor:default}
.evp-scrub{display:flex;flex:none;gap:8px}
.evp-scrub button{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;margin:0;padding:0;border:1px solid var(--evp-line);border-radius:50%;background:#fff;color:var(--evp-navy);font:inherit;font-size:20px;font-weight:700;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.evp-scrub button:hover:not(:disabled){border-color:var(--evp-navy);background:var(--evp-navy);color:#fff}
.evp-scrub button:disabled{opacity:.35;cursor:default}
.evp-more{display:flex;justify-content:center;margin-top:36px}
.evp-more[hidden],.evp-empty[hidden],.evp-results [hidden]{display:none!important}
.evp-empty{margin:32px 0 0!important;padding:28px;border:1px dashed #9fc3cf;border-radius:12px;color:var(--evp-muted);text-align:center}

/* ── 3. ANNUAL EVENTS: Credit Fest large, the awards and the AGM beside it ── */
.evp-annual{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:24px}
.evp-annual__main{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;gap:12px;min-height:440px;padding:36px;border-radius:20px;overflow:hidden;background:#0e3a49;color:#fff}
.evp-annual__main>p:first-child:has(img),.evp-annual__main>img:first-child,.evp-annual__main>.mh-ph:first-child{position:absolute;inset:0;z-index:-2;margin:0!important;border-radius:0}
.evp-annual__main>p:first-child img,.evp-annual__main>img:first-child{width:100%!important;height:100%!important;object-fit:cover}
.evp-annual__main::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(0,45,60,.95) 30%,rgba(0,45,60,.25))}
.evp-annual__main .evp-annual__title{margin:0;color:#fff;font-size:32px;line-height:1.15}
.evp-annual__main p{margin:0;color:var(--evp-mist)}
.evp-annual__chips{display:flex;flex-wrap:wrap;gap:8px}
.evp-annual__side{display:grid;gap:24px}
.evp-annual__card{position:relative;display:flex;flex-direction:column;gap:10px;padding:28px;border-radius:20px;background:var(--evp-tint)}
.evp-annual__card--line{border:1px solid var(--evp-line);background:#fff}
.evp-annual__card .eyebrow{margin:0}
.evp .evp-annual__card h3{margin:0;font-size:22px;line-height:1.3}
.evp-annual__card p{margin:0;font-size:14px;color:var(--evp-muted)}
/* shown only once that event is in the calendar (events.js adds is-live): e.g. the AGM's date and link */
[data-evp-annual]:not(.is-live) .evp-annual__when,[data-evp-annual]:not(.is-live) .evp-annual__book{display:none!important}
.evp-go{font-weight:700;color:var(--evp-teal);text-decoration:none}
.evp-annual__main .evp-go{color:var(--evp-sky)}
.evp-go::after{content:" \2192"}
.evp-go--cover::before{content:"";position:absolute;inset:0;z-index:1}
.evp-annual__main:hover .evp-go,.evp-annual__card:has(.evp-go--cover):hover .evp-go,.evp-go:hover,.evp-go:focus-visible{text-decoration:underline}

/* ── 4. BRANCH NETWORK: copy left; each branch's next event (filled in by events.js) right ── */
.evp-split{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));gap:56px;align-items:center}
.evp-split__copy{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.evp-split__copy .eyebrow{margin:0}
/* the branches' next events as small tickets on a dotted panel: a navy date stub, a dashed tear line with a notch
   punched top and bottom (real holes, masks), the branch, the event and an arrow. "See every branch" sits under them. */
.evp-branches{--bt-d:92px;display:flex;flex-direction:column;gap:14px;padding:28px;border-radius:24px;background:radial-gradient(circle at 1px 1px,rgba(0,45,60,.13) 1.1px,transparent 1.6px) 0 0/22px 22px,radial-gradient(ellipse 70% 90% at 100% 0%,rgba(127,196,214,.35),transparent 70%),var(--evp-tint)}
.evp-bticket{display:grid;grid-template-columns:var(--bt-d) minmax(0,1fr) auto;align-items:stretch;border-radius:16px;background:#fff;color:var(--evp-ink)!important;text-decoration:none!important;transition:transform .2s;
  -webkit-mask:radial-gradient(circle 10px at var(--bt-d) 0,#0000 9.5px,#000 10.5px) top/100% 51% no-repeat,radial-gradient(circle 10px at var(--bt-d) 100%,#0000 9.5px,#000 10.5px) bottom/100% 51% no-repeat;
  mask:radial-gradient(circle 10px at var(--bt-d) 0,#0000 9.5px,#000 10.5px) top/100% 51% no-repeat,radial-gradient(circle 10px at var(--bt-d) 100%,#0000 9.5px,#000 10.5px) bottom/100% 51% no-repeat}
.evp-bticket:hover,.evp-bticket:focus-visible{transform:translateX(4px)}
.evp-bticket__date{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:16px 8px;border-radius:16px 0 0 16px;background:var(--evp-navy);color:#fff;line-height:1;text-align:center}
.evp-bticket__date small{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--evp-sky)}
.evp-bticket__date strong{font-size:32px;font-weight:700}
.evp-bticket__date span{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.evp-bticket__body{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;padding:16px 20px;border-left:2px dashed var(--evp-line)}
.evp-bticket__branch{font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--evp-teal)}
.evp-bticket__title{font-size:16px;font-weight:700;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.evp-bticket__meta{font-size:14px;color:var(--evp-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.evp-bticket__go{display:flex;align-items:center;padding-right:18px}
.evp-bticket__go::before{content:"\2192";display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--evp-tint);color:var(--evp-teal);font-weight:700;transition:background .2s,color .2s}
.evp-bticket:hover .evp-bticket__go::before,.evp-bticket:focus-visible .evp-bticket__go::before{background:var(--evp-teal);color:#fff}
.evp-branch--all{align-self:flex-start;margin-top:4px;color:var(--evp-teal)!important;font-weight:700;text-decoration:none!important}
.evp-branch--all:hover,.evp-branch--all:focus-visible{text-decoration:underline!important;text-underline-offset:4px}
@media (max-width:767px){
  .evp-branches{--bt-d:72px;padding:18px;border-radius:20px}
  .evp-bticket__date strong{font-size:26px}
  .evp-bticket__body{padding:14px 14px}
  .evp-bticket__go{padding-right:12px}
  .evp-bticket__go::before{width:34px;height:34px}
}
@media (prefers-reduced-motion:reduce){.evp-bticket{transition:none}}

/* ── 5. HOW TO BOOK: one step at a time, with the real screen beside it (inline on phones) ── */
.evp-guide{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:48px;align-items:start}
.evp-gsteps{display:flex;flex-direction:column;gap:6px;margin:0!important;padding:0!important;list-style:none!important}
.evp-gstep{margin:0!important;padding:0!important;border-left:3px solid #c4d7df}
.evp-gstep::before{display:none!important}
.evp-gstep.is-open{border-left-color:var(--evp-teal);border-radius:0 12px 12px 0;background:#fff}
.evp .evp-gstep__title{display:flex;align-items:center;gap:14px;margin:0;padding:14px 18px;font-size:17px;line-height:1.35}
.evp-gstep__title button{display:flex;align-items:center;gap:14px;width:calc(100% + 36px);margin:-14px -18px;padding:14px 18px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.evp-gstep__n{display:inline-flex;flex:none;align-items:center;justify-content:center;width:36px;height:36px;border:2px solid var(--evp-teal);border-radius:50%;background:#fff;color:var(--evp-teal);font-size:16px;font-weight:700}
.evp-gstep.is-open .evp-gstep__n{background:var(--evp-teal);color:#fff}
.evp-gstep__body{display:flex;flex-direction:column;gap:14px;padding:0 18px 22px 68px}
.evp-gstep__body p{margin:0;color:var(--evp-muted)}
.evp-guide--on .evp-gstep:not(.is-open) .evp-gstep__body{display:none}
.evp-gshots img,.evp-guide__fig img{display:block;width:100%!important;height:auto!important;border-radius:14px;box-shadow:0 24px 48px -24px rgba(0,45,60,.55)}
.evp-gshots p{margin:0}
/* screenshots sit inside the grey placeholder box the image widget replaced (mh-ph): show them whole, not cropped to 3:2,
   and drop the widget's own spacing and the empty paragraph the CMS adds after it */
.evp-gshots .mh-ph,.evp-guide__fig .mh-ph{display:block;aspect-ratio:auto!important;padding:0;border-radius:0;background:none;overflow:visible;line-height:0;font-size:0}
.evp-gshots .mh-ph img,.evp-guide__fig .mh-ph img{height:auto!important;object-fit:contain!important;margin:0!important}
.evp-gshots .mh-ph>p:not(:has(img)),.evp-guide__fig .mh-ph>p:not(:has(img)){display:none}
.evp-gshot+.evp-gshot{margin-top:14px}
.evp-guide--on .evp-gshot[hidden]{display:none}
.evp-gstep .evp-seg{border-radius:16px}
.evp-gstep .evp-seg button{padding:0 14px;font-size:14px}
.evp-gnav{display:flex;flex-wrap:wrap;gap:10px}
.evp-gnav .evp-btn{min-height:40px;padding:6px 16px;font-size:15px}
.evp-guide__fig{position:sticky;top:24px;display:flex;flex-direction:column;gap:12px;margin:0}
.evp-guide__fig figcaption{font-size:14px;color:var(--evp-muted)}
.evp-guide:not(.evp-guide--on) .evp-guide__fig{display:none}
/* the figure shows the open step's screen, so the copy inside the step is hidden (from 768px) */
@media (min-width:768px){.evp-guide--on .evp-gstep__body .evp-gshots{display:none}}
/* "Already booked?" fold-out on navy */
.evp-after{margin-top:48px;border-radius:20px;background:var(--evp-navy);color:#fff;overflow:hidden}
.evp-after>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 32px;color:#fff;list-style:none;cursor:pointer}
.evp-after>summary::-webkit-details-marker{display:none}
.evp-after>summary span{display:flex;flex-direction:column;gap:4px}
.evp-after>summary b{font-weight:700;color:var(--evp-sky)}
.evp-after>summary strong{font-size:22px}
.evp-after>summary::after{content:"+";display:inline-flex;flex:none;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#fff;color:var(--evp-navy);font-size:22px;font-weight:700}
.evp-after[open]>summary::after{content:"\2212"}
.evp-after .evp-guide{padding:0 32px 32px}
.evp-after .evp-gstep{border-left-color:rgba(255,255,255,.2)}
.evp-after .evp-gstep.is-open{border-left-color:var(--evp-sky);background:rgba(127,196,214,.14)}
.evp-after .evp-gstep__title{color:#fff}
.evp-after .evp-gstep__n{border-color:var(--evp-sky);background:transparent;color:#fff}
.evp-after .evp-gstep.is-open .evp-gstep__n{background:var(--evp-sky);color:var(--evp-navy)}
.evp-after .evp-gstep__body p,.evp-after .evp-guide__fig figcaption{color:var(--evp-mist)}
.evp-after .evp-btn--line{border-color:#fff;color:#fff!important}
.evp-after .evp-btn--teal{background:var(--evp-sky);border-color:var(--evp-sky);color:var(--evp-navy)!important}
/* questions: a title on the left, one column of questions on the right (stacked on smaller screens).
   A "Members" chip marks the answers about member-only things. */
.evp-faqs{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;margin-top:56px;align-items:start}
@media (min-width:900px){.evp-faqs{grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:64px}}
.evp-faqs__head{display:flex;flex-direction:column;gap:10px}
.evp-faqs__head .eyebrow{margin:0}
.evp .evp-faqs__head h3{margin:0;font-size:clamp(24px,2.6vw,28px);line-height:1.2}
.evp-faqs__head p{margin:0}
.evp-faqs .mh-faq{border-top:1px solid #b9d3dc}
.evp-faqs .mh-faq details{border-bottom-color:#b9d3dc}
/* the questions come in two groups, each with a small label: Booking, then Member benefits */
.evp-faqs__group{margin:36px 0 10px!important;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--evp-teal)}
.evp-faqs__lists>.evp-faqs__group:first-child{margin-top:0!important}

/* ── TABLET (below 1024px): the ticket stacks and the stub becomes one short row under a horizontal tear line ── */
@media (max-width:1023px){
  .evp.evp-hero{padding:40px 0}
  .evp-ticket{grid-template-columns:minmax(0,1fr)}
  .evp-ticket__main{gap:12px;padding:40px 40px 32px}
  .evp .evp-ticket h1{font-size:34px}
  .evp-fine{display:none}
  .evp-stub{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"date label cta" "date title cta" "date venue cta";align-items:center;gap:2px 24px;padding:22px 32px 24px;border-top:2px dashed rgba(255,255,255,.35);border-left:0;border-radius:0 0 24px 24px}
  .evp-ticket__main{border-radius:24px 24px 0 0;-webkit-mask:radial-gradient(circle 20px at 0 100%,#0000 19.5px,#000 20.5px) left/51% 100% no-repeat,radial-gradient(circle 20px at 100% 100%,#0000 19.5px,#000 20.5px) right/51% 100% no-repeat;mask:radial-gradient(circle 20px at 0 100%,#0000 19.5px,#000 20.5px) left/51% 100% no-repeat,radial-gradient(circle 20px at 100% 100%,#0000 19.5px,#000 20.5px) right/51% 100% no-repeat}
  .evp-stub{-webkit-mask:radial-gradient(circle 20px at 0 0,#0000 19.5px,#000 20.5px) left/51% 100% no-repeat,radial-gradient(circle 20px at 100% 0,#0000 19.5px,#000 20.5px) right/51% 100% no-repeat;mask:radial-gradient(circle 20px at 0 0,#0000 19.5px,#000 20.5px) left/51% 100% no-repeat,radial-gradient(circle 20px at 100% 0,#0000 19.5px,#000 20.5px) right/51% 100% no-repeat}
  .evp-stub__label{grid-area:label;font-size:12px}
  .evp-stub__date{grid-area:date;gap:8px;padding-right:24px;border-right:1px solid rgba(255,255,255,.3)}
  .evp-stub__num{font-size:44px}
  .evp-stub__title{grid-area:title;font-size:19px}
  .evp-stub__venue{grid-area:venue;font-size:14px}
  .evp-stub__chips{display:none}
  .evp-stub__go{grid-area:cta;align-self:center;margin:0}
}
/* ── PHONE (below 768px) ── */
@media (max-width:767px){
  .evp.mh-section{padding:56px 0}
  .evp.evp-hero{padding:24px 0 28px}
  .evp-ticket{border-radius:20px}
  .evp-ticket__main{border-radius:20px 20px 0 0}
  .evp-ticket__main{gap:10px;padding:28px 24px 24px}
  .evp .evp-ticket h1{font-size:28px}
  .evp-ticket__lead{font-size:16px}
  .evp-ticket .evp-actions{gap:8px;margin-top:6px}
  .evp-ticket .evp-actions{justify-content:center;gap:14px}
  .evp-ticket .evp-btn{flex:1 1 100%;padding:8px 16px;font-size:15px}
  .evp-stub{gap:2px 14px;padding:16px 18px 18px;border-radius:0 0 20px 20px}
  .evp-stub__date{flex-direction:column;align-items:center;gap:0;padding-right:14px;font-size:13px}
  .evp-stub__mon span+span{display:none}
  .evp-stub__num{font-size:32px}
  .evp-stub__label{font-size:11px}
  .evp-stub__title{font-size:16px;line-height:1.3}
  .evp-stub__venue{font-size:13px}
  .evp-stub__go{width:44px;height:44px;font-size:20px}
  /* phones: the type pills under the search do the counts' job */
  .evp-snap{display:none}
  .evp-head{margin-bottom:20px}
  .evp.mh-section,.evp-results,.evp-gstep{scroll-margin-top:190px}
  .evp-pills{flex-wrap:nowrap;margin:12px -20px 0;padding:0 20px 6px;overflow-x:auto;scroll-padding-inline:20px;scroll-snap-type:x proximity;scrollbar-width:none}
  .evp-pills::-webkit-scrollbar{display:none}
  .evp-pills button{flex:none;white-space:nowrap;scroll-snap-align:start}
  .evp-head{align-items:center}
  .evp-head>[data-evp-views]{width:100%}
  .evp-viewbar{width:100%;justify-content:space-between}
  .evp-viewbar .evp-seg button{padding:0 14px}
  .evp-monthbar{gap:10px}
  .evp-months button{min-width:0;padding:10px 14px}
  .evp-months button strong{font-size:16px}
  .evp-scrub button{width:44px;height:44px}
  .evp-row{grid-template-columns:76px minmax(0,1fr);gap:12px 16px}
  .evp-row>:last-child{grid-column:2;justify-self:start}
  .evp-row--flag{padding:18px}
  .evp-annual__main{min-height:380px;padding:28px}
  .evp-gstep__body{padding-left:18px}
  .evp-guide__fig{display:none!important}
  .evp-after>summary{padding:22px}
  .evp-after .evp-guide{padding:0 22px 22px}
}
@media (prefers-reduced-motion:reduce){.evp-card,.evp-card__img img,.evp-cta__arrow,.evp-stub,.evp-btn{transition:none}}
