.ec-faq {
  --ec-faq-border: #d9dde3;
  --ec-faq-bg: #ffffff;
  --ec-faq-question-bg: #f7f8fa;
  --ec-faq-question-hover: #eef1f5;
  --ec-faq-text: #222222;
  --ec-faq-accent: #333333;
  --ec-faq-radius: 8px;
  color: var(--ec-faq-text);
  width: 100%;
}

.ec-faq__list {
  display: grid;
  gap: 10px;
}

.ec-faq__item {
  border: 1px solid var(--ec-faq-border);
  border-radius: var(--ec-faq-radius);
  background: var(--ec-faq-bg);
  overflow: hidden;
}

.ec-faq__item[hidden],
.ec-faq__answer[hidden] {
  display: none !important;
}

.ec-faq__question-heading {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

.ec-faq__question {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 16px 18px;
  border: 0;
  background: var(--ec-faq-question-bg);
  color: inherit;
  font: inherit;
  font-weight: 600;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
  transition: background-color .2s ease;
}

.ec-faq__question:hover,
.ec-faq__question:focus-visible {
  background: var(--ec-faq-question-hover);
}

.ec-faq__question:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}

.ec-faq__icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.ec-faq__icon::before,
.ec-faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--ec-faq-accent);
  transform: translate(-50%, -50%);
  transition: transform .2s ease, opacity .2s ease;
}

.ec-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.ec-faq__item.is-open .ec-faq__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.ec-faq__title {
  min-width: 0;
  flex: 1 1 auto;
}

.ec-faq__answer-inner {
  padding: 18px;
  line-height: 1.8;
}

.ec-faq__answer-inner > :first-child {
  margin-top: 0;
}

.ec-faq__answer-inner > :last-child {
  margin-bottom: 0;
}

.ec-faq__more-wrap {
  margin-top: 18px;
  text-align: center;
}

.ec-faq__more {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid var(--ec-faq-accent);
  border-radius: 999px;
  background: transparent;
  color: var(--ec-faq-accent);
  font: inherit;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.ec-faq__more:hover,
.ec-faq__more:focus-visible {
  background: var(--ec-faq-accent);
  color: #ffffff;
}

.ec-faq__more:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .ec-faq__list {
    gap: 8px;
  }

  .ec-faq__question {
    gap: 11px;
    padding: 14px 14px;
    font-size: 15px;
  }

  .ec-faq__answer-inner {
    padding: 15px 14px 16px;
    font-size: 15px;
  }

  .ec-faq__more {
    width: 100%;
  }
}

/* Prevent long URLs / unbroken strings from overflowing on narrow screens. */
.ec-faq__answer,
.ec-faq__answer-inner {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  word-break: break-word;
}

.ec-faq__answer-inner p,
.ec-faq__answer-inner li,
.ec-faq__answer-inner span,
.ec-faq__answer-inner strong,
.ec-faq__answer-inner em,
.ec-faq__answer-inner a,
.ec-faq__answer-inner td,
.ec-faq__answer-inner th {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  word-break: break-word;
}

.ec-faq__answer-inner a {
  word-break: break-all;
}

.ec-faq__answer-inner pre,
.ec-faq__answer-inner code {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ec-faq__answer-inner img,
.ec-faq__answer-inner video,
.ec-faq__answer-inner iframe {
  max-width: 100%;
}
