/* =====================================================================
   [ab_faqs]: questions that fold open (WP Admin → FAQs)
   ===================================================================== */
.ab-faqs { margin: 0; }

/* Topic links at the top */
.ab-faqs .ab-faqs__topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.ab-faqs .ab-faqs__topics a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 6px 16px;
	box-sizing: border-box;
	border: 1px solid var(--ab-sage-border, #D3DBCB);
	border-radius: 999px;
	background: #fff;
	color: var(--ab-teal, #274B47);
	font-family: var(--ab-font-heading, Poppins, sans-serif);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: background-color .3s ease;
}
.ab-faqs .ab-faqs__topics a:hover { background: var(--ab-sage, #E7EDE0); }
.ab-faqs .ab-faqs__topics a:focus-visible { outline: none; box-shadow: var(--ab-focus-ring, 0 0 0 2px #C25700, 0 0 0 6px rgba(255,115,0,.2)); }

/* Each topic */
.ab-faqs .ab-faqs__group { scroll-margin-top: 110px; }
.ab-faqs .ab-faqs__topic {
	margin: 32px 0 12px;
	font-family: var(--ab-font-heading, Poppins, sans-serif);
	font-weight: 600;
	font-size: clamp(20px, 2vw, 23px);
	color: var(--ab-teal, #274B47);
}

/* Each question: a card that folds open */
.ab-faqs .ab-faq {
	margin: 0 0 7px;
	background: #fff;
	border: 1px solid var(--ab-sage-border, #D3DBCB);
	border-radius: 6px;
	scroll-margin-top: 110px;
}
.ab-faqs .ab-faq > summary {
	position: relative;
	list-style: none;
	padding: 14px 52px 14px 18px;
	font-family: var(--ab-font-heading, Poppins, sans-serif);
	font-weight: 600;
	font-size: 17px;
	line-height: 1.4;
	color: var(--ab-teal, #274B47);
	cursor: pointer;
	border-radius: 6px;
}
.ab-faqs .ab-faq > summary::-webkit-details-marker { display: none; }
.ab-faqs .ab-faq > summary::after {
	content: "+";
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 26px;
	height: 26px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--ab-sage, #E7EDE0);
	font-size: 20px;
	line-height: 1;
}
.ab-faqs .ab-faq[open] > summary::after { content: "−"; }
.ab-faqs .ab-faq > summary:hover { background: var(--ab-cream, #FBF8F2); }
.ab-faqs .ab-faq > summary:focus-visible { outline: none; box-shadow: var(--ab-focus-ring, 0 0 0 2px #C25700, 0 0 0 6px rgba(255,115,0,.2)); }

/* The answer */
.ab-faqs .ab-faq__a { padding: 2px 18px 18px; font-size: 17px; line-height: 1.6; }
.ab-faqs .ab-faq__a > :first-child { margin-top: 0; }
.ab-faqs .ab-faq__a > :last-child { margin-bottom: 0; }
.ab-faqs .ab-faq__a p { margin: 0 0 1em; }
.ab-faqs .ab-faq__a ul,
.ab-faqs .ab-faq__a ol { margin: 0 0 1em; padding-left: 1.4em; }
.ab-faqs .ab-faq__a li { margin-bottom: .3em; }
.ab-faqs .ab-faq__a a { color: var(--ab-teal, #274B47); text-underline-offset: 3px; }
.ab-faqs .ab-faq__a a:hover { color: var(--ab-orange-dark, #C25700); }

/* Search box */
.ab-faqs .ab-faqs__search { margin: 0 0 16px; }
.ab-faqs .ab-faqs__search[hidden] { display: none; }
.ab-faqs .ab-faqs__search label {
	display: block;
	margin: 0 0 6px;
	font-weight: 700;
	font-size: 16px;
}
.ab-faqs .ab-faqs__search input {
	width: 100%;
	min-height: 50px;
	box-sizing: border-box;
	padding: 10px 16px 10px 44px;
	border: 1px solid var(--ab-field-border, #C9D2C6);
	border-radius: 999px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23274B47' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 16px 50% / 18px no-repeat;
	font: inherit;
	font-size: 17px;
}
.ab-faqs .ab-faqs__search input:focus-visible { outline: none; border-color: var(--ab-orange-dark, #C25700); box-shadow: var(--ab-focus-ring, 0 0 0 2px #C25700, 0 0 0 6px rgba(255,115,0,.2)); }
.ab-faqs .ab-faqs__status { margin: 8px 0 0; font-size: 15px; color: var(--ab-muted, #4A5856); }
.ab-faqs .ab-faqs__status:empty { display: none; }
.ab-faqs .ab-faq[hidden],
.ab-faqs .ab-faqs__group[hidden] { display: none; }
.ab-faqs.is-searching .ab-faqs__topics { display: none; }
.ab-faqs mark { background: var(--ab-orange-tint, #FFE9D6); color: inherit; padding: 0 1px; border-radius: 2px; }
