/* WIMS Website Build 0017 — Week 1 Established Trust Activation
   Scope: W01-WEB-TRUST-01 and W01-WEB-CTA-01 only.
*/

.amb17-trust {
  position: relative;
  padding: clamp(3.25rem, 7vw, 5.5rem) 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(245, 201, 76, 0.18), transparent 24rem),
    radial-gradient(circle at 94% 86%, rgba(73, 181, 222, 0.16), transparent 25rem),
    var(--amb16-cream, #fcfaf5);
}

.amb17-trust-card {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.75rem);
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 0.2rem solid rgba(73, 181, 222, 0.72);
  border-radius: clamp(1.75rem, 4vw, 3rem);
  background: #fff;
  box-shadow: 0 1.5rem 3rem rgba(38, 58, 80, 0.12);
}

.amb17-trust-logo {
  display: grid;
  place-items: center;
}

.amb17-trust-logo img {
  display: block;
  width: min(100%, 15rem);
  height: auto;
  filter: drop-shadow(0 1rem 1.25rem rgba(38, 58, 80, 0.16));
}

.amb17-trust-copy {
  max-width: 52rem;
}

.amb17-trust-copy h2 {
  margin: 0 0 1rem;
  color: var(--amb16-ink, #263a50);
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.amb17-trust-copy > p:not(.amb17-trust-history) {
  margin: 0;
  color: var(--amb16-ink-soft, #52677c);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.75;
}

.amb17-trust-history {
  display: inline-flex;
  align-items: center;
  margin: 1.4rem 0 0;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  background: var(--amb16-pink-soft, #fff3f8);
  color: var(--amb16-pink, #c92d70);
  font-weight: 800;
  line-height: 1.3;
}

.amb17-trust-history::before {
  content: "★";
  margin-right: 0.55rem;
  color: var(--amb16-yellow, #f5c94c);
}

@media (max-width: 760px) {
  .amb17-trust {
    padding: 2.75rem 0;
  }

  .amb17-trust-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .amb17-trust-logo img {
    width: min(52vw, 12.5rem);
  }

  .amb17-trust-copy {
    margin-inline: auto;
  }

  .amb17-trust-history {
    justify-content: center;
  }
}
/* Accessibility correction: the higher-specificity global anchor rule inherited white text
   into the white primary CTA. Keep the approved CTA wording readable. */
body.amb16-enhanced .amb16-final-card .amb16-button-light {
  color: var(--amb16-navy);
}

/* WIMS WEEK 1 MOBILE HEADING CONTAINMENT FIX v2.0.8 */
@media (max-width: 480px) {
  .week1-trust-heading {
    box-sizing: border-box !important;
    width: min(100%, 21rem) !important;
    max-width: calc(100% - 2.5rem) !important;
    margin-inline: auto !important;
    padding-inline: 0.2rem !important;
    font-size: clamp(1.5rem, 6.15vw, 1.72rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}
