/*
 * EUT — the whole front end.
 *
 * Order: tokens, reset, primitives, header, hero, hubs, this week, bands and
 * rows, the article, the parchment body, blocks, footer, responsive, print.
 *
 * The design is rectangular: border-radius is 0 everywhere, there are no
 * shadows, and the only motion is a 150ms colour transition.
 */

/* ------------------------------------------------------------------ tokens */

:root {
	--eut-blue-900: #071f4f;
	--eut-blue-800: #0b2a6b;
	--eut-blue-700: #0e3179;
	--eut-gold-500: #f2c230;
	--eut-gold-400: #f7d25a;
	--eut-parchment: #f4f1e8;
	--eut-muted: #b9c2da;

	--eut-rule-light: rgba(242, 194, 48, 0.2);
	--eut-rule: rgba(242, 194, 48, 0.25);
	--eut-rule-strong: rgba(242, 194, 48, 0.35);
	--eut-zebra: rgba(7, 31, 79, 0.05);
	--eut-ink-rule: rgba(7, 31, 79, 0.12);

	--eut-font-display: Marcellus, Georgia, "Times New Roman", serif;
	--eut-font-text: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--eut-size-xs: 11px;
	--eut-size-sm: 12px;
	--eut-size-nav: 14px;
	--eut-size-base: 17px;
	--eut-size-article: 18px;
	--eut-size-md: 23px;
	--eut-size-label: 24px;
	--eut-size-h3: 26px;
	--eut-size-h2: 34px;
	--eut-size-xl: 52px;
	--eut-size-hub: 56px;
	--eut-size-hero: 74px;

	--eut-track-eyebrow: 0.16em;
	--eut-track-meta: 0.14em;
	--eut-track-button: 0.1em;
	--eut-track-wordmark: 0.18em;
	--eut-track-label: 0.06em;

	--eut-gutter: 48px;
	--eut-max: 1280px;
	--eut-content: 720px;
	--eut-content-wide: 880px;

	--eut-row-hub: 16px;
	--eut-row-list: 22px;
	--eut-gap-hero: 64px;
	--eut-gap-hubs: 40px;
	--eut-gap-list: 56px;
	--eut-gap-nav: 28px;

	--eut-transition: 150ms ease;
	--eut-hubs-columns: 4;
}

@media (max-width: 1024px) {
	:root {
		--eut-gutter: 24px;
	}
}

@media (max-width: 640px) {
	:root {
		--eut-gutter: 16px;
		--eut-size-hero: 44px;
		--eut-size-base: 16px;
	}
}

/* ------------------------------------------------------------------- reset */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--eut-blue-900);
	color: var(--eut-parchment);
	font-family: var(--eut-font-text);
	font-size: var(--eut-size-base);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
}

svg {
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
ul,
ol,
dl {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--eut-transition);
}

a:hover,
a:focus-visible {
	color: var(--eut-gold-500);
	text-decoration: underline;
	text-underline-offset: 3px;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--eut-gold-500);
	outline-offset: 2px;
}

/* Gold and parchment grounds need the inverse focus ring. */
.eut-body--paper :focus-visible,
.eut-search__button:focus-visible,
.eut-button:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 2px solid var(--eut-blue-900);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.eut-skip:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 16px;
	overflow: visible;
	clip: auto;
	clip-path: none;
	background: var(--eut-gold-500);
	color: var(--eut-blue-900);
	font-size: var(--eut-size-sm);
	font-weight: 700;
	letter-spacing: var(--eut-track-button);
	text-transform: uppercase;
	text-decoration: none;
}

/* -------------------------------------------------------------- primitives */

.eut-page {
	max-width: 100%;
}

.eut-shell {
	max-width: var(--eut-max);
	margin-inline: auto;
	padding-inline: var(--eut-gutter);
}

.eut-eyebrow {
	margin: 0;
	color: var(--eut-gold-500);
	font-size: var(--eut-size-xs);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: var(--eut-track-eyebrow);
	text-transform: uppercase;
}

.eut-meta {
	color: var(--eut-gold-500);
	font-size: var(--eut-size-xs);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: var(--eut-track-meta);
	text-transform: uppercase;
}

.eut-label {
	margin: 0;
	font-family: var(--eut-font-display);
	font-size: var(--eut-size-label);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: var(--eut-track-label);
}

