/* =========================================================
   EMERGENCY RESPONSE TEAM TRAINING (ERT)
   01. Shared layout, type and colours
   ========================================================= */
/* This stylesheet is loaded only by the active ERT page. */
body {
  position: relative;
  margin: 0;
  font-family: "Poppins", sans-serif;
}
/* Match the active HAZMAT page reset inside the ERT page only. */
.ert-page,
.ert-page *,
.ert-page *::before,
.ert-page *::after {
  box-sizing: border-box;
}
.ert-page h1,
.ert-page h2,
.ert-page h3,
.ert-page p,
.ert-page figure {
  margin: 0;
}
.ert-page {
  --ert-navy: #001776;
  --ert-ink: #17213a;
  --ert-copy: #48566e;
  --ert-line: #dce3ed;
  --ert-accent: #b85c38;
  --ert-accent-deep: #8e3e23;
  --ert-accent-soft: #f9eae3;
  color: var(--ert-ink);
  background: #fff;
  font-family: Poppins, Arial, sans-serif;
  line-height: 1.65;
}
.ert-shell {
  width: min(1400px, calc(100% - 40px));
  margin-inline: auto;
}
.ert-section,
.ert-cta {
  padding-block: 50px;
}
.ert-section > .ert-shell,
.ert-cta > .ert-shell {
  width: min(1180px, calc(100% - 126px));
}
.ert-heading {
  max-width: 770px;
  margin: 0 auto 32px;
  text-align: center;
}
.ert-heading h2,
.ert-overview-copy h2,
.ert-definition-copy h2,
.ert-details h2 {
  margin-bottom: 14px;
  color: var(--ert-navy);
  font-size: clamp(28px, 4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.ert-heading p,
.ert-overview-copy p,
.ert-definition-copy p {
  margin-bottom: 0;
  color: var(--ert-copy);
  font-size: 16px;
  line-height: 1.7;
}
.ert-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 23px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease;
}
.ert-button:hover,
.ert-button:focus-visible {
  transform: translateY(-2px);
}
.ert-button-primary {
  background: var(--ert-accent);
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.19);
}
.ert-button-primary:hover,
.ert-button-primary:focus-visible {
  background: var(--ert-accent-deep);
}

/* ========================================================= 02. Hero — BFSM structure */
.ert-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(440px, 42vw, 640px);
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: url("/images/ert-training-malaysia-participants.webp") center/cover no-repeat;
}
.ert-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.3) 56%, rgba(0, 0, 0, 0.6)),
    linear-gradient(90deg, rgba(184, 92, 56, 0.18), rgba(184, 92, 56, 0) 68%);
}
.ert-hero-content {
  max-width: 900px;
  padding-block: 72px;
  transform: translateY(22px);
}
.ert-hero-label {
  display: block;
  width: fit-content;
  margin: 0 0 12px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--ert-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.ert-hero h1 {
  max-width: 900px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2rem, 9vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.1;
  text-shadow: 5px 5px 0 rgba(184, 92, 56, 0.58);
}
.ert-hero .ert-hero-copy {
  max-width: 740px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.75;
}
.ert-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ========================================================= 03. Course overview */
.ert-overview {
  background: #f8fbfd;
}
.ert-overview-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}
.ert-overview-image,
.ert-details-image,
.ert-overview-image-mobile {
  margin: 0;
  width: min(100%, 460px);
  max-width: 460px;
  max-height: 288px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  background: var(--ert-navy);
  box-shadow: 0 16px 36px rgba(0, 23, 118, 0.1);
}
.ert-overview-image img,
.ert-details-image img,
.ert-overview-image-mobile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ert-overview-copy {
  max-width: 590px;
}
.ert-overview-mobile-image-wrap {
  display: none;
}
.ert-overview-image-mobile {
  display: none;
}

/* ========================================================= 04. What is an ERT */
.ert-definition {
  background: #fcf7f4;
}
.ert-definition-layout {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid #e6c9bb;
  border-left: 5px solid var(--ert-accent);
  border-radius: 20px;
  background: var(--ert-accent-soft);
  box-shadow: 0 12px 30px rgba(0, 23, 118, 0.06);
}
.ert-definition-copy {
  max-width: 950px;
}
.ert-definition-copy h2 {
  color: var(--ert-accent-deep);
}
.ert-definition-copy p + p {
  margin-top: 16px;
}

