/* FAQ Section */

.faq {
  padding: 64px 0;
}

.faq__tabs {
  margin-bottom: 0;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Item */


.faq__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px 12px;
  cursor: pointer;
  text-align: left;
  border: 1px solid #D9DDDE;
  background: #fff;
}

.faq__toggle span {
font-weight: 600;
font-size: 16px;
line-height: 120%;
letter-spacing: 0px;
text-align: left;
text-transform: uppercase;

}

.faq__chevron {
  flex-shrink: 0;
  color: var(--color-red);
  transition: transform 0.25s ease;
}

/* Open state */

.faq__item.open .faq__chevron {
  transform: rotate(180deg);
}

.faq__item.open {
  background-color: #f7f7f7;
}

.faq__item.open .faq__toggle {
  background: #D9DDDE;
  border: 1px solid #FFFFFF
}

.faq__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  background: #FFFFFF;
}

.faq__content-inner {
  overflow: hidden;
  font-size: 14px;
  line-height: 160%;
  color: var(--color-text);
  padding: 0px 12px 0px;
  transition: padding 0.35s ease;
}

.faq__item.open .faq__content {
  grid-template-rows: 1fr;
  border: 1px solid #D9DDDE;
  border-top: none;
  
}

.faq__item.open .faq__content-inner {
  padding: 8px 12px 12px;
}

/* Content typography */

.faq__content-inner * {
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0px;
}

.faq__content-inner p {
  margin-bottom: 12px;
}

.faq__content-inner p:last-child {
  margin-bottom: 0;
}

.faq__content-inner ul,
.faq__content-inner ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.faq__content-inner ul {
  list-style: disc;
}

.faq__content-inner ol {
  list-style: decimal;
}

.faq__content-inner li {
  margin-bottom: 6px;
  line-height: 160%;
}

.faq__content-inner strong {
  font-weight: 600;
}

/* Tablet — 1080px */
@media (max-width: 1080px) {
  .faq__toggle span {
    font-size: 14px;
  }
}

/* Mobile — 768px */
@media (max-width: 768px) {
  .faq {
    padding: 56px 0;
  }

  .faq__toggle span {
    font-size: 12px;
  }

  .faq__content-inner * {
    font-size: 13px;
  }
}
