.afp-homepage {
  --afp-homepage-container: 1320px;
  --afp-homepage-blue: #325aff;
  --afp-homepage-dark: #0e0e0e;
  --afp-homepage-text: #202020;
  --afp-homepage-muted: #585c6a;
  --afp-homepage-border: #e9edfd;
  --afp-homepage-light-blue: #eff6fe;
  --afp-homepage-gap: 24px;
  background: #fff;
  color: var(--afp-homepage-text);
  font-family: source-sans-pro, "Helvetica Neue", Arial, sans-serif;
}

.afp-homepage *,
.afp-homepage *::before,
.afp-homepage *::after {
  box-sizing: border-box;
}

.afp-homepage a {
  color: inherit;
  text-decoration: none;
}

.afp-homepage .field--name-field-hp-items,
.afp-homepage .field--name-field-hp-items > .field__items,
.afp-homepage .field--name-field-hp-items > .field__item,
.afp-homepage .field--name-field-hp-items > .field__items > .field__item {
  display: contents;
}

.afp-homepage__container {
  width: min(var(--afp-homepage-container), calc(100% - 48px));
  margin: 0 auto;
}

.afp-homepage__section {
  padding: 80px 0;
}

.afp-homepage__section--dark {
  background: var(--afp-homepage-dark);
  color: #fff;
}

.afp-homepage__section-head {
  max-width: 872px;
  margin-bottom: 32px;
}

.afp-homepage__section-head--center {
  max-width: 1096px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.afp-homepage__section-head h2,
.afp-homepage-social-wall__text h2,
.afp-contact__content h2 {
  margin: 0 0 12px;
  font-family: source-sans-pro, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

@media (min-width: 1024px) {
  .afp-homepage__section-head h2,
  .afp-homepage-social-wall__text h2,
  .afp-contact__content h2 {
    font-size: 40px;
    line-height: 44px;
  }
}

.afp-homepage__section-head p,
.afp-homepage-social-wall__text p,
.afp-contact__content p {
  margin: 0;
  color: var(--afp-homepage-muted);
  font-family: source-sans-pro, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
}

.afp-homepage__section--dark .afp-homepage__section-head h2 {
  color: #fff;
}

.afp-homepage__section--dark .afp-homepage__section-head p,
.afp-homepage-social-wall__text p,
.afp-contact__content p {
  color: rgba(255, 255, 255, 0.82);
}

.afp-homepage-tag {
  min-height: 30px;
  padding: 8px 12px;
  border-radius: 4px;
  background: #87ebfa;
  color: var(--afp-homepage-text);
  font-family: "Source Code Pro", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

.afp-homepage-tag--orchid {
  background: #cd73fa;
}

.afp-homepage-tag--apricot {
  background: #ffa050;
}

.afp-homepage-tag--mint {
  background: #7dfaaf;
}

.afp-homepage-tag--blue {
  background: var(--afp-homepage-blue);
  color: #fff;
}

.afp-card-grid {
  display: grid;
  gap: var(--afp-homepage-gap);
}

.afp-card-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.afp-homepage-link {
  display: inline-flex;
  align-items: center;
  color: var(--afp-homepage-blue);
  font-weight: 700;
}

.afp-homepage-link--light {
  color: #fff;
}

.afp-homepage a.afp-homepage-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  border-radius: 8px;
  padding: 16px 20px;
  font-weight: 700;
}

.afp-homepage a.afp-homepage-button--light {
  background: #fff;
  color: var(--afp-homepage-blue);
}

@media (max-width: 1023px) {
  .afp-card-grid--three {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .afp-homepage__container {
    width: min(100% - 32px, var(--afp-homepage-container));
  }

  .afp-homepage__section {
    padding: 56px 0;
  }

  .afp-card-grid--three {
    grid-template-columns: 1fr;
  }
}
