/* Identity, page components and responsive navigation. No third-party UI dependency. */
[hidden] {
  display: none !important;
}
:root {
  --muted: #59665a;
  --radius: 10px;
}
main:focus {
  outline: none;
}
body {
  text-rendering: optimizeLegibility;
}
.section {
  padding-block: 64px;
}
.button {
  min-height: 46px;
  border-radius: 5px;
}
.button.small {
  min-height: 44px;
}
.eyebrow {
  line-height: 1.6;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
}
.header-inner {
  min-height: 90px;
  gap: 24px;
}
.brand {
  gap: 8px;
}
.brand img {
  width: 86px;
  height: 86px;
}
.brand strong {
  font-size: 30px;
}
.brand small {
  font-size: 10px;
}
.topbar a {
  margin: 0;
}
#main-nav {
  gap: 23px;
}
#main-nav > a:not(.button) {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.menu-icon {
  width: 18px;
  height: 12px;
  border-block: 2px solid currentColor;
  position: relative;
}
.menu-icon::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 18px;
  border-top: 2px solid currentColor;
}
.menu-toggle[aria-expanded="true"] .menu-icon {
  border: 0;
}
.menu-toggle[aria-expanded="true"] .menu-icon::before,
.menu-toggle[aria-expanded="true"] .menu-icon::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 18px;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-icon::after {
  transform: rotate(-45deg);
}
.mobile-nav-extra,
.nav-shade {
  display: none;
}
.hero {
  padding-block: 40px 50px;
}
.hero-grid {
  gap: 44px;
}
.hero-photo {
  height: 510px;
  object-fit: cover;
}
.hero h1 {
  font-size: clamp(42px, 4.3vw, 64px);
}
.hero-label {
  margin-bottom: 22px;
}
.hero-copy > p {
  font-size: 16px;
}
.hero-footnote {
  margin-top: 28px;
}
.proof-strip {
  padding-block: 26px;
}
.proof-grid span {
  font-size: 12px;
}
.section-heading {
  margin-bottom: 32px;
}
.page-heading {
  padding: 24px 0 32px;
  background: var(--cream);
}
.page-heading .breadcrumb {
  margin-bottom: 22px;
  font-size: 12px;
}
.page-heading .eyebrow {
  margin-bottom: 10px;
}
.page-heading h1 {
  font-size: clamp(32px, 3.2vw, 49px);
  max-width: 970px;
  margin-bottom: 14px;
}
.page-heading p {
  font-size: 16px;
  max-width: 750px;
  margin-bottom: 0;
}
.page-heading + .section {
  padding-top: 36px;
}
.course-card,
.news-card,
.album-card {
  overflow: hidden;
  border-radius: var(--radius);
}
.course-card {
  box-shadow: 0 8px 26px #173f3308;
}
.card-image img,
.news-card img {
  aspect-ratio: 3/2;
  height: auto;
  width: 100%;
  object-fit: cover;
}
.card-content h3 {
  font-size: 25px;
}
.card-content p {
  font-size: 15px;
}
.card-bottom > a {
  min-width: 44px;
  min-height: 44px;
}
.news-card > div {
  padding-bottom: 8px;
}
.news-card h3 {
  font-size: 24px;
}
.news-card p {
  font-size: 15px;
}
.approach-section {
  padding-block: 60px;
}
.approach-copy > p {
  font-size: 15px;
}
.approach-image > img {
  object-fit: cover;
  object-position: center;
}

/* Formation formats: visible enough to guide, compact enough to keep the catalogue first. */
.training-mode-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.training-mode-intro h2 {
  margin: 5px 0 0;
  font-size: clamp(24px, 2.2vw, 32px);
}
.training-mode-intro .text-link {
  flex: 0 0 auto;
  font-size: 13px;
}
.training-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.training-mode-card {
  position: relative;
  display: grid;
  min-height: 132px;
  padding: 20px 54px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.training-mode-card:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  box-shadow: 0 10px 28px #173f3310;
}
.training-mode-card.is-active {
  border-color: var(--green);
  background: var(--sage);
}
.training-mode-card strong {
  align-self: end;
  font-size: 20px;
  line-height: 1.2;
}
.training-mode-card small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.training-mode-marker {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
}
.training-online-note {
  margin-bottom: 24px;
}

