/* [vesta_news] — Home "News Room" highlights: one featured article + a row of
   cards, pulled live from the latest posts. Styling mirrors the hand-built
   cards this replaced, so the section looks unchanged. */

.vesta-news { width: 100%; }

/* ---- featured: copy left, image right ---- */
.vesta-news .vn-featured {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	margin-bottom: 40px;
}
.vesta-news .vn-featured-media {
	display: block;
	border-radius: var(--vesta-radius-card);
	overflow: hidden;
}
.vesta-news .vn-featured-media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

/* ---- 3-up card row ---- */
.vesta-news .vn-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	align-items: stretch;
}
.vesta-news .vn-card {
	display: flex;
	flex-direction: column;
	background: var(--vesta-color-white);
	border: 1px solid var(--vesta-color-border-subtle);
	border-radius: var(--vesta-radius-card);
	box-shadow: var(--vesta-shadow-card);
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.vesta-news .vn-card:hover {
	box-shadow: var(--vesta-shadow-card-hover);
	transform: translateY(-2px);
}
.vesta-news .vn-card-media { display: block; }
/* uniform crop: the source photos are mixed ratios, so cover-crop keeps the
   three cards' images the same height and the row aligned. */
.vesta-news .vn-card-media img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	display: block;
}
.vesta-news .vn-card-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	flex: 1;
}

/* ---- shared text bits ---- */
.vesta-news .vn-date {
	display: block;
	font-family: var(--vesta-font-body);
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--vesta-color-text-muted);
}
.vesta-news .vn-title {
	margin: 6px 0 0;
	font-family: var(--vesta-font-heading);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.vesta-news .vn-title a { color: var(--vesta-color-navy); text-decoration: none; }
.vesta-news .vn-title a:hover { color: var(--vesta-color-coral); }
.vesta-news .vn-featured .vn-title { font-size: 19px; }

.vesta-news .vn-excerpt {
	margin: 0;
	font-family: var(--vesta-font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--vesta-color-text-dark);
}
.vesta-news .vn-more {
	margin-top: auto;
	padding-top: 10px;
	font-family: var(--vesta-font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--vesta-color-coral);
	text-decoration: none;
}
.vesta-news .vn-more:hover { text-decoration: underline; }

@media ( max-width: 1024px ) {
	.vesta-news .vn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media ( max-width: 767px ) {
	.vesta-news .vn-featured { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	/* image above the copy on phones */
	.vesta-news .vn-featured-media { order: -1; }
	.vesta-news .vn-grid { grid-template-columns: minmax(0, 1fr); }
}
