/* FAQ page search (assets/js/pages/faq.js). Colours and sizes come from the page's own palette (the --alfa-* names defined on .alfa-faq). */
.alfa-faq [hidden] { display: none !important; }
.alfa-faq-search { margin: 26px 0 6px; }
.alfa-faq-search__field { position: relative; }
.alfa-faq-search__icon { position: absolute; top: 50%; inset-inline-start: 18px; width: 20px; height: 20px; color: var(--alfa-gold-deep); translate: 0 -50%; pointer-events: none; }
.alfa-faq-search__input { width: 100%; min-height: 56px; padding-block: 12px; padding-inline: 50px 52px; border: 1px solid var(--alfa-line); border-radius: 0; color: var(--alfa-ink); background: var(--alfa-card, #fcfbf8); box-shadow: none; font: inherit; font-size: 1rem; -webkit-appearance: none; appearance: none; }
.alfa-faq-search__input::placeholder { color: var(--alfa-ink-soft); opacity: 1; }
.alfa-faq-search__input::-webkit-search-cancel-button, .alfa-faq-search__input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.alfa-faq-search__input:focus-visible { border-color: var(--alfa-gold); outline: 2px solid var(--alfa-gold-deep); outline-offset: 2px; }
.alfa-faq-search__clear { position: absolute; top: 50%; inset-inline-end: 4px; display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 0; color: var(--alfa-ink-soft); background: transparent; font-size: 1.7rem; line-height: 1; translate: 0 -50%; cursor: pointer; }
.alfa-faq-search__clear:hover { color: var(--alfa-gold-deep); }
.alfa-faq-search__clear:focus-visible { outline: 2px solid var(--alfa-gold-deep); outline-offset: -2px; }
.alfa-faq-search__count { min-height: 1.9em; margin: 10px 4px 0 !important; color: var(--alfa-ink-soft); font-size: .95rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.alfa-faq-empty { margin: 14px 0 6px; padding: 28px 22px; border: 1px dashed var(--alfa-line); border-radius: 0; background: var(--alfa-card, #fcfbf8); text-align: center; }
.alfa-faq-empty p { max-width: 46ch; margin: 0 auto 18px !important; }
.alfa-faq-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.alfa-faq-empty__wa, .alfa-faq-empty__all { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 24px; border: 1px solid transparent; border-radius: 0; font: inherit; font-size: 1rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.alfa-faq-empty__wa { color: #fff; background: var(--alfa-wa, #1b7a45); }
.alfa-faq-empty__all { color: var(--alfa-ink); background: transparent; border-color: var(--alfa-ink); }
.alfa-faq-empty__all:hover { color: #fff; background: var(--alfa-ink); }
@media (max-width: 600px) {
	.alfa-faq-empty__wa, .alfa-faq-empty__all { flex: 1 1 100%; }
}

/* The theme's rule for links inside page content (gold, underlined) beat the FAQ's own link styles: the chips, the two buttons
   in the gold band (gold text on gold) and the new empty-state button. The page's own colours are restored. */
.entry-content .alfa-faq .alfa-faq__nav a { color: var(--alfa-ink); text-decoration: none; }
.entry-content .alfa-faq .alfa-faq__nav a:hover { color: var(--alfa-gold-deep); }
.entry-content .alfa-faq a.alfa-faq__btn { text-decoration: none; }
.entry-content .alfa-faq a.alfa-faq__btn--wa { color: var(--alfa-gold-deep); }
.entry-content .alfa-faq a.alfa-faq__btn--ghost, .entry-content .alfa-faq .alfa-faq__email a { color: #fff; }
.entry-content .alfa-faq a.alfa-faq-empty__wa { color: #fff; text-decoration: none; }
/* English: an old home-page rule (ltr.css) zeroed the left padding of every FAQ question, so the text touched the card edge. */
body.alfa-lang-en .alfa-faq .alfa-faq__item summary { padding-left: 22px; padding-right: 22px; }
@media (max-width: 600px) {
	body.alfa-lang-en .alfa-faq .alfa-faq__item summary { padding-left: 16px; padding-right: 16px; }
}
