/*
 * How to Vote page (/how-to-vote/) — page-how-to-vote.php.
 *
 * Every rule is scoped under .mfr-htv and written with two classes so the
 * veto parent theme's globals (list bullets, heading hyphenation, link
 * colours, image resets) do not leak in.
 */

.mfr-htv {
	--htv-purple: #412d82;
	--htv-purple-2: #5b2a9e;
	--htv-violet: #7a3fc4;
	--htv-soft: #f6f2fd;
	--htv-line: #e4dcf5;
	--htv-yellow: #ffd31a;
	--htv-ink: #23193f;
	--htv-text: #3b3354;

	background: #fff;
	color: var(--htv-text);
	font: 400 16px/1.55 "Inter", "Helvetica Neue", Arial, sans-serif;
	overflow: hidden;
}

.mfr-htv *,
.mfr-htv *::before,
.mfr-htv *::after {
	box-sizing: border-box;
}

.mfr-htv h1,
.mfr-htv h2,
.mfr-htv h3,
.mfr-htv p {
	margin: 0;
	hyphens: manual;
	-webkit-hyphens: manual;
	letter-spacing: normal;
	text-transform: none;
}

.mfr-htv svg {
	display: block;
	flex: none;
}

.mfr-htv .mfr-htv-wrap {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.mfr-htv .mfr-htv-hero {
	position: relative;
	padding: 56px 0 60px;
	background:
		radial-gradient(120% 140% at 85% 20%, rgba(170, 110, 240, 0.55) 0%, rgba(170, 110, 240, 0) 55%),
		linear-gradient(100deg, #2e1a63 0%, #4a2591 45%, #6a35b5 100%);
	color: #fff;
	overflow: hidden;
}

.mfr-htv .mfr-htv-hero__image {
	position: absolute;
	inset: 0 0 0 auto;
	width: 52%;
	background-size: cover;
	background-position: center;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
	opacity: 0.9;
}

.mfr-htv .mfr-htv-hero__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 28px;
}

.mfr-htv .mfr-htv-hero__icon {
	display: grid;
	place-items: center;
	width: 104px;
	height: 104px;
	flex: none;
	color: #fff;
}

.mfr-htv .mfr-htv-hero__icon svg {
	width: 100%;
	height: 100%;
	stroke-width: 1.5;
}

.mfr-htv .mfr-htv-hero__title {
	font: italic 800 clamp(44px, 7vw, 78px)/1.02 "Playfair Display", Georgia, serif;
	color: #fff;
}

.mfr-htv .mfr-htv-hero__subtitle {
	margin-top: 10px;
	font: 600 clamp(18px, 2.4vw, 28px)/1.25 "Inter", "Helvetica Neue", Arial, sans-serif;
	color: #fff;
}

.mfr-htv .mfr-htv-hero__swoosh {
	display: block;
	width: min(290px, 70%);
	height: 7px;
	margin-top: 16px;
	border-radius: 50%;
	background: var(--htv-yellow);
	transform: rotate(-1.5deg);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.mfr-htv .mfr-htv-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	padding-top: 36px;
	padding-bottom: 56px;
}

.mfr-htv .mfr-htv-card {
	position: relative;
	padding: 26px 28px 28px;
	border: 1px solid var(--htv-line);
	border-radius: 18px;
	background: linear-gradient(160deg, #fff 55%, var(--htv-soft) 100%);
	box-shadow: 0 10px 28px -18px rgba(65, 45, 130, 0.45);
}

.mfr-htv .mfr-htv-card__head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 18px;
}

.mfr-htv .mfr-htv-card__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	flex: none;
	border-radius: 50%;
	background: var(--htv-soft);
	color: var(--htv-purple);
}

.mfr-htv .mfr-htv-card__icon svg {
	width: 34px;
	height: 34px;
}

.mfr-htv .mfr-htv-card__title {
	font: 800 clamp(22px, 2.4vw, 28px)/1.15 "Inter", "Helvetica Neue", Arial, sans-serif;
	color: var(--htv-purple);
}

.mfr-htv .mfr-htv-card__date {
	display: inline-block;
	margin-top: 8px;
	padding: 5px 16px;
	border-radius: 999px;
	background: var(--htv-yellow);
	font: 800 15px/1.3 "Inter", "Helvetica Neue", Arial, sans-serif;
	color: var(--htv-ink);
}

.mfr-htv .mfr-htv-card__intro {
	margin-bottom: 14px;
	color: var(--htv-text);
}

.mfr-htv .mfr-htv-card__actions {
	margin-top: 18px;
}

/* Ticked lists */
.mfr-htv .mfr-htv-checks {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mfr-htv .mfr-htv-checks li {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--htv-text);
}

.mfr-htv .mfr-htv-checks li::before {
	content: none;
	display: none;
}

.mfr-htv .mfr-htv-checks__tick {
	color: var(--htv-purple);
	padding-top: 1px;
}

.mfr-htv .mfr-htv-checks__tick svg {
	width: 20px;
	height: 20px;
	stroke-width: 2.6;
}

.mfr-htv .mfr-htv-checks--tight {
	gap: 6px;
}

/* Ballot papers */
.mfr-htv .mfr-htv-paper {
	display: flex;
	gap: 14px;
	margin-top: 12px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--htv-soft);
}

.mfr-htv .mfr-htv-paper__icon {
	color: var(--htv-purple);
}

.mfr-htv .mfr-htv-paper__icon svg {
	width: 30px;
	height: 30px;
}

.mfr-htv .mfr-htv-paper__title {
	font: 700 16px/1.3 "Inter", "Helvetica Neue", Arial, sans-serif;
	color: var(--htv-purple-2);
}

.mfr-htv .mfr-htv-paper__text {
	margin-top: 4px;
	font-size: 15px;
}

/* Timeline */
.mfr-htv .mfr-htv-timeline {
	position: relative;
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0 0 0 28px;
	list-style: none;
}

.mfr-htv .mfr-htv-timeline::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: var(--htv-purple);
}

