.vh-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.faq-page {
  max-width: none;
}
.faq-page .faq-list {
  margin-top: 0;
  max-width: none;
}

.faq-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.12);
  overflow: hidden;
  margin: 0 0 28px;
}
.faq-shell-top {
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--line);
}
.faq-search-wrap {
  position: relative;
}
.faq-search-wrap > .ph,
.faq-search-wrap > i {
  position: absolute;
  inset-inline-start: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--muted, #94a3b8);
  pointer-events: none;
}
main.v3h .faq-search-wrap input.faq-full-search[type="search"] {
  display: block;
  width: 100%;
  height: 50px;
  min-height: 50px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px 0 45px;
  outline: none;
  background: var(--surface, #f8fafc);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}
html[dir="rtl"] main.v3h .faq-search-wrap input.faq-full-search[type="search"] {
  padding: 0 45px 0 16px;
}
main.v3h .faq-search-wrap input.faq-full-search[type="search"]:focus,
main.v3h .faq-search-wrap input.faq-full-search[type="search"]:focus-visible {
  border-color: #93b4ff;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.08);
  background: #fff;
  outline: none;
}
.faq-full-search::-webkit-search-decoration,
.faq-full-search::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.faq-full-filters {
  padding: 18px 22px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.faq-field label {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #94a3b8);
  margin: 0 0 7px 3px;
}
html[lang="ar"] .faq-field label {
  letter-spacing: 0.04em;
}
main.v3h .faq-field select {
  width: 100%;
  height: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: #fff;
  color: var(--ink);
  padding: 0 11px;
  padding-inline-end: 40px;
  outline: none;
}
html[dir="rtl"] main.v3h .faq-field select {
  padding-inline-start: 11px;
  padding-inline-end: 40px;
}
main.v3h .faq-field select:focus,
main.v3h .faq-field select:focus-visible {
  border-color: #93b4ff;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.08);
  outline: none;
}
main.v3h .faq-clear-btn {
  height: 44px;
  min-height: 44px;
  width: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--slate);
  font: inherit;
  font-weight: 900;
  padding: 0 14px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
}
main.v3h .faq-clear-btn:hover {
  background: var(--surface, #f8fafc);
}
main.v3h .faq-clear-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.faq-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 8px;
}
.faq-meta {
  margin: 0;
  color: var(--slate);
  font-size: 14px;
  font-weight: 800;
}

.faq-group {
  margin-top: 36px;
}
.faq-group:first-of-type {
  margin-top: 8px;
}
.faq-group h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  letter-spacing: -0.02em;
}
html[lang="ar"] .faq-group h2 {
  letter-spacing: normal;
}
.faq-item + .faq-item {
  margin-top: 0;
}
.faq-item a {
  color: var(--blue);
  font-weight: 700;
}
.faq-empty {
  margin: 24px 0 0;
  padding: 22px;
  border-radius: 16px;
  background: var(--surface-white, #fff);
  border: 1px solid var(--line);
  color: var(--slate);
}
.faq-empty[hidden],
.faq-group[hidden],
.faq-item[hidden] {
  display: none;
}
.faq-item:target,
.faq-item.is-target {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .faq-full-filters {
    grid-template-columns: 1fr 1fr;
  }
  main.v3h .faq-clear-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}
@media (max-width: 470px) {
  .faq-shell-top,
  .faq-full-filters {
    padding-inline: 16px;
  }
  .faq-full-filters {
    grid-template-columns: 1fr;
  }
}
