.blog-listing {
	box-sizing: border-box;
	min-height: 60vh;
	padding: 42px 24px 72px;
	background: #f4f7fa;
}

.blog-listing *,
.blog-listing *::before,
.blog-listing *::after {
	box-sizing: border-box;
}

.blog-listing .site-main {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
}

.blog-archive-header {
	position: relative;
	overflow: hidden;
	margin: 0 0 30px;
	padding: 38px 42px;
	border-radius: 18px;
	background: linear-gradient(135deg, #075d94 0%, #1087c4 100%);
	box-shadow: 0 16px 34px rgba( 6, 76, 119, 0.2 );
	color: #fff;
}

.blog-archive-header::after {
	position: absolute;
	top: -75px;
	right: -55px;
	width: 230px;
	height: 230px;
	border: 38px solid rgba( 255, 255, 255, 0.09 );
	border-radius: 50%;
	content: '';
}

.blog-archive-header__eyebrow {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	opacity: 0.85;
}

.blog-archive-header__title {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #fff;
	font-size: clamp( 32px, 5vw, 48px );
	font-weight: 700;
	line-height: 1.08;
}

.blog-archive-header__description {
	position: relative;
	z-index: 1;
	max-width: 680px;
	margin: 14px 0 0;
	color: rgba( 255, 255, 255, 0.9 );
	font-size: 17px;
	line-height: 1.55;
}

.blog-archive-header__description p {
	margin: 0;
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 24px;
}

.blog-card {
	display: flex;
	overflow: hidden;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	border: 1px solid #e1e7ec;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba( 26, 54, 73, 0.08 );
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.blog-card:hover {
	transform: translateY( -4px );
	box-shadow: 0 16px 34px rgba( 26, 54, 73, 0.15 );
}

.blog-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #e9eef2;
}

.blog-card__image {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	transition: transform 260ms ease;
}

.blog-card__image--contain {
	padding: 28px;
	background: #f2f6f8;
	object-fit: contain;
}

.blog-card:hover .blog-card__image {
	transform: scale( 1.035 );
}

.blog-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background: radial-gradient( circle at 30% 25%, #fff 0, #edf6fb 42%, #d5e7f1 100% );
	color: #096aa4;
}

.blog-card__placeholder strong {
	font-size: 42px;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

.blog-card__placeholder small {
	margin-top: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2em;
}

.blog-card__body {
	display: flex;
	align-items: flex-start;
	flex: 1;
	flex-direction: column;
	padding: 22px;
}

.blog-card__date {
	margin-bottom: 9px;
	color: #71808b;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.blog-card__title {
	margin: 0 0 12px;
	padding: 0;
	background: transparent;
	color: #075d94;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
}

.blog-card__title a {
	color: #075d94;
	text-decoration: none;
}

.blog-card__title a:hover,
.blog-card__title a:focus {
	color: #029d67;
}

.blog-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 20px;
	color: #52616c;
	font-size: 15px;
	line-height: 1.65;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.blog-card__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 38px;
	margin-top: auto;
	padding: 9px 18px;
	border-radius: 999px;
	background: #00c77b;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: background 160ms ease, transform 160ms ease;
}

.blog-card__link:hover,
.blog-card__link:focus {
	background: #009f63;
	color: #fff;
	transform: translateX( 2px );
}

.blog-listing .navigation {
	margin: 34px 0 0;
}

.blog-listing .nav-links {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.blog-listing .nav-links a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 10px 18px;
	border: 1px solid #d6e0e7;
	border-radius: 999px;
	background: #fff;
	color: #075d94;
	font-weight: 700;
	text-decoration: none;
}

.blog-listing .nav-links a:hover,
.blog-listing .nav-links a:focus {
	border-color: #00c77b;
	color: #009f63;
}

@media ( max-width: 900px ) {
	.blog-grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 620px ) {
	.blog-listing {
		padding: 24px 14px 52px;
	}

	.blog-archive-header {
		padding: 28px 24px;
		border-radius: 14px;
	}

	.blog-archive-header__description {
		font-size: 15px;
	}

	.blog-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.blog-card__body {
		padding: 19px;
	}
}

/* Single blog article. */
.article-layout {
	box-sizing: border-box;
	min-height: 60vh;
	padding: 42px 24px 72px;
	background: #f4f7fa;
}

.article-layout *,
.article-layout *::before,
.article-layout *::after {
	box-sizing: border-box;
}

.article-layout .site-main {
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
}

.article-shell {
	overflow: hidden;
	margin: 0;
	border: 1px solid #e1e7ec;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 38px rgba( 26, 54, 73, 0.1 );
}

.article-header {
	position: relative;
	overflow: hidden;
	padding: 44px 58px 42px;
	background: linear-gradient( 135deg, #075d94 0%, #1087c4 100% );
	color: #fff;
}

.article-header::after {
	position: absolute;
	top: -90px;
	right: -65px;
	width: 250px;
	height: 250px;
	border: 42px solid rgba( 255, 255, 255, 0.08 );
	border-radius: 50%;
	content: '';
}

.article-header__back {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 18px;
	color: rgba( 255, 255, 255, 0.88 );
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.article-header__back:hover,
.article-header__back:focus {
	color: #fff;
}

.article-header__title {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin: 0;
	padding: 0;
	background: transparent;
	color: #fff;
	font-size: clamp( 34px, 5vw, 52px );
	font-weight: 700;
	line-height: 1.12;
}

.article-header__meta {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 20px;
	color: rgba( 255, 255, 255, 0.86 );
	font-size: 14px;
}

.article-featured-media {
	display: block;
	overflow: hidden;
	max-height: 500px;
	background: #e9eef2;
}

.article-featured-image {
	display: block;
	width: 100%;
	height: min( 52vw, 500px );
	margin: 0;
	object-fit: cover;
}

.article-content {
	padding: 48px 62px 28px;
	color: #344652;
	font-size: 18px;
	line-height: 1.78;
}

.article-content > :first-child {
	margin-top: 0;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote {
	margin-top: 0;
	margin-bottom: 24px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
	clear: both;
	margin: 42px 0 16px;
	padding: 0;
	background: transparent;
	color: #075d94;
	font-weight: 700;
	line-height: 1.28;
}

.article-content h2 {
	font-size: 28px;
}

.article-content h3 {
	font-size: 24px;
}

.article-content h2 img,
.article-content h3 img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto 28px;
	border-radius: 12px;
	box-shadow: 0 10px 26px rgba( 26, 54, 73, 0.12 );
}

.article-content > img,
.article-content p > img,
.article-content figure img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.article-content a {
	color: #008f5c;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.article-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 14px 62px 52px;
	padding: 26px 28px;
	border-radius: 14px;
	background: #eef8f4;
	color: #254238;
}

.article-cta h2 {
	margin: 0 0 5px;
	padding: 0;
	background: transparent;
	color: #075d94;
	font-size: 23px;
}

.article-cta p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
}

.article-cta > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	gap: 8px;
	min-height: 42px;
	padding: 10px 20px;
	border-radius: 999px;
	background: #00c77b;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.article-cta > a:hover,
.article-cta > a:focus {
	background: #009f63;
	color: #fff;
}

.article-layout .post-navigation {
	margin: 24px 0 0;
}

.article-layout .post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 18px;
}

.article-layout .post-navigation a {
	display: block;
	height: 100%;
	padding: 18px 20px;
	border: 1px solid #dce5eb;
	border-radius: 12px;
	background: #fff;
	color: #075d94;
	text-decoration: none;
}

.article-layout .post-navigation .meta-nav {
	display: block;
	margin-bottom: 5px;
	color: #71808b;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.article-layout .post-navigation .post-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

@media ( max-width: 700px ) {
	.article-layout {
		padding: 24px 14px 52px;
	}

	.article-header {
		padding: 30px 24px;
	}

	.article-header__title {
		font-size: 34px;
	}

	.article-content {
		padding: 30px 24px 16px;
		font-size: 17px;
		line-height: 1.72;
	}

	.article-content h2 {
		font-size: 24px;
	}

	.article-content h3 {
		font-size: 21px;
	}

	.article-cta {
		align-items: flex-start;
		flex-direction: column;
		margin: 12px 24px 34px;
		padding: 22px;
	}

	.article-layout .post-navigation .nav-links {
		grid-template-columns: 1fr;
	}
}
