/* Training page refreshed to match the lighter ICS homepage / membership styling. */

:root {
  --ics-deep: #093040;
  --ics-navy: #093040;
  --ics-text: #36566b;
  --ics-muted: #536c7d;
  --ics-blue: #78B8BF;
  --ics-green: #0FA644;
  --ics-green-soft: #e6f6ea;
  --ics-blue-soft: #eef8f9;
  --ics-gold: #BFBC7A;
  --ics-line: rgba(9, 48, 64, .08);
  --ics-card: #ffffff;
  --ics-page: #f6fbfb;
  --ics-shadow-soft: 0 18px 42px rgba(9, 48, 64, .06);
  --ics-shadow-card: 0 18px 38px rgba(9, 48, 64, .075);
  --ics-radius-lg: 36px;
  --ics-radius-md: 26px;
  --ics-radius-sm: 18px;
  --ics-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ics-serif: "Libre Baskerville", Georgia, serif;
}

html {
  scroll-padding-top: 96px;
  scroll-behavior: smooth;
}

body.training-page {
  margin: 0;
  color: var(--ics-text);
  background: #ffffff;
  font-family: var(--ics-sans);
  font-size: 1rem;
  line-height: 1.65;
}

body.training-page h1,
body.training-page h2,
body.training-page h3,
body.training-page h4 {
  color: var(--ics-deep);
  font-weight: 850;
  letter-spacing: -.035em;
}

body.training-page h1 {
  font-family: var(--ics-serif);
  font-weight: 700;
}

/* Keep the same light navigation used on homepage / membership. */
body.training-page .site-header {
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 2px 18px rgba(9, 48, 64, .11) !important;
  border-bottom: 1px solid rgba(9, 48, 64, .06);
}

body.training-page .nav-wrap {
  min-height: 92px !important;
  padding: .75rem clamp(1rem, 3vw, 2.5rem) !important;
}

body.training-page .brand-lockup,
body.training-page .brand-lockup:hover,
body.training-page .brand-lockup:focus {
  color: var(--ics-deep) !important;
  text-decoration: none;
}

body.training-page .brand-logo {
  width: 60px !important;
  height: 60px !important;
}

body.training-page .brand-name {
  color: var(--ics-deep);
  font-weight: 850;
  font-size: 1.08rem;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .01em;
}

body.training-page .brand-name span { display: block; }

body.training-page .navbar .nav-link {
  color: var(--ics-deep) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  padding: .7rem .75rem !important;
}

body.training-page .navbar .nav-link:hover,
body.training-page .navbar .nav-link:focus,
body.training-page .navbar .nav-link.active {
  color: var(--ics-green) !important;
}

body.training-page .navbar .nav-link.active {
  position: relative;
}

body.training-page .navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: .42rem;
  height: 2px;
  border-radius: 999px;
  background: var(--ics-green);
}

body.training-page .nav-cta {
  background: var(--ics-green) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: .9rem 1.25rem !important;
  font-weight: 600 !important;
  box-shadow: 0 12px 24px rgba(15, 166, 68, .18);
}

body.training-page .nav-cta:hover,
body.training-page .nav-cta:focus {
  background: #0c933d !important;
  color: #ffffff !important;
}

body.training-page .navbar-toggler,
body.training-page .navbar-toggler.bg-light {
  background: #ffffff !important;
  border: 1px solid rgba(9, 48, 64, .12) !important;
  border-radius: 16px !important;
  padding: .75rem .9rem !important;
  box-shadow: 0 8px 18px rgba(9, 48, 64, .08) !important;
}

body.training-page .navbar-toggler-icon {
  width: 1.7rem !important;
  height: 1.7rem !important;
}

/* Buttons */
body.training-page .btn-ics-primary,
body.training-page .btn-ics-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 16px;
  padding: .95rem 1.45rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.training-page .btn-ics-primary {
  color: #ffffff;
  background: var(--ics-green);
  border: 1px solid var(--ics-green);
  box-shadow: 0 14px 26px rgba(15, 166, 68, .22);
}

body.training-page .btn-ics-primary:hover,
body.training-page .btn-ics-primary:focus {
  color: #ffffff;
  background: #0c933d;
  border-color: #0c933d;
  transform: translateY(-1px);
}

