/* MFAT course-detail staging refresh.
   The thirteen captured course pages receive the shared treatment.
   Fire Safety Awareness (721) carries its approved, page-specific treatment
   in its captured HTML; its wide-screen image correction remains below.
   No section, link, image, booking option or course copy is replaced here. */

body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681).page-template-page-sections {
  --mfat-ink: #343d43;
  --mfat-copy: #3d4851;
  --mfat-teal: #087e9b;
  --mfat-wash: #f2f8fa;
  --mfat-edge: #dcebf0;
}

/* The original hero photograph stays in place, behind the Fire Safety style
   translucent panel. Its height grows with the copy rather than clipping it. */
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .hero-inner {
  min-height: 0 !important;
  padding-top: 12rem;
  padding-bottom: 2rem;
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .hero-inner .row.mobile-height {
  min-height: 0 !important;
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .hero-inner .col-12.text-center {
  width: min(100%, 920px);
  max-width: 920px;
  flex: 0 1 920px;
  margin: 0 auto;
  padding: clamp(1.5rem, 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, .78), rgba(22, 119, 164, .68));
  box-shadow: 0 18px 48px rgba(8, 31, 61, .22);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .hero-inner .col-12.text-center::before {
  content: "MANCHESTER FIRST AID TRAINING";
  display: inline-block;
  margin-bottom: .9rem;
  padding: .38rem .8rem;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.35;
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .hero-inner h1 {
  margin: 0 auto .5rem;
  color: #fff !important;
  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-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .hero-inner h2 {
  margin: 0 auto .75rem;
  color: #fff !important;
  font-size: clamp(20px, 2.3vw, 28px) !important;
  font-weight: 600;
  line-height: 1.3 !important;
}
body.page-id-634 .hero-inner h2:empty {
  display: none;
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .hero-inner p {
  max-width: 42rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, .96);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  text-wrap: pretty;
}

/* Legacy editorial line breaks were composed for one desktop column width.
   Let the actual viewport and the reader's font settings determine wrapping. */
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .hero-inner p br,
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .grid-section-2 .section-title :is(h2, h3, h6, p, li) br,
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .section-pricing :is(h2, h4, p, li) br {
  display: none !important;
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .grid-section-2 :is(.mobile_br, .section-title > h2 br) {
  display: none !important;
}

/* Editorial rhythm follows the Fire Safety introduction and learning blocks.
   A continuation marked pt-0 retains its deliberate joined-section layout. */
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .grid-section-2:is(.py-120, .py-140, .pt-120) {
  padding-top: 5.5rem !important;
  padding-bottom: 5.5rem !important;
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) :is(.grid-section-2, .section-pricing) .section-title > h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(31px, 3.3vw, 43px) !important;
  font-weight: 700 !important;
  line-height: 1.16 !important;
  text-wrap: balance;
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) :is(.grid-section-2, .section-pricing) .section-title > h2 span {
  font-weight: 700;
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .grid-section-2 .section-title > h6 {
  margin: 0 0 1.4rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid #f83260;
  border-radius: .4rem .8rem .8rem .4rem;
  background: var(--mfat-wash);
  color: var(--mfat-ink);
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.4;
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .grid-section-2 .section-title > :is(p, h3) {
  color: var(--mfat-copy);
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.6;
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .grid-section-2 .section-title > p {
  margin-bottom: 1rem;
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .grid-section-2 .section-title :is(p, li) a {
  color: var(--mfat-teal);
  text-decoration: underline;
  text-underline-offset: .15em;
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .grid-section-2 .section-title > ul {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .grid-section-2 .section-title > ul > li {
  margin: 0;
  padding: .85rem 1.1rem !important;
  border: 1px solid var(--mfat-edge);
  border-left: 3px solid #12a9c4;
  border-radius: .65rem;
  background: #fff;
  color: var(--mfat-copy);
  font-size: clamp(17px, 1.35vw, 18px);
  line-height: 1.5;
  list-style: none;
  overflow-wrap: break-word;
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .grid-section-2 .section-title > ul > li::before {
  content: none !important;
  display: none !important;
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .grid-section-2 img {
  max-width: 100%;
}

/* Preserve the original prices and booking links. Allow long option labels
   and buttons to breathe instead of forcing editorial breaks into card copy. */
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .section-pricing {
  scroll-margin-top: 7rem;
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .section-pricing .pricing-box h4 {
  font-weight: 700;
  line-height: 1.26;
  text-wrap: balance;
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .section-pricing .pricing-box .content-middle p {
  line-height: 1.5;
}
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .section-pricing .pricing-box .btn {
  max-width: 100%;
  height: auto;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

/* Captured staging HTML keeps the original data-src photographs but disables
   its lazy-loader scripts. Paint those very same assets behind the transparent
   placeholder images; if lazy-loading runs, the real image simply covers its
   matching background. This is deliberately limited to course editorial art. */
body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681, .mfat-fire-page) .grid-section-2 img.lazyload[data-src] {
  opacity: 1 !important;
  background-image: var(--mfat-course-image);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
body.page-id-697 .grid-section-2 img[data-src$="/circular_epipen_hand_transparent.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2025/06/circular_epipen_hand_transparent.png"); }
body.page-id-697 .grid-section-2 img[data-src$="/final_epipen_circular_image.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2025/06/final_epipen_circular_image.png"); }
body.page-id-547 .grid-section-2 img[data-src$="/group-of-young-caucasian-people-practice-treating-patient-by-bandages-first-aid-concept-indoors.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/group-of-young-caucasian-people-practice-treating-patient-by-bandages-first-aid-concept-indoors.png"); }
body.page-id-547 .grid-section-2 img[data-src$="/paramedics-practicing-cardiopulmonary-resuscitation-on-dummy.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/paramedics-practicing-cardiopulmonary-resuscitation-on-dummy.png"); }
body.page-id-781 .grid-section-2 img[data-src$="/teen-girl-on-reception-at-the-psychotherapist.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/teen-girl-on-reception-at-the-psychotherapist.png"); }
body.page-id-781 .grid-section-2 img[data-src$="/close-up-face-of-unhappy-asian-pretty-young-woman-sitting-alone-on-couch.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/close-up-face-of-unhappy-asian-pretty-young-woman-sitting-alone-on-couch.png"); }
body.page-id-781 .grid-section-2 img[data-src$="/happy-female-psychologist-giving-high-five-to-little-girl-sitting-on-sofa-at-home.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/happy-female-psychologist-giving-high-five-to-little-girl-sitting-on-sofa-at-home.png"); }
body.page-id-461 .grid-section-2 img[data-src$="/paramedic-using-an-external-defibrillator-on-an-unconscious-patient.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/paramedic-using-an-external-defibrillator-on-an-unconscious-patient.png"); }
body.page-id-461 .grid-section-2 img[data-src$="/paramedic-practicing-resuscitation-on-dummy.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/paramedic-practicing-resuscitation-on-dummy.png"); }
body.page-id-655 .grid-section-2 img[data-src$="/professional-male-instructor-using-tourniquet-to-prevent-bleeding-during-first-aid-training.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/professional-male-instructor-using-tourniquet-to-prevent-bleeding-during-first-aid-training.png"); }
body.page-id-655 .grid-section-2 img[data-src$="/young-business-man-pumps-chest-first-aid-emergency-cpr.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/young-business-man-pumps-chest-first-aid-emergency-cpr.png"); }
body.page-id-594 .grid-section-2 img[data-src$="/baby-cpr-first-aid-training.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/baby-cpr-first-aid-training.png"); }
body.page-id-594 .grid-section-2 img[data-src$="/female-pediatrician-doctor-and-child-patient-on-wheelchair-with-her-mother-in-the-health-medical-center.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/female-pediatrician-doctor-and-child-patient-on-wheelchair-with-her-mother-in-the-health-medical-center.png"); }
body.mfat-fire-page .grid-section-2 img[data-src$="/engineers-are-checking-fire-extinguishers.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/engineers-are-checking-fire-extinguishers.png"); }
body.mfat-fire-page .grid-section-2 img[data-src$="/check-boxes-on-white-paper.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/check-boxes-on-white-paper.png"); }
body.page-id-634 .grid-section-2 img[data-src$="/group-of-young-diverse-people-practice-first-aid-training-by-hand.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/group-of-young-diverse-people-practice-first-aid-training-by-hand.png"); }
body.page-id-561 .grid-section-2 img[data-src$="/cpr-first-aid-training-concept-2.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/cpr-first-aid-training-concept-2.png"); }
body.page-id-561 .grid-section-2 img[data-src$="/personas-concepto-seguridad-hogar_53876-30620.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/personas-concepto-seguridad-hogar_53876-30620.png"); }
body.page-id-735 .grid-section-2 img[data-src$="/group-discussion.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/group-discussion.png"); }
body.page-id-735 .grid-section-2 img[data-src$="/happy-young-handsome-man-in-casualwear-talking-to-one-of-groupmates-or-counselor-at-psychological-session.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/happy-young-handsome-man-in-casualwear-talking-to-one-of-groupmates-or-counselor-at-psychological-session.png"); }
body.page-id-735 .grid-section-2 img[data-src$="/happy-young-woman-and-man-giving-each-other-high-five-while-sitting-among-their-groupmates-and-psychologist.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/happy-young-woman-and-man-giving-each-other-high-five-while-sitting-among-their-groupmates-and-psychologist.png"); }
body.page-id-760 .grid-section-2 img[data-src$="/doctor-bandaging-patient-hand-1.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/doctor-bandaging-patient-hand-1.png"); }
body.page-id-760 .grid-section-2 img[data-src$="/Education-and-Childcare-First-Aid-HLTAID004-.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/Education-and-Childcare-First-Aid-HLTAID004-.png"); }
body.page-id-681 .grid-section-2 img[data-src$="/woman-teaching-kids-how-to-play-with-colorful-game-during-class.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/woman-teaching-kids-how-to-play-with-colorful-game-during-class.png"); }
body.page-id-681 .grid-section-2 img[data-src$="/smiley-old-man-and-nurse.png"] { --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/smiley-old-man-and-nurse.png"); }

@media (max-width: 767px) {
  body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .hero-inner {
    padding-top: 11rem;
    padding-bottom: 1.75rem;
  }
  body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .hero-inner .col-12.text-center {
    padding: 1.35rem 1rem 1.5rem;
    border-radius: 1rem;
  }
  body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .hero-inner h1 {
    font-size: clamp(29px, 8.2vw, 38px) !important;
  }
  body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .hero-inner p {
    font-size: 16px;
  }
  body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .grid-section-2:is(.py-120, .py-140, .pt-120) {
    padding-top: 3.75rem !important;
    padding-bottom: 3.75rem !important;
  }
}
@media (max-width: 575px) {
  body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .hero-inner {
    padding-top: 10.25rem;
  }
  body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) .hero-inner .col-12.text-center::before {
    margin-bottom: .75rem;
    letter-spacing: .07em;
  }
  body:is(.page-id-697, .page-id-547, .page-id-781, .page-id-461, .page-id-655, .page-id-594, .page-id-634, .page-id-561, .page-id-735, .page-id-760, .page-id-681) :is(.grid-section-2, .section-pricing) .section-title > h2 {
    margin-bottom: 1.25rem;
  }
}

