/* Pinebridge · training: the catalogue, a programme, the calendar, a date and its booking form.
   Sits on site.css and uses its tokens. Catalogue → shared pieces (opening picture, action card,
   date cards, diary menu) → programme → calendar → date and booking → responsive. */

/* An element switched off with the hidden attribute stays off, whatever its display. */
.bk [hidden], .evcard[hidden], .months[hidden], .textbtn[hidden] { display: none !important; }

.textbtn { color: var(--green-700); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.textbtn:hover { color: var(--navy-700); }

/* Catalogue ---------------------------------------------------------------- */
.phero--cat { padding-bottom: 122px; }
.cat-search { max-width: 720px; margin: 30px auto 0; }
.cat-search__bar { display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 24px; border-radius: 999px; background: #fff; box-shadow: 0 30px 60px -24px rgba(2, 12, 24, .75); transition: box-shadow .25s; }
.cat-search__bar:focus-within { box-shadow: 0 0 0 4px rgba(140, 198, 63, .45), 0 30px 60px -24px rgba(2, 12, 24, .75); }
.cat-search__bar > .ico { font-size: 20px; color: var(--muted); }
.cat-search__bar input { flex: 1; min-width: 0; min-height: 50px; padding: 0; border: 0; background: none; color: var(--ink); font-size: 16px; outline: none; }
.cat-search__bar input::placeholder { color: var(--muted); }
.cat-search__bar input::-webkit-search-cancel-button { cursor: pointer; }

.cat { padding-top: 0; }
.cat-bar { position: relative; z-index: 2; display: grid; gap: 14px; margin-top: -58px; padding: 22px 26px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-2); scroll-margin-top: 104px; }
.cat-bar__row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; align-items: center; }
.cat-bar__row + .cat-bar__row { padding-top: 14px; border-top: 1px solid var(--line); }
.cat-bar__label { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.cat-bar__label .ico { font-size: 17px; color: var(--green-600); }
.cat-bar .pill { white-space: nowrap; }
.cat-bar .pill small { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--green-100); color: var(--green-700); font-size: 12px; font-weight: 700; opacity: 1; }
.cat-bar .pill[aria-current="true"] small { background: var(--green); color: var(--navy-900); }
.cat-bar .pill.is-none { color: var(--muted); background: var(--soft); box-shadow: none; cursor: default; }
.cat-bar .pill.is-none small { background: var(--line); color: var(--muted); }

.cat-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 28px; margin: clamp(36px, 4.4vw, 60px) 0 clamp(24px, 3vw, 36px); }
.cat-head h2 { font-size: clamp(28px, 3vw, 40px); }
.cat-count { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 12px 0 0; font-size: 15px; }
.cat-count b { color: var(--ink); font-weight: 600; }
.cat-count b::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 9px; border-radius: 50%; background: var(--green); }
.cat-clear { min-height: 32px; transition: background .2s; }
.cat-clear:hover { background: var(--navy-700); }
.cat-head__links { display: flex; flex-wrap: wrap; gap: 10px; }

.prog__len { position: absolute; left: 14px; top: 14px; }
.prog .ecard__meta { gap: 6px 14px; }
.prog .ecard__body > p { font-size: 14.5px; }
.prog__facts { margin-top: 18px; }
.prog__facts > div { padding: 10px 0; font-size: 14px; border-bottom: 0; border-top: 1px solid var(--line); }
.prog__facts dt { white-space: nowrap; }
.prog__facts dt .ico { font-size: 16px; }
.prog__facts .is-blank dd { font-weight: 500; color: var(--muted); }
.prog .ecard__foot { flex-wrap: wrap; margin-top: 6px; }
.prog .ecard__foot .link { white-space: nowrap; }
.prog__act { position: relative; z-index: 1; }
.prog:hover .link { color: var(--green-700); }
.prog:hover .link .btn__dot { transform: translateX(3px); }

