:root {
	--afrda-brown: #5f4230;
	--afrda-orange: #eb9120;
	--afrda-cream: #f9f2e1;
	--afrda-green: #3e8d3f;
	--afrda-ink: #111111;
	--afrda-white: #ffffff;
	--afrda-muted: #6f6a64;
	--afrda-line: rgba(95, 66, 48, 0.15);
	--afrda-shadow: 0 24px 70px rgba(95, 66, 48, 0.13);
}

.afrda-directory,
.afrda-directory *,
.afrda-profile,
.afrda-profile *,
.afrda-single-page,
.afrda-single-page * {
	box-sizing: border-box;
}

.afrda-directory,
.afrda-profile,
.afrda-single-page,
.afrda-archive-page {
	font-family: Montserrat, "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
	color: var(--afrda-ink);
}

.afrda-directory {
	width: min(100%, 1320px);
	margin: 32px auto;
	padding: 0 20px 56px;
	font-size: 15px;
	line-height: 1.6;
}

.afrda-directory button,
.afrda-directory input,
.afrda-directory select,
.afrda-tree-dialog button {
	font: inherit;
}

.afrda-directory a,
.afrda-profile a {
	color: inherit;
	text-decoration: none;
}

.afrda-directory__hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 42px;
	align-items: end;
	min-height: 360px;
	padding: clamp(38px, 6vw, 78px);
	overflow: hidden;
	border-radius: 34px;
	background:
		radial-gradient(circle at 84% 12%, rgba(235, 145, 32, 0.95) 0 5%, rgba(235, 145, 32, 0.12) 5.3% 19%, transparent 19.3%),
		radial-gradient(circle at 97% 110%, rgba(62, 141, 63, 0.85), transparent 42%),
		linear-gradient(135deg, #3e291e 0%, var(--afrda-brown) 55%, #78543c 100%);
	box-shadow: 0 30px 80px rgba(95, 66, 48, 0.28);
	color: var(--afrda-white);
}

.afrda-directory__hero::before,
.afrda-directory__hero::after {
	position: absolute;
	content: "";
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 50%;
	pointer-events: none;
}

.afrda-directory__hero::before {
	width: 420px;
	height: 420px;
	right: -170px;
	top: -180px;
}

.afrda-directory__hero::after {
	width: 240px;
	height: 240px;
	right: -85px;
	top: -90px;
}

.afrda-directory__hero-orbit {
	position: absolute;
	left: -55px;
	bottom: -100px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: repeating-radial-gradient(circle, transparent 0 18px, rgba(249, 242, 225, 0.07) 19px 20px);
}

.afrda-directory__hero-copy,
.afrda-directory__stats {
	position: relative;
	z-index: 1;
}

.afrda-directory__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	color: var(--afrda-orange);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.afrda-directory__eyebrow > span {
	width: 28px;
	height: 2px;
	background: currentColor;
}

.afrda-directory__hero h2 {
	max-width: 760px;
	margin: 0 0 22px;
	color: var(--afrda-white);
	font-family: inherit;
	font-size: clamp(38px, 5.8vw, 78px);
	font-weight: 760;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.afrda-directory__hero-copy > p {
	max-width: 700px;
	margin: 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: clamp(15px, 1.6vw, 18px);
	line-height: 1.75;
}

.afrda-directory__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(90px, 1fr));
	align-self: end;
	min-width: 330px;
	padding: 8px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 22px;
	background: rgba(20, 13, 9, 0.25);
	backdrop-filter: blur(12px);
}

.afrda-directory__stats div {
	padding: 16px 18px;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
	text-align: center;
}

.afrda-directory__stats div:last-child { border-right: 0; }
.afrda-directory__stats strong { display: block; color: var(--afrda-white); font-size: 26px; line-height: 1.15; }
.afrda-directory__stats span { display: block; margin-top: 5px; color: rgba(255, 255, 255, 0.62); font-size: 10px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }

.afrda-filter-shell {
	position: relative;
	z-index: 3;
	margin: -28px 30px 0;
}

.afrda-filter {
	padding: 26px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 26px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: var(--afrda-shadow);
	backdrop-filter: blur(18px);
}

.afrda-filter__heading {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	align-items: center;
	margin-bottom: 22px;
}