.mfr-htv .mfr-htv-timeline li {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mfr-htv .mfr-htv-timeline li::before {
	content: "";
	position: absolute;
	left: -28px;
	top: 6px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--htv-purple);
	box-shadow: 0 0 0 3px #fff;
}

.mfr-htv .mfr-htv-timeline strong {
	color: var(--htv-purple);
	font-weight: 800;
}

/* Buttons */
.mfr-htv .mfr-htv-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border-radius: 10px;
	font: 700 16px/1.2 "Inter", "Helvetica Neue", Arial, sans-serif;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.mfr-htv .mfr-htv-btn svg {
	width: 18px;
	height: 18px;
	stroke-width: 2.4;
}

.mfr-htv .mfr-htv-btn--outline {
	border: 2px solid var(--htv-purple);
	background: #fff;
	color: var(--htv-purple);
}

.mfr-htv .mfr-htv-btn--outline:hover,
.mfr-htv .mfr-htv-btn--outline:focus-visible {
	background: var(--htv-purple);
	color: #fff;
}

.mfr-htv .mfr-htv-btn--solid {
	border: 2px solid transparent;
	background: linear-gradient(90deg, var(--htv-purple) 0%, var(--htv-violet) 100%);
	color: #fff;
}

.mfr-htv .mfr-htv-btn--solid:hover,
.mfr-htv .mfr-htv-btn--solid:focus-visible {
	transform: translateY(-1px);
	color: #fff;
}

.mfr-htv .mfr-htv-btn:focus-visible {
	outline: 3px solid var(--htv-yellow);
	outline-offset: 2px;
}

/* Official VEC card */
.mfr-htv .mfr-htv-official {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 24px;
	margin-top: 22px;
}

.mfr-htv .mfr-htv-official .mfr-htv-official__logo {
	width: 170px;
	max-width: 45%;
	height: auto;
	padding-left: 24px;
	border-left: 2px solid var(--htv-purple);
	border-radius: 0;
	box-shadow: none;
}

/* ==========================================================================
   Vote 1 band
   ========================================================================== */

.mfr-htv .mfr-htv-vote1 {
	position: relative;
	margin-top: 70px;
	background:
		radial-gradient(90% 160% at 70% 0%, rgba(150, 90, 230, 0.5) 0%, rgba(150, 90, 230, 0) 60%),
		linear-gradient(100deg, #2e1a63 0%, #4a2591 50%, #5f2fa8 100%);
	color: #fff;
}

.mfr-htv .mfr-htv-vote1__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 36px;
	min-height: 210px;
	padding-top: 30px;
	padding-bottom: 30px;
	padding-left: 280px;
}

.mfr-htv .mfr-htv-vote1 .mfr-htv-vote1__photo {
	position: absolute;
	left: 24px;
	bottom: 0;
	width: 230px;
	max-width: none;
	height: auto;
	border-radius: 0;
	box-shadow: none;
}

.mfr-htv .mfr-htv-vote1__main {
	display: flex;
	align-items: center;
	gap: 22px;
	padding-right: 36px;
	border-right: 2px solid rgba(255, 255, 255, 0.55);
}

.mfr-htv .mfr-htv-vote1__box {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	flex: none;
	border: 3px solid var(--htv-yellow);
	border-radius: 10px;
	color: var(--htv-yellow);
}

.mfr-htv .mfr-htv-vote1__box svg {
	width: 40px;
	height: 40px;
	stroke-width: 3;
}

.mfr-htv .mfr-htv-vote1__headline {
	font: italic 800 clamp(34px, 4vw, 50px)/1.05 "Playfair Display", Georgia, serif;
	color: #fff;
}

.mfr-htv .mfr-htv-vote1__text {
	max-width: 340px;
	font: 600 19px/1.5 "Inter", "Helvetica Neue", Arial, sans-serif;
	color: #fff;
}

.mfr-htv .mfr-htv-box1 {
	display: inline-grid;
	place-items: center;
	min-width: 34px;
	height: 34px;
	margin: 0 2px;
	border: 2.5px solid var(--htv-yellow);
	border-radius: 6px;
	font-weight: 800;
	line-height: 1;
	color: var(--htv-yellow);
	vertical-align: middle;
}

/* ==========================================================================
   Tablet and phone
   ========================================================================== */

@media (max-width: 960px) {
	.mfr-htv .mfr-htv-vote1__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
		padding-left: 230px;
	}

	.mfr-htv .mfr-htv-vote1 .mfr-htv-vote1__photo {
		width: 200px;
	}

	.mfr-htv .mfr-htv-vote1__main {
		padding-right: 0;
		border-right: 0;
	}
}

@media (max-width: 767px) {
	.mfr-htv .mfr-htv-wrap {
		padding: 0 16px;
	}

	.mfr-htv .mfr-htv-hero {
		padding: 36px 0 40px;
	}

	.mfr-htv .mfr-htv-hero__inner {
		gap: 16px;
	}

	.mfr-htv .mfr-htv-hero__icon {
		width: 64px;
		height: 64px;
	}

	.mfr-htv .mfr-htv-hero__image {
		width: 100%;
		opacity: 0.25;
	}

	.mfr-htv .mfr-htv-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		padding-top: 24px;
		padding-bottom: 36px;
	}

	.mfr-htv .mfr-htv-card {
		padding: 20px 18px 22px;
	}

	.mfr-htv .mfr-htv-card__head {
		gap: 12px;
	}

	.mfr-htv .mfr-htv-card__icon {
		width: 52px;
		height: 52px;
	}

	.mfr-htv .mfr-htv-card__icon svg {
		width: 28px;
		height: 28px;
	}

	.mfr-htv .mfr-htv-card__date {
		padding: 4px 12px;
		font-size: 13.5px;
	}

	.mfr-htv .mfr-htv-official .mfr-htv-official__logo {
		padding-left: 0;
		border-left: 0;
		width: 150px;
	}

	.mfr-htv .mfr-htv-vote1 {
		margin-top: 40px;
	}

	.mfr-htv .mfr-htv-vote1__inner {
		padding-top: 28px;
		padding-left: 16px;
		padding-bottom: 0;
	}

	.mfr-htv .mfr-htv-vote1 .mfr-htv-vote1__photo {
		position: static;
		order: 3;
		width: 200px;
		align-self: center;
	}

	.mfr-htv .mfr-htv-vote1__text {
		font-size: 17px;
	}
}

