.pb-support *,
.pb-support *::before,
.pb-support *::after {
  box-sizing: border-box;
}

.pb-support__heading {
  width: min(1320px, 90%);
  margin: 0 auto 45px;
}

.pb-support__eyebrow,
.pb-support__tag {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
}

.pb-support__eyebrow {
  color: #88734d;
}

.pb-support__heading h2 {
  margin: 18px 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -2.5px;
  color: var(--pb-green);
}

.pb-support__heading p {
  max-width: 480px;
  font-size: 16px;
  line-height: 1.8;
  color: #666b65;
}

.pb-support__cards {
  display: flex;
  gap: 40px;
  width: min(1320px, 90%);
  height: clamp(420px, 43vw, 450px);
  margin: 0 auto;
}

.pb-support__card {
  position: relative;
  isolation: isolate;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 30px;
  background: #29483c var(--card-image) center / cover no-repeat;
  color: #fff;
  cursor: pointer;
  transition:
    flex-grow 800ms cubic-bezier(.22, 1, .36, 1),
    filter 600ms ease;
}

.pb-support__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35) 0%, rgb(0 0 0 / 35%) 40%, rgb(0 0 0 / 76%) 100%);
  z-index: 1;
  pointer-events: none;
}


.pb-support__card.is-active,
.pb-support__card:hover,
.pb-support__card:focus-within {
  flex-grow: 2.25;
}

.pb-support__card:hover::after,
.pb-support__card.is-active::after {
  transform: scale(1.07);
}

.pb-support__number {
  position: absolute;
  top: 25px;
  left: 25px;
  font-size: 12px;
  letter-spacing: 2px;
  color: #fff;
}

.pb-support__content {
  position: absolute;
  left: 28px;
  right: 25px;
  bottom: 30px;
  z-index: 2;
}

.pb-support__tag {
  display: block;
  margin-bottom: 16px;
  color: var(--pb-gold);
  font-size: 9px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms ease, transform 500ms ease;
}

.pb-support__content h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 2.3vw, 30px);
    line-height: 1.3;
    letter-spacing: -1px;
    overflow-wrap: normal;
    font-weight: 500;
}

.pb-support__content p {
  max-width: 410px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 14px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 450ms ease 100ms,
    transform 550ms ease 100ms;
}

.pb-support__content a {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .55);
    color: #202020;
    text-decoration: none;
    font-size: 18px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 450ms ease 150ms, transform 550ms ease 150ms;
    background-color: white;
    padding: 5px 17px;
    border-radius: 6px;
}



.pb-support__content a span {
  font-size: 17px;
  transition: transform 300ms ease;
}

.pb-support__content a:hover span {
  transform: translate(3px, -3px);
}

.pb-support__card.is-active .pb-support__tag,
.pb-support__card:hover .pb-support__tag,
.pb-support__card:focus-within .pb-support__tag,
.pb-support__card.is-active .pb-support__content p,
.pb-support__card:hover .pb-support__content p,
.pb-support__card:focus-within .pb-support__content p,
.pb-support__card.is-active .pb-support__content a,
.pb-support__card:hover .pb-support__content a,
.pb-support__card:focus-within .pb-support__content a {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .pb-support__cards:has(.pb-support__card:hover) .pb-support__card:not(:hover) {
    flex-grow: .7;
  }
}

@media (max-width: 767px) {
  .pb-support__heading {
    margin-bottom: 28px;
  }

  .pb-support__heading h2 {
    letter-spacing: -1.5px;
  }

  .pb-support__cards {
    height: auto;
    flex-direction: column;
    gap: 10px;
  }

  .pb-support__card,
  .pb-support__card.is-active,
  .pb-support__card:hover {
    flex: none;
    width: 100%;
    height: 110px;
    min-height: 110px;
    transition: height 600ms cubic-bezier(.22, 1, .36, 1);
  }

  .pb-support__card.is-active,
  .pb-support__card:focus-within {
    height: 340px;
  }

  .pb-support__card .pb-support__content {
    left: 22px;
    right: 20px;
    bottom: 20px;
  }

  .pb-support__card .pb-support__content h3 {
    font-size: 25px;
  }

  .pb-support__card .pb-support__tag,
  .pb-support__card .pb-support__content p,
  .pb-support__card .pb-support__content a {
    display: none;
  }

  .pb-support__card.is-active .pb-support__tag,
  .pb-support__card.is-active .pb-support__content p,
  .pb-support__card.is-active .pb-support__content a,
  .pb-support__card:focus-within .pb-support__tag,
  .pb-support__card:focus-within .pb-support__content p,
  .pb-support__card:focus-within .pb-support__content a {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {

  .pb-support *,
  .pb-support *::before,
  .pb-support *::after {
    transition-duration: .01ms !important;
  }
}