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

:root {
  --nh-blue-dark: #2C2A6B;
  --nh-cyan: #1FC0DB;
  --nh-orange: #F46C0F;
  --nh-white: #FFFFFF;
  --nh-bg-light: #F6F8FB;
  --nh-text-dark: #1D2433;

  --ink: var(--nh-text-dark);
  --text: var(--nh-text-dark);
  --muted: rgba(29, 36, 51, 0.72);
  --blue-900: var(--nh-blue-dark);
  --blue-700: var(--nh-blue-dark);
  --blue-500: var(--nh-cyan);
  --cyan: var(--nh-cyan);
  --purple: var(--nh-blue-dark);
  --lime: var(--nh-orange);
  --green: var(--nh-cyan);
  --surface: var(--nh-white);
  --surface-soft: var(--nh-bg-light);
  --surface-blue: var(--nh-bg-light);
  --line: rgba(44, 42, 107, 0.16);
  --line-strong: rgba(44, 42, 107, 0.28);
  --shadow: 0 18px 46px rgba(44, 42, 107, 0.14);
  --soft-shadow: 0 10px 24px rgba(44, 42, 107, 0.09);
  --gradient: linear-gradient(100deg, var(--nh-blue-dark) 0%, var(--nh-blue-dark) 100%);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 99%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

main {
  display: flex;
  flex-direction: column;
}

main > * {
  order: 10;
}

main > .hero {
  order: 0;
}

main > #kurse {
  order: 1;
}

main > .signal-strip {
  order: 2;
}

main > #förderung {
  order: 3;
}

[id] {
  scroll-margin-top: 190px;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 40;
  width: auto;
  height: auto;
  clip: auto;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--blue-700);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  max-width: 100vw;
  padding-top: 5px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(7, 17, 31, 0.04);
}

.utility-bar {
  background: var(--nh-blue-dark);
  color: #ffffff;
}

.utility-inner,
.nav-row,
.training-nav {
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
}

.utility-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.utility-left,
.utility-right {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
}

.utility-inner a {
  text-decoration: none;
}

.contact-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.2rem;
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-pill::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  font-size: 0.82rem;
  line-height: 1;
}

.contact-pill span,
.contact-pill strong {
  display: block;
  line-height: 1.05;
}

.contact-pill span {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.72;
}

.contact-pill strong {
  font-size: 0.94rem;
  font-weight: 700;
}

.contact-pill:hover {
  transform: translateY(-1px);
}

.utility-right a {
  opacity: 0.9;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.16rem;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 1.65rem;
  padding-inline: 0.55rem;
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.9;
}

.language-switch a.active {
  color: var(--blue-900);
  background: #ffffff;
  opacity: 1;
}

.phone-link {
  color: var(--blue-900);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(7, 17, 31, 0.22);
}

.phone-link::before {
  content: "TEL";
  color: #ffffff;
  background: var(--nh-blue-dark);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0;
}

.phone-link:hover {
  box-shadow: 0 14px 30px rgba(7, 17, 31, 0.28);
}

.email-link {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.email-link::before {
  content: "@";
  color: var(--blue-900);
  background: #ffffff;
  font-weight: 700;
}

.email-link:hover {
  background: rgba(255, 255, 255, 0.18);
}

.nav-row {
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(214px, 248px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 2vw, 2rem);
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.82rem;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: min(100%, 232px);
  height: auto;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: var(--nh-blue-dark);
  border-radius: 6px;
  box-shadow: var(--soft-shadow);
  font-weight: 700;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid rgba(255, 255, 255, 0.9);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--blue-900);
  font-size: 1.34rem;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.34rem, 0.62vw, 0.72rem);
  min-width: 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
  white-space: nowrap;
}

.main-nav > a[href$="lernwege.html"] {
  display: none;
}

.mega-menu {
  position: static;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.mega-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: max-content;
  min-width: max-content;
  list-style: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.mega-menu summary::-webkit-details-marker {
  display: none;
}

.mega-menu summary::after {
  content: "\25BE";
  margin-left: 0.35rem;
  color: var(--blue-700);
  font-size: 0.72rem;
}

.mega-panel {
  position: fixed;
  top: 116px;
  left: max(1rem, calc((100vw - var(--content)) / 2));
  right: max(1rem, calc((100vw - var(--content)) / 2));
  z-index: 45;
  box-sizing: border-box;
  display: none;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 1rem;
  width: auto;
  max-height: calc(100vh - 136px);
  overflow: auto;
  padding: 1.2rem;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-top: 5px solid var(--blue-700);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: none;
}

.mega-menu:hover .mega-panel,
.mega-menu:focus-within .mega-panel,
.mega-menu[open] .mega-panel {
  display: grid;
}

.mega-menu.dropdown-dismissed:hover .mega-panel,
.mega-menu.dropdown-dismissed:focus-within .mega-panel {
  display: none;
}

.mega-panel h3 {
  margin-bottom: 0.55rem;
  color: var(--blue-900);
  font-size: 0.98rem;
}

.mega-panel a {
  display: block;
  padding: 0.34rem 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: normal;
}

.mega-panel-rich {
  grid-template-columns: 300px minmax(0, 1fr);
  width: auto;
  max-width: calc(100vw - 2rem);
  gap: 1.4rem;
  padding: 1.35rem;
}

.mega-selector {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-width: 0;
  padding-right: 1.2rem;
  border-right: 1px solid var(--line-strong);
}

.mega-trigger {
  position: relative;
  display: grid !important;
  gap: 0.14rem;
  min-width: 0;
  padding: 0.82rem 2.2rem 0.82rem 0.95rem !important;
  background: var(--surface-blue);
  border-radius: 6px;
  color: var(--blue-900) !important;
  font-weight: 700 !important;
  text-decoration: none;
}

.mega-trigger::after {
  content: "\203A";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  color: var(--blue-700);
  font-size: 1.4rem;
  transform: translateY(-50%);
}

.mega-trigger small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.25;
}

.mega-trigger.accent {
  color: #ffffff !important;
  background: var(--gradient);
}

.mega-trigger.accent small,
.mega-trigger.accent::after {
  color: #ffffff;
}

.mega-results {
  display: grid;
  align-content: start;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  min-width: 0;
}

.mega-results > div {
  min-width: 0;
}

.mega-results a {
  color: var(--blue-900);
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a:hover,
.training-nav a:hover {
  color: var(--blue-700);
}

@media (min-width: 981px) {
  .main-nav > a[href$="kurskatalog.html"],
  .main-nav > a[href$="lernwege.html"],
  .main-nav > a[href$="blog.html"] {
    display: none;
  }
}

.main-nav a:last-child,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.05rem;
  color: #ffffff;
  background: var(--gradient);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(35, 103, 183, 0.24);
  text-decoration: none;
}

.training-nav {
  position: relative;
  min-height: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  max-width: 100%;
  overflow-x: visible;
  overflow-y: visible;
  padding-block: 0.34rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 700;
}

.compact-training-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 190px)) minmax(260px, 390px);
  gap: 0.56rem;
  align-items: center;
  padding-block: 0.52rem;
}

.mobile-intent-nav {
  display: none;
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
}

.mobile-intent-nav a {
  min-width: 0;
  min-height: 42px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.55rem;
  color: var(--blue-900);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(21, 38, 74, 0.06);
}

.mobile-intent-nav strong {
  min-width: 0;
  font-size: 0.82rem;
  line-height: 1.05;
}

.training-nav::-webkit-scrollbar {
  display: none;
}

.training-nav a {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.68rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 999px;
}

.training-nav a[href$="qcg-prozess.html"] {
  color: var(--blue-900);
  background: var(--surface-blue);
  border-color: var(--line);
}

.quick-menu {
  position: relative;
  min-width: 0;
}

.quick-menu summary {
  min-height: 38px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.52rem;
  padding: 0.42rem 0.78rem;
  color: var(--blue-900);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.quick-menu summary::-webkit-details-marker {
  display: none;
}

.quick-menu summary::after {
  content: "";
  margin-left: auto;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.1rem) rotate(45deg);
  transition: transform 160ms ease;
}

.quick-menu[open] summary {
  color: var(--blue-900);
  border-color: rgba(31, 192, 219, 0.45);
  box-shadow: 0 10px 24px rgba(44, 42, 107, 0.12);
}

.quick-menu[open] summary::after {
  transform: translateY(0.1rem) rotate(225deg);
}

.quick-icon {
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--nh-cyan);
  background: #ffffff;
  border: 1px solid rgba(31, 192, 219, 0.35);
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.quick-icon::before {
  content: "";
  width: 0.92rem;
  height: 0.92rem;
  display: block;
  background: currentColor;
  -webkit-mask: var(--quick-icon-mask) center / contain no-repeat;
  mask: var(--quick-icon-mask) center / contain no-repeat;
}

.quick-icon-ai::before {
  content: "AI";
  width: auto;
  height: auto;
  color: var(--blue-900);
  background: transparent;
  -webkit-mask: none;
  mask: none;
  font-size: 0.62rem;
  font-weight: 700;
}

