/* ========================================
   SHARED NEWS STYLES
======================================== */

.he-news-feature,
.he-news-grid {
	--he-news-border: #e5e5e5;
	--he-news-spacing: 24px;

	width: 100%;
	box-sizing: border-box;
}

.he-news-feature *,
.he-news-grid * {
	box-sizing: border-box;
}

.he-news-feature a,
.he-news-grid a {
	color: inherit;
	text-decoration: none;
}

.he-news-feature a:hover,
.he-news-grid a:hover {
	text-decoration: underline;
	color: #102D40;
}

/* ========================================
   FEATURED NEWS
======================================== */

.he-news-feature__primary {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
	align-items: center;
	border: 1px solid #A09A8C;
}

/* Image */

.he-news-feature__media {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
}

.he-news-feature__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: relative;
	z-index: 1;
}

.he-news-feature__credit{
	position: absolute;
	bottom: 0;
	right: 0;
	display: inline-block;
	background: rgba(0,0,0,0.3);
	padding: 5px;
	color: #FFF;
	z-index: 2;
	font-size: 12px;
}

/* Content */

.he-news-feature__body {
	min-width: 0;
	padding: 30px;
}

.he-news-feature__title {
	font-size: clamp(32px, 3vw, 48px);
	line-height: 1.2;
	font-weight: 700;
	margin: 0 0 20px;
}

/* ACF Fields */

.he-news-feature__context,
.he-news-feature__takeaway {
	margin-top: 20px;
}

.he-news-feature__label {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 10px;
	color: #376E93;
}

.he-news-feature__text {
	font-size: 14px;
	line-height: 1.5;
}

.he-news-feature__text p {
	margin: 0 0 12px;
}

.he-news-feature__text p:last-child {
	margin-bottom: 0;
}

/* Takeaway Bullets */

.he-news-feature__bullets {
	list-style: disc;
	padding-left: 20px;
	margin: 0 !important;
}

.he-news-feature__bullets li {
	font-size: 14px;
	line-height: 1.5;
}

.he-news-feature__bullets li:last-child {
	margin-bottom: 0;
}


/* ========================================
   FOLLOWING 4 ARTICLES
======================================== */

.he-news-feature__more {
	display: grid;
	grid-template-columns: repeat(2, 50fr);
	gap: 0 var(--he-news-spacing);

	list-style: none;
	padding: 0;
	margin: 14px 0 0 0 !important;
}

.he-news-feature__more-item {
	padding: 16px 0;
	margin: 0 !important;
	border-bottom: 1px solid var(--he-news-border);

	font-size: 17px;
	line-height: 1.4;
	font-weight: 600;
	
	display: flex;
	gap: 20px;
	align-items: center;
}
.he-news-feature__more-image {
	display: block;
	width: 64px;
	min-width: 64px;
	height: 64px;
	object-fit: cover;
	object-position: center;
}
.he-news-feature__more-item h4 a {
	display: block;
	line-height: 1.3;
	font-size: 28px;
	font-weight: 600;
	text-decoration: none !important;
}

@media(min-width: 768px){
	.he-news-feature__more-item:nth-last-child(-n+2) {
		border-bottom: none;	
	}
}

/* ========================================
   NEWS GRID
======================================== */

.he-news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px var(--he-news-spacing);
}

.he-news-grid__item {
	min-width: 0;
	border: 1px solid #A09A8C;
}

/* Image */

.he-news-grid__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	margin-bottom: 14px;
	position: relative;
}

.he-news-grid__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: relative;
	z-index: 1;
	transition: transform 0.3s ease;
}
.he-news-grid__credit{
	position: absolute;
	bottom: 0;
	right: 0;
	display: inline-block;
	background: rgba(0,0,0,0.3);
	padding: 5px;
	color: #FFF;
	z-index: 2;
	font-size: 10px;
}

.he-news-grid__media:hover .he-news-grid__image {
	transform: scale(1.03);
}

.he-news-grid__body{
	padding: 20px;
}

.he-news-grid__context,
.he-news-grid__takeaway {
	margin-top: 20px;
}

.he-news-grid__label {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 10px;
	color: #376E93;
}

.he-news-grid__text {
	font-size: 16px;
	line-height: 1.6;
}

.he-news-grid__text p {
	margin: 0 0 12px;
}

.he-news-grid__text p:last-child {
	margin-bottom: 0;
}

/* Title */

.he-news-grid__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1023px) {

	.he-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 767px) {
	.he-news-feature__body,
	.he-news-grid__body{
		padding-top: 0;
	}
	.he-news-feature__primary {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.he-news-feature__media {
		aspect-ratio: 16 / 9;
	}

	.he-news-feature__title {
		font-size: 26px;
	}

	.he-news-feature__more {
		grid-template-columns: 1fr;
		margin-top: 24px;
	}

	.he-news-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.he-news-grid__title {
		font-size: 20px;
	}

}

@media (prefers-reduced-motion: reduce) {

	.he-news-grid__image {
		transition: none;
	}

}