.eut-wordmark {
	display: inline-block;
	font-family: var(--eut-font-display);
	font-size: 28px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: var(--eut-track-wordmark);
	text-transform: uppercase;
}

.eut-wordmark--sm {
	font-size: 18px;
}

.eut-mark {
	flex: none;
	color: var(--eut-gold-500);
}

.eut-star {
	color: var(--eut-gold-500);
	font-size: 16px;
	line-height: 1;
}

.eut-star--sm {
	font-size: 12px;
}

.eut-stars {
	color: var(--eut-gold-500);
	font-size: var(--eut-size-sm);
	letter-spacing: 0.3em;
	white-space: nowrap;
}

.eut-textlink,
.eut-textbutton {
	display: inline-block;
	color: var(--eut-gold-500);
}

/* WCAG 2.5.8 asks for 24px of target; these all sit on a baseline, so the
   height is bought above the text and nothing shifts. */
.eut-textlink,
.eut-textbutton {
	padding-top: 8px;
	padding-bottom: 4px;
}

.eut-button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
	display: inline-block;
	padding: 10px 16px;
	border: 0;
	border-radius: 0;
	background: var(--eut-gold-500);
	color: var(--eut-blue-900);
	font-family: var(--eut-font-text);
	font-size: var(--eut-size-sm);
	font-weight: 700;
	line-height: 1;
	letter-spacing: var(--eut-track-button);
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--eut-transition);
}

.eut-button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
	background: var(--eut-gold-400);
	color: var(--eut-blue-900);
	text-decoration: none;
}

.eut-button:active,
.wp-block-button__link:active,
button[type="submit"]:active {
	transform: translateY(1px);
}

.eut-sectionhead {
	display: flex;
	align-items: center;
	gap: 16px;
}

.eut-sectionhead__rule {
	flex: 1;
	min-width: 12px;
	border-top: 1px solid var(--eut-rule-strong);
}

.eut-sectionhead__right {
	flex: none;
	color: var(--eut-muted);
	font-size: var(--eut-size-sm);
}

/* ------------------------------------------------------------------ header */

.eut-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 20px;
	border-bottom: 1px solid var(--eut-rule);
}

.eut-lockup {
	display: flex;
	flex: none;
	align-items: center;
	gap: 12px;
	color: var(--eut-parchment);
}

.eut-lockup:hover,
.eut-lockup:focus-visible {
	color: var(--eut-parchment);
	text-decoration: none;
}

.eut-lockup:hover .eut-mark {
	color: var(--eut-gold-400);
}

.eut-lockup__logo {
	max-height: 40px;
	width: auto;
}

.eut-lockup__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.eut-lockup__tagline {
	color: var(--eut-gold-500);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.eut-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--eut-gap-nav);
	align-items: center;
	margin: 0;
}

.eut-nav__list a {
	color: var(--eut-muted);
	font-size: var(--eut-size-nav);
	font-weight: 600;
	/* 24px of target height around a 14px line, bought symmetrically. */
	padding-block: 4px;
	display: inline-block;
}

.eut-nav__list a:hover,
.eut-nav__list a:focus-visible {
	color: var(--eut-parchment);
	text-decoration: none;
}

.eut-nav__list .current-menu-item > a,
.eut-nav__list .current_page_item > a,
.eut-nav__list .current-menu-parent > a,
.eut-nav__list .current-menu-ancestor > a {
	color: var(--eut-gold-500);
}

.eut-header__name {
	flex: none;
	margin: 0;
	color: var(--eut-gold-500);
	font-size: var(--eut-size-xs);
	font-weight: 700;
	letter-spacing: var(--eut-track-eyebrow);
	text-transform: uppercase;
}

.eut-menutoggle {
	display: none;
	padding: 8px 0 4px;
	border: 0;
	background: none;
	color: var(--eut-gold-500);
	font-size: var(--eut-size-xs);
	font-weight: 700;
	letter-spacing: var(--eut-track-eyebrow);
	text-transform: uppercase;
	cursor: pointer;
}

/* ------------------------------------------------------------- mobile menu */

.eut-mobilemenu {
	position: fixed;
	inset: 0;
	z-index: 90;
	overflow-y: auto;
	background: var(--eut-blue-900);
}

.eut-mobilemenu[hidden] {
	display: none;
}

.eut-mobilemenu__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 20px;
	border-bottom: 1px solid var(--eut-rule);
}

.eut-mobilemenu__bar .eut-menutoggle {
	display: inline-block;
}

