/* Leannovate, simple style (v2)
   Calm, text-first corporate layout: a photo banner, one reading column with a side panel, flat boxes,
   no animation. Type sizes follow a quiet corporate reading rhythm: 20px body on a 30px line. */

:root {
  --ink: #0d2e3a;          /* headings, dark boxes */
  --text: #474e54;         /* reading text */
  --muted: #646464;        /* logo grey: small print */
  --cyan: #1bb9dc;         /* logo cyan: help box, bullets, rules */
  --cyan-soft: #e3f0f4;
  --action: #07708f;       /* links and buttons on white (white text 5.6:1) */
  --action-hover: #055a73;
  --grey: #f4f5f5;         /* flat boxes */
  --line: #dde3e5;
  --footer: #0a2530;
  --white: #fff;

  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* names the certificate viewer (certificate.css) uses */
  --s-1: 4px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-7: 32px; --s-8: 40px;
  --surface: var(--grey); --r-lg: 0; --font-text: var(--font); --t-card: 22px; --t-label: 15px;
  --wrap: 1296px;
  --gutter: clamp(16px, 4.5vw, 64px);
  --side: 346px;
  --col-gap: clamp(32px, 6.5vw, 93px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  position: relative; margin: 0; background: var(--white); color: var(--text);
  font-family: var(--font); font-size: 20px; line-height: 30px; font-weight: 300; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--action); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--action-hover); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
