/* ===================================================================
 * archive.css — styles for the /archive/ browse-and-search page.
 * Layered on top of the Minimal Mistakes theme; intentionally light
 * so it inherits the theme's typography and colours.
 * =================================================================== */

.archive-intro {
	font-size: 1.05em;
	max-width: 48em;
}

.sample-banner {
	border: 1px solid #e0c200;
	background: rgba(255, 221, 0, 0.12);
	border-radius: 6px;
	padding: 0.6em 0.9em;
	font-size: 0.9em;
	max-width: 48em;
}

/* ===== Controls ===== */

.archive-controls {
	margin: 1.5em 0 0.5em;
}

.archive-search {
	width: 100%;
	box-sizing: border-box;
	padding: 0.6em 0.8em;
	font-size: 1em;
	border: 1px solid #b0b0b0;
	border-radius: 6px;
}

.archive-facets {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em 1em;
	align-items: flex-end;
	margin-top: 0.75em;
}

.archive-facets label {
	display: flex;
	flex-direction: column;
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
	gap: 0.25em;
}

.archive-facets select {
	font-size: 0.95rem;
	padding: 0.4em 0.5em;
	border: 1px solid #b0b0b0;
	border-radius: 6px;
	min-width: 10em;
}

.clear-filters {
	padding: 0.45em 0.9em;
	font-size: 0.9rem;
	border: 1px solid #b0b0b0;
	border-radius: 6px;
	background: transparent;
	cursor: pointer;
}

.clear-filters:hover {
	background: rgba(0, 0, 0, 0.05);
}

.result-count {
	font-size: 0.85em;
	opacity: 0.75;
	margin: 0.75em 0;
}

/* The record card and its grid now live in cards.css (shared with the
   home page). Only the archive's own search controls remain here. */

.no-results {
	margin-top: 1.5em;
	font-size: 1em;
}

@media (prefers-color-scheme: dark) {
	.clear-filters:hover {
		background: rgba(255, 255, 255, 0.08);
	}
}
