/* FAQ section – two columns: heading left, accordion right */

.faq_section {
  background-color: #f7f8fa;
}

.faq_section .faq_inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(40px, 5vw, 60px);
}

/* Left column – heading + optional CTA */
.faq_section .faq_left_column {
  flex: 0 0 auto;
  max-width: 45%;
}

.faq_section .faq_heading {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: #002446;
  margin: 0 0 1.5rem;
  font-family: inherit;
}

.faq_section .faq_btn_wrapper {
  margin-top: 1.5rem;
}

.faq_section .faq_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #1F3864;
  background: transparent;
  border: 2px solid #1F3864;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.faq_section .faq_btn:hover {
  background: #1F3864;
  color: #fff;
}

.faq_section .faq_arrow_icon svg {
  width: 18px;
  height: 18px;
}

/* Right column – accordion */
.faq_section .faq_right_column {
  flex: 1 1 auto;
  min-width: 0;
}

/* Equal-columns toggle (ACF: equal_columns) — swaps the inner flex layout
   for a 1fr 1fr grid so the heading column always claims half the width. */
.faq_section.equal_columns .faq_inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.faq_section.equal_columns .faq_left_column {
  max-width: none;
}

.faq_section .faq_list {
  display: flex;
  flex-direction: column;
}

.faq_section .faq_item {
  /* Single border is on .faq_question_btn only */
}

.faq_section .faq_question_btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  background: none;
  border: none;
  border-bottom: 1px solid #C9C9C9;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  gap: 16px;
  margin-bottom: 2rem;
}

.faq_section .faq_item:last-child .faq_question_btn {
  border-bottom: none;
}

.faq_section .faq_question_btn:hover {
  color: #1F3864;
}

.faq_section .faq_question_btn.is-open {
  font-weight: 600;
  color: #002446;
}

.faq_section .faq_question_text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 18px;
  color: #002446;
}

/* Arrow: right (→) when collapsed, left (←) when open */
.faq_section .faq_arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1F3864;
}

.faq_section .faq_arrow_right {
  display: block;
}

.faq_section .faq_arrow_left {
  display: none;
  transform: rotate(180deg);
}

.faq_section .faq_question_btn.is-open .faq_arrow_right {
  display: none;
}

.faq_section .faq_question_btn.is-open .faq_arrow_left {
  display: block;
}

.faq_section .faq_answer {
  padding-bottom: 1.25rem;
}

.faq_section .faq_answer_inner {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.faq_section .faq_answer_inner p {
  margin: 0 0 0.75rem;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.faq_section .faq_answer_inner p:last-child {
  margin-bottom: 0;
}

.faq_section .faq_answer_inner ul,
.faq_section .faq_answer_inner ol {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.faq_section .faq_answer_inner li {
  margin-bottom: 0.25rem;
  font-size: inherit;
  color: inherit;
}

.faq_section .faq_answer_inner a {
  color: #1F3864;
  text-decoration: underline;
}

/* First item open by default */
.faq_section .faq_item:first-child .faq_question_btn {
  padding-top: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .faq_section .faq_inner {
    flex-direction: column;
    gap: 2rem;
  }

  .faq_section.equal_columns .faq_inner {
    grid-template-columns: 1fr;
  }

  .faq_section .faq_left_column {
    max-width: 100%;
  }

  .faq_section .faq_heading {
    font-size: clamp(28px, 6vw, 40px);
  }
}

@media (max-width: 767px) {
  .faq_section .faq_question_btn {
    font-size: 15px;
    padding: 1rem 0;
  }

  .faq_section .faq_answer_inner {
    font-size: 13px;
  }
}
