.bvd-directory,
.bvd-single {
	--bvd-navy: #102f5d;
	--bvd-teal: #168a8d;
	--bvd-coral: #ff6f61;
	--bvd-lilac: #7f63e8;
	--bvd-text: #26354a;
	--bvd-muted: #627083;
	--bvd-surface: #fffefd;
	--bvd-border: #e4eaf0;
	color: var(--bvd-text);
	font-family: inherit;
	line-height: 1.6;
	box-sizing: border-box;
}

.bvd-directory *,
.bvd-directory *::before,
.bvd-directory *::after,
.bvd-single *,
.bvd-single *::before,
.bvd-single *::after {
	box-sizing: inherit;
}

.bvd-directory {
	position: relative;
	isolation: isolate;
	margin: 0;
	padding: clamp(42px, 6vw, 82px) 20px;
	overflow: hidden;
	background:
		radial-gradient(circle at 6% 11%, rgba(47, 142, 210, .11) 0 2px, transparent 3px) 0 0 / 18px 18px,
		linear-gradient(180deg, #fbfdff 0%, #fff 34%, #fffdfa 100%);
}

.bvd-directory::before,
.bvd-directory::after {
	position: absolute;
	z-index: -1;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	content: "";
	filter: blur(3px);
}

.bvd-directory::before {
	top: 90px;
	left: -220px;
	background: radial-gradient(circle, rgba(36, 144, 176, .13), transparent 69%);
}

.bvd-directory::after {
	top: 120px;
	right: -230px;
	background: radial-gradient(circle, rgba(127, 99, 232, .12), transparent 69%);
}

.bvd-directory__inner,
.bvd-single__inner {
	width: min(1180px, 100%);
	margin: 0 auto;
}

.bvd-hero {
	max-width: 850px;
	margin: 0 auto clamp(34px, 5vw, 56px);
	text-align: center;
}

.bvd-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	padding: 7px 16px;
	border: 1px solid #dfd3ff;
	border-radius: 999px;
	background: #f3edff;
	color: #7044cd;
	font-size: 14px;
	font-weight: 700;
}

.bvd-hero__badge span {
	color: var(--bvd-coral);
}

.bvd-hero__title {
	margin: 0;
	color: var(--bvd-navy);
	font-size: clamp(36px, 5vw, 62px);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.15;
}

.bvd-hero__subtitle {
	margin: 14px auto 0;
	color: #5b6471;
	font-size: clamp(17px, 2vw, 22px);
}

.bvd-hero__line {
	display: block;
	width: 68px;
	height: 4px;
	margin: 18px auto 0;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--bvd-coral), #ff9a62);
}

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

.bvd-card {
	--bvd-card-accent: #ff7568;
	--bvd-card-soft: #fff0ec;
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 330px;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--bvd-card-accent) 24%, var(--bvd-border));
	border-radius: 19px;
	background: rgba(255, 255, 255, .98);
	box-shadow: 0 10px 28px rgba(28, 55, 90, .09);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.bvd-card:hover,
.bvd-card:focus-within {
	transform: translateY(-5px);
	border-color: var(--bvd-card-accent);
	box-shadow: 0 18px 38px rgba(28, 55, 90, .15);
}