body.training-page .btn-ics-secondary {
  color: #26733b;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(15, 166, 68, .22);
}

body.training-page .btn-ics-secondary:hover,
body.training-page .btn-ics-secondary:focus {
  color: var(--ics-deep);
  border-color: rgba(120, 184, 191, .55);
  box-shadow: 0 12px 22px rgba(9, 48, 64, .07);
  transform: translateY(-1px);
}

/* Hero */
.training-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 0;
  background: linear-gradient(180deg, #f8fcfc 0%, #eef7f6 100%);
}

.training-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .58;
  background-image:
    linear-gradient(90deg,
      rgba(247, 251, 252, .98) 0%,
      rgba(247, 251, 252, .92) 19%,
      rgba(247, 251, 252, .78) 38%,
      rgba(247, 251, 252, .50) 58%,
      rgba(247, 251, 252, .20) 78%,
      rgba(247, 251, 252, .06) 100%),
    url('../images/membership-hero-hills-fade.png');
  background-repeat: no-repeat, no-repeat;
  background-position: left top, center center;
  background-size: 100% 100%, cover;
  pointer-events: none;
  z-index: -2;
}

.training-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: rgba(120, 184, 191, .12);
  z-index: -1;
}

.training-hero-inner {
  padding: clamp(5rem, 8vw, 7rem) 0 clamp(3.8rem, 6vw, 5.5rem);
}

.training-kicker,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .82rem 1.45rem;
  color: #ffffff;
  background: var(--ics-blue);
  border: 1px solid var(--ics-blue);
  box-shadow: 0 10px 22px rgba(120, 184, 191, .22);
  font-size: .98rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 1.2rem;
}

.training-hero h1 {
  max-width: 780px;
  margin: 0 0 1.2rem;
  color: var(--ics-deep);
  font-size: clamp(3rem, 5.7vw, 5.45rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  text-shadow: none;
}

.training-hero-copy {
  max-width: 700px;
  margin: 0 0 1.75rem;
  color: #36566b;
  font-size: clamp(1.12rem, 1.45vw, 1.34rem);
  line-height: 1.58;
  text-shadow: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .95rem;
  margin-bottom: 1.6rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  max-width: 860px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 60px;
  color: var(--ics-deep);
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(9, 48, 64, .07);
  border-radius: 18px;
  padding: .85rem 1rem;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(9, 48, 64, .05);
}

.hero-meta li::before {
  content: "";
  width: .68rem;
  height: .68rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--ics-green);
}

.price-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .96);
  color: var(--ics-text);
  border-radius: var(--ics-radius-lg);
  padding: clamp(1.6rem, 3vw, 2.35rem);
  box-shadow: 0 22px 56px rgba(9, 48, 64, .10);
  border: 1px solid rgba(9, 48, 64, .08);
  backdrop-filter: blur(2px);
}

.price-card::before {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(120, 184, 191, .13);
}

.price-card span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .52rem .9rem;
  background: var(--ics-green-soft);
  color: #24823a;
  font-weight: 850;
  font-size: .92rem;
  margin-bottom: .9rem;
}

.price-card strong {
  display: block;
  color: var(--ics-deep);
  font-size: clamp(2.7rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: .8rem;
}

.price-card p {
  margin: 0 0 1.2rem;
  color: var(--ics-text);
}

.quick-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .72rem;
}

.quick-points li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-weight: 750;
  color: var(--ics-deep);
}

.quick-points li::before {
  content: "";
  flex: 0 0 auto;
  width: .72rem;
  height: .72rem;
  margin-top: .48rem;
  border-radius: 999px;
  background: var(--ics-green);
}

/* Section framing */
.section-pad {
  padding: clamp(4.2rem, 7vw, 6.2rem) 0;
}

.section-white {
  background: #ffffff;
}

.section-soft {
  background: linear-gradient(180deg, #f2f8f9 0%, #eef5f6 100%);
}

.section-header {
  max-width: 860px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.section-header h2 {
  margin: 0 0 .9rem;
  color: var(--ics-deep);
  font-family: var(--ics-sans);
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}

.section-header p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ics-text);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.62;
}