/* ========================================================= 05. Course content */
.ert-content {
  background: #eef4f9;
}
.ert-content-list,
.ert-participant-list {
  display: grid;
  gap: 10px;
  max-width: 930px;
  margin-inline: auto;
}
.ert-content-item,
.ert-participant-list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px 18px;
  border: 1px solid var(--ert-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 23, 118, 0.045);
}
.ert-content-item > span,
.ert-participant-list span {
  display: inline-flex;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ert-accent-soft);
  color: var(--ert-accent-deep);
  font-size: 0.73rem;
  font-weight: 800;
}
.ert-content-item h3,
.ert-participant-list h3 {
  margin-bottom: 3px;
  color: var(--ert-navy);
  font-size: 17px;
  line-height: 1.3;
}
.ert-content-item p,
.ert-participant-list p {
  margin-bottom: 0;
  color: var(--ert-copy);
  font-size: 14px;
  line-height: 1.6;
}

/* ========================================================= 06. Roles and responsibilities */
.ert-roles {
  background: #fff;
}
.ert-roles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.ert-roles-grid article {
  padding: 25px 22px;
  border-top: 4px solid var(--ert-accent);
  border-radius: 18px;
  background: var(--ert-navy);
  color: #fff;
  box-shadow: 0 13px 28px rgba(0, 23, 118, 0.12);
}
.ert-roles-grid strong {
  display: block;
  margin-bottom: 14px;
  color: #ecc3b0;
  font-size: 1.8rem;
  line-height: 1;
  text-align: center;
}
.ert-roles-grid h3 {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.3;
  text-align: center;
}
.ert-roles-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
  hyphens: auto;
}

/* ========================================================= 07. Benefits */
.ert-benefits {
  background: #faf7f5;
}
.ert-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.ert-benefits-grid article {
  padding: 24px 20px;
  border-top: 4px solid var(--ert-accent);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 23, 118, 0.055);
}
.ert-benefits-grid i {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--ert-accent-soft);
  color: var(--ert-accent);
}
.ert-benefits-grid h3 {
  margin-bottom: 8px;
  color: var(--ert-navy);
  font-size: 17px;
  line-height: 1.3;
  text-align: center;
}
.ert-benefits-grid p {
  margin-bottom: 0;
  color: var(--ert-copy);
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
  hyphens: auto;
}

/* ========================================================= 08. Participants */
.ert-participants {
  background: #f2f7fb;
}
.ert-participant-list article {
  align-items: center;
}
.ert-participant-list span {
  background: #edf3fa;
  color: var(--ert-navy);
}
.ert-participant-list article:nth-child(even) span {
  background: var(--ert-accent-soft);
  color: var(--ert-accent-deep);
}
.ert-participant-list h3 {
  margin-bottom: 4px;
}
.ert-participant-list p {
  font-size: 15px;
}

/* ========================================================= 09. Training details */
.ert-details {
  background: #eaf1f7;
}
.ert-details-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}
.ert-details-intro > p {
  margin-bottom: 20px;
  color: var(--ert-copy);
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
  hyphens: auto;
}
.ert-details-list {
  display: grid;
  gap: 10px;
}
.ert-details-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 17px;
  border: 1px solid var(--ert-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(0, 23, 118, 0.04);
}
.ert-details-list i {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--ert-accent-soft);
  color: var(--ert-accent);
}
.ert-details-list h3 {
  margin-bottom: 2px;
  color: var(--ert-navy);
  font-size: 17px;
  line-height: 1.3;
  text-align: left;
}
.ert-details-list p {
  margin-bottom: 0;
  color: var(--ert-copy);
  font-size: 14px;
  line-height: 1.6;
}

/* ========================================================= 10. CTA */
.ert-cta {
  background: #fcf6f2;
  text-align: center;
}
.ert-cta-layout {
  padding: clamp(28px, 5vw, 52px);
  border-radius: 22px;
  background: linear-gradient(112deg, #000e51, #001776 64%, #8e3e23);
  color: #fff;
}
.ert-cta h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.16;
}
.ert-cta p {
  max-width: 720px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 16px;
  text-align: justify;
}
.ert-button-light {
  flex: 0 0 auto;
  border-color: #fff;
  background: #fff;
  color: var(--ert-navy);
}

