.homePageBlog {
	background: #FFFFFF;
	padding: 100px 0;
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.homePageBlog__heading {
	font-family: "Artifex Hand CF", serif;
	font-weight: 500;
	font-size: 40px;
	line-height: 48px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: #875F1B;
	text-align: center;
	margin: 0;
}

/* Equal-height cards: flex on Owl's stage and items so each card stretches
   to match the tallest card in the visible row. */
.homePageBlog__carousel .owl-stage {
	display: flex;
}

.homePageBlog__carousel .owl-item {
	display: flex;
	height: auto;
	min-width: 0;
}

.homePageBlog__card {
	width: 100%;
	min-width: 0;
	background: #FFFFFF;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	margin: 4px;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.homePageBlog__card:hover,
.homePageBlog__card:focus-within {
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.10);
	transform: translateY(-4px);
}

.homePageBlog__card:focus-within {
	outline: 3px solid #1F677F;
	outline-offset: 0;
}

.homePageBlog__cardLink,
.homePageBlog__cardLink:hover,
.homePageBlog__cardLink:focus,
.homePageBlog__cardLink:active {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

/* Outline shown on the card via :focus-within instead. */
.homePageBlog__cardLink:focus {
	outline: none;
}

.homePageBlog__image {
	position: relative;
	aspect-ratio: 500 / 250;
	overflow: hidden;
	background: #000000;
	border: 10px solid #FFFFFF;
	border-bottom: 0;
}

.homePageBlog__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
	will-change: transform;
}

.homePageBlog__card:hover .homePageBlog__image img,
.homePageBlog__card:focus-within .homePageBlog__image img {
	transform: scale(1.05);
}

.homePageBlog__copy {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 40px;
	flex: 1;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.homePageBlog__title {
	font-family: "Artifex Hand CF", serif;
	font-weight: 400;
	font-size: 32px;
	line-height: 38px;
	color: #665D4A;
	margin: 0;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	white-space: normal;
	overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
	transition: color 0.2s ease;
}

.homePageBlog__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	padding: 10px 0;
	margin-top: auto;
	border-bottom: 3px solid #D1A76C;
	font-family: "Artifex Hand CF", serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 25px;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	color: #000000;
	transition: color 0.2s ease, border-color 0.2s ease;
}

/* Footer row: explore-more CTA, divider line, prev/next nav */
.homePageBlog__footer {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 0 30px;
	max-width: 1380px;
	margin: 0 auto;
	width: 100%;
}

.homePageBlog__exploreMore {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #D1A76C;
	padding: 19px 20px;
	border-radius: 8px;
	min-height: 44px;
	font-family: "Artifex Hand CF", serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 1;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: #000000;
	text-decoration: none;
	transition: background 0.2s ease;
	flex-shrink: 0;
}

.homePageBlog__exploreMore:hover,
.homePageBlog__exploreMore:focus,
.homePageBlog__exploreMore:active {
	background: #E4EFF1;
	color: #1F677F;
	text-decoration: none;
}

.homePageBlog__exploreMore:focus {
	outline: 2px solid #1F677F;
	outline-offset: 2px;
}

.homePageBlog__line {
	flex: 1 1 auto;
	height: 1px;
	background: #CCCCCC;
}

.homePageBlog__nav {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.homePageBlog__nav button.owl-prev,
.homePageBlog__nav button.owl-next {
	width: 54px;
	height: 54px;
	background: #454545;
	color: #FFFFFF;
	border: none;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease;
}

.homePageBlog__nav button.owl-prev:focus,
.homePageBlog__nav button.owl-next:focus {
	outline: none;
}

.homePageBlog__nav button.owl-prev:focus-visible,
.homePageBlog__nav button.owl-next:focus-visible {
	outline: 2px solid #FFFFFF;
	outline-offset: -4px;
}

.homePageBlog__navIcon {
	font-size: 20px;
	line-height: 1;
}

.homePageBlog__empty {
	font-family: "Ancizar Serif", serif;
	font-size: 18px;
	color: #665D4A;
	text-align: center;
}

/* Screen-reader-only utility (used inside nav buttons). */
.homePageBlog .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 1024px) {
	.homePageBlog {
		padding: 60px 0;
		gap: 30px;
	}
	.homePageBlog__heading {
		font-size: 32px;
		line-height: 40px;
	}
	.homePageBlog__title {
		font-size: 24px;
		line-height: 30px;
	}
	.homePageBlog__copy {
		padding: 30px;
	}
	.homePageBlog__footer {
		flex-wrap: wrap;
		justify-content: center;
		gap: 16px;
	}
	.homePageBlog__line {
		display: none;
	}
}

@media (max-width: 768px) {
	.homePageBlog {
		padding: 40px 0;
	}
	.homePageBlog__heading {
		font-size: 26px;
		line-height: 32px;
		padding: 0 20px;
	}
	.homePageBlog__copy {
		padding: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.homePageBlog__card,
	.homePageBlog__image img,
	.homePageBlog__cta,
	.homePageBlog__title,
	.homePageBlog__exploreMore,
	.homePageBlog__nav button {
		transition: none;
	}
	.homePageBlog__card:hover,
	.homePageBlog__card:focus-within {
		transform: none;
	}
	.homePageBlog__card:hover .homePageBlog__image img,
	.homePageBlog__card:focus-within .homePageBlog__image img {
		transform: none;
	}
}
