/* =========================================================
   NMW — News list (home + archive)
   Inline expandable cards. No accordion lib — vanilla JS toggles
   [hidden] on the body div and the aria-expanded on the button.
   ========================================================= */

.news-list {
	background: #6b4d2e;
	color: #fff;
	padding: 0 var(--container-pad) 96px;
	/* When a hash link (e.g. /#news) jumps here, leave room for the fixed
	   site header so the black title bar isn't hidden underneath. */
	scroll-margin-top: var(--nmw-header-h, 172px);
}

/* Full-bleed black bar at the top of the section (mirrors the newsletter
   strip below). Title sits in the standard container so it lines up with
   the news cards. */
.news-list__header {
	background: #000;
	margin: 0 calc(var(--container-pad) * -1) 0;
	padding: 18px var(--container-pad);
	display: flex;
	align-items: baseline;
	justify-content: flex-start;
	gap: 24px;
}
.news-list__title {
	max-width: var(--container-max);
	width: 100%;
	margin: 0 auto;
	font-family: var(--font-sans);          /* GT Mechanik Semi Trial */
	font-size: 24px;
	font-weight: 700;
	line-height: 23px;
	letter-spacing: 0;
	color: #fff;
}
.news-list__all {
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.news-list__all:hover { text-decoration: underline; }

.news-list__items {
	max-width: var(--container-max);
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 10px;
	row-gap: 32px;
	align-items: start;
}

/* By default the news card is transparent (sits directly on the brown
   section background). Opening it slides in a white card. */
.news-item {
	background: transparent;
	color: #fff;
	padding: 0 24px 24px;
	display: flex;
	flex-direction: column;
	transition: background-color 0.25s ease, color 0.25s ease;
}
.news-item.is-open {
	background: #fff;
	color: var(--color-fg);
}

.news-item__head {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	background: transparent;
	border: 0;
	padding: 24px 0 8px;
	font: inherit;
	color: inherit;
	text-align: left;
	cursor: pointer;
	transition: opacity 0.15s;
}
.news-item__head:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }
.news-item__head:hover { opacity: 0.82; }
.news-item__head:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.news-item__thumb {
	display: block;
	width: calc(100% + 48px);          /* extend image to card edges */
	margin: -24px -24px 0;             /* counter card padding on top */
	aspect-ratio: 16 / 10;
	background: rgba(0,0,0,0.08);
	overflow: hidden;
}
.news-item__thumb img,
.news-item__thumb-img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease-out, opacity 0.25s ease-out;
}
.news-item__head:hover .news-item__thumb img { transform: scale(1.03); }

/* .news-item__excerpt removed from markup */
.news-item__content {
	font-family: var(--font-sans);
	font-size: 15px;
	line-height: 1.65;
}
.news-item__content p { margin: 0 0 1em; }

.news-item__meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}
.news-item__date {
	display: block;
	font-family: var(--font-sans);          /* GT Mechanik Semi Trial */
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
	text-align: center;
	color: #000;
}
.news-item__title { text-align: center; }
.news-item__title {
	font-family: var(--font-display);
	font-size: clamp(20px, 1.8vw, 26px);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.news-item__chev { display: none; }   /* removed from markup; legacy rule retained as no-op */
.news-item__head[aria-expanded="true"] .news-item__chev {
	transform: rotate(-135deg) translate(-2px,-2px);
}

.news-item__body {
	padding: 16px 0 8px;
	margin: 0;
	border-top: 1px solid rgba(0,0,0,0.12);
	color: var(--color-fg);
}
.news-item__body p { margin: 0 0 1em; }
.news-item__body p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
	.news-list { padding: 48px var(--container-pad) 64px; }
	.news-list__items { grid-template-columns: 1fr; }
	.news-item__title { font-size: 18px; }
	.news-item__body { padding-bottom: 24px; }
}
