/**
 * News archive: filters row, two-column archive with the sidebar.
 *
 * The card, chip and pagination rules stay in inner.css; this file adds the
 * filter select and the sidebar boxes from the approved theme-b design.
 */

.filters__year {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 600;
}

.filters__year select {
	min-height: 48px;
	padding: 0.6rem 1rem;
	border: 1.5px solid var(--line);
	border-radius: var(--r-md);
	background: var(--white);
	color: var(--ink);
	font: inherit;
}

.filters__year select:focus-visible {
	outline: 3px solid var(--hya-green-ink);
	outline-offset: 2px;
}

.archive {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
}

.archive__main,
.side-card {
	min-width: 0;
}

.archive__side {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
	align-content: start;
	min-width: 0;
}

.side-card {
	padding: 1.5rem;
	background: var(--mist);
	border-radius: var(--r-lg);
}

.side-card .h4 {
	margin-block-end: 1rem;
}

.events {
	display: grid;
	gap: 0.9rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.event {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.event time {
	display: grid;
	place-items: center;
	flex: none;
	width: 4.75rem;
	padding: 0.5rem;
	background: var(--night);
	color: var(--white);
	border-radius: var(--r-sm);
	text-align: center;
}

.event__day {
	font: 900 1.6rem / 1 var(--font-display);
	color: var(--hya-gold);
}

.event__mo {
	font-size: 0.75rem;
	line-height: 1.4;
}

.event p {
	margin: 0;
	font-weight: 600;
	line-height: 1.6;
}

.event a {
	color: inherit;
	text-decoration: none;
}

.event a:hover {
	color: var(--hya-green-ink);
	text-decoration: underline;
}

.most {
	counter-reset: most;
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.most li {
	counter-increment: most;
	display: flex;
	gap: 0.75rem;
	align-items: baseline;
}

.most li::before {
	content: counter(most);
	font: 900 1.25rem / 1 var(--font-display);
	color: var(--hya-green-ink);
	min-width: 1.5rem;
}

.most a {
	color: var(--ink);
	text-decoration: none;
	font-weight: 500;
	line-height: 1.6;
}

.most a:hover {
	color: var(--hya-green-ink);
	text-decoration: underline;
}

@media (min-width: 1024px) {
	.archive {
		grid-template-columns: minmax(0, 1fr) 340px;
		gap: 3rem;
	}

	.archive__side {
		position: sticky;
		inset-block-start: 8rem;
	}
}