.filter-bar {
  border-radius: var(--radius);
  gap: 16px;
}
.filter-bar label {
  min-width: 0;
}
.filter-bar input,
.filter-bar select,
.field input,
.field textarea,
.field select {
  font-size: 16px;
}
.result-count {
  font-size: 14px;
}
.empty-state a {
  text-decoration: underline;
}
.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}
.course-content {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.course-facts {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 110px;
  border-radius: var(--radius);
  padding: 26px;
}
.course-facts h2 {
  font-size: 27px;
}
.course-facts dl {
  margin: 0 0 24px;
}
.course-facts dt {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 15px;
  color: var(--muted);
}
.course-facts dd {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.5;
}
.course-facts .button {
  width: 100%;
}
.course-facts .text-link {
  margin-block: 10px 16px;
  font-size: 13px;
}
.course-facts > p {
  margin: 15px 0 0;
}
.detail-image {
  width: 100%;
  max-height: 480px;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: var(--radius);
}
.section-links {
  display: flex;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.section-links a {
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.course-section {
  padding-top: 36px;
  scroll-margin-top: 120px;
}
.course-section h2 {
  font-size: 32px;
}
.course-section h3 {
  font-size: 23px;
}
.program-list {
  padding-left: 20px;
}
.program-list li {
  padding-block: 7px;
}
.steps-list {
  list-style: none;
  counter-reset: step;
  padding: 0;
}
.steps-list li {
  position: relative;
  padding: 0 0 24px 46px;
  counter-increment: step;
}
.steps-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-size: 13px;
  color: var(--green);
  background: var(--sage);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.steps-list strong,
.steps-list span {
  display: block;
}
.steps-list span {
  color: var(--muted);
  font-size: 15px;
  margin-top: 4px;
}
.story-links a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-course-cta {
  display: none;
}
.album-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.album-card {
  border: 1px solid var(--line);
  background: #fff;
  transition: box-shadow 0.2s;
}
.album-card:hover {
  box-shadow: var(--shadow);
}
.album-cover {
  position: relative;
  overflow: hidden;
}
.album-cover img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.album-cover .image-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: #fff;
  color: var(--green);
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 3px;
}
.album-card > div:last-child {
  padding: 24px;
}
.album-card h2 {
  font-size: 23px;
  line-height: 1.25;
}
.album-card .eyebrow {
  margin-bottom: 12px;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.photo-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sage);
}
.photo-tile img {
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
}
.photo-tile > span {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
}
dialog {
  color: var(--ink);
  border: 0;
  border-radius: 12px;
  padding: 24px;
}
dialog::backdrop {
  background: #091c17e8;
}
.lightbox {
  background: #10261f;
  color: white;
  width: min(1160px, 96vw);
  max-width: 96vw;
  max-height: 95dvh;
}
.lightbox > img {
  width: 100%;
  height: min(70dvh, 800px);
  object-fit: contain;
}
.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.lightbox-controls button {
  color: white;
  background: #ffffff15;
  border: 1px solid #ffffff50;
  border-radius: 5px;
  min-height: 44px;
  min-width: 44px;
}
.lightbox-controls [data-photo-close] {
  margin-left: auto;
  padding-inline: 14px;
}
.lightbox p {
  font-size: 14px;
  margin: 14px 0 0;
}
.partner-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.partner-symbol {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font:
    32px Georgia,
    serif;
  border-radius: 50%;
  color: var(--green);
  background: var(--sage);
  margin-bottom: 24px;
}
.partner-card h2 {
  font-size: 28px;
}
.partner-card p {
  font-size: 15px;
}
.projects-section {
  border-top: 1px solid var(--line);
}
.partnership-call,
.visit-card {
  padding: 36px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}
.partnership-call > div {
  max-width: 680px;
}
.partnership-call h2,
.visit-card h2 {
  font-size: 32px;
}
.partnership-call p:last-child,
.visit-card p:last-child {
  margin-bottom: 0;
}
.partnership-call > .button {
  flex-shrink: 0;
}
.centre-intro,
.centre-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.centre-photo {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 10px 10px 70px 10px;
}
.lead {
  font-size: 19px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  padding-block: 32px;
  gap: 32px;
}
.values-grid article > span {
  display: block;
  font-size: 12px;
  color: var(--green);
  margin-bottom: 20px;
}
.values-grid h2 {
  font-size: 26px;
}
.values-grid p {
  font-size: 15px;
  margin-bottom: 0;
}
.trust-card {
  background: var(--sage);
  padding: 30px;
  border-radius: var(--radius);
}
.trust-card > strong {
  display: block;
  margin-bottom: 14px;
}
.trust-card p {
  font-size: 15px;
}
.trust-card .text-link {
  margin-block: 6px;
}
.document-card {
  border-radius: var(--radius);
  align-items: flex-start;
}
.document-card p {
  font-size: 14px;
  margin-bottom: 12px;
}
.document-card .eyebrow {
  margin-bottom: 8px;
}
.document-card h2 {
  line-height: 1.3;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-channel > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
}
.contact-channel small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.contact-channel strong {
  font-size: 18px;
  overflow-wrap: anywhere;
}
.visit-details {
  margin-top: 26px;
}
.visit-details h3 {
  font-size: 22px;
}
.contact-note {
  padding: 14px;
  background: var(--cream);
  font-size: 14px;
  border-radius: 6px;
}
.footer-brand {
  align-items: center;
  margin-bottom: 20px;
}
.footer-brand img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}
.footer-brand small {
  color: var(--muted);
}
.footer-grid > div {
  min-width: 0;
}
.footer-grid a {
  overflow-wrap: anywhere;
}
.footer-grid > div > a:not(.brand) {
  min-height: 34px;
}
.editor-field {
  margin-block: 24px;
  min-width: 0;
}
.editor-field > label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
.editor-toolbar button {
  min-width: 42px;
  min-height: 42px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
  padding: 6px 12px;
}
.editor-toolbar button:hover,
.editor-toolbar button[aria-pressed="true"] {
  background: var(--sage);
  color: var(--green);
}
.editor-body,
.editor-source {
  width: 100%;
  min-height: 180px;
  max-height: 680px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 0 0 6px 6px;
  padding: 18px;
  background: #fff;
  font-size: 16px;
}
.editor-body:focus {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}
.editor-body img {
  max-height: 340px;
  width: auto;
}
.editor-body iframe {
  pointer-events: none;
}
.editor-source {
  font: 14px/1.6 monospace;
  resize: vertical;
}
.editor-status {
  min-height: 20px;
  margin: 6px 0 0;
}
.editor-body h2 {
  font-size: 28px;
}
.article-preview {
  width: min(860px, 94vw);
  max-height: 90dvh;
}
.article-preview > button {
  float: right;
  margin-bottom: 20px;
}
.article-preview h2 {
  clear: both;
}
.setup-list {
  list-style: none;
  padding: 0;
}
.setup-list li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.setup-list strong {
  text-align: right;
}
.notification-state {
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.notification-state h3 {
  font-size: 22px;
}
.notification-state p {
  margin-bottom: 10px;
}
.admin-content,
.admin-shell > *,
.form-layout > * {
  min-width: 0;
}
@media (min-width: 601px) and (max-width: 1100px) {
  .album-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .course-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
  }
  .centre-intro,
  .centre-detail {
    gap: 32px;
  }
}
@media (max-width: 1020px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0;
  }
  .menu-toggle {
    display: none;
  }
  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    font-size: 14px;
  }
  #main-nav {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding-block: 12px 22px;
    gap: 12px 24px;
    position: static;
    background: white;
  }
  .js #main-nav {
    display: none;
  }
  .js #main-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 12px max(24px, calc((100vw - 1184px) / 2)) 24px;
    max-height: calc(100dvh - 130px);
    overflow-y: auto;
    z-index: 2;
    box-shadow: 0 15px 25px #10261f20;
  }
  .js #main-nav > a:not(.button) {
    padding: 12px 0;
    min-height: 46px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .js #main-nav > a[aria-current] {
    color: var(--green);
    font-weight: 750;
  }
  #main-nav .mobile-nav-extra {
    display: flex;
    gap: 0 20px;
    flex-wrap: wrap;
    padding: 10px 0;
  }
  .mobile-nav-extra a {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 400;
  }
  .js #main-nav > .button {
    margin-top: 8px;
  }
  .nav-shade:not([hidden]) {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: #10261f80;
    border: 0;
    cursor: default;
  }
  body.menu-open {
    overflow: hidden;
  }
  .hero-grid {
    gap: 28px;
  }
  .hero-photo {
    height: 430px;
  }
  .hero + .proof-strip + .section .course-card:last-child,
  .approach-section + .section .news-card:last-child {
    display: block;
  }
  .partnership-call {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 700px) {
  .course-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .course-facts {
    position: static;
    width: 100%;
    padding: 24px;
  }
  .course-facts dl {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px 16px;
  }
  .course-facts dt,
  .course-facts dd {
    margin: 0;
  }
  .course-facts dt {
    padding-top: 3px;
  }
  .course-facts h2 {
    font-size: 26px;
  }
  .course-facts > .eyebrow {
    margin-bottom: 8px;
  }
  .course-content {
    width: 100%;
  }
  .mobile-course-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 24px #173f330e;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 18px max(12px, env(safe-area-inset-bottom));
  }
  .mobile-course-cta > span {
    font-size: 12px;
    line-height: 1.4;
    max-height: 34px;
    overflow: hidden;
    flex: 1;
  }
  .mobile-course-cta .button {
    flex-shrink: 0;
    font-size: 13px;
  }
  .page-formation {
    padding-bottom: 82px;
  }
  .centre-intro,
  .centre-detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .centre-photo {
    height: 320px;
  }
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .visit-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .topbar .wrap {
    justify-content: center;
  }
  .topbar .wrap > span {
    display: none;
  }
  .topbar {
    font-size: 11px;
    padding-block: 7px;
  }
  .header-inner {
    min-height: 76px;
  }
  .brand img {
    width: 72px;
    height: 72px;
  }
  .brand strong {
    font-size: 26px;
  }
  .brand small {
    font-size: 9px;
  }
  .brand {
    gap: 4px;
  }
  .hero {
    padding-block: 22px 32px;
  }
  .hero-grid {
    gap: 22px;
  }
  .hero h1 {
    font-size: clamp(38px, 10vw, 51px);
    margin-bottom: 20px;
  }
  .hero-copy {
    padding-block: 6px;
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .hero-label {
    font-size: 9px;
    margin-bottom: 18px;
  }
  .hero-actions {
    margin-top: 20px;
    gap: 12px 20px;
  }
  .hero-actions .button {
    font-size: 14px;
  }
  .hero-footnote {
    margin-top: 20px;
    font-size: 12px;
  }
  .hero-photo {
    height: 290px;
    border-top-left-radius: 70px;
  }
  .photo-note {
    width: calc(100% - 46px);
    padding: 13px;
    gap: 12px;
  }
  .proof-strip {
    padding-block: 22px;
  }
  .proof-grid {
    gap: 12px;
  }
  .proof-grid span {
    font-size: 12px;
  }
  .section {
    padding-block: 44px;
  }
  .page-heading {
    padding-block: 18px 26px;
  }
  .page-heading .breadcrumb {
    margin-bottom: 16px;
    font-size: 11px;
  }
  .page-heading h1 {
    font-size: 32px;
    line-height: 1.15;
  }
  .page-heading p {
    font-size: 15px;
  }
  .page-heading + .section {
    padding-top: 24px;
  }
  .section-heading h2 {
    font-size: 30px;
  }
  .card-image img,
  .news-card img {
    height: auto;
  }
  .card-content {
    padding: 22px;
  }
  .card-content p {
    font-size: 15px;
  }
  .approach-section {
    padding-block: 40px;
  }
  .approach-image > img {
    height: 280px;
  }
  .approach-copy h2 {
    font-size: 30px;
  }
  .journey {
    padding: 24px;
  }
  .filter-bar {
    padding: 18px;
  }
  .course-section h2 {
    font-size: 28px;
  }
  .section-links {
    gap: 20px;
  }
  .album-grid,
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .album-card h2 {
    font-size: 23px;
  }
  .partner-card {
    padding: 24px;
  }
  .partnership-call,
  .visit-card {
    padding: 24px;
    margin-bottom: 40px;
  }
  .partnership-call h2,
  .visit-card h2 {
    font-size: 28px;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .values-grid article:not(:last-child) {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
  .values-grid article > span {
    margin-bottom: 12px;
  }
  .values-grid h2 {
    margin-bottom: 12px;
  }
  .trust-card {
    padding: 24px;
  }
  .document-card {
    gap: 14px;
    padding: 18px;
  }
  .document-card h2 {
    font-size: 19px;
  }
  .document-icon {
    font-size: 11px;
    padding: 9px;
  }
  .lightbox {
    padding: 14px;
  }
  .lightbox-controls {
    gap: 7px;
  }
  .lightbox-controls [data-photo-close] {
    padding-inline: 10px;
    font-size: 12px;
  }
  .lightbox > img {
    height: 62dvh;
  }
  .lightbox p {
    font-size: 12px;
  }
  .footer-grid {
    gap: 28px 18px;
  }
  .footer-grid > div:last-child {
    grid-column: 1/-1;
  }
  .footer-grid > div > a:not(.brand) {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .footer-bottom a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .editor-toolbar {
    padding: 6px;
  }
  .editor-toolbar button {
    padding: 6px 9px;
  }
  .editor-body,
  .editor-source {
    padding: 12px;
  }
  .setup-list li {
    display: block;
  }
  .setup-list strong {
    display: block;
    text-align: left;
    margin-top: 5px;
  }
  .notification-state {
    padding: 20px;
  }
}
@media print {
  .mobile-course-cta,
  .section-links,
  .menu-toggle {
    display: none !important;
  }
  .course-layout {
    display: block;
  }
  .course-facts {
    position: static;
  }
}


/* Extra catalogue criterion: preserve readable controls on tablets and phones. */
@media (max-width: 1020px) {
  .filter-bar {
    flex-wrap: wrap;
  }
  .filter-bar label {
    flex: 1 1 210px;
  }
}
@media (max-width: 760px) {
  .training-mode-intro {
    align-items: flex-start;
  }
  .training-mode-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .training-mode-card {
    min-height: 108px;
  }
}
@media (max-width: 600px) {
  .training-mode-intro {
    display: block;
  }
  .training-mode-intro .text-link {
    display: inline-flex;
    margin-top: 10px;
  }
  .training-mode-card {
    padding: 17px 50px 17px 17px;
  }
  .filter-bar {
    align-items: stretch;
  }
  .filter-bar label,
  .filter-bar .button {
    flex: 1 1 100%;
    width: 100%;
  }
}
