.block--single-post-header {
	position: relative;
	min-height: 720px;
}

@media screen and (max-width: 1024px) {
	.block--single-post-header {
		position: relative;
		min-height: 420px;
	}
}

@media screen and (max-width: 768px) {
	.block--single-post-header {
		position: relative;
		min-height: 0;
	}
}

.block--single-post-header--main {
	position: relative;
	padding: 80px 0 180px;
	z-index: 1;
}

.block--single-post-header--main--box {
	position: relative;
	padding: 48px;
	max-width: 780px;
}

.block--single-post-header--main--box > * {
	position: relative;
	z-index: 1;
}

.block--single-post-header--main--box h1 {
	color: white;
}

.block--single-post-header--main--box::after {
	display: block;
	position: absolute;
	inset: 0;
	content: '';
	height: 100%;
	width: 100%;
	border-radius: 20px;
	background: var(--Blue, #005e7d);
	mix-blend-mode: multiply;
	box-shadow: 0px 0px 40px 0px rgba(0, 94, 125, 0.4);
	z-index: 0;
}

@media screen and (max-width: 768px) {
	.block--single-post-header--main {
		position: relative;
		padding: 80px 0 120px;
		z-index: 1;
	}
}

.block--single-post-header--bg {
	position: absolute;
	height: 100%;
	inset: 0;
	width: 100%;
	overflow: hidden;
	z-index: 0;
}

.block--single-post-header--bg img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center;
}

.block--single-post-header--decoration {
	position: absolute;
	width: 100%;
	bottom: 0;
}

.block--single-post-header--decoration img {
	width: 100%;
}

.block--single-post-content {
	padding: 140px 0 140px;
}

@media screen and (max-width: 640px) {
	.block--single-post-content {
		padding: 40px 0 40px 0;
	}
}

.block--single-post-content .container {
	--wp--style--global--wide-size: 1100px;
}

.block--single-post-content figure {
	margin-bottom: 1rem;
}

.block--single-post-content :where(h1, h2, h3, h4, h5, h6) {
	margin-top: 1.5rem;
	margin-bottom: 1rem;
}

.block--blog-content {
	padding: 0px 0 140px;
}

.block--blog-content--articles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 24px;
	row-gap: 64px;
}

@media screen and (min-width: 1820px) {
	.block--blog-content--articles {
		grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
	}
}

@media screen and (max-width: 480px) {
	.block--blog-content--articles {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
		gap: 24px;
	}
}

.blog-card {
	display: flex;
	flex-direction: column;
	/* box-shadow: 0px 0px 20px rgba(0, 94, 125, 0.20); */
	border-radius: 20px;
	overflow: hidden;
}

.blog-card--content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 20px 0 0;
}

.blog-card--thumb {
	position: relative;
	border-radius: 20px;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.blog-card--thumb img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	transition: filter 0.3s ease;
}

.blog-card--thumb--link {
	position: relative;
}

.blog-card--thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(61, 181, 230, 0.2); /* soft light blue overlay */
	opacity: 0;
	z-index: 1;
	transition: opacity 0.3s ease;
}

.blog-card--thumb--link:hover::after {
	opacity: 1;
}

.blog-card:hover .blog-card--thumb::after {
	opacity: 1;
}

.blog-card:hover .blog-card--thumb img {
	filter: grayscale(100%);
}

.blog-card--content--category {
	font-family: var(--wp--preset--font-family--museo-sans);
	color: #666666;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 140%; /* 22.4px */
	text-transform: uppercase;
}

.blog-card--content--date {
	color: #3db5e6;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.blog-card--content--title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
	color: #fff;
	font-style: normal;
	font-weight: 400;
	letter-spacing: -0.64px;
}

.blog-card--content--title > * {
	color: #fff;
	font-style: normal;
	font-weight: 400;
	letter-spacing: -0.64px;
}

.blog-card--read-more {
	color: var(--Iron, #171718);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 0.16px;
	text-transform: uppercase;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.blog-card--read-more svg {
	margin-top: -5px;
}

.block--blog-header {
	position: relative;
}

.block--blog-header--main {
	padding-top: 64px;
	background-color: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--white);
}

.block--blog-header--main h1 {
	position: relative;
	color: var(--wp--preset--color--white);
	margin-bottom: 0;
	z-index: 1;
}

.block--blog-header--decoration {
	width: 100%;
	z-index: 0;
	margin-top: -40px;
}

@media screen and (max-width: 1280px) {
	.block--blog-header--decoration {
		margin-top: 0px;
	}
}

.block--blog-header--decoration img {
	width: 100%;
}

.block--page-hero--meta {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}

.block--page-hero--meta .category > * {
	font-family: var(--wp--preset--font-family--museo-sans);
	color: var(--wp--preset--color--sw-white);
	text-transform: uppercase;
	text-decoration: none;
}

.block--page-hero--meta .delimiter {
	font-family: var(--wp--preset--font-family--museo-sans);
	color: var(--wp--preset--color--sw-white);
	text-transform: uppercase;
	text-decoration: none;
}

.block--page-hero--meta .date {
	font-family: var(--wp--preset--font-family--museo-sans);
	color: #6ca6cc;
	text-transform: uppercase;
	text-decoration: none;
}

.blog-page--content--filters-inner {
	position: relative;
	overflow-x: auto;
	overflow-y: hidden;
}

.blog-page--content--filters {
	list-style: none;
	padding: 0;
	display: flex;
	gap: 48px;
	align-items: center;
	margin-bottom: 64px;
	border-bottom: 1px solid #6ca6cc;
}

.blog-page--content--filters li a {
	display: inline-flex;
	padding: 10px;
	border-bottom: 4px solid transparent;
	text-decoration: none;
	font-size: var(--wp--preset--font-size--intro);
	margin-bottom: -1px;
	white-space: nowrap;
}

.blog-page--content--filters li a.active {
	color: #01395c;
	font-weight: 300;
	border-color: var(--wp--preset--color--sw-yellow);
}

.block--blog-content--articles {
	margin-bottom: 64px;
}

/* Pagination styles - matching projects-grid */
.projects-pagination {
	margin-top: var(--wp--preset--spacing--60);
	text-align: center;
}

.pagination-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.pagination-nav a,
.pagination-nav span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 8px 12px;
	background-color: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(3px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: var(--wp--preset--color--white);
	text-decoration: none;
	border-radius: 16px;
	transition: all 0.3s ease;
	font-size: 14px;
	font-weight: 500;
}

.pagination-nav a:hover {
	background-color: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-1px);
}

.pagination-nav .current {
	background-color: rgba(61, 181, 230, 0.2);
	border-color: #3db5e6;
	color: #3db5e6;
}

.pagination-nav .dots {
	background-color: transparent;
	border: none;
	color: rgba(255, 255, 255, 0.5);
	cursor: default;
}

.pagination-nav .dots:hover {
	background-color: transparent;
	transform: none;
}

@media screen and (max-width: 768px) {
	.pagination-nav {
		gap: 4px;
	}

	.pagination-nav a,
	.pagination-nav span {
		min-width: 36px;
		height: 36px;
		padding: 6px 10px;
		font-size: 13px;
	}
}

.block--single-post-footer {
	padding: 0 0 140px;
}

@media screen and (max-width: 640px) {
	.block--single-post-footer {
		padding: 0 0 64px;
	}
}

.block--single-post-footer .block--blog-content--articles {
	margin-bottom: 0;
}

.block--single-post-footer--next {
	margin-bottom: 64px;
}

.block--single-post-footer--related h2 {
	font-size: clamp(20px, 1.25rem + ((1vw - 3.2px) * 1.053), 32px);
}
