/* MHFP Load More 1.0.1 — scoped to the markup created by assets/load-more.js. */
.mhfp-load-more {
	--mhfp-lm-accent: #f7c400;
	--mhfp-lm-ink: #1f2d5a;
	--mhfp-lm-muted: #ffffff;
	--mhfp-lm-focus: #ffffff;
	box-sizing: border-box;
	clear: both;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
	float: none;
	grid-column: 1 / -1;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	margin: 22px auto 18px;
	padding: 0 16px;
	text-align: center;
	overflow-anchor: none;
}

.mhfp-load-more,
.mhfp-load-more * {
	box-sizing: border-box;
}

.mhfp-load-more[hidden],
.mhfp-load-more [hidden] {
	display: none !important;
}

/* The actual Load More control is an <a>, not a <button>. */
.mhfp-load-more a.mhfp-load-more__button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	float: none;
	width: auto;
	min-width: 220px;
	max-width: 100%;
	min-height: 64px;
	margin: 0;
	padding: 16px 28px;
	border: 2px solid transparent;
	border-radius: 22px;
	background-color: var(--mhfp-lm-accent);
	background-image: none;
	color: var(--mhfp-lm-ink) !important;
	box-shadow: none;
	font-family: inherit;
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	white-space: normal;
	word-break: normal;
	overflow-wrap: anywhere;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .2s ease, filter .2s ease, border-color .2s ease, transform .2s ease;
}

/* Override theme link colors, including on the nested label. */
.mhfp-load-more a.mhfp-load-more__button:link,
.mhfp-load-more a.mhfp-load-more__button:visited,
.mhfp-load-more a.mhfp-load-more__button:hover,
.mhfp-load-more a.mhfp-load-more__button:focus,
.mhfp-load-more a.mhfp-load-more__button:active,
.mhfp-load-more a.mhfp-load-more__button .mhfp-load-more__label {
	color: var(--mhfp-lm-ink) !important;
	text-decoration: none;
}

.mhfp-load-more a.mhfp-load-more__button::before,
.mhfp-load-more a.mhfp-load-more__button::after {
	display: none;
	content: none;
}

/* A faint 2px border is reserved at rest, so hover does not shift the layout. */
@media (hover: hover) {
	.mhfp-load-more a.mhfp-load-more__button:hover:not([aria-disabled="true"]) {
		filter: brightness(0.94);
		border-color: var(--mhfp-lm-ink);
	}
}

.mhfp-load-more a.mhfp-load-more__button:focus:not([aria-disabled="true"]) {
	filter: brightness(0.94);
	border-color: var(--mhfp-lm-ink);
}

/* Preserve a visible keyboard focus ring rather than removing the outline. */
.mhfp-load-more a.mhfp-load-more__button:focus-visible,
.mhfp-load-more a.mhfp-load-more__fallback:focus-visible {
	outline: 3px solid var(--mhfp-lm-focus);
	outline-offset: 4px;
}

.mhfp-load-more a.mhfp-load-more__button:active:not([aria-disabled="true"]) {
	filter: brightness(0.90);
	transform: translateY(1px);
}

.mhfp-load-more a.mhfp-load-more__button[aria-disabled="true"] {
	opacity: .75;
	cursor: wait;
	filter: none;
	box-shadow: none;
}

.mhfp-load-more .mhfp-load-more__spinner {
	display: inline-block;
	flex: 0 0 19px;
	width: 19px;
	height: 19px;
	border: 2px solid rgb(31 45 90 / 25%);
	border-top-color: var(--mhfp-lm-ink);
	border-radius: 50%;
	animation: mhfp-load-more-spin 700ms linear infinite;
}

.mhfp-load-more .mhfp-load-more__label {
	font: inherit;
}

/* Count/status appears under the button. */
.mhfp-load-more .mhfp-load-more__status {
	width: 100%;
	max-width: 680px;
	min-height: 1.5em;
	margin: 14px 0 0;
	padding: 0;
	color: var(--mhfp-lm-muted);
	font-family: inherit;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	overflow-wrap: anywhere;
}

.mhfp-load-more .mhfp-load-more__fallback {
	display: inline-block;
	max-width: 100%;
	min-height: 44px;
	margin: 8px 0 0;
	padding: 8px 12px;
	color: var(--mhfp-lm-accent);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: underline;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
	touch-action: manipulation;
}

.mhfp-load-more .mhfp-load-more__progress {
	width: 320px;
	max-width: 100%;
	height: 4px;
	border: 0;
	border-radius: 3px;
	accent-color: var(--mhfp-lm-accent);
}

/* On light backgrounds, use dark status text and a dark focus outline. */
html[data-mhfp-theme="light"] .mhfp-load-more {
	--mhfp-lm-muted: #50576d;
	--mhfp-lm-focus: #1f2d5a;
}

html[data-mhfp-theme="light"] .mhfp-load-more .mhfp-load-more__fallback {
	color: #333b56;
}

@media (max-width: 767px) {
	.mhfp-load-more {
		padding-right: 12px;
		padding-left: 12px;
	}

	.mhfp-load-more a.mhfp-load-more__button {
		min-width: 180px;
		min-height: 56px;
		padding: 14px 22px;
		font-size: 16px;
		border-radius: 18px;
	}
}

@media (max-width: 480px) {
	.mhfp-load-more {
		margin-top: 22px;
		margin-bottom: 16px;
	}

	.mhfp-load-more .mhfp-load-more__status {
		font-size: 16px;
	}
}

@keyframes mhfp-load-more-spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.mhfp-load-more a.mhfp-load-more__button {
		transition: none;
	}

	.mhfp-load-more .mhfp-load-more__spinner {
		animation: none;
	}
}

@media (forced-colors: active) {
	.mhfp-load-more a.mhfp-load-more__button {
		border: 2px solid ButtonText;
	}
}

@media print {
	.mhfp-load-more {
		display: none !important;
	}
}
