/* Infintech Europe site theme.
   Layout system: white pages, light grey bands, soft white cards, rounded "pill" buttons, one typeface (Overpass).
   Loaded after style.css; it replaces the look of the older rules there. */

@import url("https://fonts.googleapis.com/css2?family=Overpass:wght@400;500;600;700;800&display=swap");

:root {
  --green: #174A36;
  --green-hover: #0E3324;
  --green-tint: #E6EEE9;
  --ink: #2B2B2B;
  --ink-strong: #111;
  --muted: #6A6D69;
  --grey: #F5F5F2;
  --grey-2: #EBEBE6;
  --line: #E1E2DD;
  --white: #fff;
  --radius-card: 12px;
  --radius-field: 8px;
  --shadow-card: 0 2px 12px rgba(17, 24, 20, 0.08);
  --shadow-float: 0 6px 30px rgba(17, 24, 20, 0.12);
  --container: 1120px;
  --font: "Overpass", "Helvetica Neue", Arial, sans-serif;

  /* names used by style.css */
  --accent: var(--green);
  --accent-dark: var(--green-hover);
  --brand-navy: var(--green);
  --muted-text: var(--muted);
  --font-base: var(--font);
  --font-display: var(--font);
  --surface-soft: var(--grey);
  --surface-alt: var(--grey-2);
  --surface-dark: var(--green);
  --border-gray: var(--line);
}

html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.page-hero h1, .page-hero-title, .section-copy h2, .section-head h2, .centered-intro h2 {
  font-family: var(--font);
  letter-spacing: 0;
  text-wrap: balance;
}

h1, h2 { color: var(--green); font-weight: 400; }
h3, h4 { color: var(--ink-strong); font-weight: 600; }
h2 { font-size: 28px; line-height: 1.25; margin: 0 0 16px; }
h3 { font-size: 19px; line-height: 1.35; }

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(23, 74, 54, 0.35);
  outline-offset: 2px;
}

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Icons sit slightly smaller inside UI */
.hi { width: 1.15em; height: 1.15em; }

/* ---------- Buttons ---------- */

.pill,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.pill:hover,
.btn:hover { background: var(--green-hover); border-color: var(--green-hover); color: #fff; }

.pill--ghost,
.btn.ghost,
.btn--secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.pill--ghost:hover,
.btn.ghost:hover,
.btn--secondary:hover { background: #fff; border-color: var(--green); color: var(--green); }

.btn.light { background: #fff; border-color: #fff; color: var(--green); }
.btn--primary { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}

.site-header .navbar {
  position: static;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header .navbar-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 32px;
  row-gap: 6px;
  min-height: 0;
  padding: 14px 0 0;
}

.site-header .logo { grid-row: 1 / span 2; display: inline-flex; align-self: center; padding-bottom: 12px; }
.site-header .logo img { width: 190px; height: auto; display: block; }

.header-tools {
  grid-column: 2;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tool-btn,
.tool-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.tool-btn { width: 38px; }
.tool-pill { gap: 8px; padding: 0 18px; }
.tool-btn:hover, .tool-pill:hover { background: var(--green-hover); }

.site-header .nav-links {
  grid-column: 2;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.site-header .nav-links > a,
.site-header .nav-item-link,
.site-header .nav-item > a {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px 14px;
  border: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  background: none;
}

.site-header .nav-links > a::after,
.site-header .nav-item > a::after,
.site-header .nav-item-link::after { display: none; }

.site-header .nav-item--mega .nav-item-link::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: -4px 0 0 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  background: none;
  position: static;
}

.site-header .nav-links > a:hover,
.site-header .nav-links > a.active,
.site-header .nav-item.is-current .nav-item-link,
.site-header .nav-item-link:hover { color: var(--green); }

.site-header .nav-item-row { display: flex; align-items: center; }
.site-header .nav-submenu-toggle { display: none; }

.site-header .mega-menu {
  top: 100%;
  border: 0;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-float);
  padding: 28px 32px;
}

.site-header .mega-menu-head h3 { color: var(--green); font-weight: 400; font-size: 22px; margin: 0 0 6px; }
.site-header .mega-menu-head p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.site-header .mega-menu-list a {
  display: block;
  padding: 6px 0;
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  border: 0;
}
.site-header .mega-menu-list a:hover { color: var(--green); }

.nav-toggle {
  grid-column: 2;
  justify-self: end;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

/* ---------- Footer ---------- */

.site-footer { margin-top: 0; background: #fff; border-top: 1px solid var(--line); color: var(--ink); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 1fr 1.3fr;
  gap: 32px;
  padding: 48px 0 40px;
}

.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer-col h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-strong);
}
.footer-col a { color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--green); text-decoration: underline; }
.footer-cities { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }

.footer-base { border-top: 1px solid var(--line); }
.footer-base-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 14px;
  color: var(--muted);
}
.footer-base-inner img { width: 140px; height: auto; }

/* ---------- Home ---------- */

.home-hero { position: relative; overflow: hidden; background: var(--grey); }

.home-hero-media { position: absolute; inset: 0; }
.home-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0) 75%);
}

.home-hero-copy { position: relative; padding: 150px 0 140px; }
.home-hero-copy h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--green);
}
.home-hero-copy p { margin: 12px 0 0; font-size: 22px; font-weight: 600; color: #4A4D4A; }

.finder-wrap { position: relative; z-index: 2; margin-top: -96px; }

.finder {
  padding: 26px 28px 30px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-float);
}

.finder-title { margin: 0 0 14px; font-size: 22px; }

.finder-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--grey);
}

.finder-tabs [role="tab"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 500 15px/1 var(--font);
  cursor: pointer;
}

.finder-tabs [role="tab"][aria-selected="true"] { background: var(--green); color: #fff; }

.finder-panel { display: flex; gap: 14px; margin-top: 22px; }
.finder-panel[hidden] { display: none; }
.finder-panel input,
.finder-panel select {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-field);
  background: var(--grey);
  color: var(--ink);
  font: 400 16px var(--font);
}
.finder-panel .pill { min-width: 160px; }

.block { padding: 64px 0; }
.block--grey { background: var(--grey); }
.block-title { margin-bottom: 24px; }
.block-more { margin-top: 32px; }
.narrow-text p { max-width: 900px; margin: 0; }

.card-grid { display: grid; gap: 24px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Course card */
.course-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.course-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--grey-2); }
.course-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.course-card:hover .course-card-media img { transform: scale(1.03); }

.course-card-body { flex: 1; padding: 18px 20px 20px; background: var(--grey); }
.course-card-meta { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.course-card-meta .hi { color: var(--green); }
.course-card-body h3 { margin: 0 0 8px; font-size: 19px; }
.course-card-body h3 a { text-decoration: none; color: var(--ink-strong); }
.course-card-body h3 a:hover { color: var(--green); }
.course-card-sub { margin: 0; font-size: 15px; color: #4D504C; }

.course-card-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
}
.course-card-actions .pill { min-height: 40px; padding: 0 20px; }

/* Venue tile */
.venue-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--ink);
}
.venue-tile-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grey-2); }
.venue-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.venue-tile:hover img { transform: scale(1.04); }
.venue-tile-body { display: flex; flex-direction: column; padding: 14px 18px 16px; }
.venue-tile-body strong { font-size: 18px; color: var(--ink-strong); }
.venue-tile-body small { font-size: 14px; color: var(--muted); }