/* Card sections */
.training-card,
.format-card,
.why-card,
.contact-card,
.training-accordion-item {
  background: #ffffff;
  border: 1px solid rgba(9, 48, 64, .07);
  box-shadow: var(--ics-shadow-card);
}

.training-card {
  height: 100%;
  border-radius: 28px;
  padding: clamp(1.45rem, 2.4vw, 2rem);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.training-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(9, 48, 64, .09);
  border-color: rgba(120, 184, 191, .28);
}

.card-icon {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--ics-blue);
  border-radius: 999px;
  font-size: 1.55rem;
  font-weight: 850;
  margin-bottom: 1.35rem;
  box-shadow: 0 12px 24px rgba(120, 184, 191, .18);
}

.row .col-md-4:nth-child(2) .card-icon { background: #4EA654; }
.row .col-md-4:nth-child(3) .card-icon { background: var(--ics-gold); }

.training-card h3,
.why-card h3,
.contact-card h3 {
  font-family: var(--ics-serif);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.7vw, 1.75rem);
  line-height: 1.15;
  margin: 0 0 .85rem;
}

.training-card p,
.why-card p,
.contact-card p {
  color: var(--ics-text);
  font-size: 1.05rem;
  margin: 0;
}

/* Course format */
.course-format {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f2f8f9 0%, #eef5f6 100%);
  border-radius: var(--ics-radius-lg);
  border: 1px solid rgba(9, 48, 64, .06);
  box-shadow: var(--ics-shadow-soft);
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.course-format::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 26%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(120, 184, 191, .08), rgba(120, 184, 191, 0));
}

.course-format > * {
  position: relative;
  z-index: 1;
}

.format-card {
  height: 100%;
  border-radius: 28px;
  padding: clamp(1.6rem, 2.7vw, 2.2rem);
}

.day-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--ics-blue);
  border-radius: 999px;
  padding: .62rem 1rem;
  font-weight: 850;
  font-size: .95rem;
  margin-bottom: 1.1rem;
}

.format-card:nth-child(2) .day-label,
.col-lg-6:nth-child(2) .day-label {
  background: var(--ics-green);
}

.format-card h3 {
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  line-height: 1.1;
  margin: 0 0 .75rem;
}

.format-card p {
  color: var(--ics-text);
  font-size: 1.06rem;
  margin-bottom: 1.2rem;
}

.training-visual-panel {
  position: relative;
  overflow: hidden;
  margin-top: 1.4rem;
  background: #ffffff;
  border: 1px solid rgba(9, 48, 64, .07);
  border-radius: 28px;
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
  box-shadow: 0 16px 34px rgba(9, 48, 64, .055);
}

.training-visual-panel::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(120, 184, 191, .10);
}

.training-visual-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}

.visual-note {
  background: rgba(246, 251, 251, .9);
  border: 1px solid rgba(9, 48, 64, .06);
  border-radius: 22px;
  padding: 1.15rem;
}

.visual-note span {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  background: var(--ics-blue);
  border-radius: 999px;
  padding: .42rem .78rem;
  font-weight: 850;
  font-size: .82rem;
  margin-bottom: .65rem;
}

.visual-note:nth-child(2) span { background: var(--ics-green); }
.visual-note:nth-child(3) span { background: var(--ics-gold); }

.visual-note strong {
  display: block;
  color: var(--ics-deep);
  font-size: 1.08rem;
  line-height: 1.32;
}

/* Accordion */
.accordion-shell {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: .95rem;
}

.training-accordion-item {
  overflow: hidden;
  border-radius: 22px;
}

.training-accordion-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border: 0;
  background: #ffffff;
  color: var(--ics-deep);
  text-align: left;
  font-weight: 850;
  font-size: 1.08rem;
}

.training-accordion-button span:last-child {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(120, 184, 191, .14);
  color: var(--ics-deep);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.training-accordion-button[aria-expanded="true"] span:last-child {
  transform: rotate(45deg);
  background: var(--ics-green);
  color: #ffffff;
}

.training-accordion-panel {
  display: none;
  padding: 0 1.35rem 1.35rem;
  color: var(--ics-text);
}

.training-accordion-panel.open { display: block; }
.training-accordion-panel p { margin: 0; }

/* Why train section: light like membership panels */
.why-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f6fbfb 0%, #eef7f6 100%);
  color: var(--ics-text);
}

