.tmfaq {
  margin: 0 auto;
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  color: #2a1f1a;
}

.tmfaq,
.tmfaq * {
  box-sizing: border-box;
}

.tmfaq .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.tmfaq-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fffaf4;
  border: 1px solid #d8c8b8;
  border-radius: 999px;
  padding: 14px 20px;
  margin-bottom: 18px;
}

.tmfaq-search svg {
  flex-shrink: 0;
  color: #8b0000;
}

.tmfaq-search input[type="search"] {
  appearance: none;
  border: 0;
  box-shadow: none;
  background: transparent;
  outline: 0;
  width: 100%;
  min-height: 0;
  padding: 0;
  font-size: 16px;
  font-family: inherit;
  color: #2a1f1a;
}

.tmfaq-search input[type="search"]:focus {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.tmfaq-search input::placeholder {
  color: #9b897c;
}

.tmfaq-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.tmfaq .tmfaq-pill {
  appearance: none;
  width: auto;
  min-height: 0;
  border: 1px solid #c9b9aa;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 18px;
  line-height: 1.4;
  font-family: inherit;
  font-weight: 400;
  cursor: pointer;
  color: #333 !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tmfaq .tmfaq-pill:hover,
.tmfaq .tmfaq-pill.active {
  background: #8b0000;
  border-color: #8b0000;
  color: #fff !important;
}

.tmfaq .tmfaq-pill:focus-visible,
.tmfaq .tmfaq-q:focus-visible {
  outline: 3px solid rgba(139, 0, 0, 0.35);
  outline-offset: 3px;
}

.tmfaq-count {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.tmfaq-section {
  display: block;
  padding: 0 !important;
  margin-bottom: 32px;
  border: 0 !important;
  background: transparent !important;
}

.tmfaq-section-label {
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8b0000;
  font-weight: 700;
  margin: 0 0 10px;
}

.tmfaq-heading {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font: inherit;
}

.tmfaq-item {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #d8c8b8;
  background: transparent !important;
  color: inherit !important;
}

.tmfaq .tmfaq-q {
  appearance: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 20px 0 !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  background: transparent !important;
  cursor: pointer;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  font-family: inherit;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  color: #2a1f1a !important;
}

.tmfaq .tmfaq-q > span {
  color: #2a1f1a !important;
  -webkit-text-fill-color: #2a1f1a !important;
}

.tmfaq .tmfaq-q:hover {
  border: 0 !important;
  background: transparent !important;
  color: #8b0000 !important;
}

.tmfaq .tmfaq-q:hover > span,
.tmfaq .tmfaq-q:focus-visible > span {
  color: #8b0000 !important;
  -webkit-text-fill-color: #8b0000 !important;
}

.tmfaq-chevron {
  width: 20px;
  min-width: 20px;
  transition: transform 0.2s ease;
  color: #8b0000 !important;
  stroke: #8b0000 !important;
}

.tmfaq-chevron polyline {
  stroke: #8b0000 !important;
}

.tmfaq-q[aria-expanded="true"] .tmfaq-chevron {
  transform: rotate(180deg);
}

.tmfaq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.7;
  color: #4a3d36;
  transition: max-height 0.3s ease;
}

.tmfaq-a-inner {
  padding: 0 0 22px;
}

.tmfaq-a p {
  margin: 0 0 1em;
}

.tmfaq-a p:last-child {
  margin-bottom: 0;
}

.tmfaq-a strong {
  color: #2a1f1a;
  font-weight: 700;
}

.tmfaq-none {
  padding: 40px 0;
  color: #6b5c52;
}

.tmfaq [hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .tmfaq .tmfaq-pill {
    font-size: 16px;
  }

  .tmfaq .tmfaq-q {
    font-size: 17px;
    padding: 18px 0;
  }

  .tmfaq-a {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tmfaq *,
  .tmfaq *::before,
  .tmfaq *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .tmfaq-search,
  .tmfaq-pills,
  .tmfaq-chevron {
    display: none !important;
  }

  .tmfaq-a {
    max-height: none !important;
    overflow: visible;
  }
}
