/* Highlighted notices: write them as Markdown blockquotes (lines starting with ">"). */
.content blockquote {
	padding: 15px 20px;
	background: var(--accent-soft);
	border-radius: 0 4px 4px 0;
}
.content blockquote h4 { margin-bottom: 10px; }


/* Award tables: shade runner-up / honorable-mention rows (their year cell is in italics). */
.content tbody tr:has(> td:first-child > em) { background: var(--subtle); color: var(--muted); }

/* Submenus (layouts/partials/menu.html). On phones they are always shown,
   indented under their parent; on wider screens they drop down on hover/focus. */
.menu__sub { margin: 0; padding: 0; list-style: none; }
.menu__sublink { padding-left: 2rem; font-weight: 400; text-transform: none; }
.menu__subitem:hover, .menu__subitem--active { background: var(--accent-fill); }

@media screen and (min-width: 767px) {
	.menu__item--parent { position: relative; }
	.menu__item--parent > .menu__link::after { content: " \25BE"; }
	.menu__sub {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 10;
		min-width: 15rem;
		background: var(--bar);
		border-top: 5px solid var(--accent-fill);
		box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
	}
	.menu__item--parent:hover > .menu__sub,
	.menu__item--parent:focus-within > .menu__sub { display: block; }
	.menu__sublink { padding: .625rem .9375rem; white-space: nowrap; }
	.menu__subitem + .menu__subitem { border-top: 1px solid rgba(255, 255, 255, .1); }
}

/* ---- Readability ---- */
.content { font-size: 1rem; line-height: 1.65; }
.content > p, .content > ul, .content > ol, .content > blockquote,
.content > h2, .content > h3, .content > h4 { max-width: 48rem; }
.last-updated { margin: 2rem 0 0; font-size: .8125rem; color: var(--muted); }

/* Wide tables scroll sideways on their own instead of widening the page. */
@media screen and (max-width: 766px) {
	.content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ---- Home page (layouts/index.html) ---- */
.home__heading {
	margin: 0 0 .75rem;
	font-size: .8125rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
}
.upcoming { margin-bottom: 2rem; }
.upcoming__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.upcoming__card {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	padding: 1.25rem 1.25rem 1rem;
	color: var(--fg);
	background: var(--accent-soft);
	border: 1px solid var(--rule);
	border-top: 4px solid var(--accent-fill);
	border-radius: 4px;
	transition: box-shadow .15s ease, transform .15s ease;
}
.upcoming__card:hover, .upcoming__card:focus-visible {
	color: var(--fg);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
	transform: translateY(-2px);
}
.upcoming__name { font-size: 1.5rem; font-weight: 700; line-height: 1.2; color: var(--accent); }
.upcoming__edition { font-size: .8125rem; color: var(--muted); }
.upcoming__where { margin-top: .5rem; font-size: 1rem; font-weight: 700; }
.upcoming__when { font-size: 1rem; }
.upcoming__note { margin-top: .5rem; font-size: .875rem; }
.upcoming__more { margin-top: auto; padding-top: .75rem; font-size: .875rem; font-weight: 700; color: var(--accent); }

.news { margin-bottom: 2rem; }
.news__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.news__list li { border-bottom: 1px solid var(--rule); }
.news__list a { display: block; padding: .6rem 0; font-size: 1rem; font-weight: 700; color: var(--fg); }
.news__list a:hover { color: var(--accent); text-decoration: underline; }