.why-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image:
    linear-gradient(90deg, rgba(246, 251, 252, .95), rgba(246, 251, 252, .5), rgba(246, 251, 252, .15)),
    url('../images/membership-hero-hills-fade.png');
  background-position: center, center;
  background-size: cover, cover;
  pointer-events: none;
}

.why-section .container {
  position: relative;
  z-index: 1;
}

.why-section h2,
.why-section h3 { color: var(--ics-deep); }
.why-section .section-header p { color: var(--ics-text); }

.why-card {
  height: 100%;
  border-radius: 28px;
  padding: clamp(1.45rem, 2.5vw, 2rem);
}

.why-card::before {
  content: "";
  display: block;
  width: 64px;
  height: 64px;
  margin-bottom: 1.2rem;
  border-radius: 999px;
  background: var(--ics-blue);
}

.col-md-4:nth-child(2) .why-card::before { background: var(--ics-green); }
.col-md-4:nth-child(3) .why-card::before { background: var(--ics-gold); }

/* Booking CTA */
.booking-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eff8f6 0%, #eaf5f3 100%);
  border-radius: var(--ics-radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(9, 48, 64, .07);
  box-shadow: var(--ics-shadow-soft);
}

.booking-cta::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: rgba(120, 184, 191, .12);
}

.booking-cta > .row {
  position: relative;
  z-index: 1;
}

.booking-cta h2 {
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 1.05;
  margin: 0 0 .9rem;
}

.booking-cta p {
  color: var(--ics-text);
  font-size: 1.15rem;
  margin-bottom: 0;
}

.contact-card {
  border-radius: 24px;
  padding: 1.55rem;
  height: 100%;
}

.contact-card a {
  color: var(--ics-green);
  font-weight: 600;
  text-decoration: none;
}

.contact-card a:hover,
.contact-card a:focus {
  color: var(--ics-deep);
  text-decoration: underline;
  text-underline-offset: .18em;
}

/* Footer matches site styling */
.site-footer {
  background: #3f4b58;
  color: #ffffff;
  padding: 2.75rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 1.15;
}

.footer-brand:hover,
.footer-brand:focus { color: #ffffff; }
.footer-logo { width: 56px; height: 56px; flex: 0 0 auto; }

.footer-summary {
  color: rgba(255, 255, 255, .78);
  margin: 1rem 0 0;
  max-width: 340px;
  line-height: 1.6;
}

.footer-column h2 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 .9rem;
  padding-bottom: .55rem;
  border-bottom: 2px solid rgba(78, 171, 86, .65);
}

.footer-column a,
.footer-column span {
  display: block;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  margin-bottom: .55rem;
  line-height: 1.45;
}

.footer-column a:hover,
.footer-column a:focus {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  margin-top: 2.25rem;
  padding-top: 1rem;
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
}

.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 991.98px) {
  body.training-page .nav-wrap {
    min-height: 82px !important;
    padding: .7rem 1rem !important;
  }

  body.training-page .brand-logo {
    width: 52px !important;
    height: 52px !important;
  }

  body.training-page .navbar-collapse {
    padding: .8rem 0 1rem;
  }

  body.training-page .navbar .nav-link.active::after {
    display: none;
  }

  .training-hero::before {
    opacity: .42;
    background-position: left top, 58% center;
  }

  .training-hero::after { display: none; }

  .training-hero-inner {
    padding: 3.6rem 0 3.8rem;
  }

  .training-hero h1 {
    font-size: clamp(2.75rem, 8vw, 4.3rem);
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .price-card {
    margin-top: .5rem;
  }

  .training-visual-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-block { grid-column: 1 / -1; }
}

@media (max-width: 575.98px) {
  body.training-page .brand-name {
    font-size: .92rem;
  }

  .training-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.3rem);
  }

  .training-hero-copy {
    font-size: 1.05rem;
  }

  .hero-actions .btn-ics-primary,
  .hero-actions .btn-ics-secondary {
    width: 100%;
  }

  .section-pad {
    padding: 3.3rem 0;
  }

  .section-header h2,
  .booking-cta h2 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .price-card,
  .booking-cta,
  .course-format {
    border-radius: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p + p {
    margin-top: .45rem;
  }
}