.mfr-htv .mfr-htv-yellow {
	color: var(--htv-yellow);
}

.mfr-htv .mfr-htv-nowrap {
	white-space: nowrap;
}

/*
 * The page is set to "header over content" (as Contact Us is), so the 80px
 * header (63px on phones) sits on top of the hero. Push the hero's content
 * down by that much.
 */
.header_position_over .mfr-htv .mfr-htv-hero {
	padding-top: 136px;
}

@media (max-width: 767px) {
	.header_position_over .mfr-htv .mfr-htv-hero {
		padding-top: 100px;
	}
}

/* ==========================================================================
   Vote 1 band, matched to the reference (2026-11-05): gold diagonal stripe
   behind the photo, lighter curve along the bottom, Lora italic headline,
   tapered brush underline.
   ========================================================================== */

/* Tapered brush stroke, used under the hero title and the Vote 1 headline. */
.mfr-htv .mfr-htv-hero__swoosh {
	width: min(300px, 80%);
	height: 14px;
	border-radius: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 13C60 3 170-1 298 1.5 200 6 100 10.5 10 14c-5 .3-9-.4-7-1Z' fill='%23ffd31a'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	transform: none;
}

.mfr-htv .mfr-htv-vote1 {
	overflow: visible;
	background:
		radial-gradient(70% 140% at 55% 0%, rgba(160, 100, 235, 0.45) 0%, rgba(160, 100, 235, 0) 60%),
		linear-gradient(100deg, #34196d 0%, #4b2492 45%, #5d2aa5 100%);
}

/* Lighter curve along the bottom edge. */
.mfr-htv .mfr-htv-vote1::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 48px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V40C360 40 900 6 1440 0v48Z' fill='%238a4fd6' fill-opacity='.45'/%3E%3Cpath d='M0 48V46C420 44 980 22 1440 14v34Z' fill='%23a56cf0' fill-opacity='.35'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
	pointer-events: none;
}

.mfr-htv .mfr-htv-vote1__inner {
	z-index: 1;
	min-height: 200px;
	padding-top: 36px;
	padding-bottom: 40px;
	padding-left: 320px;
	gap: 40px;
}

/* Gold stripe, slanted, just behind the photo's shoulder. */
.mfr-htv .mfr-htv-vote1__inner::before {
	content: "";
	position: absolute;
	left: 300px;
	top: 0;
	bottom: 0;
	width: 20px;
	background: linear-gradient(180deg, #ffe27a 0%, #f2c21b 45%, rgba(242, 194, 27, 0) 100%);
	transform: skewX(-14deg);
	transform-origin: top;
	z-index: 0;
}

.mfr-htv .mfr-htv-vote1 .mfr-htv-vote1__photo {
	z-index: 1;
	left: 40px;
	width: 250px;
	filter: drop-shadow(0 10px 18px rgba(20, 8, 50, 0.35));
}

.mfr-htv .mfr-htv-vote1__main,
.mfr-htv .mfr-htv-vote1__text {
	position: relative;
	z-index: 1;
}

.mfr-htv .mfr-htv-vote1__main {
	gap: 26px;
	padding-right: 44px;
	border-right-color: rgba(255, 255, 255, 0.8);
}

.mfr-htv .mfr-htv-vote1__box {
	width: 72px;
	height: 72px;
	border-width: 4px;
	border-radius: 12px;
	border-color: #f5c84c;
	color: #f5c84c;
}

.mfr-htv .mfr-htv-vote1__box svg {
	width: 44px;
	height: 44px;
}

.mfr-htv .mfr-htv-vote1__headline {
	font: italic 700 clamp(36px, 4vw, 50px)/1.08 "Lora", Georgia, serif;
	letter-spacing: -0.005em;
	text-shadow: 0 2px 10px rgba(20, 8, 50, 0.25);
}

.mfr-htv .mfr-htv-vote1 .mfr-htv-hero__swoosh {
	width: 240px;
	height: 12px;
	margin-top: 14px;
}

.mfr-htv .mfr-htv-vote1__text {
	max-width: 330px;
	font: 600 19px/1.65 "Inter", "Helvetica Neue", Arial, sans-serif;
}

.mfr-htv .mfr-htv-vote1 .mfr-htv-box1 {
	min-width: 32px;
	height: 32px;
	border-color: #f5c84c;
	border-radius: 7px;
	color: #fff;
}

@media (max-width: 960px) {
	.mfr-htv .mfr-htv-vote1__inner {
		padding-left: 250px;
	}

	.mfr-htv .mfr-htv-vote1__inner::before {
		left: 200px;
	}

	.mfr-htv .mfr-htv-vote1 .mfr-htv-vote1__photo {
		left: 24px;
		width: 200px;
	}
}

@media (max-width: 767px) {
	.mfr-htv .mfr-htv-vote1__inner {
		padding-left: 16px;
		padding-bottom: 0;
		gap: 18px;
	}

	.mfr-htv .mfr-htv-vote1__inner::before {
		display: none;
	}

	.mfr-htv .mfr-htv-vote1__main {
		padding-right: 0;
	}

	.mfr-htv .mfr-htv-vote1 .mfr-htv-vote1__photo {
		position: relative;
		left: auto;
		width: 210px;
	}
}

/*
 * The photo stands ~165px above the band (375px tall in a 210px band) and the
 * cards end only 126px above it, so the head ran into the last card. Leave
 * room for the overhang plus a ~24px gap. Phones stack the photo inside the
 * band, so they keep their own spacing.
 */
@media (min-width: 768px) {
	.mfr-htv .mfr-htv-vote1 {
		margin-top: 134px;
	}
}

/*
 * Hero photo (Parliament House, how_to_vote_head_background.png): on the
 * right, faded into the purple with a violet wash, as in the reference.
 */
.mfr-htv .mfr-htv-hero.has-image .mfr-htv-hero__image {
	width: 58%;
	background-position: 70% 45%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 48%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 48%);
	opacity: 1;
}

