/**
 * Styling for the [wacd_org_roster] and [wacd_org_directory] shortcodes.
 * Loaded as a real enqueued stylesheet (not an inline <style> tag) because
 * some caching/optimization plugins (LiteSpeed Cache and similar) strip or
 * combine raw inline style blocks from shortcode output, and an earlier
 * inline version of the directory-search hidden-row rule wasn't reliably
 * making it to the page as a result.
 */
.wacd-org-title { margin-bottom: 0.5em; }
.wacd-back-to-directory { font-size: 0.9em; }
/* One horizontal row under the org title (Back to Directory | Print | ...)
   instead of a stack of separate one-off links. */
.wacd-org-menu { font-size: 0.9em; margin: 0.5em 0 1.5em; }
.wacd-org-menu-sep { color: #999; margin: 0 0.5em; }
.wacd-directory-overflow-link { font-size: 0.85em; }
.wacd-org-details p { margin: 0.25em 0; }
.wacd-role-category { margin-top: 1.5em; border-bottom: 2px solid #ccc; padding-bottom: 0.25em; }
.wacd-role-list, .wacd-role-list li, .wacd-role-entry { list-style: none !important; }
.wacd-role-entry::marker { content: '' !important; }
.wacd-role-list { margin: 0; padding: 0; }
/* The "Suggest an edit" link sits where a bullet normally would — see
   .wacd-suggest-edit below — so the entry needs room on the left for it. */
.wacd-role-entry { position: relative; margin: 0 0 1.25em 0; padding-left: 22px; line-height: 1.5; }
.wacd-person-name { font-weight: bold; }
/* Rendered as a small checkbox-style box at the marker position instead of a
   separate text line — same link/destination as before (a per-person,
   pre-filled "suggest a change" URL), just relocated so the roster reads
   less busy. The link text is kept in the markup (and announced to screen
   readers / visible on keyboard focus) but visually hidden via text-indent. */
.wacd-suggest-edit {
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 14px;
	height: 14px;
	box-sizing: border-box;
	border: 1.5px solid #888;
	border-radius: 3px;
	background: #fff;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 999px;
}
.wacd-suggest-edit:hover,
.wacd-suggest-edit:focus {
	border-color: #444;
	background: #f2f2f2;
}
.wacd-reveal { display: inline-block; margin-right: 0.75em; }
.wacd-committee-nav ul { list-style: none; margin: 0 0 1.5em; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4em 1.5em; }
.wacd-committee-nav a { font-size: 0.95em; }
.wacd-committee-group { margin-top: 1.25em; margin-bottom: 0.25em; font-size: 1.05em; color: #555; border-bottom: 1px solid #ddd; padding-bottom: 0.2em; }
.wacd-directory-group { margin-top: 1.5em; border-bottom: 2px solid #ccc; padding-bottom: 0.25em; }
.wacd-directory-list { list-style: none; margin: 0; padding: 0; }
.wacd-directory-list li { margin: 0.35em 0; }
.wacd-directory-search-wrap { margin: 0 0 1.5em; }
.wacd-directory-search { width: 100%; max-width: 420px; padding: 0.55em 0.85em; font-size: 1em; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
.wacd-directory-no-results { font-style: italic; color: #666; margin-top: 1em; }
.wacd-directory-list li.wacd-directory-person { font-size: 0.95em; }

/* Some themes set "li { display: list-item }" at higher specificity than
   the browser default "[hidden] { display: none }" rule, which silently
   defeats the hidden attribute the search filter relies on. Force it here. */
.wacd-directory-list li[hidden],
[data-wacd-group][hidden] {
	display: none !important;
}