.eut-mobilemenu__body {
	padding-block: 28px 64px;
}

.eut-mobilemenu__primary {
	margin: 0 0 32px;
}

.eut-mobilemenu__primary a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid var(--eut-rule-light);
	font-family: var(--eut-font-display);
	font-size: 28px;
	line-height: 1.2;
}

.eut-mobilemenu__label {
	margin-bottom: 4px;
}

.eut-mobilemenu__hubs a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--eut-rule-light);
	font-size: 17px;
	font-weight: 700;
}

.eut-mobilemenu__count {
	flex: none;
	color: var(--eut-muted);
	font-size: var(--eut-size-sm);
	font-weight: 400;
}

body.eut-menu-open {
	overflow: hidden;
}

/* -------------------------------------------------------------------- hero */

.eut-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 440px;
	gap: var(--eut-gap-hero);
	align-items: end;
	padding-block: 72px 60px;
	border-bottom: 1px solid var(--eut-rule);
}

.eut-hero--solo .eut-hero__inner {
	grid-template-columns: minmax(0, 1fr);
}

.eut-hero__text {
	min-width: 0;
}

.eut-hero__title {
	margin: 18px 0 0;
	font-family: var(--eut-font-display);
	font-size: var(--eut-size-hero);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: 0;
}

.eut-hero__lead {
	max-width: 560px;
	margin: 22px 0 0;
	color: var(--eut-muted);
	font-size: var(--eut-size-base);
	line-height: 1.65;
}

.eut-hero__search {
	margin-top: 36px;
}

.eut-search {
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 600px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--eut-gold-500);
}

.eut-search__input {
	flex: 1;
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--eut-parchment);
	font-family: var(--eut-font-text);
	font-size: var(--eut-size-base);
	appearance: none;
}

.eut-search__input::placeholder {
	color: var(--eut-muted);
	opacity: 1;
}

.eut-search__input:focus {
	outline: 0;
}

.eut-search:focus-within {
	border-bottom-color: var(--eut-gold-400);
}

.eut-search__button {
	flex: none;
}

/* ---------------------------------------------------------- featured guide */

.eut-featured__link {
	display: block;
	color: var(--eut-parchment);
}

.eut-featured__link:hover,
.eut-featured__link:focus-visible {
	color: var(--eut-parchment);
	text-decoration: none;
}

.eut-featured__link:hover .eut-featured__title {
	color: var(--eut-gold-500);
}

.eut-featured__media {
	position: relative;
	aspect-ratio: 440 / 300;
	overflow: hidden;
	background: var(--eut-blue-800);
}

.eut-featured__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eut-featured__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient(135deg, var(--eut-blue-800) 0 10px, var(--eut-blue-700) 10px 20px);
}

.eut-featured__meta {
	margin-top: 14px;
}

.eut-featured__title {
	margin-top: 6px;
	font-family: var(--eut-font-display);
	font-size: var(--eut-size-md);
	font-weight: 400;
	line-height: 1.25;
	transition: color var(--eut-transition);
}

/* -------------------------------------------------------------------- hubs */

.eut-hubs {
	padding-top: 44px;
}

.eut-hubs__grid {
	display: grid;
	grid-template-columns: repeat(var(--eut-hubs-columns), minmax(0, 1fr));
	column-gap: var(--eut-gap-hubs);
	padding-top: 6px;
}

.eut-hubs__grid[data-columns="3"] {
	--eut-hubs-columns: 3;
}

.eut-hubs__grid[data-columns="2"] {
	--eut-hubs-columns: 2;
}

.eut-hub {
	min-width: 0;
	border-bottom: 1px solid var(--eut-rule-light);
}

.eut-hub__link {
	display: flex;
	gap: 12px;
	align-items: baseline;
	padding: var(--eut-row-hub) 0;
	color: var(--eut-parchment);
}

.eut-hub__link:hover,
.eut-hub__link:focus-visible {
	color: var(--eut-gold-500);
	text-decoration: none;
}

.eut-hub__text {
	min-width: 0;
}

