.faq {
  padding-block: 80px 48px;
  color: var(--color-cream);
  background: var(--color-red);
}

.faq__layout {
  display: grid;
  grid-template-columns: 360px 687px;
  gap: 1px;
  width: 1048px;
  margin-inline: auto;
}

.faq__summary {
  min-width: 0;
  padding: 24px;
}

.faq__eyebrow,
.faq__title,
.faq__description,
.faq-item h3,
.faq-item__answer p {
  margin: 0;
}

.faq__eyebrow {
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}

.faq__title {
  margin-top: 21px;
  font-size: 50px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 50px;
}

.faq__description {
  margin-top: 20px;
  color: #e18b95;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

.faq__items {
  min-width: 0;
  border-left: 1px solid rgba(252, 247, 232, 0.22);
}

.faq-item {
  border-bottom: 1px solid rgba(252, 247, 232, 0.34);
}

.faq-item__button {
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px 18px 24px;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.faq-item__button > span:first-child {
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
}

.faq-item__icon {
  display: grid;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(252, 247, 232, 0.5);
  place-items: center;
  font-size: 0;
  font-weight: 400;
  line-height: 1;
  transition: background-color 180ms ease;
}

.faq-item__icon::before {
  content: "+";
  font-size: 20px;
  transition: transform 180ms ease;
}

.faq-item__button:hover .faq-item__icon,
.faq-item__button:focus-visible .faq-item__icon {
  background: rgba(252, 247, 232, 0.12);
}

.faq-item__button:focus-visible {
  outline: 2px solid var(--color-cream);
  outline-offset: -2px;
}

.faq-item__button[aria-expanded="true"] .faq-item__icon {
  background: rgba(252, 247, 232, 0.12);
}

.faq-item__button[aria-expanded="true"] .faq-item__icon::before {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 78px 24px 24px;
  color: #efb6bd;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

@media (max-width: 1100px) {
  .faq {
    padding-block: 64px 40px;
  }

  .faq__layout {
    grid-template-columns: minmax(300px, 34.4%) minmax(0, 65.6%);
    width: min(1048px, calc(100% - 32px));
  }

  .faq__title {
    font-size: clamp(42px, 4.6vw, 50px);
    line-height: 1;
  }

  .faq-item__button > span:first-child {
    font-size: clamp(19px, 2.1vw, 22px);
  }
}

@media (max-width: 820px) {
  .faq__layout {
    grid-template-columns: 1fr;
  }

  .faq__summary {
    padding-bottom: 48px;
  }

  .faq__items {
    border-top: 1px solid rgba(252, 247, 232, 0.34);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .faq {
    padding-block: 48px 32px;
  }

  .faq__summary {
    padding: 16px 0 40px;
  }

  .faq__title {
    margin-top: 14px;
    font-size: 40px;
  }

  .faq__description {
    font-size: 18px;
    line-height: 25px;
  }

  .faq-item__button {
    min-height: 78px;
    padding-inline: 0;
  }

  .faq-item__button > span:first-child {
    font-size: 19px;
    line-height: 25px;
  }

  .faq-item__answer {
    padding: 0 48px 24px 0;
  }
}
