/**
 * Cohoma blog archives, search results, single posts, and comments.
 */

html.cohoma-foundation--blog-archive .site-content > .ast-container,
html.cohoma-foundation--blog-single .site-content > .ast-container,
html.cohoma-foundation--search .site-content > .ast-container {
	display: block;
	max-width: 100%;
	padding-right: 0;
	padding-left: 0;
}

html.cohoma-foundation--blog-archive #primary,
html.cohoma-foundation--blog-single #primary,
html.cohoma-foundation--search #primary {
	width: 100%;
	margin: 0;
	padding: 0;
}

.cohoma-blog-hero {
	position: relative;
	display: grid;
	min-height: 320px;
	place-items: center;
	background: #f6efe4;
	text-align: center;
}

.cohoma-blog-hero__inner {
	width: min(100% - 40px, 960px);
}

.cohoma-blog-hero__title {
	margin: 0;
	padding: 0;
	color: #000;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.cohoma-blog-hero .ast-breadcrumbs-wrapper {
	margin-bottom: 14px;
}

.cohoma-blog-tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px 40px;
	padding: 40px 20px;
}

.cohoma-blog-tags__link {
	display: inline-block;
	padding: 0;
	color: #000;
	line-height: 1;
	text-decoration: none;
}

.cohoma-blog-tags__link:hover,
.cohoma-blog-tags__link:focus-visible,
.cohoma-blog-tags__link.is-active {
	color: #612d0f;
	text-decoration: underline;
	text-underline-offset: 5px;
}

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

.cohoma-blog-card {
	min-width: 0;
	margin: -0.8px;
	padding: 40px;
	overflow: hidden;
	border: 1.7px solid #e9e2d6;
}

.cohoma-blog-card__image-link {
	display: block;
}

.cohoma-blog-card__image {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.cohoma-blog-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cohoma-blog-card__category {
	display: block;
	margin-top: 20px;
	color: #000;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
}

.cohoma-blog-card__title {
	margin: 15px 0;
	color: #000;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.1;
}

.cohoma-blog-card__title a,
.cohoma-blog-card__title a:hover,
.cohoma-blog-card__title a:focus-visible {
	color: inherit;
	text-decoration: none;
}

.cohoma-blog-card__title a:hover,
.cohoma-blog-card__title a:focus-visible {
	color: #612d0f;
}

.cohoma-blog-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.cohoma-blog-card__tag {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 4px 12px;
	border-radius: 50px;
	background: #000;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.cohoma-blog-archive .navigation.pagination {
	padding: 40px 20px;
}

.cohoma-blog-archive .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.cohoma-blog-archive .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid #612d0f;
	border-radius: 4px;
	color: #612d0f;
	line-height: 1;
}

.cohoma-blog-archive .page-numbers.current,
.cohoma-blog-archive .page-numbers:hover,
.cohoma-blog-archive .page-numbers:focus-visible {
	background: #612d0f;
	color: #fff;
}

.cohoma-blog-empty {
	max-width: 760px;
	margin: 0 auto;
	padding: 64px 20px;
	text-align: center;
}

.cohoma-blog-empty h2 {
	margin-bottom: 12px;
	color: #1f2937;
}

.cohoma-blog-empty .search-form {
	display: flex;
	max-width: 520px;
	margin: 28px auto 0;
}

.cohoma-blog-empty .search-form label {
	flex: 1;
}

.cohoma-blog-empty .search-field {
	width: 100%;
	height: 48px;
	border: 1px solid #612d0f;
	border-radius: 4px 0 0 4px;
}

.cohoma-blog-empty .search-submit {
	min-height: 48px;
	border-radius: 0 4px 4px 0;
	background: #612d0f;
}

.cohoma-blog-single__featured {
	width: 100%;
	height: 500px;
	margin-bottom: 30px;
	overflow: hidden;
}

.cohoma-blog-single__featured img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cohoma-blog-single__content-wrapper,
.cohoma-blog-single__comments {
	width: min(100% - 40px, 800px);
	margin-right: auto;
	margin-left: auto;
}

.cohoma-blog-single__content-wrapper {
	padding: 20px 0 40px;
}

.cohoma-blog-single__taxonomies {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}

.cohoma-blog-single__taxonomy {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 6px 15px;
	border-radius: 20px;
	background: #612d0f;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
}

.cohoma-blog-single__title {
	margin: 25px 0 15px;
	color: #1f2937;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.1;
}

.cohoma-blog-single__author {
	margin-bottom: 22px;
	font-size: 16px;
}

.cohoma-blog-single__content {
	font-size: 16px;
	line-height: 1.5;
}

.cohoma-blog-single__content p {
	margin-bottom: 20px;
	font-size: inherit;
	line-height: inherit;
}

.cohoma-blog-single__page-links {
	margin-top: 28px;
}

.cohoma-blog-single__comments {
	padding-bottom: 48px;
}

.cohoma-comments {
	padding-top: 32px;
	border-top: 1px solid #d8d2cc;
}

.cohoma-comments__title {
	margin-bottom: 24px;
	color: #1f2937;
	font-size: 24px;
}

.cohoma-comments__list,
.cohoma-comments__list .children {
	list-style: none;
}

.cohoma-comments__list {
	margin: 0;
	padding: 0;
}

.cohoma-comments__list .comment-body {
	padding: 20px 0;
	border-bottom: 1px solid #e9e2d6;
}

.cohoma-comments__list .children {
	margin: 0 0 0 32px;
}

.cohoma-comments__list .comment-author img {
	margin-right: 10px;
	border-radius: 50%;
}

.cohoma-comments__list .comment-metadata,
.cohoma-comments__list .reply {
	font-size: 13px;
}

.cohoma-product-search {
	width: min(100% - 40px, 1440px);
	margin: 0 auto;
	padding: 48px 0;
}

.cohoma-product-search__header {
	margin-bottom: 32px;
}

.cohoma-product-search__header h1 {
	margin: 0;
	color: #1f2937;
	font-size: 28px;
	line-height: 1.2;
}

@media (max-width: 767px) {
	.cohoma-blog-hero {
		min-height: 240px;
	}

	.cohoma-blog-hero__title {
		font-size: 16px;
	}

	.cohoma-blog-tags {
		gap: 16px 24px;
		padding: 28px 20px;
	}

	.cohoma-blog-grid {
		grid-template-columns: 1fr;
	}

	.cohoma-blog-card {
		padding: 20px;
	}

	.cohoma-blog-card__title {
		margin: 12px 0;
		font-size: 20px;
	}

	.cohoma-blog-single__featured {
		height: auto;
	}

	.cohoma-blog-single__content-wrapper,
	.cohoma-blog-single__comments {
		width: min(100% - 24px, 800px);
	}

	.cohoma-blog-single__title {
		font-size: 23px;
	}

	.cohoma-comments__list .children {
		margin-left: 16px;
	}

	.cohoma-product-search {
		width: min(100% - 24px, 1440px);
		padding: 36px 0;
	}
}