.mfr-htv .mfr-htv-hero.has-image .mfr-htv-hero__image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(110, 50, 190, 0.55) 0%, rgba(140, 80, 210, 0.18) 45%, rgba(140, 80, 210, 0) 75%);
}

@media (max-width: 767px) {
	.mfr-htv .mfr-htv-hero.has-image .mfr-htv-hero__image {
		width: 100%;
		background-position: 75% center;
		-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
		mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
		opacity: 0.45;
	}
}

/* ==========================================================================
   Hero banner, matched to the banner design (2026-11-05): icon | divider |
   Montserrat italic title, subtitle, swoosh, tagline; Parliament photo on
   the right; violet streak + yellow stripe along the bottom edge.
   ========================================================================== */

.mfr-htv .mfr-htv-hero {
	padding-bottom: 60px;
	background:
		radial-gradient(90% 120% at 10% 0%, rgba(120, 40, 190, 0.45) 0%, rgba(120, 40, 190, 0) 60%),
		linear-gradient(100deg, #4a1489 0%, #561a98 45%, #6a2bb3 100%);
}

.mfr-htv .mfr-htv-hero__inner {
	align-items: center;
	gap: 0;
	z-index: 2;
}

.mfr-htv .mfr-htv-hero__icon {
	width: 104px;
	height: 104px;
}

.mfr-htv .mfr-htv-hero__divider {
	align-self: stretch;
	flex: none;
	width: 3px;
	margin: 4px 26px 4px 28px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.9);
}

.mfr-htv .mfr-htv-hero__text {
	min-width: 0;
}

.mfr-htv .mfr-htv-hero__title {
	font: italic 800 clamp(40px, 7vw, 78px)/1.02 "Montserrat", "Inter", "Helvetica Neue", Arial, sans-serif;
	letter-spacing: -0.01em;
	color: #fff;
}

.mfr-htv .mfr-htv-hero__title .mfr-htv-yellow {
	color: #ffc61a;
}

.mfr-htv .mfr-htv-hero__subtitle {
	margin-top: 6px;
	font: italic 700 clamp(18px, 2.4vw, 28px)/1.25 "Montserrat", "Inter", "Helvetica Neue", Arial, sans-serif;
}

.mfr-htv .mfr-htv-hero .mfr-htv-hero__swoosh {
	width: min(340px, 100%);
	height: 10px;
	margin-top: 10px;
}

.mfr-htv .mfr-htv-hero__tagline {
	margin-top: 10px;
	font: italic 500 clamp(15px, 1.4vw, 19px)/1.35 "Montserrat", "Inter", "Helvetica Neue", Arial, sans-serif;
	color: #fff;
}

.mfr-htv .mfr-htv-hero.has-image .mfr-htv-hero__image {
	width: 50%;
	background-position: 60% 40%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 18%, #000 38%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 18%, #000 38%);
}

.mfr-htv .mfr-htv-hero.has-image .mfr-htv-hero__image::after {
	background: linear-gradient(90deg, rgba(120, 50, 200, 0.5) 0%, rgba(140, 80, 210, 0.12) 30%, rgba(140, 80, 210, 0) 50%);
}

.mfr-htv .mfr-htv-hero__waves {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	z-index: 1;
	display: block;
	width: 100%;
	height: 58px;
}

@media (max-width: 1024px) {
	.mfr-htv .mfr-htv-hero__icon {
		width: 88px;
		height: 88px;
	}

	.mfr-htv .mfr-htv-hero__divider {
		margin: 4px 20px 4px 22px;
	}
}

@media (max-width: 767px) {
	.mfr-htv .mfr-htv-hero {
		padding-bottom: 44px;
	}

	.mfr-htv .mfr-htv-hero__icon {
		width: 58px;
		height: 58px;
		align-self: flex-start;
		margin-top: 4px;
	}

	.mfr-htv .mfr-htv-hero__divider {
		width: 2px;
		margin: 2px 14px 2px 14px;
	}

	.mfr-htv .mfr-htv-hero .mfr-htv-hero__swoosh {
		height: 9px;
		margin-top: 12px;
	}

	.mfr-htv .mfr-htv-hero__tagline {
		margin-top: 12px;
	}

	.mfr-htv .mfr-htv-hero .mfr-htv-hero__waves {
		height: 34px;
	}

	.mfr-htv .mfr-htv-hero.has-image .mfr-htv-hero__image {
		width: 100%;
	}
}

/* Banner height as before the redesign: the 80px header sits over the hero,
   so 116px top padding leaves 36px under it (was 56px, trimmed to make room
   for the tagline without growing the banner). */
@media (min-width: 768px) {
	.header_position_over .mfr-htv .mfr-htv-hero {
		padding-top: 116px;
	}
}

/* ==========================================================================
   Card layout v2 (2026-11-06): Enrolment card, Where to Vote centre buttons,
   full-width Official VEC strip.
   ========================================================================== */

.mfr-htv .mfr-htv-card__sub {
	margin-top: 4px;
	font-size: 15px;
	color: var(--htv-text);
}

/* Lines up with the title, past the round icon. */
.mfr-htv .mfr-htv-card__intro--indent {
	padding-left: 80px;
	margin-top: -6px;
}

/* Where to Vote: Early Voting / Election Day centre buttons */
.mfr-htv .mfr-htv-centres {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 12px;
	margin-top: 18px;
}