.eut-hub__name {
	display: block;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.eut-hub__count {
	display: block;
	margin-top: 2px;
	color: var(--eut-muted);
	font-size: var(--eut-size-sm);
	line-height: 1.3;
}

.eut-hubs__more {
	margin-top: 14px;
}

.eut-hubs__more > summary {
	cursor: pointer;
	list-style: none;
}

.eut-hubs__more > summary::-webkit-details-marker {
	display: none;
}

.eut-hubs__more[open] > summary .eut-hubs__more-open {
	opacity: 0.7;
}

.eut-hubs__grid--rest {
	padding-top: 10px;
}

/* --------------------------------------------------------------- this week */

.eut-week,
.eut-related {
	padding-top: 48px;
}

.eut-week__grid,
.eut-related__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--eut-gap-list);
	padding-top: 6px;
}

.eut-related__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eut-week__all {
	padding-top: 4px;
}

/* -------------------------------------------------------------------- rows */

.eut-row {
	min-width: 0;
	padding: var(--eut-row-list) 0;
	border-bottom: 1px solid var(--eut-rule-light);
}

.eut-row__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	align-items: baseline;
}

.eut-row__time {
	color: var(--eut-muted);
	font-size: var(--eut-size-xs);
	font-weight: 700;
	letter-spacing: var(--eut-track-meta);
	text-transform: uppercase;
}

.eut-row__title {
	margin-top: 8px;
	font-family: var(--eut-font-display);
	font-size: var(--eut-size-md);
	font-weight: 400;
	line-height: 1.25;
}

.eut-row__excerpt {
	/* The design asks for a two-line excerpt. The excerpt itself is written
	   longer than that so the clamp always has something to cut, which keeps
	   the rows an even height however long a guide's own summary runs. */
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	margin-top: 8px;
	max-width: 62ch;
	color: var(--eut-muted);
	font-size: 15px;
	line-height: 1.55;
}

.eut-list {
	padding-top: 8px;
	padding-bottom: 48px;
}

.eut-list .eut-row:last-of-type {
	border-bottom: 0;
}

/* ------------------------------------------------------------------- bands */

.eut-band {
	padding-block: 56px 8px;
}

.eut-band__title {
	margin-top: 12px;
	font-family: var(--eut-font-display);
	font-size: var(--eut-size-hub);
	font-weight: 400;
	line-height: 1.08;
}

.eut-band__title--search {
	font-size: 40px;
}

.eut-band__description {
	max-width: 620px;
	margin-top: 16px;
	color: var(--eut-muted);
	font-size: var(--eut-size-base);
	line-height: 1.65;
}

.eut-band__description p {
	margin: 0;
}

.eut-band__count {
	margin-top: 14px;
	color: var(--eut-muted);
	font-size: var(--eut-size-sm);
}

.eut-band__search {
	margin-top: 28px;
}

.eut-band--search,
.eut-band--404 {
	border-bottom: 1px solid var(--eut-rule);
	padding-bottom: 44px;
}

.eut-none {
	padding-block: 40px 64px;
}

.eut-none__message {
	font-family: var(--eut-font-display);
	font-size: var(--eut-size-md);
}

.eut-none__search {
	margin-top: 24px;
}

/* -------------------------------------------------------------- pagination */

.eut-pagination {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-top: 32px;
}

.eut-pagination a {
	display: inline-block;
	padding-top: 8px;
	padding-bottom: 4px;
	color: var(--eut-gold-500);
	font-size: var(--eut-size-xs);
	font-weight: 700;
	letter-spacing: var(--eut-track-meta);
	text-transform: uppercase;
}

.eut-pagination__older {
	margin-left: auto;
}

/* ----------------------------------------------------------------- article */

.eut-articlehead__inner {
	padding-block: 56px 0;
}

.eut-articlehead__hub a {
	display: inline-block;
	/* Same trick: the 11px eyebrow is a 15px box, so buy the other 9px here
	   and take it back off the title's margin below. */
	padding-block: 5px 4px;
	color: var(--eut-gold-500);
}

.eut-articlehead__title {
	max-width: 20ch;
	margin-top: 5px;
	font-family: var(--eut-font-display);
	font-size: var(--eut-size-xl);
	font-weight: 400;
	line-height: 1.08;
}

.eut-articlehead__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin-top: 20px;
	color: var(--eut-muted);
	font-size: var(--eut-size-xs);
	font-weight: 700;
	letter-spacing: var(--eut-track-meta);
	text-transform: uppercase;
}

.eut-articlehead__role {
	color: var(--eut-gold-500);
}

.eut-articlehead__media {
	margin-top: 34px;
}