.quick-icon-user { --quick-icon-mask: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.quick-icon-briefcase { --quick-icon-mask: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6V5a2 2 0 0 1 2-2h0a2 2 0 0 1 2 2v1'/%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M3 13h18'/%3E%3C/svg%3E"); }
.quick-icon-building { --quick-icon-mask: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M9 7h1M14 7h1M9 12h1M14 12h1M9 17h6'/%3E%3C/svg%3E"); }
.quick-icon-book { --quick-icon-mask: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M4 4.5A2.5 2.5 0 0 1 6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5z'/%3E%3C/svg%3E"); }
.quick-icon-cloud { --quick-icon-mask: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 19H7a5 5 0 1 1 1.3-9.83A7 7 0 0 1 21 13.5A3.5 3.5 0 0 1 17.5 19z'/%3E%3C/svg%3E"); }
.quick-icon-shield { --quick-icon-mask: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/svg%3E"); }
.quick-icon-chart { --quick-icon-mask: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5'/%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M8 16v-5M12 16V8M16 16v-7'/%3E%3C/svg%3E"); }
.quick-icon-list { --quick-icon-mask: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13'/%3E%3Cpath d='M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E"); }
.quick-icon-grid { --quick-icon-mask: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E"); }
.quick-icon-pin { --quick-icon-mask: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-4.4 7-11a7 7 0 1 0-14 0c0 6.6 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.quick-icon-map { --quick-icon-mask: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 6 6-3 6 3 6-3v15l-6 3-6-3-6 3z'/%3E%3Cpath d='M9 3v15M15 6v15'/%3E%3C/svg%3E"); }
.quick-icon-mail { --quick-icon-mask: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }

.quick-menu-panel {
  position: absolute;
  top: calc(100% + 0.48rem);
  left: 0;
  z-index: 90;
  width: min(380px, calc(100vw - 2rem));
  display: grid;
  gap: 0.45rem;
  padding: 0.6rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--nh-cyan);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(21, 38, 74, 0.18);
}

.dropdown-close {
  width: 1.95rem;
  height: 1.95rem;
  display: inline-grid;
  place-items: center;
  justify-self: end;
  margin: -0.2rem -0.2rem 0.05rem auto;
  color: var(--blue-900);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(21, 38, 74, 0.1);
  cursor: pointer;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.dropdown-close:hover,
.dropdown-close:focus-visible {
  color: #ffffff;
  background: var(--blue-900);
  border-color: var(--blue-900);
  outline: none;
}

.mega-panel .dropdown-close,
.quick-menu-panel .dropdown-close {
  grid-column: 1 / -1;
}

.topic-panel {
  width: min(620px, calc(100vw - 2rem));
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.location-panel {
  width: min(420px, calc(100vw - 2rem));
}

.quick-menu-panel a,
.training-nav .quick-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  min-height: 0;
  padding: 0.58rem;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  white-space: normal;
}

.quick-menu-panel a:hover {
  color: var(--blue-900);
  background: var(--surface-blue);
  border-color: var(--line);
}

.quick-menu-panel strong,
.quick-menu-panel small {
  display: block;
  grid-column: 2;
  min-width: 0;
}

.quick-menu-panel strong {
  grid-row: 1;
  font-size: 0.9rem;
  line-height: 1.15;
}

.quick-menu-panel small {
  grid-row: 2;
  margin-top: 0.14rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.3;
}

.quick-menu-panel .quick-icon {
  grid-row: 1 / span 2;
}

.training-nav .quick-link {
  display: none;
}

.compact-training-nav .search-box {
  flex: 1 1 auto;
  max-width: 390px;
  width: 100%;
}

.search-box {
  flex: 1 1 290px;
  display: flex;
  align-items: stretch;
  width: auto;
  min-width: min(100%, 270px);
  max-width: 420px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  box-sizing: border-box;
  overflow: hidden;
}

.search-box input {
  flex: 1 1 auto;
  min-width: 0;
  width: 0;
  min-height: 38px;
  border: 0;
  background: transparent;
}

.search-box button {
  flex: 0 0 96px;
  min-width: 96px;
  padding-inline: 0.85rem;
  border: 0;
  color: #ffffff;
  background: var(--blue-700);
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.utility-pill {
  padding: 0.45rem 0.85rem;
  color: var(--blue-900);
  background: var(--lime);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.contact-rail {
  position: fixed;
  right: 0;
  top: 42%;
  z-index: 25;
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--soft-shadow);
}

.contact-rail a {
  display: grid;
  place-items: center;
  width: 64px;
  min-height: 50px;
  color: #ffffff;
  background: var(--blue-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-rail a:hover {
  background: var(--blue-700);
}

.hero {
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--nh-bg-light) 0%, #ffffff 74%),
    #ffffff;
}

.hero-inner {
  width: min(100% - 2rem, var(--content));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.78fr);
  gap: clamp(1.5rem, 3vw, 3.4rem);
  align-items: start;
  margin-inline: auto;
  padding-block: clamp(1.7rem, 3.8vw, 3.4rem) clamp(1.6rem, 3.2vw, 2.6rem);
}

.hero-copy {
  max-width: 780px;
  padding-top: clamp(0.4rem, 1vw, 1rem);
}

.eyebrow,
.panel-kicker {
  margin: 0 0 0.78rem;
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--blue-700);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 0.86rem;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.06;
}

h1 span {
  color: var(--blue-900);
}

h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.72rem, 2.9vw, 2.8rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.12rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 760px;
  color: var(--text);
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
}

.hero-actions,
.final-actions {
  display: flex;
  gap: 0.85rem;
  margin: 1.45rem 0;
}

.hero-actions {
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(0.45rem, 0.9vw, 0.72rem);
}

.final-actions {
  flex-wrap: wrap;
}

.hero-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  max-width: 820px;
  margin: 1.25rem 0 1rem;
}

.hero-paths a {
  display: grid;
  gap: 0.18rem;
  min-height: 86px;
  padding: 0.82rem 0.92rem;
  color: var(--blue-900);
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue-700);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  text-decoration: none;
}

.hero-paths a:hover {
  border-left-color: var(--cyan);
  box-shadow: var(--shadow);
}

.hero-paths span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-paths strong {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.24;
}

.route-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 1rem;
}

.hero-route-groups {
  max-width: 900px;
}

.route-panel {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  min-width: 0;
  padding: 1rem;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue-700);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.route-panel.business {
  border-top-color: var(--purple);
}

.route-label {
  width: fit-content;
  padding: 0.22rem 0.55rem;
  color: var(--blue-900);
  background: var(--surface-blue);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.route-panel h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  line-height: 1.16;
}

.route-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.route-links {
  display: grid;
  gap: 0.55rem;
}

.route-links a {
  display: grid;
  gap: 0.12rem;
  min-height: 58px;
  padding: 0.72rem 0.78rem;
  color: var(--blue-900);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.route-links a:hover {
  color: var(--blue-700);
  border-color: var(--line-strong);
  box-shadow: var(--soft-shadow);
}

.route-links strong {
  font-size: 0.96rem;
  line-height: 1.16;
}

.route-links em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
}

.quick-search-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 1.35rem;
}

.quick-search-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.52rem 0.78rem;
  color: var(--blue-900);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.quick-search-links a:hover {
  color: var(--blue-700);
  border-color: var(--line-strong);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.86rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.hero-actions .button {
  flex: 0 1 auto;
  min-height: 46px;
  padding: 0.68rem clamp(0.72rem, 0.95vw, 1rem);
  font-size: clamp(0.84rem, 0.92vw, 0.96rem);
  line-height: 1.08;
  white-space: nowrap;
}

.hero-actions .button.primary {
  padding-inline: clamp(0.86rem, 1.05vw, 1.08rem);
}

.button.primary {
  color: #ffffff;
  background: var(--gradient);
  box-shadow: 0 14px 30px rgba(35, 103, 183, 0.27);
}

.button.secondary,
.button.light {
  color: var(--blue-900);
  border-color: var(--line-strong);
  background: #ffffff;
}

.button.dark {
  color: #ffffff;
  background: var(--blue-900);
  box-shadow: 0 12px 26px rgba(28, 55, 104, 0.2);
}

.button.full {
  width: 100%;
}

@media (max-width: 720px) {
  .hero-actions {
    gap: 0.36rem;
  }

  .hero-actions .button {
    min-height: 42px;
    padding: 0.54rem 0.56rem;
    font-size: 0.76rem;
    line-height: 1.08;
  }
}

.hero-checks,
.feature-list {
  display: grid;
  gap: 0.82rem;
  padding: 0;
  margin: 1.5rem 0;
  list-style: none;
}

.hero-checks li,
.feature-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--ink);
  font-weight: 600;
}

.hero-checks li::before,
.feature-list li::before,
.check-grid span::before {
  content: "";
  position: absolute;
  width: 0.78rem;
  height: 0.42rem;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}

.hero-checks li::before,
.feature-list li::before {
  left: 0.15rem;
  top: 0.36rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 0.8rem;
  max-width: 860px;
  margin: 1.8rem 0 0;
}

.hero-facts div:last-child {
  grid-column: 1 / -1;
}

.hero-facts div {
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--cyan);
  border-radius: 6px;
  box-shadow: var(--soft-shadow);
}

.hero-facts dt {
  color: var(--blue-900);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0.22rem 0 0;
  overflow-wrap: anywhere;
}

.hero-side {
  display: grid;
  gap: 1rem;
}

.hero-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-photo-mobile {
  display: none;
}

.funding-badge {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.1rem 0.85rem;
  align-items: center;
  padding: 1rem 1.15rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--lime);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.funding-badge span {
  display: grid;
  place-items: center;
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  color: var(--blue-900);
  background: var(--surface-blue);
  border-radius: 6px;
  font-weight: 700;
}

.funding-badge strong {
  color: var(--blue-900);
  line-height: 1.1;
}

.funding-badge small {
  color: var(--muted);
  font-weight: 600;
}

.lead-panel {
  color: var(--ink);
  background: #ffffff;
  padding: clamp(1.05rem, 2vw, 1.35rem);
  border: 1px solid var(--line);
  border-top: 6px solid var(--blue-900);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lead-panel h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.36rem, 2vw, 1.82rem);
}

.lead-panel p {
  margin-bottom: 0.78rem;
  color: var(--muted);
}

.lead-panel .panel-kicker {
  margin-bottom: 0.35rem;
}

form {
  display: grid;
  gap: 0.85rem;
}

.lead-panel form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.lead-panel .wide,
.lead-panel .hidden,
.lead-panel .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
}

.lead-panel label {
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.68rem 0.78rem;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(31, 192, 219, 0.18);
  border-color: var(--blue-500);
}

.hidden {
  display: none;
}

.signal-strip {
  width: min(100% - 2rem, var(--content));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -1rem auto 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.signal-strip div {
  padding: 1.15rem clamp(1rem, 2vw, 1.55rem);
  border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  color: var(--blue-900);
  font-size: 1rem;
}

.signal-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
  padding-block: clamp(3rem, 7vw, 6.4rem);
}

.two-column,
.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.84fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
}

.split-band {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 0.96fr);
  padding-inline: max(1rem, calc((100vw - var(--content)) / 2));
  background: linear-gradient(180deg, var(--surface-blue), #ffffff);
}

.section-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.audience-section {
  padding-block: clamp(2.2rem, 5vw, 4rem);
}

.audience-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.audience-tabs a {
  display: grid;
  gap: 0.42rem;
  min-height: 126px;
  padding: 1rem;
  color: var(--ink);
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--blue-700);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.audience-tabs a:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.audience-tabs a.accent {
  border-left-color: var(--purple);
}

.audience-tabs span {
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.audience-tabs strong {
  font-size: 1.08rem;
  line-height: 1.16;
}

.audience-tabs em {
  color: var(--muted);
  font-size: 0.92rem;
  font-style: normal;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.path-card {
  display: grid;
  gap: 0.65rem;
  min-height: 260px;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue-900);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.path-card span {
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.path-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.16;
}

.path-card p {
  color: var(--muted);
}

.path-card a {
  margin-top: auto;
  color: var(--blue-900);
  font-weight: 700;
  text-decoration: none;
}

.process-steps {
  display: grid;
  gap: 0.75rem;
}

.process-steps article {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.9rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(28, 55, 104, 0.06);
}

.process-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: #ffffff;
  background: var(--blue-900);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.process-steps p {
  margin: 0;
}

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

.check-grid span {
  position: relative;
  padding: 0.85rem 0.9rem 0.85rem 2.55rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--soft-shadow);
  font-weight: 700;
}

.check-grid span::before {
  left: 0.95rem;
  top: 1.08rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.42fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

.course-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.filter {
  min-height: 42px;
  padding: 0.58rem 0.92rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--blue-900);
  background: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.filter.active,
.filter:hover {
  color: #ffffff;
  background: var(--blue-900);
  box-shadow: 0 10px 22px rgba(28, 55, 104, 0.18);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.search-empty {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--blue-900);
  background: var(--nh-bg-light);
  font-weight: 700;
}

.search-empty.visible {
  display: block;
}

.course-picker-section > .course-toolbar,
.course-picker-section > .course-grid {
  display: none;
}

.course-picker-section {
  padding-block: clamp(1.05rem, 2.35vw, 2.1rem);
}

.course-picker-section .section-heading {
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(1rem, 3vw, 2.4rem);
  align-items: center;
  margin-bottom: 1.2rem;
}

.course-picker-section .section-heading .eyebrow {
  margin-bottom: 0;
}

.course-picker-section .section-heading h2 {
  margin-bottom: 0.3rem;
  font-size: clamp(1.48rem, 2.25vw, 2.12rem);
  line-height: 1.06;
}

.course-picker-section .section-heading p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.14vw, 1.05rem);
}

.topic-overview {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  padding-block: clamp(1.3rem, 3vw, 2.6rem);
}

.topic-overview-copy h2 {
  max-width: 560px;
  margin-bottom: 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  line-height: 1.05;
}

.topic-overview-copy p:last-child {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
}

.topic-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.topic-icon-grid a {
  min-height: 86px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  color: var(--blue-900);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(28, 55, 104, 0.07);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.topic-icon-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 192, 219, 0.42);
  box-shadow: 0 16px 32px rgba(28, 55, 104, 0.12);
}

