/* =========================================================================
 * news.css — homepage "In the news" section (newsletter highlights)
 *
 * Substack-style flat layout, no card boxes: big featured announcement on
 * the left (image on top, centered title/excerpt/meta below), compact list
 * of the latest issues on the right behind a vertical divider — text left,
 * small 16:9 thumbnail right.
 * ========================================================================= */

.lb-news {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--lb-s-5);
	align-items: stretch;
}

/* Single newsletter so far: the featured story takes the full row. */
.lb-news--solo {
	grid-template-columns: minmax(0, 1fr);
}
.lb-news--solo .lb-news__featured {
	max-width: 760px;
	margin-inline: auto;
}

/* -------------------- Shared meta line -------------------- */

.lb-news__meta {
	display: flex;
	align-items: center;
	gap: 0.5em;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--lb-muted);
}

.lb-news__sep { color: var(--lb-border); }

/* -------------------- Featured announcement (left) -------------------- */

.lb-news__featured {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--lb-s-2);
	text-align: center;
}

.lb-news__featured-media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--lb-radius-lg);
	overflow: hidden;
	background: var(--lb-subtle);
	margin-bottom: var(--lb-s-1);
}
.lb-news__featured-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms var(--lb-ease);
}
.lb-news__featured:hover .lb-news__featured-media img { transform: scale(1.04); }

.lb-news__featured-title {
	margin: 0;
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
}
.lb-news__featured-title a { color: var(--lb-text); }
.lb-news__featured-title a:hover { color: var(--lb-primary); }

.lb-news__featured-excerpt {
	margin: 0;
	max-width: 34rem;
	color: var(--lb-muted);
	font-size: 1.05rem;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lb-news__featured .lb-news__meta { justify-content: center; }

/* -------------------- Latest news list (right) -------------------- */

.lb-news__list {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--lb-s-3);
	border-left: 1px solid var(--lb-border);
	padding-left: var(--lb-s-5);
}

.lb-news__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 150px;
	gap: var(--lb-s-3);
	align-items: start;
}

.lb-news__item-body { min-width: 0; }

.lb-news__item-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.005em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.lb-news__item-title a { color: var(--lb-text); }
.lb-news__item-title a:hover { color: var(--lb-primary); }

.lb-news__item-excerpt {
	margin: 0.35rem 0 0;
	color: var(--lb-muted);
	font-size: 0.92rem;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lb-news__item .lb-news__meta { margin-top: 0.55rem; }

.lb-news__item-media {
	display: block;
	width: 150px;
	aspect-ratio: 16 / 9;
	border-radius: var(--lb-radius-sm);
	overflow: hidden;
	background: var(--lb-subtle);
}
.lb-news__item-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms var(--lb-ease);
}
.lb-news__item:hover .lb-news__item-media img { transform: scale(1.05); }

/* -------------------- Responsive -------------------- */

@media (max-width: 960px) {
	.lb-news {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--lb-s-4);
	}
	.lb-news__list {
		border-left: none;
		padding-left: 0;
		border-top: 1px solid var(--lb-border);
		padding-top: var(--lb-s-4);
	}
}

@media (max-width: 480px) {
	.lb-news__item { grid-template-columns: minmax(0, 1fr) 104px; }
	.lb-news__item-media { width: 104px; }
	.lb-news__item-excerpt { display: none; }
}
