/**
 * Latest News Module
 *
 * Styles for template-parts/modules/latest_news_module.php
 */

.latest-news-module {
	padding: 80px 0;
}

.latest-news-module__heading {
	font-family: var(--header);
	font-size: clamp(1.75rem, 3vw, 2.75rem);
	color: var(--black);
	margin-bottom: 48px;
	font-size: 3.5rem;
    line-height: 1.14;
}

.latest-news-module__grid {
	row-gap: 40px;
}

.latest-news-module__card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.latest-news-module__image {
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
	margin-bottom: 20px;
}

.latest-news-module__image img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	transition: var(--transition);
}

.latest-news-module__card:hover .latest-news-module__image img {
	transform: scale(1.04);
}

.latest-news-module__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.latest-news-module__date {
	font-family: var(--content);
	font-size: 0.85rem;
	color: var(--grey);
	margin: 0;
}

.latest-news-module__title {
	font-family: var(--header);
	font-size: 1.35rem;
	margin: 0;

	
    font-size: 1.75rem;
    line-height: 1.21;
  
}

.latest-news-module__title a {
	color: var(--black);
	transition: var(--transition);
	font-size: 1.75rem;
    line-height: 1.21;
}

.latest-news-module__title a:hover { color: var(--blue); }

.latest-news-module__excerpt {
	font-family: var(--content);
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--black);
	margin: 0;
}

.latest-news-module__cta-wrap {
	text-align: center;
	padding-top: 48px;
}

.latest-news-module__cta {
	display: inline-block;
	background: var(--green);
	color: var(--black);
	padding: 14px 36px;
	font-family: var(--content);
	font-weight: var(--semi);
	border-radius: var(--radius);
	transition: var(--transition);
}

.latest-news-module__cta:hover {
	background: var(--black);
	color: var(--white);
}
.scheme-purple .latest-news-module__heading,
.scheme-purple .latest-news-module__title a,
.scheme-purple .latest-news-module__excerpt {color: var(--purple);}

.scheme-purple .cta-btn {
  background-color: var(--purple);
  color: var(--white);
}
.scheme-purple .cta-btn:hover {
	background-color: #35307d;;
	color: #fff;
}





@media (max-width: 992px) {
	.latest-news-module { padding: 60px 0; }
	.latest-news-module__heading { margin-bottom: 32px; }
}

@media (max-width: 768px) {
	.latest-news-module { padding: 40px 0; }
	.latest-news-module__image img { height: 200px; }
	.latest-news-module__heading {font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.17;}
}

@media (max-width: 600px) {
	.latest-news-module__grid { row-gap: 24px; }
}