.afrda-filter__heading > div { display: flex; align-items: center; gap: 13px; }
.afrda-filter__heading strong { display: block; color: var(--afrda-brown); font-size: 15px; }
.afrda-filter__heading span span { display: block; margin-top: 1px; color: var(--afrda-muted); font-size: 12px; }

.afrda-filter__icon {
	display: grid !important;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--afrda-cream);
	color: var(--afrda-brown) !important;
	font-size: 23px !important;
	font-weight: 500;
}

.afrda-filter__reset {
	padding: 7px 0;
	border: 0;
	border-bottom: 1px solid var(--afrda-line);
	background: transparent;
	color: var(--afrda-muted);
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
}

.afrda-filter__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.afrda-filter__field { display: block; min-width: 0; margin: 0; }
.afrda-filter__field > span { display: block; margin: 0 0 7px 3px; color: var(--afrda-brown); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.afrda-filter__field input,
.afrda-filter__field select {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #e5ddd4;
	border-radius: 13px;
	outline: none;
	background-color: #fcfbf9;
	box-shadow: none;
	color: var(--afrda-ink);
	font-size: 13px;
	transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.afrda-filter__field input::placeholder { color: #a59c94; }
.afrda-filter__field input:focus,
.afrda-filter__field select:focus { border-color: var(--afrda-green); background: #fff; box-shadow: 0 0 0 3px rgba(62, 141, 63, 0.12); }

.afrda-filter__submit { display: flex; justify-content: flex-end; margin-top: 18px; }
.afrda-filter__submit button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 38px;
	min-width: 220px;
	min-height: 52px;
	padding: 0 19px 0 22px;
	border: 0;
	border-radius: 15px;
	background: var(--afrda-green);
	box-shadow: 0 12px 26px rgba(62, 141, 63, 0.2);
	color: #fff;
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
	transition: transform 160ms ease, background 160ms ease;
}

.afrda-filter__submit button:hover { transform: translateY(-2px); background: #347b35; }
.afrda-filter__submit button span:last-child { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); font-size: 17px; }

.afrda-category-rail {
	display: flex;
	gap: 9px;
	margin-top: 16px;
	padding: 2px 3px 8px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.afrda-category-rail button {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 0 14px;
	border: 1px solid var(--afrda-line);
	border-radius: 999px;
	background: var(--afrda-white);
	color: var(--afrda-brown);
	cursor: pointer;
	font-size: 11px;
	font-weight: 750;
	transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.afrda-category-rail button span { color: #9a8c82; font-size: 9px; }
.afrda-category-rail button:hover,
.afrda-category-rail button.is-active { border-color: var(--afrda-brown); background: var(--afrda-brown); color: #fff; }
.afrda-category-rail button.is-active span { color: rgba(255, 255, 255, 0.66); }

.afrda-directory__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 42px 6px 20px;
	scroll-margin-top: 24px;
}

.afrda-directory__count { margin: 0; color: var(--afrda-muted); font-size: 13px; }
.afrda-directory__count strong { color: var(--afrda-brown); font-size: 22px; }
.afrda-view-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--afrda-line); border-radius: 12px; background: var(--afrda-white); }
.afrda-view-toggle button { display: grid; place-items: center; width: 35px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #9c928a; cursor: pointer; }
.afrda-view-toggle button.is-active { background: var(--afrda-cream); color: var(--afrda-brown); }
.afrda-view-toggle .dashicons { width: auto; height: auto; font-size: 18px; }

.afrda-directory__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.afrda-directory__results { position: relative; min-height: 180px; transition: opacity 180ms ease; }
.afrda-directory.is-loading .afrda-directory__results { opacity: 0.38; pointer-events: none; }
.afrda-directory.is-loading .afrda-directory__results::after { position: absolute; top: 50px; left: calc(50% - 18px); width: 36px; height: 36px; border: 3px solid rgba(95, 66, 48, 0.15); border-top-color: var(--afrda-orange); border-radius: 50%; content: ""; animation: afrda-spin 700ms linear infinite; }
@keyframes afrda-spin { to { transform: rotate(360deg); } }

.afrda-tree-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.afrda-tree-card {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 100%;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--afrda-line);
	border-radius: 24px;
	background: var(--afrda-white);
	box-shadow: 0 10px 34px rgba(95, 66, 48, 0.075);
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.afrda-tree-card:hover { transform: translateY(-6px); border-color: rgba(62, 141, 63, 0.3); box-shadow: 0 25px 55px rgba(95, 66, 48, 0.15); }
.afrda-tree-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--afrda-cream); }
.afrda-tree-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2,.7,.2,1); }
.afrda-tree-card:hover .afrda-tree-card__media img { transform: scale(1.055); }
.afrda-tree-card__image-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 52%, rgba(20, 13, 9, 0.45)); }
.afrda-tree-card__primary { position: absolute; left: 15px; bottom: 14px; max-width: calc(100% - 30px); padding: 7px 11px; overflow: hidden; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(20,13,9,.5); color: #fff; backdrop-filter: blur(10px); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.afrda-tree-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.afrda-tree-card__taxonomy { display: flex; flex-wrap: wrap; gap: 7px; min-height: 18px; margin-bottom: 10px; color: var(--afrda-green); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.afrda-tree-card__taxonomy span + span::before { margin-right: 7px; color: #b7ada5; content: "•"; }
.afrda-tree-card h3 { margin: 0; color: var(--afrda-brown); font-family: inherit; font-size: clamp(19px, 2vw, 25px); font-style: italic; font-weight: 650; letter-spacing: -0.035em; line-height: 1.15; }
.afrda-tree-card h3 a:hover { color: var(--afrda-green); }
.afrda-tree-card__common { margin: 8px 0 0; color: #4f4a46; font-size: 12px; font-weight: 650; line-height: 1.5; }
.afrda-tree-card__excerpt { margin: 14px 0 0; color: var(--afrda-muted); font-size: 12px; line-height: 1.7; }
.afrda-tree-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.afrda-tree-card__tags span { padding: 5px 8px; border-radius: 7px; background: var(--afrda-cream); color: #6d5a4c; font-size: 8px; font-weight: 750; letter-spacing: .04em; }
.afrda-tree-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(95, 66, 48, 0.09); transform: translateY(15px); }
.afrda-tree-card__actions button { padding: 0; border: 0; border-bottom: 1px solid rgba(95, 66, 48, 0.28); background: transparent; color: var(--afrda-brown); cursor: pointer; font-size: 10px; font-weight: 750; }
.afrda-tree-card__actions a { display: inline-flex; align-items: center; gap: 7px; color: var(--afrda-green); font-size: 10px; font-weight: 800; }
.afrda-tree-card__actions a span { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: rgba(62, 141, 63, .1); }

.afrda-directory.is-list-view .afrda-tree-grid { grid-template-columns: 1fr; }
.afrda-directory.is-list-view .afrda-tree-card { display: grid; grid-template-columns: minmax(210px, 30%) 1fr; }
.afrda-directory.is-list-view .afrda-tree-card__media { height: 100%; min-height: 260px; aspect-ratio: auto; }
.afrda-directory.is-list-view .afrda-tree-card__body { padding: 28px; }

.afrda-empty { grid-column: 1 / -1; padding: 70px 20px; border: 1px dashed rgba(95,66,48,.22); border-radius: 24px; background: var(--afrda-cream); text-align: center; }
.afrda-empty > span { display: block; color: var(--afrda-orange); font-size: 42px; }
.afrda-empty h3 { margin: 8px 0; color: var(--afrda-brown); font-family: inherit; font-size: 22px; }
.afrda-empty p { margin: 0; color: var(--afrda-muted); }

.afrda-directory__pagination { margin-top: 34px; }
.afrda-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; }
.afrda-pagination > div { display: flex; gap: 6px; }
.afrda-pagination button { display: inline-flex; min-width: 39px; min-height: 39px; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; border: 1px solid var(--afrda-line); border-radius: 11px; background: #fff; color: var(--afrda-brown); cursor: pointer; font-size: 11px; font-weight: 750; }
.afrda-pagination button:hover:not(:disabled), .afrda-pagination button.is-current { border-color: var(--afrda-brown); background: var(--afrda-brown); color: #fff; }
.afrda-pagination button:disabled { cursor: not-allowed; opacity: .38; }

.afrda-tree-dialog {
	width: min(1060px, calc(100vw - 40px));
	max-width: 1060px;
	max-height: min(90vh, 900px);
	padding: 0;
	overflow: auto;
	border: 0;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 40px 120px rgba(20, 13, 9, .35);
}
.afrda-tree-dialog::backdrop { background: rgba(26, 18, 13, .72); backdrop-filter: blur(8px); }
.afrda-tree-dialog__close { position: sticky; z-index: 8; top: 14px; float: right; display: grid; place-items: center; width: 42px; height: 42px; margin: 14px 14px -56px 0; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(20,13,9,.55); color: #fff; cursor: pointer; font-size: 28px; line-height: 1; backdrop-filter: blur(8px); }
.afrda-dialog-open { overflow: hidden; }
.afrda-dialog-loading { display: flex; min-height: 360px; align-items: center; justify-content: center; gap: 8px; }
.afrda-dialog-loading span { width: 10px; height: 10px; border-radius: 50%; background: var(--afrda-orange); animation: afrda-pulse 900ms infinite alternate; }
.afrda-dialog-loading span:nth-child(2) { animation-delay: 180ms; }
.afrda-dialog-loading span:nth-child(3) { animation-delay: 360ms; }
@keyframes afrda-pulse { to { transform: translateY(-10px); opacity: .35; } }

.afrda-profile { color: var(--afrda-ink); }
.afrda-profile__hero { display: grid; grid-template-columns: minmax(280px, 42%) 1fr; min-height: 440px; background: var(--afrda-brown); color: #fff; }
.afrda-profile__photo { min-height: 440px; overflow: hidden; background: var(--afrda-cream); }
.afrda-profile__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.afrda-profile__intro { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 6vw, 72px); background: radial-gradient(circle at 100% 0, rgba(235,145,32,.24), transparent 38%); }
.afrda-profile__intro h1 { margin: 0; color: #fff; font-family: inherit; font-size: clamp(34px, 5vw, 64px); font-style: italic; font-weight: 650; letter-spacing: -.055em; line-height: 1.02; }
.afrda-profile__common { margin: 18px 0 0; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.7; }
.afrda-profile__facts { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 35px; }
.afrda-profile__facts span { min-width: 120px; color: #fff; font-size: 12px; font-weight: 700; }
.afrda-profile__facts small { display: block; margin-bottom: 4px; color: var(--afrda-orange); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.afrda-profile__categories { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px clamp(24px, 5vw, 62px); background: var(--afrda-cream); }
.afrda-profile__categories a { padding: 7px 11px; border: 1px solid rgba(95,66,48,.16); border-radius: 999px; background: #fff; color: var(--afrda-brown); font-size: 9px; font-weight: 800; }
.afrda-profile__vernacular { margin: 36px clamp(24px, 6vw, 78px) 0; padding: 20px 22px; border-left: 4px solid var(--afrda-orange); background: #fffaf1; }
.afrda-profile__vernacular strong { color: var(--afrda-brown); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.afrda-profile__vernacular p { margin: 6px 0 0; color: var(--afrda-muted); font-size: 13px; }
.afrda-profile__sections { padding: 36px clamp(24px, 6vw, 78px); }
.afrda-profile__sections details { border-bottom: 1px solid var(--afrda-line); }
.afrda-profile__sections summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; color: var(--afrda-brown); cursor: pointer; list-style: none; font-size: 16px; font-weight: 800; }
.afrda-profile__sections summary::-webkit-details-marker { display: none; }
.afrda-profile__sections summary span:last-child { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--afrda-cream); color: var(--afrda-orange); transition: transform 180ms ease; }
.afrda-profile__sections details[open] summary span:last-child { transform: rotate(45deg); }
.afrda-profile__prose { max-width: 850px; padding: 0 0 28px; color: #4e4945; font-family: Montserrat, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.9; }
.afrda-profile__prose p { margin: 0 0 16px; }
.afrda-profile__prose a { color: var(--afrda-green); text-decoration: underline; text-underline-offset: 3px; }
.afrda-profile__gallery { padding: 42px clamp(24px, 6vw, 78px) 62px; background: var(--afrda-cream); }
.afrda-section-heading > span { color: var(--afrda-green); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.afrda-section-heading h2 { margin: 7px 0 24px; color: var(--afrda-brown); font-family: inherit; font-size: clamp(27px, 4vw, 42px); letter-spacing: -.045em; }
.afrda-profile__gallery > div:last-child { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.afrda-profile__gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: #fff; }
.afrda-profile__gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.afrda-profile__gallery a:hover img { transform: scale(1.045); }
.afrda-profile__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px clamp(24px, 6vw, 78px); border-top: 1px solid var(--afrda-line); }
.afrda-profile__footer p { margin: 0; color: var(--afrda-muted); font-size: 10px; }
.afrda-profile__footer p a { color: var(--afrda-green); text-decoration: underline; }
.afrda-profile__full-link { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 11px; background: var(--afrda-green); color: #fff !important; font-size: 11px; font-weight: 800; }

.afrda-single-page,
.afrda-archive-page { background: #fff; }
.afrda-single-page__bar { padding: 14px 24px; background: var(--afrda-brown); color: #fff; }
.afrda-single-page__bar > div { display: flex; width: min(1180px, 100%); margin: 0 auto; align-items: center; justify-content: space-between; gap: 20px; }
.afrda-single-page__bar a { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 11px; font-weight: 800; }
.afrda-single-page__bar span:last-child { color: rgba(255,255,255,.6); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.afrda-single-page__content { width: min(1180px, calc(100% - 40px)); margin: 32px auto 72px; overflow: hidden; border: 1px solid var(--afrda-line); border-radius: 28px; box-shadow: var(--afrda-shadow); }
.afrda-related { padding: 54px clamp(20px, 5vw, 62px) 62px; border-top: 1px solid var(--afrda-line); background: #fff; }
.afrda-related .afrda-tree-grid { grid-template-columns: repeat(3, 1fr); }
.afrda-tree-card--compact .afrda-tree-card__media { aspect-ratio: 16 / 9; }

.afrda-directory button:focus-visible,
.afrda-directory a:focus-visible,
.afrda-directory input:focus-visible,
.afrda-directory select:focus-visible,
.afrda-profile a:focus-visible,
.afrda-tree-dialog button:focus-visible {
	outline: 3px solid rgba(235, 145, 32, 0.58);
	outline-offset: 3px;
}

@media (max-width: 1080px) {
	.afrda-directory__hero { grid-template-columns: 1fr; align-items: start; }
	.afrda-directory__stats { width: min(100%, 480px); min-width: 0; }
	.afrda-filter__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.afrda-tree-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	.afrda-directory { margin-top: 14px; padding-inline: 12px; }
	.afrda-directory__hero { min-height: 0; padding: 38px 24px 72px; border-radius: 24px; }
	.afrda-directory__hero h2 { font-size: clamp(38px, 12vw, 58px); }
	.afrda-directory__stats { grid-template-columns: repeat(3, 1fr); }
	.afrda-directory__stats div { padding: 12px 6px; }
	.afrda-directory__stats strong { font-size: 20px; }
	.afrda-filter-shell { margin: -42px 10px 0; }
	.afrda-filter { padding: 20px 16px; border-radius: 20px; }
	.afrda-filter__grid { grid-template-columns: 1fr; gap: 11px; }
	.afrda-filter__heading > div > div span { display: none; }
	.afrda-filter__submit button { width: 100%; min-width: 0; }
	.afrda-directory__toolbar { margin-top: 30px; }
	.afrda-tree-grid { grid-template-columns: 1fr; }
	.afrda-directory.is-list-view .afrda-tree-card { grid-template-columns: 1fr; }
	.afrda-directory.is-list-view .afrda-tree-card__media { min-height: 220px; }
	.afrda-pagination { gap: 8px; }
	.afrda-pagination > button span:not([aria-hidden="true"]) { display: none; }
	.afrda-tree-dialog { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; border-radius: 0; }
	.afrda-profile__hero { grid-template-columns: 1fr; }
	.afrda-profile__photo { min-height: 300px; max-height: 420px; }
	.afrda-profile__intro { padding: 34px 24px 38px; }
	.afrda-profile__intro h1 { font-size: clamp(34px, 11vw, 52px); }
	.afrda-profile__gallery > div:last-child { grid-template-columns: repeat(2, 1fr); }
	.afrda-profile__footer { align-items: flex-start; flex-direction: column; }
	.afrda-single-page__bar > div { align-items: flex-start; flex-direction: column; gap: 5px; }
	.afrda-single-page__content { width: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
	.afrda-related .afrda-tree-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
	.afrda-directory__stats { padding: 5px; }
	.afrda-directory__stats div { border-right: 0; }
	.afrda-directory__stats span { font-size: 8px; }
	.afrda-filter-shell { margin-inline: 4px; }
	.afrda-view-toggle { display: none; }
	.afrda-tree-card__body { padding: 19px; }
	.afrda-pagination > div button:nth-child(n+4) { display: none; }
	.afrda-profile__gallery > div:last-child { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.afrda-directory *,
	.afrda-profile * { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