/* =========================================================
   TRAINING HERO VARIANT
   - New similar-but-different illustrated background
   - Smaller hero heading
   - Navy highlight boxes with white text
   ========================================================= */

body.training-page .training-hero {
  background:
    linear-gradient(
      90deg,
      rgba(246, 251, 252, .98) 0%,
      rgba(246, 251, 252, .94) 30%,
      rgba(246, 251, 252, .74) 48%,
      rgba(246, 251, 252, .38) 66%,
      rgba(246, 251, 252, .08) 86%
    ),
    url('../images/membership-hero-hills-fade.png') center center / cover no-repeat !important;
}

body.training-page .training-hero h1 {
  font-size: clamp(3rem, 5.4vw, 5.3rem) !important;
  line-height: 1.03 !important;
  max-width: 11.5ch !important;
}

body.training-page .training-hero-copy {
  max-width: 720px !important;
  font-size: clamp(1.12rem, 1.35vw, 1.28rem) !important;
}

body.training-page .hero-meta {
  gap: .9rem !important;
}

body.training-page .hero-meta li {
  background: #093040 !important;
  color: #ffffff !important;
  border: 1px solid rgba(9, 48, 64, .1) !important;
  box-shadow: 0 14px 26px rgba(9, 48, 64, .13) !important;
}

body.training-page .hero-meta li::before {
  background: #0FA644 !important;
  box-shadow: 0 0 0 4px rgba(15, 166, 68, .12);
}

/* Keep hero card readable over the stronger custom background */
body.training-page .price-card {
  background: rgba(255, 255, 255, .965) !important;
  box-shadow: 0 24px 58px rgba(9, 48, 64, .12) !important;
  backdrop-filter: blur(2px);
}

@media (max-width: 991.98px) {
  body.training-page .training-hero h1 {
    max-width: 12ch !important;
    font-size: clamp(2.7rem, 8vw, 4.2rem) !important;
  }

  body.training-page .training-hero {
    background:
      linear-gradient(
        180deg,
        rgba(246, 251, 252, .98) 0%,
        rgba(246, 251, 252, .9) 55%,
        rgba(246, 251, 252, .64) 100%
      ),
      url('../images/training-hero-hills-variant.svg') 65% bottom / cover no-repeat !important;
  }
}

@media (max-width: 575.98px) {
  body.training-page .training-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.4rem) !important;
  }

  body.training-page .hero-meta li {
    width: 100%;
  }
}

/* =========================================================
   TRAINING PAGE CTA + CONTACT CARD TWEAKS
   - Removes any green dots/bullets in the booking CTA area
   - Makes the booking buttons less wide
   - Changes the white box link text from bold green to navy
   Add this at the bottom of training.css.
   ========================================================= */

/* Remove any green dots/bullets from the training highlight boxes and CTA areas */
body.training-page .hero-meta li::before,
body.training-page .booking-cta li::before,
body.training-page .contact-card li::before {
  content: none !important;
  display: none !important;
}

/* Also remove default list markers, just in case */
body.training-page .hero-meta,
body.training-page .booking-cta ul,
body.training-page .contact-card ul {
  list-style: none !important;
}

/* Keep the navy hero boxes tidy if the dot has been removed */
body.training-page .hero-meta li {
  gap: 0 !important;
  padding-left: 1.25rem !important;
}

/* Make the green buttons in the booking CTA less long */
body.training-page .booking-cta .btn-ics-primary {
  width: auto !important;
  min-width: 230px !important;
  max-width: 320px !important;
  align-self: flex-start !important;
  padding-left: 1.45rem !important;
  padding-right: 1.45rem !important;
}

/* Override Bootstrap flex-column stretching on the booking buttons */
body.training-page .booking-cta .d-flex {
  align-items: flex-start !important;
}

/* On wider screens, keep the buttons grouped neatly on the right */
@media (min-width: 992px) {
  body.training-page .booking-cta .col-lg-5 .d-flex {
    align-items: flex-start !important;
    max-width: 340px;
    margin-left: auto;
  }

  body.training-page .booking-cta .btn-ics-primary {
    width: 100% !important;
  }
}