/* ========================================================= 11. FAQ — BFSM accordion */
.ert-faq {
  background: #f1f5f8;
}
.ert-faq-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
  margin: 40px auto 0;
}
.ert-faq-list article {
  overflow: hidden;
  border: 1px solid #dfd5ce;
  border-radius: 12px;
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.ert-faq-list article:has(.ert-faq-question.active) {
  border-color: rgba(184, 92, 56, 0.5);
  box-shadow: 0 9px 22px rgba(0, 23, 118, 0.07);
}
.ert-faq-question {
  position: relative;
  display: block;
  width: 100%;
  padding: 21px 62px 21px 20px;
  border: 0;
  background: #fff;
  color: var(--ert-ink);
  cursor: pointer;
  font:
    700 18px/1.45 Poppins,
    Arial,
    sans-serif;
  text-align: left;
}
.ert-faq-question span {
  display: none;
}
.ert-faq-question::after {
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--ert-accent);
  content: "+";
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
}
.ert-faq-question.active {
  border-bottom: 1px solid #edd4c7;
  color: var(--ert-navy);
}
.ert-faq-question.active::after {
  color: var(--ert-accent);
  content: "−";
}
.ert-faq-answer {
  padding: 18px 20px 22px;
  background: #fdf3ee;
  color: var(--ert-copy);
  font-size: 14px;
  line-height: 1.75;
  text-align: justify;
  animation: ert-faq-open 0.3s ease-out;
}
.ert-faq-answer p {
  margin: 0;
}
.ert-faq-answer p + p,
.ert-faq-answer ol {
  margin-top: 12px;
}
.ert-faq-answer a {
  color: var(--ert-accent-deep);
  font-weight: 800;
}
@keyframes ert-faq-open {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   12. Responsive configuration — HAZMAT reference sequence
   ========================================================= */

/* 12.1 Large desktop / small desktop — ≤1200px */
@media (max-width: 1200px) {
  .ert-shell {
    width: min(1400px, calc(100% - 120px));
  }
  .ert-section > .ert-shell,
  .ert-cta > .ert-shell {
    width: min(1180px, calc(100% - 120px));
  }
  .ert-hero h1 {
    max-width: 500px;
    font-size: 50px;
  }
}

/* 12.2 Overview title and image changeover — ≤1199px */
@media (max-width: 1199px) {
  .ert-overview-grid {
    display: block;
  }
  .ert-overview-grid > .ert-overview-image {
    display: none;
  }
  .ert-overview-copy {
    width: min(100%, 720px);
    max-width: 720px;
    margin-inline: auto;
  }
  .ert-overview-copy h2 {
    margin-bottom: 28px;
    color: var(--ert-navy);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    text-align: center;
  }
  .ert-overview-image-mobile {
    display: block;
    width: min(100%, 460px);
    max-width: 460px;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    justify-self: center;
  }
  .ert-overview-mobile-image-wrap {
    display: block;
    padding-top: 12px;
    margin-bottom: 26px;
  }
}

/* 12.3 Tablet — ≤991px */
@media (max-width: 991px) {
  .ert-shell {
    width: min(1400px, calc(100% - 80px));
  }
  .ert-section > .ert-shell,
  .ert-cta > .ert-shell {
    width: min(1180px, calc(100% - 80px));
  }
  .ert-hero {
    min-height: 480px;
  }
  .ert-hero-content {
    max-width: 600px;
  }
  .ert-hero h1 {
    font-size: 45px;
  }
  .ert-heading h2,
  .ert-overview-copy h2,
  .ert-definition-copy h2,
  .ert-details h2,
  .ert-cta h2 {
    font-size: 28px;
  }
  /* The overview title remains centred; its supporting text stays readable
     under the tablet image rather than inheriting the centred copy block. */
  .ert-overview-grid .ert-overview-copy {
    width: min(100%, 720px);
    max-width: 720px;
    margin-inline: auto;
  }
  .ert-overview-grid .ert-overview-copy p {
    width: 100%;
    text-align: justify;
    hyphens: auto;
  }
  .ert-hero-label {
    font-size: 11px;
  }
}

/* 12.4 Tablet layout collapse — ≤860px */
@media (max-width: 860px) {
  .ert-overview-grid,
  .ert-details-grid {
    grid-template-columns: 1fr;
  }
  .ert-overview-copy {
    max-width: none;
    margin-inline: auto;
    text-align: center;
  }
  .ert-overview-copy h2,
  .ert-definition-copy h2,
  .ert-heading h2,
  .ert-details-intro h2 {
    font-size: 28px;
    text-align: center;
  }
  .ert-overview-copy p,
  .ert-definition-copy p,
  .ert-heading p {
    max-width: 720px;
    margin-inline: auto;
    text-align: justify;
    hyphens: auto;
  }
  .ert-definition-copy {
    margin-inline: auto;
  }
  .ert-details-intro {
    text-align: center;
  }
  .ert-details-intro > p {
    max-width: 720px;
    margin-inline: auto;
  }
  .ert-cta-layout > div {
    text-align: center;
  }
  .ert-cta p {
    margin-inline: auto;
    text-align: justify;
    hyphens: auto;
  }
  .ert-overview-image,
  .ert-details-image {
    width: min(100%, 460px);
    max-width: 460px;
    margin-inline: auto;
    justify-self: center;
  }
  .ert-roles-grid,
  .ert-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ert-cta-layout {
    display: grid;
    gap: 0;
  }
  .ert-button-light {
    width: max-content;
    justify-self: center;
  }
}

/* 12.5 Tablet typography and details stack — ≤768px */
@media (max-width: 768px) {
  .ert-section,
  .ert-cta {
    padding-block: 40px;
  }
  .ert-shell {
    width: min(1400px, calc(100% - 90px));
  }
  .ert-section > .ert-shell,
  .ert-cta > .ert-shell {
    width: min(1180px, calc(100% - 90px));
  }
  .ert-hero {
    min-height: 400px;
  }
  .ert-hero-content {
    padding-block: 56px;
  }
  .ert-hero h1 {
    max-width: 370px;
    font-size: 28px;
  }
  .ert-hero-label {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .ert-heading p,
  .ert-overview-copy p,
  .ert-definition-copy p,
  .ert-faq-answer,
  .ert-content-item p,
  .ert-roles-grid p,
  .ert-benefits-grid p,
  .ert-details-list p,
  .ert-participant-list p {
    font-size: 15px;
  }
  .ert-faq-question {
    font-size: 16px;
  }
  .ert-cta p {
    font-size: 15px;
  }
  .ert-details-list article {
    display: block;
  }
  .ert-details-list i {
    display: flex;
    margin: 0 auto 10px;
  }
  .ert-details-list h3 {
    text-align: center;
  }
  .ert-heading h2,
  .ert-overview-copy h2,
  .ert-definition-copy h2,
  .ert-details h2,
  .ert-cta h2 {
    font-size: 30px;
  }
}

/* =========================================================
   13. Mobile and small-mobile responsive
   ========================================================= */

/* 13.1 Phone layout — ≤600px */
@media (max-width: 600px) {
  .ert-shell {
    width: calc(100% - 32px);
  }
  .ert-section {
    padding-block: 40px;
  }
  .ert-heading {
    margin-bottom: 26px;
  }
  .ert-heading h2,
  .ert-overview-copy h2,
  .ert-definition-copy h2,
  .ert-details h2 {
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
  }
  .ert-heading p,
  .ert-overview-copy p,
  .ert-definition-copy p,
  .ert-faq-answer {
    text-align: justify;
    hyphens: auto;
  }
  .ert-hero-content {
    padding-block: 56px;
    text-align: left;
  }
  .ert-hero {
    background-position: 68% center;
  }
  .ert-hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.55)),
      linear-gradient(90deg, rgba(184, 92, 56, 0.12), rgba(184, 92, 56, 0) 72%);
  }
  .ert-hero-label {
    margin-inline: 0;
  }
  .ert-hero h1 {
    text-align: left;
  }
  .ert-hero-copy {
    font-size: 15px;
    text-align: justify;
    hyphens: auto;
  }
  .ert-button {
    font-size: 13px;
  }
  .ert-content-item,
  .ert-participant-list article {
    display: block;
    padding: 15px;
  }
  .ert-content-item > span,
  .ert-participant-list span {
    display: flex;
    margin: 0 auto 10px;
  }
  .ert-content-item h3,
  .ert-participant-list h3 {
    text-align: center;
  }
  .ert-content-item p,
  .ert-participant-list p {
    text-align: justify;
    hyphens: auto;
  }
  .ert-roles-grid,
  .ert-benefits-grid {
    grid-template-columns: 1fr;
  }
  .ert-roles-grid article,
  .ert-benefits-grid article {
    padding: 20px 16px;
  }
  .ert-roles-grid strong {
    margin-bottom: 10px;
    font-size: 24px;
  }
  .ert-benefits-grid i {
    display: flex;
    margin-inline: auto;
  }
  .ert-benefits-grid h3 {
    text-align: center;
  }
  .ert-benefits-grid p {
    text-align: justify;
    hyphens: auto;
  }
  .ert-details-grid {
    gap: 25px;
  }
  .ert-overview-image-mobile,
  .ert-details-image {
    width: min(100%, 280px);
    max-width: 280px;
    max-height: 175px;
    margin-inline: auto;
  }
  .ert-details-list article {
    display: block;
    padding: 15px;
  }
  .ert-details-list i {
    display: flex;
    margin: 0 auto 10px;
  }
  .ert-details-list h3 {
    text-align: center;
  }
  .ert-details-list p {
    text-align: justify;
    hyphens: auto;
  }
  .ert-cta {
    padding-block: 40px;
    text-align: center;
  }
  .ert-cta-layout {
    padding: 28px 22px;
  }
  .ert-cta p {
    text-align: justify;
    hyphens: auto;
    font-size: 15px;
  }
  .ert-button-light {
    width: 100%;
  }
  .ert-faq-list {
    margin-top: 25px;
  }
  .ert-faq-list article {
    border-radius: 10px;
  }
  .ert-faq-question {
    padding: 16px 48px 16px 15px;
    font-size: 14px;
  }
  .ert-faq-question::after {
    right: 14px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
  }
  .ert-faq-answer {
    padding: 14px 15px 17px;
    font-size: 15px;
  }
}

