/* Separate the course finder action from the course cards below it. */
body.page-id-439 .section-courses-big-box .section-title.mfat-courses-opening {
  padding-bottom: 1.25rem !important;
}

/*
 * Editorial content refinements for the sectors hub, industry landing pages,
 * and the linked first-aid guidance articles. Deliberately scoped to these
 * page families so the shared staging theme and unrelated pages are untouched.
 */

/* Course choices only: the archive's 1rem/.875rem/.75rem scale increased by
   20%, including a correspondingly roomier Learn More hit area. Do not change
   sector navigation cards, unrelated content or course-detail pages. */
body:is(.page-id-439, .page-id-822, .page-id-861, .page-id-880, .page-id-2772)
  :is(.section-courses-big-box, .grid-has-box) .course-box h3 {
  font-size: 1.2rem !important;
  line-height: 1.3;
  text-wrap: balance;
}

body:is(.page-id-439, .page-id-822, .page-id-861, .page-id-880, .page-id-2772)
  :is(.section-courses-big-box, .grid-has-box) .course-box p {
  font-size: 1.05rem !important;
  line-height: 1.5;
}

body:is(.page-id-439, .page-id-822, .page-id-861, .page-id-880, .page-id-2772)
  :is(.section-courses-big-box, .grid-has-box) .course-box .btn.btn-blue {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  min-width: min(10.125rem, calc(100% - 1.5rem));
  min-height: 2.85rem;
  height: auto;
  padding: 0.55rem 0.9rem !important;
  font-size: 0.9rem !important;
  line-height: 1.3;
  white-space: normal;
}

/* Match the schools list-heading treatment across the sector course lists. */
body.page-template-page-sections:is(.page-id-822, .page-id-861, .page-id-880, .page-id-2772)
  .grid-has-box .section-title > h2.h5 {
  font-size: clamp(1.25rem, 2vw, 1.65rem) !important;
  line-height: 1.35 !important;
  text-wrap: balance;
}

body.page-id-798 .hero-inner {
  min-height: 0 !important;
  padding-top: 12rem;
  padding-bottom: 2rem;
}

body.page-id-798 .hero-inner h1 {
  max-width: 900px;
  margin: 0 auto 0.7rem;
  font-size: clamp(2.3rem, 4.2vw, 3.6rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

body.page-id-798 .hero-inner p {
  max-width: 650px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.5;
  text-wrap: pretty;
}

body.page-id-798 .hero-inner .mfat-sector-hero-panel {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 5vw, 3.5rem);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(15, 48, 91, 0.78), rgba(22, 119, 164, 0.68));
  box-shadow: 0 18px 48px rgba(8, 31, 61, 0.22);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

body.page-id-798 .hero-inner .mfat-sector-hero-eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.38rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

body.page-id-798 .hero-inner .mfat-sector-hero-panel h1 {
  max-width: 820px;
  margin: 0 auto 0.9rem;
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 3.2rem) !important;
  font-weight: 750;
  line-height: 1.12 !important;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.24);
}

body.page-id-798 .hero-inner .mfat-sector-hero-panel p {
  max-width: 42rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  text-wrap: balance;
}