/* On smaller screens, buttons can be full width for easier tapping */
@media (max-width: 575.98px) {
  body.training-page .booking-cta .btn-ics-primary {
    width: 100% !important;
    max-width: none !important;
  }
}

/* Make the text in the white contact boxes navy, not green */
body.training-page .contact-card a,
body.training-page .contact-card p,
body.training-page .contact-card .mb-0,
body.training-page .contact-card strong {
  color: #093040 !important;
font-weight: 600 !important;
}

/* Keep contact card headings navy too */
body.training-page .contact-card h3 {
  color: #093040 !important;
}

/* Keep hover state subtle rather than bright green */
body.training-page .contact-card a:hover,
body.training-page .contact-card a:focus {
  color: #093040 !important;
  text-decoration: underline;
  text-underline-offset: .18em;
}

/* Optional: make the white boxes feel a little more consistent with the site cards */
body.training-page .contact-card {
  background: #ffffff !important;
  border: 1px solid rgba(9, 48, 64, .08) !important;
  box-shadow: 0 14px 34px rgba(9, 48, 64, .06) !important;
}

/* =========================================================
   TRAINING VISUAL NOTES: NAVY CARDS WITH CLEAR LABELS
   Fixes the Theory / Practice / Standards boxes.
   Add this at the bottom of training.css.
   ========================================================= */

body.training-page .training-visual-panel {
  background: #ffffff !important;
}

/* Make the three small note boxes dark navy */
body.training-page .visual-note {
  background: #093040 !important;
  border: 1px solid rgba(9, 48, 64, .16) !important;
  border-radius: 24px !important;
  box-shadow: 0 14px 28px rgba(9, 48, 64, .12) !important;
  padding: 1.35rem 1.45rem !important;
}

