/* Styles for the FAQ Accordion component (c8010). */

.c8010-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.c8010-item {
  background-color: #f9f9f9;
  border: 1px solid transparent;
  border-radius: 1rem;
  transition: background-color 0.2s, border-color 0.2s;
}

.c8010-item.is-open {
  background-color: #fff;
  border-color: #cecece;
}

.c8010-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.c8010-question {
  flex: 1 1 auto;
  min-width: 0;
  font-family: "FuturaNext-DemiBold", sans-serif;
  font-size: 1.125rem;
  color: #0d123d;
}

.c8010-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background-color: #e7e7e7;
  color: #0d123d;
  transition: background-color 0.2s, transform 0.2s;
}

.c8010-icon svg {
  width: 1rem;
  height: 1rem;
}

.c8010-item.is-open .c8010-icon {
  background-color: #ffcc5b;
  transform: rotate(180deg);
}

.c8010-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.c8010-panel-inner {
  padding: 0 1.5rem 1.25rem;
  font-family: "DM Sans", sans-serif;
  color: #404040;
}

@media (prefers-reduced-motion: reduce) {
  .c8010-icon,
  .c8010-panel {
    transition: none;
  }
}

@media (min-width: 1026px) {
  .c8010-question {
    font-size: 1.25rem;
  }
}