/* Topic cards */
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.topic-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 24px 24px 22px;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.topic-card h3 { margin: 0; }
.topic-card p { margin: 0 0 14px; color: #4D504C; }
.topic-card .pill { margin-top: auto; min-height: 40px; }

/* Accreditation wall */
.badge-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  text-align: center;
}
.badge-item strong { font-size: 28px; font-weight: 800; letter-spacing: 0.04em; color: var(--green); }
.badge-item span { font-size: 13px; line-height: 1.4; color: var(--muted); }

/* Contact teaser */
.contact-teaser { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-teaser p { max-width: 560px; margin: 0 0 22px; }
.info-card { padding: 26px 28px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-float); }
.info-card h3 { margin: 0 0 16px; }
.info-row { display: flex; gap: 14px; margin: 0 0 14px; }
.info-row:last-child { margin: 0; }
.info-row .hi { margin-top: 3px; color: var(--green); }
.info-row strong { display: block; font-weight: 600; color: var(--ink-strong); }
.info-row a { color: var(--green); text-decoration: none; }
.info-row a:hover { text-decoration: underline; }

/* Benefits band */
.benefits-band { padding: 0 0 64px; background: linear-gradient(#fff 50%, var(--grey) 50%); }
.benefits-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 820px;
  margin-inline: auto;
  padding: 28px 32px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-float);
}
.benefits-box h3 { margin: 0 0 10px; color: var(--green); font-weight: 400; font-size: 22px; }
.benefits-box p { margin: 0 0 16px; }

.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 4px 0 4px 28px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--green);
  -webkit-mask: var(--check) center / contain no-repeat;
  mask: var(--check) center / contain no-repeat;
}

:root {
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- Inner pages ---------- */

.page-hero {
  position: relative;
  min-height: 0;
  display: block;
  padding: 0;
  overflow: visible;
  background: var(--grey) !important;
  background-image: none !important;
  color: var(--ink);
  border: 0;
}
.page-hero::before, .page-hero::after { display: none !important; }

.page-hero-inner { position: relative; padding: 18px 0 44px; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 28px;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.breadcrumbs span + span::before { content: "›"; margin-right: 6px; color: var(--muted); }
.breadcrumbs span:not(:last-child) { color: var(--green); }

.page-hero .eyebrow { display: none; }
.page-hero h1,
.page-hero-title {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--green);
}
.page-hero-copy, .page-hero p { max-width: 760px; margin: 12px 0 0; font-size: 18px; color: #4D504C; }

.page-section { padding: 48px 0 72px; background: #fff; }

.eyebrow {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before { display: none !important; }
.accent { color: inherit; font-style: normal; }

/* Generic panels */
.card, .detail-card, .feature-panel, .sidebar-card, .filter-panel, .schedule-card, .contact-card,
.contact-panel, .office-card, .faq-card, .legal-meta-card, .partner-card, .venue-showcase-card,
.invoice-summary, .registration-form-section, .module-card, .leadership-card, .value-card, .stat-card {
  border: 0;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card) !important;
  background: #fff;
}

.feature-panel--dark,
.contact-panel--dark,
.register-card,
.sidebar-card.register-card,
.cta-banner {
  background: var(--grey) !important;
  color: var(--ink) !important;
}
.register-card h3, .contact-panel--dark h3, .contact-panel--dark h4, .cta-banner h2 { color: var(--green) !important; }
.register-card p, .contact-panel--dark p, .contact-panel--dark li, .cta-banner p { color: var(--ink) !important; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
  border: 0;
  background: transparent;
}
.stat-card { padding: 20px 22px; background: var(--grey); box-shadow: none !important; }
.stat-card strong { display: block; font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--green); }
.stat-card span { display: block; margin-top: 4px; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--muted); }

.detail-list, .check-list { list-style: none; margin: 0; padding: 0; }
.detail-list li, .check-list li { position: relative; padding: 4px 0 4px 28px; font-size: 16px; }
.detail-list li::before, .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 0;
  background: var(--green);
  -webkit-mask: var(--check) center / contain no-repeat;
  mask: var(--check) center / contain no-repeat;
}

/* Course finder page */
.catalog-layout { gap: 32px; }
.filter-panel { padding: 22px; position: sticky; top: 140px; align-self: start; }
.filter-group h3 { font-size: 17px; margin: 18px 0 8px; }
.checkbox-row { font-size: 15px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--green); }
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.catalog-summary { font-size: 15px; color: var(--muted); text-transform: none; letter-spacing: 0; }
.chip {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
}
.chip.active, .chip:hover { background: var(--green); border-color: var(--green); color: #fff; }
@media (min-width: 901px) { #course-list-chips { display: none; } }
.pagination a, .pagination button, .pagination span { border-radius: 999px; }

/* Venue pages */
.venue-showcase-grid { gap: 24px; }
.venue-card-media img, .spotlight-media img { filter: none; }

/* Contact */
.contact-card { padding: 24px; }
.contact-card .hi { width: 26px; height: 26px; margin-bottom: 10px; color: var(--green); }
.contact-card strong { display: block; font-size: 18px; color: var(--ink-strong); }
.contact-panel.map-box {
  min-height: 240px;
  background: #fff url("/assets/venues-map.png?v=20261119b") center / 86% auto no-repeat !important;
}

/* Forms */
.form-field label, .form-field > span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-strong);
}
.input, .form-field input, .form-field select, .form-field textarea {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius-field);
  background: var(--grey);
  font: 400 16px var(--font);
  color: var(--ink);
}
.form-field textarea { min-height: 120px; }
.input:focus, .form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--green);
  background: #fff;
  box-shadow: none;
}

/* Registration */
.registration-form-head h2, .registration-form-head h3, .registration-form-section h2,
.registration-form-section h3, .registration-form-section h4, .participant-list h4, .contact-panel h3, .contact-panel h4 {
  font-family: var(--font);
  color: var(--green);
  font-weight: 400;
}
.invoice-line--total { border-top: 1px solid var(--ink); font-size: 18px; font-weight: 700; }
.invoice-line--total strong { color: var(--green); font-size: 22px; }
.registration-discount-box, .registration-highlight { border-radius: var(--radius-card); background: var(--grey); border: 0; }

/* Legal */
.legal-meta-grid { gap: 16px; border: 0; background: transparent; }
.legal-meta-card { background: var(--grey); box-shadow: none !important; }
.legal-rich-text section { padding: 28px; margin-bottom: 20px; }
.legal-rich-text h2, .legal-rich-text h3 { color: var(--green); font-weight: 400; font-size: 24px; }
.legal-nav a { border: 0; border-radius: var(--radius-field); background: transparent; text-transform: none; letter-spacing: 0; font-size: 15px; }
.legal-nav a:hover { background: var(--grey); color: var(--green); }

/* Leadership cards keep their content; photos stay hidden (placeholder people). */
.leadership-card img { display: none; }

/* Search page */
.page-hero .hero-search {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin-top: 20px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.page-hero .hero-search input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  background: #fff;
  font: 400 16px var(--font);
}
.page-hero .hero-search button {
  width: auto;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font: 600 15px var(--font);
}

.cta-banner { padding: 56px 0; }
.cta-banner .eyebrow { display: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .badge-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-header .nav-links > a, .site-header .nav-item-link { padding-inline: 8px; font-size: 14px; }
}