p { margin: 0 0 15px; }
strong, b { font-weight: 600; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: 32px; line-height: 40px; margin: 60px 0 18px; }
h3 { font-size: 24px; line-height: 32px; margin: 36px 0 10px; }
h4 { font-size: 20px; line-height: 30px; margin: 24px 0 6px; font-weight: 600; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ top bar and header */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.topbar .wrap { display: flex; justify-content: flex-end; }
.topbar a { display: block; padding: 5px 22px; font-size: 15px; line-height: 30px; font-weight: 500; color: var(--ink); text-decoration: none; border-left: 1px solid var(--line); letter-spacing: 0; }
.topbar a:last-child { border-right: 1px solid var(--line); }
.topbar a:hover { background: var(--grey); }

.header { position: absolute; inset: 41px 0 auto; z-index: 20; }
.header__bar { display: flex; align-items: center; gap: 40px; min-height: 134px; }
.header__logo img { width: 190px; height: auto; }
.header__nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.header__item { position: relative; }
.header__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; color: var(--white); font-size: 20px; line-height: 30px; font-weight: 500; text-decoration: none; letter-spacing: -0.01em; background: none; border: 0; font-family: inherit; cursor: pointer; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.header__link:hover, .header__link[aria-current="page"] { color: var(--white); text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 3px; text-underline-offset: 10px; }
.header__link svg { width: 12px; height: 12px; }
.header__cta { margin-left: 18px; }
.menu { display: none; position: absolute; top: 100%; left: 0; width: max-content; max-width: 760px; background: var(--white); padding: 28px 32px; box-shadow: 0 18px 40px rgba(13, 46, 58, .18); }
.header__item:hover > .menu, .header__item:focus-within > .menu, .header__item.is-open > .menu { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 6px 40px; }
.header__item--right .menu { left: auto; right: 0; }
.menu p { grid-column: 1 / -1; margin: 10px 0 4px; font-size: 14px; line-height: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.menu p:first-child { margin-top: 0; }
.menu a { display: block; font-size: 17px; line-height: 26px; font-weight: 400; color: var(--ink); text-decoration: none; padding: 4px 0; }
.menu a:hover { color: var(--action); text-decoration: underline; }
.header__toggle { display: none; margin-left: auto; background: none; border: 2px solid rgba(255, 255, 255, .8); color: var(--white); border-radius: 999px; padding: 8px 18px; font: 600 16px/24px var(--font); cursor: pointer; }

/* ------------------------------------------------------------------ banner */
.banner { position: relative; background: var(--ink); color: var(--white); height: clamp(460px, 48vw, 690px); overflow: hidden; }
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 26, 33, .72) 0%, rgba(7, 26, 33, .45) 45%, rgba(7, 26, 33, .08) 75%), linear-gradient(180deg, rgba(7, 26, 33, .55) 0%, rgba(7, 26, 33, 0) 32%); }
.banner__text { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 120px; padding-bottom: 90px; }
.banner h1 { color: var(--white); font-size: 64px; line-height: 70px; font-weight: 300; letter-spacing: -0.02em; margin: 0 0 8px; max-width: 15em; }
.banner__kicker { font-size: 20px; line-height: 30px; font-weight: 500; color: var(--cyan); margin: 0 0 6px; letter-spacing: 0; }
.crumbs { font-size: 16px; line-height: 30px; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 0 10px; }
.crumbs a, .crumbs span { color: var(--white); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { font-weight: 600; }
.crumbs .sep { opacity: .8; }

/* ------------------------------------------------------------------ page body: column + side panel */
.page-grid { position: relative; z-index: 5; margin-top: -70px; padding-bottom: 90px; display: grid; grid-template-columns: minmax(0, 1fr) var(--side); column-gap: var(--col-gap); align-items: start; }
.main > :first-child { margin-top: 0; }
.lead-box { background: var(--grey); padding: 40px; max-width: 650px; margin: 0 0 45px; }
.lead-box p { color: var(--ink); font-size: 24px; line-height: 34px; font-weight: 400; margin: 0; letter-spacing: -0.012em; }
.lead-box p + p { margin-top: 14px; }
.main ul, .main ol { margin: 0 0 18px; padding: 0; list-style: none; }
.main ul > li, .main ol > li { position: relative; padding-left: 26px; margin: 0 0 8px; }
.main ul > li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; }
.main ol { counter-reset: n; }
.main ol > li { counter-increment: n; padding-left: 40px; }
.main ol > li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 0; font-weight: 600; color: var(--action); font-size: 17px; }
.main li > strong:first-child { color: var(--ink); }
.section-title { display: flex; align-items: center; gap: 18px; margin: 60px 0 24px; }
.section-title h2 { margin: 0; font-size: 26px; line-height: 30px; font-weight: 600; }
.section-title__icon { width: 50px; height: 50px; border-radius: 50%; background: var(--cyan); display: grid; place-items: center; flex: none; }
.section-title__icon svg { width: 26px; height: 26px; color: var(--ink); }
.figure { margin: 30px 0 36px; }
.figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.figure figcaption { font-size: 16px; line-height: 24px; color: var(--muted); margin-top: 10px; }
.note { border-left: 4px solid var(--cyan); background: var(--grey); padding: 20px 26px; margin: 24px 0 30px; }
.note p:last-child { margin-bottom: 0; }

/* facts table (course length, level, certificate) */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 0 40px; }
.facts div { background: var(--white); padding: 18px 22px; }
.facts dt { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.facts dd { margin: 4px 0 0; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--ink); }

.facts--kpi dt { font-size: 21px; line-height: 28px; font-weight: 500; color: var(--ink); text-transform: none; letter-spacing: -0.01em; }
.facts--kpi dd { font-size: 16px; line-height: 22px; font-weight: 400; color: var(--muted); margin-top: 2px; }