/* Remove pill styling, keep clear coloured labels */
body.training-page .visual-note span,
body.training-page .visual-note:nth-child(2) span,
body.training-page .visual-note:nth-child(3) span {
  display: block !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 0 .6rem !important;
  font-size: 1.05rem !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

/* Label colours */
body.training-page .visual-note span {
  color: #78B8BF !important;
}

body.training-page .visual-note:nth-child(2) span {
  color: #7ED18A !important;
}

body.training-page .visual-note:nth-child(3) span {
  color: #BFBC7A !important;
}

/* White body copy inside navy boxes */
body.training-page .visual-note strong {
  display: block !important;
  color: #ffffff !important;
  font-size: 1.15rem !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
}

/* Mobile spacing */
@media (max-width: 575.98px) {
  body.training-page .visual-note {
    padding: 1.2rem !important;
  }

  body.training-page .visual-note strong {
    font-size: 1.08rem !important;
  }
}

/* =========================================================
   TRAINING HERO TITLE ALIGNMENT
   Brings the training hero heading closer to the homepage scale
   so it feels balanced with the rest of the site.
   ========================================================= */

body.training-page .training-hero-inner {
  padding-top: clamp(4.1rem, 6vw, 5.4rem) !important;
  padding-bottom: clamp(3.6rem, 5vw, 4.9rem) !important;
}

body.training-page .training-hero h1 {
  max-width: 12.5ch !important;
  font-size: clamp(2.55rem, 4.45vw, 4.45rem) !important;
  line-height: 1.03 !important;
  letter-spacing: -0.052em !important;
  margin-bottom: 1.15rem !important;
}

body.training-page .training-hero-copy {
  max-width: 690px !important;
  font-size: clamp(1.06rem, 1.25vw, 1.2rem) !important;
  line-height: 1.55 !important;
}

body.training-page .training-kicker {
  min-height: 50px !important;
  padding: 0.72rem 1.65rem !important;
  font-size: 1rem !important;
  margin-bottom: 1.15rem !important;
}

/* Keep the price card in balance with the smaller title */
body.training-page .price-card {
  max-width: 420px !important;
  margin-left: auto !important;
}

body.training-page .price-card strong {
  font-size: clamp(2.55rem, 3.5vw, 3.65rem) !important;
}

/* Make the navy meta boxes feel closer to the homepage trust/search scale */
body.training-page .hero-meta {
  max-width: 820px !important;
}

body.training-page .hero-meta li {
  min-height: 58px !important;
  padding: 0.82rem 1.1rem !important;
  font-size: 0.98rem !important;
}

/* Tablet */
@media (max-width: 991.98px) {
  body.training-page .training-hero-inner {
    padding-top: 3.2rem !important;
    padding-bottom: 3.4rem !important;
  }

  body.training-page .training-hero h1 {
    max-width: 12.5ch !important;
    font-size: clamp(2.35rem, 7.2vw, 3.75rem) !important;
  }

  body.training-page .price-card {
    max-width: none !important;
    margin-left: 0 !important;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  body.training-page .training-hero h1 {
    max-width: 11.5ch !important;
    font-size: clamp(2.05rem, 9.6vw, 2.85rem) !important;
    line-height: 1.04 !important;
  }

  body.training-page .training-hero-copy {
    font-size: 1.03rem !important;
  }

  body.training-page .training-kicker {
    min-height: 46px !important;
    padding: 0.65rem 1.25rem !important;
    font-size: 0.95rem !important;
  }
}

/* Training page CSS cleaned: global header/nav/typography overrides have been moved out of this page file. */

/* =========================================================
   Membership + Training nav/footer stability fix
   Use at the bottom of membership.css and training.css, or keep
   as a small override loaded after both page stylesheets.
   ========================================================= */

/* Keep header layout consistent on Membership and Training */
body.membership-page .site-header,
body.training-page .site-header {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(9, 48, 64, .08) !important;
  box-shadow: 0 2px 18px rgba(9, 48, 64, .10) !important;
  opacity: 1 !important;
  z-index: 1040 !important;
}

body.membership-page .site-header .navbar,
body.training-page .site-header .navbar,
body.membership-page .site-header .nav-wrap,
body.training-page .site-header .nav-wrap {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

/* Desktop: one shared header rhythm */
@media (min-width: 992px) {
  body.membership-page .site-header .nav-wrap,
  body.training-page .site-header .nav-wrap {
    width: 100% !important;
    max-width: none !important;
    min-height: 108px !important;
    padding: .85rem clamp(8.75rem, 12vw, 14.25rem) .85rem clamp(8.75rem, 12vw, 14.25rem) !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 2.35rem !important;
  }

  body.membership-page .site-header .brand-lockup,
  body.training-page .site-header .brand-lockup,
  body.membership-page .site-header .navbar-brand,
  body.training-page .site-header .navbar-brand {
    grid-column: 1 !important;
    justify-self: start !important;
    margin: 0 !important;
    gap: 0 !important;
  }

  body.membership-page .site-header .navbar-collapse,
  body.training-page .site-header .navbar-collapse {
    grid-column: 2 !important;
    justify-self: end !important;
    width: auto !important;
    display: flex !important;
    justify-content: flex-end !important;
  }

  body.membership-page .site-header .navbar-nav,
  body.training-page .site-header .navbar-nav,
  body.membership-page .site-header .main-nav-list,
  body.training-page .site-header .main-nav-list {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(1.15rem, 1.45vw, 1.65rem) !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Logo-only header, matching the rest of the cleaned site */
body.membership-page .site-header .brand-name,
body.training-page .site-header .brand-name {
  display: none !important;
}

body.membership-page .site-header img.brand-logo,
body.training-page .site-header img.brand-logo,
body.membership-page .site-header .brand-logo,
body.training-page .site-header .brand-logo {
  width: 96px !important;
  height: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
  flex: 0 0 96px !important;
  display: block !important;
  transform: scale(1.08) !important;
  transform-origin: center center !important;
}

/* Nav text and active green underline */
body.membership-page .site-header .navbar .nav-link,
body.training-page .site-header .navbar .nav-link {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  color: #093040 !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  padding: .7rem 0 !important;
  margin: 0 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

body.membership-page .site-header .navbar .nav-link:hover,
body.membership-page .site-header .navbar .nav-link:focus,
body.membership-page .site-header .navbar .nav-link.active,
body.membership-page .site-header .navbar .nav-link.is-current,
body.training-page .site-header .navbar .nav-link:hover,
body.training-page .site-header .navbar .nav-link:focus,
body.training-page .site-header .navbar .nav-link.active,
body.training-page .site-header .navbar .nav-link.is-current {
  color: #0FA644 !important;
}

body.membership-page .site-header .navbar .nav-link::after,
body.training-page .site-header .navbar .nav-link::after {
  content: none !important;
  display: none !important;
}

body.membership-page .site-header .navbar .nav-link.active::after,
body.membership-page .site-header .navbar .nav-link.is-current::after,
body.training-page .site-header .navbar .nav-link.active::after,
body.training-page .site-header .navbar .nav-link.is-current::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: .25rem !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: #0FA644 !important;
}

/* Header CTA */
body.membership-page .site-header .nav-cta,
body.training-page .site-header .nav-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 58px !important;
  padding: 1rem 1.45rem !important;
  border-radius: 12px !important;
  background: #0FA644 !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: 0 12px 24px rgba(15, 166, 68, .18) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body.membership-page .site-header .nav-cta:hover,
body.training-page .site-header .nav-cta:hover,
body.membership-page .site-header .nav-cta:focus,
body.training-page .site-header .nav-cta:focus {
  background: #0c933d !important;
  color: #ffffff !important;
}

/* Training footer visibility fix */
body.training-page .site-footer,
body.membership-page .site-footer {
  background: #3f4b58 !important;
  color: rgba(255, 255, 255, .82) !important;
}

body.training-page .site-footer .footer-column h2,
body.membership-page .site-footer .footer-column h2,
body.training-page .site-footer .footer-brand,
body.membership-page .site-footer .footer-brand,
body.training-page .site-footer .footer-brand strong,
body.membership-page .site-footer .footer-brand strong {
  color: #ffffff !important;
}

body.training-page .site-footer .footer-column a,
body.membership-page .site-footer .footer-column a,
body.training-page .site-footer .footer-column span,
body.membership-page .site-footer .footer-column span,
body.training-page .site-footer .footer-summary,
body.membership-page .site-footer .footer-summary {
  color: rgba(255, 255, 255, .82) !important;
}

body.training-page .site-footer .footer-column h2,
body.membership-page .site-footer .footer-column h2 {
  border-bottom-color: rgba(78, 166, 84, .72) !important;
  font-weight: 600 !important;
}

/* Tablet / mobile */
@media (max-width: 991.98px) {
  body.membership-page .site-header .nav-wrap,
  body.training-page .site-header .nav-wrap {
    min-height: 90px !important;
    padding: .7rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
  }

  body.membership-page .site-header img.brand-logo,
  body.training-page .site-header img.brand-logo,
  body.membership-page .site-header .brand-logo,
  body.training-page .site-header .brand-logo {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    flex-basis: 72px !important;
    transform: scale(1.04) !important;
  }

  body.membership-page .site-header .navbar-collapse,
  body.training-page .site-header .navbar-collapse {
    flex-basis: 100% !important;
    width: 100% !important;
    background: #ffffff !important;
  }

  body.membership-page .site-header .navbar-nav,
  body.training-page .site-header .navbar-nav,
  body.membership-page .site-header .main-nav-list,
  body.training-page .site-header .main-nav-list {
    width: 100% !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding-top: .8rem !important;
  }

  body.membership-page .site-header .navbar .nav-link,
  body.training-page .site-header .navbar .nav-link {
    padding: .75rem 0 !important;
  }

  body.membership-page .site-header .navbar .nav-link.active::after,
  body.membership-page .site-header .navbar .nav-link.is-current::after,
  body.training-page .site-header .navbar .nav-link.active::after,
  body.training-page .site-header .navbar .nav-link.is-current::after {
    display: none !important;
  }

  body.membership-page .site-header .nav-cta,
  body.training-page .site-header .nav-cta {
    width: 100% !important;
    margin-top: .5rem !important;
  }
}

@media (max-width: 575.98px) {
  body.membership-page .site-header img.brand-logo,
  body.training-page .site-header img.brand-logo,
  body.membership-page .site-header .brand-logo,
  body.training-page .site-header .brand-logo {
    width: 62px !important;
    height: 62px !important;
    min-width: 62px !important;
    max-width: 62px !important;
    flex-basis: 62px !important;
    transform: scale(1) !important;
  }

  body.membership-page .site-header .nav-wrap,
  body.training-page .site-header .nav-wrap {
    min-height: 82px !important;
  }
}