.topic-svg {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-900);
  background: linear-gradient(135deg, rgba(31, 192, 219, 0.13), rgba(44, 42, 107, 0.08));
  border: 1px solid rgba(31, 192, 219, 0.38);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
}

.topic-icon-grid strong,
.topic-icon-grid small {
  display: block;
  grid-column: 2;
  min-width: 0;
}

.topic-icon-grid .topic-svg {
  grid-row: 1 / span 2;
}

.topic-icon-grid strong {
  grid-row: 1;
  font-size: 0.98rem;
  line-height: 1.2;
}

.topic-icon-grid small {
  grid-row: 2;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.home-choice-layout {
  margin-top: 0.3rem;
  padding: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--nh-bg-light) 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.course-card,
.seo-grid article {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 1.05rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(28, 55, 104, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.course-card:hover,
.seo-grid article:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.course-card.highlight {
  border-top: 6px solid var(--blue-900);
}

.course-card span {
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.course-card p,
.section-heading p,
.seo-grid article p {
  color: var(--muted);
}

.course-card strong {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.38rem 0.62rem;
  color: var(--blue-900);
  background: var(--surface-blue);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  line-height: 1;
}

.course-card a {
  margin-top: 0.8rem;
  color: var(--blue-900);
  font-weight: 700;
}

.training-models {
  padding-block: clamp(1.5rem, 3.2vw, 3rem);
}

.training-models .section-heading {
  margin-bottom: 1.15rem;
}

.training-model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.training-model-card {
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(28, 55, 104, 0.1);
}

.training-model-card img {
  width: 100%;
  height: clamp(150px, 15vw, 210px);
  display: block;
  object-fit: cover;
}

.model-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 250px;
  padding: 1rem;
}

.model-icon {
  width: 2.55rem;
  height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--blue-900);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(44, 42, 107, 0.2);
}

.training-model-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.35vw, 1.32rem);
  line-height: 1.18;
}

.training-model-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.training-model-card ul {
  display: grid;
  gap: 0.38rem;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.training-model-card li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--blue-900);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.training-model-card li::before {
  content: "";
  position: absolute;
  top: 0.48rem;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  background: var(--nh-orange);
  border-radius: 50%;
}

.seo-grid {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-inline: max(1rem, calc((100vw - var(--content)) / 2));
  background: var(--surface-soft);
}

.seo-grid .section-heading {
  grid-column: 1 / -1;
}

.seo-grid article {
  min-height: 190px;
}

.seo-grid article a {
  color: inherit;
  text-decoration: none;
}

.regional-home {
  background: #ffffff;
}

.regional-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  align-items: start;
}

.region-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.85rem;
}

.region-link-grid a {
  display: grid;
  gap: 0.35rem;
  min-height: 112px;
  padding: 1rem;
  color: var(--ink);
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.region-link-grid a:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.region-link-grid span {
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.region-link-grid strong {
  line-height: 1.25;
}

.focus-region-grid a {
  min-height: 132px;
}

.district-cloud,
.provider-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.district-cloud span,
.provider-chip-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.42rem 0.72rem;
  color: var(--blue-900);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--nh-bg-light);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.provider-chip-grid a:hover {
  border-color: var(--blue-700);
  background: var(--nh-bg-light);
}

.regional-course-finder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.regional-course-finder article {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.regional-course-finder span,
.subsection-title {
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.regional-course-finder h3 {
  margin: 0;
  font-size: 1.05rem;
}

.regional-course-finder p {
  margin: 0;
  color: var(--muted);
}

.subsection-title {
  margin: 1.1rem 0 0.6rem;
}

.faq {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - var(--content)) / 2));
  background: var(--gradient);
  color: #ffffff;
}