.cat-foot { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 36px 0 0; font-size: 15px; text-align: center; }
.cat-foot .ico { flex: none; font-size: 20px; color: var(--green-600); }
.cat-empty { padding: 64px 24px; }
.cat-empty p { max-width: 520px; margin-inline: auto; }
.cat-empty__ask { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cat-empty__go, .tempty__go { margin-top: 24px; }

.runs__pic { position: relative; }
.runs__pic .photo { aspect-ratio: 4 / 3; }
.runs__cap { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.runs__cap .ico { color: var(--green-600); font-size: 16px; }
.runs__badge { position: absolute; right: -18px; top: 26px; width: 178px; padding: 18px 16px 20px; border-radius: var(--r); background: var(--green); color: var(--navy-900); text-align: center; box-shadow: 0 24px 50px -16px rgba(4, 20, 36, .5); animation: float-b 6s ease-in-out infinite; transition: background .25s; }
.runs__badge:hover { background: var(--green-400); }
.runs__badge b { display: block; font-size: 44px; font-weight: 600; line-height: 1.05; letter-spacing: -.03em; }
.runs__badge > span { font-size: 13px; font-weight: 500; line-height: 1.35; display: block; }
.runs__h { margin: 18px 0 18px; }
.runs__ticks { margin: 26px 0 30px; font-size: 15px; }
.runs__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.reach .card { display: block; }
.reach .card p { overflow-wrap: anywhere; }
.reach a.card:hover h3 { color: var(--green-700); }

/* Shared · the picture in a page opening, with a tile over its corner ----------- */
.tpic { position: relative; }
.tpic .phero__photo { aspect-ratio: 5 / 4; }
.tpic .phero__photo img { transition: transform 1.2s var(--ease); }
.tpic:hover .phero__photo img { transform: scale(1.05); }
.tpic--done .phero__photo img { filter: grayscale(.9); opacity: .82; }
.tpic__flag { position: absolute; right: 16px; top: 16px; box-shadow: var(--shadow-1); }
.tpic__tile { position: absolute; left: -24px; bottom: 28px; display: flex; align-items: center; gap: 14px; max-width: 88%; padding: 14px 22px 14px 14px; border-radius: var(--r); background: #fff; color: var(--body); box-shadow: var(--shadow-2); animation: float-b 7s ease-in-out infinite; }
a.tpic__tile { transition: background .25s; }
a.tpic__tile:hover { background: var(--green-50); }
.tpic__tile > span:last-child { display: grid; line-height: 1.35; }
.tpic__tile small { font-size: 12.5px; color: var(--muted); }
.tpic__tile b { font-size: 17px; font-weight: 600; color: var(--ink); }
.dtile { display: grid; place-items: center; flex: none; width: 60px; padding: 9px 0 10px; border-radius: 12px; background: var(--green); color: var(--navy-900); line-height: 1.1; text-align: center; }
.dtile b { font-size: 23px; font-weight: 600; letter-spacing: -.02em; color: inherit; }
.dtile span { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* A message in the page opening: on navy, so it carries its own ground. */
.tnote { max-width: 620px; margin-top: 26px; text-align: left; box-shadow: 0 20px 44px -22px rgba(2, 12, 24, .8); }
.phero:not(.phero--split) .tnote { margin-inline: auto; }
.tnote > .ico { flex: none; }
.tnote p { margin: 0; font-weight: 400; }
.tnote + .phero__meta { margin-top: 22px; }

/* Shared · the main column beside the action card ------------------------------- */
.tcol > * + * { margin-top: clamp(40px, 4.8vw, 68px); }
.tblock h2 { margin: 16px 0 18px; font-size: clamp(26px, 2.5vw, 36px); }
.tchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.thead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 28px; margin-bottom: 22px; }
.thead h2 { margin-bottom: 0; }
.thead__side { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 0; font-size: 14.5px; color: var(--muted); }

.who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.who > :only-child { grid-column: 1 / -1; }
.who__card h2 { margin: 20px 0 10px; font-size: clamp(22px, 2vw, 26px); }
.who__card p { font-size: 16px; }
.who__pic { display: flex; flex-direction: column; min-height: 240px; }
.who__pic img { flex: 1; min-height: 0; }
.who__pic figcaption { background: none; }
.who > .who__pic:only-child { aspect-ratio: 16 / 7; min-height: 0; }

/* Shared · the action card --------------------------------------------------------- */
.take { border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); }
.take__head { position: relative; padding: 28px 28px 26px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); color: #fff; overflow: hidden; isolation: isolate; }
.take__head::before { content: ""; position: absolute; right: -30%; bottom: -120%; z-index: -1; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(140, 198, 63, .34), transparent); }
.take__head h2 { color: var(--green); font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.take__fee { margin: 10px 0 0; font-size: 30px; font-weight: 600; line-height: 1.12; letter-spacing: -.02em; color: #fff; }
.take__fee small { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 400; letter-spacing: 0; line-height: 1.45; color: rgba(255, 255, 255, .76); }
.meter { height: 8px; margin-top: 20px; border-radius: 99px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.meter i { display: block; width: var(--p, 0%); height: 100%; border-radius: 99px; background: var(--green); }
.meter__ends { display: flex; justify-content: space-between; margin: 9px 0 0; font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, .86); }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin-top: 20px; }
.days li { padding: 8px 0 9px; border-radius: 10px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); text-align: center; line-height: 1.2; color: rgba(255, 255, 255, .74); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.days li b { display: block; margin-top: 2px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.days li.is-on { background: var(--green); color: var(--navy-900); box-shadow: none; }
.days li.is-on b { color: var(--navy-900); }
.take__body { padding: 6px 28px 26px; }
.take__facts > div { padding: 13px 0; font-size: 14.5px; }
.take__facts > div:last-child { border-bottom: 1px solid var(--line); }
.take__facts dd { max-width: 62%; }
.route { padding: 22px 0; border-bottom: 1px solid var(--line); }
.route__head { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; color: var(--ink); }
.route__head b { font-weight: 600; }
.route__head .chip { margin-left: auto; }
.route p:not(.route__head) { margin: 10px 0 0; font-size: 14.5px; line-height: 1.6; }
.route .btn, .route form { margin-top: 16px; }
.route form .btn { margin-top: 0; }
.route .btn { white-space: normal; text-align: center; }
.route > .link { display: flex; width: fit-content; margin-top: 14px; font-size: 14px; }
.route > .link > .ico { color: var(--green-600); }
.route .calmenu { display: block; margin-top: 12px; }
.route .calmenu__btn { width: 100%; justify-content: center; }
.route .calmenu__list { right: 0; }
.take__note { display: flex; gap: 10px; margin: 18px 0 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.take__note .ico { flex: none; margin-top: 2px; font-size: 16px; color: var(--green-600); }
.take__note a { color: var(--ink); font-weight: 600; }
.take__note a:hover { color: var(--green-700); }

/* Shared · a dated programme as a card (on top of .ecard) ---------------------------- */
.evcard__top { position: relative; }
.evcard__cal { position: absolute; right: 12px; bottom: 12px; z-index: 3; }
.evcard__cal .calmenu__btn { min-height: 38px; padding: 0 14px; font-size: 13px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-1); backdrop-filter: blur(6px); }
.evcard__cal .calmenu__list { left: auto; right: 0; }
.evcard__seats { display: flex; align-items: center; gap: 8px; flex: none !important; margin: 12px 0 0; font-size: 14px !important; font-weight: 600; color: var(--green-700); }
.evcard__go { position: relative; z-index: 1; }
.evcard .ecard__foot { flex-wrap: wrap; }
.evcard .ecard__foot .link { white-space: nowrap; }
.evcard:hover .link { color: var(--green-700); }
.evcard:hover .link .btn__dot { transform: translateX(3px); }
.evcard__done { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.evcard__done .ico { font-size: 17px; }
.evcard--past { background: transparent; }
.evcard--past .ecard__media img { filter: grayscale(1); opacity: .62; }
.evcard--past h3 { font-size: 19px; color: var(--body); }
.evcard--past .ecard__meta .ico { color: var(--muted); }
.evcard--past:hover { box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); transform: translateY(-3px); }
.evcard--past:hover .ecard__media img { filter: grayscale(.4); opacity: .9; }
.evcard--navy { background: var(--navy-900); color: rgba(255, 255, 255, .8); box-shadow: none; }
.evcard--navy h3 { color: #fff; }
.evcard--navy .ecard__meta { color: var(--green); }
.evcard--navy .ecard__meta .ico { color: var(--green); }
.evcard--navy .ecard__foot { border-color: rgba(255, 255, 255, .14); }
.evcard--navy .ecard__price { color: #fff; }
.evcard--navy:hover .link { color: #fff; }
.evcard--green { background: var(--green); color: var(--navy-900); box-shadow: none; }
.evcard--green .ecard__meta, .evcard--green .ecard__meta .ico { color: var(--navy-800); }
.evcard--green .ecard__foot { border-color: rgba(7, 32, 58, .2); }
.evcard--green:hover .link { color: var(--navy-900); }
.evcard--navy .ecard__media img, .evcard--green .ecard__media img { height: 100%; }

/* Shared · the add-to-calendar menu --------------------------------------------------- */
.calmenu { position: relative; display: inline-block; }
.calmenu__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--ink); font-size: 14.5px; font-weight: 600; white-space: nowrap; cursor: pointer; list-style: none; user-select: none; transition: background .2s, color .2s, box-shadow .2s; }
.calmenu__btn::-webkit-details-marker { display: none; }
.calmenu__btn .ico:first-child { font-size: 16px; color: var(--green-600); }
.calmenu__btn .ico:last-child { font-size: 12px; transition: transform .25s; }
.calmenu__btn:hover, .calmenu[open] > .calmenu__btn { background: var(--navy-900); color: #fff; box-shadow: none; }
.calmenu__btn:hover .ico:first-child, .calmenu[open] > .calmenu__btn .ico:first-child { color: var(--green); }
.calmenu[open] > .calmenu__btn .ico:last-child { transform: rotate(180deg); }
.calmenu__list { position: absolute; left: 0; top: calc(100% + 8px); z-index: 20; width: max-content; min-width: 250px; max-width: 86vw; padding: 8px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-2); animation: calmenu-in .24s var(--ease); }
@keyframes calmenu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.calmenu__list a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 14px; border-radius: 10px; color: var(--ink); font-size: 14.5px; font-weight: 500; transition: background .18s, color .18s; }
.calmenu__list a .ico { font-size: 16px; color: var(--green-600); }
.calmenu__list a:hover { background: var(--green-50); color: var(--green-700); }

/* Programme ---------------------------------------------------------------------------- */
.mods__h { font-size: inherit; }
.mods .acc__q { gap: 16px; padding: 16px 18px; }
.mods__no { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--green-100); color: var(--green-700); font-size: 17px; font-weight: 700; letter-spacing: -.01em; transition: background .3s, color .3s; }
.mods .acc__item.is-open .mods__no { background: var(--navy-900); color: var(--green); }
.mods__t { flex: 1; min-width: 0; }
.mods__t small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.mods .acc__q .chip { white-space: nowrap; }
.mods .acc__a > div > div { padding: 0 18px 18px; }
.mods .acc__a p { padding: 0; }
.lessons { display: grid; gap: 8px; }
.lesson { border-radius: 12px; background: var(--soft); font-size: 15px; transition: background .2s, box-shadow .2s; }
.lesson summary, .lesson--locked { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 14px; }
.lesson summary { cursor: pointer; list-style: none; border-radius: 12px; }
.lesson summary::-webkit-details-marker { display: none; }
.lesson--open:hover, .lesson--open:has(details[open]) { background: var(--green-50); box-shadow: inset 0 0 0 1px #D5E8B5; }
.lesson__ico { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); font-size: 14px; }
.lesson--open .lesson__ico { background: var(--navy-900); box-shadow: none; color: var(--green); }
.lesson--open .lesson__ico.is-done { background: var(--green); color: var(--navy-900); }
.lesson__t { flex: 1; min-width: 0; font-weight: 500; line-height: 1.4; color: var(--ink); }
.lesson--locked .lesson__t { color: var(--body); }
.lesson__m { display: flex; align-items: center; gap: 10px; flex: none; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.lesson__m > .ico { font-size: 14px; transition: transform .25s; }
.lesson details[open] .lesson__m > .ico { transform: rotate(180deg); }
.lesson__body { padding: 6px 18px 20px 58px; }
.lesson__body .prose { font-size: 15.5px; line-height: 1.7; }
.lesson__body > p { margin-top: 14px; }
.tlock { margin-top: 16px; }
.tlock > .ico { flex: none; font-size: 20px; }
.tlock p { margin: 0; font-weight: 400; }
.tempty { padding: 44px 28px; }
.tempty p { max-width: 560px; margin-inline: auto; }
.irm img { width: 62px; height: auto; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.irm span { max-width: 230px; line-height: 1.45; }
.receive .card { padding: 26px 24px; }
.receive .card p { font-size: 15px; }

/* Calendar ------------------------------------------------------------------------------- */
.nextup { position: relative; display: block; aspect-ratio: 5 / 4; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; box-shadow: 0 40px 80px -30px rgba(2, 12, 24, .7); }
.nextup img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.nextup::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 20, 36, .08) 30%, rgba(4, 20, 36, .92)); }
.nextup:hover img { transform: scale(1.06); }
.nextup .ecard__date { left: 18px; top: 18px; }
.nextup__flag { position: absolute; right: 18px; top: 18px; }
.nextup__body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 10px; padding: 26px 26px 24px; }
.nextup__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: rgba(255, 255, 255, .86); }
.nextup__meta span { display: inline-flex; align-items: center; gap: 7px; }
.nextup__meta .ico { color: var(--green); font-size: 16px; }
.nextup__t { font-size: clamp(22px, 2.3vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.nextup__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 15px; font-weight: 600; }
.nextup:hover .link { color: #fff; }
.nextup:hover .link .btn__dot { transform: translateX(3px); }

.ykey { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--body); }
.ykey li { display: inline-flex; align-items: center; gap: 8px; }
.ykey i { width: 14px; height: 14px; border-radius: 5px; }
.ykey__run { background: var(--navy-100); }
.ykey__open { background: var(--green); }
.ykey__now { border-radius: 50% !important; background: var(--navy-900); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--green); }

