/* =========================
   FAQ
   01. Section
   02. Accordion
   03. Responsive
========================= */

.faq--soft {
  background: #e6d7c3;
}

.faq-panel {
  padding: 60px 50px 60px 60px;
  
}

.faq-title {
  margin-bottom: 12px;
  text-align: center;
  color: #111;
}

.faq-subtitle {
  max-width: 600px;
  margin: 0 auto 20px;
  text-align: center;
  color: rgba(17, 17, 17, 0.7);
}

.mobile-break--faq {
  display: inline;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  width: 100%;
  padding: 20px 0;

  color: #111;
  font: inherit;
  text-align: left;
  cursor: pointer;

  background: transparent;
  border: 0;
}

.faq-qtext {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.faq-question:focus {
  outline: none;
}

.faq-question:focus-visible {
  outline: 2px solid rgba(17, 17, 17, 0.28);
  outline-offset: 6px;
  border-radius: 14px;
}

.faq-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;

  width: 34px;
  height: 34px;

  background: rgba(17, 17, 17, 0.04);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;

  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.faq-icon::before {
  content: "";
  width: 9px;
  height: 9px;

  border-right: 2px solid rgba(17, 17, 17, 0.82);
  border-bottom: 2px solid rgba(17, 17, 17, 0.82);

  transform: rotate(45deg);
}

.faq-question:hover .faq-icon {
  background: rgba(17, 17, 17, 0.06);
  border-color: rgba(17, 17, 17, 0.16);
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 30px 20px;

  color: rgba(17, 17, 17, 0.75);
  font-size: 14.5px;
  line-height: 1.75;
  text-decoration: none;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-answer p {
  margin: 0;
}

.faq-answer p + p {
  margin-top: 14px;
}

.faq-subheading {
  margin: 18px 0 6px;
  color: rgba(17, 17, 17, 0.92);
  font-weight: 700;
}

.faq-italic {
  font-style: italic;
}

.move-left {
  padding-right: 5px;
  text-align: right;
}

.faq-link {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity 200ms ease;
}

.faq-link:hover {
  opacity: 0.7;
}

.faq-contact-btn {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.faq-answer a,
.faq-link {
  color: inherit;
  text-decoration-color: rgba(17,17,17,.45);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;

  transition:
    opacity 0.2s ease,
    text-decoration-color 0.2s ease;
}

.faq-answer a:hover,
.faq-link:hover {
  opacity: 0.7;
  text-decoration-color: rgba(17,17,17,.75);
}

/* =========================
   Responsive
========================= */

@media (max-width: 1100px) {
  .faq-panel {
    padding: 48px 42px;
  }
}

@media (max-width: 900px) {
  .section-panel.faq-panel {
    padding: 38px 54px;
    border-radius: 28px;
  }

  .faq-subtitle {
    margin-bottom: 22px;
  }

  .faq-qtext {
    font-size: 20px;
  }

  .faq-answer {
    padding-right: 24px;
    padding-left: 12px;
  }

  .faq-answer p {
    font-size: 16px;
}
}

@media (max-width: 600px) {
  .faq--soft {
    padding-block: 22px;
  }

  .faq-panel {
    padding: 24px 22px;
    border-radius: 22px;
  }

  .faq-subtitle {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .faq-question {
    padding: 18px 0;
  }

  .faq-qtext {
    font-size: 18px;
  }

  .faq-icon {
    width: 30px;
    height: 30px;
  }

  .faq-answer {
    padding: 10px 0 18px;
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .mobile-break-faq {
    display: none;
  }

  .section-panel.faq-panel {
  padding: 38px 30px;
  border-radius: 28px;
  }

  .faq-qtext {
    font-size: 16px;
    line-height: 1.5;
  }

  .faq-answer p {
    font-size: 15px;
  }
}