.hspd-post-grid-wrap {
	--hspd-accent: #e3000f;
	--hspd-accent-hover: #bd000c;
	--hspd-text: #666666;
	--hspd-heading: #333333;
	--hspd-muted: #737373;
	--hspd-border: #e4e4e4;
	--hspd-surface: #ffffff;
	--hspd-gap: clamp(1rem, 2.2vw, 1.75rem);
	box-sizing: border-box;
	max-width: 100%;
	color: var(--hspd-text);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.65;
}

.hspd-home-posts {
	--hspd-accent: #e3000f;
	--hspd-accent-hover: #bd000c;
	box-sizing: border-box;
	max-width: 100%;
	font-family: inherit;
}

.hspd-home-posts *,
.hspd-home-posts *::before,
.hspd-home-posts *::after {
	box-sizing: border-box;
}

.hspd-post-grid-wrap *,
.hspd-post-grid-wrap *::before,
.hspd-post-grid-wrap *::after {
	box-sizing: border-box;
}

.hspd-post-grid {
	display: grid;
	grid-template-columns: repeat(var(--hspd-columns-desktop, 3), minmax(0, 1fr));
	gap: var(--hspd-gap);
	width: 100%;
	margin: 0;
	padding: 0;
}

.hspd-post-card {
	display: flex;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	flex-direction: column;
	overflow: hidden;
	background: var(--hspd-surface);
	border: 1px solid var(--hspd-border);
	border-radius: 3px;
}

.hspd-post-image-link {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f1f1f1;
	isolation: isolate;
}

.hspd-post-image {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	max-width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	object-position: center top;
	border: 0;
}

.hspd-post-image-backdrop {
	position: absolute;
	z-index: 0;
	top: -6%;
	right: -6%;
	bottom: -6%;
	left: -6%;
	display: block;
	width: 112%;
	max-width: none;
	height: 112%;
	margin: 0;
	padding: 0;
	object-fit: cover;
	filter: blur(18px);
	transform: scale(1.08);
	opacity: 0.78;
	border: 0;
}

.hspd-post-image-placeholder {
	object-fit: cover;
	object-position: center;
}

.hspd-post-content {
	display: flex;
	min-width: 0;
	min-height: 0;
	padding: clamp(1rem, 2vw, 1.35rem);
	flex: 1 1 auto;
	flex-direction: column;
}

.hspd-post-date {
	display: block;
	margin: 0 0 0.45rem;
	color: var(--hspd-muted);
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.4;
}

.hspd-post-title {
	display: -webkit-box;
	min-width: 0;
	min-height: 3.9em;
	margin: 0 0 0.65rem;
	padding: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	color: var(--hspd-heading);
	font-family: inherit;
	font-size: clamp(1.1rem, 1.6vw, 1.35rem);
	font-weight: 600;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.hspd-post-title a {
	color: inherit;
	text-decoration: none;
}

.hspd-post-title a:hover {
	color: var(--hspd-accent);
}

.hspd-post-excerpt {
	display: -webkit-box;
	min-width: 0;
	margin: 0 0 1rem;
	padding: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--hspd-excerpt-lines, 3);
	color: var(--hspd-text);
	font-size: 0.95rem;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.hspd-post-read-more,
.hspd-load-more,
.hspd-posts-page-button {
	display: inline-flex;
	min-height: 44px;
	max-width: 100%;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1rem;
	color: #ffffff;
	font: inherit;
	font-size: 0.94rem;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	overflow-wrap: anywhere;
	background: var(--hspd-accent);
	border: 2px solid var(--hspd-accent);
	border-radius: 2px;
	cursor: pointer;
}

.hspd-post-read-more {
	align-self: flex-start;
	margin-top: auto;
}

.hspd-post-read-more:hover,
.hspd-load-more:hover,
.hspd-posts-page-button:hover {
	color: #ffffff;
	background: var(--hspd-accent-hover);
	border-color: var(--hspd-accent-hover);
	text-decoration: none;
}

.hspd-post-image-link:focus,
.hspd-post-title a:focus,
.hspd-post-read-more:focus,
.hspd-load-more:focus,
.hspd-posts-page-button:focus {
	outline: 3px solid #111111;
	outline-offset: 3px;
}

.hspd-post-image-link:focus:not(:focus-visible),
.hspd-post-title a:focus:not(:focus-visible),
.hspd-post-read-more:focus:not(:focus-visible),
.hspd-load-more:focus:not(:focus-visible),
.hspd-posts-page-button:focus:not(:focus-visible) {
	outline: none;
}

.hspd-post-image-link:focus-visible,
.hspd-post-title a:focus-visible,
.hspd-post-read-more:focus-visible,
.hspd-load-more:focus-visible,
.hspd-posts-page-button:focus-visible {
	outline: 3px solid #111111;
	outline-offset: 3px;
}

.hspd-load-more-wrap {
	display: flex;
	width: 100%;
	margin-top: clamp(1.25rem, 3vw, 2rem);
	justify-content: center;
}

.hspd-posts-page-link-wrap {
	display: flex;
	width: 100%;
	margin-top: clamp(1.25rem, 3vw, 2rem);
	justify-content: center;
}

.hspd-posts-page-button {
	font-family: inherit;
}

.hspd-load-more[hidden] {
	display: none;
}

.hspd-load-more:disabled {
	cursor: wait;
	opacity: 0.7;
}

.hspd-post-grid-status,
.hspd-post-grid-empty {
	margin: 1rem 0 0;
	color: var(--hspd-text);
	font-size: 0.95rem;
	text-align: center;
}

.hspd-post-grid-status:empty {
	display: none;
}

.hspd-post-grid-status.is-error {
	padding: 0.75rem 1rem;
	color: #8a1119;
	background: #fff2f3;
	border-left: 4px solid var(--hspd-accent);
}

.hspd-post-grid-wrap .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 980px) {
	.hspd-post-grid {
		grid-template-columns: repeat(var(--hspd-columns-tablet, 2), minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.hspd-post-grid-wrap {
		--hspd-gap: 1rem;
		width: 100%;
		max-width: 100%;
	}

	.hspd-post-grid {
		grid-template-columns: repeat(var(--hspd-columns-mobile, 1), minmax(0, 1fr));
	}

	.hspd-post-content {
		padding: 1rem;
	}

	.hspd-post-title {
		font-size: 1.12rem;
	}

	.hspd-post-excerpt {
		font-size: 0.94rem;
	}

	.hspd-post-read-more,
	.hspd-load-more,
	.hspd-posts-page-button {
		min-height: 46px;
	}
}

@supports not (aspect-ratio: 1 / 1) {
	.hspd-post-image-link {
		position: relative;
		height: 0;
		padding-bottom: 75%;
	}

	.hspd-post-image {
		position: absolute;
		top: 0;
		left: 0;
	}

	.hspd-post-image-backdrop {
		top: -6%;
		left: -6%;
	}
}
