

/* Shared FAQ accordion styling (used by PMS landing + portfolio pages)
   Markup uses FontAwesome icons:
   <span class="minus-risk"><i class="fas fa-minus"></i></span>
   <span class="plus-risk"><i class="fas fa-plus"></i></span>
*/

.faq_section {
  padding: 72px 140px 80px;
}

.faq_section .card {
  margin-bottom: 16px;
  border: 0;
  border-radius: 16px;
  background: #fff;
}

.faq_section .card-header {
  background: #fff;
  border: 0;
  border-radius: 16px;
  padding: 20px 24px;
}

.faq_section .card-header[aria-expanded="true"] .btn-link,
.faq_section .card-header[aria-expanded=true] .btn-link {
  font-weight: 600;
}

.faq_section .btn-link {
  padding: 0;
  color: var(--Grey-900, #101828);
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration: none !important;
  display: block;
  width: 100%;
  text-align: left;
}

.faq_section .btn-link:hover {
  text-decoration: none !important;
}

.faq_section .card-body {
  padding: 0px 24px 24px;
}

.faq_section .card-body p,
.faq_section .card-body li {
  color: var(--Grey-700, #344054);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 25.6px;
}

.faq_section .accordion-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* Plus / minus pills */
.faq_section .plus-risk,
.faq_section .minus-risk {
  width: 44px;
  height: 44px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* Default: show PLUS only */
.faq_section .minus-risk {
  display: none;
}

.faq_section .plus-risk {
  background: var(--Pink-light, #FFEBFC);
}

.faq_section .plus-risk i,
.faq_section .minus-risk i {
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
}

.faq_section .plus-risk i {
  color: var(--pink_dark, #d19bc9);
}

.faq_section .card-header[aria-expanded=true] .minus-risk {
  display: flex;
  background: var(--Grey-700, #344054);
}

.faq_section .card-header[aria-expanded=true] .minus-risk i {
  color: #fff;
}

.faq_section .card-header[aria-expanded=true] .plus-risk {
  display: none;
}

.faq_section .card-header[aria-expanded=false] .plus-risk {
  display: flex;
}

/* Mobile sizing */
@media (max-width: 767px) {
  .faq_section {
    padding: 40px 20px;
  }

  .faq_section .btn-link {
    font-size: 16px;
  }
}

/* ------------------------------------------------------------------
   PMS pages: FAQ should be dark to match PMS theme.
   We scope this using the same header hook used in `pms-header.css`.
------------------------------------------------------------------- */
body:has(#newHeader.pms-header) .faq_section {
  /* PMS pages: section background should be dark (matches PMS theme) */
  background: var(--Grey-900, #101828);
}

body:has(#newHeader.pms-header) .faq_section .faq-heading {
  color: var(--Grey-50, #F9FAFB);
}

body:has(#newHeader.pms-header) .faq_section .card {
  background: var(--Grey-800, #1D2939);
  border: 1px solid var(--Grey-700, #344054);
}

body:has(#newHeader.pms-header) .faq_section .card-header {
  background: transparent;
}

body:has(#newHeader.pms-header) .faq_section .btn-link {
  color: var(--Grey-50, #F9FAFB);
}

body:has(#newHeader.pms-header) .faq_section .card-body p,
body:has(#newHeader.pms-header) .faq_section .card-body li {
  color: var(--Grey-300, #D0D5DD);
}

/* PMS pages: "+" pill should be TEAL (not pink) */
body:has(#newHeader.pms-header) .faq_section .plus-risk {
  background: var(--teal_light, var(--teal-light, #E5FFFB));
}

body:has(#newHeader.pms-header) .faq_section .plus-risk i {
  color: var(--teal_dark, var(--teal-dark, #579888));
}