.eut-articlehead__image {
	display: block;
	width: 100%;
	max-width: var(--eut-content-wide);
	margin-inline: auto;
	aspect-ratio: 880 / 600;
	object-fit: cover;
	background: var(--eut-blue-800);
}

.eut-article__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: baseline;
	padding-block: 28px;
	font-size: var(--eut-size-sm);
}

.eut-article__tags a {
	color: var(--eut-muted);
}

/* ------------------------------------------------------- the article panel */

.eut-body {
	margin-top: 40px;
}

.eut-body__inner {
	max-width: var(--eut-max);
	margin-inline: auto;
	padding-inline: var(--eut-gutter);
}

.eut-body--paper {
	background: var(--eut-parchment);
	color: var(--eut-blue-900);
}

.eut-body--paper .eut-body__inner {
	padding-block: 48px 56px;
}

.eut-body--dark .eut-body__inner {
	padding-block: 8px 24px;
}

/* Everything in the body is a 720px measure, centred inside the shell;
   tables, figures and the scroll panels reach 880px. */
.eut-body__inner > * {
	max-width: var(--eut-content);
	margin-inline: auto;
}

.eut-body__inner > figure,
.eut-body__inner > .wp-block-image,
.eut-body__inner > .wp-block-table,
.eut-body__inner > .eut-scroll,
.eut-body__inner > .alignwide,
.eut-body__inner > .eut-slot {
	max-width: var(--eut-content-wide);
}

.eut-body__inner > .alignfull {
	max-width: none;
}

.eut-body__inner > * + * {
	margin-top: 22px;
}

.eut-body p {
	font-size: var(--eut-size-article);
	line-height: 1.7;
}

.eut-body h2,
.eut-body h3,
.eut-body h4 {
	font-family: var(--eut-font-display);
	font-weight: 400;
	letter-spacing: 0;
}

.eut-body__inner > h2 {
	margin-top: 48px;
	padding-top: 22px;
	border-top: 1px solid var(--eut-gold-500);
	font-size: var(--eut-size-h2);
	line-height: 1.15;
}

.eut-body--dark .eut-body__inner > h2 {
	border-top-color: var(--eut-rule-strong);
}

.eut-body__inner > h3 {
	margin-top: 34px;
	font-size: var(--eut-size-h3);
	line-height: 1.2;
}

.eut-body__inner > h4 {
	margin-top: 28px;
	font-size: 20px;
	line-height: 1.25;
}

.eut-body ul,
.eut-body ol {
	padding-left: 1.25em;
	font-size: var(--eut-size-article);
	line-height: 1.7;
	list-style: disc;
}

.eut-body ol {
	list-style: decimal;
}

.eut-body li + li {
	margin-top: 8px;
}

.eut-body strong {
	font-weight: 700;
}

