/* FAQ accordion — plain text, no cards, inherits page font */
.dfaq-section {
  margin: 2rem 0;
}

.dfaq-title {
  /* intentionally unstyled — inherits page heading style */
}

.dfaq-list {
  margin: 0;
  padding: 0;
}

.dfaq-item {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e0e0e0;
}
.dfaq-item:first-child {
  border-top: 1px solid #e0e0e0;
}

.dfaq-question {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  background: none;
  border: none;
  padding: 0.85em 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  outline: none;
}
.dfaq-question:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 2px;
}
.dfaq-question[aria-expanded="true"] {
  font-weight: bold;
}
.dfaq-question[aria-expanded="true"] .dfaq-icon {
  transform: rotate(45deg);
}

.dfaq-icon {
  flex-shrink: 0;
  margin-left: 0.75em;
  font-size: 1.3em;
  font-weight: 300;
  line-height: 1;
  opacity: 0.75;
  transition: transform 0.15s ease;
}

.dfaq-tags {
  margin-left: 0.5em;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  vertical-align: middle;
}
.dfaq-tag {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 10px;
  color: #fff;
  font-size: 0.72em;
  background: #007cba;
  text-shadow: 0 1px 1px rgba(0,0,0,0.12);
  vertical-align: middle;
}

.dfaq-answer {
  padding: 0.2em 0 0.8em 0;
  font: inherit;
  color: inherit;
  line-height: inherit;
}
.dfaq-answer[hidden] {
  display: none;
}

.dfaq-updated {
  font-size: 0.8em;
  opacity: 0.45;
  margin-top: 1rem;
}

.dfaq-search-bar { margin-bottom: 0.8rem; }
.dfaq-search-input {
  padding: 0.35em 0.65em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
  font-size: 0.9em;
  width: 100%;
  max-width: 280px;
}

.dfaq-tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 0.8rem;
}
.dfaq-tag-filter-btn {
  background: none;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 1px 10px;
  font: inherit;
  font-size: 0.82em;
  cursor: pointer;
  color: inherit;
  transition: background 0.15s, color 0.15s;
}
.dfaq-tag-filter-btn.active,
.dfaq-tag-filter-btn:hover,
.dfaq-tag-filter-btn:focus {
  background: #555;
  color: #fff;
  border-color: #555;
  outline: none;
}

.dfaq-page-group-title {
  font: inherit;
  font-weight: 600;
  margin: 1.5rem 0 0.4rem;
  opacity: 0.7;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dfaq-skip-link {
  position: absolute;
  left: -999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.dfaq-skip-link:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  padding: 4px 12px;
  background: #000;
  color: #fff;
  z-index: 100;
  border-radius: 0 0 4px 0;
}
