/**
 * blog_list_section.css
 *
 * Cream BG. 3-col card grid; each card: image, meta line, serif title,
 * excerpt, dark pill "Read more" CTA.
 */

.ncm-blog-list {
	background: #FCFAF8;
	padding: 120px 0;
}

.ncm-blog-list__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 50px 20px;
}

.ncm-blog-list__card {
	background: transparent;
	display: flex;
	flex-direction: column;
}

.ncm-blog-list__media {
	display: block;
	overflow: hidden;
	border-radius: 4px;
}

.ncm-blog-list__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.ncm-blog-list__body {
	padding: 20px 0 0;
}

.ncm-blog-list__meta {
	font-family: var(--ff-primary);
	font-weight: 400;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--clr-fg-dark);
	margin: 0 0 10px;
}

.ncm-blog-list__title {
	font-family: var(--ff-display);
	font-weight: 400;
	font-size: 22px;
	line-height: 1.25;
	color: var(--clr-fg-dark);
	margin: 0 0 12px;
}

.ncm-blog-list__title a {
	color: inherit;
	text-decoration: none;
}

.ncm-blog-list__excerpt,
.ncm-blog-list__excerpt p {
	font-family: var(--ff-primary);
	font-weight: 400;
	font-size: 14px;
	line-height: 1.55;
	color: var(--clr-fg-dark);
	margin: 0 0 16px;
}

.ncm-blog-list__cta {
	display: inline-block;
	font-family: var(--ff-primary);
	font-weight: 700;
	font-size: 14px;
	padding: 12px 18px;
	background: var(--clr-fg-dark);
	color: var(--clr-fg-light);
	border-radius: 4px;
	text-decoration: none;
}

.ncm-blog-list__cta:hover {
	background: var(--clr-bg-dark-alt);
}

.ncm-blog-card__image {
	display: block;
	overflow: hidden;
	border-radius: 6px;
	margin-bottom: 30px;
}

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

.ncm-blog-card__meta {
	color: var(--clr-2f3e34);
	margin-bottom: 20px;
	font-family: var(--ff-primary);
	font-size: 10px;
	line-height: 14px;
	letter-spacing: 20%;
	text-transform: uppercase;
}

.ncm-blog-card__title {
	font-family: var(--ff-secondary);
	margin: 0 0 30px;
	color: var(--clr-2f3e34);
	font-weight: 400;
	font-size: 30px;
	line-height: 34px;
	letter-spacing: 0%;
}

.ncm-blog-card__title a {
	color: inherit;
	text-decoration: none;
}

.ncm-blog-card__excerpt {
	color: var(--clr-2f3e34);
	margin-bottom: 20px;
	font-family: var(--ff-primary);
	font-size: 21px;
	line-height: 24px;
	letter-spacing: 0%;
}

.ncm-blog-card__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--clr-2f3e34);
	color: #E9DDCE;
	text-decoration: none;
	font-weight: 700;
	padding: 14px 22px;
	border-radius: 4px;
	font-family: var(--ff-primary);
	font-size: 18px;
	line-height: 22px;
	letter-spacing: 0%;
	text-align: center;
    transition: all 0.3s;
}

.ncm-blog-card__link:hover {
	opacity: 0.8;
    color: #E9DDCE;
}

.ncm-blog-pagination {
	margin-top: 90px;
}

.ncm-blog-pagination .page-numbers a,
.ncm-blog-pagination .page-numbers span {
	background: #E9DDCE;
	color: var(--clr-bg-dark);
	transition: all 0.3s;
	font-size: 16px;
	line-height: normal;
}

.ncm-blog-pagination .page-numbers .current,
.ncm-blog-pagination .page-numbers a:hover {
	background: var(--clr-bg-dark);
	color: #E9DDCE;
}

.ncm-single-post__share {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 50px;
}

.ncm-single-post__share a {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
	color: #fff !important;
	font-size: 16px;
}

.ncm-single-post__share a:nth-child(1) {
	background: #425893;
}

.ncm-single-post__share a:nth-child(2) {
	background: #000;
}

.ncm-single-post__share a:nth-child(3) {
	background: #6ca7d9;
}

@media (max-width: 1150px) {
	.ncm-blog-card__image img {
		height: 230px;
	}
}

@media (max-width: 991px) {
	.ncm-blog-list__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ncm-blog-card__title {
		font-size: 28px;
		line-height: normal;
		margin-bottom: 20px;
	}

	.ncm-blog-card__image img {
		height: 300px;
	}
}

@media (max-width: 767px) {
	.ncm-blog-list {
		padding-block: 80px;
	}

	.ncm-blog-card__link {
		font-size: 16px;
		line-height: normal;
	}
}

@media (max-width: 600px) {
	.ncm-blog-list__grid {
		grid-template-columns: 1fr;
	}

	.ncm-blog-card__image img {
		height: 260px;
	}

	ul.page-numbers {
		gap: 10px;
	}

	ul.page-numbers a,
	ul.page-numbers span {
		font-size: 12px !important;
		padding: 8px 10px;
	}
}