.uwt-give-gateway,
.uwt-give-gateway * {
  box-sizing: border-box;
}

.uwt-give-gateway {
  padding: 32px 24px;
  overflow: hidden;
  background: #fff;
  font-family: "Nunito Sans", "Nunito", "Montserrat", Arial, sans-serif;
}

.uwt-give-gateway__grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(250px, .92fr) minmax(360px, 1.05fr) minmax(280px, .88fr);
  gap: 22px;
  align-items: stretch;
}

.uwt-give-gateway__intro {
  min-width: 0;
  padding: 64px 28px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.uwt-give-gateway__eyebrow {
  margin-bottom: 20px;
  color: #0876b8;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.uwt-give-gateway__eyebrow::before {
  content: "";
  display: inline-block;
  width: 38px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: #e9b643;
}

.uwt-give-gateway__intro h2 {
  margin: 0;
  color: #082c5e;
  font-size: clamp(44px, 5vw, 72px);
  line-height: .98;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.uwt-give-gateway__intro h2 span {
  display: block;
  color: #0f7bb5;
}

.uwt-give-gateway__intro > p {
  max-width: 34rem;
  margin: 26px 0 0;
  color: #375575;
  font-size: 18px;
  line-height: 1.65;
}

.uwt-give-gateway__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: max-content;
  max-width: 100%;
  min-height: 50px;
  margin-top: 24px;
  padding: 0 24px;
  border-radius: 13px;
  background: #fff;
  color: #082c5e !important;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(1, 29, 67, .13);
  transition: transform .22s ease, box-shadow .22s ease;
}

.uwt-give-gateway__button:hover,
.uwt-give-gateway__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(1, 29, 67, .2);
}

.uwt-give-gateway__button--blue {
  background: #082c5e;
  color: #fff !important;
}

.uwt-give-gateway__card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 300px;
  overflow: hidden;
  border-radius: 30px;
  background-color: #123e73;
  background-image: var(--uwt-card-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  box-shadow: 0 20px 46px rgba(8, 44, 94, .13);
}

/* Keep photography vivid while reserving a darker reading zone behind the copy. */
.uwt-give-gateway__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 29, 62, .03) 0%, rgba(4, 29, 62, .10) 38%, rgba(4, 29, 62, .72) 78%, rgba(4, 29, 62, .88) 100%),
    linear-gradient(90deg, rgba(4, 29, 62, .18), transparent 58%);
  pointer-events: none;
}

.uwt-give-gateway__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: inherit;
  box-shadow: inset 0 0 42px rgba(3, 27, 58, .08);
  pointer-events: none;
}

.uwt-give-gateway__card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.uwt-give-gateway__card--main {
  min-height: 620px;
}

.uwt-give-gateway__card--main .uwt-give-gateway__card-content {
  padding: 38px;
}

.uwt-give-gateway__label {
  width: max-content;
  max-width: 100%;
  margin-bottom: 15px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  color: #082c5e;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(2, 27, 59, .14);
}

.uwt-give-gateway__card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.02;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.uwt-give-gateway__card h3,
.uwt-give-gateway__card p {
  text-shadow: 0 2px 14px rgba(1, 20, 45, .72);
}

.uwt-give-gateway__card p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .96);
  font-size: 16px;
  line-height: 1.55;
}

.uwt-give-gateway__stack {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(300px, 1fr) minmax(330px, 1.12fr);
  gap: 22px;
}

.uwt-give-gateway__card--top h3 {
  font-size: clamp(31px, 2.45vw, 38px);
}

.uwt-give-gateway__card--top .uwt-give-gateway__card-content {
  padding: 30px;
}

.uwt-give-gateway__card--bottom {
  min-height: 330px;
}

.uwt-give-gateway__card--bottom h3 {
  font-size: clamp(31px, 2.45vw, 38px);
}

.uwt-give-gateway__card--bottom .uwt-give-gateway__card-content {
  padding: 30px;
}

@media (max-width: 1180px) {
  .uwt-give-gateway__grid {
    grid-template-columns: minmax(230px, .8fr) minmax(330px, 1fr) minmax(260px, .82fr);
    gap: 18px;
  }

  .uwt-give-gateway__intro {
    padding-right: 12px;
  }

  .uwt-give-gateway__card-content,
  .uwt-give-gateway__card--main .uwt-give-gateway__card-content {
    padding: 28px;
  }
}

@media (max-width: 980px) {
  .uwt-give-gateway {
    padding: 28px 20px;
  }

  .uwt-give-gateway__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uwt-give-gateway__intro {
    grid-column: 1 / -1;
    padding: 24px 0 10px;
  }

  .uwt-give-gateway__intro h2 {
    max-width: 11ch;
  }

  .uwt-give-gateway__card--main {
    min-height: 560px;
  }
}

@media (max-width: 760px) {
  .uwt-give-gateway__grid {
    grid-template-columns: 1fr;
  }

  .uwt-give-gateway__intro {
    grid-column: auto;
  }

  .uwt-give-gateway__intro h2 {
    max-width: none;
    font-size: clamp(44px, 12vw, 60px);
  }

  .uwt-give-gateway__card--main {
    min-height: clamp(460px, 115vw, 620px);
  }

  .uwt-give-gateway__stack {
    grid-template-rows: auto;
  }

  .uwt-give-gateway__card--top {
    min-height: 390px;
  }

  .uwt-give-gateway__card--bottom {
    min-height: 390px;
  }
}

@media (max-width: 480px) {
  .uwt-give-gateway {
    padding: 20px 14px;
  }

  .uwt-give-gateway__grid {
    gap: 16px;
  }

  .uwt-give-gateway__intro {
    padding: 12px 6px 20px;
  }

  .uwt-give-gateway__eyebrow {
    font-size: 12px;
  }

  .uwt-give-gateway__intro h2 {
    font-size: clamp(40px, 13vw, 52px);
  }

  .uwt-give-gateway__intro > p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
  }

  .uwt-give-gateway__button,
  .uwt-give-gateway__button--blue {
    width: 100%;
  }

  .uwt-give-gateway__card,
  .uwt-give-gateway__trust {
    border-radius: 22px;
  }

  .uwt-give-gateway__card-content,
  .uwt-give-gateway__card--main .uwt-give-gateway__card-content,
  .uwt-give-gateway__card--top .uwt-give-gateway__card-content {
    padding: 24px;
  }

  .uwt-give-gateway__card--main {
    min-height: 480px;
  }

  .uwt-give-gateway__card--top {
    min-height: 350px;
  }

  .uwt-give-gateway__trust {
    min-height: 340px;
    padding: 26px 22px;
  }

  .uwt-give-gateway__stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uwt-give-gateway__button {
    transition: none;
  }
}


/* v1.2.30: clickable Give Gateway titles */
.uwt-give-gateway__title-link { color: inherit !important; text-decoration: none !important; }
.uwt-give-gateway__title-link:hover, .uwt-give-gateway__title-link:focus-visible { color: #fff !important; text-decoration: none !important; }