.mfr-htv .mfr-htv-centre {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 2px solid var(--htv-purple);
	border-radius: 10px;
	background: #fff;
	color: var(--htv-purple);
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.mfr-htv .mfr-htv-centre.is-primary {
	border-color: transparent;
	background: linear-gradient(90deg, var(--htv-purple) 0%, var(--htv-violet) 100%);
	color: #fff;
}

.mfr-htv .mfr-htv-centre:hover,
.mfr-htv .mfr-htv-centre:focus-visible {
	background: var(--htv-purple);
	color: #fff;
	transform: translateY(-1px);
}

.mfr-htv .mfr-htv-centre:focus-visible,
.mfr-htv .mfr-htv-link:focus-visible {
	outline: 3px solid var(--htv-yellow);
	outline-offset: 2px;
}

.mfr-htv .mfr-htv-centre__icon svg {
	width: 30px;
	height: 30px;
}

.mfr-htv .mfr-htv-centre__text {
	display: grid;
	flex: 1;
	min-width: 0;
	font: 500 14px/1.3 "Inter", "Helvetica Neue", Arial, sans-serif;
}

.mfr-htv .mfr-htv-centre__text strong {
	font-size: 15px;
	font-weight: 700;
}

.mfr-htv .mfr-htv-centre__arrow svg,
.mfr-htv .mfr-htv-link__arrow svg {
	width: 18px;
	height: 18px;
	stroke-width: 2.4;
}

/* Enrolment: 2 x 2 link buttons */
.mfr-htv .mfr-htv-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
}

.mfr-htv .mfr-htv-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1.5px solid var(--htv-purple);
	border-radius: 9px;
	background: #fff;
	color: var(--htv-purple);
	font: 700 14px/1.25 "Inter", "Helvetica Neue", Arial, sans-serif;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.mfr-htv .mfr-htv-link:hover,
.mfr-htv .mfr-htv-link:focus-visible {
	background: var(--htv-purple);
	color: #fff;
}

.mfr-htv .mfr-htv-link__icon svg {
	width: 20px;
	height: 20px;
}

.mfr-htv .mfr-htv-link__label {
	flex: 1;
	min-width: 0;
}

.mfr-htv .mfr-htv-note {
	display: flex;
	gap: 12px;
	margin-top: 16px;
	padding: 12px 16px;
	border-radius: 10px;
	background: #fff6dc;
	font-size: 14px;
	line-height: 1.45;
	color: var(--htv-ink);
}

.mfr-htv .mfr-htv-note__icon {
	color: var(--htv-purple);
	padding-top: 1px;
}

.mfr-htv .mfr-htv-note__icon svg {
	width: 22px;
	height: 22px;
}

/* Official VEC: one full-width strip — text | button | divider + logo */
.mfr-htv .mfr-htv-card--official {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 24px 32px;
}

.mfr-htv .mfr-htv-official__body {
	flex: 1;
	min-width: 0;
}

.mfr-htv .mfr-htv-card--official .mfr-htv-card__head {
	margin-bottom: 10px;
}

.mfr-htv .mfr-htv-card--official .mfr-htv-card__intro {
	margin-bottom: 0;
	font-size: 15px;
}

.mfr-htv .mfr-htv-card--official .mfr-htv-official {
	flex: none;
	flex-wrap: nowrap;
	margin-top: 0;
	gap: 28px;
}

.mfr-htv .mfr-htv-card--official .mfr-htv-btn {
	white-space: nowrap;
}