.faq h2,
.faq h3,
.faq summary {
  color: #ffffff;
}

.faq .eyebrow {
  color: var(--lime);
}

.faq details {
  max-width: 980px;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.faq details:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.faq summary {
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 700;
}

.faq details p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(3rem, 7vw, 5.5rem) max(1rem, calc((100vw - var(--content)) / 2));
  color: #ffffff;
  background: var(--gradient);
}

.final-cta h2,
.final-cta p,
.final-cta .eyebrow {
  color: #ffffff;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
  padding: 2rem max(1rem, calc((100vw - var(--content)) / 2)) 5rem;
  background: var(--nh-blue-dark);
  color: rgba(255, 255, 255, 0.84);
}

.site-footer a {
  display: block;
  margin-bottom: 0.35rem;
  color: #ffffff;
  font-weight: 700;
}

.footer-cookie-settings {
  display: block;
  margin: 0.1rem 0 0;
  padding: 0;
  border: 0;
  color: #ffffff;
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-consent {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 95;
  width: min(470px, calc(100vw - 2rem));
  color: var(--ink);
  font-size: 0.94rem;
  pointer-events: none;
}

.cookie-consent.visible,
.cookie-consent.settings-open {
  pointer-events: auto;
}

.cookie-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(28, 79, 158, 0.18);
  border-top: 5px solid var(--blue-700);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(7, 17, 31, 0.2);
}

.cookie-card[hidden],
.cookie-modal[hidden] {
  display: none;
}

.cookie-card strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--blue-900);
  font-size: 1.02rem;
  font-weight: 700;
}

.cookie-card p,
.cookie-option p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.38;
}

.cookie-card a {
  color: var(--blue-900);
  font-weight: 700;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-button {
  min-height: 40px;
  padding: 0.58rem 0.78rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-button.primary {
  color: #ffffff;
  border-color: transparent;
  background: var(--gradient);
}

.cookie-button.secondary {
  color: var(--blue-900);
  background: #ffffff;
}

.cookie-button.ghost {
  color: var(--blue-900);
  background: var(--surface-blue);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 125;
  display: grid;
  place-items: center;
  width: 100vw;
  padding: 1rem;
  background: rgba(7, 17, 31, 0.46);
}

.cookie-modal-card {
  display: grid;
  gap: 0.75rem;
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 2rem));
  overflow: auto;
  padding: 1rem;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(7, 17, 31, 0.28);
}

.cookie-modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.cookie-modal-head h2 {
  margin: 0;
  font-size: 1.35rem;
}

.cookie-modal-close {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-900);
  background: var(--surface-blue);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
}

.cookie-option strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
}

.cookie-option.locked {
  background: var(--surface-blue);
}

.cookie-option.locked span {
  color: var(--blue-900);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.cookie-option input {
  width: 24px;
  min-height: 24px;
  accent-color: var(--blue-700);
}

@media (max-width: 560px) {
  .cookie-consent {
    left: 0.625rem;
    right: 0.625rem;
    bottom: 0.625rem;
    width: auto;
    font-size: 0.88rem;
  }

  .cookie-card {
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-button {
    width: 100%;
    min-height: 38px;
    padding: 0.52rem 0.65rem;
  }

  .cookie-modal {
    padding: 0.625rem;
  }

  .cookie-modal-card {
    max-height: calc(100vh - 1.25rem);
    padding: 0.85rem;
  }

  .cookie-option {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 5px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 8px rgba(10, 30, 70, 0.16);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--nh-cyan), var(--nh-blue-dark));
  box-shadow: 0 0 10px rgba(31, 192, 219, 0.28);
}

.mobile-sticky {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 35;
  display: none;
  gap: 0.5rem;
}

.mobile-sticky a {
  flex: 1;
  padding: 0.75rem 0.9rem;
  color: #ffffff;
  background: var(--blue-900);
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 34px rgba(28, 55, 104, 0.24);
}

.ai-assistant {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 70;
  width: min(390px, calc(100vw - 2rem));
  font-size: 0.95rem;
}

.ai-assistant-toggle {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  padding: 0.45rem 1rem 0.45rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  color: #ffffff;
  background: var(--nh-blue-dark);
  box-shadow: 0 18px 44px rgba(18, 48, 98, 0.28);
  cursor: pointer;
}

.ai-assistant-toggle strong,
.ai-assistant-toggle small {
  display: block;
  text-align: left;
}

.ai-assistant-toggle strong {
  font-size: 0.94rem;
  font-weight: 700;
}

.ai-assistant-toggle small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.74rem;
  font-weight: 700;
}

.ai-assistant-avatar {
  display: block;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 38, 83, 0.22);
}

.ai-assistant-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.ai-assistant-panel {
  margin-bottom: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(28, 79, 158, 0.16);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 26px 70px rgba(21, 48, 95, 0.24);
}

.ai-assistant-panel[hidden] {
  display: none;
}

.ai-assistant-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  color: #ffffff;
  background: var(--blue-900);
}

.ai-assistant-head span,
.ai-assistant-head strong {
  display: block;
}

.ai-assistant-head span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ai-assistant-head strong {
  margin-top: 0.15rem;
  font-size: 1.08rem;
  line-height: 1.12;
}

.ai-assistant-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.ai-assistant-messages {
  display: grid;
  gap: 0.65rem;
  max-height: 280px;
  padding: 1rem;
  overflow-y: auto;
  background: var(--nh-bg-light);
}

.ai-assistant-message {
  width: fit-content;
  max-width: 88%;
  padding: 0.72rem 0.82rem;
  border-radius: 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  line-height: 1.45;
}

.ai-assistant-message.user {
  justify-self: end;
  color: #ffffff;
  background: var(--blue-700);
  border-color: var(--blue-700);
}

.ai-assistant-message a {
  color: var(--blue-900);
  font-weight: 700;
}

.ai-assistant-message.user a {
  color: #ffffff;
}

.ai-assistant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.85rem 1rem 0;
}

.ai-assistant-chips button {
  padding: 0.48rem 0.7rem;
  border: 1px solid rgba(28, 79, 158, 0.16);
  border-radius: 999px;
  color: var(--blue-900);
  background: var(--nh-bg-light);
  font-weight: 700;
  cursor: pointer;
}

.ai-assistant-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  padding: 0.85rem 1rem 1rem;
}

.ai-assistant-form input {
  min-width: 0;
  height: 42px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}

.ai-assistant-form button {
  min-width: 84px;
  border: 0;
  border-radius: 10px;
  color: #ffffff;
  background: var(--blue-700);
  font-weight: 700;
  cursor: pointer;
}

.ai-assistant-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.ai-assistant-contact a {
  display: grid;
  place-items: center;
  min-height: 42px;
  color: var(--blue-900);
  text-decoration: none;
  font-weight: 700;
}

.ai-assistant-contact a + a {
  border-left: 1px solid var(--line);
}

.page-hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) max(1rem, calc((100vw - var(--content)) / 2)) 3rem;
  color: #ffffff;
  background: var(--gradient);
}

.page-hero h1,
.page-hero p,
.page-hero .eyebrow {
  color: #ffffff;
}

.page-hero h1 {
  max-width: 900px;
}

.training-hero {
  padding-top: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(1.55rem, 3.6vw, 2.6rem);
}

.training-hero h1 {
  max-width: 840px;
  margin-bottom: 0.7rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
}

.training-hero .hero-text {
  max-width: 790px;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.55;
}

.training-choice-layout {
  padding-top: clamp(1.35rem, 3vw, 2.4rem);
  padding-bottom: clamp(1.8rem, 4vw, 3.2rem);
}

.training-choice-layout .section-heading.compact {
  margin-bottom: 1.1rem;
}

.training-choice-layout .section-heading.compact h2 {
  max-width: 760px;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.training-choice-layout .choice-card {
  min-height: 132px;
}

.training-links-section {
  padding-top: 0;
  padding-bottom: clamp(2.6rem, 5vw, 4.2rem);
}

.course-detail-hero {
  padding-top: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.35rem);
  background: var(--gradient);
}

.course-detail-hero h1 {
  max-width: 980px;
  margin: 0.15rem 0 0.65rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
}

.course-detail-hero .hero-text {
  max-width: 920px;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.6;
}

.subpage-visual {
  width: min(100% - 2rem, var(--content));
  margin: clamp(1rem, 2.2vw, 1.8rem) auto 0;
}

.subpage-visual-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  align-items: stretch;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.subpage-visual-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 360px;
  object-fit: cover;
}

.subpage-visual-card figcaption {
  display: grid;
  align-content: center;
  gap: 0.45rem;
  padding: clamp(1rem, 2.3vw, 1.55rem);
}

