/* Frequently asked questions — accordion section */

.ent-faq {
  --ent-faq-border: #e3e8ee;
  --ent-faq-bg: #fff;
  --ent-faq-text: #0a2540;
  --ent-faq-text-soft: #425466;
  --ent-faq-brand: #635bff;
  --ent-faq-toggle-bg: #f0edff;

  background: var(--ent-faq-bg);
  color: var(--ent-faq-text);
  font-family: sohne-var, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) 0;
}


.ent-faq__container::after {
  content: "";
  display: block;
  margin-top: 64px;
  border-bottom: 1px solid var(--ent-faq-border);
}

.ent-faq__layout {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
}

@media (min-width: 940px) {
  .ent-faq__layout {
    grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.ent-faq__header {
  margin: 0;
}

.ent-faq__title {
  margin: 0;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ent-faq-text);
}

@media (min-width: 940px) {
  .ent-faq__title {
    white-space: nowrap;
  }
}

.ent-faq__subtitle {
  margin: 0.35rem 0 0;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ent-faq-text-soft);
}

.ent-faq__accordion {
  min-width: 0;
}

.ent-faq__item {
  border-top: 1px dashed var(--ent-faq-border);
}

.ent-faq__item:last-child {
  border-bottom: 1px dashed var(--ent-faq-border);
}

.ent-faq__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 0;
  cursor: pointer;
  list-style: none;
}

.ent-faq__summary::-webkit-details-marker {
  display: none;
}

.ent-faq__question {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ent-faq-text);
}

.ent-faq__toggle {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 4px;
  background: var(--ent-faq-toggle-bg);
  color: var(--ent-faq-brand);
}

.ent-faq__icon {
  display: block;
  fill: currentColor;
}

.ent-faq__icon-v,
.ent-faq__icon-h {
  transition: opacity 0.15s ease, transform 0.15s ease;
}

/* Open = minus (hide vertical bar of the plus) */
.ent-faq__item[open] .ent-faq__icon-h {
  opacity: 0;
  transform: scaleX(0);
}

.ent-faq__panel {
  padding: 0 0 1.125rem;
}

.ent-faq__answer {
  margin: 0;
  max-width: 42rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ent-faq-text-soft);
}

.ent-faq__link {
  color: var(--ent-faq-brand);
  text-decoration: none;
}

.ent-faq__link:hover {
  text-decoration: underline;
}

.ent-faq__summary:focus-visible {
  outline: 2px solid var(--ent-faq-brand);
  outline-offset: 2px;
  border-radius: 2px;
}
