/* FAQ Block Styles */

.faq-block {
  padding: 3rem 0;
  max-width: 1280px;
  margin: 0 auto;
}

.faq-block__container {
  width: 90%;
  max-width: 950px;
  margin: 0 auto;
}

.faq-block__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 2rem;
}

.faq-block__title {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.32px;
  margin: 0;
  flex: 1;
}

.faq-block__pdf-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  text-decoration: none;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.faq-block__pdf-button:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.faq-block__pdf-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.faq-block__list {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.faq-block__item {
  overflow: hidden;
}

.faq-block__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  background: transparent;
  border: none;
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.32px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-block__question-text {
  flex: 1;
  margin-right: 1rem;
}

.faq-block__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.faq-block__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Plus to minus transition: when expanded, hide the vertical stroke */
.faq-block__question[aria-expanded="true"] .faq-block__plus-v {
  opacity: 0;
}

.faq-block__answer-content {
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 350;
  line-height: normal;
  padding: 0 30px 30px 30px;
}

.faq-block__answer-content p {
  margin: 0 0 1rem 0;
}

.faq-block__answer-content p:last-child {
  margin-bottom: 0;
}

/* Background Color Variations */

.faq-block--light-green {
  background: #cccdb5;
}

.faq-block--light-green .faq-block__title,
.faq-block--light-green .faq-block__question {
  color: #000;
}

.faq-block--light-green .faq-block__pdf-button {
  background: #464d3c;
  color: #fff;
}

.faq-block--light-green .faq-block__pdf-button:hover {
  background: rgba(45, 90, 45, 0.2);
}

.faq-block--light-green .faq-block__item {
  border-top: 1px solid #8f8f8f;
}

.faq-block--light-green .faq-block__item:last-child {
  border-bottom: 1px solid #8f8f8f;
}

.faq-block--light-green .faq-block__answer-content {
  color: #000;
}

.faq-block--dark-green .faq-block__title,
.faq-block--dark-green .faq-block__question {
  color: #fff;
}

.faq-block--dark-green .faq-block__pdf-button {
  background: #d05d38;
  color: #fff;
}

.faq-block--dark-green .faq-block__pdf-button:hover {
  background: #464d3c;
}

.faq-block--dark-green .faq-block__item {
  border-top: 1px solid #8f8f8f;
}

.faq-block--dark-green .faq-block__item:last-child {
  border-bottom: 1px solid #8f8f8f;
}

.faq-block--dark-green .faq-block__answer-content {
  color: #fff;
}

.faq-block--dark-green {
  background: #464d3c;
}

.faq-block--light-blue {
  background: #adb9c2;
}

.faq-block--light-blue .faq-block__title,
.faq-block--light-blue .faq-block__question {
  color: #000;
}

.faq-block--light-blue .faq-block__pdf-button {
  background: #334c5d;
  color: #fff;
}

.faq-block--light-blue .faq-block__pdf-button:hover {
  background: #334c5d;
}

.faq-block--light-blue .faq-block__item {
  border-top: 1px solid #8f8f8f;
}

.faq-block--light-blue .faq-block__item:last-child {
  border-bottom: 1px solid #8f8f8f;
}

.faq-block--light-blue .faq-block__answer-content {
  color: #000;
}

.faq-block--dark-blue {
  background: #334c5d;
}

.faq-block--dark-blue .faq-block__title,
.faq-block--dark-blue .faq-block__question {
  color: #fff;
}

.faq-block--dark-blue .faq-block__pdf-button {
  background: #d05d38;
  color: #fff;
}

.faq-block--dark-blue .faq-block__pdf-button:hover {
  background: #464d3c;
}

.faq-block--dark-blue .faq-block__item {
  border-top: 1px solid #8f8f8f;
}

.faq-block--dark-blue .faq-block__item:last-child {
  border-bottom: 1px solid #8f8f8f;
}

.faq-block--dark-blue .faq-block__answer-content {
  color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-block {
    margin: 2rem auto;
    width: 95%;
    padding: 2rem 0;
  }

  .faq-block__header {
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
  }

  .faq-block__title {
    font-size: 28px;
    letter-spacing: -0.28px;
    width: fit-content;
    flex: none;
  }

  .faq-block__pdf-button span {
    display: none;
  }

  .faq-block__question {
    padding: 1.25rem 1.5rem;
    font-size: 16px;
  }

  .faq-block__answer-content {
    padding: 0 1.5rem 1.25rem 1.5rem;
    font-size: 15px;
  }

  .faq-block__arrow {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .faq-block__container {
    width: 95%;
  }

  .faq-block__title {
    font-size: 24px;
    letter-spacing: -0.24px;
  }

  .faq-block__question {
    padding: 1rem 1.25rem;
    font-size: 15px;
  }

  .faq-block__answer-content {
    padding: 0 1.25rem 1rem 1.25rem;
    font-size: 14px;
  }

  .faq-block__pdf-button {
    padding: 10px;
    font-size: 13px;
  }

  .faq-block__pdf-icon {
    width: 18px;
    height: 18px;
  }
}