@media (max-width: 860px) {
  .site-header .navbar-inner { grid-template-columns: auto 1fr auto; padding: 10px 0; row-gap: 0; }
  .site-header .logo { grid-row: 1; padding-bottom: 0; }
  .site-header .logo img { width: 150px; }
  .header-tools { grid-column: 2; grid-row: 1; }
  .tool-pill { width: 38px; padding: 0; font-size: 0; gap: 0; }
  .tool-pill .hi { font-size: 16px; }
  .nav-toggle { grid-column: 3; grid-row: 1; }
  .site-header .nav-links { grid-column: 1 / -1; justify-self: stretch; }

  .card-grid--3, .topic-grid, .contact-teaser, .benefits-box { grid-template-columns: minmax(0, 1fr); }
  .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-panel { position: static; }
  .filter-panel .filter-group:first-of-type { display: none; }
  #course-list-chips { display: flex; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  #course-list-chips .chip { flex: none; }
  .home-hero-copy { padding: 90px 0 130px; }
  .home-hero-media::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55)); }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .card-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .badge-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--wide { grid-column: 1 / -1; }
  .finder { padding: 20px 18px 22px; }
  .finder-tabs [role="tab"] { font-size: 14px; gap: 6px; }
  .finder-tabs [role="tab"] .hi { display: none; }
  .finder-panel { flex-direction: column; }
  .finder-panel .pill { width: 100%; }
  .home-hero-copy p { font-size: 18px; }
  .block { padding: 48px 0; }
  .footer-base-inner { flex-direction: column; align-items: flex-start; }
}

/* Grid children must be allowed to shrink so nothing widens the page. */
.content-stack, .content-stack > *, .catalog-layout > *, .filter-toolbar > *, .page-layout > * { min-width: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Course detail ---------- */

.crumb-bar { border-bottom: 1px solid var(--line); background: #fff; }
.crumb-bar .breadcrumbs { margin: 0; padding: 10px 0; }
.breadcrumbs a { color: var(--green); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.course-banner { height: 340px; overflow: hidden; background: var(--grey-2); }
.course-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
  margin-top: -120px;
  padding-bottom: 72px;
  position: relative;
}

.course-head {
  padding: 26px 28px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-float);
}
.course-head-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--green-tint);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.course-head h1 { margin: 10px 0 6px; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.course-head-sub { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink-strong); }
.course-head-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; font-size: 15px; color: var(--muted); }
.course-head-meta > span { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; }
.course-head-meta .hi { color: var(--green); }

