.hdsce-latest-posts {
	--journal-ink: #08251a;
	--journal-green: #075f3b;
	--journal-mint: #dff1e6;
	--journal-gold: #c99a32;
	--journal-paper: #f4f0e7;
	position: relative;
	margin: 64px auto 0;
	padding: 44px 38px 38px;
	border: 1px solid rgba(201, 154, 50, .42);
	border-radius: 24px;
	background: linear-gradient(145deg, #faf7ef 0%, #f1eee5 100%);
	color: var(--journal-ink);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .16);
	overflow: hidden;
}

.hdsce-latest-posts::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 5px;
	background: linear-gradient(90deg, var(--journal-green), #15925e 68%, var(--journal-gold));
}

.hdsce-latest-posts__header {
	display: flex !important;
	justify-content: space-between;
	gap: 32px;
	align-items: flex-end;
	margin: 0 0 28px;
}

.hdsce-latest-posts__kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--journal-green);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .18em;
	line-height: 1.2;
	text-transform: uppercase;
}

.hdsce-latest-posts__kicker::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--journal-gold);
}

.hdsce-latest-posts__title {
	max-width: 820px;
	margin: 13px 0 8px !important;
	color: var(--journal-ink) !important;
	font-size: clamp(34px, 3.4vw, 54px) !important;
	font-weight: 900 !important;
	letter-spacing: -.035em;
	line-height: .98 !important;
}

.hdsce-latest-posts__subtitle {
	max-width: 720px;
	margin: 0 !important;
	color: #52665b !important;
	font-size: 16px !important;
	line-height: 1.6 !important;
}

.hdsce-latest-posts__archive,
.hdsce-latest-posts__mobile-cta a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid var(--journal-ink);
	border-radius: 4px;
	background: var(--journal-ink);
	color: #fff !important;
	font-size: 14px;
	font-weight: 900;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background .2s ease, color .2s ease, transform .2s ease;
}

.hdsce-latest-posts__archive:hover,
.hdsce-latest-posts__mobile-cta a:hover {
	border-color: var(--journal-gold);
	background: var(--journal-gold);
	color: var(--journal-ink) !important;
	transform: translateY(-2px);
}

.hdsce-latest-posts__archive:focus-visible,
.hdsce-post-card a:focus-visible,
.hdsce-latest-posts__mobile-cta a:focus-visible {
	outline: 3px solid #167c51;
	outline-offset: 4px;
}

.hdsce-latest-posts__grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 22px !important;
	align-items: stretch !important;
}

.hdsce-post-card {
	display: flex !important;
	flex-direction: column !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible !important;
}

.hdsce-post-card__media {
	position: relative;
	display: block !important;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 12px;
	background: #dfe7e1;
	box-shadow: 0 12px 26px rgba(8, 37, 26, .12);
}

.hdsce-post-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(8, 37, 26, .1);
	border-radius: inherit;
	pointer-events: none;
}

.hdsce-post-card__media img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	transition: transform .45s cubic-bezier(.2, .7, .2, 1), filter .45s ease;
}

.hdsce-post-card:hover .hdsce-post-card__media img {
	filter: saturate(1.06);
	transform: scale(1.045);
}

.hdsce-post-card__fallback {
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	width: 100%;
	height: 100%;
	padding: 22px;
	box-sizing: border-box;
	background: linear-gradient(135deg, #08251a, #087148);
	color: #fff;
	font-weight: 900;
}

.hdsce-post-card__body {
	display: flex !important;
	flex: 1 !important;
	flex-direction: column !important;
	gap: 11px !important;
	padding: 17px 2px 0 !important;
	color: var(--journal-ink) !important;
}

.hdsce-post-card__eyebrow {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	min-height: 24px;
}

.hdsce-post-card__tag {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--journal-mint);
	color: var(--journal-green);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .12em;
	line-height: 1;
	text-transform: uppercase;
}

.hdsce-post-card__number {
	color: #8c8065;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .1em;
}

.hdsce-post-card__title {
	margin: 0 !important;
	font-size: clamp(17px, 1.35vw, 21px) !important;
	font-weight: 900 !important;
	letter-spacing: -.015em;
	line-height: 1.22 !important;
}

.hdsce-post-card__title a {
	background-image: linear-gradient(var(--journal-gold), var(--journal-gold));
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 2px;
	color: var(--journal-ink) !important;
	text-decoration: none !important;
	transition: background-size .25s ease;
}

.hdsce-post-card:hover .hdsce-post-card__title a {
	background-size: 100% 2px;
}

.hdsce-post-card__excerpt {
	display: -webkit-box;
	margin: 0 !important;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	color: #5a695f !important;
	font-size: 13px !important;
	line-height: 1.55 !important;
}

