/*
Theme Name: JM Theme
Theme URI: https://jakemorrison.co.uk
Description: Child theme for Jake Morrison Training & Consultancy, built on GeneratePress.
Author: Jake Morrison Training & Consultancy
Template: generatepress
Version: 0.6.0
Text Domain: jm-theme
*/

/* Fonts: self-hosted, never loaded from Google (UK GDPR). */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2")
    format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

/* Design system: existing brand, editorial composition, native blocks. */
:root {
  --jm-navy: var(--wp--preset--color--navy, #10293f);
  --jm-teal: var(--wp--preset--color--teal, #0e7c86);
  --jm-teal-dark: #0a5f67;
  --jm-grey: var(--wp--preset--color--grey, #eef3f6);
  --jm-tint: var(--wp--preset--color--teal-tint, #e2f1f2);
  --jm-white: #fff;
  --jm-line: #c9d5de;
  --jm-muted: #4a5f72;
  --jm-wide: 1200px;
  --jm-measure: 65ch;
  --jm-gutter: clamp(24px, 4vw, 64px);
  --jm-radius: 4px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-section: clamp(64px, 8vw, 112px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 100px;
}
body {
  font-family: "Allo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--jm-navy);
  background: var(--jm-white);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family: inherit;
  color: inherit;
  line-height: 1.12;
  letter-spacing: -0.0063em;
  font-weight: 700;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.75rem, 5.5vw, 5rem);
}
h2 {
  font-size: clamp(2rem, 3.6vw, 3.3rem);
}
h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.0063em;
}
p,
li {
  max-width: var(--jm-measure);
}
p {
  margin: 0 0 1.25em;
}
a {
  color: var(--jm-teal-dark);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a,
button,
input,
select,
textarea {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--jm-teal);
  outline-offset: 5px;
}
::selection {
  background: var(--jm-tint);
  color: var(--jm-navy);
}
.has-navy-background-color :focus-visible,
.site-footer :focus-visible {
  outline-color: #90e3dc;
}
.skip-link.screen-reader-text:focus {
  background: white;
  color: var(--jm-navy);
  padding: 16px;
  z-index: 100000;
}
.jm-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jm-teal-dark);
  margin-bottom: 24px;
}
.jm-lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  max-width: 54ch;
}
.jm-section-intro {
  font-size: 1.12rem;
  max-width: 57ch;
}
.jm-text-link {
  font-size: 0.93rem;
  font-weight: 700;
  margin-top: 28px;
}
.jm-text-link a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding: 8px 0;
  display: inline-block;
}
.jm-text-link span {
  margin-left: 10px;
}
/* Shared header: compact wordmark, generous but functional navigation. */
.site-header {
  background: var(--jm-white);
  color: var(--jm-navy);
  border-bottom: 1px solid var(--jm-line);
}
.site-header .inside-header {
  max-width: 1328px;
  margin: auto;
  padding: 20px var(--jm-gutter);
  gap: 24px;
}
.main-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.site-header .main-title a,
.site-header .main-title a:hover {
  color: var(--jm-navy);
}
.site-description {
  font-size: 0.7rem;
  color: var(--jm-muted);
  letter-spacing: 0.07em;
  margin: 5px 0 0;
}
.jm-wordmark-detail {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  display: block;
  font-weight: 600;
  margin-top: 6px;
}
.main-navigation,
.main-navigation ul ul {
  background: var(--jm-white);
}
.main-navigation .main-nav ul li a {
  color: var(--jm-navy);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0 12px;
  line-height: 52px;
}
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a {
  color: var(--jm-teal-dark);
  background: var(--jm-grey);
}
.main-navigation .main-nav ul ul li a {
  line-height: 1.5;
  padding: 14px 20px;
}
.main-navigation .main-nav ul li.jm-nav-cta > a {
  color: white;
  background: var(--jm-navy);
  border-radius: var(--jm-radius);
  padding: 0 22px;
  margin-left: 12px;
}
.main-navigation .main-nav ul li.jm-nav-cta > a:hover {
  background: var(--jm-teal-dark);
  color: white;
}
.main-navigation .menu-toggle,
.main-navigation .menu-toggle:hover {
  color: var(--jm-navy);
  background: var(--jm-white);
  min-height: 48px;
}
.main-navigation .dropdown-menu-toggle {
  padding-right: 0;
}
.main-navigation .main-nav ul ul {
  box-shadow: 0 12px 24px #10293f15;
  border: 1px solid var(--jm-line);
  width: 280px;
}
/* Full-width pages remain GeneratePress pages and editable block content. */
.page #page.grid-container,
.page .site-content,
.page .content-area,
.page .site-main {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
.page .inside-article {
  padding: 0;
  margin: 0;
  background: transparent;
}
.page .entry-header {
  max-width: var(--jm-wide);
  margin: 48px auto;
  padding-inline: var(--jm-gutter);
}
.page .entry-content {
  margin: 0;
}
.page .entry-content > :not(.alignfull) {
  max-width: var(--jm-wide);
  margin-inline: auto;
  padding-inline: var(--jm-gutter);
}
.jm-band {
  margin: 0;
  padding-block: var(--space-section);
  padding-inline: max(var(--jm-gutter), calc((100% - var(--jm-wide)) / 2));
}
.jm-band > *:first-child {
  margin-top: 0;
}
.jm-band > *:last-child {
  margin-bottom: 0;
}
.entry-content .jm-band > * {
  margin-inline: 0 !important;
}
.jm-band.has-navy-background-color a {
  color: white;
}
.jm-band.has-navy-background-color .jm-eyebrow {
  color: #90e3dc;
}
.jm-band.has-navy-background-color .jm-lede {
  color: #d1dce4;
}
.jm-band .is-layout-constrained > * {
  margin-inline: 0 !important;
}
.jm-band li {
  margin-bottom: 10px;
}
.jm-band > h2:not(:first-child) {
  margin-top: 1.5em;
}
.jm-hero {
  padding-block: clamp(64px, 8vw, 112px);
  position: relative;
}
.jm-hero h1 {
  max-width: 22ch;
  margin-bottom: 24px;
}
.jm-hero .jm-lede {
  max-width: 64ch;
}
.jm-hero .wp-block-buttons {
  margin-top: 32px;
}
.jm-hero.has-navy-background-color {
  background: var(--jm-navy);
}
.jm-band:has(> .jm-facts) {
  padding-block: 32px;
  border-bottom: 1px solid var(--jm-line);
}
/* Buttons and forms */
.wp-block-buttons {
  gap: 12px;
  display: flex;
  flex-wrap: wrap;
}
.wp-block-button .wp-element-button,
.jm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: var(--jm-radius);
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--jm-teal-dark);
  color: white;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.5;
  transition: background-color 0.18s ease;
}
.wp-block-button .wp-element-button:hover,
.jm-button:hover {
  background: var(--jm-navy);
  color: white;
}
.wp-block-button.is-style-outline .wp-element-button {
  background: transparent;
  border: 1px solid var(--jm-navy);
  color: var(--jm-navy);
}
.wp-block-button.is-style-outline .wp-element-button:hover {
  background: var(--jm-navy);
  color: white;
}
.has-navy-background-color
  .wp-block-button.is-style-outline
  .wp-element-button {
  border-color: #b7cbd9;
  color: white;
}
.has-navy-background-color
  .wp-block-button.is-style-outline
  .wp-element-button:hover {
  background: white;
  color: var(--jm-navy);
}
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #8196a7;
  border-radius: 4px;
  min-height: 48px;
  max-width: 100%;
  background: white;
  color: var(--jm-navy);
}
.fluentform {
  max-width: 720px;
}
.fluentform .ff-el-form-control {
  padding: 14px 16px;
  min-height: 50px;
  border-color: #8196a7;
}
.fluentform .ff-el-group {
  margin-bottom: 28px;
}
.fluentform .ff-btn-submit {
  background: var(--jm-teal-dark) !important;
  min-height: 52px;
  padding: 14px 28px !important;
}
.fluentform label {
  font-size: 0.95rem;
}
.jm-brief-form {
  display: grid;
  gap: 24px;
}
.jm-brief-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.jm-brief-form input,
.jm-brief-form select {
  width: 100%;
  padding: 12px;
}
.jm-brief-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.jm-brief-form legend {
  font-weight: 700;
  margin-bottom: 20px;
}
.jm-brief-form .jm-brief-error {
  color: #a12626;
  font-weight: 600;
}
.jm-brief-form .jm-brief-error:empty {
  display: none;
}
.jm-brief-form button {
  justify-self: start;
  cursor: pointer;
}
.jm-brief-grid {
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
}
.jm-brief-aside {
  background: var(--jm-grey);
  padding: 40px;
  align-self: start;
}
.jm-brief-aside h3 {
  margin-bottom: 24px;
}
/* Homepage composition */
.jm-home-hero {
  padding-top: 64px;
  padding-bottom: 64px;
  background: #f4f7f9;
}
.jm-home-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.jm-home-copy h1 {
  font-size: clamp(2.7rem, 5.1vw, 4.7rem);
  max-width: 13ch;
  margin-bottom: 28px;
  letter-spacing: -0.0063em;
}
.jm-home-copy .jm-lede {
  max-width: 43ch;
  margin-bottom: 32px;
}
.jm-home-copy .jm-eyebrow {
  font-size: 0.67rem;
  letter-spacing: 0.09em;
}
.jm-hero-note {
  font-size: 0.8rem;
  margin-top: 24px;
}
.jm-hero-note a {
  font-weight: 700;
}
.jm-home-visual {
  position: relative;
}
.jm-home-visual .jm-portrait {
  margin: 0;
}
.jm-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1.1;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 140px 4px 4px 4px;
  display: block;
}
.jm-photo-caption {
  position: absolute;
  bottom: 20px;
  left: -24px;
  background: var(--jm-navy);
  color: white;
  padding: 20px 24px;
  max-width: calc(100% - 8px);
}
.jm-caption-name {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 4px;
}
.jm-caption-role {
  font-size: 0.7rem;
  color: #d1dce4;
  margin: 0;
}
.jm-trust {
  padding-block: 32px;
}
.jm-trust-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  align-items: center;
  gap: 32px;
}
.jm-trust-grid p {
  font-size: 0.72rem;
  line-height: 1.8;
  color: #d1dce4;
  margin: 0;
}
.jm-trust-grid strong {
  font-size: 0.82rem;
  color: white;
}
.jm-trust-grid .jm-trust-intro {
  font-size: 0.9rem;
  color: white;
  font-weight: 600;
}
.jm-section-heading h2 {
  margin: 0 0 24px;
}
.jm-training-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 80px;
  margin-top: 48px;
  align-items: start;
}
.is-style-jm-course-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--jm-line);
}
.jm-index {
  color: var(--jm-teal-dark);
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 6px;
}
.jm-course-body h3 {
  margin: 0 0 10px;
}
.jm-course-body h3 a {
  color: var(--jm-navy);
  text-decoration: none;
}
.jm-course-body h3 a:hover {
  color: var(--jm-teal-dark);
  text-decoration: underline;
}
.jm-course-body p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.jm-course-body .jm-course-meta {
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  font-weight: 600;
  color: var(--jm-muted);
  margin-bottom: 0;
}
.jm-training-photo figure {
  margin: 0;
}
.jm-training-photo img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  display: block;
}
.wp-element-caption {
  font-size: 0.72rem;
  color: var(--jm-muted);
  text-align: left;
  padding-top: 8px;
}
.jm-inset {
  padding: 32px;
  background: var(--jm-grey);
  margin-top: 32px;
}
.jm-inset p {
  font-size: 0.92rem;
}
.jm-panel-title {
  font-weight: 700;
  font-size: 1.15rem;
}
.jm-inset .jm-text-link {
  margin-bottom: 0;
}
.jm-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 96px;
  align-items: start;
}
.jm-conflict-intro h2 {
  margin-top: 0;
}
.jm-conflict-option {
  padding-block: 24px;
  border-top: 1px solid #506575;
}
.jm-conflict-option:first-child {
  padding-top: 0;
  border: 0;
}
.jm-conflict-option .jm-eyebrow {
  margin-bottom: 12px;
}
.jm-conflict-option h3 a {
  text-decoration: none;
}
.jm-conflict-option h3 a:hover {
  text-decoration: underline;
}
.jm-conflict-option p:not(.jm-eyebrow) {
  font-size: 0.95rem;
  color: #d1dce4;
}
.jm-conflict-option:last-child p {
  margin-bottom: 0;
}
/* Editorial feedback, about and long service pages */
.jm-testimonial {
  max-width: none;
}
.jm-quote,
.is-style-jm-editorial {
  border: 0;
  margin: 0;
  padding: 0;
  max-width: 950px;
}
.jm-quote p,
.is-style-jm-editorial p {
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.005em;
}
.jm-quote::before,
.is-style-jm-editorial::before {
  content: "“";
  display: block;
  font-size: 5rem;
  line-height: 0.8;
  color: var(--jm-teal);
  font-weight: 800;
  margin-bottom: 16px;
}
.jm-quote cite,
.is-style-jm-editorial cite {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--jm-muted);
  margin-top: 24px;
}
.jm-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 96px;
  align-items: center;
}
.jm-about-photo {
  margin: 0;
}
.jm-about-photo img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  border-radius: 4px 100px 4px 4px;
}
.jm-about-copy h2 {
  margin-top: 0;
}
.jm-learning .jm-inset {
  margin-top: 0;
  background: var(--jm-tint);
}
.jm-final-content {
  max-width: 820px;
}
.jm-final-content h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-top: 0;
}
.jm-final-content > p:not(.jm-eyebrow) {
  max-width: 50ch;
}
.jm-final-content .wp-block-buttons {
  margin-top: 32px;
}
.jm-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}
.jm-facts > div {
  padding: 12px 0;
  margin-block: 0;
}
.jm-editorial-row > *,
.jm-split > *,
.jm-course-hero-grid > * {
  margin-block: 0;
}
.jm-fact-value {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px !important;
}
.jm-fact-label {
  font-size: 0.72rem;
  color: var(--jm-muted);
  margin: 0 !important;
}
.jm-price-note {
  font-size: 0.85rem;
}
.jm-price-note:empty {
  display: none;
}
.jm-editorial-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 80px;
  padding: 40px 0;
}
.jm-editorial-row > h2 {
  font-size: 1.6rem;
  margin: 0 !important;
  letter-spacing: -0.0088em;
}
.jm-editorial-body > *:last-child {
  margin-bottom: 0;
}
.jm-course-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: center;
}
.jm-course-hero-grid h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.2rem);
}
.jm-course-hero-grid figure {
  margin: 0;
}
.jm-course-hero-grid img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
  border-radius: 4px 90px 4px 4px;
}
.jm-course-hero-grid .jm-lede {
  max-width: 48ch;
}
.wp-block-details {
  max-width: var(--jm-measure);
  padding: 24px 0;
  border-bottom: 1px solid var(--jm-line);
}
.wp-block-details summary {
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 28px;
}
.wp-block-details[open] summary {
  margin-bottom: 20px;
}
.jm-draft-note {
  background: var(--jm-tint);
  padding: 20px;
}
.jm-legal h2 {
  font-size: 1.5rem;
}
.jm-legal h3 {
  font-size: 1.2rem;
}
.jm-legal p,
.jm-legal li {
  font-size: 0.95rem;
}
.jm-inline-price {
  font-weight: 600;
}
.jm-band > .jm-quote + .jm-quote {
  margin-top: 48px;
}
/* Footer */
.site-footer,
.site-info {
  background: var(--jm-navy);
  color: #d1dce4;
}
.site-footer a,
.site-info a {
  color: white;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.jm-footer {
  max-width: 1328px;
  margin: auto;
  padding: 64px var(--jm-gutter) 40px;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr 0.75fr 1.2fr;
  font-size: 0.875rem;
}
.jm-footer h2 {
  font-size: 0.75rem;
  color: #90e3dc;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.jm-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.jm-footer li {
  margin-bottom: 12px;
}
.jm-footer li a {
  display: inline-block;
  padding-block: 3px;
}
.jm-footer-legal {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0 40px;
  border-top: 1px solid #506575;
  font-size: 0.7rem;
}
.jm-footer-legal li {
  display: inline;
  list-style: none;
  margin-left: 20px;
}
.jm-footer-legal p {
  margin: 0;
  max-width: none;
}
.jm-footer-legal ul {
  margin: 0;
  padding: 0;
}
/* Content-led breakpoints */
@media (min-width: 1025px) {
  .site-header .inside-header {
    flex-wrap: nowrap;
  }
  .main-title {
    white-space: nowrap;
  }
  .main-navigation .main-nav > ul {
    flex-wrap: nowrap;
  }
  .main-navigation .main-nav ul li a {
    white-space: nowrap;
  }
}
@media (max-width: 1100px) {
  .jm-home-grid {
    gap: 40px;
  }
  .jm-home-copy h1 {
    font-size: 3.6rem;
  }
  .jm-home-copy .wp-block-button .wp-element-button {
    padding-inline: 18px;
  }
  .jm-training-grid,
  .jm-split,
  .jm-about-grid {
    gap: 48px;
  }
  .main-navigation .main-nav ul li a {
    padding-inline: 8px;
    font-size: 0.76rem;
  }
  .jm-footer-legal {
    margin-inline: var(--jm-gutter);
  }
}
@media (max-width: 900px) {
  .jm-trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .jm-course-hero-grid {
    grid-template-columns: 1fr;
  }
  .jm-course-hero-grid figure {
    display: none;
  }
  .jm-home-copy h1 {
    font-size: 3rem;
  }
  .jm-home-grid {
    gap: 32px;
  }
  .jm-home-copy .jm-eyebrow {
    font-size: 0.6rem;
  }
  .jm-photo-caption {
    left: -12px;
    padding: 16px;
  }
  .jm-caption-role {
    font-size: 0.65rem;
  }
  .jm-editorial-row {
    gap: 40px;
  }
  .jm-footer {
    grid-template-columns: 1fr 1fr;
  }
  .jm-brief-grid {
    gap: 32px;
  }
  .jm-brief-aside {
    padding: 28px;
  }
}
@media (max-width: 767px) {
  .site-header .inside-header {
    padding-block: 18px;
    gap: 12px;
  }
  .main-title {
    font-size: 1.15rem;
  }
  .site-header .mobile-menu-control-wrapper {
    margin-left: auto;
  }
  .main-navigation {
    width: 100%;
  }
  .main-navigation .main-nav ul li.jm-nav-cta > a {
    margin: 12px 20px 20px;
  }
  .main-navigation .main-nav ul li a {
    font-size: 0.95rem;
    line-height: 52px;
  }
  .main-navigation .main-nav ul ul {
    width: 100%;
    box-shadow: none;
    border: 0;
  }
  .jm-home-hero {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .jm-home-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .jm-home-copy h1 {
    font-size: clamp(2.7rem, 9vw, 3.75rem);
    max-width: 15ch;
  }
  .jm-home-copy .jm-eyebrow {
    font-size: 0.65rem;
  }
  .jm-home-copy .jm-lede {
    font-size: 1.05rem;
  }
  .jm-home-visual {
    max-width: 480px;
    width: 100%;
    justify-self: center;
  }
  .jm-portrait img {
    aspect-ratio: 1.25;
    border-top-left-radius: 100px;
    object-position: center 40%;
  }
  .jm-photo-caption {
    left: -8px;
    bottom: 16px;
  }
  .jm-caption-role {
    font-size: 0.68rem;
  }
  .jm-trust-grid {
    gap: 24px;
  }
  .jm-trust {
    padding-block: 28px;
  }
  .jm-training-grid,
  .jm-split,
  .jm-about-grid,
  .jm-brief-grid,
  .jm-editorial-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .jm-training-photo {
    margin-top: 16px;
  }
  .jm-training-photo img {
    aspect-ratio: 1.4;
  }
  .jm-conflict-options {
    margin-top: 8px;
  }
  .jm-about-grid {
    gap: 40px;
  }
  .jm-about-photo img {
    max-height: 440px;
  }
  .jm-editorial-row {
    padding-block: 32px;
    gap: 20px;
  }
  .jm-editorial-row > h2 {
    font-size: 1.5rem;
  }
  .jm-facts {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .jm-fact-value {
    font-size: 1rem;
  }
  .jm-footer {
    padding-top: 48px;
    gap: 32px 24px;
    font-size: 0.875rem;
  }
  .jm-footer h2 {
    font-size: 0.7rem;
  }
  .jm-footer-legal li {
    margin-left: 0;
    margin-right: 16px;
  }
  .jm-final-content .wp-block-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  .jm-band > h2:not(:first-child) {
    margin-top: 1em;
  }
  .jm-home-copy .wp-block-buttons {
    gap: 10px;
  }
  .jm-home-copy .wp-block-button .wp-element-button {
    font-size: 0.83rem;
    padding-inline: 16px;
  }
}
@media (max-width: 380px) {
  .jm-home-copy .wp-block-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .jm-home-copy .wp-block-button .wp-element-button {
    width: 100%;
  }
  .jm-footer {
    grid-template-columns: 1fr;
  }
  .jm-trust-grid {
    grid-template-columns: 1fr;
  }
  .jm-facts {
    grid-template-columns: 1fr;
  }
  .jm-home-copy h1 {
    font-size: 2.6rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 767px) {
  .site-header .inside-header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .site-header .main-navigation {
    width: auto;
    margin-left: auto;
  }
  .site-header .main-navigation.toggled {
    width: 100%;
    margin-left: 0;
  }
  .site-header .main-navigation .menu-toggle {
    padding: 8px 12px;
  }
  .jm-quote p,
  .is-style-jm-editorial p {
    font-style: normal;
  }
}

/* Complete navigation states, including GeneratePress keyboard and current-item selectors. */
.site-header .main-navigation .main-nav ul li > a,
.site-header .main-navigation .main-nav ul ul li > a {
  color: var(--jm-navy);
}
.site-header
  .main-navigation
  .main-nav
  ul
  li:not([class*="current-menu-"]):hover
  > a,
.site-header
  .main-navigation
  .main-nav
  ul
  li:not([class*="current-menu-"]):focus-within
  > a,
.site-header .main-navigation .main-nav ul li.sfHover > a,
.site-header .main-navigation .main-nav ul li[class*="current-menu-"] > a,
.site-header .main-navigation .main-nav ul ul li > a:hover,
.site-header .main-navigation .main-nav ul ul li > a:focus-visible {
  color: var(--jm-teal-dark);
  background: var(--jm-grey);
}
.site-header .main-navigation .main-nav ul li.jm-nav-cta > a,
.site-header
  .main-navigation
  .main-nav
  ul
  li.jm-nav-cta[class*="current-menu-"]
  > a {
  color: white;
  background: var(--jm-navy);
}
.site-header .main-navigation .main-nav ul li.jm-nav-cta > a:hover,
.site-header .main-navigation .main-nav ul li.jm-nav-cta > a:focus-visible {
  color: white;
  background: var(--jm-teal-dark);
}
.jm-home-copy h1 {
  word-spacing: 0.035em;
  max-width: none;
}
.site-header .main-navigation .main-nav .jm-menu-dismissed > ul {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 960px) {
  .site-header .inside-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding-block: 16px;
    gap: 0 16px;
  }
  .site-header .site-branding {
    margin: 0;
  }
  .site-header .mobile-menu-control-wrapper {
    display: flex;
    width: auto;
    margin-left: auto;
  }
  .site-header .mobile-menu-control-wrapper .menu-toggle {
    width: auto;
    line-height: 48px;
    min-height: 48px;
    padding: 0 12px;
    font-family: inherit;
    font-size: 0.95rem;
  }
  .site-header #site-navigation:not(.toggled) {
    display: none;
  }
  .site-header #site-navigation.toggled {
    display: block;
    flex-basis: 100%;
    width: 100%;
    margin: 12px 0 0;
  }
  .site-header .main-navigation .main-nav ul li a {
    font-size: 1rem;
    line-height: 52px;
  }
  .site-header .main-navigation .main-nav ul ul {
    width: 100%;
    box-shadow: none;
    border: 0;
  }
  .site-header .main-navigation .main-nav ul ul li a {
    white-space: normal;
    line-height: 1.5;
    padding: 14px 20px;
  }
  .site-header .main-navigation .dropdown-menu-toggle {
    min-width: 44px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
  }
  .site-header .main-navigation .main-nav ul li.jm-nav-cta > a {
    margin: 12px 0 0;
    text-align: center;
  }
}

/* MHFA flagship: page-specific editorial art direction, pending owner approval. */

.jm-mhfa-flagship {
  --mf-content: 1280px;
  --mf-reading: 64ch;
  --mf-space: clamp(64px, 6.5vw, 96px);
  color: var(--jm-navy);
}
.jm-mhfa-flagship .mf-section {
  margin: 0;
  padding: var(--mf-space) 0;
}
.jm-mhfa-flagship .mf-wrap {
  max-width: var(--mf-content);
  padding-inline: clamp(24px, 4vw, 48px);
  margin-inline: auto;
}
.jm-mhfa-flagship .wp-block-group {
  margin-block-start: 0;
}
.jm-mhfa-flagship h1,
.jm-mhfa-flagship h2 {
  font-family: var(--jm-font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.0063em;
  line-height: 1.02;
  text-wrap: balance;
}
.jm-mhfa-flagship h1 {
  font-size: clamp(4.5rem, 6.8vw, 6rem);
  margin: 0;
}
.jm-mhfa-flagship h2 {
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  margin: 0 0 28px;
}
.jm-mhfa-flagship h3 {
  font-size: 1.3rem;
  letter-spacing: -0.005em;
  line-height: 1.35;
  margin: 0 0 16px;
}
.jm-mhfa-flagship p {
  font-size: 1rem;
  line-height: 1.8;
  max-width: var(--mf-reading);
}
.jm-mhfa-flagship .mf-kicker {
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0.07em;
  font-weight: 600;
  color: var(--jm-teal-dark);
  margin: 0 0 28px;
}
.jm-mhfa-flagship .mf-text-action {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 28px;
}
.jm-mhfa-flagship .mf-text-action a {
  display: inline-block;
  padding-block: 8px;
}
.jm-mhfa-flagship .mf-hero {
  background: var(--jm-navy);
  color: white;
  padding-bottom: 0;
}
.jm-mhfa-flagship .mf-hero a {
  color: white;
}
.jm-mhfa-flagship .mf-hero .mf-kicker {
  color: #b6d9dc;
  margin-bottom: 32px;
}
.jm-mhfa-flagship .mf-masthead {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.jm-mhfa-flagship .mf-hero-statement {
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 20px;
}
.jm-mhfa-flagship .mf-intro {
  color: #d1dce4;
  margin: 0 0 28px;
}
.jm-mhfa-flagship .mf-accreditation {
  font-size: 0.875rem;
  color: #d1dce4;
  line-height: 1.7;
  margin: 24px 0 0;
}
.jm-mhfa-flagship .mf-hero .wp-block-buttons {
  gap: 12px;
}
.jm-mhfa-flagship .mf-hero .wp-block-button .wp-element-button {
  background: white;
  color: var(--jm-navy);
  padding: 14px 20px;
}
.jm-mhfa-flagship
  .mf-hero
  .wp-block-button.is-style-outline
  .wp-element-button {
  background: transparent;
  color: white;
  border-color: #b6cbd7;
}
.jm-mhfa-flagship .mf-hero .wp-block-button .wp-element-button:hover {
  background: var(--jm-tint);
  color: var(--jm-navy);
}
.jm-mhfa-flagship .mf-hero :focus-visible {
  outline-color: #90e3dc;
}
.jm-mhfa-flagship .mf-hero-image {
  margin: 48px 0 0;
}
.jm-mhfa-flagship .mf-hero-image img {
  width: 100%;
  height: clamp(300px, 35vw, 480px);
  object-fit: cover;
  object-position: 50% 25%;
  display: block;
}
.jm-mhfa-flagship .mf-hero-image figcaption {
  background: white;
  color: var(--jm-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  padding: 16px 0;
  margin: 0;
}
.jm-mhfa-flagship .mf-essentials {
  padding: 24px 0 0;
}
.jm-mhfa-flagship .mf-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--jm-line);
}
.jm-mhfa-flagship .mf-fact-label {
  font-size: 0.875rem;
  color: var(--jm-muted);
  margin: 0 0 8px;
}
.jm-mhfa-flagship .mf-fact-value {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}
.jm-mhfa-flagship .mf-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 16px 0 0;
  max-width: none;
}
.jm-mhfa-flagship .mf-jump-links a {
  padding: 10px 0;
}
.jm-mhfa-flagship .mf-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.jm-mhfa-flagship .mf-story h2 {
  font-size: clamp(3rem, 5vw, 5rem);
  max-width: 14ch;
}
.jm-mhfa-flagship .mf-story-copy {
  padding-top: 48px;
}
.jm-mhfa-flagship .mf-story-lead {
  font-size: 1.35rem;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 24px;
}
.jm-mhfa-flagship .mf-curriculum {
  background: #f4f7f9;
}
.jm-mhfa-flagship .mf-curriculum-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(48px, 8vw, 128px);
}
.jm-mhfa-flagship .mf-curriculum h2 {
  font-size: clamp(3.8rem, 6vw, 6rem);
  line-height: 0.95;
  margin-bottom: 32px;
}
.jm-mhfa-flagship .mf-curriculum-intro > p:not(.mf-kicker) {
  max-width: 34ch;
}
.jm-mhfa-flagship .mf-module {
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid #b7cbd3;
  max-width: none;
}
.jm-mhfa-flagship .mf-module:first-child {
  border-top: 1px solid #b7cbd3;
}
.jm-mhfa-flagship .mf-module summary {
  font-size: 1.1rem;
  line-height: 1.55;
  font-weight: 600;
  padding-right: 8px;
}
.jm-mhfa-flagship .mf-module p {
  margin: 20px 0 0;
  font-size: 1rem;
  color: var(--jm-muted);
}
.jm-mhfa-flagship .mf-experience {
  background: var(--jm-navy);
  color: white;
}
.jm-mhfa-flagship .mf-experience .mf-kicker {
  color: #a6d6d6;
}
.jm-mhfa-flagship .mf-experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}
.jm-mhfa-flagship .mf-experience-intro {
  max-width: 42ch;
  color: #d1dce4;
}
.jm-mhfa-flagship .mf-experience-row {
  padding: 24px 0;
  border-top: 1px solid #506575;
}
.jm-mhfa-flagship .mf-experience-row:first-child {
  padding-top: 0;
  border: 0;
}
.jm-mhfa-flagship .mf-experience-row p {
  color: #d1dce4;
  margin-bottom: 0;
}
.jm-mhfa-flagship .mf-role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
}
.jm-mhfa-flagship .mf-boundaries {
  background: var(--jm-tint);
  padding: 40px;
}
.jm-mhfa-flagship .mf-boundaries h2 {
  font-size: clamp(2.7rem, 4vw, 3.5rem);
}
.jm-mhfa-flagship .mf-boundaries > *:last-child,
.jm-mhfa-flagship .mf-suitability > *:last-child {
  margin-bottom: 0;
}
.jm-mhfa-flagship .mf-proof {
  background: var(--jm-teal-dark);
  color: white;
}
.jm-mhfa-flagship .mf-proof .mf-kicker {
  color: #c6e8e5;
}
.jm-mhfa-flagship .mf-featured-quote {
  border: 0;
  padding: 0;
  margin: 0;
  max-width: 1050px;
}
.jm-mhfa-flagship .mf-featured-quote p {
  font-family: var(--jm-font-display);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-style: normal;
  line-height: 1.3;
  letter-spacing: -0.0037em;
  max-width: none;
}
.jm-mhfa-flagship .mf-featured-quote cite {
  font-style: normal;
  display: block;
  font-size: 0.875rem;
  line-height: 1.8;
  margin-top: 28px;
  max-width: 50ch;
  color: #d8efec;
}
.jm-mhfa-flagship .mf-more-feedback {
  margin: 40px 0 0;
  padding: 20px 0;
  border-color: #76a5a8;
  max-width: 100%;
}
.jm-mhfa-flagship .mf-more-feedback summary {
  font-size: 0.95rem;
}
.jm-mhfa-flagship .mf-secondary-quote {
  padding: 24px 0 0;
  border: 0;
  margin: 0;
  max-width: 75ch;
}
.jm-mhfa-flagship .mf-secondary-quote p {
  font-size: 1.05rem;
  font-style: normal;
}
.jm-mhfa-flagship .mf-secondary-quote cite {
  font-size: 0.875rem;
  font-style: normal;
  color: #d8efec;
}
.jm-mhfa-flagship .mf-proof :focus-visible {
  outline-color: white;
}
.jm-mhfa-flagship .mf-trainer-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(48px, 8vw, 128px);
  align-items: center;
}
.jm-mhfa-flagship .mf-trainer-photo {
  margin: 0;
}
.jm-mhfa-flagship .mf-trainer-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50% 50% 4px 4px;
}
.jm-mhfa-flagship .mf-trainer-copy > p {
  max-width: 54ch;
}
.jm-mhfa-flagship .mf-booking {
  background: var(--jm-tint);
}
.jm-mhfa-flagship .mf-booking > div > h2 {
  max-width: 22ch;
}
.jm-mhfa-flagship .mf-booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
}
.jm-mhfa-flagship .mf-public-route {
  padding-top: 28px;
  border-top: 1px solid #94b8bd;
}
.jm-mhfa-flagship .mf-private-route {
  padding-top: 28px;
  border-top: 1px solid #94b8bd;
}
.jm-mhfa-flagship .mf-route-label {
  font-size: 0.875rem;
  color: var(--jm-teal-dark);
  font-weight: 600;
  margin-bottom: 20px;
}
.jm-mhfa-flagship .mf-booking-grid .wp-block-buttons {
  margin-top: 28px;
}
.jm-mhfa-flagship .mf-booking-note {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--jm-muted);
  margin-top: 20px;
  max-width: 48ch;
}
.jm-mhfa-flagship .mf-faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(48px, 8vw, 128px);
}
.jm-mhfa-flagship .mf-faq {
  max-width: none;
  margin: 0;
  padding: 24px 0;
}
.jm-mhfa-flagship .mf-faq:first-child {
  padding-top: 0;
}
.jm-mhfa-flagship .mf-faq summary {
  font-size: 1rem;
  line-height: 1.6;
}
.jm-mhfa-flagship .mf-faq p {
  font-size: 1rem;
  margin-top: 20px;
}
.jm-mhfa-flagship .mf-related {
  padding-top: 0;
}
.jm-mhfa-flagship .mf-related-inner {
  padding-top: 36px;
  border-top: 1px solid var(--jm-line);
}
.jm-mhfa-flagship .mf-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.jm-mhfa-flagship .mf-related-item h3 {
  font-size: 1.15rem;
}
.jm-mhfa-flagship .mf-related-item p {
  font-size: 0.95rem;
  color: var(--jm-muted);
  margin-bottom: 0;
}
@media (max-width: 1100px) {
  .jm-mhfa-flagship .mf-masthead {
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
  }
  .jm-mhfa-flagship .mf-hero .wp-block-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  .jm-mhfa-flagship .mf-accreditation {
    max-width: 44ch;
  }
  .jm-mhfa-flagship .mf-booking-grid {
    gap: 40px;
  }
}
@media (max-width: 800px) {
  .jm-mhfa-flagship .mf-masthead {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .jm-mhfa-flagship h1 {
    font-size: clamp(4rem, 10vw, 6rem);
  }

  .jm-mhfa-flagship .mf-hero-copy {
    max-width: 60ch;
  }
  .jm-mhfa-flagship .mf-hero .wp-block-buttons {
    flex-direction: row;
  }
  .jm-mhfa-flagship .mf-hero-image {
    margin-top: 36px;
  }
  .jm-mhfa-flagship .mf-hero-image img {
    height: auto;
  }
  .jm-mhfa-flagship .mf-facts {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .jm-mhfa-flagship .mf-story-grid,
  .jm-mhfa-flagship .mf-curriculum-grid,
  .jm-mhfa-flagship .mf-experience-grid,
  .jm-mhfa-flagship .mf-role-grid,
  .jm-mhfa-flagship .mf-faq-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .jm-mhfa-flagship .mf-story-copy {
    padding-top: 0;
  }

  .jm-mhfa-flagship .mf-curriculum h2 {
    font-size: 3.75rem;
    max-width: 10ch;
  }
  .jm-mhfa-flagship .mf-curriculum-intro > p:not(.mf-kicker) {
    max-width: 54ch;
  }
  .jm-mhfa-flagship .mf-trainer-grid {
    gap: 40px;
    grid-template-columns: 0.7fr 1fr;
    align-items: start;
  }
  .jm-mhfa-flagship .mf-trainer-copy h2 {
    font-size: 3rem;
  }
  .jm-mhfa-flagship .mf-booking-grid {
    gap: 36px;
  }
}
@media (max-width: 600px) {
  .jm-mhfa-flagship .mf-section {
    padding-block: 56px;
  }
  .jm-mhfa-flagship .mf-hero {
    padding-bottom: 0;
    padding-top: 36px;
  }
  .jm-mhfa-flagship .mf-hero .mf-kicker {
    font-size: 0.8125rem;
    margin-bottom: 24px;
  }
  .jm-mhfa-flagship h1 {
    font-size: clamp(3.25rem, 15vw, 4.25rem);
    line-height: 0.98;
    max-width: none;
  }
  .jm-mhfa-flagship .mf-hero-statement {
    font-size: 1.3rem;
  }
  .jm-mhfa-flagship .mf-hero .wp-block-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .jm-mhfa-flagship .mf-hero .wp-block-button .wp-element-button {
    width: 100%;
    font-size: 0.9rem;
  }
  .jm-mhfa-flagship .mf-accreditation {
    font-size: 0.875rem;
  }
  .jm-mhfa-flagship .mf-essentials {
    padding-top: 8px;
    padding-bottom: 0;
  }
  .jm-mhfa-flagship .mf-facts {
    gap: 24px 16px;
  }
  .jm-mhfa-flagship .mf-fact-label {
    font-size: 0.8125rem;
  }
  .jm-mhfa-flagship .mf-fact-value {
    font-size: 1rem;
  }
  .jm-mhfa-flagship .mf-jump-links {
    gap: 4px 24px;
    font-size: 0.875rem;
  }
  .jm-mhfa-flagship h2 {
    font-size: 2.8rem;
  }
  .jm-mhfa-flagship .mf-story h2 {
    font-size: 3.1rem;
  }
  .jm-mhfa-flagship .mf-story-lead {
    font-size: 1.15rem;
  }
  .jm-mhfa-flagship .mf-curriculum h2 {
    font-size: 3.5rem;
    max-width: 9ch;
  }
  .jm-mhfa-flagship .mf-module {
    padding-block: 22px;
  }
  .jm-mhfa-flagship .mf-module summary {
    font-size: 1rem;
  }
  .jm-mhfa-flagship .mf-boundaries {
    padding: 28px;
  }
  .jm-mhfa-flagship .mf-featured-quote p {
    font-size: 1.9rem;
  }
  .jm-mhfa-flagship .mf-trainer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .jm-mhfa-flagship .mf-trainer-photo {
    max-width: 280px;
  }
  .jm-mhfa-flagship .mf-booking-grid,
  .jm-mhfa-flagship .mf-related-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .jm-mhfa-flagship .mf-booking h2 {
    font-size: 2.9rem;
  }
  .jm-mhfa-flagship .mf-booking-grid {
    margin-top: 32px;
  }
  .jm-mhfa-flagship .mf-related {
    padding-top: 0;
  }
  .jm-mhfa-flagship .mf-related-item h3 {
    font-size: 1.1rem;
  }
}

/* V4: reusable contemporary editorial typography, opt in per page/group. */
@font-face {font-family:"Manrope";src:url("fonts/manrope/manrope-latin.woff2") format("woff2");font-weight:400 700;font-style:normal;font-display:swap;}
@font-face {font-family:"Inter";src:url("fonts/inter/inter-latin.woff2") format("woff2");font-weight:400 700;font-style:normal;font-display:swap;}
:root {
 --jm-font-display:"Allo",system-ui,sans-serif;
 --jm-font-reading:"Allo",system-ui,sans-serif;
 --jm-type-body:1.1875rem;
 --jm-type-leading:1.65;
 --jm-type-h1:clamp(2.6rem,5vw,5rem);
 --jm-type-h2:clamp(2rem,3.4vw,3.5rem);
 --jm-type-h3:clamp(1.45rem,2vw,1.9rem);
 --jm-type-reading:64ch;
 --jm-header-offset:112px;
}
/* The header is a direct body child. No scroll listener or transform needed. */
.site-header {position:sticky;top:0;z-index:100;border-bottom:1px solid var(--jm-line);}
body.admin-bar .site-header {top:32px;}
html {scroll-padding-top:var(--jm-header-offset);}
:where(main, .site-content) :target {scroll-margin-top:16px;}
.site-header .main-navigation .main-nav ul li a {font-size:.9375rem;padding-inline:10px;}
@media(min-width:961px) and (max-width:1199px){
 .site-header .inside-header {gap:12px;padding-inline:24px;}
 .site-header .main-navigation .main-nav ul li a {padding-inline:7px;}
}
@media(max-width:960px){
 :root {--jm-header-offset:96px;}
 .site-header #site-navigation.toggled {max-height:calc(100dvh - 82px);overflow-y:auto;overscroll-behavior:contain;}
 body.admin-bar .site-header #site-navigation.toggled {max-height:calc(100dvh - 128px);}
}
@media(max-width:782px){body.admin-bar .site-header {top:46px;}}
@media(max-width:600px){body.admin-bar .site-header {top:0;}}
/* Reusable class is available to future pages after owner approval. */
:is(.jm-type-editorial,.is-style-jm-contemporary),.jm-mhfa-flagship {font-family:var(--jm-font-reading);--mf-reading:var(--jm-type-reading);}
:is(.jm-type-editorial,.is-style-jm-contemporary) :is(h1,h2,h3,h4),
.jm-mhfa-flagship :is(h1,h2,h3,h4) {font-family:var(--jm-font-display);font-weight:700;letter-spacing:-0.0088em;line-height:1.16;}
:is(.jm-type-editorial,.is-style-jm-contemporary) h1,.jm-mhfa-flagship h1 {font-size:var(--jm-type-h1);line-height:1.08;}
:is(.jm-type-editorial,.is-style-jm-contemporary) h2,.jm-mhfa-flagship h2 {font-size:var(--jm-type-h2);}
:is(.jm-type-editorial,.is-style-jm-contemporary) h3,.jm-mhfa-flagship h3 {font-size:var(--jm-type-h3);line-height:1.25;letter-spacing:-0.0063em;}
:is(.jm-type-editorial,.is-style-jm-contemporary) p,.jm-mhfa-flagship p {font-family:var(--jm-font-reading);font-size:var(--jm-type-body);font-weight:400;line-height:var(--jm-type-leading);max-width:var(--jm-type-reading);}
.jm-mhfa-flagship :is(.mf-story h2,.mf-curriculum h2,.mf-boundaries h2,.mf-trainer-copy h2,.mf-booking h2){font-size:var(--jm-type-h2);line-height:1.16;}
.jm-mhfa-flagship .mf-story h2 {max-width:16ch;}
.jm-mhfa-flagship :is(.mf-module p,.mf-related-item p,.mf-booking-note) {color:var(--jm-navy);}
.jm-mhfa-flagship :is(.mf-intro,.mf-accreditation,.mf-experience-intro,.mf-experience-row p){color:#e5edf2;}
.jm-mhfa-flagship :is(.mf-kicker,.mf-route-label) {font-size:1rem;font-weight:600;letter-spacing:.025em;line-height:1.5;}
.jm-mhfa-flagship :is(.mf-fact-label,.mf-accreditation,.mf-booking-note,.mf-text-action){font-size:1rem;line-height:1.65;}
.jm-mhfa-flagship .mf-fact-value {font-size:1.125rem;font-weight:600;line-height:1.5;}
.jm-mhfa-flagship .mf-hero-statement {font-size:clamp(1.35rem,1.8vw,1.65rem);font-weight:600;line-height:1.4;}
.jm-mhfa-flagship .mf-story-lead {font-size:clamp(1.25rem,1.6vw,1.5rem);font-weight:500;line-height:1.5;}
.jm-mhfa-flagship .mf-featured-quote p {font-family:var(--jm-font-display);font-size:clamp(1.6rem,2.7vw,2.5rem);font-weight:600;line-height:1.4;letter-spacing:-0.0063em;max-width:46ch;}
.jm-mhfa-flagship :is(.mf-featured-quote cite,.mf-secondary-quote cite){font-family:var(--jm-font-reading);font-size:1rem;line-height:1.65;}
.jm-mhfa-flagship :is(.mf-module summary,.mf-faq summary,.mf-more-feedback summary){font-size:1.125rem;font-weight:600;line-height:1.5;}
.jm-mhfa-flagship .mf-jump-links {font-size:1rem;}
.jm-mhfa-flagship .wp-block-button .wp-element-button {font-family:var(--jm-font-reading);font-size:1rem;font-weight:600;line-height:1.5;white-space:normal;}
.jm-mhfa-flagship .mf-masthead {grid-template-columns:1.12fr 1fr;gap:clamp(32px,5vw,72px);}
.jm-mhfa-flagship .mf-story-copy {padding-top:36px;}
.jm-mhfa-flagship .mf-curriculum-intro > p:not(.mf-kicker){max-width:42ch;}
.jm-mhfa-flagship :is(.mf-fact-label,.mf-hero-image figcaption){color:#40556a;}
body:has(.jm-mhfa-flagship) :is(.site-header,.site-footer){font-family:var(--jm-font-reading);}
body:has(.jm-mhfa-flagship) :is(.main-title,.site-footer h2){font-family:var(--jm-font-display);}
@media(max-width:800px){
 .jm-mhfa-flagship .mf-masthead {grid-template-columns:1fr;gap:32px;}
 .jm-mhfa-flagship .mf-story-copy {padding-top:0;}
}
@media(max-width:600px){
 :root {--jm-type-body:1.125rem;}
 .jm-mhfa-flagship h1 {font-size:clamp(2.6rem,10.7vw,3.75rem);letter-spacing:-0.0088em;}
 .jm-mhfa-flagship .mf-section {padding-block:56px;}
 .jm-mhfa-flagship .mf-hero {padding-bottom:0;}
 .jm-mhfa-flagship .mf-essentials {padding-top:16px;padding-bottom:0;}
 .jm-mhfa-flagship .mf-related {padding-top:0;}
 .jm-mhfa-flagship .mf-boundaries {padding:28px 24px;}
 .jm-mhfa-flagship .mf-kicker {margin-bottom:24px;}
 .jm-mhfa-flagship .mf-hero .wp-block-button .wp-element-button {font-size:1rem;}
}

body:has(.jm-mhfa-flagship) .site-footer p {font-size:1rem;line-height:1.65;}
/* GP puts .toggled on both the panel and its separate mobile control.
   Keep the control on the brand row; only the actual panel may expand. */
.site-header .mobile-menu-control-wrapper .menu-toggle,
.site-header .mobile-menu-control-wrapper .menu-toggle:hover,
.site-header .mobile-menu-control-wrapper .menu-toggle:focus,
.site-header .mobile-menu-control-wrapper.toggled .menu-toggle {
 color:var(--jm-navy);background:var(--jm-grey);
}
.site-header .mobile-menu-control-wrapper .menu-toggle:focus-visible {outline:3px solid var(--jm-teal-dark);outline-offset:2px;}
@media(max-width:960px){
 .site-header .mobile-menu-control-wrapper.toggled {width:auto;flex-basis:auto;margin-left:auto;}
 .site-header #site-navigation.toggled {position:absolute;top:100%;left:0;right:0;width:100%;margin:0;padding:12px var(--jm-gutter) 20px;background:var(--jm-white);border-bottom:1px solid var(--jm-line);}
}
/* Explicitly replace V3's component-level small paragraph sizes too. */
.jm-mhfa-flagship :is(.mf-module,.mf-faq,.mf-related-item,.mf-secondary-quote) p,
.jm-mhfa-flagship :is(.mf-accreditation,.mf-booking-note) {font-size:var(--jm-type-body);line-height:var(--jm-type-leading);}
.jm-mhfa-flagship .mf-hero .mf-kicker {font-size:1rem;}
body:has(.jm-mhfa-flagship) {font-family:var(--jm-font-reading);}
html:has(body.admin-bar) {scroll-padding-top:calc(var(--jm-header-offset) + 32px);}
@media(max-width:782px){html:has(body.admin-bar){scroll-padding-top:calc(var(--jm-header-offset) + 46px);}}
@media(max-width:600px){html:has(body.admin-bar){scroll-padding-top:var(--jm-header-offset);}}

/* Coordinated four-page review, November 2026. Native editable blocks. */
.jn-contact {--jm-error:#9f271b;}
.jn-contact .ff-el-is-error .error.text-danger {color:var(--jm-error);}
.jn-contact .ff-el-is-error :is(input,select,textarea) {border-color:var(--jm-error);}
body:has(.jn-page) {font-family:var(--jm-font-reading);}
body:has(.jn-page) .site-header {font-family:var(--jm-font-reading);}
body:has(.jn-page) .main-title {font-family:var(--jm-font-display);font-size:1.375rem;letter-spacing:-0.0088em;}
.jn-page {font-family:var(--jm-font-reading);color:var(--jm-navy);--jn-width:1280px;--jn-gap:clamp(32px,5vw,80px);}
.jn-page .wp-block-group {margin-block-start:0;}
.jn-page :is(h1,h2,h3) {font-family:var(--jm-font-display);font-weight:700;letter-spacing:-0.01em;line-height:1.12;color:inherit;text-wrap:balance;}
.jn-page h1 {font-size:clamp(3rem,5.4vw,5.25rem);margin:0 0 28px;line-height:1.055;}
.jn-page h2 {font-size:clamp(2rem,3.6vw,3.6rem);margin:0 0 28px;}
.jn-page h3 {font-size:clamp(1.4rem,2vw,1.8rem);margin:0 0 12px;line-height:1.25;letter-spacing:-0.0063em;}
.jn-page p {font-size:1.1875rem;line-height:1.65;max-width:64ch;margin:0 0 24px;}
.jn-page a {text-underline-offset:5px;}
.jn-page .jn-section {margin:0;padding:clamp(64px,7vw,104px) 0;}
.jn-page .jn-wrap {max-width:var(--jn-width);margin-inline:auto;padding-inline:clamp(24px,4vw,48px);}
.jn-page .jn-kicker {font-size:1rem;font-weight:600;line-height:1.5;letter-spacing:.015em;color:var(--jm-teal-dark);margin:0 0 28px;}
.jn-page .jn-lead {font-size:1.25rem;line-height:1.65;max-width:48ch;}
.jn-page .jn-small {font-size:1rem;line-height:1.65;}
.jn-page .wp-block-buttons {gap:12px;margin:28px 0;}
.jn-page .wp-block-button .wp-element-button {font-family:var(--jm-font-reading);font-size:1rem;font-weight:600;line-height:1.5;padding:15px 22px;border-radius:3px;background:#0e7c86;color:white;white-space:normal;}
.jn-page .wp-block-button.is-style-outline .wp-element-button {background:transparent;border:1px solid var(--jm-navy);color:var(--jm-navy);padding:14px 21px;}
.jn-page .wp-block-button .wp-element-button:hover {background:var(--jm-navy);color:white;}
.jn-page .jn-hero-grid {display:grid;grid-template-columns:1.18fr 1fr;gap:var(--jn-gap);align-items:center;}
.jn-page .jn-hero-copy > :last-child {margin-bottom:0;}
.jn-page .jn-home-hero {padding-top:64px;padding-bottom:64px;background:linear-gradient(90deg,#fff 0%,#fff 70%,#eef3f6 70%);}
.jn-page .jn-hero-visual {min-width:0;}
.jn-page figure {margin:0;}
.jn-page img {display:block;max-width:100%;height:auto;}
.jn-page .jn-hero-photo img {width:100%;aspect-ratio: .94;object-fit:cover;object-position:50% 36%;}
.jn-page .jn-photo-note {font-family:var(--jm-font-display);font-weight:700;font-size:1.25rem;line-height:1.4;margin:18px 0 0;}
.jn-page .jn-photo-note span {font-family:var(--jm-font-reading);font-weight:400;font-size:1rem;line-height:1.5;display:inline-block;margin-top:6px;}
.jn-page .jn-proof-section {padding-block:0;}
.jn-page .jn-proofline {border-block:1px solid var(--jm-line);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;padding-block:30px;}
.jn-page .jn-fact {padding-right:16px;}
.jn-page .jn-fact-value {font-size:1.125rem;font-weight:600;margin-bottom:5px;}
.jn-page .jn-fact-label {font-size:1rem;line-height:1.5;margin:0;color:var(--jm-muted);}
.jn-page .jn-training {background:#f4f7f9;}
.jn-page .jn-section-heading {max-width:760px;margin-bottom:48px;}
.jn-page .jn-section-heading > :last-child {margin-bottom:0;}
.jn-page .jn-training-grid {display:grid;grid-template-columns:1fr 1.06fr;gap:var(--jn-gap);align-items:start;}
.jn-page .jn-training-photo img {width:100%;aspect-ratio:1.3;object-fit:cover;object-position:50% 30%;}
.jn-page .jn-training-context .jn-small {margin-top:24px;}
.jn-page .jn-offer-row {display:grid;grid-template-columns:40px 1fr;gap:14px;border-top:1px solid #b9cbd4;padding:26px 0;}
.jn-page .jn-offer-row:first-child {padding-top:0;border:0;}
.jn-page .jn-offer-row h3 a {color:var(--jm-navy);text-decoration:none;}
.jn-page .jn-offer-row h3 a:hover {text-decoration:underline;}
.jn-page .jn-offer-row h3 span {font-size:1.15rem;margin-left:8px;color:var(--jm-teal-dark);}
.jn-page .jn-offer-row p {font-size:1.125rem;margin-bottom:0;}
.jn-page .jn-number {font-size:1rem;font-weight:600;color:var(--jm-teal-dark);padding-top:4px;}
.jn-page .jn-split {display:grid;grid-template-columns:1fr 1fr;gap:var(--jn-gap);align-items:start;}
.jn-page .jn-dark {background:var(--jm-navy);color:white;}
.jn-page .jn-dark :is(p,a) {color:#e5edf2;}
.jn-page .jn-dark .jn-kicker {color:#b6d9dc;}
.jn-page .jn-dark :focus-visible {outline-color:#90e3dc;}
.jn-page .jn-conflict-routes {padding-top:12px;}
.jn-page .jn-conflict-routes .jm-text-link {margin-bottom:42px;}
.jn-page .jn-conflict-routes > :last-child {margin-bottom:0;}
.jn-page .jn-testimony {background:var(--jm-tint);}
.jn-page .jn-quote {margin:0;padding:0;border:0;font-style:normal;max-width:1050px;}
.jn-page .jn-quote p {font-family:var(--jm-font-display);font-size:clamp(1.5rem,2.4vw,2.25rem);font-weight:600;line-height:1.45;letter-spacing:-0.0063em;font-style:normal;max-width:50ch;}
.jn-page .jn-quote cite {display:block;font-family:var(--jm-font-reading);font-style:normal;font-size:1rem;line-height:1.65;margin-top:28px;}
.jn-page .jn-about-grid {display:grid;grid-template-columns:.85fr 1.15fr;gap:var(--jn-gap);align-items:center;}
.jn-page .jn-about-photo img {width:100%;aspect-ratio:1;object-fit:cover;object-position:50% 35%;}
.jn-page .jn-elearning {background:var(--jm-grey);}
.jn-page .jn-learner-route {border-top:1px solid var(--jm-line);padding-top:28px;margin-top:20px;}
.jn-page .jn-closing {background:var(--jm-navy);color:white;}
.jn-page .jn-closing-grid {display:grid;grid-template-columns:1fr 1fr;gap:var(--jn-gap);align-items:center;}
.jn-page .jn-closing-grid h2 {margin:0;}
.jn-page .jn-closing .wp-block-button .wp-element-button {background:white;color:var(--jm-navy);}
.jn-page .jn-closing .wp-block-button.is-style-outline .wp-element-button {background:transparent;color:white;border-color:#b9cbd4;}
.jn-page .jn-closing :focus-visible {outline-color:#90e3dc;}
/* MHFA keeps all of V4's learning and booking content, with a lighter opening. */
.jn-page .mf-hero {background:white;color:var(--jm-navy);padding-top:64px;}
.jn-page .mf-hero a {color:var(--jm-teal-dark);}
.jn-page .mf-hero :is(.mf-intro,.mf-accreditation,.mf-kicker) {color:var(--jm-navy);}
.jn-page .mf-hero .mf-kicker {color:var(--jm-teal-dark);}
.jn-page .mf-hero .wp-block-button .wp-element-button {background:var(--jm-teal-dark);color:white;}
.jn-page .mf-hero .wp-block-button.is-style-outline .wp-element-button {background:transparent;color:var(--jm-navy);border-color:var(--jm-navy);}
.jn-page .mf-hero .wp-block-button .wp-element-button:hover {background:var(--jm-navy);color:white;}
.jn-page .mf-hero :focus-visible {outline-color:var(--jm-teal-dark);}
.jn-page .mf-hero-image img {height:clamp(320px,36vw,470px);object-position:50% 25%;}
.jn-page .mf-hero .mf-accreditation {font-size:1rem;}
.jn-page .jn-mediation-hero {background:var(--jm-grey);padding-top:64px;padding-bottom:64px;}
.jn-page .jn-mediation-photo img {width:100%;aspect-ratio: .96;object-fit:cover;object-position:55% 45%;}
.jn-page .jn-mediation-story .jn-section-heading {margin:0;}
.jn-page .jn-process-section {background:#f4f7f9;}
.jn-page .jn-process {border-top:1px solid var(--jm-line);}
.jn-page .jn-step {display:grid;grid-template-columns:92px 1fr;gap:24px;padding:32px 0;border-bottom:1px solid var(--jm-line);}
.jn-page .jn-step-copy {display:grid;grid-template-columns:.9fr 1.5fr;gap:40px;}
.jn-page .jn-step-number {font-family:var(--jm-font-display);font-size:2rem;font-weight:600;color:var(--jm-teal-dark);margin:0;line-height:1.2;}
.jn-page .jn-step-copy h3,.jn-page .jn-step-copy p {margin:0;}
.jn-page .jn-package {max-width:840px;margin-top:48px;}
.jn-page .jn-feedback-context {margin:36px 0 0;padding:24px 0 0;border-top:1px solid #94b8bd;max-width:none;}
.jn-page .jn-feedback-context summary {font-size:1.125rem;font-weight:600;}
.jn-page .jn-feedback-context .jn-quote {margin-top:24px;}
.jn-page .jn-feedback-context .jn-quote p {font-family:var(--jm-font-reading);font-size:1.1875rem;font-weight:400;letter-spacing:0;}
.jn-page .jn-contact-hero {padding-top:56px;padding-bottom:48px;}
.jn-page .jn-contact-opening {max-width:960px;}
.jn-page .jn-contact-opening h1 {font-size:clamp(2.8rem,5vw,5rem);}
.jn-page .jn-contact-opening .jn-lead {max-width:65ch;margin-bottom:0;}
.jn-page .jn-contact-main {padding-top:0;}
.jn-page .jn-contact-grid {display:grid;grid-template-columns:.8fr 1.5fr;gap:clamp(48px,8vw,128px);border-top:1px solid var(--jm-line);padding-top:48px;}
.jn-page .jn-contact-form {grid-column:2;grid-row:1;min-width:0;}
.jn-page .jn-contact-aside {grid-column:1;grid-row:1;min-width:0;}
.jn-page .jn-contact-aside h2 {font-size:1.6rem;margin-top:24px;margin-bottom:16px;}
.jn-page .jn-contact-aside h3 {font-size:1.3rem;margin-top:32px;}
.jn-page .jn-contact-aside p {font-size:1.0625rem;}
.jn-page .jn-contact-photo img {width:100%;aspect-ratio:1.25;object-fit:cover;object-position:50% 28%;}
.jn-page .jn-contact-form h2 {font-size:2rem;margin-bottom:16px;}
.jn-page .jn-contact-form :is(input,select,textarea) {font-family:var(--jm-font-reading);font-size:1rem!important;line-height:1.5!important;color:var(--jm-navy)!important;border:1px solid #8096a7!important;border-radius:3px!important;background:#fff!important;}
.jn-page .jn-contact-form :is(input:not([type=checkbox]):not([type=hidden]),select) {min-height:48px;}
.jn-page .jn-contact-form textarea {min-height:120px;}
.jn-page .jn-contact-form .ff-el-group {margin-bottom:24px;}
.jn-page .jn-contact-form :is(label,.ff-el-input--label) {font-size:1rem!important;line-height:1.5!important;color:var(--jm-navy)!important;font-weight:500;}
.jn-page .jn-contact-form .ff-btn-submit {font-family:var(--jm-font-reading);font-size:1rem;line-height:1.5;padding:15px 24px;background:var(--jm-teal-dark);color:white;border-radius:3px;}
.jn-page .jn-contact-form :is(input,textarea,select):focus-visible {outline:3px solid var(--jm-teal-dark);outline-offset:3px;}
body:has(.jn-page) .site-footer {font-family:var(--jm-font-reading);}
body:has(.jn-page) .site-footer p {font-size:1rem;line-height:1.65;}
body:has(.jn-page) .site-footer h2 {font-family:var(--jm-font-display);}
@media(max-width:1100px){
 .jn-page .jn-hero-grid {gap:40px;}
 .jn-page h1 {font-size:clamp(3rem,5.4vw,4.5rem);}
 .jn-page .jn-step {grid-template-columns:64px 1fr;}
 .jn-page .jn-contact-grid {gap:48px;}
}
@media(max-width:800px){
 .jn-page .jn-hero-grid,.jn-page .jn-training-grid,.jn-page .jn-split,.jn-page .jn-about-grid,.jn-page .jn-closing-grid {grid-template-columns:1fr;gap:40px;}
 .jn-page .jn-hero-visual {max-width:560px;}
 .jn-page .jn-hero-photo img {aspect-ratio:1.2;}
 .jn-page .jn-home-hero {background:white;}
 .jn-page .jn-training-photo img {aspect-ratio:1.5;}
 .jn-page .jn-step-copy {grid-template-columns:1fr;gap:16px;}
 .jn-page .jn-contact-grid {grid-template-columns:1fr;gap:48px;}
 .jn-page .jn-contact-form {grid-column:1;grid-row:1;}
 .jn-page .jn-contact-aside {grid-column:1;grid-row:2;max-width:560px;}
 .jn-page .jn-mediation-photo img {aspect-ratio:1.2;}
}
@media(max-width:600px){
 .jn-page p {font-size:1.125rem;line-height:1.65;}
 .jn-page h1 {font-size:clamp(2.6rem,10.7vw,3.6rem);letter-spacing:-0.01em;}
 .jn-page h2 {font-size:2rem;}
 .jn-page .jn-kicker,.jn-page .jn-small {font-size:1rem;}
 .jn-page .jn-section {padding-block:56px;}
 .jn-page .jn-home-hero,.jn-page .jn-mediation-hero {padding-top:40px;}
 .jn-page .jn-lead {font-size:1.125rem;}
 .jn-page .jn-proof-section {padding-block:0;}
 .jn-page .jn-proofline {grid-template-columns:1fr;gap:0;padding-block:8px;}
 .jn-page .jn-fact {padding-block:20px;}
 .jn-page .jn-fact + .jn-fact {border-top:1px solid var(--jm-line);}
 .jn-page .jn-fact-value {font-size:1.125rem;}
 .jn-page .jn-fact-label {font-size:1rem;}
 .jn-page .wp-block-buttons {flex-direction:column;align-items:stretch;}
 .jn-page .wp-block-button .wp-element-button {display:block;}
 .jn-page .jn-offer-row {grid-template-columns:28px 1fr;gap:12px;}
 .jn-page .jn-offer-row p {font-size:1.125rem;}
 .jn-page .jn-section-heading {margin-bottom:36px;}
 .jn-page .jn-quote p {font-size:1.6rem;}
 .jn-page .jn-quote cite {font-size:1rem;}
 .jn-page .jn-step {grid-template-columns:36px 1fr;gap:16px;}
 .jn-page .jn-step-number {font-size:1.5rem;}
 .jn-page .jn-contact-hero {padding-block:40px;}
 .jn-page .jn-contact-opening h1 {font-size:2.7rem;}
 .jn-page .jn-contact-main {padding-top:0;}
 .jn-page .jn-contact-grid {padding-top:32px;}
 .jn-page .jn-contact-aside p {font-size:1.125rem;}
 .jn-page .mf-hero {padding-top:40px;}
 .jn-page .mf-hero-image img {height:auto;}
}

.jn-page .jn-form-brief {margin:0 0 24px;padding:16px 0;border-block:1px solid var(--jm-line);max-width:none;}
.jn-page .jn-form-brief summary {font-size:1rem;font-weight:600;line-height:1.5;cursor:pointer;}
.jn-page .jn-form-brief[open] summary {margin-bottom:20px;}
.jn-page .jn-form-brief .ff-el-group {margin-bottom:0;}

.jn-page .jn-form-brief {padding-block:0;}
.jn-page .jn-form-brief summary {padding:14px 0;min-height:48px;}
.jn-page .jn-contact-form :is(.jn-privacy-note,.jn-privacy-link) {font-size:1rem;line-height:1.65;margin:12px 0 0;}
/* Keep short joining words with their heading at the narrowest width. */
@media(max-width:375px){
 .jn-page h1,.jn-page .jn-contact-opening h1 {font-size:2.25rem;}
}

/* One wordmark on every route; the brand is independent of page typography. */
.site-header .main-title a {
 font-family:"Allo",system-ui,sans-serif;
 font-size:1.375rem;
 font-weight:700;
 line-height:1.2;
 letter-spacing:-0.0088em;
}
.site-header .main-title .jm-wordmark-detail {
 font-family:"Allo",system-ui,sans-serif;
 font-size:.6875rem;
 font-weight:600;
 line-height:1.5;
 letter-spacing:.065em;
 margin-top:6px;
}
.jm-mhfa-flagship .mf-trainer-photo img {border-radius:4px;}
.jm-scroll-progress {
 position:absolute;bottom:-1px;left:0;width:100%;height:2px;
 background:var(--jm-teal-dark);transform:scaleX(0);transform-origin:left center;
 pointer-events:none;
}
.jn-page :is(.jn-hero-photo,.jn-training-photo,.jn-mediation-photo) {overflow:hidden;}
@media(min-width:961px){
 .jn-page .mf-curriculum-intro {position:sticky;top:calc(var(--jm-header-offset) + 24px);align-self:start;}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .jn-page .wp-block-button .wp-element-button {transition:transform 180ms cubic-bezier(.22,1,.36,1),background-color 180ms ease,color 180ms ease;}
 .jn-page .wp-block-button .wp-element-button:hover {transform:translateY(-2px);}
 .jn-page .wp-block-button .wp-element-button:active {transform:translateY(0) scale(.985);}
 .jn-page .jn-offer-row h3 span {display:inline-block;transition:transform 220ms cubic-bezier(.22,1,.36,1);}
 .jn-page .jn-offer-row a:hover span {transform:translate(3px,-3px);}
}
@media(prefers-reduced-motion:reduce){
 .jm-scroll-progress {display:none;}
 .jn-page .wp-block-button .wp-element-button,.jn-page .jn-offer-row h3 span {transition:none;transform:none;}
 .jn-page :is(.jn-hero-photo,.jn-training-photo,.jn-mediation-photo) img {transform:none!important;}
}
@media print{
 .jm-scroll-progress {display:none;}
 .jn-page * {animation:none!important;transition:none!important;transform:none!important;opacity:1!important;}
}

/* Approved commercial parity: editable proof, course evidence and CA requests. */
.jn-impact { border-block: 1px solid #cbd5df; background: #f4f7f9; }
.jn-impact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-block: 28px; }
.jn-impact-grid > .jn-impact-item { margin-block: 0; padding-inline-end: 24px; }
.jn-impact-number { font-family: 'Allo', sans-serif; font-size: clamp(2.3rem, 4.4vw, 4rem); font-weight: 750; line-height: 1.15; letter-spacing: -0.0112em; color: #10293f; }
.jn-impact-item > p + p { margin-block-start: 12px; }
.jm-outcomes { max-width: 960px; margin-inline: auto; padding-block: 32px; border-block: 1px solid #cbd5df; }
.jm-outcomes > h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.25; }
.jm-outcomes > p { max-width: 72ch; }
.jm-evidence-note { font-size: 1rem; line-height: 1.65; color: #42586b; }
.jn-outcomes-wrap { padding-block: 48px; }
.jm-ca-hero h1 { max-width: 19ch; }
.jm-editorial-body > .wp-block-details { padding: 24px 0; border-block-end: 1px solid #cbd5df; }
.jm-editorial-body > .wp-block-details > summary { padding: 8px 0; cursor: pointer; font-weight: 700; color: #10293f; }
.jm-editorial-body > .wp-block-details[open] > summary { margin-block-end: 20px; }
.jm-editorial-body > .wp-block-details h3 { font-size: 1.2rem; }
.jm-ca-request { background: #eef3f6; }
.jm-ca-request > * { max-width: 780px; margin-inline: auto; }
.jm-ca-request .fluentform { margin-block-start: 32px; }
.jm-ca-request .ff-el-form-control { background: #fff; color: #10293f; border-color: #8096a7; min-height: 48px; font-size: 1rem; }
.jm-ca-request .ff-el-input--label { font-weight: 650; color: #10293f; }
.jm-ca-request .ff-el-help-message { font-size: 1rem; line-height: 1.6; color: #42586b; }
.jm-ca-request .ff-btn-submit { min-height: 48px; white-space: normal; background: #0e7c86 !important; }
.jm-ca-request .ff-el-form-control:focus { outline: 3px solid #0e7c86; outline-offset: 3px; }
@media (max-width: 600px) {
 .jn-impact-grid { grid-template-columns: 1fr; gap: 24px; }
 .jn-impact-grid > .jn-impact-item { padding-block-end: 24px; border-block-end: 1px solid #cbd5df; }
 .jm-ca-request .ff-btn-submit { width: 100%; }
}

/* Readable validation on the pale request background, including failed submits. */
.jm-ca-request .fluentform .ff-el-is-error .error.text-danger { color: #a51d24; font-size: 1rem; line-height: 1.6; }
.jm-ca-request .fluentform .ff-el-is-error .ff-el-form-control { border-color: #a51d24; }

/* Excellence release: one identity, editorial service pages, contextual planning. */
body{font-family:var(--jm-font-reading,Inter,sans-serif)}
h1,h2,h3,h4,.main-navigation,.main-title{font-family:var(--jm-font-display,Manrope,sans-serif)}
.site-header .main-title,.site-header .main-title a,body:has(.jn-page) .site-header .main-title{font-family:var(--jm-font-display,Manrope,sans-serif);font-weight:800;letter-spacing:-0.0112em;font-size:clamp(23px,2vw,31px);line-height:1.1}
.site-header .jm-wordmark-detail{font-family:var(--jm-font-reading,Inter,sans-serif);font-size:11px;font-weight:550;letter-spacing:.07em;line-height:1.5;margin-top:7px}
.jm-band{padding-block:clamp(50px,7vw,96px)}
.jm-band p,.jm-band li{font-size:clamp(1rem,1.3vw,1.125rem);line-height:1.8}.jm-band p{max-width:70ch}
.jm-band h2{font-family:var(--jm-font-display);font-size:clamp(1.8rem,3.4vw,3rem);line-height:1.15;letter-spacing:-0.01em}
.jm-band h3{font-family:var(--jm-font-display);letter-spacing:-0.0063em;line-height:1.3}
.jm-band.jm-service-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;gap:clamp(32px,6vw,86px);padding-inline:max(28px,calc((100vw - 1180px)/2));background:#f4f7f9;color:#10293f;overflow:hidden}
.jm-service-hero>.jm-service-opening,.jm-service-hero>.jm-service-photo{width:100%;margin:0!important;max-width:none!important}
.jm-service-hero h1{font-size:clamp(2.5rem,5vw,4.65rem);font-weight:750;letter-spacing:-0.0138em;line-height:1.06;margin:0 0 28px;max-width:15ch;text-wrap:balance}
.jm-service-hero .jm-lede{font-size:clamp(1.0625rem,1.5vw,1.25rem);line-height:1.75;margin:0 0 30px;color:#344f5c;max-width:48ch}
.jm-service-photo{position:relative}.jm-service-photo img{display:block;width:100%;height:clamp(290px,34vw,460px);object-fit:cover;border-radius:3px}
.jm-service-hero .wp-block-buttons{gap:14px;align-items:center}.jm-service-hero .wp-block-button__link{background:#0e7c86;color:#fff;font-size:1rem;padding:15px 22px}.jm-service-hero .is-style-outline .wp-block-button__link{border:0;background:transparent;color:#10293f;text-decoration:underline;text-underline-offset:5px;padding:15px 4px}
.jm-planning-band{background:#f4f7f9;border-top:1px solid #d3e0e8;border-bottom:1px solid #d3e0e8}
.jm-editorial-row{padding-block:36px}.jm-editorial-row .jm-editorial-body{max-width:70ch}.jm-editorial-row h2{max-width:18ch}
.jm-band .jm-facts{align-items:start;gap:24px}.jm-band .jm-facts>div{margin-top:0!important}.jm-band .jm-fact-value{font-family:var(--jm-font-display);font-size:1.15rem;line-height:1.5;font-weight:700}.jm-band .jm-fact-label{font-size:.85rem;color:#506674}
.jm-comparison{padding-top:65px}.jm-course-compare{margin-top:36px;overflow-x:auto;max-width:100%}.jm-course-compare table{border-collapse:collapse;width:100%;min-width:760px;table-layout:auto;font-size:1rem;line-height:1.65}.jm-course-compare th{background:#10293f;color:white;text-align:left;padding:18px}.jm-course-compare td{padding:24px 18px;border:0;border-bottom:1px solid #d3e0e8;vertical-align:top;width:25%}.jm-course-compare tr:nth-child(even){background:#f4f7f9}.jm-course-compare a{color:#0a5f67;text-underline-offset:4px}.jm-course-compare a:focus-visible{outline:3px solid #0a5f67;outline-offset:3px}
.jn-page .jn-impact-number{font-size:clamp(2.8rem,5vw,4.5rem);font-family:var(--jm-font-display);font-weight:750;letter-spacing:-0.0125em;line-height:1.05}
.jn-page .jn-profile-photo img{border-radius:3px;clip-path:none;object-fit:cover}
.jm-next-step{background:#f4f7f9}.jm-next-step h2{font-size:1.6rem}.jm-next-step p{max-width:72ch}
.jm-journey *, .jm-service-request *{min-width:0} [id="plan-your-training"],[id="explore-options"],[id="champion"],[id="compare-courses"]{scroll-margin-top:130px}
@media(max-width:900px){.jm-band.jm-service-hero{grid-template-columns:minmax(0,1fr) minmax(0,.75fr);gap:28px}.jm-service-hero h1{font-size:clamp(2.25rem,5.3vw,3.3rem)}.jm-service-photo img{height:320px}}
@media(max-width:650px){.jm-band.jm-service-hero{grid-template-columns:minmax(0,1fr);padding:40px 22px 36px;gap:28px}.jm-service-hero h1{font-size:clamp(2.15rem,10vw,3rem);max-width:18ch;line-height:1.1}.jm-service-hero .jm-lede{font-size:1.0625rem;line-height:1.75}.jm-service-photo img{height:230px;object-position:center 38%}.jm-service-hero .wp-block-buttons{align-items:flex-start}.jm-service-hero .wp-block-button__link{font-size:.95rem}.jm-editorial-row{padding-block:26px}.jm-band{padding-block:45px}.jm-course-compare{position:relative}.jm-band .jm-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.jm-band .jm-fact-value{font-size:1rem}.jm-band .jm-fact-label{font-size:.8rem}.site-header .main-title{font-size:24px}.site-header .jm-wordmark-detail{font-size:10px}.jn-page .jn-impact-number{font-size:3rem}}
.jm-course-compare:focus-visible{outline:3px solid #0a5f67;outline-offset:5px}.jm-course-compare::after{content:'On smaller screens, scroll across to compare all four columns.';display:none;padding:14px 0;font-size:.875rem;color:#435b67}@media(max-width:780px){.jm-course-compare::after{display:block}}
/* Topic-led variation within one restrained brand. */
:is(.page-id-13,.page-id-15) .jm-service-hero{background:#10293f;color:#fff}
:is(.page-id-13,.page-id-15) .jm-service-hero .jm-lede{color:#e3ecee}
:is(.page-id-13,.page-id-15) .jm-service-hero .is-style-outline .wp-block-button__link{color:#fff}
.jm-band blockquote{margin:24px 0;padding:12px 0 12px 28px;border-left:3px solid #0a5f67;background:transparent;color:#10293f}
.jm-band blockquote p{font-family:var(--jm-font-display);font-size:clamp(1.2rem,2vw,1.55rem);font-weight:550;line-height:1.65;letter-spacing:-0.005em}
.jm-band blockquote cite{font-family:var(--jm-font-reading);font-style:normal;font-size:.95rem;color:#435b67}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
#cmplz-manage-consent{position:static!important;display:block;margin:16px 0 0;clear:both}
#cmplz-manage-consent .cmplz-manage-consent{position:static!important;inset:auto!important;transform:none!important;margin:0!important;padding:12px 18px!important;min-height:44px!important;box-shadow:none!important;border:1px solid #627b87!important;border-radius:3px!important;background:#fff!important;color:#10293f!important;font:600 .9rem/1.5 var(--jm-font-reading)!important}
#cmplz-manage-consent .cmplz-manage-consent:focus-visible{outline:3px solid #0a5f67!important;outline-offset:4px}

/* === JM DESIGN PASS 2026-11-12 (desktop review) ===
   One block, safe to delete as a whole to roll back. */
/* 1. Pale green-grey tints were close to beige. Swap for cool brand tints. */
.jm-band.jm-service-hero{background:linear-gradient(135deg,#eef3f6 0%,#eef3f6 100%)}
.jm-planning-band{background:#eef3f6;border-color:#d3e0e8}
.jm-course-compare tr:nth-child(even){background:#f4f7f9}
.jm-course-compare td{border-bottom-color:#d3e0e8}
.jm-next-step{background:#e2f1f2}
/* 2. Home hero: remove the hard-edged grey block behind the portrait. */
.jn-page .jn-home-hero{background:linear-gradient(100deg,#fff 0%,#fff 55%,#f4f7f9 100%)}
.jn-page .jn-hero-photo img,.jm-service-photo img{border-radius:14px}
.jn-page .jn-hero-photo img{box-shadow:0 18px 40px -22px rgba(16,41,63,.45)}
/* 3. Testimonials: readable card, upright text, clear attribution. */
.jm-band>blockquote.jm-quote{max-width:860px;margin:0 0 28px;padding:36px 40px 32px;background:#fff;border:1px solid #d3e0e8;border-radius:12px;box-shadow:0 10px 30px -24px rgba(16,41,63,.5)}
.jm-band>blockquote.jm-quote+blockquote.jm-quote{margin-top:0}
.jm-band>blockquote.jm-quote::before{font-family:var(--jm-font-display);font-style:normal;font-size:3.6rem;line-height:.7;margin-bottom:14px;color:var(--jm-teal)}
.jm-band>blockquote.jm-quote p{font-style:normal;font-family:var(--jm-font-reading);font-size:1.125rem;font-weight:400;line-height:1.7;letter-spacing:0;color:#10293f;max-width:68ch}
.jm-band>blockquote.jm-quote cite{font-size:.95rem;font-weight:600;color:#10293f;margin-top:22px;padding-top:16px;border-top:1px solid #e1e9ee}
.jm-band h2+blockquote.jm-quote{margin-top:24px}
.jm-band:has(>blockquote.jm-quote) h2{margin-top:56px}
.jm-band:has(>blockquote.jm-quote)>h2:first-child{margin-top:0}
/* 4. "Swipe across" hint is only useful on phones. */
.jm-comparison-hint{display:none}
@media(max-width:780px){.jm-comparison-hint{display:block}}
/* 5. Audience list on Who I work with: clear rows instead of plain bullets. */
.jm-band>ul.wp-block-list:has(>li>a:first-child>strong){list-style:none;padding:0;margin:0;max-width:860px;border-top:1px solid #d3e0e8;display:grid;grid-template-columns:minmax(0,1fr)}
.jm-band>ul.wp-block-list:has(>li>a:first-child>strong)>li{margin:0;padding:22px 4px;border-bottom:1px solid #d3e0e8;font-size:1.125rem;line-height:1.6;color:#344f5c}
.jm-band>ul.wp-block-list:has(>li>a:first-child>strong)>li a{color:#10293f;font-family:var(--jm-font-display);font-size:1.35rem;text-underline-offset:5px}
.jm-band>ul.wp-block-list:has(>li>a:first-child>strong)>li a::after{content:" \2192"}
@media(max-width:650px){.jm-band>blockquote.jm-quote{padding:26px 22px 24px}}
/* Quotes nested inside outcomes groups */
.jm-outcomes>blockquote.jm-quote{max-width:860px;margin:0 0 28px;padding:36px 40px 32px;background:#fff;border:1px solid #d3e0e8;border-radius:12px;box-shadow:0 10px 30px -24px rgba(16,41,63,.5)}
.jm-outcomes>blockquote.jm-quote+blockquote.jm-quote{margin-top:0}
.jm-outcomes>blockquote.jm-quote::before{font-family:var(--jm-font-display);font-style:normal;font-size:3.6rem;line-height:.7;margin-bottom:14px;color:var(--jm-teal)}
.jm-outcomes>blockquote.jm-quote p{font-style:normal;font-family:var(--jm-font-reading);font-size:1.125rem;font-weight:400;line-height:1.7;letter-spacing:0;color:#10293f;max-width:68ch}
.jm-outcomes>blockquote.jm-quote cite{font-size:.95rem;font-weight:600;color:#10293f;margin-top:22px;padding-top:16px;border-top:1px solid #e1e9ee}
/* Pass 2: consistency */
.jn-page .jn-offer-row p{color:#344f5c}
.site-info a,.jm-footer-legal a,.jm-footer-legal li{font-size:.9375rem!important}
.jm-footer-legal ul{gap:8px 28px}
.jm-footer-legal{padding-top:8px}
#cmplz-manage-consent{margin-top:24px}
#cmplz-manage-consent .cmplz-manage-consent{background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.55)!important;font-size:.9375rem!important}
.jm-evidence-note{margin-bottom:32px}
.jm-outcomes>blockquote.jm-quote{margin-bottom:24px}
details>summary{padding-block:6px}
/* === END JM DESIGN PASS === */

/* === JM CONVERSION PASS 2026-11-13 (proof strip + quick-action bar). Delete this block to roll back. === */
.jm-proofstrip{background:#f4f7f9;border-bottom:1px solid #d3e0e8;padding:28px 0}
.jm-proofstrip-inner{max-width:1180px;margin:0 auto;padding-inline:clamp(24px,4vw,48px)}
.jm-proof-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px clamp(24px,4vw,56px)}
.jm-proof-item{border-left:3px solid #0e7c86;padding-left:18px}
.jm-proofstrip .jm-proof-item p{margin:0;max-width:none}
.jm-proofstrip .jm-proof-item .jm-proof-value{font-family:var(--jm-font-display);font-size:clamp(1.35rem,2.2vw,1.9rem);font-weight:700;letter-spacing:-0.0075em;line-height:1.2;color:#10293f}
.jm-proofstrip .jm-proof-item .jm-proof-label{font-size:.9375rem;line-height:1.5;color:#344f5c;margin-top:4px}
.jm-proofstrip .jm-proofstrip-inner .jm-proof-note{font-size:.875rem;line-height:1.55;color:#506575;margin:18px 0 0;max-width:80ch}
@media(max-width:780px){.jm-proof-items{grid-template-columns:1fr;gap:18px}.jm-proofstrip{padding:24px 0}}
.jm-quickbar{position:fixed;left:0;right:0;bottom:0;z-index:9990;display:flex;align-items:center;justify-content:center;gap:12px 28px;flex-wrap:wrap;padding:12px 56px 12px 24px;background:#10293f;color:#fff;box-shadow:0 -10px 30px -18px rgba(0,0,0,.6);transform:translateY(100%);transition:transform .25s cubic-bezier(.22,1,.36,1)}
.jm-quickbar.is-on{transform:none}
.jm-quickbar[hidden]{display:none}
.jm-quickbar-text{margin:0;font-size:1rem;font-weight:500;color:#fff}
.jm-quickbar-actions{display:flex;gap:10px}
.jm-quickbar a{display:inline-block;padding:10px 18px;border-radius:3px;font-size:.9375rem;font-weight:600;line-height:1.4;text-decoration:none;border:1px solid #fff}
.jm-quickbar-primary{background:#fff;color:#10293f}
.jm-quickbar-secondary{background:transparent;color:#fff}
.jm-quickbar a:hover{background:#e2f1f2;color:#10293f}
.jm-quickbar a:focus-visible,.jm-quickbar-close:focus-visible{outline:3px solid #90e3dc;outline-offset:3px}
.jm-quickbar-close{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:40px;height:40px;background:transparent;border:0;color:#fff;font-size:1.6rem;line-height:1;cursor:pointer}
@media(max-width:650px){.jm-quickbar{padding:10px 48px 10px 16px;gap:8px 16px}.jm-quickbar-text{display:none}.jm-quickbar-actions{width:100%}.jm-quickbar-actions a{flex:1;text-align:center}}
@media(prefers-reduced-motion:reduce){.jm-quickbar{transition:none}}
/* === END JM CONVERSION PASS === */

/* === JM COURSE SHOWCASE 2026-11-13 (home page full-width course cards). Delete this block and cine.js to roll back. === */
.jm-cine{padding-bottom:0}
.jm-cine .jm-cine-head{padding-bottom:clamp(32px,4vw,56px)}
.jm-cine .jm-cine-track{position:relative}
.jm-cine .jm-cine-card{position:relative;margin:0;background:#10293f;color:#fff;overflow:hidden;min-height:540px;display:flex;align-items:flex-end}
.jm-cine .jm-cine-card+.jm-cine-card{margin-top:4px}
.jm-cine .jm-cine-img{position:absolute;inset:0;margin:0}
.jm-cine .jm-cine-img img{width:100%;height:100%;object-fit:cover;display:block}
.jm-cine .jm-cine-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(16,41,63,0) 35%,rgba(16,41,63,.55) 100%);pointer-events:none}
.jm-cine .jm-cine-panel{position:relative;z-index:2;width:min(500px,calc(100% - 32px));margin:0 0 24px 16px;padding:clamp(24px,3vw,40px);background:rgba(16,41,63,.94);border-radius:6px}
.jm-cine .jm-cine-panel p{max-width:none;margin:0 0 14px;color:#dbe6ec;font-size:1.0625rem;line-height:1.6}
.jm-cine .jm-cine-panel .jm-cine-kicker{color:#90e3dc;font-size:.9375rem;font-weight:600;letter-spacing:.04em;margin-bottom:12px}
.jm-cine .jm-cine-panel h3{color:#fff;font-size:clamp(1.75rem,3vw,2.5rem);line-height:1.15;margin:0 0 14px}
.jm-cine .jm-cine-panel .jm-cine-facts{font-size:.9375rem;color:#b9cbd4;padding-top:14px;border-top:1px solid rgba(255,255,255,.2);margin-bottom:20px}
.jm-cine .jm-cine-panel .wp-block-buttons{margin:0;gap:12px}
.jm-cine .jm-cine-panel .wp-block-button__link{font-size:1rem;padding:13px 22px;border-radius:3px;background:#fff;color:#10293f;border:1px solid #fff}
.jm-cine .jm-cine-panel .wp-block-button__link:hover{background:#e2f1f2;color:#10293f}
.jm-cine .jm-cine-panel .is-style-outline .wp-block-button__link{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.7)}
.jm-cine .jm-cine-panel .is-style-outline .wp-block-button__link:hover{background:rgba(255,255,255,.12);color:#fff}
.jm-cine .jm-cine-panel a:focus-visible,.jm-cine .jm-cine-dot:focus-visible{outline:3px solid #90e3dc;outline-offset:3px}
.jm-cine .jm-cine-foot{padding-block:clamp(40px,5vw,64px)}
.jm-cine .jm-cine-foot p{margin:0 0 14px}
/* Pinned version: desktop, motion allowed, JavaScript on. */
.jm-cine--pinned .jm-cine-stage{position:sticky;top:var(--jm-cine-top,0);height:calc(100vh - var(--jm-cine-top,0px));min-height:560px;overflow:hidden}
.jm-cine--pinned .jm-cine-card{position:absolute;inset:0;margin:0!important;min-height:0;will-change:clip-path}
.jm-cine--pinned .jm-cine-panel{margin:0 0 clamp(56px,8vh,96px) clamp(32px,6vw,96px)}
.jm-cine-nav{position:absolute;right:clamp(16px,3vw,40px);top:50%;transform:translateY(-50%);z-index:5;display:flex;flex-direction:column;gap:6px}
.jm-cine-dot{width:44px;height:28px;padding:0;border:0;background:transparent;cursor:pointer;position:relative}
.jm-cine-dot::before{content:"";position:absolute;left:50%;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;border:2px solid #fff;background:transparent;box-shadow:0 0 0 1px rgba(16,41,63,.5)}
.jm-cine-dot[aria-current="true"]::before{background:#fff}
@media(max-width:900px){.jm-cine .jm-cine-card{display:block;min-height:0}.jm-cine .jm-cine-card::after{display:none}.jm-cine .jm-cine-img{position:relative;inset:auto;aspect-ratio:3/2}.jm-cine .jm-cine-panel{width:100%;margin:0;border-radius:0}.jm-cine .jm-cine-panel .wp-block-buttons{flex-direction:column;align-items:stretch}.jm-cine .jm-cine-panel .wp-block-button__link{display:block;text-align:center}}
/* Home: organisations strip and questions */
.jm-trust{padding-block:clamp(36px,4vw,56px);background:#fff;border-bottom:1px solid #d3e0e8}
.jm-trust .jm-trust-list{font-family:var(--jm-font-display);font-size:clamp(1.0625rem,1.5vw,1.3rem);font-weight:600;line-height:1.7;color:#10293f;max-width:none;margin:0 0 14px}
.jm-trust .jm-trust-sectors{font-size:1rem;color:#344f5c;margin:0}
.jm-home-faq .jm-home-faq-list{max-width:860px;border-top:1px solid #d3e0e8}
.jm-home-faq details{border-bottom:1px solid #d3e0e8;padding:4px 0}
.jm-home-faq summary{cursor:pointer;padding:18px 40px 18px 0;font-family:var(--jm-font-display);font-weight:600;font-size:clamp(1.125rem,1.6vw,1.35rem);line-height:1.35;color:#10293f;list-style:none;position:relative}
.jm-home-faq summary::-webkit-details-marker{display:none}
.jm-home-faq summary::after{content:"+";position:absolute;right:4px;top:50%;transform:translateY(-50%);font-size:1.6rem;font-weight:400;color:#0a5f67}
.jm-home-faq details[open] summary::after{content:"\2212"}
.jm-home-faq details p{margin:0 0 20px;max-width:64ch}
.jm-home-faq summary:focus-visible{outline:3px solid #0a5f67;outline-offset:2px}
/* === END JM COURSE SHOWCASE === */

/* === JM SALES UX 2026-11-13. Delete this block, jm-sales-ux.js and the matching functions.php blocks to roll back. === */
/* Aligned numbers on prices and stats */
.jn-impact-number,.jn-fact-value,.jm-proof-value,.jm-calculator,.jm-planner,.jm-journey,.jm-course-compare table,.mf-fact,.jm-outcomes,.jm-fact-value,[class*="price"],[class*="estimate"]{font-variant-numeric:tabular-nums}
/* Situation and sector cards on the home page */
.jm-card-grid{display:grid;gap:20px}
.jm-card-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.jm-card-grid .jm-card{position:relative;background:#fff;border:1px solid #d3e0e8;border-radius:8px;padding:clamp(22px,2.5vw,32px);transition:border-color .2s,box-shadow .2s}
.jm-card-grid .jm-card:hover{border-color:#0a5f67;box-shadow:0 14px 30px -24px rgba(16,41,63,.6)}
.jm-card-grid .jm-card h3{font-size:clamp(1.25rem,1.7vw,1.5rem);margin:0 0 10px}
.jm-card-grid .jm-card p{margin:0 0 14px;max-width:none;font-size:1.0625rem;color:#344f5c}
.jm-card-grid .jm-card .jm-card-link{margin:0;font-weight:600}
.jm-card-grid .jm-card .jm-card-link a{color:#0a5f67;text-decoration:none}
.jm-card-grid .jm-card .jm-card-link a::after{content:"";position:absolute;inset:0}
.jm-card-grid .jm-card .jm-card-link a:focus-visible{outline:3px solid #0a5f67;outline-offset:4px}
.jm-triage{background:#f4f7f9;padding-block:clamp(40px,5vw,64px)}
.jm-sector-grid{margin-top:24px}
@media(max-width:900px){.jm-card-grid--3{grid-template-columns:1fr}}
/* Course showcase: stronger scrim so text stays readable on any photo */
.jm-cine--pinned .jm-cine-card::after{background:linear-gradient(90deg,rgba(16,41,63,.62) 0%,rgba(16,41,63,.15) 55%,rgba(16,41,63,0) 100%),linear-gradient(180deg,rgba(16,41,63,0) 40%,rgba(16,41,63,.6) 100%)}
.jm-cine-dot:focus-visible::before{outline:3px solid #90e3dc;outline-offset:3px}
/* === END JM SALES UX === */

/* Before and after bars on the MHFA proof strip (13 Nov 2026) */
.jm-proofstrip .jm-delta{margin-top:22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px clamp(24px,4vw,56px)}
.jm-proofstrip .jm-delta-label{font-size:.9375rem;line-height:1.4;color:#344f5c;margin:0 0 8px;max-width:none}
.jm-proofstrip .jm-delta-label strong{color:#10293f;font-variant-numeric:tabular-nums}
.jm-delta-track{position:relative;height:10px;border-radius:5px;background:#dbe5eb;overflow:hidden}
.jm-delta-track span{position:absolute;left:0;top:0;bottom:0;border-radius:5px}
.jm-delta-after{background:#0e7c86}
.jm-delta-before{background:#7d93a3}
@media(max-width:780px){.jm-proofstrip .jm-delta{grid-template-columns:1fr}}


/* === JM PASS 6 2026-11-13: contrast, compact planner, compact quotes, header === */
/* Copy button: always dark text on a light fill, in every state */
/* Header: remove the half-width reading line under the menu */
.jm-scroll-progress{display:none!important}
/* Proof strip lines up with the facts row above it */
.jm-mhfa-flagship .jm-proofstrip-inner{max-width:var(--mf-content,1280px)}
.jm-proofstrip .jm-delta{gap:14px clamp(24px,4vw,56px);align-items:start}
.jm-proofstrip .jm-delta-key{grid-column:1/-1;display:flex;gap:22px;margin:2px 0 0;font-size:.8125rem;color:#506575;max-width:none}
.jm-key-before::before,.jm-key-after::before{content:"";display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:8px;vertical-align:-1px}
.jm-key-before::before{background:#7d93a3}
.jm-key-after::before{background:#0e7c86}
.jm-delta-after{background:#0e7c86}
/* MHFA planner: compact workbench */
.jm-journey{padding-block:0}
.jm-journey>header{margin-bottom:12px}
.jm-journey>header h2{font-size:clamp(1.9rem,3vw,2.6rem);margin:0 0 8px}
.jm-journey>header p{margin:0 0 6px;font-size:1.0625rem}
.jm-journey>h3{font-size:1.25rem;margin:18px 0 14px}
.jm-journey .jm-calc{gap:clamp(24px,4vw,48px)}
.jm-journey .jm-calc-form{gap:14px}
.jm-journey .jm-calc-people input[type=number]{max-width:140px}
.jm-journey .jm-calc-result{padding:24px 28px}
.jm-journey .jm-calc-label{margin-bottom:6px}
.jm-journey .jm-calc-result-course{margin:0 0 6px;font-size:1.0625rem}
.jm-journey .jm-calc .jm-calc-total{font-size:clamp(2.25rem,3.4vw,3rem);margin:0}
.jm-journey .jm-calc-average{margin:0 0 4px}
.jm-journey .jm-calc-explanation{gap:2px;margin-block:12px;padding-block:12px}
.jm-journey .jm-calc-explanation p{font-size:.9375rem;line-height:1.5}
.jm-journey .jm-calc-actions{gap:10px;align-items:center}
.jm-journey .jm-calc-small,.jm-journey .jm-calc-version{font-size:.8125rem;line-height:1.5;margin:8px 0 0}
.jm-journey-dates summary{padding-block:14px}
.jm-journey-step3{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;margin-top:18px;padding:18px 0;border-top:1px solid #d3e0e8}
.jm-journey-step3 p{margin:0}
.jm-journey-step3-actions{display:flex;gap:10px;flex-wrap:wrap}
.jm-journey-step3-actions a{display:inline-block;padding:12px 20px;border-radius:3px;font-weight:600;text-decoration:none;border:1.5px solid #10293f}
.jm-journey-step3-actions .jm-journey-contact{background:#10293f;color:#fff}
.jm-journey-step3-actions .jm-journey-book{background:#fff;color:#10293f}
.jm-journey-step3-actions a:hover{background:#e2f1f2;color:#10293f}
.jm-journey-individuals{margin:0;font-size:.9375rem}
/* MHFA testimonials: compact three-up cards on a light surface, no giant type */
.jm-mhfa-flagship .mf-proof{background:#f4f7f9;color:#10293f;padding-block:clamp(40px,4.5vw,64px)}
.jm-mhfa-flagship .mf-proof .mf-wrap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.jm-mhfa-flagship .mf-proof .mf-kicker{grid-column:1/-1;color:#0a5f67;margin:0 0 4px}
.jm-mhfa-flagship .mf-proof blockquote{margin:0;max-width:none;padding:22px 24px;background:#fff;border:1px solid #d3e0e8;border-radius:8px}
.jm-mhfa-flagship .mf-proof blockquote p{font-family:var(--jm-font-reading);font-size:1rem;line-height:1.6;letter-spacing:0;color:#10293f;margin:0}
.jm-mhfa-flagship .mf-proof blockquote cite{display:block;margin-top:14px;padding-top:12px;border-top:1px solid #e1e9ee;font-size:.875rem;font-weight:600;color:#10293f;max-width:none}
@media(max-width:900px){.jm-mhfa-flagship .mf-proof .mf-wrap{grid-template-columns:1fr}}
/* === END JM PASS 6 === */
/* Primary action buttons in the estimate and date tools use the brand teal */
.jm-calc .jm-calc-ask,.jm-av-enquire,.jm-av-refresh{background:#0e7c86;border-color:#0e7c86;color:#fff}
.jm-calc .jm-calc-ask:hover,.jm-av-enquire:hover{background:#10293f;border-color:#10293f;color:#fff}
.jm-journey .jm-calc-result .jm-calc-ask{background:#0e7c86;border-color:#0e7c86;color:#fff}
.jm-journey .jm-calc-result .jm-calc-ask:hover{background:#10293f;border-color:#10293f}
.jm-journey .jm-calc-form .jm-calc-explanation{margin:4px 0 0;padding:14px 0 0;border-top:1px solid #d3e0e8;border-bottom:0;gap:2px}
.jm-journey .jm-calc-form .jm-calc-explanation p{color:#344f5c;font-size:.9375rem;line-height:1.55;margin:0}
.jm-journey .jm-calc-form .jm-calc-explanation .jm-calc-basis-title{color:#10293f;font-weight:600;margin-bottom:4px}

/* === JM PASS 7 2026-11-13: single content width, single-package notice, step 3 hint === */
:root{--jm-rail:1200px}
.jm-mhfa-flagship{--mf-content:var(--jm-rail)}
.jm-package-single{margin:0 0 10px;font-size:1.0625rem}
.jm-journey-call-hint{flex:1 1 100%;font-size:.875rem;color:#40556a;order:3}
.jm-journey-step3 .jm-journey-foot{flex:1 1 320px}
.jm-small-group-note{background:#eef3f6;border-left:3px solid #0e7c86;padding:10px 12px;border-radius:4px;font-size:.9rem!important;line-height:1.5!important;color:#10293f!important;margin:12px 0 0!important}
.jm-small-group-note a{color:#0a5f67}
.jm-package-choice label[hidden],.jm-package-choice select[hidden]{display:none!important}

/* === JM PASS 9 2026-11-13: quick checker, availability reflow, contact card, package card, mobile bar === */
/* Quick price checker */
.jm-quick-checker{max-width:var(--jm-rail,1200px);margin-inline:auto}
.jm-quick-checker>header{margin-bottom:22px;max-width:60ch}
.jm-quick-checker .jm-calc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;padding:0;align-items:start}
.jm-quick-checker .jm-calc-form{background:#fff;border:1px solid #d3e0e8;border-radius:8px;padding:24px;gap:18px}
.jm-quick-checker .jm-calc-context{display:none}
.jm-quick-checker .jm-calc-result{background:#fff;color:#10293f;border:1px solid #d3e0e8;border-left:4px solid #0e7c86;border-radius:8px;padding:24px;position:static}
.jm-quick-checker .jm-calc-total{font-size:clamp(2.2rem,3.6vw,3rem)!important;margin:0 0 4px!important}
.jm-quick-checker .jm-calc-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 12px}
.jm-quick-checker .jm-calc-full-quote{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;background:#0e7c86;color:#fff;border:1.5px solid #0e7c86;border-radius:4px;font-weight:600;text-decoration:none}
.jm-quick-checker .jm-calc-full-quote:hover{background:#10293f;border-color:#10293f;color:#fff}
.jm-journey.jm-quick-checker .jm-calc-result .jm-calc-ask{background:#fff;color:#10293f;border:1.5px solid #10293f;min-height:48px;padding:12px 18px}
.jm-journey.jm-quick-checker .jm-calc-result .jm-calc-ask:hover{background:#e2f1f2;color:#10293f}
.jm-quick-checker .jm-calc-details{margin-top:12px;padding-top:6px;border-top:1px solid #d3e0e8}
.jm-quick-checker .jm-calc-details summary{font-weight:600;font-size:.9375rem;color:#0a5f67;cursor:pointer;min-height:44px;display:flex;align-items:center}
.jm-quick-checker .jm-calc-details .jm-calc-explanation{border:0;margin:4px 0 8px;padding:0;gap:4px}
.jm-quick-checker .jm-calc-details .jm-calc-explanation p,.jm-quick-checker .jm-calc-details p{color:#344f5c;font-size:.9rem;line-height:1.55;margin:0 0 6px}
.jm-quick-checker .jm-journey-individuals{margin:16px 0 0;font-size:.9375rem}
@media(max-width:820px){.jm-quick-checker .jm-calc{grid-template-columns:1fr;gap:16px}}
/* Date finder: course and format on top, dates first, everything else behind More options */
.jm-availability .jm-av-layout{grid-template-columns:1fr!important;gap:18px}
.jm-availability .jm-av-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px 16px;align-items:end;padding:16px;background:#f4f7f9;border-radius:8px}
.jm-availability .jm-av-more{grid-column:1/-1;border-top:1px solid #d3e0e8;padding-top:6px}
.jm-availability .jm-av-more>summary{font-weight:600;color:#0a5f67;cursor:pointer;min-height:44px;display:flex;align-items:center}
.jm-availability .jm-av-more[open]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px 16px;align-items:end}
.jm-availability .jm-av-more[open]>summary{grid-column:1/-1}
.jm-availability .jm-av-more .jm-av-tools{grid-column:1/-1}
.jm-availability .jm-av-status{order:99;border:0;border-top:1px solid #d3e0e8;padding:12px 0 0;margin:16px 0 0;font-size:.875rem;color:#40556a}
.jm-availability .jm-av-main h2{font-size:clamp(1.4rem,2.2vw,1.9rem);margin:0 0 6px}
.jm-availability .jm-av-enquire{background:#0e7c86;border-color:#0e7c86;color:#fff;min-height:48px}
.jm-availability .jm-av-enquire:hover{background:#10293f;border-color:#10293f}
/* Contact: tighter top, carried choices card */
.jn-contact .jn-contact-hero{padding-block:28px 8px}
.jn-contact .jn-contact-opening h1{font-size:clamp(2rem,3.6vw,3.2rem);margin:0}
.jn-contact .jn-contact-opening .jn-lead{display:none}
.jn-contact .jn-contact-grid{padding-top:24px}
.jm-carried-choices{background:#e2f1f2;border-left:4px solid #0e7c86;border-radius:6px;padding:16px 20px;margin:0 0 22px}
.jm-carried-choices strong{display:block;font-size:.8125rem;text-transform:uppercase;letter-spacing:.04em;color:#0a5f67;margin-bottom:4px}
.jm-carried-choices p{margin:0 0 6px;font-size:1rem;font-weight:600;color:#10293f;max-width:none}
.jm-carried-choices .jm-carried-note{font-weight:400;font-size:.9rem;color:#344f5c}
.jm-carried-choices a{font-size:.9rem;font-weight:600;color:#0a5f67}
/* Package block: one calm card */
.jm-service-request{background:#fff;border:1px solid #d3e0e8;border-radius:8px;padding:clamp(22px,4vw,40px);gap:clamp(24px,5vw,56px);align-items:start}
.jm-service-request .jm-package-choice{background:#f4f7f9;border-top:0;border-left:4px solid #0e7c86;border-radius:6px;padding:22px}
.jm-service-request .jm-package-ask{background:#0e7c86;min-height:48px;display:inline-flex;align-items:center;justify-content:center;margin:12px 0}
.jm-service-request .jm-package-ask:hover{background:#10293f}
/* Quote page planner: proof sits below the tool, extra captions removed */
.jm-planner .jm-plan-total-caption{display:none}
.jm-planner>.jm-plan-proof{margin-top:32px}
/* Quick bar on phones keeps its one-line label */
@media(max-width:650px){.jm-quickbar-text{display:block!important;font-size:.8125rem;line-height:1.3}.jm-quickbar-actions a{min-height:44px}}
/* === END JM PASS 9 === */
.jm-availability{display:flex;flex-direction:column}
.jm-availability .jm-av-layout{order:1}
.jm-availability .jm-av-status{order:2}
.jm-availability .jm-av-sr{order:3}
.jm-availability .jm-av-controls>.jm-av-field .jm-av-help{display:none}
.jm-availability .jm-av-controls{align-items:start}

/* ==========================================================================
   Legal pages (privacy, terms, complaints): one reading column, one rhythm.
   Added 16 Nov 2026. Scoped to .jm-legal so nothing else on the site changes.
   Remove this whole block to go back to the previous look.
   ========================================================================== */
.entry-content .jm-band.jm-legal,
.jm-band.jm-legal {
  --legal-measure: 46rem;
  --legal-line: #d3e0e8;
  --legal-ink: var(--jm-navy, #10293f);
  --legal-muted: #3d5365;
  padding-block: clamp(40px, 6vw, 80px);
  color: var(--legal-ink);
}
/* one column for everything: text, lists, tables, headings */
.entry-content .jm-band.jm-legal > *,
.jm-band.jm-legal > * {
  max-width: var(--legal-measure);
  margin-inline: 0 !important;
}
/* a second legal band (an added section) continues the page instead of starting a new one */
.jm-band.jm-legal + .jm-band.jm-legal {
  padding-top: 0;
}
.jm-band.jm-legal + .jm-band.jm-legal > h2:first-child {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--legal-line);
}

/* headings: three clear steps, steady spacing */
.entry-content .jm-band.jm-legal h1,
.jm-band.jm-legal h1 {
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  line-height: 1.12;
  margin: 0 0 clamp(24px, 3vw, 36px);
}
.entry-content .jm-band.jm-legal h2,
.jm-band.jm-legal h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  line-height: 1.22;
  letter-spacing: -0.005em;
  margin: clamp(40px, 5vw, 56px) 0 14px;
}
.entry-content .jm-band.jm-legal h3,
.jm-band.jm-legal h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.0037em;
  margin: 32px 0 10px;
}
.jm-band.jm-legal h1 + h2,
.jm-band.jm-legal > h1 + p { margin-top: 0; }
.jm-band.jm-legal h2 + h3 { margin-top: 20px; }

/* body text: 16px, comfortable line height, even paragraph gaps */
.entry-content .jm-band.jm-legal p,
.entry-content .jm-band.jm-legal li,
.jm-band.jm-legal p,
.jm-band.jm-legal li {
  font-size: 1rem;
  line-height: 1.7;
}
.entry-content .jm-band.jm-legal li,
.jm-band.jm-legal li { max-width: none; }
.jm-band.jm-legal p { margin: 0 0 1rem; }
.jm-band.jm-legal ul,
.jm-band.jm-legal ol {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
}
.jm-band.jm-legal li { margin: 0 0 0.5rem; padding-left: 0.2rem; }
.jm-band.jm-legal li:last-child { margin-bottom: 0; }
.jm-band.jm-legal strong { font-weight: 650; }
.jm-band.jm-legal a { overflow-wrap: anywhere; }

/* tables: same column, light lines, readable cells, scroll on small screens */
.jm-band.jm-legal .wp-block-table {
  margin: 1.5rem 0 2rem;
}
.jm-band.jm-legal .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--legal-line);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.jm-band.jm-legal .wp-block-table th,
.jm-band.jm-legal .wp-block-table td {
  border: 1px solid var(--legal-line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.jm-band.jm-legal .wp-block-table thead th {
  background: var(--jm-tint, #e8f4f5);
  border-bottom: 2px solid var(--legal-ink);
  font-weight: 650;
}
.jm-band.jm-legal .wp-block-table code {
  font-size: 0.85em;
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .jm-band.jm-legal .wp-block-table table { font-size: 0.875rem; }
  .jm-band.jm-legal .wp-block-table th,
  .jm-band.jm-legal .wp-block-table td { padding: 10px 12px; }
}

/* ==========================================================================
   One size for section headings (h2) across the site. Added 16 Nov 2026.
   Previously 42, 48, 49, 52 and 56px were all in use for the same level.
   Smaller label-style headings (calculator result, contact sidebar) are left alone.
   Remove this block to go back to the previous look.
   ========================================================================== */
.jn-section-heading h2,
.jn-conflict-intro h2,
.jn-about-copy h2,
.jn-elearning-copy h2,
.jn-closing-grid h2,
.jn-wrap > h2,
body .jm-service-request h2,
.jm-quick-checker .jm-journey-heading,
.jm-quick-checker > h2,
.jm-quick-checker .wp-block-heading,
.jm-mhfa-flagship h2,
.jm-editorial-row > h2,
.mf-wrap .wp-block-group h2.wp-block-heading,
.mf-wrap h2,
.jm-quick-checker > header > h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

/* Footer legal links: a proper tap size, and no two links wrapping into one another. */
.jm-footer-legal a {
  display: inline-block;
  min-height: 24px;
  padding-block: 4px;
}

/* ==========================================================================
   Content edge: every page's text starts on the same line as the standard
   pages (120px at 1440px wide). The older "jn-" and "mf-" page wrappers were
   64px/48px wide of it. Added 17 Nov 2026. Delete this block to undo.
   ========================================================================== */
.jn-page .jn-wrap,
.jm-mhfa-flagship .mf-wrap,
.jm-proofstrip .jm-proofstrip-inner,
.jm-mhfa-flagship .jm-proofstrip-inner,
.jm-proofstrip-inner {
  max-width: calc(var(--jm-wide, 1200px) + 2 * var(--jm-gutter, 24px));
  padding-inline: var(--jm-gutter, 24px);
  margin-inline: auto;
}


/* ==========================================================================
   Typeface: Allo (Josh Puckett, SIL Open Font License), self-hosted.
   Replaces Manrope, Inter and Plus Jakarta Sans everywhere. Added 17 Nov 2026.
   Variable file: weight 300-800, optical size 14-32 (sets itself by text size).
   To undo, restore theme-style-before-allo.css from the handover backup folder.
   ========================================================================== */
@font-face {
  font-family: "Allo";
  src: url("fonts/allo/allo-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
html { font-optical-sizing: auto; }

/* ==========================================================================
   Layout polish (17 Nov 2026): grouping by proximity.
   1. Quote and its attribution sit close; separate quotes sit far apart.
   2. Small labels sit tight above the heading they introduce.
   3. Proof strip: three aligned columns, no coloured side stripes.
   4. Course comparison becomes stacked rows on phones (no sideways swipe).
   Delete this block to undo.
   ========================================================================== */
.jn-page .jn-quote cite { margin-top: 14px; }
.jn-page .jn-quote + .jn-quote { margin-top: clamp(56px, 7vw, 88px); }
.jn-page .jn-quote + .jm-text-link { margin-top: clamp(40px, 5vw, 56px); }

.jm-band > .jm-step + h2,
.jm-band > .jm-step + h1,
.jn-page .jn-kicker + h2,
.jn-page .jn-kicker + h1,
.mf-kicker + h1, .mf-kicker + h2 { margin-top: 12px; }
.jm-band > .jm-step { margin-bottom: 0; }

.jm-proof-items { align-items: start; }
.jm-proof-item { border-left: 0; padding-left: 0; border-top: 1px solid #b5c7cc; padding-top: 16px; }

@media (max-width: 900px) {
  .jm-comparison-hint,
  .jm-course-compare::after { display: none; }
  .jm-course-compare { overflow: visible; margin-top: 24px; }
  .jm-course-compare table,
  .jm-course-compare tbody,
  .jm-course-compare tr,
  .jm-course-compare td { display: block; width: 100%; min-width: 0; }
  .jm-course-compare thead {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .jm-course-compare tr {
    padding: 20px 0 22px;
    border-top: 1px solid #b5c7cc;
    background: transparent !important;
  }
  .jm-course-compare tr:last-child { border-bottom: 1px solid #b5c7cc; }
  .jm-course-compare td { padding: 0; border: 0; margin: 0 0 14px; width: 100%; }
  .jm-course-compare td:last-child { margin-bottom: 0; }
  .jm-course-compare td:first-child { font-size: 1.0625rem; }
  .jm-course-compare td:not(:first-child)::before {
    display: block; margin-bottom: 2px;
    font-size: .8125rem; font-weight: 650; letter-spacing: .02em; color: #435b67;
  }
  .jm-course-compare td:nth-child(2)::before { content: "Length and format"; }
  .jm-course-compare td:nth-child(3)::before { content: "Group and recognition"; }
  .jm-course-compare td:nth-child(4)::before { content: "Price"; }
}
.jm-proofstrip .jm-proof-items { align-items: stretch; }
.jm-proofstrip .jm-proof-item { align-self: stretch; }

/* Quick price check card: the new tool zeroed the form padding, so controls touched the edges. */
.jm-quick-checker .jm-calc.jm-q .jm-calc-form { padding: clamp(24px, 3vw, 36px); gap: 28px; }
.jm-quick-checker .jm-calc.jm-q .jm-calc-result { padding: clamp(24px, 3vw, 36px); }

/* Package choice box: full hairline border instead of a coloured side stripe. */
.jm-service-request .jm-package-choice { border: 1px solid #b5c7cc; border-left: 1px solid #b5c7cc; }

/* Enquiry form: the choices live in one editable box, so the extra summary card is hidden. */
.jm-carried-choices { display: none; }
.jn-form-brief > summary[hidden] { display: none; }

/* MHFA testimonial cards: attribution sits on the same line in every card. */
.mf-wrap > .mf-secondary-quote { display: flex; flex-direction: column; }
.mf-secondary-quote cite { margin-top: auto; padding-top: 16px; }

/* Drop-downs: one modern style everywhere (quote tool, dates tool, enquiry form, service request boxes). */
body .jm-calc.jm-q select,
body .jm-calc select,
body .jm-availability select,
body .jm-a select,
body .fluentform select,
body .jm-service-request select,
body .jm-planner select {
  -webkit-appearance: none; appearance: none;
  min-height: 52px; padding: 12px 48px 12px 16px;
  border: 1px solid #6e8793; border-radius: 8px;
  background-color: #fff !important; color: #10293f;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5l5.5 5.5 5.5-5.5' fill='none' stroke='%2310293f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 18px center !important; background-size: 14px 9px !important;
  font: inherit; line-height: 1.4; text-overflow: ellipsis; cursor: pointer;
}
body .jm-calc.jm-q select:hover,
body .jm-calc select:hover,
body .jm-availability select:hover,
body .fluentform select:hover { border-color: #10293f; }
body .jm-calc select:focus-visible,
body .jm-availability select:focus-visible,
body .fluentform select:focus-visible,
body .jm-service-request select:focus-visible { outline: 3px solid #0a5f67; outline-offset: 3px; }

/* Quote tool: the form column keeps its natural spacing when the result card is taller. */
body .jm-calc.jm-q .jm-calc-form { align-content: start; }

/* Service request box (mediation, coaching, workshops, speaking, e-learning): one card, real padding. */
body .jm-service-request { background: transparent; border: 0; padding: 0; gap: clamp(28px, 5vw, 64px); align-items: start; }
body .jm-service-request .jm-package-choice { background: #fff; border: 1px solid #b5c7cc; border-radius: 8px; padding: clamp(24px, 3vw, 36px); }
body .jm-service-request .jm-package-choice > * + * { margin-top: 16px; }

/* Grids: WordPress adds a top margin to every block after the first, which pushed columns out of line. */
.jm-proof-items > .jm-proof-item,
.jn-split > *,
.jn-learner-route { margin-block-start: 0; }

/* Call-to-action band followed by "A useful next step": one calm block, not two stacked bands. */
.jm-band:has(+ .jm-next-step) { padding-bottom: clamp(32px, 4vw, 48px); }
.jm-band.jm-next-step { padding-block: clamp(32px, 4vw, 48px) clamp(48px, 5vw, 72px); }

/* Testimonials (testimonials page and service pages): two even columns on wide screens, headings span the row. */
@media (min-width: 1000px) {
  .jm-band:has(> blockquote.jm-quote) { display: block; column-count: 2; column-gap: clamp(24px, 3vw, 40px); }
  .jm-band:has(> blockquote.jm-quote) > :not(blockquote) { column-span: all; margin-bottom: 28px; }
  .jm-band:has(> blockquote.jm-quote) > blockquote.jm-quote { max-width: none; margin: 0 0 24px; break-inside: avoid; }
}

/* Phones: testimonial text a readable size, and each home-page course panel has one button (the second led to the same page). */
@media (max-width: 640px) {
  .jn-page .jn-quote p { font-size: 1.25rem; line-height: 1.5; }
  .jm-cine-panel .jm-cine-secondary { display: none; }
}

/* Course and service pages: a new heading gets clear space above it, so each group reads as one group
   (the space above a heading must be bigger than the space between it and its own text). */
.jm-band > :is(p, ul, ol, table, figure, .wp-block-buttons, .wp-block-table) + h2 { margin-top: clamp(48px, 6vw, 72px); }

/* ===== Final audit fixes ===== */

/* Home: one button per course panel (the second linked to the same page). */
.jm-cine-panel .jm-cine-secondary { display: none; }

/* List rows: the dividers now run the same length as the list (rows no longer stop short). */
.jm-band ul.wp-block-list > li { max-width: none; }

/* About: portrait with an even, modest corner like the other portraits. */
body.page-id-29 main figure.wp-block-image img { border-radius: 8px; }

/* Availability: tighten the gap between the intro and the tool; readable small text. */
body.page-id-237 .entry-content > .jm-band.jm-hero { padding-bottom: clamp(24px, 4vw, 48px); }
body.page-id-237 .entry-content > .jm-band.jm-hero + .jm-band { padding-top: clamp(24px, 4vw, 48px); }
body .jm-availability .jm-a-legend,
body .jm-a .jm-a-legend { font-size: .875rem; }
body .jm-availability .jm-a-small-weekday { font-size: .8125rem; }

/* E-learning hub: heading on the left, content on the right, so the page uses its width. */
@media (min-width: 900px) {
  body.page-id-19 .entry-content > .jm-band:not(.jm-service-hero):not(.jm-next-step):not(:has(blockquote)):not(.jm-proofstrip) {
    display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    column-gap: clamp(32px, 6vw, 96px); row-gap: 8px; align-content: start;
  }
  body.page-id-19 .entry-content > .jm-band:not(.jm-service-hero):not(.jm-next-step):not(:has(blockquote)) > h2 { grid-column: 1; margin: 0; }
  body.page-id-19 .entry-content > .jm-band:not(.jm-service-hero):not(.jm-next-step):not(:has(blockquote)) > :not(h2) { grid-column: 2; margin: 0 0 18px; max-width: none; font-size: 1.125rem; }
  body.page-id-19 .entry-content > .jm-band:not(.jm-service-hero):not(.jm-next-step):not(:has(blockquote)) > ul { list-style: none; padding: 0; }
  body.page-id-19 .entry-content > .jm-band:not(.jm-service-hero):not(.jm-next-step):not(:has(blockquote)) > ul li { padding: 0 0 18px; border-bottom: 0; }
  body.page-id-19 .entry-content > .jm-band:has(> h2 ~ h2) > h2:nth-of-type(2) { grid-row: 2; margin-top: 40px; }
  body.page-id-19 .entry-content > .jm-band:has(> h2 ~ h2) > p:nth-of-type(1) { grid-row: 1; }
  body.page-id-19 .entry-content > .jm-band:has(> h2 ~ h2) > p:nth-of-type(2) { grid-row: 2; margin-top: 40px; }
  body.page-id-19 .entry-content > .jm-band:has(> h2 ~ h2) > p:nth-of-type(3) { grid-row: 3; }
  body.page-id-19 .jm-inline-price { display: block; margin-top: 6px; font-weight: 650; color: #0a5f67; }
}

/* Quick price check on phones: hide the sticky total while the result card is on screen. */
body .jm-calc.jm-q .jm-q-mobile.is-hidden { visibility: hidden; }

/* 17 Nov 2026: small fixes from the Hallmark and web-guidelines audit */
.site-footer p, .site-info, .site-info p { font-size: 0.875rem; line-height: 1.6; }
.site-header .jm-wordmark-detail { font-size: 12px; }
.jm-proof-note { max-width: 72ch; }
.site-footer li a { text-wrap: balance; }
@media (max-width: 480px) {
  .wp-block-button__link { font-size: 0.95rem; padding-inline: 1.1rem; }
  .jm-text-link { text-wrap: balance; }
}
/* Home hero label repeats the logo, so it is hidden (17 Nov 2026) */
.jn-home-hero .jn-hero-copy > .jn-kicker { display: none; }

/* Home page tidy-up, 17 Nov 2026 */
.jm-home-faq .jm-home-faq-list > details { width: 100%; max-width: none; margin-block: 0; }
.jn-home .jn-kicker:has(+ h1),
.jn-home .jn-kicker:has(+ h2),
.jn-home .jn-kicker:has(+ h3) { display: none; }
.jm-trust-list { margin-bottom: 48px; }

/* FAQ open state: answer sits close to its question and clear of the next divider */
.jm-home-faq details[open] > summary { margin-block-end: 0; padding-bottom: 8px; }
.jm-home-faq details > p { margin: 0; padding-bottom: 24px; font-size: 1.0625rem; line-height: 1.65; }

/* Footer, 17 Nov 2026: plain sentence-case headings, readable links, a calmer phone layout */
.site-footer .jm-footer h2 { font-family: var(--jm-font-reading); font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: #fff; margin: 0 0 14px; }
.site-footer .jm-footer li { margin-bottom: 6px; }
.site-footer .jm-footer li a { font-size: 0.9375rem; line-height: 1.45; padding-block: 6px; color: rgba(255,255,255,.86); }
.site-footer .jm-footer li a:hover { color: #fff; }
.site-footer .jm-footer p { color: rgba(255,255,255,.86); font-size: 0.9375rem; }
@media (max-width: 650px) {
  .site-footer .jm-footer { grid-template-columns: minmax(0,1fr); gap: 32px; padding-top: 48px; }
  .site-footer .jm-footer ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 20px; }
  .site-footer .jm-footer h2 { font-size: 1rem; }
}

/* ===== Site-wide patterns, 17 Nov 2026 (Hallmark / make-interfaces-feel-better pass) ===== */

/* Testimonials: words first. No card, no shadow, no decorative quote mark. A hairline separates quotes. */
body .jm-band > blockquote.jm-quote,
body .jm-outcomes > blockquote.jm-quote { background: none; border: 0; border-top: 1px solid #d3e0e8; border-radius: 0; box-shadow: none; padding: 24px 0 4px; margin: 0 0 32px; }
body .jm-band > blockquote.jm-quote::before,
body .jm-outcomes > blockquote.jm-quote::before { content: none; display: none; }
body blockquote.jm-quote p { font-size: 1.0625rem; line-height: 1.7; max-width: 68ch; }
body blockquote.jm-quote cite { border-top: 0; padding-top: 0; margin-top: 14px; font-size: 0.9375rem; font-weight: 600; font-style: normal; }

/* Other blockquotes in content: no coloured side stripe */
.jm-band blockquote:not(.jm-quote) { border-left: 0; padding: 20px 0 0; border-top: 1px solid #d3e0e8; }

/* Side stripes replaced with full, quiet borders or tints */
.jm-proof-item { border-left: 0; border-top: 1px solid #d3e0e8; padding-left: 0; }
.jm-small-group-note { border-left: 0; border-radius: 6px; }
.jm-carried-choices { border-left: 0; border: 1px solid #b9d9da; border-radius: 8px; }
.jm-carried-choices strong { text-transform: none; letter-spacing: 0; font-size: 0.9375rem; }
.jm-service-request .jm-package-choice { border-left: 0; border: 1px solid #d3e0e8; border-radius: 8px; }

/* Small labels above headings repeat the heading: hide them. Remaining labels are sentence case, not spaced capitals. */
.jm-step:has(+ h1), .jm-step:has(+ h2), .jm-step:has(+ h3) { display: none !important; }
.jm-step { text-transform: none !important; letter-spacing: 0 !important; font-size: 0.9375rem !important; }

/* "A useful next step" repeats the call to action directly above it */
.jm-band.jm-next-step { display: none; }


/* Course-page price checker: no card around the choices, one consistent result panel, no repeated public-places line */
.jm-quick-checker .jm-calc.jm-q .jm-calc-form { background: none; border: 0; padding: 0; }
.jm-quick-checker .jm-calc-result { border: 1px solid #d3e0e8 !important; border-left-width: 1px !important; }
.jm-quick-checker .jm-journey-individuals { display: none; }

/* Course outcomes: on the same left edge as the rest of the page, not centred and indented */
.jm-band > .jm-outcomes { margin-inline: 0; max-width: none; padding-block: 0; border-block: 0; }
.jm-band > .jm-outcomes > :is(h2, p, blockquote) { max-width: 72ch; }

/* Accordions: one pattern everywhere. Plus/minus on the right, no browser triangle,
   answer close to its question and clear of the next divider. */
main details > summary { list-style: none; cursor: pointer; position: relative; padding-right: 40px; }
main details > summary::-webkit-details-marker { display: none; }
main details > summary::marker { content: ""; }
main details > summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; line-height: 1; color: #0a5f67; }
main details[open] > summary::after { content: "\2212"; }
main .wp-block-details.wp-block-details { padding: 0; border-bottom: 1px solid var(--jm-line, #cbd5df); }
main .wp-block-details.wp-block-details > summary { display: block; padding: 18px 40px 18px 0; min-height: 48px; margin: 0; }
main .wp-block-details.wp-block-details[open] > summary { margin-bottom: 0; padding-bottom: 8px; }
main .wp-block-details.wp-block-details > :not(summary) { margin-top: 0; }
main .wp-block-details.wp-block-details > :not(summary) + :not(summary) { margin-top: 12px; }
main .wp-block-details.wp-block-details > :last-child:not(summary) { margin-bottom: 22px; }
.jm-home-faq details > p { padding-bottom: 0; }
.jm-home-faq .jm-home-faq-list > details:first-child, main .wp-block-details.wp-block-details:first-of-type { }

/* Section labels above headings repeat the heading: hide them site-wide. Keep any label that stands alone. */
:is(.mf-kicker, .jn-kicker, .jm-eyebrow):has(+ h1, + h2, + h3) { display: none !important; }
.jm-eyebrow { text-transform: none !important; letter-spacing: 0 !important; }

/* FAQs page: the question leads, the answer reads as body text */
main .wp-block-details.wp-block-details > summary { font-size: 1.125rem; font-weight: 600; line-height: 1.45; color: #10293f; }
main .wp-block-details.wp-block-details > p { font-size: 1.0625rem; line-height: 1.65; max-width: 68ch; }
main .wp-block-details.wp-block-details { max-width: 860px; }

/* Cookie banner on phones: a compact sheet along the bottom, not most of the screen.
   Accept and reject stay equal in size and weight. */
@media (max-width: 600px) {
  body .cmplz-cookiebanner { top: auto !important; bottom: 0 !important; left: 0 !important; right: 0 !important; transform: none !important; width: 100% !important; max-width: none !important; max-height: 60vh; border-radius: 14px 14px 0 0 !important; padding: 14px 16px 16px !important; gap: 10px !important; box-shadow: 0 -10px 30px -12px rgba(16,41,63,.35) !important; }
  body .cmplz-cookiebanner .cmplz-body { min-width: 0 !important; }
  body .cmplz-cookiebanner .cmplz-message { font-size: 0.875rem !important; line-height: 1.5 !important; }
  body .cmplz-cookiebanner .cmplz-buttons { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px !important; }
  body .cmplz-cookiebanner .cmplz-btn { width: 100% !important; min-height: 44px; margin: 0 !important; padding: 8px 10px !important; font-size: 0.9375rem !important; }
  body .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences, body .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences { grid-column: 1 / -1; min-height: 40px; }
  body .cmplz-cookiebanner .cmplz-links { font-size: 0.875rem; }
}

/* Home courses: a plain two-by-two grid, every course visible, nothing pinned or wiped */
.jm-cine .jm-cine-track { height: auto !important; max-width: 1200px; margin: 0 auto; padding-inline: var(--jm-gutter, 24px); box-sizing: content-box; }
.jm-cine .jm-cine-stage { position: static !important; height: auto !important; min-height: 0 !important; overflow: visible !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 48px; }
.jm-cine .jm-cine-card { position: static !important; inset: auto !important; clip-path: none !important; visibility: visible !important; min-height: 0 !important; margin: 0 !important; display: flex !important; flex-direction: column; background: none !important; color: inherit; overflow: visible; }
.jm-cine .jm-cine-card::after { display: none !important; }
.jm-cine .jm-cine-img { position: relative !important; inset: auto !important; aspect-ratio: 3 / 2; margin: 0 0 22px; border-radius: 8px; overflow: hidden; }
.jm-cine .jm-cine-img img { width: 100%; height: 100%; object-fit: cover; transform: none !important; outline: 1px solid rgba(0,0,0,.08); outline-offset: -1px; }
.jm-cine .jm-cine-panel { position: static; width: auto; margin: 0 !important; padding: 0 !important; background: none !important; border-radius: 0; display: flex; flex-direction: column; flex: 1; }
.jm-cine .jm-cine-panel h3 { color: #10293f; font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.2; margin: 0 0 10px; }
.jm-cine .jm-cine-panel p { color: #344f5c; max-width: 52ch; }
.jm-cine .jm-cine-panel .jm-cine-facts { color: #435b67; border-top: 1px solid #d3e0e8; padding-top: 12px; margin-bottom: 18px; }
.jm-cine .jm-cine-panel .wp-block-buttons { margin-top: auto; }
.jm-cine .jm-cine-panel .wp-block-button__link { background: #0a5f67; color: #fff; border: 1px solid #0a5f67; }
.jm-cine .jm-cine-panel .wp-block-button__link:hover { background: #10293f; border-color: #10293f; color: #fff; }
.jm-cine .jm-cine-panel a:focus-visible { outline-color: #0a5f67; }
.jm-cine-nav { display: none !important; }
.jm-cine .jm-cine-foot { padding-block: 48px 72px; }
@media (max-width: 760px) {
  .jm-cine .jm-cine-stage { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .jm-cine .jm-cine-img { margin-bottom: 16px; }
}
.jm-cine .jm-cine-track { padding-inline: 0; box-sizing: border-box; width: min(1200px, calc(100% - 2 * var(--jm-gutter, 24px))); }
.jm-cine .jm-cine-img { display: block !important; width: 100% !important; align-self: stretch; }
.jm-cine .jm-cine-img img { display: block; width: 100% !important; height: 100% !important; }
.jm-cine .jm-cine-panel > * { margin-inline: 0 !important; }
.jm-cine .jm-cine-card { align-items: stretch !important; }

/* One testimonial on its own uses the full measure; two-column flow only when there are several */
@media (min-width: 900px) {
  .jm-band:has(> blockquote.jm-quote):not(:has(> blockquote.jm-quote ~ blockquote.jm-quote)) { column-count: 1 !important; }
}
/* Lists inside content bands keep their bullets inside the page edge */
.jm-band > ul.wp-block-list, .jm-band > ol.wp-block-list { padding-left: 1.25em; }
.jm-band > ul.wp-block-list li, .jm-band > ol.wp-block-list li { padding-left: 0.25em; margin-bottom: 8px; }
@media (max-width: 650px) {
  .jn-page .jn-quote p, .jn-page .jn-quote blockquote p { font-size: 1.125rem !important; line-height: 1.6 !important; }
}

/* Plain content bands that are not full width keep the page's left edge (no extra inner indent) */
@media (min-width: 1248px) {
  .entry-content > .jm-band:not(.alignfull):not(.has-background):not(.jm-ca-request) { padding-inline: 0; }
}
/* Form help icons: the help text is either shown in the field or not needed */
.fluentform .ff-el-tooltip { display: none !important; }

/* Suicide-awareness and speaking heroes: a later rule made the background light but left the text white.
   Match every other service hero: light background, dark text. */
body:is(.page-id-13, .page-id-15) .jm-band.jm-service-hero { color: #10293f; }
body:is(.page-id-13, .page-id-15) .jm-band.jm-service-hero :is(h1, h2, p) { color: #10293f; }
body:is(.page-id-13, .page-id-15) .jm-band.jm-service-hero .jm-lede { color: #344f5c; }
body:is(.page-id-13, .page-id-15) .jm-band.jm-service-hero .is-style-outline .wp-block-button__link { color: #10293f; border-color: #10293f; }
body:is(.page-id-13, .page-id-15) .jm-band.jm-service-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link { color: #fff; }

/* Two sections written as heading + paragraph back to back need air between them */
.jm-band > p + h2, .jm-band > ul + h2 { margin-top: 56px; }
/* Service heroes share the site's 1200px content edge */
.jm-band.jm-service-hero { padding-inline: max(24px, calc((100vw - 1200px) / 2)); }

/* MHFA page testimonials: same plain treatment as everywhere else */
.jm-mhfa-flagship .mf-proof blockquote { background: none; border: 0; border-top: 1px solid #d3e0e8; border-radius: 0; padding: 20px 0 0; }
.jm-mhfa-flagship .mf-proof blockquote p { font-weight: 400 !important; font-size: 1rem; }
.jm-mhfa-flagship .mf-proof blockquote cite { border-top: 0; padding-top: 0; margin-top: 12px; }
.jm-mhfa-flagship .mf-proof .mf-wrap { gap: 32px; }
.jm-mhfa-flagship .mf-proof .mf-wrap > blockquote { margin: 0 !important; align-self: start; }

/* Readable line length for running text everywhere (65 to 75 characters) */
main p.wp-block-paragraph:not(.has-text-align-center), main .jm-evidence-note, main .jm-proof-note { max-width: 72ch; }
main .wp-block-list li { max-width: 72ch; }
/* Form fields: borders at least 3:1 against the background */
.fluentform .ff-el-form-control { border-color: #6e8793 !important; }
/* This typeface is narrow, so cap running text by width: about 75 characters a line */
main p.wp-block-paragraph:not(.has-text-align-center), main .jm-evidence-note, main .jm-proof-note, main .wp-block-list li { max-width: 37em; }
/* Legal pages: a narrower reading column (about 75 characters) at 17px */
.jm-band.jm-legal > :not(.alignfull):not(.alignwide) { max-width: 40rem !important; }
.jm-band.jm-legal :is(p, li) { font-size: 1.0625rem; line-height: 1.7; }

/* Buyer routes and topic navigation use the existing type and colour tokens. */
.jm-hero-routes,
.jm-page-jumps {
 display:flex;
 flex-wrap:wrap;
 gap:8px 24px;
 margin-block:16px 24px;
}
.jm-hero-routes a,
.jm-page-jumps a {
 display:inline-flex;
 align-items:center;
 min-height:44px;
 font-weight:600;
 text-underline-offset:.2em;
 touch-action:manipulation;
}
.jn-hero-copy .jm-hero-routes a {color:var(--jm-teal-dark);}
.jm-page-jumps a {color:inherit;}
.jm-hero-routes a:focus-visible,
.jm-page-jumps a:focus-visible {outline:3px solid currentColor;outline-offset:4px;}
.jn-page h2.jm-section-label {
 font-size:1rem;
 line-height:1.5;
 letter-spacing:normal;
}

.jn-home .jm-triage,
.jn-home .jn-impact,
.jn-home .jm-trust {
  padding-block: clamp(30px, 4vw, 56px);
}

.jn-home .jm-trust {
  padding-block-end: clamp(48px, 6vw, 80px);
}

.jn-home :is(.jm-triage, .jn-impact, .jm-trust) .jm-section-label {
  color: var(--jm-navy);
  font-size: clamp(1.375rem, 2.1vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.25;
}

.jn-home .jn-impact-grid {
  gap: 20px 24px;
  margin-block: 24px 18px;
}

.jn-home .jn-impact-grid > .jn-impact-item {
  border: 0;
  padding: 0;
}

.jn-home .jn-impact-item > p {
  margin: 0;
}

.jn-home .jn-impact-item > p + p {
  margin: 7px 0 0;
  line-height: 1.4;
}

.jn-home .jn-impact-item .jn-rating-source,
.jn-home .jn-impact-note {
  color: var(--jm-muted);
  font-size: .9375rem;
  line-height: 1.5;
}

.jn-home .jn-impact-item .jn-rating-source {
  margin-top: 4px;
}

.jn-home .jn-impact-note {
  margin: 0 0 8px;
}

.jn-home .jn-impact-link {
  margin: 0;
}

.jn-home .jm-trust ul.jm-trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 24px;
  max-width: none;
  padding: 0;
  margin: 0 0 26px;
  list-style: disc outside;
  color: var(--jm-muted);
  font: 550 1rem/1.45 var(--jm-font-reading);
}

.jn-home .jm-trust-list li {
  margin: 0 0 0 1em;
  text-wrap: pretty;
}

.jn-home .jm-trust-list li::marker {
  color: var(--jm-teal-dark);
}

.jn-home :is(.jm-triage, .jm-trust) .jm-card {
  display: flex;
  flex-direction: column;
}

.jn-home :is(.jm-triage, .jm-trust) .jm-card .jm-card-link {
  margin-top: auto;
}

.jn-home .jm-cine .jm-cine-panel h3,
.jn-home .jm-cine .jm-cine-panel p {
  text-wrap: pretty;
}

@supports (grid-template-rows: subgrid) {
  @media (min-width: 761px) {
    .jn-home .jm-cine .jm-cine-stage {
      row-gap: 14px;
    }

    .jn-home .jm-cine .jm-cine-card {
      display: grid !important;
      grid-row: span 5;
      grid-template-rows: subgrid;
    }

    .jn-home .jm-cine .jm-cine-img {
      margin-bottom: 6px;
    }

    .jn-home .jm-cine .jm-cine-panel {
      display: grid;
      grid-row: span 4;
      grid-template-rows: subgrid;
    }

    .jn-home .jm-cine .jm-cine-panel > :is(h3, p, .wp-block-buttons) {
      margin-block: 0;
      align-self: start;
    }

    .jn-home .jm-cine .jm-cine-card:nth-child(-n + 2) .wp-block-buttons {
      margin-bottom: 40px;
    }
  }

  @media (min-width: 901px) {
    .jn-home :is(.jm-triage, .jm-trust) .jm-card {
      display: grid;
      grid-row: span 3;
      grid-template-rows: subgrid;
      gap: 10px;
    }

    .jn-home :is(.jm-triage, .jm-trust) .jm-card > :is(h3, p) {
      margin-block: 0;
    }
  }
}

@media (max-width: 650px) {
  .jn-home .jm-trust ul.jm-trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 16px;
    font-size: .9375rem;
  }

  .jn-home .jm-trust .jm-trust-list li {
    overflow-wrap: anywhere;
  }
}

/* Keep the close glyph visually quiet while retaining a full tap target. */
#jm-quickbar .jm-quickbar-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: var(--jm-white);
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
}

#jm-quickbar .jm-quickbar-close:hover {
  background: color-mix(in srgb, var(--jm-white) 10%, transparent);
}

#jm-quickbar .jm-quickbar-close:focus-visible {
  outline-offset: -3px;
}

@media (max-width: 650px) {
  #jm-quickbar {
    padding-right: 56px;
  }

  #jm-quickbar .jm-quickbar-close {
    right: 6px;
  }
}

/* Use spacing to group credentials, editorial lists and supporting sections. */
.entry-content .jm-proofstrip {
  border: 0;
  background: transparent;
  padding-block: clamp(22px, 3.3vw, 44px);
}

.entry-content .jm-proofstrip .jm-proof-item {
  border: 0;
  padding: 0;
}

.entry-content .jm-training-credentials .jm-proof-value {
  font-size: clamp(1.125rem, 1.65vw, 1.4375rem);
}

.jm-planning-band,
.jn-page :is(.jn-process, .jn-step, .jn-offer-row, .jn-contact-grid) {
  border-block: 0;
}

.jn-page .jn-contact-grid {
  padding-top: 0;
}

.jm-band > ul.wp-block-list:has(> li > a:first-child > strong) {
  gap: 20px;
  border: 0;
  margin-top: 20px;
}

.jm-band > ul.wp-block-list:has(> li > a:first-child > strong) > li {
  border: 0;
  padding: 0;
}

body .entry-content .jm-outcomes > blockquote.jm-quote,
.entry-content .jm-band blockquote:not(.jm-quote),
.jm-mhfa-flagship .mf-proof blockquote {
  border-top: 0;
}

main .jm-home-faq .jm-home-faq-list {
  border: 0;
}

main .entry-content details.wp-block-details {
  max-width: 860px;
  border: 0;
  border-radius: 9px;
  background: #f4f7f8;
  padding: 0;
  margin-block: 0 10px;
}

main .entry-content details.wp-block-details > summary,
main .entry-content .jn-form-brief > summary {
  padding: 14px 44px 14px 16px;
  border-radius: 9px;
}

main .entry-content details.wp-block-details > summary::after,
main .entry-content .jn-form-brief > summary::after {
  right: 16px;
}

main .entry-content details.wp-block-details > summary:hover,
main .entry-content .jn-form-brief > summary:hover {
  background: #e9f0f2;
}

main .entry-content details.wp-block-details[open] > :not(summary) {
  margin-inline: 16px;
}

main .entry-content details.wp-block-details[open] {
  display: flow-root;
}

main .entry-content .jn-form-brief {
  background: #f4f7f8;
  border: 0;
  border-radius: 9px;
}

main .entry-content .jn-form-brief[open] {
  padding-bottom: 16px;
}

main .entry-content .jn-form-brief[open] > :not(summary) {
  margin-inline: 16px;
}

/* Comparison uses cell spacing and alternating fill on desktop, grouped rows on phones. */
.jm-comparison .jm-course-compare {
  position: relative;
  margin-top: 26px;
  border: 0;
}

.jm-comparison .jm-course-compare table {
  min-width: 0;
  margin: 0;
  border: 0;
  font-size: .975rem;
  line-height: 1.5;
}

.jm-comparison .jm-course-compare :is(thead, tr, th, td) {
  border: 0;
}

.jm-comparison .jm-course-compare th {
  background: #eaf0f2;
  color: var(--jm-navy);
  padding: 14px 16px;
}

.jm-comparison .jm-course-compare th:first-child {
  border-start-start-radius: 10px;
}

.jm-comparison .jm-course-compare th:last-child {
  border-start-end-radius: 10px;
}

.jm-comparison .jm-course-compare td {
  padding: 18px 16px;
}

.jm-tailored-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.jm-tailored-options .jm-tailored-option {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 12px;
  background: #f4f7f8;
}

.jm-tailored-option :is(h3, p) {
  margin: 0;
}

.jm-tailored-option .jm-tailored-price {
  font-weight: 650;
}

.jm-tailored-option .jm-text-link {
  margin-top: auto;
}

/* MHFA course facts, participant ratings and learning topics. */
.jm-mhfa-flagship .mf-essentials {
  padding-block: clamp(18px, 3vw, 38px);
}

.jm-mhfa-flagship .mf-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 0;
  padding: clamp(18px, 3vw, 28px);
  border: 0;
  border-radius: 12px;
  background: #f4f7f8;
}

.jm-mhfa-flagship .mf-fact {
  border: 0;
  padding: 0;
}

.jm-mhfa-flagship .mf-fact .mf-fact-value {
  margin-top: 5px;
}

.jm-mhfa-flagship .mf-jump-links {
  margin: 14px 0 0;
  gap: 4px 20px;
}

.jm-mhfa-flagship .mf-jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.jm-mhfa-flagship .jm-course-feedback-title {
  margin: 0 0 20px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.jm-mhfa-flagship .jm-course-feedback .jm-proof-value {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
}

.jm-course-feedback .jm-delta .jm-delta-row {
  padding: 16px 18px;
  border-radius: 10px;
  background: #f4f7f8;
}

.jm-course-feedback .jm-delta .jm-delta-label {
  font-family: var(--jm-font-reading);
  font-size: 1rem;
  font-weight: 650;
  margin: 0 0 10px;
  color: var(--jm-navy);
}

.jm-delta-scores {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 0;
}

.jm-delta-scores div {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: .9rem;
  color: var(--jm-muted);
}

.jm-delta-scores dd {
  margin: 0;
  color: var(--jm-navy);
  font-size: 1.05rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.jm-delta-scores div:last-child dd {
  color: var(--jm-teal-dark);
}

.jm-mhfa-flagship .mf-curriculum {
  background: #fff;
}

.jm-mhfa-flagship .mf-curriculum-grid {
  gap: clamp(24px, 5vw, 72px);
}

.jm-mhfa-flagship .mf-curriculum h2 {
  margin-bottom: 14px;
}

main .entry-content .mf-modules > .mf-module:first-child {
  border: 0;
}

@media (max-width: 900px) {
  .jm-comparison .jm-course-compare tbody tr {
    background: #f4f7f8 !important;
    border: 0;
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 16px;
  }

  .jm-comparison .jm-course-compare td {
    padding: 0;
  }
}

@media (max-width: 780px) {
  .jm-mhfa-flagship .mf-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .jm-tailored-options {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Homepage: one introduction with a compact trainer profile and two actions. */
.jn-home .jn-home-hero {
  background: #eff5f4;
  padding-block: clamp(40px, 4.4vw, 66px);
}

.jn-home .jn-home-hero .jn-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: clamp(32px, 5vw, 64px);
  max-width: 980px;
  margin-inline: auto;
}

.jn-home .jn-home-hero h1 {
  margin-block: 0 25px;
}

.jn-home .jn-home-hero .jn-lead {
  margin-block: 0;
  max-width: 47ch;
  text-wrap: pretty;
}

.jn-home .jn-home-hero .wp-block-buttons {
  margin-block: 24px 0;
}

.jn-home .jn-home-hero .jn-hero-visual {
  width: min(100%, 300px);
  justify-self: start;
}

.jn-home .jn-home-hero .jn-hero-photo img {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 12px;
  object-position: center 34%;
  box-shadow: none;
}

.jn-home .jn-hero-photo figcaption {
  display: grid;
  gap: 2px;
  margin: 14px 0 0;
  color: var(--jm-muted);
  text-align: left;
  font-size: .9375rem;
  line-height: 1.4;
}

.jn-home .jn-hero-photo figcaption strong {
  color: var(--jm-navy);
  font-size: 1.125rem;
}

.jn-home .jn-profile-credentials {
  display: grid;
  gap: 3px;
  margin-top: 6px;
  font-size: .875rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.jn-home :is(.jm-triage, .jn-impact, .jm-trust) {
  background: #fff;
  border: 0;
}

@media (max-width: 850px) {
  .jn-home .jn-home-hero .jn-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .jn-home .jn-home-hero .jn-hero-visual {
    width: 100%;
  }

  .jn-home .jn-home-hero .jn-hero-photo {
    display: grid;
    grid-template-columns: clamp(76px, 23vw, 112px) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
  }

  .jn-home .jn-hero-photo figcaption {
    margin: 0;
  }
}

/* Keep each testimonial and its source together, without dividers or columns of mixed quotes. */
.jm-testimonials-intro {
  background: #eff5f4;
  padding-block: clamp(32px, 4vw, 56px);
}

.jm-testimonial-wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(24px, 4vw, 48px);
}

.jm-testimonials-intro h1 {
  margin: 0 0 10px;
}

.jm-testimonials-intro p {
  max-width: 55ch;
  margin: 0;
}

main .entry-content .jm-testimonials-intro .jm-testimonial-jumps {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: none;
  gap: 4px 22px;
  margin-top: 14px;
  font-weight: 650;
}

.jm-testimonial-jumps a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 4px;
}

.jm-testimonial-section {
  padding-block: clamp(28px, 4vw, 52px) 0;
}

.jm-testimonial-section + .jm-band {
  margin-top: clamp(36px, 5vw, 64px);
}

.jm-testimonial-section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  scroll-margin-top: calc(var(--jm-header-offset, 90px) + 24px);
}

.jm-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.jm-testimonial-card {
  min-width: 0;
  margin: 0;
  background: #f3f7f7;
  padding: clamp(18px, 2.5vw, 28px);
  border-radius: 12px;
}

.jm-testimonial-card h3 {
  color: var(--jm-navy);
  font-size: 1.1875rem;
  line-height: 1.25;
  margin: 0 0 3px;
}

.jm-testimonial-card .jm-testimonial-role {
  color: var(--jm-muted);
  font-size: .9375rem;
  line-height: 1.45;
  margin: 0 0 15px;
}

main .entry-content .jm-testimonial-card .jm-testimonial-quote {
  padding: 0;
  margin: 0;
  border: 0;
  font-style: normal;
  background: none;
}

main .entry-content .jm-testimonial-quote p {
  margin: 0;
  color: var(--jm-navy);
  font-size: 1.0625rem;
  line-height: 1.62;
  text-wrap: pretty;
}


.jm-testimonial-card .jm-testimonial-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  margin: 6px 0 0;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--jm-teal-dark);
  font: 650 .9375rem/1.4 var(--jm-font-reading);
  cursor: pointer;
}

.jm-testimonial-card .jm-testimonial-toggle:hover {
  color: var(--jm-navy);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.jm-testimonial-toggle:focus-visible {
  outline: 2px solid var(--jm-teal-dark);
  outline-offset: 3px;
}

@media print {
  .jm-testimonial-toggle { display: none !important; }
  .jm-testimonial-quote [hidden] { display: inline !important; }
}

/* Quotations embedded on service pages also use one surface for quote and signature. */
body .entry-content :is(.jm-band,.jm-outcomes) > blockquote.jm-quote,
body .entry-content .jm-mhfa-flagship .mf-proof blockquote {
  background: #f3f7f7;
  border: 0;
  border-radius: 12px;
  padding: clamp(18px, 2.8vw, 30px);
}

body .entry-content blockquote.jm-quote cite,
body .entry-content .jm-mhfa-flagship .mf-proof blockquote cite {
  border: 0;
  padding: 0;
  margin-block: 12px 0;
}

@media (max-width: 720px) {
  .jm-testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

/* Leave room for the sticky header when restoring an old bookmark. */
.entry-content :is(#enquiry, #ca-request, #bundle-courses, #compare-courses, .jm-legal h2[id]) {
  scroll-margin-top: calc(var(--jm-header-offset, 90px) + 24px);
}
.jm-terms-print button {
  background: transparent;
  color: var(--jm-teal-dark);
  border: 0;
  min-height: 44px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.jm-terms-print button:hover {
  background: transparent;
  color: var(--jm-navy);
}
@media print {
  .jm-printable-terms :is(.site-header, .site-footer, #jm-quickbar, .cmplz-cookiebanner, #cmplz-manage-consent, .jm-terms-print) {
    display: none !important;
  }
  .jm-printable-terms .jm-legal {
    padding-block: 12pt;
  }
  .jm-printable-terms .jm-legal :is(h1,h2,h3) {
    break-after: avoid;
  }
}