.course-section { margin-top: 44px; }
.course-section h2 { font-size: 26px; margin-bottom: 14px; }
.course-text p { margin: 0 0 12px; }
.course-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.schedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.schedule-card { overflow: hidden; }
.schedule-card-head {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
  border: 0;
  background: var(--grey);
  color: var(--ink-strong);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th { padding: 10px 18px 6px; text-align: left; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
.schedule-table td { padding: 10px 18px; border-top: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums; }
.schedule-register-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
}
.schedule-register-link:hover { background: var(--green-hover); }
.live-tile-body { padding: 8px 18px 14px; }
.live-date-line { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.live-date-line:first-child { border-top: 0; }
.live-date-actions { display: inline-flex; align-items: center; gap: 12px; }
.fee-with-vat small { color: var(--muted); font-weight: 400; }

.module-card { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 18px 20px; margin-bottom: 12px; }
.module-day { display: flex; flex-direction: column; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
.module-day strong { font-size: 26px; font-weight: 700; color: var(--green); line-height: 1.1; }
.module-body h3 { margin: 0 0 6px; font-size: 17px; }
.module-body ul { margin: 0; padding-left: 18px; }

.hint-box { padding: 24px 26px; border-radius: 16px; background: var(--grey); }
.hint-box h3 { margin: 0 0 8px; }
.hint-box p { margin: 0 0 16px; }

.course-aside { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 20px; }
.price-card, .aside-card { padding: 24px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-float); }
.price-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price { font-size: 26px; font-weight: 700; color: var(--ink-strong); }
.price-tax { font-size: 14px; color: var(--muted); }
.price-gross { flex-basis: 100%; font-size: 14px; color: var(--muted); }
.price-note { margin: 12px 0 0; font-size: 14px; color: #4D504C; }
.price-cta { width: 100%; margin-top: 18px; }
.aside-title { margin: 24px 0 10px; font-size: 16px; }
.date-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.date-list a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--radius-field);
  background: var(--grey);
  text-decoration: none;
  color: var(--ink);
}
.date-list a:hover { background: var(--green-tint); }
.date-list .hi { margin-top: 3px; color: var(--green); }
.date-list strong { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.date-list small { color: var(--muted); font-size: 13px; }
#course-details-code { margin: 0; font-weight: 600; }
.aside-card { background: var(--grey); box-shadow: none; }
.aside-card h3 { margin: 0 0 8px; font-size: 17px; }
.aside-card p { margin: 0 0 14px; }
.aside-card a:not(.pill) { color: var(--green); text-decoration: none; }

@media (max-width: 960px) {
  .course-layout { grid-template-columns: minmax(0, 1fr); margin-top: -80px; }
  .course-aside { position: static; }
  .schedule-grid, .course-two-col { grid-template-columns: minmax(0, 1fr); }
  .course-banner { height: 220px; }
}

@media (max-width: 600px) {
  .course-head { padding: 20px; }
  .course-head-top .pill { display: none; }
  .module-card { grid-template-columns: 1fr; gap: 6px; }
}

.crumb-bar .breadcrumbs { margin: 0 auto; }
.breadcrumbs span:last-child { color: var(--ink); }
.schedule-table td:first-child { white-space: nowrap; }
.course-text p, .course-text .rich-text p, .course-text li, .module-body li, #course-details-audience-copy { font-size: 16px; line-height: 1.7; color: var(--ink); }

.module-list .module-card {
  box-shadow: none !important;
  border-radius: 0;
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 18px 0;
  background: transparent;
}
.module-list .module-day { background: none; border: 0; padding: 0; }

.venue-tile--wide .venue-tile-body { gap: 2px; padding: 16px 18px 20px; }
.venue-tile--wide p { margin: 10px 0 16px; font-size: 15px; color: #4D504C; }
.venue-tile--wide .pill { align-self: flex-start; min-height: 40px; margin-top: auto; }
.venue-tile--wide .venue-tile-body { flex: 1; }
.venue-showcase-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.venue-showcase-grid .course-card { height: 100%; }
.venue-card-media::after, .spotlight-media::after { display: none !important; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.section-head h2 { margin: 0; font-size: 28px; }
.section-head .quote, .section-head > p { max-width: 340px; font-size: 15px; color: var(--muted); }
@media (max-width: 1100px) { .venue-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .venue-showcase-grid { grid-template-columns: minmax(0, 1fr); } .section-head { flex-direction: column; align-items: flex-start; } }

/* About */
.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.split-feature-media { border-radius: var(--radius-card); overflow: hidden; background: var(--grey-2); padding: 0; box-shadow: none; }
.split-feature-media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.split-feature .feature-panel { padding: 28px; }
.split-feature .feature-panel h3 { color: var(--green); font-weight: 400; font-size: 24px; }
.milestone-grid { gap: 16px; }
.milestone-card { border: 0; border-radius: var(--radius-card); background: var(--grey); box-shadow: none !important; }
.milestone-card strong { color: var(--green); font-weight: 700; }
.milestone-card span, .stat-card span, .leadership-role {
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-size: 14px;
  color: var(--muted);
}
.value-card h3, .leadership-card h3 { color: var(--ink-strong); }
.centered-section { background: var(--grey); padding: 64px 0; }
.centered-intro h2 { color: var(--green); font-weight: 400; }
.logo-grid { gap: 16px; }
.logo-card { border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; box-shadow: none; }
.logo-mark { width: auto; height: auto; background: none; border: 0; font-size: 26px; font-weight: 800; color: var(--green); letter-spacing: 0.04em; }
.content-block > .eyebrow { margin: 0 0 14px; }
@media (max-width: 860px) { .split-feature { grid-template-columns: minmax(0, 1fr); } }

/* Legal pages */
.legal-rich-text section { border: 0 !important; border-radius: var(--radius-card) !important; }
.legal-rich-text p, .legal-rich-text li { font-size: 16px; line-height: 1.7; color: var(--ink); }
.legal-side-stack { position: sticky; top: 140px; align-self: start; }

/* Phone header: logo, two contact buttons, menu toggle; menu opens below. */
@media (max-width: 860px) {
  .site-header .navbar-inner { column-gap: 10px; }
  .site-header .logo img { width: 140px; }
  .header-tools { gap: 6px; }
  .header-tools .tool-btn:first-child { display: none; }
  .tool-btn, .tool-pill { width: 36px; height: 36px; }
  .nav-toggle { height: 36px; padding: 0 12px; }
  .site-header .nav-links { display: none; }
  .site-header .navbar.is-mobile-menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    border-top: 1px solid var(--line);
    margin-top: 10px;
  }
  .site-header .navbar.is-mobile-menu-open .nav-links > a,
  .site-header .navbar.is-mobile-menu-open .nav-item-link { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header .nav-item-row { justify-content: space-between; }
  .site-header .nav-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: var(--grey);
    color: var(--green);
  }
  .site-header .nav-item--mega .nav-item-link::after { display: none; }
  .site-header .mega-menu { position: static; box-shadow: none; padding: 8px 0 12px 12px; }
}

.finder-panel input, .finder-panel select { min-height: 48px; -webkit-appearance: none; appearance: none; box-sizing: border-box; }
.finder-panel select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23174A36' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

/* Contact form */
.form-trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.form-note a { color: var(--green); }
.form-status { margin: 0 0 8px; padding: 14px 16px; border-radius: var(--radius-field); font-size: 15px; }
.form-status--success { background: var(--green-tint); color: var(--green); }
.form-status--error { background: #FBEAEA; color: #8A1C1C; }
#enquiry { scroll-margin-top: 140px; }

/* ===== Course dates & fees (schedule explorer) — 2026-11-24 ===== */
#course-schedules { container-type: inline-size; container-name: sched; }
.sched-eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 6px; color: var(--green);
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
}
.sched-eyebrow::before { content: ""; width: 36px; height: 2px; background: currentColor; }
#course-schedules h2 { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; }
.sched-lead { margin: 0 0 16px; max-width: 62ch; font-size: 15px; line-height: 1.6; color: var(--muted); }
.sched-lead strong { color: var(--ink-strong); }

.sched-modes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  padding: 4px; border-radius: 12px; background: var(--green);
}
.sched-mode {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 14px; border: 0; border-radius: 9px;
  background: transparent; color: rgba(255, 255, 255, 0.92);
  font: inherit; text-align: left; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.sched-mode:hover { background: rgba(255, 255, 255, 0.08); }
.sched-mode .hi, .sched-mode-icon { flex: none; width: 22px; height: 22px; color: #9cc5ae; display: inline-flex; }
.sched-mode strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.2; }
.sched-mode small { display: block; margin-top: 1px; font-size: 13px; opacity: 0.75; font-variant-numeric: tabular-nums; }
.sched-mode.is-active { background: #fff; color: var(--ink-strong); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); }
.sched-mode.is-active .hi, .sched-mode.is-active .sched-mode-icon { color: var(--green); }
.sched-mode.is-active small { color: var(--muted); opacity: 1; }
.sched-mode:focus-visible, .sched-city:focus-visible, .sched-register:focus-visible { outline: 3px solid #9cc5ae; outline-offset: 2px; }

.sched-cities {
  display: flex; gap: 8px; margin: 14px 0 2px; padding: 2px 2px 6px;
  overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.sched-cities[hidden] { display: none; }
.sched-city {
  flex: none; display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 8px 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-strong); font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.sched-city span {
  min-width: 22px; padding: 1px 7px; border-radius: 999px;
  background: var(--grey-2); color: var(--muted); font-size: 13px; text-align: center; font-variant-numeric: tabular-nums;
}
.sched-city:hover { border-color: var(--green); }
.sched-city.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.sched-city.is-active span { background: rgba(255, 255, 255, 0.18); color: #fff; }

.sched-list { display: grid; gap: 8px; margin-top: 6px; }
.sched-month {
  display: flex; align-items: center; gap: 18px;
  margin: 12px 0 0; color: var(--green);
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.sched-month::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.sched-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1.25fr) minmax(0, 1.2fr) auto auto;
  align-items: center; gap: 8px 16px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sched-card:hover { border-color: #c9d6ce; box-shadow: var(--shadow-card); }
.sched-tile {
  grid-area: auto; display: grid; place-items: center; align-content: center; gap: 2px;
  width: 52px; height: 52px; border-radius: 10px; background: var(--green); color: #fff;
}
.sched-tile strong { font-size: 20px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.sched-tile span { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: #9cc5ae; }
.sched-when h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--ink-strong); font-variant-numeric: tabular-nums; }
.sched-when p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.sched-badge {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 5px;
  padding: 1px 9px; border-radius: 999px; background: var(--green-tint); color: var(--green);
  font-size: 12px; font-weight: 700;
}
.sched-badge i { width: 8px; height: 8px; border-radius: 50%; background: #2fa964; }
.sched-where { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sched-flag {
  flex: none; width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(0, 0, 0, 0.18); background: var(--grey-2);
}
.sched-flag--pin, .sched-flag--live { display: grid; place-items: center; color: var(--green); background: var(--green-tint); }
.sched-where-text { min-width: 0; }
.sched-where-text strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink-strong); }
.sched-where-text small { display: block; font-size: 13px; color: var(--muted); }
.sched-price { text-align: right; white-space: nowrap; }
.sched-price strong { display: block; font-size: 18px; font-weight: 800; color: var(--ink-strong); font-variant-numeric: tabular-nums; }
.sched-price small { display: block; font-size: 12px; color: var(--muted); }
.sched-register {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 0 18px; border-radius: 999px;
  background: var(--green); color: #fff !important; font-size: 14px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.sched-register:hover { background: var(--green-hover); }
.sched-register:active { transform: scale(0.97); }
.sched-empty { padding: 24px; border: 1px dashed var(--line); border-radius: 16px; background: #fff; color: var(--muted); text-align: center; }
.sched-empty p { margin: 0 0 14px; }
.sched-more {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  margin-top: 4px; padding: 10px 16px; border: 1px dashed #c9d6ce; border-radius: 12px;
  background: var(--grey); color: var(--green); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.sched-more:hover { background: var(--green-tint); border-color: var(--green); }
.sched-more:focus-visible { outline: 3px solid #9cc5ae; outline-offset: 2px; }

/* medium column (desktop with sidebar, tablets) */
@container sched (max-width: 760px) {
  .sched-card {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    grid-template-areas: "tile when price" "tile where register";
    align-items: start;
  }
  .sched-tile { grid-area: tile; }
  .sched-when { grid-area: when; }
  .sched-where { grid-area: where; }
  .sched-price { grid-area: price; }
  .sched-register { grid-area: register; align-self: end; }
  .sched-flag { width: 26px; height: 26px; }
}

/* phones */
@container sched (max-width: 480px) {
  .sched-modes { grid-template-columns: 1fr; }
  .sched-card {
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-areas: "tile when" "where where" "price register";
    padding: 12px; gap: 10px;
  }
  .sched-tile { width: 48px; height: 48px; }
  .sched-tile strong { font-size: 19px; }
  .sched-when h3 { font-size: 15px; }
  .sched-where { padding-top: 10px; border-top: 1px solid var(--line); }
  .sched-price { text-align: left; align-self: center; }
  .sched-register { justify-self: end; align-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  .sched-mode, .sched-city, .sched-card, .sched-register { transition: none; }
}

/* ===== Loading skeletons — 2026-11-24 ===== */
.sk {
  display: block; height: 12px; margin: 8px 0; border-radius: 6px;
  background: linear-gradient(90deg, var(--grey-2) 0%, #f4f5f2 45%, var(--grey-2) 90%);
  background-size: 220% 100%;
  animation: sk-shimmer 1.3s ease-in-out infinite;
}
.sk-inline { display: inline-block; height: 0.9em; margin: 0; vertical-align: middle; }
.sk-title { height: 0.72em; margin: 0.22em 0; border-radius: 8px; }
.sk-price { width: 55%; height: 30px; margin-top: 0; }
.sk-date { height: 54px; border-radius: 10px; margin: 0; }
.sk-tile { width: 52px; height: 52px; margin: 0; border-radius: 10px; }
.sk-btn { width: 92px; height: 38px; margin: 0; border-radius: 999px; }
.sk-media { height: 180px; margin: 0; border-radius: 0; }
.sk-stack { display: block; min-width: 0; }
.sk-pad { padding: 14px 20px 22px; }
.sk-li { list-style: none; }
.sk-li::before { display: none !important; }
.sk-w30 { width: 30%; } .sk-w40 { width: 40%; } .sk-w50 { width: 50%; } .sk-w60 { width: 60%; }
.sk-w70 { width: 70%; } .sk-w80 { width: 80%; } .sk-w90 { width: 90%; }
.sk-w-crumb { width: 180px; } .sk-w-tag { width: 90px; } .sk-w-meta { width: 130px; }
.tag .sk { background-color: transparent; opacity: 0.6; }
.date-list .sk-li { padding: 0; margin-bottom: 8px; }
.sched-card--skeleton { grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1fr) auto; }
.course-card--skeleton { min-height: 300px; background: #fff; }
.is-load-failed .sk, .is-load-failed .sched-card--skeleton, .is-load-failed .course-card--skeleton { display: none; }

@keyframes sk-shimmer { from { background-position: 100% 0; } to { background-position: -120% 0; } }

/* Section-level loading boxes get a spinner instead of plain text */
.loading-state:not(#venue-load-state) {
  display: flex; align-items: center; gap: 12px;
  border: 0; border-radius: 12px; background: var(--grey); color: var(--muted);
}
.loading-state:not(#venue-load-state)::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(23, 74, 54, 0.15); border-top-color: var(--green);
  animation: loader-spin 0.8s linear infinite;
}

@container sched (max-width: 480px) {
  .sched-card--skeleton { grid-template-columns: 48px minmax(0, 1fr); }
  .sched-card--skeleton .sk-stack + .sk-stack, .sched-card--skeleton .sk-btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sk, .loading-state::before { animation: none; }
}

/* ===== Course hero: split panel + image, typewriter title — 2026-11-24 ===== */
.course-hero {
  --hero-mint: #9fd3b4;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  min-height: 560px;
  background: var(--green);
  color: #fff;
}
.course-hero-panel {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 48px 48px 56px max(24px, calc((100vw - var(--container)) / 2 + 16px));
  background:
    radial-gradient(90% 80% at 0% 100%, rgba(159, 211, 180, 0.12) 0%, rgba(159, 211, 180, 0) 60%),
    radial-gradient(70% 60% at 100% 0%, #1f5a43 0%, rgba(31, 90, 67, 0) 70%),
    var(--green);
}
.course-hero-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.4px) 0 0 / 24px 24px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.course-hero-watermark {
  position: absolute; top: 18px; right: 28px;
  font-size: clamp(80px, 10vw, 150px); font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.1);
  white-space: nowrap; user-select: none; pointer-events: none;
  animation: hero-watermark 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.course-hero-inner { position: relative; width: 100%; max-width: 640px; }

.course-hero .breadcrumbs { margin: 0 0 26px; padding: 0; font-size: 14px; }
.course-hero .breadcrumbs span, .course-hero .breadcrumbs span:last-child { color: rgba(255, 255, 255, 0.6); }
.course-hero .breadcrumbs span + span::before { color: rgba(255, 255, 255, 0.4); }
.course-hero .breadcrumbs a { color: #fff; }

.course-hero-eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px;
  color: var(--hero-mint); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.course-hero-tag {
  padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.12);
  color: #fff; font-size: 11px; letter-spacing: 0.1em;
}
.course-hero h1 {
  min-height: 2.3em; margin: 0 0 18px;
  color: #fff; font-size: clamp(32px, 3.6vw, 50px); font-weight: 800; line-height: 1.12; letter-spacing: -0.01em;
  text-wrap: balance;
}
.course-hero h1 .sk { background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.2) 45%, rgba(255,255,255,0.1) 90%); background-size: 220% 100%; }
.type-caret {
  display: inline-block; width: 3px; height: 0.95em; margin-left: 4px; vertical-align: -0.08em;
  background: var(--hero-mint); animation: caret-blink 1s step-end infinite;
}
.course-hero-copy {
  max-width: 58ch; margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.8); font-size: 16px; line-height: 1.65;
}
.course-hero-copy .sk, .course-hero-stat .sk { background: rgba(255, 255, 255, 0.12); animation: none; }

.course-hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 600px; margin-bottom: 30px; }
.course-hero-stat {
  min-width: 0; padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(4px);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.course-hero-stat:hover { transform: translateY(-3px); border-color: rgba(159, 211, 180, 0.5); background: rgba(255, 255, 255, 0.08); }
.course-hero-stat strong { display: block; color: var(--hero-mint); font-size: 22px; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.course-hero-stat span { display: block; margin-top: 2px; color: rgba(255, 255, 255, 0.7); font-size: 13px; }

.course-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 700; text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.hero-btn:active { transform: scale(0.97); }
.hero-btn--primary {
  padding-right: 8px; background: var(--hero-mint); color: var(--green-hover) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.hero-btn--primary:hover { background: #b6e0c6; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24); }
.hero-btn-arrow {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-hover); color: #fff; transition: transform 0.2s ease;
}
.hero-btn--primary:hover .hero-btn-arrow { transform: translateX(3px); }
.hero-btn--light { border: 1px solid rgba(255, 255, 255, 0.4); color: #fff !important; }
.hero-btn--light:hover { background: #fff; color: var(--green) !important; }
.hero-btn:focus-visible { outline: 3px solid var(--hero-mint); outline-offset: 3px; }

.course-hero-media { position: relative; overflow: hidden; background: var(--green-hover); }
.course-hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; filter: saturate(0.85);
  transition: opacity 1s ease;
  animation: hero-kenburns 28s ease-in-out infinite alternate;
}
.course-hero-media img.is-ready { opacity: 1; }
.course-hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(23, 74, 54, 0.55) 0%, rgba(23, 74, 54, 0) 35%),
    linear-gradient(0deg, rgba(14, 51, 36, 0.45) 0%, rgba(14, 51, 36, 0) 45%);
}
.course-hero-cards {
  position: absolute; z-index: 2; left: 28px; bottom: 32px;
  display: grid; gap: 14px; width: min(340px, calc(100% - 56px));
}
.hero-card {
  display: block; padding: 16px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.97); color: var(--ink) !important; text-decoration: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  animation: hero-card-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both, hero-float 6s ease-in-out 1s infinite;
  transition: box-shadow 0.25s ease;
}
.hero-card:nth-child(2) { animation-delay: 0.25s, 2.2s; }
.hero-card:hover { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3); }
.hero-card-eyebrow {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
  color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
}
.hero-card--online .hero-card-eyebrow { color: #c0392b; }
.hero-live-dot {
  position: relative; width: 10px; height: 10px; border-radius: 50%; background: #e74c3c;
}
.hero-live-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(231, 76, 60, 0.45);
  animation: live-pulse 1.6s ease-out infinite;
}
.hero-card strong { display: block; color: var(--ink-strong); font-size: 17px; font-weight: 700; }
.hero-card-line { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.hero-card-line .hi { color: var(--green); }

/* staggered entrance for hero content */
.hero-in { animation: hero-fade-up 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }

/* reveal on scroll (class added by JS only) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

.course-hero + .course-layout { margin-top: 48px; }

@keyframes caret-blink { 50% { opacity: 0; } }
@keyframes hero-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hero-card-in { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes hero-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes hero-kenburns { from { transform: scale(1.02); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
@keyframes hero-watermark { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes live-pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

@media (max-width: 960px) {
  .course-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .course-hero-panel { padding: 32px 20px 36px; }
  .course-hero-media { min-height: 0; padding: 200px 20px 20px; }
  .course-hero-cards { position: relative; left: auto; bottom: auto; width: 100%; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .course-hero + .course-layout { margin-top: 32px; }
}
@media (max-width: 600px) {
  .course-hero h1 { font-size: 30px; min-height: 0; }
  .course-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-btn { flex: 1 1 100%; justify-content: center; }
  .course-hero-watermark { font-size: 72px; top: 12px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .course-hero-watermark, .hero-card, .hero-in, .course-hero-media img, .type-caret, .hero-live-dot::after { animation: none; }
  .course-hero-media img { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Shared split hero for all pages (same language as the course hero) — 2026-11-24 ===== */
.hero-split, .page-hero.hero-split {
  --hero-mint: #9fd3b4;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 460px;
  padding: 0;
  overflow: hidden;
  background: var(--green) !important;
  color: #fff;
}
.hero-split--home { min-height: 640px; }
.page-hero.hero-split--solo, .hero-split.hero-split--solo { grid-template-columns: minmax(0, 1fr); min-height: 340px; }
.hero-split-panel {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 56px 48px 64px max(24px, calc((100vw - var(--container)) / 2 + 16px));
  background:
    radial-gradient(90% 80% at 0% 100%, rgba(159, 211, 180, 0.12) 0%, rgba(159, 211, 180, 0) 60%),
    radial-gradient(70% 60% at 100% 0%, #1f5a43 0%, rgba(31, 90, 67, 0) 70%),
    var(--green);
}
.hero-split--solo .hero-split-panel { padding-right: max(24px, calc((100vw - var(--container)) / 2 + 16px)); }
.hero-split-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.4px) 0 0 / 24px 24px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-split-watermark {
  position: absolute; top: 18px; right: 28px;
  font-size: clamp(80px, 10vw, 150px); font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.09);
  white-space: nowrap; user-select: none; pointer-events: none;
  animation: hero-watermark 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-split-inner { position: relative; width: 100%; max-width: 640px; }
.hero-split--solo .hero-split-inner { max-width: 820px; }

.hero-split .breadcrumbs { margin: 0 0 24px; padding: 0; font-size: 14px; letter-spacing: 0; text-transform: none; }
.hero-split .breadcrumbs span, .hero-split .breadcrumbs span:last-child, .hero-split .breadcrumbs span:not(:last-child) { color: rgba(255, 255, 255, 0.6); }
.hero-split .breadcrumbs span + span::before { color: rgba(255, 255, 255, 0.4); }
.hero-split .breadcrumbs a { color: #fff; text-decoration: none; }
.hero-split .breadcrumbs a:hover { text-decoration: underline; }

.hero-split .hero-eyebrow, .page-hero.hero-split .eyebrow {
  display: block; margin: 0 0 14px;
  color: var(--hero-mint); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero-split h1, .page-hero.hero-split .page-hero-title {
  min-height: 1.15em; max-width: none; margin: 0 0 16px;
  color: #fff; font-size: clamp(34px, 3.8vw, 54px); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em;
  text-transform: none; text-wrap: balance;
}
.hero-split .page-hero-copy, .page-hero.hero-split p.page-hero-copy {
  max-width: 58ch; margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.8); font-size: 17px; line-height: 1.65;
}

.hero-split .hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 600px; margin: 0 0 24px; padding: 0; border: 0; }
.hero-stat {
  min-width: 0; padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px; background: rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.hero-stat:hover { transform: translateY(-3px); border-color: rgba(159, 211, 180, 0.5); background: rgba(255, 255, 255, 0.08); }
.hero-stat strong { display: block; color: var(--hero-mint); font-size: 22px; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hero-stat span { display: block; margin-top: 2px; color: rgba(255, 255, 255, 0.7); font-size: 13px; }

.hero-split-media { position: relative; overflow: hidden; background: var(--green-hover); }
.hero-split-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85);
  animation: hero-img-in 1.1s ease both, hero-kenburns 28s ease-in-out 1.1s infinite alternate;
}
.hero-split-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(23, 74, 54, 0.55) 0%, rgba(23, 74, 54, 0) 35%),
    linear-gradient(0deg, rgba(14, 51, 36, 0.45) 0%, rgba(14, 51, 36, 0) 45%);
}
.hero-float-cards {
  position: absolute; z-index: 2; left: 28px; bottom: 32px;
  display: grid; gap: 14px; width: min(360px, calc(100% - 56px));
}
.hero-card[hidden] { display: none; }

/* search box inside the green hero */
.hero-split .hero-search {
  display: flex; max-width: 560px; margin-top: 4px; padding: 6px;
  border-radius: 999px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.hero-split .hero-search input { flex: 1; min-width: 0; padding: 0 18px; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.hero-split .hero-search input:focus { outline: none; }
.hero-split .hero-search button {
  width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--green); color: #fff; font-size: 18px; cursor: pointer;
}
.hero-split .hero-search:focus-within { box-shadow: 0 0 0 3px var(--hero-mint), 0 10px 30px rgba(0, 0, 0, 0.2); }

/* course finder card inside the home hero */
.hero-split .finder { max-width: 600px; padding: 18px 18px 20px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25); }
.hero-split .finder-title { margin: 0 0 12px; color: var(--green); font-size: 18px; font-weight: 700; }
.hero-split .finder-panel { margin-top: 14px; }

@keyframes hero-img-in { from { opacity: 0; } to { opacity: 1; } }

/* ===== Home sections ===== */
.section-eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 8px;
  color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
}
.section-eyebrow::before { content: ""; width: 36px; height: 2px; background: currentColor; }
.section-eyebrow--light { color: #9fd3b4; }
.section-title { margin: 0 0 14px; color: var(--ink-strong); font-size: clamp(26px, 3vw, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.section-title--light { color: #fff; }
.section-lead { max-width: 60ch; margin: 0 0 26px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head-row .section-title { margin: 0; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  color: var(--green); font-weight: 700; text-decoration: none;
}
.link-arrow span { transition: transform 0.2s ease; }
.link-arrow:hover span { transform: translateX(4px); }

.block { padding: 80px 0; }
.hero-btn--dark { background: var(--green); color: #fff !important; padding-right: 8px; }
.hero-btn--dark .hero-btn-arrow { background: #9fd3b4; color: var(--green-hover); }
.hero-btn--dark:hover { background: var(--green-hover); transform: translateY(-2px); }
.hero-btn--dark:hover .hero-btn-arrow { transform: translateX(3px); }

.intro-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.format-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.format-tile {
  display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.format-tile:hover { transform: translateY(-4px); border-color: #c9d6ce; box-shadow: var(--shadow-card); }
.format-icon {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-tint); color: var(--green);
}
.format-tile h3 { margin: 0 0 4px; font-size: 17px; }
.format-tile p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* course cards: lift + date badge */
.course-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.course-card:not(.course-card--skeleton):hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(17, 24, 20, 0.14); }
.course-card-media { position: relative; overflow: hidden; }
.course-card-media img { transition: transform 0.5s ease; }
.course-card:hover .course-card-media img { transform: scale(1.06); }
.course-card-date {
  position: absolute; left: 14px; top: 14px;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px;
  background: var(--green); color: #9fd3b4; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; line-height: 1.1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.course-card-date strong { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: 0; }

/* venue tiles as photo cards */
.venue-grid .venue-tile { position: relative; aspect-ratio: 4 / 5; box-shadow: none; }
.venue-grid .venue-tile-media { position: absolute; inset: 0; aspect-ratio: auto; }
.venue-grid .venue-tile-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14, 51, 36, 0.85) 0%, rgba(14, 51, 36, 0.1) 55%, rgba(14, 51, 36, 0) 100%);
  transition: background-color 0.3s ease;
}
.venue-grid .venue-tile-body { position: relative; z-index: 1; margin-top: auto; padding: 18px 20px; }
.venue-grid .venue-tile-body strong { color: #fff; font-size: 20px; font-weight: 800; }
.venue-grid .venue-tile-body small { color: rgba(255, 255, 255, 0.8); }
.venue-grid .venue-tile:hover img { transform: scale(1.08); }
.venue-grid .venue-tile:hover .venue-tile-media::after { background-color: rgba(23, 74, 54, 0.2); }

/* subject tiles */
.topic-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.topic-tile {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: 24px; border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow-card); overflow: hidden;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.topic-tile-num { color: var(--green); font-size: 14px; font-weight: 800; letter-spacing: 0.1em; }
.topic-tile h3 { margin: 0; font-size: 19px; transition: color 0.3s ease; }
.topic-tile p { margin: 0 0 8px; color: var(--muted); font-size: 15px; line-height: 1.6; transition: color 0.3s ease; }
.topic-tile-more { display: inline-flex; gap: 8px; margin-top: auto; color: var(--green); font-weight: 700; font-size: 15px; transition: color 0.3s ease; }
.topic-tile-more span { transition: transform 0.2s ease; }
.topic-tile:hover { transform: translateY(-5px); background: var(--green); }
.topic-tile:hover h3, .topic-tile:hover .topic-tile-more { color: #fff; }
.topic-tile:hover p { color: rgba(255, 255, 255, 0.75); }
.topic-tile:hover .topic-tile-num { color: #9fd3b4; }
.topic-tile:hover .topic-tile-more span { transform: translateX(4px); }
.topic-tile:focus-visible { outline: 3px solid #9fd3b4; outline-offset: 3px; }

/* green certified band */
.green-band {
  position: relative; overflow: hidden; padding: 80px 0;
  background:
    radial-gradient(70% 90% at 100% 0%, #1f5a43 0%, rgba(31, 90, 67, 0) 70%),
    var(--green);
  color: #fff;
}
.green-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.4px) 0 0 / 24px 24px;
}
.green-band .container { position: relative; }
.green-band-watermark { top: auto; bottom: -20px; right: 20px; }
.badge-wall--dark { margin-top: 28px; }
.badge-wall--dark .badge-item {
  border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.badge-wall--dark .badge-item:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.1); border-color: rgba(159, 211, 180, 0.5); }
.badge-wall--dark .badge-item strong { color: #9fd3b4; }
.badge-wall--dark .badge-item span { color: rgba(255, 255, 255, 0.75); }

.contact-teaser { align-items: center; }
.info-card { transition: transform 0.3s ease; }
.info-card:hover { transform: translateY(-4px); }

@media (max-width: 960px) {
  .hero-split, .page-hero.hero-split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-split-panel { padding: 32px 20px 36px; }
  .hero-split-media { min-height: 260px; }
  .hero-split--home .hero-split-media { min-height: 0; padding: 200px 20px 20px; }
  .hero-float-cards { position: relative; left: auto; bottom: auto; width: 100%; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .intro-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .topic-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .block, .green-band { padding: 56px 0; }
}
@media (max-width: 600px) {
  .hero-split h1, .page-hero.hero-split .page-hero-title { font-size: 32px; }
  .page-hero.hero-split .hero-split-media { min-height: 170px; }
  .hero-split .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-split-watermark { font-size: 64px; top: 12px; right: 12px; }
  .format-grid, .topic-tiles { grid-template-columns: minmax(0, 1fr); }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .hero-split .finder-panel { flex-direction: column; }
  .hero-split .finder-panel .pill { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-split-watermark, .hero-split-media img { animation: none; }
  .course-card, .course-card-media img, .topic-tile, .format-tile, .badge-item, .info-card, .hero-stat { transition: none; }
}

.footer-address { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.hero-btn[hidden] { display: none; }
.hero-btn svg { flex: none; }

/* ===== Certificate (HTML version of the PDF) + verification page — 2026-11-24 ===== */
.cert-wrap { margin: 0; container-type: inline-size; }
.cert-badge {
  display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px;
  background: var(--green-tint); color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.cert-card {
  position: relative; display: grid; grid-template-columns: 26.5% minmax(0, 1fr);
  aspect-ratio: 297 / 210; overflow: hidden; border-radius: 10px;
  background: #FBFCFB; color: #12291F; box-shadow: 0 24px 60px rgba(17, 24, 20, 0.16), 0 2px 6px rgba(17, 24, 20, 0.06);
  font-size: 1.7cqw;
}
.cert-side {
  position: relative; display: flex; flex-direction: column; gap: 1.4em; padding: 2.6em 2.2em;
  border-right: 0.35em solid #9FD3B4; color: #fff;
  background:
    radial-gradient(rgba(255, 255, 255, 0.08) 0.06em, transparent 0.09em) 0 0 / 1.2em 1.2em,
    radial-gradient(circle at 100% 0%, #1F5A43 0 45%, transparent 45.5%),
    #174A36;
}
.cert-logo { width: 100%; max-width: 11em; height: auto; }
.cert-side-meta { margin: 1.6em 0 0; }
.cert-side-meta dt { color: #9FD3B4; font-size: 0.62em; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.cert-side-meta dd { margin: 0.2em 0 1.1em; font-size: 0.95em; font-weight: 800; overflow-wrap: anywhere; }
.cert-qr { margin-top: auto; width: 7.6em; padding: 0.6em; border-radius: 0.6em; background: #fff; }
.cert-qr img { display: block; width: 100%; height: auto; }
.cert-scan { margin: 0; font-size: 0.7em; line-height: 1.4; }
.cert-scan strong { display: block; font-size: 1.1em; }
.cert-scan span { color: #C5D6CC; }
.cert-main { position: relative; display: flex; flex-direction: column; padding: 3.4em 3.8em 2.6em; overflow: hidden; }
.cert-watermark {
  position: absolute; right: -0.4em; bottom: 0.6em; font-size: 7em; font-weight: 800; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 0.012em rgba(23, 74, 54, 0.1); pointer-events: none; user-select: none;
}
.cert-eyebrow {
  display: flex; align-items: center; gap: 0.8em; margin: 0 0 1em;
  color: #174A36; font-size: 0.62em; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.cert-eyebrow::before { content: ""; width: 2.6em; height: 0.18em; background: currentColor; }
.cert-title { margin: 0 0 1em; color: #12291F; font-size: 2.6em; font-weight: 800; line-height: 1.05; letter-spacing: -0.01em; }
.cert-title span { display: block; color: #174A36; }
.cert-line { margin: 0; color: #5F6D66; font-size: 0.78em; }
.cert-name {
  margin: 0.2em 0 0.7em; padding-bottom: 0.45em; color: #12291F; font-size: 2.2em; font-weight: 800; line-height: 1.1;
  background: linear-gradient(#9FD3B4, #9FD3B4) 0 100% / 2.2em 0.14em no-repeat;
}
.cert-course { margin: 0.3em 0 1em; color: #174A36; font-size: 1.3em; font-weight: 800; line-height: 1.2; }
.cert-tiles { display: grid; grid-template-columns: 1.25fr 1.25fr 0.8fr; gap: 0.6em; }
.cert-tiles div { position: relative; z-index: 1; padding: 0.7em 0.8em; border: 1px solid #DCE3DE; border-radius: 0.5em; background: #fff; }
.cert-tiles span { display: block; color: #174A36; font-size: 0.5em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.cert-tiles strong { display: block; margin-top: 0.25em; overflow: hidden; font-size: 0.7em; text-overflow: ellipsis; white-space: nowrap; }
.cert-foot { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 1.6em; margin-top: auto; }
.cert-sign { min-width: 12em; padding-top: 0.5em; border-top: 1px solid #12291F; }
.cert-sign strong { display: block; font-size: 0.66em; }
.cert-sign span { color: #5F6D66; font-size: 0.6em; }
.cert-barcode { width: 9.5em; height: auto; }
.cert-seal {
  display: grid; place-items: center; align-content: center; gap: 0.15em; width: 5.8em; height: 5.8em; margin-left: auto;
  border-radius: 50%; background: #174A36; box-shadow: inset 0 0 0 0.35em #174A36, inset 0 0 0 0.45em #9FD3B4;
  color: #fff; font-size: 1em; text-align: center;
}
.cert-seal span { font-size: 0.42em; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.cert-seal span:first-child { color: #9FD3B4; }
.cert-seal svg { width: 2.1em; height: auto; }

@container (max-width: 620px) {
  .cert-card { grid-template-columns: minmax(0, 1fr); aspect-ratio: auto; font-size: 3.1cqw; }
  .cert-side { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1em 1.4em; padding: 1.6em; border-right: 0; border-bottom: 0.35em solid #9FD3B4; }
  .cert-logo { flex: 1 0 100%; max-width: 10em; }
  .cert-side-meta { display: block; margin: 0; flex: 1; min-width: 0; }
  .cert-side-meta dd { margin: 0.1em 0 0.6em; font-size: 0.95em; overflow-wrap: normal; white-space: nowrap; }
  .cert-qr { margin: 0; width: 6em; }
  .cert-scan { display: none; }
  .cert-main { padding: 1.8em 1.6em; }
  .cert-tiles { grid-template-columns: minmax(0, 1fr); }
  .cert-tiles strong { white-space: normal; }
  .cert-foot { flex-wrap: wrap; margin-top: 1.4em; }
  .cert-barcode { display: none; }
}

.verify-section { background: var(--grey); }
.verify-section .container { display: grid; gap: 28px; }
.verify-empty, .verify-result-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 18px;
  padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
}
.verify-empty { grid-template-columns: auto minmax(0, 1fr); }
.verify-empty h2, .verify-result-card h2 { margin: 0 0 6px; color: var(--ink-strong); font-size: 22px; font-weight: 800; }
.verify-empty p, .verify-result-copy > p { margin: 0; color: var(--muted); }
.verify-result-copy a { color: var(--green); }
.verify-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--green); color: #9FD3B4; font-size: 22px; font-weight: 800;
}
.verify-result-card--missing .verify-icon { background: #FBE5E3; color: #A23A2F; }
.verify-result-card--ok { border-color: #BFE0CB; }
.verify-kicker { margin: 0 0 2px !important; color: var(--green) !important; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.verify-result-card--missing .verify-kicker { color: #A23A2F !important; }
.verify-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; margin: 16px 0 0; }
.verify-facts dt { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.verify-facts dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.verify-download { align-self: start; }
@media (max-width: 760px) {
  .verify-result-card { grid-template-columns: minmax(0, 1fr); }
  .verify-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cert-company { display: grid; gap: 0.25em; margin: 0; font-size: 0.62em; font-style: normal; line-height: 1.35; color: #E3EEE8; }
.cert-company strong { margin-bottom: 0.2em; color: #9FD3B4; font-size: 0.95em; letter-spacing: 0.16em; text-transform: uppercase; }
.cert-company span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.verify-result-card--sample { border-color: #CFE0EF; background: #F7FAFD; }
.verify-result-card--sample .verify-icon { background: #E3EEF9; color: #1F5C99; font-style: italic; font-family: Georgia, serif; }
.verify-result-card--sample .verify-kicker { color: #1F5C99 !important; }
.verify-empty a { color: var(--green); font-weight: 700; }
@container (max-width: 620px) {
  .cert-company { flex: 1 0 100%; grid-template-columns: minmax(0, 1fr); gap: 0.15em; font-size: 0.72em; }
  .cert-company strong { grid-column: 1 / -1; }
}

/* ===== Gold honeycomb in the lower part of every green hero — 2026-11-24 ===== */
:root {
  --honeycomb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38.11' height='66' viewBox='0 0 38.11 66'%3E%3Cpath d='M19.05 0 L38.11 11 L38.11 33 L19.05 44 L0 33 L0 11Z M0 33 L19.05 44 L19.05 66 L0 77 L-19.05 66 L-19.05 44Z M38.11 33 L57.16 44 L57.16 66 L38.11 77 L19.05 66 L19.05 44Z' fill='none' stroke='%23C8A96A' stroke-width='0.45'/%3E%3C/svg%3E");
}
.hero-split-panel::after,
.course-hero-panel::after,
.green-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--honeycomb) 0 100% / 127px 220px repeat;
  opacity: 0.2;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.6) 35%, transparent 75%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.6) 35%, transparent 75%);
}
.hero-split-inner, .course-hero-inner, .green-band .container { position: relative; z-index: 1; }
.hero-split-watermark, .course-hero-watermark { z-index: 0; }
