.tmfaq {
  --tmfaq-accent: var(--theme-color, #2f6f68);
  --tmfaq-border: #e3e7e9;
  --tmfaq-surface: #fff;
  --tmfaq-muted: #66727a;
  width: 100%;
}

.tmfaq__intro {
  color: var(--tmfaq-muted);
  margin: 0 0 2rem;
  max-width: 52rem;
}

.tmfaq__category {
  margin-bottom: 2.75rem;
}

.tmfaq__category-header {
  margin-bottom: 1rem;
}

.tmfaq__category-title {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  margin: 0 0 .35rem;
}

.tmfaq__category-description {
  color: var(--tmfaq-muted);
}

.tmfaq__items {
  background: var(--tmfaq-surface);
  border: 1px solid var(--tmfaq-border);
  border-radius: .75rem;
  box-shadow: 0 .2rem 1rem rgba(27, 39, 45, .04);
  overflow: hidden;
}

.tmfaq__item + .tmfaq__item {
  border-top: 1px solid var(--tmfaq-border);
}

.tmfaq__question-heading {
  font-size: 1rem;
  margin: 0;
}

.tmfaq__question {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-weight: 600;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.15rem 1.3rem;
  text-align: left;
  transition: background-color .2s ease, color .2s ease;
  width: 100%;
}

.tmfaq__question:hover,
.tmfaq__question:focus-visible,
.tmfaq__question[aria-expanded="true"] {
  background: color-mix(in srgb, var(--tmfaq-accent) 7%, white);
  color: var(--tmfaq-accent);
}

.tmfaq__question:focus-visible {
  outline: 2px solid var(--tmfaq-accent);
  outline-offset: -2px;
}

.tmfaq__icon {
  flex: 0 0 1rem;
  height: 1rem;
  position: relative;
  width: 1rem;
}

.tmfaq__icon::before,
.tmfaq__icon::after {
  background: currentColor;
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}

.tmfaq__icon::before {
  height: 2px;
  width: 100%;
}

.tmfaq__icon::after {
  height: 100%;
  width: 2px;
}

.tmfaq__question[aria-expanded="true"] .tmfaq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.tmfaq__answer {
  background: #fbfcfc;
}

.tmfaq__answer-content {
  color: #3f4a50;
  padding: .25rem 1.3rem 1.35rem;
}

.tmfaq__answer-content > :last-child {
  margin-bottom: 0;
}

.tmfaq__more {
  margin-top: 1rem;
}

.tmfaq__more a {
  color: var(--tmfaq-accent);
  font-weight: 600;
}

.tmfaq__empty {
  background: #f7f8f8;
  border-radius: .5rem;
  color: var(--tmfaq-muted);
  padding: 1rem 1.25rem;
}

@media (max-width: 575px) {
  .tmfaq__question {
    padding: 1rem;
  }

  .tmfaq__answer-content {
    padding: .2rem 1rem 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tmfaq__question,
  .tmfaq__icon::before,
  .tmfaq__icon::after {
    transition: none;
  }
}