/* accordions */
.acc { margin: 0 0 15px; background: var(--grey); }
.acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 20px; min-height: 48px; font-size: 18px; line-height: 30px; font-weight: 500; color: var(--ink); letter-spacing: -0.005em; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .15s; }
.acc[open] > summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.acc > summary:hover { background: #eaeded; }
.acc__body { background: var(--white); border: 1px solid var(--grey); border-top: 0; padding: 22px 24px 10px; }
.acc__body > :first-child { margin-top: 0; }
.acc__num { color: var(--action); font-weight: 600; margin-right: 10px; }

/* flat cards (programmes, related courses, blog) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin: 0 0 30px; }
.card { background: var(--grey); padding: 30px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; color: var(--text); }
.card__meta { font-size: 16px; line-height: 22px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.card h3 { margin: 0; font-size: 24px; line-height: 30px; font-weight: 500; color: var(--ink); }
.card p { font-size: 17px; line-height: 26px; margin: 0; }
.card__more { margin-top: auto; padding-top: 6px; font-size: 17px; font-weight: 600; color: var(--action); }
a.card:hover h3 { color: var(--action); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card--photo { padding: 0; background: var(--white); }
.card--photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card--photo .card__text { background: var(--grey); padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

/* programme list on the home page */
.programmes { border-top: 1px solid var(--line); margin: 0 0 30px; }
.programmes li { padding: 22px 0 18px 0 !important; border-bottom: 1px solid var(--line); margin: 0 !important; }
.programmes li::before { display: none; }
.programmes h3 { margin: 0 0 6px; font-size: 24px; line-height: 32px; }
.programmes h3 a { color: var(--ink); text-decoration: none; }
.programmes h3 a:hover { color: var(--action); text-decoration: underline; }
.programmes p { margin: 0; }

/* steps (How we work) */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 30px; }
.steps li { background: var(--grey); padding: 28px 30px 22px 30px !important; margin: 0 !important; }
.steps li::before { position: static !important; display: block; margin-bottom: 8px; font-size: 16px !important; }
.steps h3 { margin: 0 0 6px; font-size: 24px; line-height: 30px; }
.steps p { margin: 0; font-size: 18px; line-height: 28px; }

/* consultant and trainers */
.person { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 30px; align-items: start; margin: 0 0 30px; }
.person img { width: 180px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; background: var(--grey); }
.person--round { grid-template-columns: 200px minmax(0, 1fr); }
.person--round img { width: 200px; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 50%; border-radius: 50%; background: transparent; }
.person h3 { margin: 0 0 2px; }
.person__role { font-size: 17px; line-height: 26px; font-weight: 500; color: var(--action); margin: 0 0 10px; }
.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 20px 0 24px; }
.creds div { background: var(--white); padding: 16px 20px; }
.creds dt { font-weight: 600; color: var(--ink); font-size: 18px; line-height: 26px; }
.creds dd { margin: 2px 0 0; font-size: 17px; line-height: 25px; }
.trainers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 30px; margin: 0 0 30px; }
.trainers .person { grid-template-columns: 110px minmax(0, 1fr); gap: 20px; margin: 0; }
.trainers .person img { width: 110px; }
.trainers .person h3 { font-size: 21px; line-height: 28px; }
.trainers .person p { font-size: 17px; line-height: 26px; }
.trainers .person__role { font-size: 16px; line-height: 22px; margin-bottom: 6px; }
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 0 30px; padding: 0 !important; }
.clients li { background: var(--white); padding: 18px 22px !important; margin: 0 !important; font-weight: 500; color: var(--ink); font-size: 18px; }
.clients li::before { display: none; }