/* 13.2 Wide-phone shell and hero alignment — 469px–600px */
@media (min-width: 469px) and (max-width: 600px) {
  .ert-section > .ert-shell,
  .ert-cta > .ert-shell {
    width: calc(100% - 32px);
  }
}

/* 13.3 Standard phone — ≤468px */
@media (max-width: 468px) {
  .ert-shell {
    width: min(1400px, calc(100% - 40px));
  }
  .ert-section > .ert-shell,
  .ert-cta > .ert-shell {
    width: min(1180px, calc(100% - 40px));
  }
  .ert-hero {
    min-height: 350px;
  }
  .ert-hero-content {
    padding-block: 44px;
    text-align: center;
    transform: translateY(20px);
  }
  .ert-hero-label {
    display: flex;
    width: fit-content;
    margin-inline: auto;
    font-size: 8px;
  }
  .ert-hero h1 {
    margin-inline: auto;
    font-size: 22px;
    text-align: center;
  }
  .ert-hero .ert-button-primary {
    width: 65%;
    margin-inline: auto;
  }
  .ert-heading h2,
  .ert-overview-copy h2,
  .ert-definition-copy h2,
  .ert-details h2,
  .ert-cta h2 {
    margin-inline: auto;
    font-size: 22px;
    text-align: center;
  }
  .ert-content-item h3,
  .ert-participant-list h3,
  .ert-roles-grid h3,
  .ert-benefits-grid h3,
  .ert-details-list h3 {
    font-size: 16px;
  }
  .ert-page p,
  .ert-faq-answer {
    font-size: 14px;
  }
}

