.eh-post {
	--eh-green: #1f6b4a;
	--eh-green-d: #164e37;
	--eh-ink: #141a14;
	--eh-soft: #5f675a;
	--eh-line: #e8e4da;
	--eh-radius: 18px;
	margin: 16px 0 20px;
}

.eh-post *,
.eh-post *::before,
.eh-post *::after {
	box-sizing: border-box;
}

.eh-post-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}

.eh-post-head-left {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.eh-post-kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--eh-green);
}

.eh-post-head h2 {
	margin: 0;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	color: var(--eh-ink);
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.eh-post-head-right {
	display: flex;
	align-items: center;
	gap: 10px;
}

.eh-post-seeall {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	border-radius: 999px;
	background: #edf5f0;
	color: var(--eh-green);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	transition: 0.2s;
}

.eh-post-seeall:hover {
	background: var(--eh-green);
	color: #fff;
}

.eh-post-seeall svg {
	width: 14px;
	height: 14px;
}

.eh-post-nav {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.eh-post-btn {
	width: 42px;
	height: 42px;
	border: 1px solid var(--eh-line);
	border-radius: 50%;
	background: #fff;
	color: var(--eh-ink);
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: 0.2s;
	box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.35);
}

.eh-post-btn:hover:not(:disabled) {
	background: var(--eh-green);
	border-color: var(--eh-green);
	color: #fff;
}

.eh-post-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.eh-post-btn svg {
	width: 18px;
	height: 18px;
}

/* Featured collage */
.eh-post-collage {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	grid-template-rows: 200px 200px;
	gap: 14px;
	margin-bottom: 18px;
}

.eh-post-featured {
	grid-row: 1 / 3;
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--eh-radius);
	text-decoration: none !important;
	background: linear-gradient(135deg, #2d5a45, #1f6b4a);
	box-shadow: 0 16px 36px -24px rgba(20, 26, 20, 0.55);
	transition: transform 0.3s ease;
}

.eh-post-side {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: calc(var(--eh-radius) - 2px);
	text-decoration: none !important;
	background: linear-gradient(135deg, #315f48, #1f6b4a);
	box-shadow: 0 12px 28px -18px rgba(20, 26, 20, 0.5);
	transition: transform 0.3s ease;
}

.eh-post-featured:hover,
.eh-post-side:hover {
	transform: translateY(-4px);
}

.eh-post-featured img,
.eh-post-side img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.eh-post-featured:hover img,
.eh-post-side:hover img {
	transform: scale(1.05);
}

.eh-post-featured::after,
.eh-post-side::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 15%, rgba(0, 0, 0, 0.78) 100%);
	z-index: 1;
}

.eh-post-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 18px 20px;
	color: #fff;
}

.eh-post-cat {
	display: inline-block;
	margin-bottom: 8px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(8px);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.eh-post-body h3 {
	margin: 0 0 8px;
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
}

.eh-post-featured h3 {
	font-size: clamp(20px, 2.5vw, 28px);
}

.eh-post-side h3 {
	font-size: clamp(15px, 1.8vw, 18px);
}

.eh-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 12px;
	font-weight: 600;
	opacity: 0.92;
}

.eh-post-meta span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

/* Slider */
.eh-post-slider {
	position: relative;
}

.eh-post-track-wrap {
	overflow: hidden;
	border-radius: var(--eh-radius);
}

.eh-post-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 4px 2px 14px;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.eh-post-track::-webkit-scrollbar {
	display: none;
}

.eh-post-slide {
	flex: 0 0 calc(33.333% - 11px);
	min-width: 280px;
	scroll-snap-align: start;
}

.eh-post-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--eh-line);
	border-radius: calc(var(--eh-radius) - 2px);
	overflow: hidden;
	text-decoration: none !important;
	box-shadow: 0 10px 28px -20px rgba(20, 26, 20, 0.4);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.eh-post-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 36px -18px rgba(31, 107, 74, 0.35);
}

.eh-post-card-thumb {
	position: relative;
	height: 170px;
	background: linear-gradient(135deg, #dfe4dc, #c8d5cc);
	overflow: hidden;
}

.eh-post-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.eh-post-card:hover .eh-post-card-thumb img {
	transform: scale(1.06);
}

.eh-post-card-cat {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--eh-green);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.eh-post-card-info {
	padding: 16px 16px 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.eh-post-card-info h4 {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--eh-ink);
}

.eh-post-card-meta {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	font-size: 11px;
	font-weight: 600;
	color: var(--eh-soft);
}

.eh-post-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
}

.eh-post-dot {
	width: 8px;
	height: 8px;
	border: 0;
	border-radius: 999px;
	background: #cfd8d2;
	cursor: pointer;
	padding: 8px;
	background-clip: content-box;
	min-width: 24px;
	min-height: 24px;
	box-sizing: content-box;
	transition: 0.25s;
}

.eh-post-dot.is-active {
	width: 8px;
	padding: 8px;
	background: var(--eh-green);
}

@media (max-width: 992px) {
	.eh-post-collage {
		grid-template-columns: 1fr;
		grid-template-rows: 240px 140px 140px;
	}

	.eh-post-featured {
		grid-row: 1;
	}

	.eh-post-slide {
		flex: 0 0 calc(50% - 8px);
		min-width: 240px;
	}
}

@media (max-width: 640px) {
	.eh-post-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.eh-post-head-right {
		width: 100%;
		justify-content: space-between;
	}

	.eh-post-collage {
		display: flex;
		overflow-x: auto;
		gap: 12px;
		scroll-snap-type: x mandatory;
		padding-bottom: 4px;
		scrollbar-width: none;
	}

	.eh-post-collage::-webkit-scrollbar {
		display: none;
	}

	.eh-post-featured,
	.eh-post-side {
		flex: 0 0 85%;
		min-height: 240px;
		scroll-snap-align: center;
	}

	.eh-post-featured {
		grid-row: auto;
	}

	.eh-post-slide {
		flex: 0 0 85%;
		min-width: 0;
	}
}
