/* Secure Certification only: retain the captured imagery, wording, navigation, and footer. */
body.mfat-secure-page .mfat-secure-hero {
  min-height: 0 !important;
  padding: clamp(9.5rem, 15vw, 13rem) 0 clamp(3rem, 5vw, 4.5rem) !important;
}

body.mfat-secure-page .mfat-secure-hero .mobile-height {
  min-height: 0 !important;
}

body.mfat-secure-page .mfat-secure-hero-panel {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: clamp(1.65rem, 4vw, 3rem) 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.8), rgba(22, 119, 164, 0.7));
  box-shadow: 0 18px 48px rgba(8, 31, 61, 0.22);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

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

body.mfat-secure-page .mfat-secure-hero-panel h2:empty {
  display: none;
}

body.mfat-secure-page .mfat-secure-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.6;
  text-wrap: balance;
}

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

body.mfat-secure-page .mfat-secure-verification {
  border-block: 1px solid #e1ebef;
  background: #f3f8fa;
}

body.mfat-secure-page .grid-section-2 > .container {
  max-width: 1160px;
}

body.mfat-secure-page .grid-section-2 > .container > .row:first-child {
  display: none; /* The captured page has an empty title row in each section. */
}

body.mfat-secure-page .grid-section-2 > .container > .row:last-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  margin-inline: 0;
}

body.mfat-secure-page .grid-section-2 > .container > .row:last-child > div {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0;
}

body.mfat-secure-page .mfat-secure-story .section-title,
body.mfat-secure-page .mfat-secure-verification .mfat-secure-media {
  grid-column: 2;
  grid-row: 1;
}

body.mfat-secure-page .mfat-secure-story .mfat-secure-media,
body.mfat-secure-page .mfat-secure-verification .section-title {
  grid-column: 1;
  grid-row: 1;
}

body.mfat-secure-page .grid-section-2 .section-title h4 {
  max-width: 34rem;
  margin-bottom: 1.4rem;
  color: #173e59;
  font-size: clamp(1.8rem, 2.65vw, 2.65rem) !important;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

body.mfat-secure-page .grid-section-2 .section-title h4 strong {
  font-weight: inherit;
}

body.mfat-secure-page .grid-section-2 .section-title p {
  max-width: 35rem;
  margin: 0 0 1.05rem;
  color: #435a69;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.7;
  text-wrap: pretty;
}

body.mfat-secure-page .grid-section-2 .section-title p:last-child {
  margin-bottom: 0;
}

body.mfat-secure-page .grid-section-2 .section-title p strong,
body.mfat-secure-page .grid-section-2 .section-title p b {
  color: #173e59;
}

body.mfat-secure-page .grid-section-2 .mfat-secure-media {
  padding: clamp(1rem, 2vw, 1.75rem) !important;
  border: 1px solid #dbe8ef;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 16px 38px rgba(20, 64, 91, 0.1);
}

body.mfat-secure-page .mfat-secure-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 0.65rem;
  object-fit: contain;
}

body.mfat-secure-page .mfat-secure-verification p.mfat-secure-trust-note,
body.mfat-secure-page .mfat-secure-verification p.mfat-secure-invalid-note {
  max-width: 38rem;
  margin: 1.3rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid #0d91ad;
  border-radius: 0 0.7rem 0.7rem 0;
  background: #e7f4f7;
  overflow-wrap: anywhere;
}

body.mfat-secure-page .mfat-secure-verification p.mfat-secure-invalid-note {
  margin-bottom: 0;
  border-left-color: #b73355;
  background: #fff1f3;
}

body.mfat-secure-page .section-bottom {
  padding: clamp(4rem, 7vw, 6rem) 0 !important;
  background: linear-gradient(115deg, #173e59, #087e9f);
}

body.mfat-secure-page .section-bottom .section-background {
  opacity: 0.16;
}

body.mfat-secure-page .section-bottom .container {
  position: relative;
  z-index: 1;
}

body.mfat-secure-page .section-bottom h2 {
  color: #fff !important;
  font-size: clamp(2rem, 3.8vw, 3.25rem) !important;
  line-height: 1.16;
  text-wrap: balance;
}

body.mfat-secure-page .section-bottom h2 span {
  color: #c9f4fa;
}

body.mfat-secure-page .section-bottom .btn {
  min-height: 3.75rem;
  padding: 1rem 2.25rem;
  border-radius: 999px;
  font-size: 1.08rem;
}

body.mfat-secure-page .section-bottom .btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  body.mfat-secure-page .mfat-secure-hero {
    padding: 9.5rem 0 3rem !important;
  }

  body.mfat-secure-page .mfat-secure-hero .mobile-height {
    height: auto !important;
  }

  body.mfat-secure-page .mfat-secure-hero-panel {
    padding: 1.6rem 1.15rem;
  }

  body.mfat-secure-page .mfat-secure-hero-panel h1 {
    font-size: clamp(1.95rem, 8vw, 2.6rem) !important;
  }

  body.mfat-secure-page .grid-section-2 {
    padding: 3.5rem 0 !important;
  }

  body.mfat-secure-page .grid-section-2 > .container > .row:last-child {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }

  body.mfat-secure-page .grid-section-2 .section-title {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.mfat-secure-page .grid-section-2 .mfat-secure-media {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  body.mfat-secure-page .section-bottom {
    padding: 3.75rem 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.mfat-secure-page .section-bottom .btn {
    transition: none;
  }
}