/**
 * Our Team page, member profiles and location team pages. Loaded after
 * pages.css (banner, .hm-badge tones).
 *
 * Phones: one column; districts scroll sideways as chips. 768px+: two
 * columns. 1200px+: the designed layout, sized on the artboard (--hm-u).
 */

/* Banner extras: team numbers and quote ------------------------------------ */

.hm-page-hero__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 12px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.hm-page-hero__stats li {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.hm-page-hero__stat-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(145deg, color-mix(in srgb, var(--hm-color-highlight) 70%, #fff), var(--hm-color-highlight));
	box-shadow: 0 0 0 4px rgb(255 255 255 / 0.7);
	color: var(--hm-color-white);
}

.hm-page-hero__stat-icon svg {
	width: 48%;
	height: 48%;
}

.hm-page-hero__stats strong {
	display: block;
	font-family: var(--hm-font-heading);
	font-size: 19px;
	line-height: 1.1;
	color: var(--hm-color-primary);
}

.hm-page-hero__stats li > span:last-child > span {
	display: block;
	font-size: 12.5px;
	line-height: 1.3;
}

/* Handwritten quote: on the sky, right of the text, from tablets up. */
.hm-page-hero__quote {
	display: none;
}

/* Our Team Network ---------------------------------------------------------- */

.hm-tnet {
	padding-block: 28px 20px;
}

.hm-tnet__inner {
	display: grid;
	gap: 20px;
}

.hm-tnet__card {
	position: relative;
	display: grid;
	gap: 18px;
	overflow: hidden;
	padding: 24px 20px;
	border-radius: 20px;
	background:
		radial-gradient(120% 90% at 85% 15%, rgb(255 255 255 / 0.9) 0%, rgb(255 255 255 / 0) 60%),
		linear-gradient(160deg, #eef6ff 0%, #f7fbff 55%, #eaf3fe 100%);
	box-shadow: 0 0 0 1px #e1ecf8;
}

.hm-tnet__title {
	margin: 0;
	font-family: var(--hm-font-heading);
	font-size: clamp(24px, 2vw + 16px, 32px);
	font-weight: 700;
	line-height: 1.15;
	color: var(--hm-color-primary);
}

.hm-tnet__subtitle {
	margin: 6px 0 0;
	font-family: var(--hm-font-heading);
	font-size: 15px;
	font-weight: 500;
	color: #0b2a5e;
}

.hm-tnet__text {
	max-width: 30em;
	margin: 14px 0 0;
	font-size: 14.5px;
	line-height: 1.6;
}

.hm-tnet__legend {
	display: grid;
	gap: 10px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
	font-family: var(--hm-font-heading);
	font-size: 15px;
	font-weight: 500;
	color: #0b2a5e;
}

.hm-tnet__legend li {
	display: flex;
	align-items: center;
	gap: 12px;
}

.hm-tnet__legend .hm-badge,
.hm-tquick .hm-badge {
	--hm-badge-size: 34px;
}

.hm-tnet__tagline {
	display: inline-block;
	margin: 24px 0 0 6px;
	font-family: var(--hm-font-script);
	font-size: 22px;
	line-height: 1.25;
	color: #0b2a5e;
	transform: rotate(-8deg);
	transform-origin: 0 50%;
}

.hm-tnet__tagline span {
	display: block;
}

.hm-tnet__tagline span:nth-child(2) {
	padding-left: 0.8em;
}

.hm-tnet__tagline span:nth-child(3) {
	padding-left: 2em;
}

.hm-tnet__tagline svg {
	display: block;
	width: 120px;
	margin: 2px 0 0 2em;
	color: var(--hm-color-highlight);
}

.hm-tnet__map {
	display: grid;
	place-items: center;
}

.hm-tnet__map img {
	width: min(100%, 420px);
	height: auto;
	filter: drop-shadow(0 18px 30px rgb(10 47 96 / 0.18));
}

.hm-tnet__side {
	display: grid;
	align-content: start;
	gap: 16px;
	padding: 16px;
	border-radius: 20px;
	background: linear-gradient(180deg, #f2f8ff 0%, #f8fbff 100%);
	box-shadow: 0 0 0 1px #e1ecf8;
}

.hm-tnet__box {
	padding: 18px 16px;
	border-radius: 16px;
	background: var(--hm-color-white);
	box-shadow: 0 0 0 1px #e3ebf5, 0 16px 30px -26px rgb(10 47 96 / 0.5);
	transition: opacity 0.2s ease;
}

.hm-tnet__box-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 10px;
	margin: 0 0 14px;
	font-family: var(--hm-font-heading);
	font-size: 18px;
	font-weight: 700;
	color: #0b2a5e;
}

.hm-tnet__box-note {
	font-size: 13px;
	font-weight: 600;
	color: var(--hm-color-highlight);
}

/* State tiles */
.hm-tstates {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(98px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Colour from .hm-tone--* (pages.css); blue by default. */
.hm-tstate-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 100%;
	min-height: 96px;
	padding: 12px 8px;
	border: 1.5px solid #e3ebf5;
	border-radius: 12px;
	background: var(--hm-color-white);
	font-family: var(--hm-font-heading);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	color: var(--hm-tone, var(--hm-color-highlight));
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a.hm-tstate-tile:hover {
	border-color: color-mix(in srgb, var(--hm-tone, var(--hm-color-highlight)) 45%, #fff);
	transform: translateY(-2px);
}

.hm-tstate-tile[aria-current] {
	border-color: var(--hm-color-highlight);
	box-shadow: 0 0 0 1px var(--hm-color-highlight), 0 14px 26px -18px rgb(10 47 96 / 0.55);
}

.hm-tstate-tile__art {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
}

.hm-tstate-tile__art img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.hm-tstate-tile__art svg {
	width: 36px;
	height: 36px;
}

.hm-tstate-tile--soon {
	color: #6b7c93;
}

.hm-tstate-tile--soon .hm-tstate-tile__art {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e9eef5;
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
}

/* Quick Stats */
.hm-tquick {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hm-tquick li {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.hm-tquick strong {
	display: block;
	font-family: var(--hm-font-heading);
	font-size: 20px;
	line-height: 1.1;
	color: #0b2a5e;
}

.hm-tquick li > span:last-child > span {
	font-size: 13px;
	color: #5b6b82;
}

/* State team ------------------------------------------------------------------ */

.hm-tstate {
	padding-block: 8px 20px;
	scroll-margin-top: 16px;
}

.hm-tstate__card {
	padding: 20px 16px;
	border-radius: 20px;
	background: var(--hm-color-white);
	box-shadow: 0 0 0 1px #e1ecf8, 0 24px 48px -36px rgb(10 47 96 / 0.45);
	transition: opacity 0.2s ease;
}

.hm-tstate__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-bottom: 18px;
}

.hm-tstate__art {
	display: grid;
	flex: none;
	place-items: center;
	width: 54px;
	height: 54px;
	color: var(--hm-color-highlight);
}

.hm-tstate__art img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.hm-tstate__art svg {
	width: 40px;
	height: 40px;
}

.hm-tstate__heading {
	flex: 1;
	min-width: 0;
}

.hm-tstate__title {
	margin: 0;
	font-family: var(--hm-font-heading);
	font-size: clamp(22px, 1.4vw + 16px, 28px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--hm-color-primary);
}

.hm-tstate__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 12px;
	margin: 4px 0 0;
	font-size: 14px;
	color: #4a5d78;
}

/* Phones: on its own line under the heading. */
.hm-tstate__back {
	display: inline-flex;
	flex-basis: 100%;
	align-items: center;
	gap: 6px;
	font-family: var(--hm-font-heading);
	font-size: 13px;
	font-weight: 600;
	color: var(--hm-color-highlight);
	text-decoration: none;
}

.hm-tstate__back svg {
	width: 13px;
	height: auto;
	transform: rotate(180deg);
}

.hm-tstate__back:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hm-tstate__body {
	display: grid;
	gap: 16px;
}

.hm-tstate__empty {
	margin: 0;
	padding: 20px;
	border-radius: 12px;
	background: #f5f9ff;
	text-align: center;
}

/* Districts: search + list (sideways chips on phones) */
.hm-tdistricts {
	min-width: 0;
}

.hm-tdistricts__search {
	position: relative;
	display: block;
	margin-bottom: 10px;
}

.hm-tdistricts__search input {
	width: 100%;
	height: 42px;
	padding: 0 40px 0 14px;
	border: 1px solid #d6e2f0;
	border-radius: 10px;
	background: var(--hm-color-white);
	font: inherit;
	font-size: 14px;
	color: #0b2a5e;
}

.hm-tdistricts__search input:focus {
	border-color: var(--hm-color-highlight);
	outline: none;
	box-shadow: 0 0 0 3px var(--hm-color-button-soft);
}

.hm-tdistricts__search svg {
	position: absolute;
	top: 50%;
	right: 14px;
	width: 16px;
	height: 16px;
	color: #6b7c93;
	transform: translateY(-50%);
	pointer-events: none;
}

.hm-tdistricts__list {
	display: flex;
	gap: 8px;
	margin: 0 calc(-1 * var(--hm-gutter));
	padding: 2px var(--hm-gutter) 6px;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.hm-tdistricts__list::-webkit-scrollbar {
	display: none;
}

.hm-tdistricts__list a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid #e3ebf5;
	border-radius: 10px;
	background: var(--hm-color-white);
	font-family: var(--hm-font-heading);
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	color: #0b2a5e;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hm-tdistricts__list a > svg:first-child {
	flex: none;
	width: 15px;
	height: 15px;
	color: var(--hm-color-highlight);
}

.hm-tdistricts__name {
	flex: 1;
}

.hm-tdistricts__count {
	min-width: 24px;
	padding: 1px 7px;
	border-radius: var(--hm-radius-pill);
	background: var(--hm-color-button-soft);
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	color: var(--hm-color-highlight);
}

.hm-tdistricts__chevron {
	display: none;
	width: 10px;
	height: auto;
	transform: rotate(-90deg);
	opacity: 0.6;
}

.hm-tdistricts__list a:hover {
	border-color: var(--hm-color-highlight);
}

.hm-tdistricts__list a[aria-current] {
	border-color: transparent;
	background: var(--hm-color-button);
	color: var(--hm-color-white);
}

.hm-tdistricts__list a[aria-current] > svg,
.hm-tdistricts__list a[aria-current] .hm-tdistricts__count {
	color: var(--hm-color-white);
}

.hm-tdistricts__list a[aria-current] .hm-tdistricts__count {
	background: rgb(255 255 255 / 0.2);
}

.hm-tdistricts__none {
	margin: 4px 0 0;
	font-size: 14px;
	color: #6b7c93;
}

/* One district */
.hm-tstate__district {
	min-width: 0;
	transition: opacity 0.2s ease;
}

.is-loading {
	opacity: 0.45;
	pointer-events: none;
}

.hm-tdistrict {
	display: grid;
	gap: 16px;
}

.hm-tdistrict__main {
	min-width: 0;
	padding: 18px 16px;
	border-radius: 16px;
	background: #f8fbff;
	box-shadow: 0 0 0 1px #e3ebf5;
}

.hm-tdistrict__title {
	margin: 0;
	font-family: var(--hm-font-heading);
	font-size: 21px;
	font-weight: 700;
	color: var(--hm-color-primary);
}

.hm-tdistrict__meta {
	display: flex;
	flex-wrap: wrap;
	margin: 4px 0 0;
	font-size: 14px;
	color: #5b6b82;
}

.hm-tdistrict__meta span + span::before {
	content: "|";
	margin-inline: 10px;
	opacity: 0.45;
}

.hm-tdistrict__sub {
	margin: 20px 0 12px;
	font-family: var(--hm-font-heading);
	font-size: 16px;
	font-weight: 700;
	color: #0b2a5e;
}

.hm-tdistrict__empty {
	margin: 16px 0 0;
	font-size: 14.5px;
	color: #5b6b82;
}

/* Taluka chips (also the place links on location team pages) */
.hm-tchips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.hm-tchips li.is-extra {
	display: none;
}

.hm-tchips.is-expanded li.is-extra {
	display: block;
}

.hm-tchips a,
.hm-tchips button {
	display: block;
	padding: 6px 14px;
	border: 1px solid #d6e2f0;
	border-radius: var(--hm-radius-pill);
	background: var(--hm-color-white);
	font-family: var(--hm-font-heading);
	font-size: 13px;
	font-weight: 500;
	color: #0b2a5e;
	text-decoration: none;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.hm-tchips a:hover,
.hm-tchips button:hover {
	border-color: var(--hm-color-highlight);
	color: var(--hm-color-highlight);
}

.hm-tchips a[aria-current] {
	border-color: transparent;
	background: var(--hm-color-button);
	color: var(--hm-color-white);
}

.hm-tchips a span {
	opacity: 0.6;
}

/* Taluka cards */
.hm-ttalukas {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hm-ttalukas li.is-extra {
	display: none;
}

.hm-ttalukas.is-expanded li.is-extra {
	display: block;
}

.hm-ttalukas a {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	height: 100%;
	padding: 14px 12px;
	border-radius: 12px;
	background: var(--hm-color-white);
	box-shadow: 0 0 0 1px #e3ebf5, 0 10px 22px -20px rgb(10 47 96 / 0.6);
	text-decoration: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hm-ttalukas a:hover {
	box-shadow: 0 0 0 1px var(--hm-color-highlight), 0 14px 26px -20px rgb(10 47 96 / 0.6);
	transform: translateY(-2px);
}

.hm-ttalukas svg {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	color: var(--hm-color-highlight);
}

.hm-ttalukas strong {
	display: block;
	font-family: var(--hm-font-heading);
	font-size: 14.5px;
	color: #0b2a5e;
}

.hm-ttalukas a span span {
	display: block;
	margin-top: 4px;
	font-size: 12.5px;
	color: #6b7c93;
}

.hm-tdistrict__more {
	display: block;
	margin: 14px auto 0;
	padding: 4px 8px;
	border: 0;
	background: none;
	font-family: var(--hm-font-heading);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--hm-color-highlight);
	cursor: pointer;
}

.hm-tdistrict__more:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Avatars, IDs and member cards */
.hm-tavatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	overflow: hidden;
	border-radius: 50%;
	background: linear-gradient(145deg, #e2eefc, #c9def7);
	font-family: var(--hm-font-heading);
	font-size: 16px;
	font-weight: 700;
	color: var(--hm-color-highlight);
}

.hm-tavatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hm-tavatar svg {
	width: 46%;
	height: 46%;
}

.hm-tavatar--lg {
	width: 84px;
	height: 84px;
	font-size: 26px;
	box-shadow: 0 0 0 4px var(--hm-color-white), 0 0 0 5px #e3ebf5;
}

.hm-tavatar--xl {
	width: 100%;
	height: 100%;
	border-radius: 0;
	font-size: clamp(48px, 10vw, 84px);
}

.hm-tid {
	display: inline-block;
	margin-top: 6px;
	padding: 2px 8px;
	border-radius: 6px;
	background: #eef3f9;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #0b2a5e;
}

.hm-tid--lg {
	margin: 0 0 10px;
	padding: 4px 10px;
	background: var(--hm-color-button-soft);
	font-size: 14px;
	color: var(--hm-color-highlight);
}

.hm-tmembers {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hm-tmember__link {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 12px;
	border-radius: 12px;
	background: var(--hm-color-white);
	box-shadow: 0 0 0 1px #e3ebf5, 0 10px 22px -20px rgb(10 47 96 / 0.6);
	text-decoration: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hm-tmember__link:hover {
	box-shadow: 0 0 0 1px var(--hm-color-highlight), 0 14px 26px -20px rgb(10 47 96 / 0.6);
	transform: translateY(-2px);
}

.hm-tmember__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.hm-tmember__name {
	font-family: var(--hm-font-heading);
	font-size: 15px;
	color: #0b2a5e;
}

.hm-tmember__role,
.hm-tmember__place {
	font-size: 13px;
	line-height: 1.35;
	color: #5b6b82;
}

.hm-tmember__place {
	color: var(--hm-color-highlight);
}

/* District Leader */
.hm-tleader {
	display: flex;
	flex-direction: column;
	padding: 18px 16px;
	border-radius: 16px;
	background: #f8fbff;
	box-shadow: 0 0 0 1px #e3ebf5;
}

.hm-tleader__title {
	margin: 0 0 14px;
	font-family: var(--hm-font-heading);
	font-size: 16px;
	font-weight: 700;
	color: #0b2a5e;
}

.hm-tleader__person {
	display: flex;
	align-items: center;
	gap: 16px;
}

.hm-tleader__person > span:last-child {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.hm-tleader__name {
	font-family: var(--hm-font-heading);
	font-size: 18px;
	font-weight: 700;
	color: #0b2a5e;
	text-decoration: none;
}

.hm-tleader__name:hover {
	color: var(--hm-color-highlight);
}

.hm-tleader__role {
	margin-top: 2px;
	font-size: 13.5px;
	color: var(--hm-color-highlight);
}

.hm-tleader__place {
	font-size: 13px;
	color: #5b6b82;
}

.hm-tleader__none {
	font-size: 14px;
	line-height: 1.5;
	color: #5b6b82;
}

.hm-tleader__contact-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 20px 0 8px;
	font-family: var(--hm-font-heading);
	font-size: 15px;
	font-weight: 700;
	color: #0b2a5e;
}

.hm-tleader__contact-title svg,
.hm-tleader__contact svg {
	flex: none;
	width: 15px;
	height: 15px;
	color: var(--hm-color-highlight);
}

.hm-tleader__contact {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.hm-tleader__contact li {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.hm-tleader__contact a {
	overflow-wrap: anywhere;
	color: #0b2a5e;
	text-decoration: none;
}

.hm-tleader__contact a:hover {
	color: var(--hm-color-highlight);
}

.hm-tleader__btn {
	width: 100%;
	margin-top: 20px;
}

/* Search By ID ----------------------------------------------------------------- */

.hm-tsearch {
	padding-block: 12px 20px;
	scroll-margin-top: 16px;
}

.hm-tsearch__card {
	display: grid;
	gap: 18px;
	padding: 22px 18px;
	border-radius: 20px;
	background: linear-gradient(110deg, #effaf3 0%, #f4fbf8 45%, #f2f8ff 100%);
	box-shadow: 0 0 0 1px #dcefe4;
}

.hm-tsearch__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: linear-gradient(145deg, #3fae6a, #1f8a4c);
	box-shadow: 0 0 0 6px #dff3e6, 0 16px 28px -16px #1f8a4c;
	color: var(--hm-color-white);
}

.hm-tsearch__icon svg {
	width: 56%;
	height: 56%;
}

.hm-tsearch__title {
	margin: 0;
	font-family: var(--hm-font-heading);
	font-size: clamp(22px, 1.4vw + 16px, 28px);
	font-weight: 700;
	color: var(--hm-color-primary);
}

.hm-tsearch__text {
	margin: 4px 0 0;
	font-size: 15px;
}

/* Phones: the button sits under the box. */
.hm-tsearch__form {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
	padding: 6px;
	border: 1px solid #d6e2f0;
	border-radius: 12px;
	background: var(--hm-color-white);
}

.hm-tsearch__form:focus-within {
	border-color: var(--hm-color-highlight);
	box-shadow: 0 0 0 3px var(--hm-color-button-soft);
}

.hm-tsearch__form input {
	flex: 1 1 220px;
	min-width: 0;
	min-height: 42px;
	padding: 0 10px;
	border: 0;
	background: none;
	font: inherit;
	font-size: 15px;
	color: #0b2a5e;
}

.hm-tsearch__form input:focus {
	outline: none;
}

.hm-tsearch__btn {
	flex: 1 0 auto;
	gap: 8px;
	min-height: 42px;
	padding-inline: 18px;
	border-radius: 9px;
	font-size: 14px;
}

.hm-tsearch__btn > svg {
	width: 15px;
	height: 15px;
}

.hm-tsearch__error {
	margin: 10px 0 0;
	padding: 10px 14px;
	border-radius: 10px;
	background: #fff1f0;
	font-size: 14px;
	color: #b42318;
}

.hm-tsearch__info {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	border-radius: 16px;
	background: rgb(255 255 255 / 0.75);
	box-shadow: 0 0 0 1px #e3ebf5;
}

.hm-tsearch__art {
	display: grid;
	flex: none;
	place-items: center;
	width: 92px;
	height: 92px;
	color: var(--hm-color-highlight);
}

.hm-tsearch__art img,
.hm-tsearch__art svg {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hm-tsearch__info-text {
	margin: 0 0 8px;
	font-size: 13.5px;
	font-weight: 500;
	color: #0b2a5e;
}

.hm-tsearch__list {
	display: grid;
	gap: 3px;
	margin: 0;
	padding: 0 0 0 16px;
	font-size: 13px;
	color: #4a5d78;
}

/* Band of links ---------------------------------------------------------------- */

.hm-tcta {
	padding-block: 8px var(--hm-section-space);
}

.hm-tcta__band {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 12px;
	list-style: none;
	border-radius: 20px;
	background: linear-gradient(110deg, var(--hm-color-highlight) 0%, var(--hm-color-primary-dark) 100%);
	box-shadow: 0 24px 44px -28px rgb(10 47 96 / 0.8);
}

.hm-tcta__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px;
	border-radius: 12px;
	color: var(--hm-color-white);
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.hm-tcta__item:hover {
	background: rgb(255 255 255 / 0.1);
	color: var(--hm-color-white);
}

.hm-tcta__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 2px solid rgb(255 255 255 / 0.85);
	border-radius: 50%;
}

.hm-tcta__icon svg {
	width: 48%;
	height: 48%;
}

.hm-tcta__item strong {
	display: block;
	font-family: var(--hm-font-heading);
	font-size: 15px;
}

.hm-tcta__item span span {
	font-size: 13.5px;
	opacity: 0.9;
}

/* Member profile ----------------------------------------------------------------- */

.hm-tprofile {
	display: grid;
	gap: 24px;
	padding-block: 28px var(--hm-section-space);
}

.hm-tprofile__card {
	display: grid;
	overflow: hidden;
	border-radius: 20px;
	background: var(--hm-color-white);
	box-shadow: 0 0 0 1px #e1ecf8, 0 24px 48px -36px rgb(10 47 96 / 0.45);
}

.hm-tprofile__photo {
	aspect-ratio: 4 / 3;
	background: linear-gradient(145deg, #e2eefc, #c9def7);
}

.hm-tprofile__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hm-tprofile__info {
	padding: 22px 20px 26px;
}

.hm-tprofile__name {
	margin: 0;
	font-family: var(--hm-font-heading);
	font-size: clamp(24px, 1.6vw + 16px, 32px);
	font-weight: 700;
	line-height: 1.15;
	color: var(--hm-color-primary);
}

.hm-tprofile__role {
	margin: 4px 0 0;
	font-family: var(--hm-font-heading);
	font-size: 16px;
	font-weight: 500;
	color: var(--hm-color-highlight);
}

.hm-tprofile__details {
	display: grid;
	gap: 14px;
	margin: 20px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid #e3ebf5;
}

.hm-tprofile__details dt {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--hm-font-heading);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b7c93;
}

.hm-tprofile__details dt svg {
	width: 14px;
	height: 14px;
	color: var(--hm-color-highlight);
}

.hm-tprofile__details dd {
	margin: 4px 0 0 22px;
	font-size: 15.5px;
	line-height: 1.5;
	color: #0b2a5e;
}

.hm-tprofile__details a {
	color: var(--hm-color-highlight);
	text-decoration: none;
}

.hm-tprofile__details a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hm-tprofile__about {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid #e3ebf5;
	font-size: 16px;
	line-height: 1.7;
}

.hm-tprofile__about > :first-child {
	margin-top: 0;
}

.hm-tprofile__aside {
	display: grid;
	align-content: start;
	gap: 12px;
}

.hm-tprofile__search {
	padding: 18px;
	border-radius: 16px;
	background: linear-gradient(110deg, #effaf3 0%, #f2f8ff 100%);
	box-shadow: 0 0 0 1px #dcefe4;
}

.hm-tprofile__search label {
	display: block;
	margin-bottom: 10px;
	font-family: var(--hm-font-heading);
	font-size: 15px;
	font-weight: 700;
	color: #0b2a5e;
}

.hm-tprofile__search > span {
	display: flex;
	gap: 6px;
	padding: 5px;
	border: 1px solid #d6e2f0;
	border-radius: 10px;
	background: var(--hm-color-white);
}

.hm-tprofile__search input {
	flex: 1;
	min-width: 0;
	padding: 0 8px;
	border: 0;
	font: inherit;
	font-size: 15px;
}

.hm-tprofile__search input:focus {
	outline: none;
}

.hm-tprofile__search button {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 8px;
	background: var(--hm-color-button);
	color: var(--hm-color-white);
	cursor: pointer;
}

.hm-tprofile__search button svg {
	width: 16px;
	height: 16px;
}

/* Location team page ------------------------------------------------------------- */

.hm-tplace__inner {
	padding-block: 24px var(--hm-section-space);
}

.hm-tplace__places .hm-tchips {
	margin: 0 0 24px;
}

.hm-tmembers--grid {
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 14px;
}

/* Tablets ------------------------------------------------------------------------- */

@media (min-width: 768px) {
	.hm-tstate__meta {
		gap: 0;
	}

	.hm-tstate__meta span + span::before {
		content: "|";
		margin-inline: 10px;
		opacity: 0.45;
	}

	.hm-tstate__back {
		flex-basis: auto;
	}

	/* A frosted strip keeps the numbers readable where they reach the photo. */
	.hm-page-hero__stats {
		display: inline-flex;
		flex-wrap: wrap;
		gap: 12px 0;
		padding: 10px 6px 10px 12px;
		border-radius: 16px;
		background: rgb(255 255 255 / 0.72);
		box-shadow: 0 12px 28px -20px rgb(10 47 96 / 0.6), inset 0 0 0 1px rgb(255 255 255 / 0.8);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
	}

	.hm-page-hero__stats li {
		padding-right: 18px;
	}

	.hm-page-hero__stats li + li {
		padding-left: 18px;
		border-left: 1px solid rgb(10 47 96 / 0.15);
	}

	.hm-tnet__card {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
		align-items: center;
		padding: 30px 28px;
	}

	.hm-tdistricts__list {
		display: grid;
		max-height: 420px;
		margin: 0;
		padding: 0 4px 0 0;
		overflow-y: auto;
		scrollbar-width: thin;
	}

	.hm-tdistricts__list a {
		white-space: normal;
	}

	.hm-tdistricts__list a[aria-current] {
		box-shadow: 0 10px 20px -14px rgb(10 47 96 / 0.7);
	}

	.hm-tdistricts__chevron {
		display: block;
	}

	.hm-tstate__body {
		grid-template-columns: 220px minmax(0, 1fr);
		align-items: start;
	}

	.hm-tsearch__card {
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		column-gap: 22px;
		padding: 26px 26px;
	}

	.hm-tsearch__info {
		grid-column: 1 / -1;
	}

	.hm-tcta__band {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hm-tprofile {
		grid-template-columns: minmax(0, 1fr) 280px;
		align-items: start;
	}

	.hm-tprofile__card {
		grid-template-columns: 240px minmax(0, 1fr);
	}

	.hm-tprofile__photo {
		aspect-ratio: auto;
		min-height: 100%;
	}
}

@media (min-width: 992px) {
	.hm-page-hero__quote {
		position: absolute;
		top: 34px;
		right: var(--hm-gutter);
		display: block;
		max-width: 300px;
		margin: 0;
		font-family: var(--hm-font-script);
		font-size: 26px;
		line-height: 1.25;
		text-align: right;
		color: #0b2a5e;
		text-shadow: 0 1px 12px rgb(255 255 255 / 0.9);
		transform: rotate(-6deg);
	}

	.hm-page-hero__quote blockquote,
	.hm-page-hero__quote p {
		margin: 0;
	}

	.hm-page-hero__quote figcaption {
		margin-top: 6px;
		font-size: 0.7em;
		color: var(--hm-color-highlight);
	}

	.hm-tnet__inner {
		grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
		align-items: stretch;
	}

	.hm-tdistrict {
		grid-template-columns: minmax(0, 1fr) 250px;
		align-items: start;
	}
}

/* Desktop (artboard) ------------------------------------------------------------- */

@media (min-width: 1200px) {
	.hm-page--team .hm-page-hero__inner {
		padding-bottom: calc(110 * var(--hm-u));
	}

	.hm-page-hero__stats {
		margin-top: calc(30 * var(--hm-u));
	}

	.hm-page-hero__stats li {
		padding-right: calc(24 * var(--hm-u));
	}

	.hm-page-hero__stats li + li {
		padding-left: calc(24 * var(--hm-u));
	}

	.hm-page-hero__stat-icon {
		width: max(38px, calc(48 * var(--hm-u)));
		height: max(38px, calc(48 * var(--hm-u)));
	}

	.hm-page-hero__stats strong {
		font-size: max(17px, calc(24 * var(--hm-u)));
	}

	.hm-page-hero__stats li > span:last-child > span {
		font-size: max(12px, calc(14 * var(--hm-u)));
	}

	.hm-page-hero__quote {
		top: calc(60 * var(--hm-u));
		right: calc(70 * var(--hm-u));
		max-width: calc(380 * var(--hm-u));
		font-size: max(22px, calc(34 * var(--hm-u)));
	}

	.hm-tnet {
		padding-block: calc(40 * var(--hm-u)) calc(26 * var(--hm-u));
	}

	.hm-tnet__inner {
		gap: calc(26 * var(--hm-u));
	}

	.hm-tnet__card {
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
		padding: calc(40 * var(--hm-u)) calc(36 * var(--hm-u));
	}

	.hm-tnet__map img {
		width: min(100%, calc(560 * var(--hm-u)));
	}

	.hm-tnet__side {
		padding: calc(22 * var(--hm-u));
	}

	.hm-tnet__box {
		padding: calc(22 * var(--hm-u)) calc(20 * var(--hm-u));
	}

	.hm-tstates {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hm-tstate__card {
		padding: calc(28 * var(--hm-u)) calc(30 * var(--hm-u));
	}

	.hm-tstate__body {
		grid-template-columns: calc(290 * var(--hm-u)) minmax(0, 1fr);
		gap: calc(22 * var(--hm-u));
	}

	.hm-tdistrict {
		grid-template-columns: minmax(0, 1fr) max(260px, calc(360 * var(--hm-u)));
		gap: calc(22 * var(--hm-u));
	}

	.hm-tavatar--lg {
		width: max(64px, calc(84 * var(--hm-u)));
		height: max(64px, calc(84 * var(--hm-u)));
	}

	.hm-tdistrict__main,
	.hm-tleader {
		padding: calc(24 * var(--hm-u)) calc(22 * var(--hm-u));
	}

	.hm-ttalukas {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hm-tsearch__card {
		grid-template-columns: auto minmax(0, 1fr) minmax(0, calc(420 * var(--hm-u)));
		padding: calc(30 * var(--hm-u)) calc(36 * var(--hm-u));
	}

	.hm-tsearch__icon {
		width: calc(88 * var(--hm-u));
		height: calc(88 * var(--hm-u));
	}

	.hm-tsearch__info {
		grid-column: auto;
	}

	.hm-tcta__band {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		padding: calc(18 * var(--hm-u)) calc(20 * var(--hm-u));
	}

	.hm-tcta__band li + li {
		position: relative;
	}

	.hm-tcta__band li + li::before {
		content: "";
		position: absolute;
		top: 18%;
		bottom: 18%;
		left: -2px;
		width: 1px;
		background: rgb(255 255 255 / 0.3);
	}

	.hm-tprofile {
		grid-template-columns: minmax(0, 1fr) calc(340 * var(--hm-u));
		gap: calc(30 * var(--hm-u));
	}

	.hm-tprofile__card {
		grid-template-columns: calc(340 * var(--hm-u)) minmax(0, 1fr);
	}

	.hm-tprofile__info {
		padding: calc(32 * var(--hm-u)) calc(36 * var(--hm-u));
	}
}

@media (prefers-reduced-motion: reduce) {
	.hm-tstate-tile,
	.hm-ttalukas a,
	.hm-tmember__link {
		transition: none;
	}
}