/* ------------------------------------------------------------------ side panel */
.side { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.main { min-width: 0; }
.help { background: var(--cyan); color: var(--ink); padding: 34px 35px 38px; }
.help__q { font-size: 18px; line-height: 30px; font-weight: 400; margin: 0; }
.help__phone { display: block; font-size: 27px; line-height: 34px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; margin: 4px 0 18px; }
.help__phone:hover { color: var(--ink); text-decoration: underline; }
.help .btn { background: var(--white); color: var(--ink); }
.help .btn:hover { background: var(--ink); color: var(--white); }
.help--inline { display: none; margin: -20px 0 40px; }
.help__mail { display: block; margin-top: 16px; font-size: 16px; line-height: 24px; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.side-nav { background: var(--ink); color: var(--white); padding: 30px 35px 30px; }
.side-nav__title { font-size: 17px; line-height: 30px; font-weight: 600; color: var(--white); margin: 0 0 10px; display: block; text-decoration: none; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav li a { display: block; padding: 5px 0; font-size: 17px; line-height: 26px; font-weight: 300; color: #cfe2e8; text-decoration: none; }
.side-nav li a:hover { color: var(--white); text-decoration: underline; }
.side-nav li a[aria-current="page"] { color: var(--white); font-weight: 500; box-shadow: inset 3px 0 0 var(--cyan); padding-left: 12px; }
.side-box { background: var(--grey); }
.side-box__head { background: var(--cyan-soft); border-top: 4px solid var(--cyan); padding: 18px 28px; font-size: 22px; line-height: 30px; font-weight: 500; color: var(--ink); margin: 0; }
.side-box__body { padding: 20px 28px 26px; font-size: 17px; line-height: 26px; }
.side-box__body p:last-child { margin-bottom: 0; }
.side-box form { display: flex; gap: 8px; margin-top: 10px; }
.side-box input { flex: 1; min-width: 0; font: 400 17px/24px var(--font); padding: 10px 14px; border: 1px solid #b9c6ca; background: var(--white); color: var(--ink); border-radius: 0; }
.side-box .btn { padding: 10px 18px; font-size: 16px; }
.side-facts { margin: 0; }
.side-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.side-facts div:last-child { border-bottom: 0; }
.side-facts dt { color: var(--muted); }
.side-facts dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }
.accredit { display: flex; gap: 14px; align-items: center; }
.accredit img { width: 64px; height: 64px; flex: none; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 15px 26px; font: 600 18px/26px var(--font); letter-spacing: -0.02em; text-decoration: none; border: 2px solid transparent; cursor: pointer; background: var(--action); color: var(--white); }
.btn:hover { background: var(--action-hover); color: var(--white); }
.btn--secondary { background: var(--white); border-color: var(--action); color: var(--action); }
.btn--secondary:hover { background: var(--grey); color: var(--action-hover); }
.btn--outline { background: transparent; border-color: var(--cyan); color: var(--ink); }
.btn--outline:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--cyan { background: var(--cyan); color: var(--ink); }
.btn--cyan:hover { background: var(--ink); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------------------------------------------------------------------ enquiry form */
.form-box { background: var(--grey); padding: 36px 40px 30px; margin: 20px 0 30px; }
.form-box h2 { margin-top: 0; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full, .form .btn-row, .form__status, .enquiry__topic { grid-column: 1 / -1; }
.field label { font-size: 16px; line-height: 22px; font-weight: 600; color: var(--ink); letter-spacing: 0; }
.field input, .field textarea { font: 400 18px/26px var(--font); color: var(--ink); background: var(--white); border: 1px solid #b9c6ca; border-radius: 0; padding: 11px 14px; width: 100%; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--cyan); outline-offset: 0; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { margin: 0; font-size: 15px; line-height: 20px; color: #b3261e; font-weight: 500; }
.form__status { margin: 0; font-size: 17px; font-weight: 500; color: var(--ink); min-height: 1px; }
.enquiry__topic { margin: 0; font-size: 17px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-lines { font-style: normal; }

/* ------------------------------------------------------------------ closing band and footer */
.closing { background: var(--grey); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 520px; }
.closing__text { padding: 80px var(--gutter) 80px max(var(--gutter), calc((100vw - var(--wrap)) / 2)); align-self: center; }
.closing h2 { margin: 0 0 22px; font-size: 36px; line-height: 44px; font-weight: 600; }
.closing p { max-width: 30em; }
.closing .btn-row { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 8px; }
.closing__img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.footer { background: var(--footer); color: #b9cdd3; font-size: 16px; line-height: 26px; }
.footer .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: 34px 0; }
.footer__logo img { width: 150px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer a { color: #d9e7eb; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__brand { text-align: right; }
.footer__brand strong { display: block; color: var(--white); font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -0.01em; }
.footer__brand strong span { color: var(--cyan); }
.footer__lower { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__lower .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 16px 0 20px; font-size: 15px; }

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 1180px) {
  .header__cta { display: none; }
  .header__link { font-size: 18px; padding: 10px 10px; }
}
@media (max-width: 1023px) {
  body { font-size: 18px; line-height: 28px; }
  .topbar { display: none; }
  .header { inset: 0 0 auto; }
  .header__bar { min-height: 84px; gap: 16px; }
  .header__logo img { width: 150px; }
  .header__toggle { display: inline-block; }
  .header__nav { display: none; position: fixed; inset: 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 84px var(--gutter) 40px; overflow-y: auto; margin: 0; z-index: -1; }
  .header.is-open .header__nav { display: flex; }
  .header.is-open { position: fixed; inset: 0; }
  .header__link { font-size: 22px; padding: 14px 0; width: 100%; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .12); text-shadow: none; }
  .menu { position: static; box-shadow: none; background: transparent; padding: 6px 0 14px; max-width: none; width: 100%; }
  .header__item:hover > .menu, .header__item:focus-within > .menu { display: none; }
  .header__item.is-open > .menu { display: grid; grid-template-columns: 1fr; }
  .menu p { color: #9fbac2; }
  .menu a { color: #e6f1f4; }
  .header__cta { display: block; margin: 24px 0 0; }
  .header__cta .btn { width: 100%; }
  .banner { height: auto; min-height: 420px; }
  .banner__text { padding-top: 120px; padding-bottom: 110px; }
  .banner h1 { font-size: 42px; line-height: 48px; }
  .page-grid { grid-template-columns: minmax(0, 1fr); margin-top: -60px; row-gap: 40px; padding-bottom: 60px; }
  .lead-box { padding: 28px; }
  .help--inline { display: block; }
  .lead-box p { font-size: 21px; line-height: 31px; }
  h2 { font-size: 28px; line-height: 36px; margin-top: 48px; }
  h3 { font-size: 22px; line-height: 30px; }
  .closing { grid-template-columns: 1fr; }
  .closing__text { padding: 56px var(--gutter); }
  .closing__img { min-height: 260px; max-height: 360px; }
  .footer .wrap { grid-template-columns: 1fr; }
  .footer__brand { text-align: left; }
}
@media (max-width: 640px) {
  .banner h1 { font-size: 36px; line-height: 42px; }
  .lead-box { padding: 24px 22px; }
  .lead-box p { font-size: 20px; line-height: 30px; }
  .steps, .trainers, .creds { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div { padding: 14px 16px; }
  .person { grid-template-columns: 1fr; gap: 16px; }
  .person img { width: 160px; }
  .form { grid-template-columns: 1fr; }
  .form-box { padding: 26px 22px; }
  .help, .side-nav { padding: 28px 24px; }
  .closing h2 { font-size: 30px; line-height: 38px; }
}
@media print {
  .topbar, .header, .side, .closing, .footer { display: none; }
  .banner { height: auto; background: none; color: var(--ink); }
  .banner::after, .banner__img { display: none; }
  .banner h1, .crumbs a, .crumbs span { color: var(--ink); }
  .page-grid { margin-top: 0; display: block; }
}

/* WordPress: the admin bar, the robot trap, editor content */
.ast-scroll-top-icon, #ast-scroll-top { display: none !important; }
.admin-bar .header.is-open { top: 32px; }
@media (max-width: 782px) { .admin-bar .header.is-open { top: 46px; } }
.article img, .main .wp-block-image img { height: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pagination, .nav-links { display: flex; gap: 10px; margin: 20px 0 40px; font-weight: 500; }
.page-numbers { padding: 6px 12px; background: var(--grey); text-decoration: none; }
.page-numbers.current { background: var(--ink); color: var(--white); }