body.page-id-798 .section-sectors-big-box {
  padding-top: clamp(2.75rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

body.page-id-798 .section-sectors-big-box .mfat-sector-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(2.5rem, 6vw, 6rem);
  max-width: 1100px;
  margin: 0 auto clamp(2.5rem, 4vw, 3.5rem) !important;
  text-align: left;
}

body.page-id-798 .section-sectors-big-box .mfat-sector-intro h2 {
  max-width: 560px;
  margin: 0;
  color: #173e59;
  font-size: clamp(2.15rem, 3.3vw, 3.35rem) !important;
  font-weight: 650;
  line-height: 1.12 !important;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

body.page-id-798 .section-sectors-big-box .mfat-sector-intro h2 span {
  color: #087daa;
  font-weight: 750;
  white-space: normal;
}

@media (min-width: 1200px) {
  body.page-id-798 .section-sectors-big-box .mfat-sector-intro h2 {
    font-size: clamp(2.15rem, 2.65vw, 2.6rem) !important;
  }
}

body.page-id-798 .section-sectors-big-box .mfat-sector-intro p {
  max-width: 520px;
  margin: 0 0 0.8rem;
  color: #435a69;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.65;
  text-wrap: pretty;
}

body.page-id-798 .section-sectors-big-box .mfat-sector-intro .mfat-sector-quiz-prompt {
  margin: 1rem 0 0;
  color: #20465b;
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  font-weight: 600;
}

body.page-id-798 .section-sectors-big-box .mfat-sector-intro .mfat-sector-quiz {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.66rem;
  min-height: 60px;
  margin-top: 0.8rem;
  padding: 0.9rem 1.62rem !important;
  border-radius: 999px !important;
  background: linear-gradient(110deg, #087ebc, #0ca7ad) !important;
  box-shadow: 0 8px 20px rgba(7, 111, 152, 0.17);
  color: #fff;
  font-size: 1.2rem !important;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none !important;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

body.page-id-798 .section-sectors-big-box .section-title a[href*="go.mfat.co.uk/quiz"]:hover,
body.page-id-798 .section-sectors-big-box .section-title a[href*="go.mfat.co.uk/quiz"]:focus-visible {
  box-shadow: 0 11px 25px rgba(5, 78, 145, 0.28);
  text-decoration: none !important;
  transform: translateY(-2px);
}

body.page-id-798 .mfat-sector-quiz:is(:hover, :focus-visible) .mfat-quiz-label {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

body.page-id-798 .section-sectors-big-box > .container > .row:last-child {
  row-gap: 1.25rem;
}

body.page-id-798 .section-sectors-big-box .mfat-sector-card-link {
  display: block;
  height: 100%;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
}

body.page-id-798 .section-sectors-big-box .mfat-sector-card-link:is(:hover, :focus-visible) {
  color: inherit;
  text-decoration: none;
}

body.page-id-798 .section-sectors-big-box .mfat-sector-card-link:focus-visible {
  outline: 3px solid #0d91ad;
  outline-offset: 4px;
}

body.page-id-798 .section-sectors-big-box .course-box {
  height: 100%;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid #e3eaf0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(20, 47, 70, 0.06);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

body.page-id-798 .section-sectors-big-box .course-box:hover {
  box-shadow: 0 10px 26px rgba(20, 47, 70, 0.11);
  transform: translateY(-2px);
}

body.page-id-798 .section-sectors-big-box .course-box h3 {
  margin: 0.9rem 0 0.5rem;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.25;
  text-wrap: balance;
}

body.page-id-798 .section-sectors-big-box .course-box p {
  margin: 0 auto 1rem;
  font-size: 0.98rem;
  line-height: 1.55;
}

body.page-id-798 .section-sectors-big-box + .grid-section-2 {
  --mfat-divider-offset: 1.1rem;
}

body.page-id-798 .grid-section-2 + .grid-section-2 {
  --mfat-divider-offset: 0.2rem;
}

body.page-id-798 .section-sectors-big-box + .grid-section-2::before,
body.page-id-798 .grid-section-2 + .grid-section-2::before {
  content: "";
  position: absolute;
  top: var(--mfat-divider-offset);
  left: 50%;
  width: min(calc(100% - 2.5rem), 1080px);
  height: 1px;
  background: linear-gradient(90deg, transparent, #bdd9e3 15%, #bdd9e3 85%, transparent);
  transform: translateX(-50%);
}

body.page-id-798 .section-sectors-big-box + .grid-section-2::after,
body.page-id-798 .grid-section-2 + .grid-section-2::after {
  content: "";
  position: absolute;
  top: var(--mfat-divider-offset);
  left: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 3px;
  background: #0d91ad;
  box-shadow: 0 0 0 1px #bdd9e3;
  transform: translate(-50%, -50%) rotate(45deg);
}

@media (min-width: 768px) {
  body.page-id-798 .section-sectors-big-box + .grid-section-2 {
    --mfat-divider-offset: 2.4rem;
  }

  body.page-id-798 .grid-section-2 + .grid-section-2 {
    --mfat-divider-offset: 1.5rem;
  }
}

body.page-id-798 .grid-section-2 {
  padding-top: clamp(2.75rem, 5vw, 4.25rem);
  padding-bottom: clamp(2.75rem, 5vw, 4.25rem);
}

body.page-id-798 .grid-section-2 .section-title h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(1.5rem, 2.25vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

body.page-id-798 .grid-section-2 .section-title > p:has(a) {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  align-items: center;
  column-gap: 0.55rem;
  margin: 0 0 0.65rem;
  padding: 0;
  border: 0;
  background: transparent;
}

body.page-id-798 .grid-section-2 .section-title > p > a {
  display: block;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(17, 58, 93, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: #185d91;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  font-weight: 600;
  line-height: 1.45;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
  transition: background-color 140ms ease, border-color 140ms ease;
}

body.page-id-798 .grid-section-2 .section-title > p > a:hover,
body.page-id-798 .grid-section-2 .section-title > p > a:focus-visible {
  border-color: rgba(17, 98, 155, 0.32);
  background: #fff;
}

body.page-template-page-sections:is(body.page-id-822, body.page-id-861, body.page-id-880, body.page-id-894) .section-title h1,
body.page-template-page-sections:is(body.page-id-822, body.page-id-861, body.page-id-880, body.page-id-894) .section-title h2 {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

body.page-template-page-sections:is(body.page-id-822, body.page-id-861, body.page-id-880, body.page-id-894) .section-title h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

body.page-template-page-sections:is(body.page-id-822, body.page-id-861, body.page-id-880, body.page-id-894) .section-title h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.3rem);
}

body.page-id-861 .grid-has-box .section-title h2.h5 {
  font-size: clamp(1.25rem, 2vw, 1.65rem) !important;
  line-height: 1.35 !important;
}

body.page-template-page-sections:is(body.page-id-822, body.page-id-861, body.page-id-880, body.page-id-894) .section-title p {
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.7;
}

body.page-id-861 .grid-section-2 .section-title:has(> h2) > p > strong:only-child {
  font-size: 1.15em;
}

body.page-template-page-sections:is(body.page-id-822, body.page-id-861, body.page-id-880, body.page-id-894) section:not(.section-background) {
  scroll-margin-top: 2rem;
}

body.page-template-page-sections:is(body.page-id-822, body.page-id-861, body.page-id-880, body.page-id-894) .course-box,
body.page-template-page-sections:is(body.page-id-822, body.page-id-861, body.page-id-880, body.page-id-894) .pricing-box {
  height: 100%;
}

body.page-template-page-sections .full-content {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
  color: #303942;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.78;
  overflow-wrap: anywhere;
}

body.page-template-page-sections .full-content h1,
body.page-template-page-sections .full-content h2,
body.page-template-page-sections .full-content h3,
body.page-template-page-sections .full-content h4 {
  margin-top: 1.8em;
  margin-bottom: 0.65em;
  color: #173d5b;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

body.page-template-page-sections .full-content h1 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}

body.page-template-page-sections .full-content h2 {
  font-size: clamp(1.55rem, 2.65vw, 2.1rem);
}

body.page-template-page-sections .full-content h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

body.page-template-page-sections .full-content p,
body.page-template-page-sections .full-content ul,
body.page-template-page-sections .full-content ol {
  margin-top: 0;
  margin-bottom: 1.15em;
}

body.page-template-page-sections .full-content li {
  margin-bottom: 0.45em;
  padding-left: 0.15em;
}

body.page-template-page-sections .full-content img,
body.page-template-page-sections .full-content iframe,
body.page-template-page-sections .full-content video {
  max-width: 100%;
}

body.page-template-page-sections .full-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid #1685c5;
  background: #f4f8fb;
}

body.page-id-798 .mfat-sector-outro {
  padding: clamp(3.25rem, 6vw, 5rem) 0;
  background: linear-gradient(130deg, #ecf8fa, #f8fbfd);
}

body.page-id-798 .mfat-sector-outro .mfat-sector-outro-heading {
  max-width: 760px;
  margin: 0 auto 1.1rem !important;
  text-align: center;
}

body.page-id-798 .mfat-sector-outro h3 {
  margin: 0;
  color: #153f5b;
  font-size: clamp(1.85rem, 3vw, 2.8rem) !important;
  font-weight: 700;
  line-height: 1.15 !important;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

body.page-id-798 .mfat-sector-outro .mfat-sector-outro-content {
  max-width: 780px;
  margin: 0 auto !important;
  color: #435a69;
  text-align: center;
}

body.page-id-798 .mfat-sector-outro-content p {
  margin: 0.8rem auto;
  font-size: clamp(1.08rem, 1.25vw, 1.1rem) !important;
  line-height: 1.65;
  text-wrap: pretty;
}

body.page-id-798 .mfat-sector-outro-content .mfat-sector-outro-lede {
  color: #20465b;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem) !important;
  font-weight: 600;
}

body.page-id-798 .mfat-sector-area-list {
  margin: 1.5rem auto;
  padding: clamp(1rem, 2vw, 1.6rem);
  border: 1px solid #dce9ee;
  border-radius: 14px;
  background: #fff;
  text-align: left;
}

body.page-id-798 .mfat-sector-area-list p {
  margin: 0 0 0.9rem;
  font-size: 0.95rem !important;
}

body.page-id-798 .mfat-sector-area-list p:last-child {
  margin-bottom: 0;
}

body.page-id-798 .mfat-sector-area-list br {
  display: none;
}

body.page-id-798 .mfat-sector-outro .btn-default {
  margin-top: 1.25rem;
}

@media (max-width: 1199px) {
  body.page-id-798 .section-sectors-big-box .mfat-sector-intro {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.25rem;
    max-width: 760px;
    text-align: center;
  }

  body.page-id-798 .section-sectors-big-box .mfat-sector-intro h2 {
    max-width: 760px;
    margin: 0 auto;
  }

  body.page-id-798 .mfat-sector-intro-copy {
    max-width: 680px;
    margin: 0 auto;
  }

  body.page-id-798 .section-sectors-big-box .mfat-sector-intro p {
    max-width: 680px;
    margin: 0 auto 0.8rem;
  }

  body.page-id-798 .hero-inner {
    min-height: 0 !important;
    padding-top: 12rem;
    padding-bottom: 2rem;
  }

  body.page-id-798 .hero-inner .row.mobile-height {
    min-height: 0 !important;
  }
}

@media (min-width: 576px) and (max-width: 1199px) {
  body.page-id-798 .hero-inner .mfat-sector-hero-panel {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }
}

@media (max-width: 767px) {
  body.page-id-798 .hero-inner {
    padding-top: 11rem;
    padding-bottom: 1.75rem;
  }

  body.page-id-798 .hero-inner .mfat-sector-hero-panel {
    padding: 1.35rem 1rem 1.5rem;
    border-radius: 1rem;
  }

  body.page-id-798 .hero-inner .mfat-sector-hero-panel h1 {
    font-size: clamp(1.85rem, 7.5vw, 2.4rem) !important;
  }

  body.page-id-798 .hero-inner .mfat-sector-hero-eyebrow {
    margin-bottom: 0.75rem;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  body.page-id-798 .section-sectors-big-box .mfat-sector-intro {
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
  }

  body.page-id-798 .mfat-sector-intro-copy {
    margin: 0;
    text-align: left;
  }

  body.page-id-798 .section-sectors-big-box .mfat-sector-intro p {
    margin: 0 0 0.8rem;
  }

  body.page-id-798 .section-sectors-big-box .mfat-sector-intro .mfat-sector-quiz-prompt {
    margin: 1rem auto 0;
    text-align: center;
  }

  body.page-id-798 .section-sectors-big-box .mfat-sector-intro .mfat-sector-quiz {
    display: flex !important;
    width: fit-content;
    max-width: 100%;
    margin: 0.8rem auto 0;
  }

  body.page-id-798 .section-sectors-big-box .mfat-sector-intro h2 {
    font-size: clamp(2rem, 6vw, 2.6rem) !important;
  }

  body.page-id-798 .grid-section-2 .section-title h2 {
    font-size: clamp(1.8rem, 5vw, 2.25rem);
  }

  body.page-id-798 .grid-section-2 {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  body.page-id-798 .grid-section-2 .row.align-items-center {
    row-gap: 1.25rem;
  }

  body.page-id-798 .grid-section-2 .section-title > p > a {
    padding: 0.68rem 0.75rem;
  }

  body.page-template-page-sections:is(body.page-id-822, body.page-id-861, body.page-id-880, body.page-id-894) section:not(.section-background) {
    padding-top: clamp(2.5rem, 9vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 9vw, 3.5rem);
  }

  body.page-template-page-sections .full-content {
    font-size: 1rem;
    line-height: 1.72;
  }
}

@media (max-width: 575px) {
  body.page-id-798 .hero-inner {
    padding-top: 10.25rem;
  }
}

@media (max-width: 380px) {
  body.page-id-798 .section-sectors-big-box .course-box {
    padding: 1.1rem;
  }

  body.page-id-798 .section-title a[href*="go.mfat.co.uk/quiz"] {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-798 .section-sectors-big-box .course-box,
  body.page-id-798 .section-sectors-big-box .section-title a[href*="go.mfat.co.uk/quiz"] {
    transition: none;
  }
}

/*
 * Article body rhythm for the linked Q&A and blog pages. Keep this confined
 * to the article page IDs above; hero imagery and branding clearance are
 * intentionally unaffected.
 */
body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .full-width.full_width {
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .full-width > .container > .row:first-child:has(> .col-12.text-center > h2:empty) {
  display: none;
}

body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .full-width > .container > .row:first-child > .col-12.text-center > h2 {
  margin-top: 0;
  margin-bottom: 1.35rem;
}

body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .full-width .full-content p:has(> strong:only-child),
body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .full-width .full-content p:has(> b:only-child) {
  margin: 1.65em 0 0.6em;
  padding-left: 0.8rem;
  border-left: 3px solid #1685a6;
  color: #173e59;
  font-size: clamp(1.08rem, 1.3vw, 1.25rem);
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 767px) {
  body:is(
    .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
    .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
    .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
    .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
    .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
    .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
    .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
    .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
  ) .full-width.full_width {
    padding-block: 1.75rem;
  }

  body:is(
    .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
    .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
    .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
    .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
    .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
    .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
    .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
    .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
  ) .full-width .full-content :is(p:has(> strong:only-child), p:has(> b:only-child)) {
    margin-top: 1.45em;
    padding-left: 0.65rem;
  }
}

/*
 * Shared editorial hero and reading measure for the 32 linked Q&A/blog
 * articles. Keep the treatment page-ID scoped: the course, sector and other
 * staging page heroes retain their existing layouts.
 */
body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .hero-inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0 !important;
  padding: 12rem 0 2.75rem;
  background-color: #20afd4;
}

body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .hero-inner::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(112deg, rgba(10, 96, 169, 0.12), rgba(7, 174, 199, 0.06));
  content: "";
}

body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .hero-inner .section-background {
  z-index: -2;
  background-image: url("/_captured/manchesterfirstaidtraining.co.uk/wp-content/uploads/2021/11/hero-bg1.jpg") !important;
  background-position: center 44%;
  background-size: cover;
}

body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .hero-inner .row.mobile-height {
  min-height: 0 !important;
}

body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .hero-inner .container {
  position: relative;
  z-index: 1;
}

body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .hero-inner .col-12.text-center {
  width: min(calc(100% - 1.5rem), 940px);
  margin: 0 auto;
  padding: clamp(1.55rem, 4vw, 2.65rem) clamp(1.15rem, 4.5vw, 3.25rem);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.2rem;
  background: linear-gradient(135deg, rgba(15, 48, 77, 0.78), rgba(17, 94, 124, 0.65));
  box-shadow: 0 18px 48px rgba(8, 31, 61, 0.2);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .hero-inner .col-12.text-center h1 {
  max-width: 850px;
  margin: 0 auto 0.8rem;
  color: #fff;
  font-size: clamp(2rem, 4.1vw, 3.4rem) !important;
  font-weight: 750;
  line-height: 1.12 !important;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.24);
  text-wrap: balance;
}

body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .hero-inner .col-12.text-center h2:empty {
  display: none;
}

body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .hero-inner .col-12.text-center p {
  max-width: 43rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.6;
  text-wrap: balance;
}

/* The article heading beneath the hero is the page's main question/title. */
body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .full-width > .container > .row:first-child > .col-12.text-center > h2 {
  max-width: 850px;
  margin-inline: auto;
  color: #173e59;
  font-size: clamp(1.75rem, 3vw, 2.6rem) !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .full-width .full-content {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  color: #344d5e;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.78;
}

body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .full-width .full-content :is(h1, h2, h3, h4) {
  color: #173e59;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Imported blog sections sometimes use h5; make them read as headings. */
body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .full-width .full-content h5 {
  margin: 1.4em 0 0.55em;
  color: #173e59;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
}

body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .full-width .full-content :is(p, ul, ol) {
  margin-top: 0;
  margin-bottom: 1.15em;
}

body:is(
  .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
  .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
  .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
  .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
  .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
  .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
  .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
  .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
) .full-width .full-content li {
  margin-bottom: 0.45em;
  padding-left: 0.15em;
}

@media (max-width: 1199px) {
  body:is(
    .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
    .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
    .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
    .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
    .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
    .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
    .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
    .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
  ) .hero-inner {
    padding-top: 12rem;
  }
}

@media (max-width: 767px) {
  body:is(
    .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
    .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
    .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
    .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
    .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
    .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
    .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
    .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
  ) .hero-inner {
    padding-top: 10.25rem;
    padding-bottom: 1.5rem;
  }

  body:is(
    .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
    .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
    .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
    .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
    .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
    .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
    .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
    .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
  ) .hero-inner .col-12.text-center {
    width: min(calc(100% - 1.25rem), 940px);
    padding: 1.4rem 1rem 1.5rem;
    border-radius: 1rem;
  }

  body:is(
    .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
    .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
    .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
    .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
    .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
    .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
    .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
    .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
  ) .hero-inner .col-12.text-center h1 {
    margin-bottom: 0.65rem;
    font-size: clamp(1.8rem, 7.5vw, 2.45rem) !important;
    letter-spacing: -0.025em;
  }

  body:is(
    .page-id-3913, .page-id-1685, .page-id-2767, .page-id-2235,
    .page-id-2189, .page-id-2197, .page-id-2205, .page-id-2201,
    .page-id-2211, .page-id-2203, .page-id-2207, .page-id-2213,
    .page-id-2194, .page-id-2216, .page-id-2496, .page-id-3406,
    .page-id-2470, .page-id-2407, .page-id-2414, .page-id-2417,
    .page-id-3443, .page-id-3444, .page-id-3445, .page-id-3624,
    .page-id-3621, .page-id-3626, .page-id-3446, .page-id-3447,
    .page-id-3448, .page-id-3508, .page-id-3538, .page-id-4174
  ) .full-width .full-content {
    font-size: 1rem;
    line-height: 1.72;
  }
}

/*
 * Sector landing refinement — an adaptation of the approved Fire Safety
 * presentation. Only the sectors hub, the three template-based industry
 * landings and the construction landing are addressed below. The general
 * Q&A/article rules above remain unchanged.
 */
body:is(.page-id-798, .page-id-822, .page-id-861, .page-id-880, .page-id-3621) {
  --sector-ink: #173e59;
  --sector-copy: #3d4851;
  --sector-wash: #f2f8fa;
  --sector-line: #dcebf0;
}

/* The hero is content-sized: a long title never sits underneath the logo or
   over the first section. The existing photographic backgrounds stay intact. */
body:is(.page-id-798, .page-id-822, .page-id-861, .page-id-880, .page-id-3621) .hero-inner {
  min-height: 0 !important;
  padding: 14rem 0 3.25rem !important;
}

body:is(.page-id-798, .page-id-822, .page-id-861, .page-id-880, .page-id-3621) .hero-inner .row.mobile-height {
  min-height: 0 !important;
}

body:is(.page-id-822, .page-id-861, .page-id-880) .hero-inner .col-12.text-center,
body.page-id-3621 .hero-inner .col-12.text-center {
  width: min(calc(100% - 1.5rem), 920px);
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 5vw, 3.5rem);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(15, 48, 91, .84), rgba(22, 119, 164, .74));
  box-shadow: 0 18px 48px rgba(8, 31, 61, .22);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

body.page-id-798 .hero-inner .mfat-sector-hero-panel {
  background: linear-gradient(135deg, rgba(15, 48, 91, .84), rgba(22, 119, 164, .74));
}

body:is(.page-id-822, .page-id-861, .page-id-880) .hero-inner .col-12.text-center h1,
body.page-id-3621 .hero-inner .col-12.text-center h1 {
  max-width: 840px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.5rem) !important;
  font-weight: 750;
  line-height: 1.12 !important;
  letter-spacing: -.035em;
  text-wrap: balance;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .24);
}

body:is(.page-id-822, .page-id-861, .page-id-880, .page-id-3621) .hero-inner .col-12.text-center h2:empty {
  display: none;
}

body.page-id-3621 .hero-inner .col-12.text-center p {
  margin: .85rem auto 0;
  line-height: 1.55;
}

/* A restrained, legible transition out of the hero. */
body:is(.page-id-822, .page-id-861, .page-id-880) .content-element {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 !important;
  background: var(--sector-wash);
  border-bottom: 1px solid var(--sector-line);
}

body:is(.page-id-822, .page-id-861, .page-id-880) .content-element .box-line {
  display: block;
  float: none !important;
  width: 100%;
  max-width: 920px;
  margin-inline: auto !important;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

body:is(.page-id-822, .page-id-861, .page-id-880) .content-element .box-line h2 {
  margin: 0;
  color: var(--sector-ink);
  font-size: clamp(1.55rem, 2.6vw, 2.35rem) !important;
  font-weight: 700;
  line-height: 1.24 !important;
  letter-spacing: -.01em;
  text-align: center;
  text-wrap: balance;
}

body:is(.page-id-822, .page-id-861, .page-id-880) .content-element .box-line h2 span {
  font-weight: 700;
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-section-2 {
  padding: clamp(3.75rem, 6vw, 5.5rem) 0 !important;
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-section-2 + .grid-section-2 {
  border-top: 1px solid var(--sector-line);
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-section-2 .row.align-items-center {
  row-gap: 2rem;
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-section-2 .section-title {
  color: var(--sector-copy);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.65;
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-section-2 .section-title :is(p, h6) {
  margin-bottom: 1.1rem;
  line-height: 1.6;
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-section-2 .section-title h6 {
  color: var(--sector-ink);
  font-size: clamp(1.15rem, 1.65vw, 1.35rem);
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-section-2 .section-title h2 {
  margin-bottom: 1.35rem;
  color: var(--sector-ink);
  font-size: clamp(1.9rem, 3vw, 2.6rem) !important;
  font-weight: 700;
  line-height: 1.18 !important;
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-section-2 .section-title a,
body.page-id-3621 .full-width .full-content a {
  color: #087e9b;
  text-decoration: underline;
  text-underline-offset: .17em;
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-section-2 img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

/* Keep the existing course choices, but let each one breathe and align its CTA. */
body:is(.page-id-822, .page-id-861, .page-id-880) .grid-has-box {
  padding: clamp(3.75rem, 6vw, 5.5rem) 0 !important;
  background: var(--sector-wash);
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-has-box > .container > .row.justify-content-center {
  row-gap: 1.5rem;
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-has-box > .container > .row.justify-content-center > [class*="col-"] {
  display: flex;
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-has-box .section-title h2 {
  max-width: 780px;
  margin-inline: auto;
  color: var(--sector-ink);
  font-size: clamp(1.85rem, 2.75vw, 2.4rem) !important;
  font-weight: 700;
  line-height: 1.2 !important;
  text-wrap: balance;
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-has-box .course-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: clamp(1.4rem, 2.1vw, 2rem);
  border: 1px solid var(--sector-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 25px rgba(20, 47, 70, .065);
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-has-box .course-box h3 {
  margin: 1.2rem 0 .7rem;
  color: var(--sector-ink);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.28;
  text-wrap: balance;
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-has-box .course-box p {
  margin: 0 0 1.4rem;
  color: var(--sector-copy);
  font-size: 1rem;
  line-height: 1.58;
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-has-box .course-box .btn {
  margin-top: auto;
  white-space: normal;
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-has-box .bottom-content {
  max-width: 900px;
  margin: clamp(3rem, 5vw, 4.5rem) auto 0;
  color: var(--sector-copy);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.65;
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-has-box .bottom-content p {
  margin-bottom: 1rem;
}

body.page-id-822 .grid-has-box .mfat-workplace-locations,
body.page-id-861 .grid-has-box .mfat-school-locations {
  text-wrap: pretty;
}

body.page-id-861 .grid-has-box .mfat-school-locations a[href*="/first-aid-courses-"] {
  white-space: nowrap;
}

@media (min-width: 768px) {
  body.page-id-861 .grid-has-box .mfat-school-locations {
    text-wrap: balance;
  }
}

body:is(.page-id-822, .page-id-861, .page-id-880) .grid-has-box .btn-default,
body.page-id-798 .mfat-sector-outro .btn-default,
body.page-id-3621 .section-bottom .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 54px;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
}

/* These three closing links inherit the theme's full-column button width.
   Keep them centered and the same compact size as other page-bottom CTAs. */
body:is(.page-id-822, .page-id-861, .page-id-880)
  .grid-has-box > .container > .row:last-child > .col-12.text-center > a.btn.btn-default {
  box-sizing: border-box;
  width: min(250px, 100%) !important;
  max-width: 100%;
}

body:is(.page-id-822, .page-id-861, .page-id-880, .page-id-3621) :is(.btn, a):focus-visible {
  outline: 3px solid #087e9b;
  outline-offset: 4px;
}

body.page-id-798 .section-sectors-big-box .course-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0 !important;
  padding-bottom: clamp(1.25rem, 2vw, 1.75rem) !important;
}

body.page-id-798 .section-sectors-big-box .course-box .btn {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  margin-top: auto;
}

/* Construction is a full-width editorial landing, not a course-card template.
   Refine its reading width and closing CTA without changing the article family. */
body.page-id-3621 .full-width {
  padding: clamp(3.75rem, 6vw, 5.5rem) 0 !important;
}

body.page-id-3621 .full-width .full-content {
  max-width: 820px;
  color: var(--sector-copy);
  font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
  line-height: 1.72;
}

body.page-id-3621 .full-width .full-content h3 {
  margin: 2rem 0 .75rem;
  color: var(--sector-ink);
  font-size: clamp(1.45rem, 2vw, 1.8rem);
}

body.page-id-3621 .section-bottom {
  padding: clamp(3.75rem, 6vw, 5.5rem) 0 !important;
}

@media (max-width: 1199px) {
  body:is(.page-id-798, .page-id-822, .page-id-861, .page-id-880, .page-id-3621) .hero-inner {
    padding-top: 13rem !important;
  }
}

@media (max-width: 767px) {
  body:is(.page-id-798, .page-id-822, .page-id-861, .page-id-880, .page-id-3621) .hero-inner {
    padding-top: 11.25rem !important;
    padding-bottom: 2rem !important;
  }

  body:is(.page-id-822, .page-id-861, .page-id-880) .hero-inner .col-12.text-center,
  body.page-id-3621 .hero-inner .col-12.text-center {
    width: min(calc(100% - 1rem), 920px);
    padding: 1.45rem 1.1rem 1.6rem;
    border-radius: 1rem;
  }

  body:is(.page-id-822, .page-id-861, .page-id-880) .hero-inner .col-12.text-center h1,
  body.page-id-3621 .hero-inner .col-12.text-center h1 {
    font-size: clamp(1.85rem, 7.5vw, 2.4rem) !important;
  }

  body:is(.page-id-822, .page-id-861, .page-id-880) .content-element,
  body:is(.page-id-822, .page-id-861, .page-id-880) .grid-section-2,
  body:is(.page-id-822, .page-id-861, .page-id-880) .grid-has-box {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  body:is(.page-id-822, .page-id-861, .page-id-880) .grid-section-2 .section-title {
    font-size: 1.0625rem;
  }

  body:is(.page-id-822, .page-id-861, .page-id-880) .grid-has-box > .container > .row.justify-content-center {
    row-gap: 1.25rem;
  }
}

@media (max-width: 575px) {
  body:is(.page-id-798, .page-id-822, .page-id-861, .page-id-880, .page-id-3621) .hero-inner {
    padding-top: 10.75rem !important;
  }

  body:is(.page-id-822, .page-id-861, .page-id-880) .grid-has-box .course-box {
    padding: 1.5rem;
  }
}

/* The sectors closing action should not span the width of its copy column. */
body.page-id-798 .mfat-sector-outro .btn.btn-default {
  width: auto !important;
  min-width: 12rem;
  max-width: 100%;
  padding-inline: 1.5rem;
}

/* The theme absolutely positions course CTAs. Enlarged copy can then run
   underneath them. Put the CTA back into a flex column's normal flow so every
   card grows to fit its contents and equal-height rows align CTAs on desktop. */
body:is(.page-id-439, .page-id-822, .page-id-861, .page-id-880, .page-id-2772)
  :is(.section-courses-big-box, .grid-has-box) .row:has(> [class*="col-"] > .course-box) {
  row-gap: 1.5rem;
}

body:is(.page-id-439, .page-id-822, .page-id-861, .page-id-880, .page-id-2772)
  :is(.section-courses-big-box, .grid-has-box) .row > [class*="col-"]:has(> .course-box) {
  display: flex;
}

body:is(.page-id-439, .page-id-822, .page-id-861, .page-id-880, .page-id-2772)
  :is(.section-courses-big-box, .grid-has-box) .course-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  padding-bottom: clamp(1.5rem, 2.1vw, 2rem) !important;
}

body:is(.page-id-439, .page-id-822, .page-id-861, .page-id-880, .page-id-2772)
  :is(.section-courses-big-box, .grid-has-box) .course-box p {
  margin-bottom: 1.35rem;
}

body:is(.page-id-439, .page-id-822, .page-id-861, .page-id-880, .page-id-2772)
  :is(.section-courses-big-box, .grid-has-box) .course-box .btn.btn-blue {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  flex-shrink: 0;
  margin: auto auto 0;
  transform: none !important;
}

/* Courses archive only: a 100%-height card plus the theme's top margin
   overfills the flex row. It leaves excess space above the grid and pushes
   auto-aligned CTAs down. Let the row stretch natural-height cards instead. */
body.page-id-439 .section-courses-big-box .row > .col-sm-6 > .course-box {
  height: auto !important;
  min-height: 0 !important;
  margin-top: 0 !important;
  padding-bottom: 24px !important;
}

body.page-id-439 .section-courses-big-box .course-box p {
  min-height: 0 !important;
  margin-bottom: 24px;
}

body.page-id-439 .section-courses-big-box .course-box .btn.btn-blue {
  align-self: center;
}

/* Private training is a sector-family page, not a course-detail page. Keep
   its own photographed hero and content exactly as captured, but use the same
   measured, translucent editorial framing as Schools and Workplace. */
body.page-id-2772 {
  --sector-ink: #173e59;
  --sector-copy: #3d4851;
  --sector-wash: #f2f8fa;
  --sector-line: #dcebf0;
}

body.page-id-2772 .hero-inner {
  min-height: 0 !important;
  padding: 14rem 0 3.25rem !important;
}

body.page-id-2772 .hero-inner .row.mobile-height {
  min-height: 0 !important;
}

body.page-id-2772 .hero-inner .col-12.text-center {
  width: min(calc(100% - 1.5rem), 920px);
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 5vw, 3.5rem);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(15, 48, 91, .84), rgba(22, 119, 164, .74));
  box-shadow: 0 18px 48px rgba(8, 31, 61, .22);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

body.page-id-2772 .hero-inner .col-12.text-center h1 {
  max-width: 840px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(2rem, 3.7vw, 3.1rem) !important;
  font-weight: 750;
  line-height: 1.12 !important;
  letter-spacing: -.035em;
  text-wrap: balance;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .24);
}

/* The captured mobile theme hides <br>; these three requested phrases must
   remain distinct in both the hero and the matching section heading. */
body.page-id-2772 .hero-inner h1 br,
body.page-id-2772 .content-element .section-title h2 br {
  display: inline !important;
}

body.page-id-2772 .hero-inner .col-12.text-center h2:empty {
  display: none;
}

body.page-id-2772 .content-element {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 !important;
  border-bottom: 1px solid var(--sector-line);
  background: var(--sector-wash);
}

body.page-id-2772 .content-element .box-line {
  display: block;
  float: none !important;
  width: 100%;
  max-width: 920px;
  margin-inline: auto !important;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

body.page-id-2772 .content-element .box-line h2 {
  margin: 0;
  color: var(--sector-ink);
  font-size: clamp(1.55rem, 2.6vw, 2.35rem) !important;
  font-weight: 700;
  line-height: 1.24 !important;
  letter-spacing: -.01em;
  text-align: center;
  text-wrap: balance;
}

body.page-id-2772 .content-element .box-line h2 span {
  font-weight: 700;
}

body.page-id-2772 .grid-section-2 {
  padding: clamp(3.75rem, 6vw, 5.5rem) 0 !important;
}

body.page-id-2772 .grid-section-2 .section-title {
  color: var(--sector-copy);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.65;
}

body.page-id-2772 .grid-section-2 .section-title p {
  margin-bottom: 1.1rem;
  line-height: 1.6;
}

body.page-id-2772 .grid-section-2 .section-title p > strong {
  color: var(--sector-ink);
  font-size: clamp(1.15rem, 1.65vw, 1.35rem);
}

body.page-id-2772 .grid-section-2 img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

body.page-id-2772 .grid-has-box {
  padding: clamp(3.75rem, 6vw, 5.5rem) 0 !important;
  background: var(--sector-wash);
}

body.page-id-2772 .grid-has-box .section-title h2 {
  max-width: 780px;
  margin-inline: auto;
  color: var(--sector-ink);
  font-size: clamp(1.85rem, 2.75vw, 2.4rem) !important;
  font-weight: 700;
  line-height: 1.2 !important;
  text-wrap: balance;
}

body.page-id-2772 .grid-has-box .course-box {
  margin-top: 0;
  border: 1px solid var(--sector-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 25px rgba(20, 47, 70, .065);
}

body.page-id-2772 .grid-has-box .course-box h3 {
  color: var(--sector-ink);
}

body.page-id-2772 .grid-has-box .course-box p {
  color: var(--sector-copy);
}

/* The authenticated staging page does not load the Vite-only course button sheet.
   Size its closing CTA here without changing the course-card links above it. */
body.page-id-2772 .grid-has-box > .container > .row:last-child > .col-12.text-center > a.btn.btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: min(320px, 100%) !important;
  max-width: 100%;
  min-height: 78px !important;
  height: auto !important;
  padding: 14px 28px !important;
  font-size: 26px !important;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

@media (max-width: 1199px) {
  body.page-id-2772 .hero-inner { padding-top: 13rem !important; }
}

@media (max-width: 767px) {
  body.page-id-2772 .hero-inner {
    padding-top: 11.25rem !important;
    padding-bottom: 2rem !important;
  }
  body.page-id-2772 .hero-inner .col-12.text-center {
    width: min(calc(100% - 1rem), 920px);
    padding: 1.45rem 1.1rem 1.6rem;
    border-radius: 1rem;
  }
  body.page-id-2772 .hero-inner .col-12.text-center h1 {
    font-size: clamp(1.18rem, 5.3vw, 1.35rem) !important;
  }
  body.page-id-2772 .content-element .section-title h2 {
    font-size: clamp(1.2rem, 5.45vw, 1.4rem) !important;
  }
  body.page-id-2772 :is(.content-element, .grid-section-2) {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }
}

@media (max-width: 575px) {
  body.page-id-2772 .hero-inner { padding-top: 10.75rem !important; }
}

/* The four sector choices are course boxes too; keep their type and button
   scale in step with the course-list boxes, including on phones. */
body.page-id-798 .section-sectors-big-box .course-box h3 {
  font-size: clamp(1.2rem, 2.16vw, 1.68rem) !important;
}
body.page-id-798 .section-sectors-big-box .course-box p {
  font-size: 1.176rem !important;
}
body.page-id-798 .section-sectors-big-box .course-box .btn {
  box-sizing: border-box;
  width: auto;
  min-height: 2.65rem;
  height: auto;
  padding: .55rem 1rem !important;
  font-size: .9rem !important;
  line-height: 1.3;
}
@media (max-width: 767px) {
  body.page-id-798 .section-sectors-big-box .course-box h3 {
    font-size: 1.38rem !important;
  }
}

/*
 * Manchester body-copy sizing requested for the named sector pages.
 * Course-choice cards retain their separate, already-enlarged type scale.
 */
body.page-id-3258 .section-sectors-big-box > .container > .row:first-child .section-title > p,
body.page-id-3258 .section-boxes-left .content-title > p {
  font-size: 1.2em;
}

body:is(.page-id-822, .page-id-861, .page-id-880, .page-id-2772)
  .grid-section-2 .section-title :is(p, li),
body:is(.page-id-822, .page-id-861, .page-id-880, .page-id-2772)
  .grid-has-box .bottom-content :is(p, li) {
  font-size: 1.2rem !important; /* Original desktop 16px × 1.2 */
  line-height: 1.6;
}

body:is(.page-id-822, .page-id-861, .page-id-880)
  .grid-section-2 .section-title h6 {
  font-size: 1.35rem; /* Original desktop 18px / mobile 15.75px × 1.2 */
}

body.page-id-2772 .grid-section-2 .section-title > h2 {
  margin: 1.35rem 0 1.1rem;
  color: var(--sector-ink);
  font-size: clamp(1.7rem, 2.6vw, 2.35rem) !important;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

@media (max-width: 767px) {
  body:is(.page-id-822, .page-id-861, .page-id-880, .page-id-2772)
    .grid-section-2 .section-title :is(p, li),
  body:is(.page-id-822, .page-id-861, .page-id-880, .page-id-2772)
    .grid-has-box .bottom-content :is(p, li) {
    font-size: 1.275rem !important; /* Original mobile body 1.0625rem × 1.2 */
  }
}

/*
 * Booking guides: the 14 code-owned articles share the captured guide shell.
 * Classes below exist only on those pages; hover and focus behaviour stays
 * with the theme's existing link styles, so nothing here animates.
 */
body.mfat-booking-article .mfat-booking-figure {
  float: right;
  width: 260px;
  max-width: 38%;
  margin: 0.2rem 0 1rem 1.25rem;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

body.mfat-booking-article .mfat-booking-opening {
  display: flow-root;
}

body.mfat-booking-article .full-content p {
  font-weight: 400 !important;
  border-left: 0 !important;
  padding-left: 0 !important;
}

body.mfat-booking-article .mfat-booking-upgrade {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid #ead58c;
  border-radius: 0.6rem;
  background: #fff8df;
}

body.mfat-booking-article .mfat-booking-upgrade p:last-child {
  margin-bottom: 0;
}

body.mfat-booking-article .mfat-booking-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

body.mfat-booking-article .full-content a {
  color: #0d6fb0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

body.mfat-booking-article .full-content .mfat-booking-source-note {
  margin: 1.75rem 0;
  color: #435a69;
  font-size: 0.6875rem !important;
  line-height: 1.55;
}

body.mfat-booking-article .full-content .mfat-booking-source-note :is(a, span) {
  display: inline;
  font-size: inherit !important;
  font-weight: 400 !important;
  line-height: 1.55;
}

body.mfat-booking-article .full-content .mfat-booking-icon-list {
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none !important;
}

body.mfat-booking-article .full-content .mfat-booking-topic-list {
  margin: 0.35rem 0 1.15rem;
  padding-left: 1.5rem;
  list-style: disc;
}

body.mfat-booking-article .full-content .mfat-booking-topic-list > li {
  margin-bottom: 0.35rem;
  padding-left: 0.1rem;
  list-style: disc;
}

body.mfat-booking-article .full-content .mfat-booking-topic-list > li::marker {
  color: #0d6fb0;
}

body.mfat-booking-article .full-content .mfat-booking-icon-list > li {
  display: grid;
  grid-template-columns: 1.35em minmax(0, 1fr);
  gap: 0.45em;
  align-items: start;
  margin: 0 0 0.6em;
  padding: 0;
  list-style: none !important;
}

body.mfat-booking-article .full-content .mfat-booking-icon-list > li::marker {
  content: "";
}

body.mfat-booking-article .full-content .mfat-booking-icon-list > li::before {
  content: none !important;
}

body.mfat-booking-article .full-content :is(.mfat-booking-list-icon, .mfat-booking-list-text) {
  font-size: inherit;
  line-height: inherit;
}

body.mfat-booking-article .mfat-booking-list-icon {
  color: #39879a;
  padding-top: 0.15em;
}

body.mfat-booking-article .mfat-booking-list-icon svg,
body.page-id-798 .mfat-booking-sector .mfat-booking-icon svg {
  display: block;
  width: 1em;
  height: 1em;
}

body.mfat-booking-article .mfat-booking-action {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid #c8e3ea;
  border-radius: 0.75rem;
  background: #eff8fc;
}

body.mfat-booking-article .full-content .mfat-booking-action h2 {
  font-size: clamp(1.65rem, 3vw, 2rem) !important;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

body.mfat-booking-article .full-content .mfat-booking-action p {
  margin: 1.2rem 0;
  font-size: 1.35rem !important;
  line-height: 1.6;
}

body.mfat-booking-article .full-content .mfat-booking-action .mfat-booking-primary a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6em;
  max-width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #b5d8e7;
  border-radius: 0.5rem;
  background: #edf7fb;
  font-size: 1.4rem !important;
  font-weight: 700;
  line-height: 1.45;
}

body.mfat-booking-article .mfat-booking-action svg {
  flex: none;
  width: 1em;
  height: 1em;
}

body.mfat-booking-article .full-content .mfat-booking-action .mfat-booking-support {
  font-size: 1.1rem !important;
}

/* Sectors: the two booking-guide sections follow the existing FAQ/blog pattern. */
body.page-id-798 .mfat-booking-sector .section-title > p.mfat-booking-intro {
  display: block;
  margin: 0 0 1.1rem;
  color: #435a69;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.65;
}

body.page-id-798 .mfat-booking-sector .mfat-booking-link {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
  margin-bottom: 0.55rem;
}

body.page-id-798 .mfat-booking-sector .mfat-booking-link-copy {
  padding: 0.72rem 0.9rem;
  border: 1px solid #e6eef3;
  border-radius: 0.55rem;
  background: #fff;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.45;
  font-weight: 400;
}

body.page-id-798 .mfat-booking-sector .mfat-booking-link-title {
  margin: 0;
  font-size: inherit !important;
  line-height: inherit;
  font-weight: 600;
}

body.page-id-798 .mfat-booking-sector .mfat-booking-link-title a {
  color: #185d91;
}

body.page-id-798 .mfat-booking-sector .mfat-booking-icon {
  padding-top: calc(0.72rem + 0.15em);
  color: #39879a;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.45;
}

body.page-id-798 .mfat-booking-sector .mfat-booking-desc {
  display: block;
  margin: 0.2rem 0 0;
  color: #435a69;
  font-size: 0.92em !important;
  font-weight: 400 !important;
  line-height: 1.5;
}

body.page-id-798 .mfat-booking-sector .mfat-booking-sector-img {
  display: block;
  width: 100%;
  max-width: 479px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 767px) {
  body.page-id-798 .mfat-booking-sector .mfat-booking-icon {
    padding-top: calc(0.68rem + 0.15em);
  }
  body.page-id-798 .mfat-booking-sector .mfat-booking-link-copy {
    padding-top: 0.68rem;
    padding-bottom: 0.68rem;
  }
  body.mfat-booking-article .mfat-booking-figure {
    width: 160px;
    max-width: 42%;
    margin-left: 1rem;
  }
  body.mfat-booking-article .mfat-booking-action {
    padding: 1.1rem;
  }
}

/* Approved EpiPen layout shared by the fourteen new booking guides only. */
body.mfat-booking-redesign .full-content {
  display: flow-root;
  text-align: left;
}

body.mfat-booking-redesign .mfat-booking-opening {
  display: block;
}

body.mfat-booking-redesign .mfat-booking-figure {
  box-sizing: border-box;
  padding: 6px;
  background: #fff;
  border: 1px solid #b7d7df;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(25, 77, 94, 0.14);
}

body.mfat-booking-redesign .mfat-booking-figure img {
  border-radius: 50%;
}

body.mfat-booking-article.mfat-booking-redesign .full-content p {
  color: #344e5f;
  font-size: 1.125rem !important;
  line-height: 1.65 !important;
  margin: 0 0 1rem !important;
}

body.mfat-booking-article.mfat-booking-redesign .full-content p.mfat-booking-answer {
  font-size: 1.25rem !important;
  line-height: 1.5 !important;
}

body.mfat-booking-article.mfat-booking-redesign .full-content .mfat-booking-upgrade p:last-child {
  margin-bottom: 0 !important;
}

body.mfat-booking-redesign .full-content strong {
  color: #17495c;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: 700;
}

body.mfat-booking-redesign .full-content .mfat-booking-icon-list {
  font-size: 1.125rem !important;
  line-height: 1.75;
}

body.mfat-booking-redesign .mfat-booking-content-section {
  float: none;
  width: auto;
  padding: 0.35rem 0 !important;
  margin: 1.8rem 0 0;
  min-height: 0;
  background: transparent;
}

body.mfat-booking-redesign .mfat-booking-source-note {
  clear: both;
}

body.mfat-booking-redesign .full-content .mfat-booking-content-section h2 {
  display: flow-root;
  width: auto;
  margin: 0 0 0.9rem;
  padding: 0 0 0.5rem;
  border-bottom: 1px solid #d6e5ea;
  color: #17495c;
  font-size: clamp(1.45rem, 2.5vw, 1.8rem);
  font-weight: 600;
  line-height: 1.35;
}

body.mfat-booking-redesign .mfat-booking-upgrade {
  border-left: 5px solid #d4b34c;
}

body.mfat-booking-redesign .full-content .mfat-booking-offer-title {
  color: #594612;
  font-size: 1.2rem;
  font-weight: 700 !important;
  margin-bottom: 0.65rem;
}

body.mfat-booking-redesign .mfat-booking-action {
  float: none;
  width: auto;
  clear: both;
  padding: 1.75rem;
  border: 1px solid #afd9e5;
  border-top: 5px solid #25869a;
  background: linear-gradient(135deg, #edf8fc, #e8f7f4);
}

body.mfat-booking-redesign .full-content .mfat-booking-action h2 {
  color: #17495c;
  font-weight: 700;
  margin: 0 0 1rem !important;
}

body.mfat-booking-article.mfat-booking-redesign .full-content .mfat-booking-primary {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 !important;
}

body.mfat-booking-article.mfat-booking-redesign .full-content .mfat-booking-support {
  margin: 1.25rem 0 0 !important;
}

body.mfat-booking-redesign .full-content .mfat-booking-action .mfat-booking-primary a {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  max-width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #89bdcd;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 1.25rem !important;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}

body.mfat-booking-redesign .mfat-booking-action-emoji {
  flex: 0 0 1.5em;
  line-height: 1.45;
}

body.mfat-booking-redesign .mfat-booking-action-emoji,
body.mfat-booking-redesign .mfat-booking-action h2 span {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

body.mfat-booking-redesign .mfat-booking-action-icon {
  margin-left: auto;
  flex: 0 0 auto;
  line-height: 1.45;
}

body.mfat-booking-redesign .full-content .mfat-booking-primary a:hover {
  background: #f5fcfe;
  border-color: #25758b;
}

body.mfat-booking-redesign .full-content .mfat-booking-primary a:focus-visible {
  outline: 3px solid #17495c;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  body.mfat-booking-article .full-content .mfat-booking-action {
    padding: 1.4rem !important;
  }
}

/* Article rollout: SVG markers on the older Sectors question lists. */
body.page-id-798 .grid-section-2 .section-title > p:has(> .mfat-rollout-icon) {
  align-items: start;
}

body.page-id-798 .grid-section-2 .section-title > p > .mfat-rollout-icon {
  color: #39879a;
  line-height: 0;
  padding-top: calc(0.72rem + 0.15em);
}

body.page-id-798 .grid-section-2 .section-title > p > .mfat-rollout-icon svg {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
}

body.mfat-booking-article .mfat-booking-figure img {
  object-fit: cover;
}