@media (max-width: 1024px) {
	.mfr-htv .mfr-htv-card--official {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 767px) {
	.mfr-htv .mfr-htv-card__intro--indent {
		padding-left: 0;
		margin-top: 0;
	}

	.mfr-htv .mfr-htv-card--official .mfr-htv-official {
		flex-wrap: wrap;
		gap: 18px;
	}
}

/* Keep each centre label on one line; the buttons stack once they can't. */
.mfr-htv .mfr-htv-centres {
	grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
}

.mfr-htv .mfr-htv-centre {
	gap: 10px;
	padding: 11px 12px;
}

.mfr-htv .mfr-htv-centre__icon svg {
	width: 26px;
	height: 26px;
}

.mfr-htv .mfr-htv-centre__text strong {
	font-size: 14.5px;
	white-space: nowrap;
}

/* ==========================================================================
   Where to Vote v3 (2026-11-06): equal-width centre buttons
   (icon | divider | label + date | arrow) that open the centre popups.
   ========================================================================== */

.mfr-htv .mfr-htv-centres {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 14px;
	margin-top: 20px;
}

/* <button>: undo the parent theme's button look. */
.mfr-htv button.mfr-htv-centre {
	width: 100%;
	min-height: 76px;
	margin: 0;
	padding: 14px 16px;
	gap: 14px;
	border: 2px solid var(--htv-purple);
	border-radius: 14px;
	background: #fff;
	box-shadow: none;
	color: var(--htv-purple);
	font: inherit;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
	cursor: pointer;
}

.mfr-htv button.mfr-htv-centre.is-primary {
	border-color: transparent;
	background: linear-gradient(90deg, #4a1a87 0%, #5b2a9e 100%);
	color: #fff;
}

.mfr-htv button.mfr-htv-centre:hover,
.mfr-htv button.mfr-htv-centre:focus-visible {
	border-color: transparent;
	background: var(--htv-purple);
	color: #fff;
}

.mfr-htv button.mfr-htv-centre .mfr-htv-centre__icon {
	padding-right: 14px;
	border-right: 1.5px solid currentColor;
}

.mfr-htv button.mfr-htv-centre .mfr-htv-centre__icon svg {
	width: 30px;
	height: 30px;
}

.mfr-htv button.mfr-htv-centre .mfr-htv-centre__text {
	gap: 3px;
	font: 500 14px/1.3 "Inter", "Helvetica Neue", Arial, sans-serif;
}

.mfr-htv button.mfr-htv-centre .mfr-htv-centre__text strong {
	font-size: 16px;
	font-weight: 800;
	white-space: nowrap;
}

.mfr-htv button.mfr-htv-centre .mfr-htv-centre__arrow svg {
	width: 22px;
	height: 22px;
}

/* ==========================================================================
   Centre popups
   ========================================================================== */

html.mfr-htv-locked {
	overflow: hidden;
}

.mfr-htv dialog.mfr-htv-popup {
	width: min(1180px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100dvh - 40px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 30px 80px -20px rgba(30, 12, 70, 0.55);
	color: var(--htv-text);
	overflow: auto;
	overscroll-behavior: contain;
}

.mfr-htv dialog.mfr-htv-popup::backdrop {
	background: rgba(40, 30, 60, 0.55);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.mfr-htv .mfr-htv-popup__inner {
	position: relative;
	padding: 34px 34px 30px;
}

.mfr-htv button.mfr-htv-popup__close {
	position: absolute;
	top: 20px;
	right: 20px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: var(--htv-purple);
	cursor: pointer;
}

.mfr-htv button.mfr-htv-popup__close:hover,
.mfr-htv button.mfr-htv-popup__close:focus-visible {
	background: var(--htv-soft);
	color: var(--htv-purple);
}

.mfr-htv .mfr-htv-popup__close svg {
	width: 30px;
	height: 30px;
	stroke-width: 2.4;
}

.mfr-htv .mfr-htv-popup__head {
	display: flex;
	align-items: center;
	gap: 24px;
	padding-right: 50px;
	margin-bottom: 26px;
}

.mfr-htv .mfr-htv-popup__icon {
	display: grid;
	place-items: center;
	width: 92px;
	height: 92px;
	flex: none;
	padding-right: 0;
	border-radius: 22px;
	background: #ece2fb;
	color: #3a1470;
}

.mfr-htv .mfr-htv-popup__icon svg {
	width: 50px;
	height: 50px;
}

.mfr-htv .mfr-htv-popup__head > div {
	min-width: 0;
	padding-left: 24px;
	border-left: 1.5px solid #d6c8ee;
}

.mfr-htv .mfr-htv-popup__title {
	font: 800 clamp(24px, 3vw, 38px)/1.15 "Inter", "Helvetica Neue", Arial, sans-serif;
	color: #3a1470;
}

.mfr-htv .mfr-htv-popup__pill {
	display: inline-block;
	margin-top: 10px;
	padding: 6px 20px;
	border-radius: 999px;
	background: var(--htv-yellow);
	font: 700 clamp(13px, 1.4vw, 17px)/1.35 "Inter", "Helvetica Neue", Arial, sans-serif;
	color: var(--htv-ink);
}

/* Centre list */
.mfr-htv .mfr-htv-places {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mfr-htv .mfr-htv-places > li.mfr-htv-place {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	padding: 20px 20px;
	border: 1.5px solid #e2d6f6;
	border-radius: 16px;
	background: linear-gradient(160deg, #fff 55%, #faf7ff 100%);
	list-style: none;
}

.mfr-htv .mfr-htv-places > li.mfr-htv-place::before {
	content: none;
	display: none;
}

.mfr-htv .mfr-htv-place__pin {
	display: grid;
	place-items: center;
	align-self: flex-start;
	width: 54px;
	height: 54px;
	flex: none;
	border-radius: 50%;
	background: #ece2fb;
	color: #3a1470;
}

.mfr-htv .mfr-htv-place__pin svg {
	width: 28px;
	height: 28px;
}

.mfr-htv .mfr-htv-place__body {
	flex: 1;
	min-width: 0;
	padding-right: 18px;
	border-right: 1.5px solid #e2d6f6;
}

.mfr-htv .mfr-htv-place__name {
	margin-bottom: 8px;
	font: 800 20px/1.2 "Inter", "Helvetica Neue", Arial, sans-serif;
	color: #3a1470;
}

.mfr-htv .mfr-htv-place__row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
	font-size: 15.5px;
	line-height: 1.4;
	color: var(--htv-text);
}

.mfr-htv .mfr-htv-place__row svg {
	align-self: flex-start;
	width: 22px;
	height: 22px;
	margin-top: 0;
	color: #3a1470;
}

.mfr-htv .mfr-htv-tag {
	display: inline-block;
	margin-left: 6px;
	padding: 3px 12px;
	border-radius: 999px;
	background: #ece2fb;
	font-weight: 800;
	font-size: 0.95em;
	line-height: 1.3;
	color: #3a1470;
	text-decoration: none;
	border-bottom: 0;
	cursor: help;
}

.mfr-htv .mfr-htv-place__go {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	padding: 10px 16px;
	border: 2px solid var(--htv-yellow);
	border-radius: 10px;
	background: #fff;
	font: 800 15px/1.2 "Inter", "Helvetica Neue", Arial, sans-serif;
	color: #3a1470;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease;
}

.mfr-htv .mfr-htv-place__go:hover,
.mfr-htv .mfr-htv-place__go:focus-visible {
	background: var(--htv-yellow);
	color: #3a1470;
}

.mfr-htv .mfr-htv-place__go svg {
	width: 18px;
	height: 18px;
	stroke-width: 2.4;
}

/* Legend */
.mfr-htv .mfr-htv-legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1.5px solid #e2d6f6;
}

.mfr-htv .mfr-htv-legend__icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	flex: none;
	border-radius: 50%;
	background: #ece2fb;
	color: #3a1470;
}

.mfr-htv .mfr-htv-legend__icon svg {
	width: 28px;
	height: 28px;
}

.mfr-htv .mfr-htv-legend__title {
	padding-right: 22px;
	border-right: 1.5px solid #d6c8ee;
	font: 800 24px/1.2 "Inter", "Helvetica Neue", Arial, sans-serif;
	color: #3a1470;
}

.mfr-htv .mfr-htv-legend__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 36px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mfr-htv .mfr-htv-legend__list li {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	color: var(--htv-text);
}

.mfr-htv .mfr-htv-legend__list li::before {
	content: none;
	display: none;
}

.mfr-htv .mfr-htv-legend__list .mfr-htv-tag {
	margin: 0 4px 0 0;
	cursor: default;
}

/* Notes */
.mfr-htv .mfr-htv-popup__notes {
	display: grid;
	gap: 10px;
	margin-top: 22px;
}

.mfr-htv .mfr-htv-popup__notes p {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 12px 20px;
	border-radius: 12px;
	background: #ece2fb;
	font-style: italic;
	font-size: 16px;
	line-height: 1.4;
	color: var(--htv-ink);
	text-align: left;
}

.mfr-htv .mfr-htv-popup__notes svg {
	width: 24px;
	height: 24px;
	color: #3a1470;
}

.mfr-htv .mfr-htv-popup__notes a {
	font-weight: 700;
	color: #3a1470;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* 14-centre list: denser rows, as in the Election Day design. */
.mfr-htv .mfr-htv-popup.is-long .mfr-htv-places {
	gap: 12px 16px;
}

.mfr-htv .mfr-htv-popup.is-long .mfr-htv-places > li.mfr-htv-place {
	padding: 12px 18px;
}

.mfr-htv .mfr-htv-popup.is-long .mfr-htv-place__pin {
	align-self: center;
}

.mfr-htv .mfr-htv-popup.is-long .mfr-htv-place__name {
	margin-bottom: 4px;
	font-size: 18px;
}

.mfr-htv .mfr-htv-popup.is-long .mfr-htv-place__row {
	margin-top: 2px;
	font-size: 14.5px;
}

.mfr-htv .mfr-htv-popup.is-long .mfr-htv-place__row svg {
	width: 19px;
	height: 19px;
}

.mfr-htv .mfr-htv-popup.is-long .mfr-htv-tag {
	padding: 1px 10px;
}

.mfr-htv .mfr-htv-popup.is-long .mfr-htv-place__go {
	padding: 8px 12px;
	font-size: 14px;
}

@media (max-width: 960px) {
	.mfr-htv .mfr-htv-places {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	.mfr-htv button.mfr-htv-centre .mfr-htv-centre__text strong {
		white-space: normal;
	}

	.mfr-htv dialog.mfr-htv-popup {
		width: calc(100vw - 20px);
		max-height: calc(100dvh - 20px);
		border-radius: 18px;
	}

	.mfr-htv .mfr-htv-popup__inner {
		padding: 22px 16px 18px;
	}

	.mfr-htv button.mfr-htv-popup__close {
		top: 10px;
		right: 8px;
	}

	.mfr-htv .mfr-htv-popup__head {
		gap: 14px;
		padding-right: 46px;
		margin-bottom: 18px;
	}

	.mfr-htv .mfr-htv-popup__icon {
		width: 56px;
		height: 56px;
		border-radius: 16px;
		align-self: flex-start;
	}

	.mfr-htv .mfr-htv-popup__icon svg {
		width: 30px;
		height: 30px;
	}

	.mfr-htv .mfr-htv-popup__head > div {
		padding-left: 0;
		border-left: 0;
	}

	.mfr-htv .mfr-htv-popup__pill {
		padding: 6px 14px;
		border-radius: 14px;
	}

	.mfr-htv .mfr-htv-places > li.mfr-htv-place,
	.mfr-htv .mfr-htv-popup.is-long .mfr-htv-places > li.mfr-htv-place {
		flex-wrap: wrap;
		gap: 12px;
		padding: 14px;
	}

	.mfr-htv .mfr-htv-place__pin,
	.mfr-htv .mfr-htv-popup.is-long .mfr-htv-place__pin {
		width: 42px;
		height: 42px;
		align-self: flex-start;
	}

	.mfr-htv .mfr-htv-place__pin svg {
		width: 22px;
		height: 22px;
	}

	.mfr-htv .mfr-htv-place__body {
		padding-right: 0;
		border-right: 0;
	}

	.mfr-htv .mfr-htv-place__go {
		margin-left: 54px;
	}

	.mfr-htv .mfr-htv-legend {
		gap: 12px 14px;
	}

	.mfr-htv .mfr-htv-legend__icon {
		width: 44px;
		height: 44px;
	}

	.mfr-htv .mfr-htv-legend__title {
		padding-right: 0;
		border-right: 0;
		font-size: 20px;
	}

	.mfr-htv .mfr-htv-legend__list {
		flex-direction: column;
		flex-basis: 100%;
	}

	.mfr-htv .mfr-htv-popup__notes p {
		justify-content: flex-start;
		padding: 10px 14px;
		font-size: 14.5px;
	}
}

/*
 * Keep the two centre buttons side by side at desktop widths: the card's
 * text area is only ~500px, so the buttons are trimmed to fit. The date
 * may break after "Saturday," (each part is nowrap) but never mid-date.
 */
.mfr-htv .mfr-htv-card--where {
	padding-left: 22px;
	padding-right: 22px;
}

.mfr-htv .mfr-htv-card--where .mfr-htv-card__intro--indent {
	padding-left: 86px;
}

.mfr-htv .mfr-htv-centres {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.mfr-htv button.mfr-htv-centre {
	padding: 12px;
	gap: 10px;
}

.mfr-htv button.mfr-htv-centre .mfr-htv-centre__icon {
	padding-right: 10px;
}

.mfr-htv button.mfr-htv-centre .mfr-htv-centre__icon svg {
	width: 26px;
	height: 26px;
}

.mfr-htv button.mfr-htv-centre .mfr-htv-centre__text {
	font-size: 13px;
}

.mfr-htv button.mfr-htv-centre .mfr-htv-centre__text strong {
	font-size: 14px;
}

.mfr-htv .mfr-htv-centre__text .mfr-htv-nowrap {
	white-space: nowrap;
}

.mfr-htv button.mfr-htv-centre .mfr-htv-centre__arrow svg {
	width: 18px;
	height: 18px;
}

/* Too narrow for two: stack them (tablet columns, phones). */
@media (max-width: 1060px) and (min-width: 768px), (max-width: 480px) {
	.mfr-htv .mfr-htv-centres {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	.mfr-htv .mfr-htv-card--where {
		padding-left: 18px;
		padding-right: 18px;
	}

	.mfr-htv .mfr-htv-card--where .mfr-htv-card__intro--indent {
		padding-left: 0;
	}
}

/* Long (Election Day) list: wider popup and smaller pins so names fit on one line. */
.mfr-htv dialog.mfr-htv-popup.is-long {
	width: min(1320px, calc(100vw - 32px));
}

@media (min-width: 768px) {
	.mfr-htv .mfr-htv-popup.is-long .mfr-htv-place__pin {
		width: 44px;
		height: 44px;
	}

	.mfr-htv .mfr-htv-popup.is-long .mfr-htv-place__pin svg {
		width: 23px;
		height: 23px;
	}

	.mfr-htv .mfr-htv-popup.is-long .mfr-htv-places > li.mfr-htv-place {
		gap: 14px;
	}
}

.mfr-htv button.mfr-htv-centre .mfr-htv-centre__text strong {
	font-size: 13.5px;
	letter-spacing: -0.01em;
}

/* Phones: name/address take the row beside the pin; Get Directions drops below. */
@media (max-width: 767px) {
	.mfr-htv .mfr-htv-place__body {
		flex: 1 1 calc(100% - 54px);
	}
}

/*
 * Close X stays in the popup's top corner while the list scrolls (the
 * Election Day list is ~3,500px tall on phones, which have no Escape key).
 * Sticky inside the scrolling <dialog>; the negative bottom margin keeps it
 * from taking up a row of its own.
 */
.mfr-htv .mfr-htv-popup button.mfr-htv-popup__close {
	position: sticky;
	top: 14px;
	right: auto;
	z-index: 3;
	margin: -14px -14px -30px auto;
	background: #fff;
	box-shadow: 0 2px 10px rgba(40, 20, 90, 0.18);
}

.mfr-htv .mfr-htv-popup button.mfr-htv-popup__close:hover,
.mfr-htv .mfr-htv-popup button.mfr-htv-popup__close:focus-visible {
	background: var(--htv-soft);
}

@media (max-width: 767px) {
	.mfr-htv .mfr-htv-popup button.mfr-htv-popup__close {
		top: 10px;
		margin: -12px -6px -32px auto;
	}
}

/* ==========================================================================
   Type scale (2026-11-06). One set of sizes for the cards and popups;
   the hero and the Vote 1 band keep their own display sizes.
     --htv-fs-sm    14px  pills, button labels, addresses, notes, legend
     --htv-fs-base  16px  body copy, lists, intros, timeline
     --htv-fs-h3    18px  item headings (ballot papers, centres, legend)
     card titles    clamp(22px, 2.4vw, 28px) (unchanged)
   ========================================================================== */

.mfr-htv {
	--htv-fs-sm: 14px;
	--htv-fs-base: 16px;
	--htv-fs-h3: 18px;
}

/* Body copy */
.mfr-htv .mfr-htv-card__intro,
.mfr-htv .mfr-htv-card--official .mfr-htv-card__intro,
.mfr-htv .mfr-htv-card__sub,
.mfr-htv .mfr-htv-checks li,
.mfr-htv .mfr-htv-timeline li,
.mfr-htv .mfr-htv-paper__text {
	font-size: var(--htv-fs-base);
	line-height: 1.55;
}

/* Item headings */
.mfr-htv .mfr-htv-paper__title,
.mfr-htv .mfr-htv-place__name,
.mfr-htv .mfr-htv-popup.is-long .mfr-htv-place__name,
.mfr-htv .mfr-htv-legend__title {
	font-size: var(--htv-fs-h3);
	line-height: 1.3;
}

/* Small text */
.mfr-htv .mfr-htv-card__date,
.mfr-htv .mfr-htv-popup__pill,
.mfr-htv .mfr-htv-note,
.mfr-htv .mfr-htv-place__row,
.mfr-htv .mfr-htv-popup.is-long .mfr-htv-place__row,
.mfr-htv .mfr-htv-tag,
.mfr-htv .mfr-htv-legend__list li,
.mfr-htv .mfr-htv-popup__notes p {
	font-size: var(--htv-fs-sm);
	line-height: 1.45;
}

.mfr-htv .mfr-htv-card__date,
.mfr-htv .mfr-htv-popup__pill {
	line-height: 1.35;
}

/* Button labels: all buttons on the page */
.mfr-htv .mfr-htv-btn,
.mfr-htv .mfr-htv-link,
.mfr-htv .mfr-htv-place__go,
.mfr-htv .mfr-htv-popup.is-long .mfr-htv-place__go,
.mfr-htv button.mfr-htv-centre .mfr-htv-centre__text,
.mfr-htv button.mfr-htv-centre .mfr-htv-centre__text strong {
	font-size: var(--htv-fs-sm);
	letter-spacing: normal;
}

/* Popup title, one step above the card titles */
.mfr-htv .mfr-htv-popup__title {
	font-size: clamp(24px, 3vw, 34px);
}

/* Room for 14px labels in the two side-by-side centre buttons (~500px card). */
.mfr-htv .mfr-htv-card--where {
	padding-left: 20px;
	padding-right: 20px;
}

.mfr-htv .mfr-htv-card--where .mfr-htv-card__intro--indent {
	padding-left: 88px;
}

.mfr-htv button.mfr-htv-centre {
	padding: 12px 10px;
	gap: 8px;
}

.mfr-htv button.mfr-htv-centre .mfr-htv-centre__icon {
	padding-right: 8px;
}

@media (max-width: 767px) {
	.mfr-htv .mfr-htv-card--where {
		padding-left: 18px;
		padding-right: 18px;
	}

	.mfr-htv .mfr-htv-card--where .mfr-htv-card__intro--indent {
		padding-left: 0;
	}

	.mfr-htv button.mfr-htv-centre {
		padding: 12px 14px;
		gap: 12px;
	}
}
