.recipient-categories {
  position: relative;
  isolation: isolate;
  padding-top: 72px;
  padding-bottom: 88px;
}

.recipient-categories__header {
  position: relative;
  min-height: 236px;
  display: flex;
  align-items: center;
}

.recipient-categories__copy {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.recipient-categories__eyebrow {
  margin: 0 0 16px;
  color: #6d8584;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.recipient-categories__title {
  max-width: 580px;
  margin: 0;
  color: #073f37;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(44px, 4vw, 58px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .98;
}

.recipient-categories__description {
  max-width: 560px;
  margin: 18px 0 0;
  color: #76858c;
  font-size: 18px;
  line-height: 1.45;
}

.recipient-categories__decoration {
  position: absolute;
  top: -18px;
  right: -30px;
  z-index: 0;
  width: min(70%, 840px);
  height: 320px;
  object-fit: contain;
  object-position: right top;
  pointer-events: none;
}

.recipient-categories__all-link,
.recipient-categories__mobile-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #064b3f;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

.recipient-categories__all-link {
  color: #064b3f;
}

.recipient-categories__toolbar {
  display: none;
}

.recipient-categories__all-link .icon,
.recipient-categories__mobile-cta .icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.recipient-categories__all-link:hover .icon,
.recipient-categories__mobile-cta:hover .icon,
.recipient-card:hover .recipient-card__arrow .icon {
  transform: translateX(3px);
}

.recipient-categories__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.recipient-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  color: inherit;
  background: #fff;
  border: 1px solid #e9eeec;
  border-radius: 20px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.recipient-card:hover {
  transform: translateY(-3px);
  border-color: #f4c6cb;
  box-shadow: 0 10px 24px rgba(18, 62, 55, .08);
}

.recipient-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.34;
  background: #f9e7e7;
}

.recipient-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.recipient-card:hover .recipient-card__image img {
  transform: scale(1.025);
}

.recipient-card__content {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 15px;
}

.recipient-card__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.recipient-card__title {
  display: block;
  overflow: hidden;
  color: #17272c;
  font-family: var(--font-display, Georgia, serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.12;
}

.recipient-card__subtitle {
  display: -webkit-box;
  max-width: 220px;
  max-height: 2.7em;
  overflow: hidden;
  margin-top: 7px;
  color: #77858c;
  font-size: 15px;
  line-height: 1.35;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.recipient-card__arrow {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  color: #c9243c;
  background: #fff0f1;
  border-radius: 50%;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.recipient-card__arrow .icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.recipient-card:hover .recipient-card__arrow {
  color: #fff;
  background: #ef304d;
  transform: translateX(2px);
}

.recipient-categories__all-link:hover .icon,
.recipient-categories__mobile-cta:hover .icon,
.recipient-card:hover .recipient-card__arrow,
.recipient-card:hover .recipient-card__arrow .icon {
  transform: none;
}

.recipient-categories__mobile-cta {
  position: relative;
  z-index: 1;
  display: none;
}

@media (max-width: 1179px) and (min-width: 768px) {
  .recipient-categories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .recipient-categories {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .recipient-categories__header {
    min-height: 0;
    display: block;
  }

  .recipient-categories__eyebrow {
    margin-bottom: 13px;
    font-size: 11px;
    letter-spacing: .12em;
  }

  .recipient-categories__title {
    max-width: 360px;
    font-size: clamp(34px, 9vw, 40px);
    line-height: .98;
  }

  .recipient-categories__description {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.45;
  }

  .recipient-categories__desktop-break {
    display: none;
  }

  .recipient-categories__decoration {
    display: none;
  }

  .recipient-categories__toolbar {
    min-height: 0;
    justify-content: flex-start;
    margin-top: 20px;
    margin-bottom: 0;
  }

  .recipient-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
  }

  .recipient-card {
    border-radius: 16px;
  }

  .recipient-card--mobile-hidden {
    display: none;
  }

  .recipient-card__image {
    aspect-ratio: 1.08;
  }

  .recipient-card__content {
    min-height: 56px;
    align-items: flex-start;
    gap: 6px;
    padding: 11px 10px 12px;
  }

  .recipient-card__title {
    font-size: 16px;
    font-weight: 500;
  }

  .recipient-card__subtitle {
    max-width: none;
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.3;
  }

  .recipient-card__arrow {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    margin-top: 1px;
  }

  .recipient-card__arrow .icon {
    width: 16px;
    height: 16px;
  }

  .recipient-categories__mobile-cta {
    display: flex;
    width: 100%;
    min-height: 54px;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #ef304d;
    background: #fff0f1;
  }
}