.subpage-visual-card span {
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.subpage-visual-card strong {
  max-width: 680px;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.12;
}

.subpage-visual-card p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.breadcrumb.light,
.breadcrumb.light a {
  color: rgba(255, 255, 255, 0.86);
}

.course-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.course-hero-meta span {
  padding: 0.46rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 700;
}

.content-wrap {
  width: min(100% - 2rem, 1040px);
  max-width: 1040px;
  margin-inline: auto;
  padding: 3rem 0;
}

.blog-list {
  display: grid;
  gap: 1rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.blog-card time {
  color: var(--blue-900);
  font-weight: 700;
}

.blog-card h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.news-box {
  margin-top: 2rem;
  padding: 1.1rem;
  background: var(--surface-blue);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-box ul {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.2rem;
}

.provider-grid,
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.choice-layout {
  display: grid;
  grid-template-columns: minmax(250px, 310px) minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: start;
}

.choice-sidebar {
  position: sticky;
  top: 172px;
  display: grid;
  gap: 0.55rem;
  padding-right: clamp(1rem, 2vw, 2rem);
  border-right: 1px solid var(--line-strong);
}

.choice-sidebar a,
.choice-card {
  text-decoration: none;
}

.choice-sidebar a {
  position: relative;
  display: grid;
  gap: 0.12rem;
  padding: 0.72rem 2.05rem 0.72rem 0.86rem;
  color: var(--blue-900);
  background: var(--surface-blue);
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
}

.choice-sidebar a::after {
  content: "›";
  position: absolute;
  right: 0.95rem;
  top: 50%;
  color: var(--blue-700);
  font-size: 1.5rem;
  transform: translateY(-50%);
}

.choice-sidebar a small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
}

.choice-sidebar a.active,
.choice-sidebar a:hover {
  color: #ffffff;
  background: var(--blue-900);
}

.choice-sidebar a.active small,
.choice-sidebar a:hover small,
.choice-sidebar a.active::after,
.choice-sidebar a:hover::after {
  color: #ffffff;
}

.choice-sidebar a.accent {
  color: #ffffff;
  background: var(--gradient);
}

.choice-sidebar a.accent small,
.choice-sidebar a.accent::after {
  color: #ffffff;
}

.choice-content {
  min-width: 0;
}

.choice-card-grid,
.split-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.choice-card {
  display: grid;
  gap: 0.45rem;
  min-height: 150px;
  padding: 0.96rem;
  color: var(--blue-900);
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue-700);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.choice-card span {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.choice-card strong {
  color: var(--ink);
  font-size: clamp(0.94rem, 1.16vw, 1.05rem);
  line-height: 1.28;
}

.choice-card em {
  align-self: end;
  color: var(--blue-700);
  font-style: normal;
  font-weight: 700;
}

.choice-card.accent {
  color: #ffffff;
  background: var(--gradient);
  border-top-color: var(--lime);
}

.choice-card.accent strong,
.choice-card.accent em {
  color: #ffffff;
}

.split-choice-grid > div {
  padding: 1.15rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.link-stack.roomy {
  gap: 0;
  margin-top: 0.6rem;
}

.link-stack.roomy a {
  padding: 0.62rem 0;
}

.provider-card,
.topic-card,
.detail-aside,
.lead-form-card,
.article-cta {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.provider-card,
.topic-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 1.1rem;
}

.provider-card span,
.topic-card span,
.breadcrumb {
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.provider-card p,
.topic-card p {
  color: var(--muted);
}

.provider-card a,
.topic-card a,
.related-courses a {
  color: var(--blue-900);
  font-weight: 700;
  text-decoration: none;
}

.topic-card a {
  margin-top: auto;
}

.link-stack,
.related-courses {
  display: grid;
  gap: 0.45rem;
  margin-top: auto;
}

.link-stack a,
.related-courses a {
  padding-top: 0.45rem;
  border-top: 1px solid var(--line);
}

.training-directory,
.course-detail,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.28fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
}

.training-directory {
  grid-template-columns: minmax(230px, 0.28fr) minmax(0, 1fr);
  padding-top: 1.5rem;
}

.directory-sidebar {
  position: sticky;
  top: 172px;
  display: grid;
  gap: 0.8rem;
}

.directory-sidebar details {
  padding: 0.95rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.directory-sidebar summary {
  cursor: pointer;
  color: var(--blue-900);
  font-weight: 700;
}

.directory-sidebar a {
  display: block;
  padding: 0.42rem 0;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.directory-main {
  min-width: 0;
}

.course-detail {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(1.2rem, 3vw, 2.25rem);
  align-items: start;
}

.catalog-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.catalog-meta-grid article {
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue-700);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.catalog-meta-grid span {
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-meta-grid strong {
  display: block;
  margin-top: 0.15rem;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1;
}

.catalog-meta-grid p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.catalog-table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.catalog-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.84rem;
}

.catalog-table th,
.catalog-table td {
  padding: 0.66rem 0.62rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.catalog-table th {
  color: var(--blue-900);
  background: var(--surface-blue);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-table td {
  color: var(--text);
}

.catalog-table td:nth-child(6) {
  color: var(--blue-900);
  font-weight: 700;
  white-space: nowrap;
}

.catalog-table th:nth-child(1),
.catalog-table td:nth-child(1) {
  width: 11%;
}

.catalog-table th:nth-child(2),
.catalog-table td:nth-child(2) {
  width: 28%;
}

.catalog-table th:nth-child(3),
.catalog-table td:nth-child(3) {
  width: 20%;
}

.catalog-table th:nth-child(4),
.catalog-table td:nth-child(4) {
  width: 8%;
}

.catalog-table th:nth-child(5),
.catalog-table td:nth-child(5) {
  width: 10%;
}

.catalog-table th:nth-child(6),
.catalog-table td:nth-child(6) {
  width: 14%;
}

.catalog-table th:nth-child(7),
.catalog-table td:nth-child(7) {
  width: 9%;
}

.catalog-table a {
  color: var(--blue-900);
  font-weight: 700;
  text-decoration: none;
}

.course-detail-v2 {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  gap: clamp(1.2rem, 2.8vw, 2.25rem);
  padding-top: clamp(1.2rem, 3vw, 2rem);
}

.detail-main {
  min-width: 0;
}

.detail-main > p,
.article-wrap > p {
  max-width: 840px;
}

.detail-aside {
  position: sticky;
  top: 172px;
  padding: 1.15rem;
  border-top: 6px solid var(--blue-900);
}

.detail-aside h2 {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
}

.detail-aside a:not(.button) {
  color: var(--blue-900);
  font-weight: 700;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.35rem 0 2rem;
}

.detail-facts.single {
  grid-template-columns: 1fr;
}

.detail-facts div {
  min-width: 0;
  padding: 0.9rem;
  background: var(--surface-blue);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-700);
  border-radius: 6px;
}

.detail-facts span,
.detail-facts strong {
  display: block;
}

.detail-facts span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-facts strong {
  overflow-wrap: anywhere;
  color: var(--ink);
}

.detail-block {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.detail-block.compact-intro {
  padding-top: 0;
  border-top: 0;
}

.detail-block h2,
.related-courses h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.12;
}

.detail-block p,
.section-note {
  color: var(--muted);
}

.section-note {
  max-width: 760px;
  margin-bottom: 0.85rem;
  font-size: 0.98rem;
}

.detail-split,
.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.detail-split .detail-block {
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.agenda-list {
  display: grid;
  gap: 0.55rem;
}

.agenda-list details {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(28, 55, 104, 0.07);
}

.agenda-list summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.78rem 0.95rem;
  color: var(--blue-900);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.agenda-list summary::-webkit-details-marker {
  display: none;
}

.agenda-list summary::after {
  content: "+";
  margin-left: auto;
  color: var(--blue-700);
  font-size: 1.2rem;
}

.agenda-list details[open] summary::after {
  content: "−";
}

.agenda-list summary span {
  flex: 0 0 auto;
  color: #ffffff;
  background: var(--blue-900);
  border-radius: 999px;
  padding: 0.18rem 0.45rem;
  font-size: 0.72rem;
}

.agenda-list ul {
  margin: 0;
  padding: 0 1rem 0.95rem 3.15rem;
  color: var(--muted);
}

.agenda-list li + li {
  margin-top: 0.3rem;
}

.detail-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0.5rem 0 1.2rem;
}

.detail-info-grid article {
  padding: 0.95rem;
  background: var(--surface-blue);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-info-grid span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-info-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.seo-course-panel {
  display: grid;
  gap: 0.75rem;
}

.seo-course-panel p {
  max-width: 850px;
}

.seo-course-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.65rem;
}

.seo-course-links a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0.72rem 0.82rem;
  color: var(--blue-900);
  font-weight: 700;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(28, 55, 104, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.seo-course-links a:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: var(--soft-shadow);
}

.faq-list {
  display: grid;
  gap: 0.55rem;
}

.faq-list details {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(28, 55, 104, 0.06);
}

.faq-list summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 46px;
  padding: 0.75rem 0.9rem;
  color: var(--blue-900);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  margin-left: auto;
  color: var(--blue-700);
  font-size: 1.1rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 0.9rem 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.course-sticky-card {
  padding: 1rem;
}

.course-sticky-card .detail-facts {
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin: 0.85rem 0;
}

.course-sticky-card .detail-facts div {
  padding: 0.7rem 0.78rem;
  background: #ffffff;
  border-left-width: 3px;
}

.mini-note {
  margin: 0.9rem 0;
  padding: 0.82rem;
  color: var(--muted);
  background: var(--surface-blue);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-note strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.mini-note p {
  margin: 0;
  font-size: 0.95rem;
}

.feature-list.tight {
  max-width: 860px;
}

.compact-top {
  margin-top: 1rem;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.52fr);
}

.lead-form-card {
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border-top: 6px solid var(--blue-900);
}

.lead-form-card h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}

.lead-form-card p {
  color: var(--muted);
}

.contact-aside {
  position: sticky;
}

.article-wrap {
  padding-top: clamp(2.4rem, 5vw, 4rem);
}

.article-wrap h1 {
  max-width: 980px;
  font-size: clamp(2.25rem, 4vw, 4.4rem);
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding: 1.2rem;
  border-top: 6px solid var(--cyan);
}

.article-cta h2,
.article-cta p {
  flex: 1 1 100%;
}

.article-cta h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.blog-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.blog-card h2 a:hover {
  color: var(--blue-700);
}

.legal-note {
  padding: 1rem;
  background: var(--surface-blue);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
}

.link-target-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.link-target-grid article,
.copy-card {
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(28, 55, 104, 0.06);
}

.link-target-grid span {
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.link-target-grid h3 {
  margin: 0.35rem 0;
  font-size: 1.05rem;
}

.link-target-grid p,
.copy-card p {
  margin: 0;
  color: var(--muted);
}

.link-target-grid a {
  display: inline-block;
  max-width: 100%;
  margin-top: 0.8rem;
  color: var(--blue-900);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.compass-hero {
  background:
    linear-gradient(120deg, rgba(44, 42, 107, 0.97), rgba(44, 42, 107, 0.92)),
    radial-gradient(circle at 80% 15%, rgba(31, 192, 219, 0.16), transparent 28%);
}

.compass-panel {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

.compass-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.compass-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-width: 0;
  min-height: 390px;
  padding: 1.1rem;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--blue-700);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.compass-card.business {
  border-top-color: var(--purple);
}

.compass-card.accent {
  border-top-color: var(--cyan);
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.72), #ffffff 62%),
    #ffffff;
}

.compass-card > span {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  color: #ffffff;
  background: var(--gradient);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.compass-card h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.12;
}

.compass-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.compass-card ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.1rem 0 0;
  padding: 0;
  list-style: none;
}

.compass-card li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.compass-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.52rem;
  height: 0.52rem;
  background: var(--green);
  border-radius: 50%;
}

.compass-card .button {
  align-self: end;
  margin-top: auto;
}

.compass-section {
  padding-top: 0;
}

.qcg-check-hero {
  background:
    linear-gradient(120deg, rgba(44, 42, 107, 0.97), rgba(44, 42, 107, 0.92)),
    radial-gradient(circle at 12% 18%, rgba(31, 192, 219, 0.14), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.2), transparent 22%);
}

.qcg-check-layout {
  align-items: start;
}

.qcg-check-card,
.qcg-check-result {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.qcg-check-card {
  padding: clamp(1rem, 2.4vw, 1.55rem);
}

.qcg-check-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.qcg-check-form fieldset {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  margin: 0;
  padding: 0.95rem;
  border: 1px solid rgba(38, 87, 187, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(246, 248, 251, 0.64), #ffffff);
}

.qcg-check-form legend {
  padding: 0 0.2rem;
  color: var(--blue-900);
  font-size: 0.88rem;
  font-weight: 700;
}

.qcg-check-form label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
}

.qcg-check-form input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.14rem;
  accent-color: var(--blue-700);
}

.qcg-check-result {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: clamp(1rem, 2.4vw, 1.35rem);
  border-top: 6px solid var(--cyan);
  background:
    linear-gradient(135deg, rgba(246, 248, 251, 0.92), #ffffff 70%),
    #ffffff;
}

.qcg-check-result > span {
  width: max-content;
  max-width: 100%;
  padding: 0.32rem 0.65rem;
  color: #ffffff;
  background: var(--gradient);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.qcg-check-result h2,
.qcg-check-result p {
  margin: 0;
}

.qcg-check-result h2 {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.1;
}

.qcg-check-result p {
  color: var(--text);
}

.qcg-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

@media (max-width: 1280px) {
  .contact-rail {
    display: none;
  }
}

@media (max-width: 1320px) {
  .training-nav {
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: 0.5rem;
  }

  .search-box {
    flex: 1 1 360px;
    width: min(420px, 100%);
    max-width: 420px;
    margin-left: 0;
  }
}

@media (max-width: 1180px) {
  .nav-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.65rem 1rem;
    padding-bottom: 0.62rem;
  }

  .brand {
    flex: 0 0 100%;
  }

  .main-nav {
    flex: 0 0 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 0.5rem;
    overflow-x: visible;
  }

  .training-nav {
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: 0.5rem;
  }

  .search-box {
    flex: 0 0 min(420px, 100%);
    max-width: 420px;
    margin-left: 0;
  }
}

@media (max-width: 1120px) {
  .nav-row {
    display: flex;
    flex-wrap: wrap;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow-x: visible;
  }

  .mega-panel {
    position: fixed;
    top: 122px;
    left: 1rem;
    right: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 140px);
    margin-top: 0;
    overflow: auto;
    transform: none;
  }

  .mega-panel-rich {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    right: auto;
  }

  .mega-selector {
    padding-right: 0;
    border-right: 0;
  }

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

  .training-nav {
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: 0.5rem;
  }

  .hero-inner,
  .two-column,
  .split-band,
  .section-heading,
  .final-cta,
  .choice-layout,
  .training-directory,
  .course-detail,
  .catalog-layout,
  .regional-layout,
  .detail-split,
  .detail-info-grid,
  .link-target-grid,
  .compass-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .directory-sidebar,
  .choice-sidebar,
  .detail-aside,
  .contact-aside {
    position: static;
  }

  .choice-sidebar {
    padding-right: 0;
    border-right: 0;
  }

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

  .audience-tabs,
  .route-groups,
  .path-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-detail-hero h1 {
    font-size: clamp(1.85rem, 6.2vw, 2.65rem);
  }

  .course-hero-meta span {
    font-size: 0.82rem;
  }

  .agenda-list summary {
    align-items: flex-start;
  }

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

  .regional-course-finder {
    grid-template-columns: 1fr;
  }

  .hero-side {
    max-width: 760px;
  }

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

@media (max-width: 920px) {
  .utility-inner {
    min-height: 46px;
    gap: 0.7rem;
    padding-block: 0.35rem;
  }

  .utility-left {
    flex: 1 1 auto;
    min-width: 0;
  }

  .utility-right {
    flex: 0 0 auto;
    min-width: 0;
    gap: 0.5rem;
  }

  .contact-pill {
    min-width: 0;
  }

  .email-link {
    flex: 1 1 190px;
    max-width: 310px;
  }

  .email-link strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .utility-right > span:not(.language-switch) {
    max-width: 118px;
    line-height: 1.05;
    text-align: right;
  }

  .nav-row {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0.55rem;
    padding-block: 0.62rem;
  }

  .main-nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .main-nav::-webkit-scrollbar,
  .training-nav::-webkit-scrollbar {
    display: none;
  }

  .training-nav {
    width: min(100% - 2rem, var(--content));
    max-width: var(--content);
    margin-inline: auto;
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: flex-start;
    min-height: 42px;
    padding-block: 0.42rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .search-box {
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

}

@media (max-width: 820px) {
  h1 {
    font-size: clamp(1.9rem, 7.5vw, 2.72rem);
    line-height: 1.06;
  }

  .ai-assistant {
    right: 0.75rem;
    bottom: 0.75rem;
    width: auto;
  }

  .ai-assistant-toggle {
    width: auto;
    min-width: 64px;
    min-height: 64px;
    gap: 0;
    justify-content: center;
    padding: 0.38rem;
  }

  .ai-assistant-toggle > span:not(.ai-assistant-avatar) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .ai-assistant-avatar {
    width: 54px;
    height: 54px;
  }

  .ai-assistant-panel {
    width: min(390px, calc(100vw - 1.5rem));
  }

  .utility-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 0.46rem;
    padding-block: 0.45rem;
  }

  .utility-left,
  .utility-right {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .contact-pill {
    min-width: 0;
    flex: 1 1 250px;
  }

  .email-link strong {
    max-width: min(42vw, 230px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .main-nav,
  .training-nav {
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: 0.42rem;
  }

  .main-nav {
    align-items: flex-start;
  }

  .training-nav {
    align-items: stretch;
  }

  .training-nav > a[href$="trainings/brands.html"],
  .training-nav > a[href$="trainings/topics.html"],
  .training-nav > a[href$="trainings/advanced-search.html"] {
    display: none;
  }

  .training-nav a {
    min-height: 32px;
  }

  .search-box {
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .hero-inner {
    gap: 1rem;
    padding-top: 1.25rem;
  }

  .hero-facts {
    display: none;
  }

  .hero-side {
    gap: 0.75rem;
  }

  .hero-photo {
    display: block;
    max-width: 100%;
    border-radius: 8px;
  }

  .hero-photo img {
    aspect-ratio: 4 / 3;
    object-position: center;
  }

  .audience-tabs,
  .route-groups,
  .path-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    margin: 1rem 0;
  }

  .mega-panel {
    top: 136px;
    grid-template-columns: 1fr;
    left: 0.75rem;
    right: 0.75rem;
    max-width: calc(100vw - 1.5rem);
    overflow-x: hidden;
    padding: 1rem;
  }

  .mega-panel-rich {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .mega-selector {
    width: 100%;
    padding-right: 0;
    border-right: 0;
  }

  .mega-trigger {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: 0.72rem 1.75rem 0.72rem 0.78rem !important;
  }

  .mega-trigger span,
  .mega-trigger small {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-checks {
    margin-bottom: 0;
  }

  .hero-facts,
  .hero-paths,
  .catalog-meta-grid,
  .signal-strip,
  .seo-grid,
  .provider-grid,
  .topic-grid,
  .compass-grid,
  .qcg-check-form,
  .choice-card-grid,
  .split-choice-grid,
  .mega-results,
  .mega-panel,
  .check-grid,
  .detail-facts,
  .site-footer,
  .blog-card {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    margin-top: 0;
    border-radius: 0;
  }

  .signal-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lead-panel form {
    grid-template-columns: 1fr;
  }

  .mobile-sticky {
    display: none;
  }

  .home-choice-layout {
    padding: 0.72rem;
  }

  .choice-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    overflow: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .choice-sidebar::-webkit-scrollbar {
    display: none;
  }

  .choice-sidebar a {
    min-width: 0;
    width: 100%;
  }

  .choice-card {
    min-height: 128px;
    padding: 0.8rem;
  }

  .choice-card strong {
    font-size: 0.95rem;
    line-height: 1.22;
  }
}

@media (max-width: 560px) {
  html,
  body {
    overflow-x: hidden;
  }

  .ai-assistant {
    right: 0.75rem;
    bottom: 0.75rem;
    width: auto;
    font-size: 0.9rem;
  }

  .ai-assistant-toggle {
    width: auto;
    justify-content: center;
  }

  .ai-assistant-panel {
    max-height: calc(100vh - 1.5rem);
  }

  .ai-assistant-messages {
    max-height: 230px;
  }

  .utility-inner,
  .nav-row,
  .training-nav,
  .mobile-intent-nav,
  .hero-inner,
  .section,
  .content-wrap,
  .signal-strip {
    width: min(calc(100% - 1.25rem), 350px);
  }

  .utility-inner,
  .nav-row,
  .training-nav,
  .mobile-intent-nav,
  .hero-inner {
    width: calc(100% - 0.75rem);
    max-width: 390px;
  }

  .site-header {
    padding-top: 6px;
  }

  .page-hero,
  .final-cta {
    padding-inline: max(1rem, calc((100% - 360px) / 2));
  }

  .utility-left,
  .utility-right {
    width: 100%;
    flex-wrap: nowrap;
    gap: 0.34rem;
  }

  .utility-inner {
    min-height: 40px;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.42rem;
    padding-block: 0.3rem;
  }

  .utility-left {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: calc(100% - 4.45rem);
  }

  .utility-right {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
  }

  .utility-right > a,
  .utility-right > span:not(.language-switch) {
    display: none;
  }

  .utility-left .phone-link {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    justify-content: center;
    gap: 0.32rem;
    padding-inline: 0.34rem;
  }

  .utility-left .email-link {
    display: inline-flex;
    flex: 0 0 3.85rem;
    width: auto;
    min-width: 3.85rem;
    justify-content: center;
    gap: 0.28rem;
    padding-inline: 0.3rem 0.42rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.24);
  }

  .utility-left {
    align-items: center;
    flex-direction: row;
    justify-content: center;
  }

  .contact-pill {
    min-height: 1.9rem;
    padding: 0.24rem 0.52rem;
  }

  .contact-pill::before {
    flex-basis: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
  }

  .contact-pill span {
    display: none;
  }

  .utility-left .email-link span {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 1;
  }

  .contact-pill strong {
    min-width: 0;
    font-size: clamp(0.73rem, 3vw, 0.82rem);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .email-link strong {
    display: none;
  }

  .email-link::after {
    content: none;
  }

  .language-switch {
    flex: 0 0 auto;
    gap: 0.12rem;
    padding: 0.12rem;
  }

  .language-switch a {
    min-width: 1.58rem;
    min-height: 1.55rem;
    padding-inline: 0.3rem;
    font-size: 0.72rem;
  }

  .utility-left a,
  .utility-right a,
  .utility-right span {
    min-width: 0;
    max-width: 100%;
  }

  .choice-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .choice-sidebar a {
    min-height: 44px;
    padding: 0.55rem 1.25rem 0.55rem 0.55rem;
    border-radius: 12px;
    text-align: center;
  }

  .choice-sidebar a span {
    font-size: 0.86rem;
    line-height: 1.08;
  }

  .choice-sidebar a small {
    display: none;
  }

  .choice-sidebar a::after {
    right: 0.55rem;
    font-size: 1rem;
  }

  .choice-sidebar a.accent {
    grid-column: 1 / -1;
  }

  .utility-right {
    display: flex;
    justify-content: flex-end;
  }

  .brand-logo {
    width: min(188px, 68vw);
  }

  .brand {
    justify-content: center;
    width: 100%;
  }

  .nav-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.46rem;
    padding-block: 0.5rem 0.44rem;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.44rem;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .main-nav > a[href$="förderung.html"],
  .main-nav > a[href$="unternehmen.html"],
  .main-nav > a[href$="standorte.html"],
  .main-nav > a[href$="lernwege.html"],
  .main-nav > a[href$="blog.html"] {
    display: none;
  }

  .main-nav > .mega-menu,
  .main-nav > a {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .main-nav > a[href$="kontakt.html"] {
    grid-column: auto;
    min-height: 34px;
    padding: 0.38rem 0.34rem;
    font-size: 0.72rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .main-nav a,
  .training-nav a,
  .mega-menu summary {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.38rem 0.44rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .mega-menu summary {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .mega-panel {
    top: 222px;
    left: 0.625rem;
    right: 0.625rem;
    max-width: calc(100vw - 1.25rem);
    max-height: calc(100vh - 234px);
    padding: 0.7rem;
  }

  .mega-panel a {
    display: block;
    width: auto;
    min-height: 0;
    padding: 0.36rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    white-space: normal;
    text-align: left;
    line-height: 1.22;
  }

  .mega-selector .mega-trigger {
    display: grid !important;
    min-height: 42px;
    padding: 0.5rem 1.9rem 0.5rem 0.72rem !important;
    border: 1px solid var(--line) !important;
    border-radius: 18px;
    background: var(--surface-blue);
  }

  .mega-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .mega-selector .mega-trigger.accent {
    grid-column: 1 / -1;
  }

  .mega-selector .mega-trigger.accent {
    color: #ffffff !important;
    background: var(--gradient);
  }

  .mega-trigger span,
  .mega-trigger small {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.22;
  }

  .mega-trigger small {
    display: none;
  }

  .mega-results {
    gap: 0.65rem;
  }

  .mega-results > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
    align-items: flex-start;
  }

  .mega-results h3 {
    flex: 0 0 100%;
    margin: 0 0 0.1rem;
  }

  .mega-results a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0.34rem 0.5rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    font-size: 0.78rem;
    text-align: center;
    white-space: normal;
  }

  .main-nav a:last-child {
    display: inline-flex;
  }

  .main-nav > a:not([href$="kontakt.html"]) {
    display: none;
  }

  .training-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.44rem;
    width: calc(100% - 0.75rem);
    max-width: 390px;
    min-height: 0;
    padding-block: 0.2rem 0.52rem;
    border-top: 0;
    overflow-x: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .mobile-intent-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.44rem;
    padding-block: 0.34rem 0.2rem;
  }

  .mobile-intent-nav a {
    min-height: 38px;
    padding: 0.42rem 0.5rem;
  }

  .mobile-intent-nav .quick-icon {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 7px;
  }

  .mobile-intent-nav .quick-icon::before {
    width: 0.78rem;
    height: 0.78rem;
  }

  .mobile-intent-nav strong {
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .training-nav > a {
    display: none;
  }

  .training-nav > a[href$="trainings/arbeitsuchende.html"],
  .training-nav > a[href$="trainings/arbeitnehmer.html"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.38rem 0.5rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--blue-900);
    background: var(--surface-blue);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
  }

  .training-nav a {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
    line-height: 1.1;
  }

  .search-box {
    grid-column: 1 / -1;
    display: flex;
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    margin-inline: auto;
    overflow: hidden;
  }

  .search-box input {
    flex: 1 1 auto;
    min-width: 0;
    width: 0;
    min-height: 40px;
    padding-inline: 0.68rem;
  }

  .search-box button {
    flex: 0 0 clamp(68px, 20vw, 78px);
    min-width: 0;
    padding-inline: 0.42rem;
    font-size: 0.78rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.65rem, 7.3vw, 2.1rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .hero-inner {
    width: min(calc(100% - 1.25rem), 350px);
    gap: 0.58rem;
    padding-block: 0.82rem 1.15rem;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-top: 0;
  }

  .hero .eyebrow {
    display: none;
  }

  .hero h1 {
    margin-bottom: 0.58rem;
    font-size: clamp(1.52rem, 6vw, 1.88rem);
    line-height: 1.06;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hero h1 span {
    display: inline;
  }

  .hero-text {
    order: 2;
    font-size: 0.93rem;
    line-height: 1.4;
  }

  .hero-actions {
    order: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.46rem;
    margin: 0.56rem 0 0;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 44px;
    padding: 0.66rem 0.68rem;
    font-size: 0.82rem;
    line-height: 1.14;
  }

  .hero-actions .button.primary {
    grid-column: auto;
  }

  .main-nav a:last-child,
  .header-cta,
  .hero-actions .button.primary,
  .button.primary.full {
    box-shadow: none;
  }

  .hero-actions a[href$="weiterbildungs-kompass.html"] {
    display: none;
  }

  .hero-actions .button.secondary {
    display: none;
  }

  .hero-route-groups {
    display: none;
  }

  .route-panel {
    gap: 0.55rem;
    padding: 0.82rem;
    border-top: 1px solid var(--line);
    border-left: 5px solid var(--blue-700);
    border-radius: 10px;
  }

  .route-panel.business {
    border-top-color: var(--line);
    border-left-color: var(--purple);
  }

  .route-panel h3 {
    font-size: 1rem;
  }

  .route-panel p,
  .route-links em {
    font-size: 0.82rem;
  }

  .route-links a {
    min-height: 48px;
    padding: 0.6rem 0.65rem;
    background: var(--surface-blue);
  }

  .hero-checks {
    display: none;
  }

  .hero-checks li {
    padding-left: 1.55rem;
    font-size: 0.9rem;
    line-height: 1.28;
  }

  .hero-checks li::before {
    left: 0.05rem;
  }

  .hero-photo {
    margin-top: 0.1rem;
  }

  .hero-photo-mobile {
    order: 1;
    display: block;
    margin: 0.5rem 0 0.62rem;
  }

  .hero-photo-mobile img {
    aspect-ratio: 16 / 10;
  }

  .hero h1 {
    max-width: 22rem;
    font-size: clamp(1.64rem, 6.45vw, 2.02rem);
    line-height: 1.05;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .hero-side .hero-photo {
    display: none;
  }

  .funding-badge {
    display: none;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0.04rem 0.65rem;
    padding: 0.72rem 0.78rem;
  }

  .funding-badge span {
    width: 40px;
    height: 40px;
    font-size: 0.86rem;
  }

  .funding-badge strong {
    font-size: 0.96rem;
  }

  .funding-badge small {
    font-size: 0.82rem;
    line-height: 1.24;
  }

  .training-hero h1 {
    font-size: clamp(1.58rem, 6.8vw, 1.92rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .training-choice-layout .section-heading.compact h2 {
    font-size: clamp(1.45rem, 6.2vw, 1.86rem);
    line-height: 1.1;
  }

  .course-picker-section {
    padding-top: 1.1rem;
  }

  .course-picker-section .section-heading {
    display: block;
    margin-bottom: 0.85rem;
  }

  .course-picker-section .section-heading .eyebrow {
    width: fit-content;
    margin: 0 0 0.38rem;
    padding: 0.22rem 0.55rem;
    color: var(--blue-900);
    background: var(--surface-blue);
    border-radius: 999px;
    font-size: 0.72rem;
    line-height: 1;
  }

  .course-picker-section .section-heading h2 {
    max-width: 15rem;
    margin-bottom: 0.38rem;
    font-size: clamp(1.42rem, 5.9vw, 1.7rem);
    line-height: 1.07;
  }

  .course-picker-section .section-heading p:last-child {
    max-width: 20rem;
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.38;
  }

  .choice-card,
  .course-card,
  .topic-card,
  .provider-card {
    min-height: 0;
    padding: 0.85rem;
  }

  .subpage-visual {
    width: min(100% - 1rem, var(--content));
    margin-top: 0.75rem;
  }

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

  .subpage-visual-card img {
    min-height: 150px;
    max-height: 190px;
    aspect-ratio: 16 / 9;
  }

  .subpage-visual-card figcaption {
    padding: 0.82rem;
  }

  .subpage-visual-card strong {
    font-size: 1.06rem;
    line-height: 1.14;
  }

  .subpage-visual-card p {
    font-size: 0.88rem;
    line-height: 1.38;
  }

  .choice-card strong,
  .course-card h3,
  .topic-card h3,
  .provider-card h3 {
    font-size: 1rem;
    line-height: 1.16;
  }

  .choice-card p,
  .course-card p,
  .topic-card p,
  .provider-card p {
    font-size: 0.88rem;
    line-height: 1.38;
  }

  h2,
  h3,
  p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .page-hero .hero-text {
    max-width: 300px;
  }

  .page-hero {
    padding-top: 3rem;
  }

  .hero-actions,
  .final-actions,
  .button {
    width: 100%;
  }

  .mobile-sticky a {
    font-size: 0.9rem;
  }
}

@media (max-width: 1180px) {
  .topic-overview {
    grid-template-columns: 1fr;
  }

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

  .training-model-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  }

  .training-model-card img {
    height: 100%;
    min-height: 240px;
  }

  .model-card-body {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .compact-training-nav {
    grid-template-columns: 1fr;
  }

  .mobile-intent-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.44rem;
    padding-block: 0.34rem 0.2rem;
  }

  .mobile-intent-nav a {
    min-height: 38px;
    padding: 0.42rem 0.5rem;
  }

  .mobile-intent-nav .quick-icon {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 7px;
  }

  .mobile-intent-nav .quick-icon::before {
    width: 0.78rem;
    height: 0.78rem;
  }

  .mobile-intent-nav strong {
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .compact-training-nav .quick-menu {
    display: none;
  }

  .quick-menu,
  .quick-menu summary {
    width: 100%;
    min-width: 0;
  }

  .quick-menu summary {
    justify-content: center;
    padding-inline: 0.55rem;
    font-size: 0.82rem;
  }

  .quick-menu[open] {
    grid-column: 1 / -1;
  }

  .quick-menu-panel,
  .topic-panel {
    position: static;
    width: 100%;
    max-height: none;
    grid-template-columns: 1fr;
    overflow: auto;
    margin-top: 0.45rem;
  }

  .compact-training-nav .search-box {
    grid-column: 1 / -1;
    max-width: none;
  }

  .topic-icon-grid,
  .training-model-card {
    grid-template-columns: 1fr;
  }

  .topic-icon-grid a {
    min-height: 74px;
  }

  .training-model-card img {
    height: 176px;
    min-height: 0;
  }

  .model-card-body {
    padding: 0.9rem;
  }
}

html.maintenance-mode,
html.maintenance-mode body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--nh-white);
}

html.maintenance-mode body > :not(.maintenance-screen) {
  display: none !important;
}

.maintenance-screen {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 2rem;
  background:
    linear-gradient(90deg, var(--nh-blue-dark), var(--nh-blue-dark)) top / 100% 6px no-repeat,
    var(--nh-white);
  color: var(--nh-text-dark);
  text-align: center;
}

.maintenance-content {
  display: grid;
  justify-items: center;
  width: min(100%, 660px);
}

.maintenance-content img {
  width: min(100%, 310px);
  height: auto;
}

.maintenance-content span {
  width: 48px;
  height: 3px;
  margin: 2rem 0;
  background: var(--nh-cyan);
}

.maintenance-content h1 {
  max-width: 620px;
  margin: 0;
  color: var(--nh-blue-dark);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
}

@media (max-width: 520px) {
  .maintenance-screen {
    padding: 1.5rem;
  }

  .maintenance-content img {
    width: min(84vw, 270px);
  }

  .maintenance-content span {
    margin: 1.5rem 0;
  }

  .maintenance-content h1 {
    font-size: 1.75rem;
  }
}
