/* Base container */
.manta-dfaq { }

/* Item */
.manta-dfaq__item {
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

/* Button: override theme global button rules */
.manta-dfaq .manta-dfaq__button {
  width: 100%;
  text-align: left;
  background: transparent;
  background-color: transparent;
  border: 0;
  box-shadow: none;
  padding: 14px 0;
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  white-space: normal;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.manta-dfaq .manta-dfaq__button:hover,
.manta-dfaq .manta-dfaq__button:focus {
  text-decoration: none;
  outline: none;
  background-color: transparent;
  color: inherit;
}

/* Title */
.manta-dfaq__title {
  display: inline-block;
}

/* Icon */
.manta-dfaq__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--manta-dfaq-icon-color, currentColor);
}

.manta-dfaq__icon-wrap i {
  font-size: var(--manta-dfaq-icon-size, 18px);
}

.manta-dfaq__icon-wrap svg {
  width: var(--manta-dfaq-icon-size, 18px);
  height: var(--manta-dfaq-icon-size, 18px);
  fill: currentColor;
}

.manta-dfaq__icon-wrap svg path,
.manta-dfaq__icon-wrap svg circle,
.manta-dfaq__icon-wrap svg rect,
.manta-dfaq__icon-wrap svg line,
.manta-dfaq__icon-wrap svg polyline,
.manta-dfaq__icon-wrap svg polygon {
  fill: currentColor;
  stroke: currentColor;
}

.manta-dfaq__icon-open { display: none; }
.manta-dfaq__item.is-open .manta-dfaq__icon-open { display: inline-flex; }
.manta-dfaq__item.is-open .manta-dfaq__icon-closed { display: none; }

/* Text fallback (+ / –) */
.manta-dfaq__icon-fallback {
  font-size: var(--manta-dfaq-icon-size, 18px);
  color: var(--manta-dfaq-icon-color, currentColor);
  line-height: 1;
}
/* Panel (animated) */
.manta-dfaq__panel {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 220ms ease, opacity 220ms ease;
}

.manta-dfaq__item.is-open .manta-dfaq__panel {
  opacity: 1;
}

.manta-dfaq__panel-inner {
  padding: 0 0 14px 0;
}

/* RTL support */
.manta-dfaq.is-rtl {
  direction: rtl;
}
.manta-dfaq.is-rtl .manta-dfaq__button {
  text-align: right;
  flex-direction: row;
}
.manta-dfaq.is-rtl .manta-dfaq__panel-inner {
  text-align: right;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .manta-dfaq .manta-dfaq__button,
  .manta-dfaq__panel {
    transition: none !important;
  }
}
