/* ISMACS News magazine archive/index — static HTML, no JSON/data file required */
.news-archive-intro {
	max-width: 52rem;
	margin: 0 auto 1.5rem;
	text-align: center;
	color: var(--text-muted);
	font-family: 'Catamaran-Regular', sans-serif;
	font-size: 1rem;
	line-height: 1.55;
}

.news-tools {
	display: flex;
	justify-content: center;
	margin: 1.5rem auto 2rem;
}

.news-search {
	width: min(100%, 34rem);
}

.news-search label {
	display: block;
	font-family: 'Catamaran-Bold', sans-serif;
	color: var(--primary);
	margin-bottom: 0.35rem;
}

.news-search input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--border-color);
	border-radius: 999px;
	background: var(--white);
	color: var(--text-dark);
	font-family: 'Catamaran-Regular', sans-serif;
	font-size: 1rem;
	padding: 0.65rem 1rem;
	box-shadow: inset 0 1px 3px var(--shadow);
}

.news-search input:focus {
	outline: 3px solid rgba(216, 178, 110, 0.35);
	border-color: var(--accent-color);
}

.news-issue-list {
	display: grid;
	gap: 1.35rem;
	margin: 0 auto 3rem;
	max-width: 64rem;
}

.news-issue {
	display: grid;
	grid-template-columns: minmax(8rem, 11rem) 1fr;
	gap: 1.25rem;
	padding: 1rem;
	border: 1px solid var(--border-color);
	border-radius: 0.65rem;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(241, 239, 232, 0.92)),
		var(--bg-alt);
	box-shadow: 0 2px 10px var(--shadow);
	position: relative;
}

.news-issue:focus-within,
.news-issue:hover {
	border-color: var(--accent-color);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.news-cover {
	margin: 0;
}

.news-cover img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--card-border-color);
	border-radius: 0.35rem;
	box-shadow: 0 2px 6px var(--shadow);
	background: var(--background);
}

.news-cover-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 3 / 4;
	text-align: center;
	padding: 0.75rem;
	box-sizing: border-box;
	border: 1px solid var(--card-border-color);
	border-radius: 0.35rem;
	box-shadow: 0 2px 6px var(--shadow);
	background: var(--background);
	color: var(--primary);
	font-family: 'Libre Baskerville', Georgia, serif;
	line-height: 1.25;
}

.news-cover-placeholder span {
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.news-cover-placeholder strong {
	display: block;
	font-size: 1.35rem;
	margin: 0.15rem 0;
	font-weight: 700;
}

.news-cover-placeholder em {
	font-family: 'Catamaran-Bold', sans-serif;
	font-style: normal;
	color: var(--secondary);
}

.news-issue-body {
	min-width: 0;
}

.news-meta {
	margin: 0 0 0.2rem;
	font-family: 'Catamaran-Bold', sans-serif;
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--secondary);
}

.news-issue h2 {
	margin: 0 0 0.65rem;
	padding: 0;
	text-align: left;
	font-size: 1.35rem;
	font-variant: normal;
}

.news-issue h2::before,
.news-issue h2::after {
	content: none !important;
}

.news-articles {
	margin: 0.35rem 0 1rem;
}

.news-article {
	margin: 0;
	padding: 0.55rem 0 0.55rem 0.85rem;
	border-left: 3px solid var(--accent-color);
}

.news-article+.news-article {
	margin-top: 0.35rem;
}

.news-article dt {
	font-family: 'Catamaran-Bold', sans-serif;
	font-size: 1rem;
	line-height: 1.3;
	color: var(--primary);
}

.news-article dt a {
	color: var(--primary);
	text-decoration: none;
}

.news-article dt a:hover,
.news-article dt a:focus {
	color: var(--secondary);
	text-decoration: underline;
}

.news-article dd {
	margin: 0.15rem 0 0;
	font-family: 'Catamaran-Regular', sans-serif;
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--text-dark);
}

.news-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	margin-top: 0.4rem;
}

.news-download,
.news-pending {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	font-family: 'Catamaran-Bold', sans-serif;
	font-size: 0.95rem;
	line-height: 1;
	padding: 0.55rem 0.85rem;
	text-decoration: none;
}

.news-download {
	background: var(--primary);
	color: var(--white) !important;
	border: 1px solid var(--primary);
}

.news-download:hover,
.news-download:focus {
	background: var(--secondary);
	border-color: var(--secondary);
	color: var(--white) !important;
	text-decoration: none;
}

.news-pending {
	background: var(--background);
	color: var(--text-muted);
	border: 1px solid var(--border-color);
}

.news-empty {
	display: none;
	text-align: center;
	color: var(--text-muted);
	font-style: italic;
	margin: 2rem 0;
}

@media (max-width: 700px) {
	.news-issue {
		grid-template-columns: 1fr;
	}

	.news-cover {
		max-width: 11rem;
		margin: 0 auto;
	}

	.news-issue h2,
	.news-meta {
		text-align: center;
	}

	.news-actions {
		justify-content: center;
	}
}