.bvd-card--accent-1 { --bvd-card-accent: #ff7063; --bvd-card-soft: #fff0ec; }
.bvd-card--accent-2 { --bvd-card-accent: #f4a340; --bvd-card-soft: #fff6df; }
.bvd-card--accent-3 { --bvd-card-accent: #e95686; --bvd-card-soft: #fff0f5; }
.bvd-card--accent-4 { --bvd-card-accent: #4d90e8; --bvd-card-soft: #edf5ff; }
.bvd-card--accent-5 { --bvd-card-accent: #29a7a6; --bvd-card-soft: #eafafa; }
.bvd-card--accent-6 { --bvd-card-accent: #7f63e8; --bvd-card-soft: #f2efff; }

.bvd-card__science {
	display: flex;
	height: 78px;
	flex: 0 0 78px;
	align-items: center;
	justify-content: flex-end;
	gap: 24px;
	padding: 0 22px 0 150px;
	overflow: hidden;
	background:
		linear-gradient(115deg, color-mix(in srgb, var(--bvd-card-accent) 82%, white), var(--bvd-card-accent));
	color: rgba(255, 255, 255, .55);
	font-size: 26px;
}

.bvd-card__science span:nth-child(2) { font-size: 20px; transform: rotate(25deg); }
.bvd-card__science span:nth-child(3) { font-size: 30px; }
.bvd-card__science span:nth-child(4) { font-size: 21px; }

.bvd-card__photo-link {
	position: absolute;
	z-index: 2;
	top: 22px;
	left: 22px;
	display: block;
	width: 118px;
	height: 118px;
	padding: 5px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 7px 18px color-mix(in srgb, var(--bvd-card-accent) 26%, transparent);
}

.bvd-card__photo,
.bvd-card__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	border: 3px solid color-mix(in srgb, var(--bvd-card-accent) 72%, white);
	border-radius: 50%;
	object-fit: cover;
}

.bvd-card__placeholder {
	background: linear-gradient(145deg, var(--bvd-card-soft), #fff);
	color: var(--bvd-card-accent);
	font-size: 42px;
	font-weight: 800;
}

.bvd-card__content {
	display: flex;
	height: 100%;
	flex: 1;
	flex-direction: column;
	padding: 15px 21px 19px;
}

.bvd-card__name,
.bvd-card__designation {
	margin-left: 139px;
}

.bvd-card__name {
	margin-top: 9px;
	margin-bottom: 0;
	font-size: clamp(23px, 2vw, 29px);
	font-weight: 800;
	line-height: 1.2;
}

.bvd-card__name a {
	color: #15243a;
	text-decoration: none;
}

.bvd-card__name a:hover,
.bvd-card__name a:focus {
	color: var(--bvd-card-accent);
}

.bvd-card__designation {
	min-height: 26px;
	margin-top: 4px;
	margin-bottom: 0;
	color: #4f5b6d;
	font-size: 14px;
}

.bvd-card__footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 26px;
}

.bvd-socials {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
}

.bvd-socials__link {
	display: grid;
	width: 29px;
	height: 29px;
	place-items: center;
	border: 1px solid color-mix(in srgb, var(--bvd-card-accent) 55%, white);
	border-radius: 50%;
	background: #fff;
	color: var(--bvd-card-accent);
	text-decoration: none;
	transition: transform 160ms ease, color 160ms ease, background 160ms ease;
}

.bvd-socials__link:hover,
.bvd-socials__link:focus-visible {
	transform: translateY(-2px);
	background: var(--bvd-card-accent);
	color: #fff;
}

.bvd-socials__link svg,
.bvd-socials__link img {
	width: 15px;
	height: 15px;
	object-fit: contain;
}

.bvd-card__button {
	display: inline-flex;
	min-height: 36px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 6px 12px;
	border: 1px solid var(--bvd-card-accent);
	border-radius: 8px;
	color: var(--bvd-card-accent);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	white-space: nowrap;
}

.bvd-card__button:hover,
.bvd-card__button:focus-visible {
	background: var(--bvd-card-accent);
	color: #fff;
}

.bvd-empty {
	padding: 28px;
	border: 1px dashed var(--bvd-border);
	border-radius: 16px;
	background: #fff;
	text-align: center;
}

.bvd-thanks {
	display: grid;
	grid-template-columns: 150px 1fr;
	align-items: center;
	gap: 25px;
	margin-top: 38px;
	padding: 26px 38px;
	overflow: hidden;
	border: 1px solid #f0ded5;
	border-radius: 20px;
	background:
		radial-gradient(circle at 92% 22%, rgba(255, 111, 97, .12) 0 3px, transparent 4px) 0 0 / 19px 19px,
		linear-gradient(105deg, #fff7f0, #fffefd 55%, #f8fbff);
	box-shadow: 0 10px 28px rgba(56, 61, 77, .07);
}

.bvd-thanks__mark {
	position: relative;
	display: grid;
	width: 112px;
	height: 112px;
	place-items: center;
	margin: 0 auto;
	border: 2px dashed rgba(22, 138, 141, .42);
	border-radius: 50%;
	color: var(--bvd-coral);
	font-size: 51px;
}

.bvd-thanks__mark span:last-child {
	position: absolute;
	top: 5px;
	right: 5px;
	color: var(--bvd-teal);
	font-size: 31px;
}

.bvd-thanks h3 {
	margin: 0;
	color: var(--bvd-navy);
	font-size: clamp(25px, 3vw, 38px);
	line-height: 1.3;
}

.bvd-thanks p {
	margin: 7px 0 0;
	color: #5e6672;
	font-size: 17px;
}

/* Individual volunteer profile. */
.bvd-single {
	padding: clamp(42px, 6vw, 78px) 20px;
	background: linear-gradient(180deg, #f8fbff, #fff 34%);
}

.bvd-single__back {
	display: inline-flex;
	margin-bottom: 22px;
	color: var(--bvd-teal);
	font-weight: 700;
	text-decoration: none;
}

.bvd-single__hero {
	display: grid;
	grid-template-columns: minmax(220px, 340px) 1fr;
	gap: clamp(28px, 5vw, 65px);
	align-items: center;
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid var(--bvd-border);
	border-radius: 25px;
	background: #fff;
	box-shadow: 0 18px 45px rgba(28, 55, 90, .1);
}

.bvd-single__photo,
.bvd-single__placeholder {
	display: grid;
	width: 100%;
	aspect-ratio: 1;
	place-items: center;
	border: 8px solid #fff;
	border-radius: 50%;
	background: #eff8f9;
	box-shadow: 0 0 0 3px var(--bvd-teal), 0 12px 35px rgba(28, 55, 90, .16);
	object-fit: cover;
}

.bvd-single__placeholder {
	color: var(--bvd-teal);
	font-size: 80px;
	font-weight: 800;
}

.bvd-single__badge {
	display: inline-flex;
	gap: 7px;
	padding: 5px 12px;
	border: 1px solid #ffb3aa;
	border-radius: 999px;
	color: var(--bvd-coral);
	font-size: 12px;
	font-weight: 800;
}

.bvd-single__title {
	margin: 13px 0 0;
	color: var(--bvd-navy);
	font-size: clamp(36px, 5vw, 58px);
	line-height: 1.15;
}

.bvd-single__designation {
	margin: 8px 0 0;
	color: #536071;
	font-size: 20px;
}

.bvd-single__intro .bvd-socials {
	margin-top: 22px;
}

.bvd-single__intro .bvd-socials__link {
	width: 38px;
	height: 38px;
	border-color: #b9dddd;
	color: var(--bvd-teal);
}

.bvd-single__content {
	margin-top: 34px;
	padding: clamp(25px, 4vw, 48px);
	border: 1px solid var(--bvd-border);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(28, 55, 90, .07);
	font-size: 18px;
}

.bvd-single__content > *:first-child { margin-top: 0; }
.bvd-single__content > *:last-child { margin-bottom: 0; }

@media (max-width: 980px) {
	.bvd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bvd-single__hero { grid-template-columns: 260px 1fr; }
}

@media (max-width: 680px) {
	.bvd-directory { padding-right: 14px; padding-left: 14px; }
	.bvd-grid { grid-template-columns: 1fr; gap: 18px; }
	.bvd-card { min-height: 320px; }
	.bvd-thanks { grid-template-columns: 1fr; padding: 28px 22px; text-align: center; }
	.bvd-thanks__mark { width: 92px; height: 92px; font-size: 43px; }
	.bvd-single__hero { grid-template-columns: 1fr; text-align: center; }
	.bvd-single__photo,
	.bvd-single__placeholder { max-width: 270px; margin: 0 auto; }
	.bvd-single__intro .bvd-socials { justify-content: center; }
}

@media (max-width: 400px) {
	.bvd-card__name,
	.bvd-card__designation { margin-left: 125px; }
	.bvd-card__photo-link { left: 16px; width: 108px; height: 108px; }
	.bvd-card__content { padding-right: 16px; padding-left: 16px; }
	.bvd-card__footer { align-items: stretch; flex-direction: column; }
	.bvd-card__button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.bvd-card,
	.bvd-socials__link { transition: none; }
}