.hdsce-post-card__meta {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 12px;
	margin-top: auto !important;
	padding-top: 8px !important;
	border-top: 1px solid rgba(8, 37, 26, .12) !important;
	color: #657168 !important;
	font-size: 11px !important;
}

.hdsce-post-card__meta a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: var(--journal-green) !important;
	font-weight: 900 !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.hdsce-latest-posts__mobile-cta {
	display: none;
	margin-top: 22px;
}

/* Deterministic article interlinks: compact, readable and clearly separated
   from editorial copy without looking like an advert. */
.hdsce-related-links {
	--hdsce-link-ink: #08251a;
	--hdsce-link-green: #075f3b;
	--hdsce-link-gold: #c99a32;
	margin: clamp(36px, 6vw, 64px) 0 16px;
	padding: clamp(24px, 4vw, 38px);
	border: 1px solid rgba(201, 154, 50, .5);
	border-radius: 18px;
	background: linear-gradient(145deg, #faf7ef, #edf3ee);
	color: var(--hdsce-link-ink);
	box-shadow: 0 16px 38px rgba(8, 37, 26, .1);
}

.hdsce-related-links__eyebrow {
	margin: 0 0 8px !important;
	color: var(--hdsce-link-green) !important;
	font-size: 11px !important;
	font-weight: 900 !important;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.hdsce-related-links > h2 {
	margin: 0 0 22px !important;
	color: var(--hdsce-link-ink) !important;
	font-size: clamp(26px, 3vw, 38px) !important;
	line-height: 1.08 !important;
}

.hdsce-related-links__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.hdsce-related-links__column h3 {
	margin: 0 0 12px !important;
	color: #31473b !important;
	font-size: 14px !important;
	font-weight: 800 !important;
}

.hdsce-related-links__column ul {
	display: grid;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.hdsce-related-links__column a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--hdsce-link-green) !important;
	font-weight: 800 !important;
	line-height: 1.35;
	text-decoration-color: rgba(201, 154, 50, .8) !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 4px;
}

.hdsce-related-links__column a:hover {
	color: #0c8253 !important;
}

.hdsce-related-links__column a:focus-visible {
	border-radius: 3px;
	outline: 3px solid var(--hdsce-link-gold);
	outline-offset: 3px;
}

@media (max-width: 1100px) {
	.hdsce-latest-posts {
		padding: 38px 26px 30px;
	}

	.hdsce-latest-posts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		row-gap: 34px !important;
	}

	.hdsce-post-card__title {
		font-size: 20px !important;
	}
}

@media (max-width: 700px) {
	.hdsce-related-links {
		margin-top: 34px;
		padding: 24px 20px;
		border-radius: 14px;
	}

	.hdsce-related-links__grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.hdsce-latest-posts {
		margin-top: 38px;
		padding: 30px 0 24px;
		border-radius: 16px;
	}

	.hdsce-latest-posts__header {
		display: block !important;
		margin-bottom: 20px;
		padding: 0 18px;
	}

	.hdsce-latest-posts__title {
		margin-top: 10px !important;
		font-size: 31px !important;
		line-height: 1.02 !important;
	}

	.hdsce-latest-posts__subtitle {
		font-size: 14px !important;
		line-height: 1.5 !important;
	}

	.hdsce-latest-posts__controls {
		display: none !important;
	}

	.hdsce-latest-posts__grid {
		display: grid !important;
		grid-template-columns: none !important;
		grid-auto-flow: column !important;
		grid-auto-columns: minmax(82vw, 82vw) !important;
		gap: 14px !important;
		overflow-x: auto !important;
		overflow-y: hidden;
		padding: 0 18px 16px !important;
		scroll-padding-inline: 18px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-inline: contain;
	}

	.hdsce-latest-posts__grid::-webkit-scrollbar {
		height: 4px;
	}

	.hdsce-latest-posts__grid::-webkit-scrollbar-thumb {
		border-radius: 999px;
		background: rgba(8, 95, 59, .35);
	}

	.hdsce-post-card {
		scroll-snap-align: start;
	}

	.hdsce-post-card__media {
		aspect-ratio: 16 / 10;
	}

	.hdsce-post-card__body {
		padding-top: 14px !important;
	}

	.hdsce-post-card__title {
		font-size: 19px !important;
	}

	.hdsce-post-card__excerpt {
		font-size: 13px !important;
		-webkit-line-clamp: 2;
	}

	.hdsce-latest-posts__mobile-cta {
		display: block !important;
		padding: 0 18px;
	}

	.hdsce-latest-posts__mobile-cta a {
		width: 100%;
		box-sizing: border-box;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hdsce-post-card__media img,
	.hdsce-post-card__title a,
	.hdsce-latest-posts__archive {
		transition: none !important;
	}
}
