/* =========================================================================
   Monthly reports, matching the static reports page: year chips, a featured
   latest report, then compact month cards. Stat boxes are omitted when empty.
   ========================================================================= */

[data-doc-list] .chip--filter {
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

[data-doc-list] .chip--filter[aria-pressed="true"],
[data-doc-list] .chip--filter[aria-pressed="true"]:hover {
	background: var(--hya-green-ink);
	border-color: var(--hya-green-ink);
	color: var(--white);
}

.doc-year[hidden] {
	display: none;
}

.report-feature {
	display: grid;
	overflow: hidden;
	margin-block-end: 2rem;
	background: var(--mist);
	border-radius: var(--r-lg);
}

.report-feature__cover {
	position: relative;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 0.35rem;
	min-height: 14rem;
	background: var(--night);
	color: var(--white);
	font: 800 1.25rem / 1 var(--font-display);
}

.report-feature__cover::after {
	content: "";
	position: absolute;
	inset: 1rem;
	border: 1px solid rgba(232, 198, 106, 0.5);
	border-radius: var(--r-md);
}

.report-feature__num {
	font: 900 clamp(4.5rem, 9vw, 6.5rem) / 1 var(--font-display);
	/* Gold numerals, as on the other big numbers in the static design. */
	background: var(--gold-shine);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 10px rgba(244, 213, 126, 0.22));
}

.report-feature__body {
	display: grid;
	gap: 1rem;
	align-content: center;
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

.report-feature__body > * {
	margin: 0;
}

.report-feature__kicker {
	font-weight: 600;
	color: var(--hya-green-ink);
}

.report-feature__title {
	font-size: var(--fs-h3);
}

.report-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
}

.report-stats div {
	padding: 0.9rem 1rem;
	background: var(--white);
	border-radius: var(--r-md);
}

.report-stats dt {
	font-size: var(--fs-xs);
	color: var(--ink-soft);
}

.report-stats dd {
	margin: 0;
	font: 900 1.6rem / 1.2 var(--font-display);
	color: var(--hya-green-ink);
}

.report-feature .icon.icon--down,
.report__go .icon.icon--down {
	transform: rotate(90deg);
}

@media (min-width: 900px) {
	.report-feature {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	}
}

.reports {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.reports > li {
	margin: 0;
	list-style: none;
	min-width: 0;
}

.report__link {
	position: relative;
	display: grid;
	gap: 0.35rem;
	align-content: start;
	min-height: 11rem;
	padding: 1.4rem 1.4rem 1.25rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	color: var(--ink);
	text-decoration: none;
	transition: border-color 0.2s, transform 0.3s var(--ease), box-shadow 0.3s;
}

a.report__link:hover {
	color: var(--ink);
	border-color: var(--hya-green-ink);
	transform: translateY(-3px);
	box-shadow: var(--shadow-sm);
}

.report__num {
	font: 900 2.5rem / 1 var(--font-display);
	color: transparent;
	-webkit-text-stroke: 1.5px var(--hya-green-ink);
}

.report__month {
	font: 800 1.15rem / 1.4 var(--font-display);
}

.report__meta {
	font-size: var(--fs-xs);
	color: var(--ink-soft);
}

.report__go {
	position: absolute;
	inset-inline-end: 1.25rem;
	inset-block-end: 1.25rem;
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--mist);
	color: var(--hya-green-ink);
}

[data-doc-list] .empty {
	margin: 0;
}

@media (prefers-reduced-motion: reduce) {
	.report__link,
	a.report__link:hover,
	[data-doc-list] .chip--filter {
		transition: none;
		transform: none;
	}
}