/* 13.4 Small phone — ≤429px */
@media (max-width: 429px) {
  .ert-hero {
    min-height: 330px;
  }
  .ert-hero-content {
    padding-block: 36px;
  }
  .ert-hero h1 {
    font-size: 20px;
  }
  .ert-heading h2,
  .ert-overview-copy h2,
  .ert-definition-copy h2,
  .ert-details h2,
  .ert-cta h2 {
    font-size: 20px;
  }
  .ert-page p,
  .ert-faq-answer {
    font-size: 13px;
  }
}

/* 13.5 Narrow phone — ≤374px */
@media (max-width: 374px) {
  .ert-shell {
    width: min(1400px, calc(100% - 32px));
  }
  .ert-section > .ert-shell,
  .ert-cta > .ert-shell {
    width: min(1180px, calc(100% - 32px));
  }
  .ert-hero {
    min-height: 300px;
  }
  .ert-hero-content {
    padding-block: 32px;
  }
  .ert-hero h1,
  .ert-heading h2,
  .ert-overview-copy h2,
  .ert-definition-copy h2,
  .ert-details h2,
  .ert-cta h2 {
    font-size: 18px;
  }
  .ert-content-item h3,
  .ert-participant-list h3,
  .ert-roles-grid h3,
  .ert-benefits-grid h3,
  .ert-details-list h3 {
    font-size: 15px;
  }
  .ert-page p,
  .ert-faq-answer {
    font-size: 12px;
  }
  .ert-hero-label {
    font-size: 8px;
  }
  .ert-button {
    font-size: 12px;
  }
}

/* 14. Motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .ert-page * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