.eut-body--paper a {
	color: var(--eut-blue-800);
	text-decoration: underline;
	text-decoration-color: var(--eut-gold-500);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.eut-body--paper a:hover,
.eut-body--paper a:focus-visible {
	color: var(--eut-blue-900);
	text-decoration-color: var(--eut-blue-900);
}

/* No margin reset on figures here: the reset at the top of this file already
   zeroes them, and re-zeroing after the layout rules above would undo both the
   auto side margins that centre a figure and the 22px it gets from the flow. */

.eut-body figure img {
	display: block;
	width: 100%;
	height: auto;
}

.eut-body figcaption,
.eut-body .wp-element-caption {
	margin-top: 8px;
	font-size: var(--eut-size-sm);
	line-height: 1.45;
}

.eut-body--paper figcaption,
.eut-body--paper .wp-element-caption {
	color: rgba(7, 31, 79, 0.66);
}

.eut-body--dark figcaption,
.eut-body--dark .wp-element-caption {
	color: var(--eut-muted);
}

.eut-body blockquote {
	padding-left: 20px;
	border-left: 2px solid var(--eut-gold-500);
	font-family: var(--eut-font-display);
	font-size: var(--eut-size-md);
	line-height: 1.4;
}

.eut-body blockquote p {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

.eut-body hr,
.eut-body .wp-block-separator {
	height: 0;
	margin-block: 40px;
	border: 0;
	border-top: 1px solid var(--eut-ink-rule);
}

.eut-body--dark hr,
.eut-body--dark .wp-block-separator {
	border-top-color: var(--eut-rule);
}

.eut-body code,
.eut-body kbd,
.eut-body samp {
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	font-size: 0.92em;
}

.eut-body pre {
	overflow-x: auto;
	padding: 16px;
	background: rgba(7, 31, 79, 0.06);
	font-size: 14px;
	line-height: 1.5;
}

.eut-body--dark pre {
	background: var(--eut-blue-800);
}

/* ------------------------------------------------------------------ tables */

.eut-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.eut-scroll:focus-visible {
	outline: 2px solid var(--eut-gold-500);
	outline-offset: 2px;
}

.eut-body table,
.eut-body .wp-block-table table {
	width: 100%;
	min-width: 32em;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.45;
	font-variant-numeric: tabular-nums;
}

.eut-body thead th {
	background: var(--eut-blue-900);
	color: var(--eut-parchment);
	font-weight: 700;
	text-align: left;
	padding: 10px 12px;
	vertical-align: bottom;
}

.eut-body tbody td,
.eut-body tbody th {
	padding: 10px 12px;
	border-bottom: 1px solid var(--eut-ink-rule);
	text-align: left;
	vertical-align: top;
}

.eut-body--paper tbody tr:nth-child(even) td,
.eut-body--paper tbody tr:nth-child(even) th {
	background: var(--eut-zebra);
}

.eut-body--dark thead th {
	background: var(--eut-blue-800);
	border-bottom: 1px solid var(--eut-gold-500);
}

.eut-body--dark tbody td,
.eut-body--dark tbody th {
	border-bottom-color: var(--eut-rule-light);
}

.eut-body--dark tbody tr:nth-child(even) td {
	background: rgba(255, 255, 255, 0.03);
}

.eut-body .wp-block-table {
	overflow: visible;
}

/* ---------------------------------------------------- derived: contents */

.eut-contents {
	margin-top: 40px;
	padding: 26px 28px 28px;
	border-top: 1px solid var(--eut-gold-500);
	background: rgba(7, 31, 79, 0.035);
}

.eut-body--dark .eut-contents {
	border-top-color: var(--eut-rule-strong);
	background: var(--eut-blue-800);
}

/* Scoped under .eut-body so these beat the generic prose rules for h2, ol and
   li that follow them in this file. */
.eut-body .eut-contents__title {
	margin: 0 0 14px;
	font-family: var(--eut-font-text);
	font-size: var(--eut-size-xs);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: var(--eut-track-eyebrow);
	text-transform: uppercase;
	border: 0;
	padding: 0;
}

.eut-body--paper .eut-contents__title {
	color: var(--eut-blue-800);
}

.eut-body--dark .eut-contents__title {
	color: var(--eut-gold-500);
}

.eut-body .eut-contents__list {
	columns: 2;
	column-gap: 40px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: eut-contents;
}

.eut-body .eut-contents__item {
	break-inside: avoid;
	counter-increment: eut-contents;
	font-size: 15px;
	line-height: 1.4;
}

.eut-body .eut-contents__item + .eut-contents__item {
	margin-top: 0;
}

.eut-body .eut-contents__item a {
	display: block;
	padding: 7px 0;
	border-bottom: 1px solid var(--eut-ink-rule);
	text-decoration: none;
}

.eut-body--dark .eut-contents__item a {
	border-bottom-color: var(--eut-rule-light);
}

.eut-contents__item a::before {
	content: counter(eut-contents) ". ";
	color: var(--eut-gold-500);
	font-weight: 700;
}

.eut-body--paper .eut-contents__item a::before {
	color: var(--eut-blue-800);
}

/* --------------------------------------------------------- derived: FAQ */

.eut-faq {
	margin-top: 48px;
}

.eut-faq > h2 {
	margin: 0 0 8px;
	padding-top: 22px;
	border-top: 1px solid var(--eut-gold-500);
	font-family: var(--eut-font-display);
	font-size: var(--eut-size-h2);
	font-weight: 400;
	line-height: 1.15;
}

.eut-body--dark .eut-faq > h2 {
	border-top-color: var(--eut-rule-strong);
}

.eut-faq > h3 {
	margin: 0;
	padding: 22px 0 0;
	border-top: 1px solid var(--eut-ink-rule);
	font-family: var(--eut-font-text);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
}

.eut-body--dark .eut-faq > h3 {
	border-top-color: var(--eut-rule-light);
}

.eut-faq > h3:first-of-type {
	margin-top: 24px;
}

.eut-faq > h3 + p {
	margin-top: 10px;
}

.eut-faq > p {
	margin: 0 0 22px;
}

.eut-faq > * {
	max-width: var(--eut-content);
	margin-inline: auto;
}

/* ----------------------------------------------------- derived: credits */

.eut-credits {
	margin-top: 48px;
	padding-top: 22px;
	border-top: 1px solid var(--eut-ink-rule);
}

.eut-body--dark .eut-credits {
	border-top-color: var(--eut-rule-light);
}

.eut-credits > summary {
	list-style: none;
	cursor: pointer;
}

.eut-credits > summary::-webkit-details-marker {
	display: none;
}

.eut-credits__label {
	display: inline-block;
	padding: 4px 0;
	font-size: var(--eut-size-xs);
	font-weight: 700;
	letter-spacing: var(--eut-track-eyebrow);
	text-transform: uppercase;
}

.eut-body--paper .eut-credits__label {
	color: var(--eut-blue-800);
}

.eut-body--dark .eut-credits__label {
	color: var(--eut-gold-500);
}

.eut-credits__label::after {
	content: " ↓";
}

.eut-credits[open] .eut-credits__label::after {
	content: " ↑";
}

.eut-credits__body {
	margin-top: 16px;
}

.eut-credits__body ul {
	padding-left: 1.1em;
	font-size: 14px;
	line-height: 1.6;
}

.eut-credits__body li + li {
	margin-top: 6px;
}

/* --------------------------------------------------------------- ad slots */

.eut-slot {
	margin-block: 36px;
}

.eut-slot__title {
	margin-bottom: 10px;
	color: inherit;
	opacity: 0.6;
}

.eut-slot:empty {
	display: none;
}

/* ---------------------------------------------------------------- comments */

.eut-comments {
	padding-block: 48px 8px;
}

.eut-comments__list {
	padding-top: 12px;
}

.eut-comments__list li {
	padding-block: 18px;
	border-bottom: 1px solid var(--eut-rule-light);
}

.eut-comments__list .children {
	padding-left: 24px;
}

.eut-comments__title {
	margin-bottom: 12px;
}

.eut-comments input[type="text"],
.eut-comments input[type="email"],
.eut-comments input[type="url"],
.eut-comments textarea {
	width: 100%;
	max-width: 520px;
	padding: 10px 12px;
	border: 1px solid var(--eut-rule);
	background: var(--eut-blue-800);
	color: var(--eut-parchment);
}

.eut-comments input[type="checkbox"],
.eut-comments input[type="radio"] {
	inline-size: 24px;
	block-size: 24px;
	accent-color: var(--eut-gold-500);
}

.eut-comments .comment-form > p {
	margin-top: 16px;
}

.eut-comments .comment-reply-title {
	font-family: var(--eut-font-display);
	font-size: var(--eut-size-label);
	font-weight: 400;
}

/* ------------------------------------------------------------------ footer */

.eut-footer {
	margin-top: 48px;
}

.eut-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 40px;
	align-items: center;
	padding-block: 32px 34px;
	border-top: 1px solid var(--eut-rule);
}

.eut-footer__brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.eut-footer__brand .eut-mark {
	flex: none;
}

.eut-footer__brand .eut-wordmark {
	/* 18px of Marcellus is 18px of box; WCAG 2.5.8 wants 24. */
	padding-block: 3px;
}

.eut-footer__tagline {
	margin-top: 1px;
	max-width: 60ch;
	color: var(--eut-muted);
	font-size: var(--eut-size-xs);
	line-height: 1.5;
}

.eut-footer__list {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	justify-content: flex-end;
}

.eut-footer__list a {
	display: inline-block;
	padding-block: 6px;
	color: var(--eut-muted);
	font-size: var(--eut-size-xs);
	letter-spacing: var(--eut-track-meta);
	text-transform: uppercase;
}

.eut-footer__list a:hover,
.eut-footer__list a:focus-visible {
	color: var(--eut-gold-500);
}

/* ------------------------------------------------------------ block styles */

.is-style-eut-eyebrow {
	font-family: var(--eut-font-text) !important;
	font-size: var(--eut-size-xs) !important;
	font-weight: 700;
	letter-spacing: var(--eut-track-eyebrow);
	text-transform: uppercase;
}

.eut-body--paper .is-style-eut-eyebrow {
	color: var(--eut-blue-800);
}

.eut-body--dark .is-style-eut-eyebrow {
	color: var(--eut-gold-500);
}

.is-style-eut-lead {
	font-size: 20px !important;
	line-height: 1.55;
}

.is-style-eut-ruled {
	padding: 24px 26px;
	border-top: 1px solid var(--eut-gold-500);
	border-bottom: 1px solid var(--eut-ink-rule);
}

.is-style-eut-panel {
	padding: 26px 28px;
	background: var(--eut-blue-900);
	color: var(--eut-parchment);
}

.is-style-eut-panel a {
	color: var(--eut-gold-500);
	text-decoration-color: var(--eut-gold-500);
}

.is-style-eut-stars {
	padding-left: 0;
	list-style: none;
}

.is-style-eut-stars li {
	padding-left: 22px;
	position: relative;
}

.is-style-eut-stars li::before {
	content: "★";
	position: absolute;
	left: 0;
	top: 0.05em;
	color: var(--eut-gold-500);
	font-size: 12px;
}

.is-style-eut-stars-rule {
	border: 0 !important;
	text-align: center;
}

.is-style-eut-stars-rule::before {
	content: "★ ★ ★";
	color: var(--eut-gold-500);
	font-size: var(--eut-size-sm);
	letter-spacing: 0.3em;
}

.is-style-eut-pull {
	border-left: 2px solid var(--eut-gold-500);
	padding-left: 20px;
}

.is-style-eut-fares table {
	font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------ core block hygiene */

.wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

.alignleft,
.alignright {
	max-width: 50%;
}

.alignleft {
	float: left;
	margin: 6px 24px 16px 0;
}

.alignright {
	float: right;
	margin: 6px 0 16px 24px;
}

.aligncenter {
	margin-inline: auto;
}

.eut-body__inner > .alignleft,
.eut-body__inner > .alignright {
	max-width: 340px;
}

.eut-pagelinks {
	display: flex;
	gap: 12px;
	margin-top: 32px;
	font-size: var(--eut-size-sm);
	font-weight: 700;
	letter-spacing: var(--eut-track-meta);
	text-transform: uppercase;
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 1024px) {
	.eut-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
		padding-block: 56px 48px;
	}

	.eut-featured__media {
		aspect-ratio: 16 / 9;
	}

	.eut-hubs__grid {
		--eut-hubs-columns: 3;
	}

	.eut-hubs__grid[data-columns="2"] {
		--eut-hubs-columns: 2;
	}

	.eut-header__name {
		display: none;
	}

	.eut-body--paper .eut-body__inner {
		padding-block: 40px 44px;
	}

	.eut-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.eut-footer__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		align-items: start;
	}

	.eut-footer__list {
		justify-content: flex-start;
	}
}

