/**
 * Blog archive, tag/category listings, home latest-4 section.
 */

/* All blog archive / tag / category / blog page — 1632px container */
body.exhale-editorial .exhale-blog-archive__shell.exhale-site-container {
	width: min(1632px, 100%);
	max-width: 1632px;
}

body.exhale-editorial .site-main.exhale-blog-archive {
	background: #f8f5f1;
	color: #3d3835;
	padding-top: 7rem;
	padding-bottom: 4rem;
}

.exhale-blog-archive__header {
	margin-bottom: 2.5rem;
}

.exhale-blog-archive__label {
	margin: 0 0 0.35rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(61, 56, 53, 0.55);
}

.exhale-blog-archive__title {
	margin: 0;
	font-family: var(--font-heading-family);
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	font-weight: 700;
	line-height: 1.1;
	color: #3d3835;
	text-transform: capitalize;
}

.exhale-blog-archive__empty-wrap {
	padding: 2rem 0 1rem;
}

.exhale-blog-archive__empty {
	font-size: 1.0625rem;
	color: rgba(61, 56, 53, 0.75);
}

/* Featured (latest) */
.exhale-blog-featured {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 3vw, 3rem);
	align-items: center;
	margin-bottom: 3rem;
}

.exhale-blog-featured__media {
	display: block;
	overflow: hidden;
	border-radius: 1.25rem;
}

.exhale-blog-featured__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.exhale-blog-featured__media:hover .exhale-blog-featured__image {
	transform: scale(1.02);
}

.exhale-blog-featured__title {
	margin: 0 0 1rem;
	font-family: var(--font-heading-family);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
}

.exhale-blog-featured__title a {
	color: #3d3835;
	text-decoration: none;
}

.exhale-blog-featured__title a:hover {
	color: #6e7d6d;
}

.exhale-blog-featured__excerpt {
	margin: 0 0 1.25rem;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: rgba(61, 56, 53, 0.78);
}

/* Grid cards */
.exhale-blog-archive__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.75rem;
}

.exhale-blog-card__media-link {
	display: block;
	text-decoration: none;
}

.exhale-blog-card__media {
	position: relative;
	margin-bottom: 1rem;
	overflow: hidden;
	border-radius: 1.25rem;
}

.exhale-blog-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.exhale-blog-card__media-link:hover .exhale-blog-card__image {
	transform: scale(1.03);
}

.exhale-blog-card__tags {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	z-index: 2;
}

.exhale-blog-card__tag {
	display: inline-block;
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
	background: rgba(248, 245, 241, 0.95);
	font-size: 0.6875rem;
	font-weight: 600;
	text-decoration: none;
	color: #3d3835;
}

.exhale-blog-card__tag:hover {
	background: #fff;
	color: #6e7d6d;
}

.exhale-blog-card__title {
	margin: 0 0 0.65rem;
	font-family: var(--font-heading-family);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
}

.exhale-blog-card__title a {
	color: #3d3835;
	text-decoration: none;
}

.exhale-blog-card__title a:hover {
	color: #6e7d6d;
}

.exhale-blog-card__excerpt {
	margin: 0 0 0.85rem;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: rgba(61, 56, 53, 0.78);
}

.exhale-blog-card__more,
.exhale-home-blog-four__link {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #6e7d6d;
	text-decoration: none;
}

.exhale-blog-card__more:hover,
.exhale-home-blog-four__link:hover {
	color: #3d3835;
	text-decoration: underline;
}

/* Pagination */
.exhale-blog-archive .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin-top: 3rem;
}

.exhale-blog-archive .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.65rem;
	border: 1px solid rgba(61, 56, 53, 0.18);
	border-radius: 999px;
	color: #3d3835;
	text-decoration: none;
	font-size: 0.875rem;
}

.exhale-blog-archive .page-numbers.current,
.exhale-blog-archive .page-numbers:hover {
	background: #3d3835;
	border-color: #3d3835;
	color: #f8f5f1;
}

/* Home — latest 4 (Momday fitness routine layout) */
.exhale-home-blog-four {
	padding-top: 50px;
	padding-bottom: 50px;
}

/* Home — latest 4 blogs (same 1632px line as archive) */
.exhale-home-blog-four__container.exhale-site-container.w-full {
	width: min(1632px, 100%);
	max-width: 1632px;
}

.exhale-home-blog-four__intro {
	max-width: 52rem;
	margin-bottom: 2.5rem;
}

.exhale-home-blog-four__title {
	margin: 0 0 1rem;
	font-family: var(--font-heading-family);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
	color: #3d3835;
}

.exhale-home-blog-four__lead {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: rgba(61, 56, 53, 0.78);
}

.exhale-home-blog-four__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 788px));
	gap: 4rem 5.6rem;
	align-items: start;
	justify-content: center;
}

.exhale-home-blog-four__card {
	max-width: 788px;
}

.exhale-home-blog-four__image-wrap {
	display: block;
	width: 788px;
	max-width: 100%;
	margin-bottom: 1.25rem;
	overflow: hidden;
	border-radius: 1.25rem;
}

.exhale-home-blog-four__image {
	display: block;
	width: 788px;
	max-width: 100%;
	height: 550px;
	max-height: none;
	aspect-ratio: 788 / 550;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.exhale-home-blog-four__image-wrap:hover .exhale-home-blog-four__image {
	transform: scale(1.03);
}

.exhale-home-blog-four__card-title {
	margin: 0 0 0.75rem;
	font-family: var(--font-heading-family);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
}

.exhale-home-blog-four__card-title a {
	color: #3d3835;
	text-decoration: none;
}

.exhale-home-blog-four__card-title a:hover {
	color: #6e7d6d;
}

.exhale-home-blog-four__card-text {
	margin: 0 0 0.85rem;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: rgba(61, 56, 53, 0.78);
}

@media (max-width: 1199px) {
	.exhale-blog-archive__shell,
	.exhale-home-blog-four .exhale-site-container,
	.exhale-home-blog-four__container.exhale-site-container.w-full {
		padding-left: 20px;
		padding-right: 20px;
	}

	.exhale-home-blog-four__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.5rem 2rem;
	}

	.exhale-home-blog-four__image-wrap,
	.exhale-home-blog-four__image {
		width: 100%;
		height: auto;
		aspect-ratio: 788 / 550;
	}
}

@media (max-width: 991px) {
	.exhale-blog-featured {
		grid-template-columns: 1fr;
	}

	.exhale-blog-archive__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.exhale-blog-archive__grid,
	.exhale-home-blog-four__grid {
		grid-template-columns: 1fr;
	}
}