.ycal { padding: 26px 22px 22px; border-radius: var(--r-lg); background: var(--soft); }
.ycal__rail { position: relative; height: 6px; margin: 34px 6px 22px; border-radius: 6px; background: var(--line-2); }
.ycal__rail i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--at, 0%); border-radius: 6px; background: var(--green); }
.ycal__today { position: absolute; left: var(--at, 0%); top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--navy-900); box-shadow: 0 0 0 4px var(--soft), 0 0 0 6px var(--green); }
.ycal__today span { position: absolute; left: 50%; bottom: 30px; padding: 4px 12px; border-radius: 999px; background: var(--navy-900); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; transform: translateX(-50%); }
.ycal__today.is-late span { left: auto; right: -12px; transform: none; }
.ycal__today.is-early span { left: -12px; transform: none; }
.ycal__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
.ycal__m { display: flex; flex-direction: column; gap: 6px; min-height: 196px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.ycal__m:not(.is-empty):hover { transform: translateY(-4px); box-shadow: var(--shadow-1), inset 0 0 0 1px transparent; }
.ycal__name { display: flex; justify-content: space-between; align-items: center; gap: 6px; width: 100%; min-height: 34px; margin: 0; padding: 0 6px 0 12px; border-radius: 999px; background: var(--navy-50); color: var(--ink); font-size: 13.5px; font-weight: 700; text-align: left; transition: background .2s, color .2s; }
.ycal__name small { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 50%; background: var(--navy-900); color: #fff; font-size: 12px; font-weight: 700; }
a.ycal__name:hover, a.ycal__name.is-picked { background: var(--navy-900); color: #fff; }
a.ycal__name:hover small, a.ycal__name.is-picked small { background: var(--green); color: var(--navy-900); }
.ycal__m.is-past { background: transparent; }
.ycal__m.is-past .ycal__name { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.ycal__m.is-past .ycal__name small { background: var(--line-2); color: var(--body); }
.ycal__m.is-now { box-shadow: inset 0 0 0 2px var(--green); }
.ycal__m.is-now .ycal__name { background: var(--green); color: var(--navy-900); }
.ycal__ev { display: block; padding: 9px 8px 10px; border-radius: 10px; background: var(--green-100); color: var(--navy-900); font-size: 11.5px; line-height: 1.35; letter-spacing: -.01em; overflow-wrap: anywhere; transition: background .2s, transform .25s var(--ease), color .2s; }
.ycal__ev b { display: block; font-size: 14px; font-weight: 700; color: var(--green-700); transition: color .2s; }
.ycal__ev span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-weight: 500; }
.ycal__ev small { display: block; margin-top: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .72; }
.ycal__ev:hover { background: var(--green); transform: scale(1.03); }
.ycal__ev:hover b { color: var(--navy-900); }
.ycal__ev.is-past { background: var(--navy-50); color: var(--muted); }
.ycal__ev.is-past b { color: var(--body); }
.ycal__ev.is-past:hover { background: var(--navy-100); color: var(--ink); }
.ycal__ev.is-running { background: var(--navy-900); color: #fff; }
.ycal__ev.is-running b { color: var(--green); }

.months { margin-bottom: 28px; }
.months .pill small { opacity: 1; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--green-100); color: var(--green-700); font-size: 12px; font-weight: 700; }
.months .pill[aria-pressed="true"] small { background: var(--green); color: var(--navy-900); }
.cards--past .ecard__media { aspect-ratio: 16 / 7; }

.getpdf { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; margin-top: clamp(32px, 4vw, 52px); padding: 26px 30px; border-radius: var(--r-lg); background: var(--green); color: var(--navy-900); }
.getpdf h2, .getpdf h3 { font-size: 22px; color: var(--navy-900); }
.getpdf p { margin: 6px 0 0; font-size: 15px; }
.sec--tight > .container > .getpdf { margin-top: 0; }

.inhouse__h { margin: 18px 0 18px; }
.inhouse__ticks { margin: 24px 0 30px; }
.inhouse__pic img { aspect-ratio: 16 / 10; }
.inhouse__pic figcaption { background: none; }

/* A date, and its booking ------------------------------------------------------------------ */
.topnote { padding: 136px 0 0; background: var(--navy-950); }
.topnote + .phero { padding-top: 44px; background: linear-gradient(180deg, var(--navy-950) 0%, #082541 55%, #0E3D6A 100%); }
.topnote .notice { align-items: center; font-weight: 400; }
.topnote .notice > .ico { flex: none; }
.topnote .notice p { margin: 0; }
.confirm { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 60px); padding: clamp(24px, 3.4vw, 46px); border-radius: var(--r-lg); background: #fff; box-shadow: 0 40px 80px -30px rgba(2, 12, 24, .8); }
.confirm__tag { margin: 22px 0 0; }
.confirm h2 { margin: 14px 0 10px; font-size: clamp(26px, 2.7vw, 38px); }
.confirm__ref { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 22px 0 8px; padding: 16px 20px; border-radius: var(--r); background: var(--green-50); box-shadow: inset 0 0 0 1px #D5E8B5; }
.confirm__ref p { margin: 0; display: grid; }
.confirm__ref p span { font-size: 13px; color: var(--muted); }
.confirm__ref b { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: .02em; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.confirm__ref .chip { min-height: 36px; padding: 0 16px; cursor: pointer; }
.confirm__ref .chip:hover { background: var(--navy-700); }
.confirm .facts dd small, .details .facts dd small { display: block; font-size: 13.5px; font-weight: 400; color: var(--muted); }
.confirm__next { padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r); background: var(--soft); align-self: start; }
.confirm__next h3 { margin-bottom: 20px; }
.confirm__next .timeline > *::before { box-shadow: 0 0 0 5px var(--soft), 0 0 0 6px var(--line-2); }
.confirm__next .timeline b { color: var(--ink); overflow-wrap: anywhere; }
.confirm__foot { display: grid; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 14.5px; }
.confirm__foot p { display: flex; gap: 10px; margin: 0; }
.confirm__foot .ico { flex: none; margin-top: 3px; font-size: 17px; color: var(--green-600); }
.confirm__foot a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.confirm__foot span { min-width: 0; overflow-wrap: anywhere; }

.passed { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--navy-50); }
.passed h2 { margin: 2px 0 8px; }
.nextdate { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: 20px; padding: 14px 20px 14px 14px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s; }
.nextdate:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.nextdate__t { flex: 1; min-width: 180px; display: grid; line-height: 1.4; }
.nextdate__t b { font-size: 17px; font-weight: 600; color: var(--ink); }
.nextdate__t small { font-size: 13.5px; color: var(--muted); }
.nextdate:hover .link { color: var(--green-700); }

.progref { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-top: 28px; padding: 12px 22px 12px 12px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.progref:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.progref img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.progref > span:not(.btn__dot) { display: grid; gap: 3px; line-height: 1.45; font-size: 14.5px; }
.progref small { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--green-700); }
.progref b { font-size: 18px; font-weight: 600; color: var(--ink); }
.progref .btn__dot { width: 38px; height: 38px; font-size: 15px; background: var(--green); color: var(--navy-900); }
.progref:hover .btn__dot { transform: translateX(4px); }

.details { margin-top: 4px; padding: 10px 28px; }
.details .facts dt { white-space: nowrap; }
.details__ticks { margin-top: 26px; font-size: 15.5px; }

.bookgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 3vw, 40px); align-items: start; }
.bookgrid__side { position: sticky; top: 100px; display: grid; gap: 18px; }
.bookgrid__side .card h3 { margin: 18px 0 20px; }
.bookgrid__side .timeline { font-size: 14.5px; line-height: 1.55; }
.bookgrid__side .timeline > *::before { box-shadow: 0 0 0 5px var(--navy-800), 0 0 0 6px rgba(255, 255, 255, .2); }
.bookgrid__side .timeline::before { background: rgba(255, 255, 255, .18); }
.bookgrid__mail { display: flex !important; align-items: center; gap: 14px; padding: 18px 20px; }
.bookgrid__mail > span:last-child { display: grid; min-width: 0; line-height: 1.4; }
.bookgrid__mail small { font-size: 13px; color: var(--muted); }
.bookgrid__mail b { font-size: 15px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }

.bk__errors { margin-bottom: 18px; }
.bk__errors > .ico { flex: none; }
.bk__errors p { margin: 0; }
.bk__errors ul { margin-top: 6px; padding-left: 18px; list-style: disc; font-weight: 400; }
.wiz { display: none; gap: 8px; margin: 0 0 30px; counter-reset: wiz; }
.is-stepped > .wiz { display: flex; }
.wiz li { flex: 1; min-width: 0; }
.wiz button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--soft); color: var(--body); font-size: 14.5px; font-weight: 600; text-align: left; transition: background .25s, color .25s; }
.wiz button::before { counter-increment: wiz; content: counter(wiz); display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font-size: 14.5px; }
.wiz button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wiz button:hover { background: var(--navy-50); }
.wiz button[aria-current="step"] { background: var(--navy-900); color: #fff; }
.wiz button[aria-current="step"]::before { background: var(--green); box-shadow: none; color: var(--navy-900); }
.wiz button.is-done::before { content: ""; box-shadow: none; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307203A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5 10 16.5 18 8'/%3E%3C/svg%3E") center / 18px no-repeat; }
.bk-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.bk-step + .bk-step { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.is-stepped > .bk-step + .bk-step { margin-top: 0; padding-top: 0; border-top: 0; }
.is-stepped > .bk-step:not([hidden]) { animation: bk-in .4s var(--ease); }
@keyframes bk-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.bk-step h3 { font-size: 24px; outline: none; }
.bk-step__note { margin: 8px 0 24px; font-size: 15px; color: var(--muted); }
.bk-step__note--fee { margin: 16px 0 0; font-size: 14px; }
.bk-step__error { display: block; margin-bottom: 14px; }
.bk-sub { display: flex; align-items: center; gap: 10px; margin: 30px 0 16px; font-size: 16px; font-weight: 600; }
.bk-sub .ico { font-size: 18px; color: var(--green-600); }
.bk-sub .optional { font-size: 14px; font-weight: 400; color: var(--muted); }
.bk-nav { justify-content: space-between; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.bk-nav > :only-child { margin-left: auto; }
.seat { padding: 18px 20px 20px; border-radius: var(--r); background: var(--soft); }
.seat + .seat, .seats--spare { margin-top: 12px; }
.seat__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 15px; color: var(--ink); }
.seat__head b { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.seat__head b::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.seat__head .optional { font-size: 13.5px; color: var(--muted); }
.seat__fields { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.seat label { display: grid; gap: 7px; }
.seat label .input { font-weight: 400; }
.bk-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-top: 16px; padding: 16px 22px 16px 16px; border-radius: var(--r); background: var(--navy-900); color: rgba(255, 255, 255, .78); }
.bk-total dl { display: flex; gap: 32px; margin: 0 0 0 auto; }
.bk-total dt { font-size: 12.5px; }
.bk-total dd { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.25; color: #fff; font-variant-numeric: tabular-nums; }
.bk-total dl > div:last-child dd { color: var(--green); }
.bk-review { margin: 26px 0 22px; padding: 22px 26px 10px; border-radius: var(--r); background: var(--green-50); box-shadow: inset 0 0 0 1px #D5E8B5; }
.bk-review:empty { display: none; }
.bk-review h4 { font-size: 17px; margin-bottom: 4px; }
.bk-review .facts > div { border-color: #D5E8B5; }
.bk-review .facts dt { flex: none; }
.bk-review .facts dd { overflow-wrap: anywhere; }
.bk-review .facts dd small { display: block; font-size: 13.5px; font-weight: 400; color: var(--body); }
.bk-terms { padding: 16px 18px; border-radius: var(--r); background: var(--soft); color: var(--ink); font-weight: 500; }
.bk-terms + .field__error { display: block; margin-top: 8px; }
.bk-foot { display: flex; gap: 10px; margin: 24px 0 0; font-size: 13.5px; color: var(--muted); }
.bk-foot .ico { flex: none; margin-top: 3px; font-size: 16px; color: var(--green-600); }

/* Responsive ---------------------------------------------------------------------------------- */
@media (max-width: 1180px) {
    .ycal__rail { display: none; }
    .ycal__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .ycal__m { min-height: 150px; }
    .tpic__tile { left: 14px; }
    .runs__badge { right: 12px; }
}
@media (max-width: 1020px) {
    .with-aside--lead > aside { order: -1; }
    .ycal__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .bookgrid, .confirm { grid-template-columns: 1fr; }
    .bookgrid__side { position: static; }
    .tpic .phero__photo, .nextup { aspect-ratio: 16 / 10; }
    .topnote { padding-top: 112px; }
    .cat-head { align-items: flex-start; }
    .getpdf { grid-template-columns: auto minmax(0, 1fr); }
    .getpdf .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 680px) {
    .phero--cat { padding-bottom: 96px; }
    .cat-search__bar { padding-left: 18px; gap: 8px; }
    .cat-search__bar .btn { min-height: 46px; padding: 0 16px; }
    .cat-search__bar .btn .btn__dot { display: none; }
    .cat-bar { margin-top: -48px; padding: 16px 0 16px 16px; gap: 12px; }
    .cat-bar__row { grid-template-columns: 1fr; gap: 8px; }
    .cat-bar__row + .cat-bar__row { padding-top: 12px; }
    .cat-bar .pills { flex-wrap: nowrap; overflow-x: auto; padding: 2px 16px 4px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .cat-bar .pills::-webkit-scrollbar { display: none; }
    .cat-bar .pill { flex: none; }
    .cat-head__links { width: 100%; }
    .cat-head__links .btn { flex: 1; white-space: normal; text-align: center; padding: 8px 16px; }
    .cat-foot { align-items: flex-start; text-align: left; }
    .prog .ecard__body { padding: 22px 20px 20px; }
    .prog .ecard__foot .link { font-size: 14.5px; }
    .prog__act { padding: 0 16px; }
    .ycal__ev { font-size: 13px; letter-spacing: 0; }
    .ycal__ev small { font-size: 11px; }
    .runs__badge { width: 148px; padding: 14px 12px 16px; top: 12px; }
    .runs__badge b { font-size: 34px; }
    .runs__actions .btn { width: 100%; }
    .nextup { aspect-ratio: 1 / 1; }
    .nextup__body { padding: 20px 18px 18px; }
    .tpic__tile { left: 10px; bottom: 10px; padding: 10px 16px 10px 10px; animation: none; }
    .tpic__tile b { font-size: 15.5px; }
    .dtile { width: 54px; }
    .who { grid-template-columns: 1fr; }
    .who__pic { min-height: 0; }
    .who__pic img { aspect-ratio: 16 / 10; flex: none; }
    .take__head { padding: 24px 22px 22px; }
    .take__body { padding: 4px 22px 22px; }
    .mods .acc__q { flex-wrap: wrap; gap: 10px 12px; padding: 14px; }
    .mods__no { width: 40px; height: 40px; font-size: 15px; }
    .mods__t { flex-basis: calc(100% - 110px); }
    .mods .acc__q .chip { order: 4; margin-left: 52px; }
    .mods .acc__a > div > div { padding: 0 12px 14px; }
    .lesson summary, .lesson--locked { flex-wrap: wrap; gap: 6px 12px; }
    .lesson__t { flex-basis: calc(100% - 46px); }
    .lesson__m { padding-left: 44px; white-space: normal; flex-wrap: wrap; }
    .lesson__body { padding: 4px 14px 18px; }
    .ycal { padding: 14px; }
    .ycal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ycal__m { min-height: 0; }
    .ycal__m.is-empty { opacity: .8; }
    .ycal__name { min-height: 44px; }
    .ycal__ev { padding: 10px 12px 11px; font-size: 13px; }
    .months { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding: 2px var(--gutter) 4px 0; scrollbar-width: none; }
    .months::-webkit-scrollbar { display: none; }
    .months .pill { flex: none; }
    .evcard__cal .calmenu__btn { min-height: 44px; }
    .getpdf { grid-template-columns: 1fr; padding: 24px 22px; }
    .getpdf .btn { white-space: normal; text-align: center; width: 100%; }
    .topnote { padding-top: 96px; }
    .topnote + .phero { padding-top: 36px; }
    .passed { grid-template-columns: 1fr; }
    .progref { grid-template-columns: 84px minmax(0, 1fr); padding: 12px; gap: 14px; }
    .progref .btn__dot { display: none; }
    .details { padding: 6px 20px; }
    .details .facts > div, .take__facts > div, .confirm .facts > div, .bk-review .facts > div { flex-wrap: wrap; gap: 4px 18px; }
    .details .facts dd, .confirm .facts dd, .bk-review .facts dd { flex: 1 1 100%; padding-left: 28px; text-align: left; }
    .bk-review .facts dd { padding-left: 0; }
    .wiz { gap: 6px; }
    .wiz li { flex: none; }
    .wiz li:has([aria-current="step"]) { flex: 1; }
    .wiz button { padding-right: 8px; }
    .wiz button:not([aria-current="step"]) span { display: none; }
    .seat__fields { grid-template-columns: 1fr; }
    .bk-total { padding: 16px; }
    .bk-total dl { margin-left: 0; gap: 24px; }
    .bk-nav .btn { flex: 1; padding: 0 16px; white-space: normal; text-align: center; }
    .bk-review { padding: 18px 18px 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .tpic__tile, .runs__badge { animation: none; }
}