@media (max-width: 640px) {
	.eut-nav {
		display: none;
	}

	.eut-menutoggle {
		display: inline-block;
	}

	.eut-header__inner {
		gap: 16px;
	}

	.eut-hero__inner {
		padding-block: 40px 36px;
	}

	.eut-hero__lead {
		font-size: 16px;
	}

	.eut-search {
		flex-wrap: wrap;
		gap: 12px;
	}

	.eut-search__input {
		flex: 1 1 auto;
	}

	.eut-search__button {
		flex: 1 0 100%;
	}

	.eut-hubs__grid {
		--eut-hubs-columns: 2;
	}

	.eut-week__grid,
	.eut-related__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.eut-contents__list {
		columns: 1;
	}

	.eut-contents {
		padding: 20px 18px 22px;
	}

	.eut-body--paper .eut-body__inner {
		padding-block: 28px 32px;
	}

	.eut-band {
		padding-top: 36px;
	}

	.eut-articlehead__inner {
		padding-top: 36px;
	}

	.eut-articlehead__title {
		max-width: none;
	}
}

@media (max-width: 460px) {
	.eut-hubs__grid {
		--eut-hubs-columns: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ------------------------------------------------------------------- print */

@media print {
	body {
		background: #fff;
		color: #000;
	}

	.eut-header,
	.eut-footer,
	.eut-mobilemenu,
	.eut-related,
	.eut-slot,
	.eut-search {
		display: none !important;
	}

	.eut-body--paper,
	.eut-body--dark {
		background: #fff;
		color: #000;
	}

	.eut-credits[open],
	.eut-credits {
		display: block;
	}

	.eut-credits__body {
		display: block !important;
	}
}
