/*
 * FAQ experiment: black panels, white frames, and focused red accents.
 * Remove this stylesheet to restore the original accordion treatment.
 */
body.index-page .local-faq .custom-accordion .accordion-item {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 0.75rem;
  background: #050505 !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.index-page .local-faq .custom-accordion .accordion-item::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  bottom: 0.7rem;
  left: 0;
  z-index: 2;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: #e12a36;
  box-shadow: 4px 0 14px rgba(225, 42, 54, 0.28);
  pointer-events: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

body.index-page .local-faq .custom-accordion .accordion-item:hover,
body.index-page .local-faq .custom-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: #d92b36 !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(217, 43, 54, 0.14);
}

body.index-page .local-faq .custom-accordion .accordion-item:hover::before,
body.index-page .local-faq .custom-accordion .accordion-item:has(.accordion-button:not(.collapsed))::before {
  transform: scaleY(1.08);
  box-shadow: 5px 0 18px rgba(225, 42, 54, 0.42);
}

body.index-page .local-faq .accordion-button,
body.index-page .local-faq .accordion-button:not(.collapsed) {
  min-height: 3.75rem;
  padding: 1rem 1.25rem 1rem 1.6rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 48%),
    #050505 !important;
  color: #fff;
  box-shadow: none;
}

body.index-page .local-faq .accordion-button:not(.collapsed) {
  color: #fff;
}

body.index-page .local-faq .accordion-button:focus {
  position: relative;
  z-index: 3;
  box-shadow: inset 0 0 0 2px rgba(225, 42, 54, 0.55);
}

body.index-page .local-faq .accordion-button::after {
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.2rem;
  border-right: 2px solid #e12a36;
  border-bottom: 2px solid #e12a36;
  background: none !important;
  filter: none;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

body.index-page .local-faq .accordion-button:not(.collapsed)::after {
  transform: rotate(-135deg);
}

body.index-page .local-faq .accordion-collapse,
body.index-page .local-faq .accordion-body {
  background: #050505 !important;
}

body.index-page .local-faq .accordion-body {
  margin: 0 1.25rem 0 1.6rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid rgba(225, 42, 54, 0.52);
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  body.index-page .local-faq .custom-accordion .accordion-item,
  body.index-page .local-faq .custom-accordion .accordion-item::before,
  body.index-page .local-faq .accordion-button::after {
    transition: none;
  }
}