/* Fire Safety's original extinguisher photo stays below 1500px; at wider
   aspect ratios use its existing right-aligned composed variant. */
@media (min-width: 1500px) {
  body.mfat-fire-page .hero-inner .section-background {
    background-image: url("/media/fire-safety-hero-composed.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
  }
}

/* Additional course/product pages use a different, editorial template:
   894 = Personal First Aid, 3286 = Private Family VIP. Their option cards
   live in grid-section-3, not section-pricing; retain those actual cards,
   original text and links rather than pretending this is a core course page. */
body:is(.page-id-894, .page-id-3286) {
  --mfat-ink: #343d43;
  --mfat-copy: #3d4851;
  --mfat-teal: #087e9b;
  --mfat-wash: #f2f8fa;
}
body:is(.page-id-894, .page-id-3286, .page-id-1480) .hero-inner {
  min-height: 0 !important;
  padding-top: 12rem;
  padding-bottom: 2rem;
}
body:is(.page-id-894, .page-id-3286, .page-id-1480) .hero-inner .row.mobile-height {
  min-height: 0 !important;
}
body:is(.page-id-894, .page-id-3286, .page-id-1480) .hero-inner .col-12.text-center {
  width: min(100%, 920px);
  max-width: 920px;
  flex: 0 1 920px;
  margin: 0 auto;
  padding: clamp(1.5rem, 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, .78), rgba(22, 119, 164, .68));
  box-shadow: 0 18px 48px rgba(8, 31, 61, .22);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
body:is(.page-id-894, .page-id-3286, .page-id-1480) .hero-inner .col-12.text-center::before {
  content: "MANCHESTER FIRST AID TRAINING";
  display: inline-block;
  margin-bottom: .9rem;
  padding: .38rem .8rem;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.35;
}
body:is(.page-id-894, .page-id-3286, .page-id-1480) .hero-inner h1 {
  margin: 0 auto .5rem;
  color: #fff !important;
  font-size: clamp(2rem, 4.2vw, 3.5rem) !important;
  font-weight: 750;
  line-height: 1.12 !important;
  letter-spacing: -.035em;
  text-wrap: balance;
}
body:is(.page-id-894, .page-id-3286, .page-id-1480) .hero-inner h2 {
  margin: 0 auto;
  color: #fff !important;
  font-size: clamp(20px, 2.3vw, 28px) !important;
  font-weight: 600;
  line-height: 1.35 !important;
  text-wrap: balance;
}
body:is(.page-id-894, .page-id-3286) .hero-inner .section-background {
  background-image: url("/_captured/manchesterfirstaidtraining.co.uk/wp-content/uploads/2021/11/individuals-banner.jpg") !important;
  background-position: center !important;
  background-size: cover !important;
  opacity: 1 !important;
  width: 100% !important;
  max-width: none !important;
}
body.page-id-1480 .hero-inner .section-background {
  background-image: url("/_captured/manchesterfirstaidtraining.co.uk/wp-content/uploads/2021/12/Group-350a.jpg") !important;
  background-position: center !important;
  background-size: cover !important;
  opacity: 1 !important;
  width: 100% !important;
  max-width: none !important;
}
/* Personal First Aid is also linked from the sector family, whose tablet
   section rule otherwise overrides the safe space below the mobile navbar. */
body.page-id-894 .hero-inner {
  padding-top: 12rem !important;
  padding-bottom: 2rem !important;
}

body:is(.page-id-894, .page-id-3286) :is(.content-element .box-line, .grid-section-2 .section-title, .grid-section-3 .content-padding, .full-width .full-content) :is(h2, h3, h6, p, li) br,
body:is(.page-id-894, .page-id-3286) .grid-section-3 .pricing-box h4 br {
  display: none !important;
}
body:is(.page-id-894, .page-id-3286) .content-element {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
body:is(.page-id-894, .page-id-3286) .content-element .box-line {
  max-width: 950px;
  margin-inline: auto;
}
body:is(.page-id-894, .page-id-3286) .content-element .box-line h2 {
  font-size: clamp(30px, 3.3vw, 43px) !important;
  line-height: 1.18 !important;
  font-weight: 700;
  text-wrap: balance;
}
body:is(.page-id-894, .page-id-3286) .grid-section-2 {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}
body:is(.page-id-894, .page-id-3286) .grid-section-2 :is(.section-title > h2, .title-centered > h2),
body:is(.page-id-894, .page-id-3286) .grid-section-3 .content-padding > h2,
body:is(.page-id-894, .page-id-3286) .full-width h2 {
  font-size: clamp(31px, 3.3vw, 43px) !important;
  font-weight: 700 !important;
  line-height: 1.16 !important;
  text-wrap: balance;
}
body:is(.page-id-894, .page-id-3286) :is(.grid-section-2, .grid-section-3) .section-title h2 span {
  font-weight: 700;
}
body:is(.page-id-894, .page-id-3286) .grid-section-2 .section-title > h6 {
  margin: 0 0 1.4rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid #f83260;
  border-radius: .4rem .8rem .8rem .4rem;
  background: var(--mfat-wash);
  color: var(--mfat-ink);
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.4;
}
body:is(.page-id-894, .page-id-3286) :is(.grid-section-2 .section-title > p, .grid-section-3 .content-padding > p) {
  color: var(--mfat-copy);
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.6;
}
/* The Next Level Training copy should match the other Personal First Aid
   body paragraphs, rather than inheriting the smaller legacy section scale. */
body.page-id-894 .grid-section-3.py-120 .content-padding > p {
  font-size: clamp(17px, 1.45vw, 19px) !important;
  line-height: 1.6;
}
body:is(.page-id-894, .page-id-3286) .full-width.gradient-section .full-content > p {
  max-width: 50rem;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.6;
}
body:is(.page-id-894, .page-id-3286) .full-width.gradient-section .section-background.lazyload {
  width: 100% !important;
  max-width: none !important;
  opacity: 1 !important;
  background-image: url("/_captured/manchesterfirstaidtraining.co.uk/wp-content/uploads/2021/11/individuals-bottom-banner.jpg") !important;
  background-position: center !important;
  background-size: cover !important;
}
body:is(.page-id-894, .page-id-3286) :is(.grid-section-2, .grid-section-3) .section-title a:not(.btn) {
  color: var(--mfat-teal);
  text-decoration: underline;
  text-underline-offset: .15em;
}
body:is(.page-id-894, .page-id-3286) .grid-section-3 .content-padding > h6 {
  color: var(--mfat-ink);
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.4;
}
body:is(.page-id-894, .page-id-3286) .grid-section-3 .pricing-box {
  max-width: 100%;
}
body:is(.page-id-894, .page-id-3286) .grid-section-3 .pricing-box h4 {
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}
body:is(.page-id-894, .page-id-3286) .grid-section-3 .pricing-box .btn {
  max-width: 100%;
  height: auto;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
}
body:is(.page-id-894, .page-id-3286) .grid-section-2 img.lazyload[data-src] {
  opacity: 1 !important;
  background-image: var(--mfat-course-image);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  max-width: 100%;
}
body:is(.page-id-894, .page-id-3286) .grid-section-2 img[data-src$="/coworkers-cheering-with-clenched-fist-in-creative-office.jpg"] {
  --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/coworkers-cheering-with-clenched-fist-in-creative-office.jpg");
}
body:is(.page-id-894, .page-id-3286) .grid-section-2 img[data-src$="/group-of-young-caucasian-people-practice-treating-patient-by-bandages-first-aid-concept-indoors.png"] {
  --mfat-course-image: url("/sites/manchesterfirstaidtraining-co-uk-d6630562/shared/uploads/2021/11/group-of-young-caucasian-people-practice-treating-patient-by-bandages-first-aid-concept-indoors.png");
}

/* 1480 is a moved-page signpost, not a booking page: keep its existing
   destination and message prominent, rather than inventing course options. */
body.page-id-1480 .hero-inner .col-12.text-center > h2 + h2 {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 1.25rem auto 0;
  padding: 0 !important;
  border-radius: 999px;
  background: #fa315e !important;
  font-size: clamp(17px, 1.7vw, 20px) !important;
}
body.page-id-1480 .hero-inner .col-12.text-center > h2 + h2 a {
  display: block;
  padding: .85rem 1.5rem;
  color: #fff !important;
  text-decoration: none;
  line-height: 1.35;
}
body.page-id-1480 .hero-inner .col-12.text-center > h2 + h2 a br {
  display: none !important;
}
body.page-id-1480 .hero-inner .col-12.text-center > h2 + h2:hover,
body.page-id-1480 .hero-inner .col-12.text-center > h2 + h2:focus-within {
  background: #d91f4b !important;
}
body.page-id-1480 .hero-inner .col-12.text-center > h2 + h2 a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  border-radius: 999px;
}
@media (max-width: 767px) {
  body:is(.page-id-894, .page-id-3286, .page-id-1480) .hero-inner {
    padding-top: 11rem;
    padding-bottom: 1.75rem;
  }
  body.page-id-894 .hero-inner {
    padding-top: 11rem !important;
    padding-bottom: 1.75rem !important;
  }
  body:is(.page-id-894, .page-id-3286, .page-id-1480) .hero-inner .col-12.text-center {
    padding: 1.35rem 1rem 1.5rem;
    border-radius: 1rem;
  }
  body:is(.page-id-894, .page-id-3286, .page-id-1480) .hero-inner h1 {
    font-size: clamp(29px, 8.2vw, 38px) !important;
  }
  body:is(.page-id-894, .page-id-3286) .grid-section-2 {
    padding-top: 3.75rem !important;
    padding-bottom: 3.75rem !important;
  }
}
@media (max-width: 575px) {
  body:is(.page-id-894, .page-id-3286, .page-id-1480) .hero-inner {
    padding-top: 10.25rem;
  }
  body:is(.page-id-894, .page-id-3286) .content-element .box-line h2 {
    font-size: clamp(24px, 6.8vw, 28px) !important;
    line-height: 1.22 !important;
  }
  body.page-id-894 .hero-inner {
    padding-top: 10.25rem !important;
  }
  body.page-id-1480 .hero-inner .col-12.text-center > h2 + h2 {
    border-radius: 1rem;
  }
}

/* Structural course-detail additions mirror the approved Fire page. */
body.mfat-course-page .hero-inner .section-background.lazyload {
  width: 100% !important;
  max-width: none !important;
  opacity: 1 !important;
  background-position: center !important;
  background-size: cover !important;
}
body.page-id-697 .hero-inner .section-background { background-image: url("/_captured/manchesterfirstaidtraining.co.uk/wp-content/uploads/2021/11/hero-bg9.jpg") !important; }
body.page-id-547 .hero-inner .section-background { background-image: url("/_captured/manchesterfirstaidtraining.co.uk/wp-content/uploads/2021/11/hero-bg3.jpg") !important; }
body.page-id-781 .hero-inner .section-background { background-image: url("/_captured/manchesterfirstaidtraining.co.uk/wp-content/uploads/2021/11/hero-bg14.jpg") !important; }
body.page-id-461 .hero-inner .section-background { background-image: url("/_captured/manchesterfirstaidtraining.co.uk/wp-content/uploads/2021/11/hero-bg2.jpg") !important; }
body.page-id-655 .hero-inner .section-background { background-image: url("/_captured/manchesterfirstaidtraining.co.uk/wp-content/uploads/2021/11/hero-bg7.jpg") !important; }
body.page-id-594 .hero-inner .section-background { background-image: url("/_captured/manchesterfirstaidtraining.co.uk/wp-content/uploads/2021/11/hero-bg5.jpg") !important; }
body.page-id-634 .hero-inner .section-background { background-image: url("/_captured/manchesterfirstaidtraining.co.uk/wp-content/uploads/2021/11/hero-bg6.jpg") !important; }
body.page-id-561 .hero-inner .section-background { background-image: url("/_captured/manchesterfirstaidtraining.co.uk/wp-content/uploads/2021/11/hero-bg4.jpg") !important; }
body.page-id-735 .hero-inner .section-background { background-image: url("/_captured/manchesterfirstaidtraining.co.uk/wp-content/uploads/2021/11/hero-bg12.jpg") !important; }
body.page-id-760 .hero-inner .section-background { background-image: url("/_captured/manchesterfirstaidtraining.co.uk/wp-content/uploads/2021/11/hero-bg13.jpg") !important; }
body.page-id-681 .hero-inner .section-background { background-image: url("/_captured/manchesterfirstaidtraining.co.uk/wp-content/uploads/2021/11/hero-bg8.jpg") !important; }
body.page-id-894 .hero-inner .section-background,
body.page-id-3286 .hero-inner .section-background { background-image: url("/_captured/manchesterfirstaidtraining.co.uk/wp-content/uploads/2021/11/individuals-banner.jpg") !important; }
/* The body itself stays byte-for-byte captured to preserve shared shell digests. */
body:has(.mfat-course-at-glance) .hero-inner .col-12.text-center {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.mfat-course-page .hero-inner .col-12.text-center {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
body.mfat-course-page .hero-inner .col-12.text-center::before { content: none; }
body.mfat-course-page .mfat-course-hero-panel {
  width: min(100%, 920px);
  margin: auto;
  padding: clamp(1.5rem, 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,.78), rgba(22,119,164,.68));
  box-shadow: 0 18px 48px rgba(8,31,61,.22);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
body.mfat-course-page .mfat-course-hero-eyebrow {
  display: inline-block;
  margin-bottom: .9rem;
  padding: .38rem .8rem;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.35;
  text-transform: uppercase;
}
body.mfat-course-page .mfat-course-at-glance {
  padding: 1.75rem 0;
  background: #f2f8fa;
  border-bottom: 1px solid #dcebf0;
}
body.mfat-course-page .mfat-course-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
body.mfat-course-page .mfat-course-fact {
  min-width: 0;
  padding: .4rem 1.25rem;
  border-left: 3px solid #12a9c4;
}
body.mfat-course-page .mfat-course-fact > span {
  display: block;
  margin-bottom: .3rem;
  color: #078aa6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}
body.mfat-course-page .mfat-course-fact > strong {
  display: block;
  color: #343d43;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.35;
}
body.mfat-course-page .mfat-course-intro,
body.mfat-course-page .mfat-course-learning { padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; }
body.mfat-course-page .mfat-course-learning .section-title > ul > li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .85rem 1rem !important;
  border: 1px solid #deeaee;
  border-radius: .75rem;
}
body.mfat-course-page .mfat-course-learning .section-title > ul > li::after {
  content: "\f00c";
  order: -1;
  display: inline-flex;
  flex: 0 0 2.25rem;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .6rem;
  background: #e7f5f8;
  color: #087e9b;
  font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", sans-serif;
  font-weight: 900;
  font-size: 1rem;
}
body.mfat-course-page .mfat-course-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  max-width: 100%;
  min-height: 60px;
  margin-top: .85rem;
  padding: 1.14rem 1.8rem;
  border-radius: 999px;
  background: #fa315e;
  color: #fff !important;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(230,38,83,.18);
}
body.mfat-course-page .mfat-course-cta:hover,
body.mfat-course-page .mfat-course-cta:focus-visible { background: #d91f4b; }
body.mfat-course-page .mfat-course-cta:focus-visible { outline: 3px solid #087e9b; outline-offset: 3px; }
body.mfat-course-page .mfat-course-pricing { scroll-margin-top: 7rem; }
/* The pricing section has its own top padding. Leaving the full sticky-header
   offset here stopped the intro links in the preceding course-covering list. */
body.mfat-course-page .section-pricing.mfat-course-pricing,
body.mfat-fire-page .section-pricing.mfat-fire-pricing {
  scroll-margin-top: 0;
}
@media (max-width: 767px) {
  body.mfat-course-page .section-pricing.mfat-course-pricing,
  body.mfat-fire-page .section-pricing.mfat-fire-pricing {
    scroll-margin-top: 4rem;
  }
}
body.mfat-course-page .icon-grid .section-title > p {
  font-size: 1.2rem;
  line-height: 1.55;
}
body.mfat-course-page .icon-grid .icon-circle-box p {
  font-size: 1.35rem; /* Original desktop 1.125rem × 1.2 */
  line-height: 1.4;
}
/* Personal First Aid has a separate recommendation and an additional
   “What Can You Expect?” band. Match the other course pages' body-copy scale
   rather than scaling these paragraphs a second time. */
body.page-id-894.mfat-course-page :is(.mfat-course-intro, .mfat-course-learning) .section-title > p,
body.page-id-894.mfat-course-page .mfat-course-pricing .content-padding > p {
  font-size: clamp(17px, 1.45vw, 19px) !important;
  line-height: 1.6;
}
body.page-id-894.mfat-course-page .full-width.gradient-section .full-content > p {
  font-size: clamp(17px, 1.45vw, 19px) !important;
  line-height: 1.6;
}
/* Separate the introductory story from the next section on both private family pages. */
body:is(.page-id-894, .page-id-3286) .mfat-course-learning::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(180px, 40vw);
  height: 3px;
  border-radius: 999px;
  background: #12a9c4;
  pointer-events: none;
}
@media (max-width: 767px) {
  body.mfat-course-page .mfat-course-intro .section-title > .mfat-course-cta {
    display: flex;
    width: fit-content;
    max-width: calc(100% - 1rem);
    margin: 1.25rem auto 0;
  }
  body.mfat-course-page .icon-grid .section-title > p {
    font-size: 1.275rem; /* Original mobile body 1.0625rem × 1.2 */
  }
  body.mfat-course-page .icon-grid .icon-circle-box p {
    font-size: 1.05rem; /* Original mobile .875rem × 1.2 */
  }
}
body.mfat-course-page .mfat-course-intro .section-title > h6,
body.mfat-course-page .mfat-course-intro .section-title > p:first-child strong {
  color: #343d43;
}
/* Only the title (including its emoji) grows; the callout's inline 16px body
   copy, links, and original coloured-box layout stay unchanged. */
body.mfat-course-page .mfat-course-callout > strong:first-child {
  display: block;
  font-size: 1.2em;
}
body.mfat-course-page .mfat-course-callout > strong:first-child > br {
  display: none !important;
}
body.mfat-course-page .mfat-course-learning .section-title > h3 {
  margin-top: 0 !important;
  margin-bottom: 1.5rem;
  color: #3d4851;
  font-size: clamp(17px,1.45vw,19px);
  line-height: 1.6;
}
body.mfat-course-page .mfat-course-learning .section-title > .mfat-course-learning-list {
  display: grid;
  gap: .75rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}
body.mfat-course-page .mfat-course-learning-list li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .85rem 1rem;
  border: 1px solid #deeaee;
  border-radius: .75rem;
  background: #fff;
  color: #3d4851;
  font-size: clamp(17px, 1.35vw, 18px);
  line-height: 1.5;
}
body.mfat-course-page .mfat-course-learning-list li::before {
  content: "✓";
  display: inline-flex;
  flex: 0 0 2.25rem;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .6rem;
  background: #e7f5f8;
  color: #087e9b;
  font-weight: 700;
}
body.mfat-course-page .mfat-course-refresher-learning { background: #f2f8fa; }
body.mfat-course-page .mfat-course-refresher-learning h2 { color: #343d43; font-size: clamp(31px,3.3vw,43px); font-weight: 700; line-height: 1.16; }

/* Learning rows follow the approved Fire layout: one reserved icon rail and
   one uninterrupted text flow. The imported theme's two tick pseudo-elements
   and the earlier flex rule must not turn inline strong/link text into columns. */
body.mfat-course-page .mfat-course-learning .section-title > ul > li,
body.mfat-course-page .mfat-course-learning-list > li {
  position: relative;
  display: block !important;
  min-width: 0;
  margin: 0;
  padding: .85rem 1rem .85rem 4.1rem !important;
  overflow-wrap: normal;
  word-break: normal;
}
body.mfat-course-page .mfat-course-learning .section-title > ul > li::after,
body.mfat-course-page .mfat-course-learning-list > li::after {
  content: none !important;
  display: none !important;
}
body.mfat-course-page .mfat-course-learning .section-title > ul > li::before,
body.mfat-course-page .mfat-course-learning-list > li::before {
  content: "\f0c0" !important; /* people / group learning */
  position: absolute;
  top: .85rem;
  left: 1rem;
  display: inline-flex !important;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: .6rem;
  background: #e7f5f8;
  color: #087e9b;
  font-family: "Font Awesome 5 Free";
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  text-indent: 0;
}
/* Each pictogram corresponds to the subject in its row, not a generic tick. */
body.mfat-course-page .mfat-course-learning .section-title > ul > li:nth-child(2)::before { content: "\f4ce" !important; } /* hands / practice */
body.mfat-course-page .mfat-course-learning .section-title > ul > li:nth-child(3)::before { content: "\f0fa" !important; } /* first aid */
body.mfat-course-page .mfat-course-learning .section-title > ul > li:nth-child(4)::before { content: "\f0a3" !important; } /* certificate */
body.mfat-course-page .mfat-course-learning .section-title > ul > li:nth-child(5)::before { content: "\f559" !important; } /* award */
body.mfat-course-page .mfat-course-learning .section-title > ul > li:nth-child(6)::before { content: "\f518" !important; } /* guide / education */
body.mfat-course-page .mfat-course-learning .section-title > ul > li:nth-child(7)::before { content: "\f5da" !important; } /* refresher */
body.mfat-course-page .mfat-course-learning .section-title > ul > li:nth-child(8)::before { content: "\f02d" !important; } /* manual */
body.mfat-course-page .mfat-course-learning .section-title > ul > li:nth-child(9)::before { content: "\f544" !important; } /* assistant */
body.mfat-course-page .mfat-course-learning .section-title > ul > li:nth-child(n+10)::before { content: "\f029" !important; } /* verification */
body:is(.page-id-655, .page-id-561) .mfat-course-learning .section-title > ul > li:nth-child(6)::before { content: "\f559" !important; } /* Ofqual / upgrade */
body.page-id-561 .mfat-course-learning .section-title > ul > li:nth-child(6)::before,
body:is(.page-id-655, .page-id-594) .mfat-course-learning .section-title > ul > li:nth-child(7)::before { content: "\f5da" !important; } /* refresher */
body.page-id-561 .mfat-course-learning .section-title > ul > li:nth-child(7)::before,
body:is(.page-id-655, .page-id-594) .mfat-course-learning .section-title > ul > li:nth-child(8)::before { content: "\f02d" !important; } /* manual */
body.page-id-561 .mfat-course-learning .section-title > ul > li:nth-child(8)::before,
body:is(.page-id-655, .page-id-594) .mfat-course-learning .section-title > ul > li:nth-child(9)::before { content: "\f544" !important; } /* AI answers */
body.page-id-561 .mfat-course-learning .section-title > ul > li:nth-child(9)::before,
body:is(.page-id-547, .page-id-681, .page-id-697, .page-id-461, .page-id-735, .page-id-781) .mfat-course-learning .section-title > ul > li:last-child::before { content: "\f029" !important; } /* QR verification */
body.page-id-655 .mfat-course-learning .section-title > ul > li:first-child::before { content: "\f0a3" !important; }
body.page-id-655 .mfat-course-learning .section-title > ul > li:nth-child(3)::before { content: "\f4ce" !important; }
body.page-id-655 .mfat-course-learning .section-title > ul > li:nth-child(4)::before { content: "\f0fa" !important; }
body.page-id-655 .mfat-course-learning .section-title > ul > li:nth-child(5)::before,
body.page-id-594 .mfat-course-learning .section-title > ul > li:nth-child(4)::before,
body:is(.page-id-547, .page-id-681, .page-id-697, .page-id-461, .page-id-735, .page-id-781) .mfat-course-learning .section-title > ul > li:nth-last-child(3)::before { content: "\f0a3" !important; }
body.page-id-594 .mfat-course-learning .section-title > ul > li:nth-child(6)::before { content: "\f549" !important; } /* school / EYFS */
body.page-id-547 .mfat-course-learning .section-title > ul > li:nth-child(6)::before,
body.page-id-681 .mfat-course-learning .section-title > ul > li:nth-child(5)::before,
body.page-id-697 .mfat-course-learning .section-title > ul > li:nth-child(5)::before { content: "\f02d" !important; }
body.page-id-547 .mfat-course-learning .section-title > ul > li:nth-child(7)::before { content: "\f544" !important; }
body.page-id-461 .mfat-course-learning .section-title > ul > li:nth-child(3)::before { content: "\f21e" !important; } /* defibrillation */
body.page-id-461 .mfat-course-learning .section-title > ul > li:nth-child(4)::before { content: "\f0fa" !important; } /* CPR */
body.page-id-697 .mfat-course-learning .section-title > ul > li:nth-child(3)::before { content: "\f48e" !important; } /* injection devices */
body.page-id-781 .mfat-course-learning .section-title > ul > li:nth-child(3)::before { content: "\f108" !important; } /* social media */
body.page-id-760 .mfat-course-learning .section-title > ul > li:nth-child(2)::before { content: "\f017" !important; } /* time-saving blend */
body.page-id-760 .mfat-course-learning .section-title > ul > li:nth-child(3)::before { content: "\f109" !important; } /* online study */
body.page-id-760 .mfat-course-learning .section-title > ul > li:nth-child(4)::before { content: "\f4ce" !important; }
body.page-id-760 .mfat-course-learning .section-title > ul > li:nth-child(5)::before { content: "\f0fa" !important; }
body.page-id-760 .mfat-course-learning .section-title > ul > li:nth-child(8)::before { content: "\f549" !important; }
body.page-id-760 .mfat-course-learning .section-title > ul > li:nth-child(10)::before { content: "\f5da" !important; }
body.page-id-760 .mfat-course-learning .section-title > ul > li:nth-child(11)::before { content: "\f02d" !important; }
body.page-id-760 .mfat-course-learning .section-title > ul > li:nth-child(12)::before { content: "\f544" !important; }
body.page-id-760 .mfat-course-learning .section-title > ul > li:nth-child(13)::before { content: "\f029" !important; }
/* Give every learning outcome a distinct, relevant icon within its course. */
body.page-id-547 .mfat-course-learning .section-title > ul > li:nth-child(5)::before { content: "\f029" !important; } /* BLS: QR-verified certificate */
body.page-id-655 .mfat-course-learning .section-title > ul > li:first-child::before { content: "\f017" !important; } /* EFAW: one-day course */
body.page-id-655 .mfat-course-learning .section-title > ul > li:nth-child(2)::before { content: "\f0c0" !important; } /* EFAW: interactive group */
body.page-id-735 .mfat-course-learning .section-title > ul > li:nth-child(6)::before { content: "\f4fc" !important; } /* MHFA: customised for the group */
body.page-id-760 .mfat-course-learning .section-title > ul > li:nth-child(7)::before { content: "\f0a3" !important; } /* Paediatric: accredited certificate */
body.page-id-760 .mfat-course-learning .section-title > ul > li:nth-child(9)::before { content: "\f559" !important; } /* Paediatric: Ofqual award */
body:is(.page-id-894, .page-id-3286) .mfat-course-learning-list > li:first-child::before { content: "\f0fa" !important; }
body:is(.page-id-894, .page-id-3286) .mfat-course-learning-list > li:nth-child(2)::before { content: "\f4ce" !important; }
body.page-id-634 .mfat-course-learning-list > li:first-child::before { content: "\f4fd" !important; }
body.page-id-634 .mfat-course-learning-list > li:nth-child(2)::before { content: "\f109" !important; }
body.page-id-634 .mfat-course-learning-list > li:nth-child(3)::before { content: "\f017" !important; }

/* A two-column hero is not appropriate for the single Superhero statement. */
body:is(.page-id-894, .page-id-3286) .content-element .box-line {
  max-width: 920px;
  text-align: center;
}
body:is(.page-id-894, .page-id-3286) .content-element .box-line h2 {
  margin-inline: auto;
}

/* The source explicitly asks for these two editorial pauses below the FAW
   booking cards; all other pricing copy retains its natural wrapping. */
body.page-id-561 .section-pricing .bottom-text br.mfat-course-copy-break {
  display: initial !important;
}
/* Card copy contains a handful of intentional line breaks before parenthetic
   location notes; keep those breaks rather than glueing words together. */
body.mfat-course-page .section-pricing .pricing-box :is(h4, p) br {
  display: initial !important;
}
/* Preserve the original strong/regular contrast in the course lead titles. */
body.mfat-course-page .mfat-course-intro .section-title > h2:has(span) {
  font-weight: 400 !important;
}
body.mfat-course-page .mfat-course-intro .section-title > h2:has(span) > span {
  font-weight: 700 !important;
}
/* Keep EFAW's bold lead phrase on its own line; balancing the whole heading
   otherwise sends "Aid" to the next line despite ample room beside "First". */
body.page-id-655.mfat-course-page .mfat-course-intro .section-title > h2:has(span) {
  text-wrap: wrap;
}
body.page-id-655.mfat-course-page .mfat-course-intro .section-title > h2:has(span) > span {
  display: block;
  white-space: nowrap;
}
@media (max-width: 350px) {
  body.page-id-655.mfat-course-page .mfat-course-intro .section-title > h2:has(span) {
    font-size: min(31px, 8.4vw) !important;
  }
}
/* Align the Personal First Aid statement with the hero above it, rather than
   compressing three equally heavy lines into a narrower framed box. */
body.page-id-894 .content-element .box-line {
  width: min(920px, calc(100vw - 18px));
  max-width: none;
  margin-left: 50%;
  margin-right: 0;
  transform: translateX(-50%);
}
body.page-id-894 .content-element .box-line h2 > strong,
body.page-id-894 .content-element .box-line h2 > span {
  display: block;
}
body.page-id-894 .content-element .box-line h2 > strong {
  font-weight: 700;
}
body.page-id-894.mfat-course-page .content-element .section-title .box-line > h2 > span {
  margin-top: .55rem;
  font-size: clamp(17px, 1.45vw, 19px) !important;
  font-weight: 400 !important;
  line-height: 1.4;
}
/* Keep the VIP statement aligned with the centred hero, then give its first
   story section a clear heading of its own. */
body.page-id-3286 .content-element .box-line {
  width: min(920px, calc(100vw - 18px));
  max-width: none;
  margin-left: 50%;
  margin-right: 0;
  transform: translateX(-50%);
}
body.page-id-3286.mfat-course-page .content-element .section-title .box-line > h2 {
  font-size: clamp(38px, 4vw, 54px) !important;
  line-height: 1.12 !important;
  text-wrap: balance;
}
body.page-id-3286 .content-element .box-line h2 > span {
  display: block;
  color: #078aa6;
}
body.page-id-3286.mfat-course-page .mfat-course-intro .section-title > .mfat-vip-intro-heading {
  margin: 0 0 1.3rem;
  color: #343d43;
  font-size: clamp(35px, 3.7vw, 49px) !important;
  font-weight: 400;
  line-height: 1.16 !important;
  text-wrap: balance;
}
body.page-id-3286 .mfat-course-intro .section-title > .mfat-vip-intro-heading span {
  display: block;
  color: #078aa6;
  font-weight: 700;
}
body.page-id-3286 .mfat-course-learning {
  position: relative;
}
@media (max-width: 575px) {
  body.page-id-3286.mfat-course-page .content-element .section-title .box-line > h2 {
    font-size: clamp(32px, 8.2vw, 38px) !important;
  }
  body.page-id-3286.mfat-course-page .mfat-course-intro .section-title > .mfat-vip-intro-heading {
    font-size: clamp(32px, 8.2vw, 38px) !important;
  }
}
@media (max-width: 767px) {
  body.mfat-course-page .mega-toggle-animated {
    border-radius: .65rem !important;
    background: rgba(15, 48, 91, .78) !important;
  }
  body.mfat-course-page .mfat-course-hero-panel { padding: 1.35rem 1rem 1.5rem; border-radius: 1rem; }
  body.mfat-course-page .mfat-course-hero-eyebrow { margin-bottom: .75rem; font-size: 12px; letter-spacing: .1em; }
  body.mfat-course-page .mfat-course-at-glance { padding: 1.5rem 0; }
  body.mfat-course-page .mfat-course-facts { grid-template-columns: 1fr; gap: .8rem; }
  body.mfat-course-page .mfat-course-fact { padding: .3rem 1rem; }
  body.mfat-course-page .mfat-course-intro,
  body.mfat-course-page .mfat-course-learning { padding-top: 3.75rem !important; padding-bottom: 3.75rem !important; }
}

/* Fire Safety establishes the mobile section-title scale. The other captured
   pages still inherit the smaller, light-weight theme headings in shared
   sections. Match Fire's typography without changing hero subtitles, course
   cards, or the deliberately smaller sector course-list subheadings. */
@media (max-width: 991px) {
  body:not(.mfat-fire-page) :is(.section-title, .title-centered, .box-line, .content-padding, .full-content, .text-md-start, .mfat-sector-intro-title) > h2:not(.h5),
  body:not(.mfat-fire-page) .full-width .col-12.text-center > h2:not(.h5),
  body:not(.mfat-fire-page) .mfat-sector-intro-title {
    font-size: clamp(31px, 3.3vw, 43px) !important;
    font-weight: 700 !important;
    line-height: 1.16 !important;
    text-wrap: balance;
  }
  body:not(.mfat-fire-page) :is(.section-title, .title-centered, .box-line, .content-padding, .full-content, .text-md-start, .mfat-sector-intro-title) > h2:not(.h5) span,
  body:not(.mfat-fire-page) .full-width .col-12.text-center > h2:not(.h5) span,
  body:not(.mfat-fire-page) .mfat-sector-intro-title span {
    font-weight: 700 !important;
  }
}

/* Increase only customer quotes and signoffs, not the section heading. */
body.mfat-course-page .customers-slider .slider-text p,
body.mfat-course-page .customers-slider .quotes-holder :is(label, p) {
  font-size: 1.2em;
}
@media (max-width: 767px) {
  body.mfat-course-page .customers-slider .quotes-holder p {
    font-size: 1.05rem;
  }
}
@media (max-width: 576px) {
  body.mfat-course-page .customers-slider .slider-text p,
  body.mfat-course-page .customers-slider .quotes-holder :is(label, p) {
    font-size: 1.32rem;
  }
}