/*
 * Trencadís — the whole front end.
 *
 * Colour values live nowhere in this file. inc/palette.php prints every
 * --tr-* custom property on :root from the Customizer settings, deriving the
 * contrast-corrected siblings as it goes, so changing an accent in the
 * Customizer repaints the site without touching CSS.
 *
 * Contents
 *   1  Tokens and reset
 *   2  Typography primitives
 *   3  Layout: gutter, columns, grids
 *   4  Accent utilities
 *   5  Buttons, links, pills
 *   6  Frames (the arch masks) and the tile divider
 *   7  Utility bar, masthead, navigation, search
 *   8  Front page: hero, bands, cards, feature, itineraries
 *   9  Newsletter and footer
 *   10 Article
 *   11 Editor blocks inside the article
 *   12 Archives, pagination, search, empty states
 *   13 Comments
 *   14 Responsive
 *   15 Motion, print, forced colours
 */

/* =========================================================================
 * 1  Tokens and reset
 * ====================================================================== */

:root {
	--tr-serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
	--tr-sans: 'Jost', 'Futura', 'Century Gothic', 'Trebuchet MS', system-ui, sans-serif;

	--tr-gutter: 56px;
	--tr-page: 1280px;
	--tr-read: 680px;
	--tr-read-wide: 760px;

	--tr-radius: 8px;
	--tr-radius-sm: 6px;
	--tr-pill: 99px;

	--tr-band-y: 56px;
	--tr-gap: 30px;

	--tr-ease: 150ms ease;
	--tr-ease-slow: 200ms ease;
}

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

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

body {
	margin: 0;
	background: var(--tr-cream);
	color: var(--tr-ink);
	font-family: var(--tr-sans);
	font-size: 16px;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

img {
	height: auto;
}

figure {
	margin: 0;
}

hr {
	border: 0;
	border-top: 1px solid var(--tr-hairline);
	margin: 40px 0;
}

.tr-page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.tr-main {
	flex: 1 0 auto;
}

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

.tr-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--tr-teal);
	color: var(--tr-cream);
	padding: 12px 22px;
	border-radius: 0 0 var(--tr-radius) 0;
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
}

.tr-skip:focus {
	left: 0;
}

:where(a, button, input, select, textarea, summary, details):focus-visible {
	outline: 2px solid var(--tr-teal);
	outline-offset: 3px;
	border-radius: 2px;
}

/* =========================================================================
 * 2  Typography primitives
 * ====================================================================== */

.tr-display {
	font-family: var(--tr-serif);
	font-weight: 500;
	line-height: 1.06;
	letter-spacing: 0;
	text-wrap: pretty;
	margin: 0;
}

/* The italic accent word is the theme's one recurring flourish. It is never
   letterspaced — a letterspaced serif italic looks like a mistake at any size. */
.tr-display em,
.tr-display i {
	font-style: italic;
	color: var(--tr-teal);
	letter-spacing: 0;
}

.tr-overline {
	font-family: var(--tr-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--tr-meta);
	margin: 0;
}

.tr-kicker {
	display: inline-block;
	/* The kicker is a 10px link, which is a 17px tap target. The padding grows
	   it past 24px and the equal negative margin puts the layout back exactly
	   where the design has it. */
	padding-block: 4px;
	margin-block: -4px;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--tr-accent-text, var(--tr-teal-text));
	transition: color var(--tr-ease);
}

.tr-kicker:hover,
.tr-kicker:focus-visible {
	color: var(--tr-terracotta-text);
}

.tr-meta-line {
	font-size: 12px;
	letter-spacing: 0.1em;
	color: var(--tr-meta);
	margin: 0;
}

/* =========================================================================
 * 3  Layout
 * ====================================================================== */

.tr-gutter {
	width: 100%;
	max-width: var(--tr-page);
	margin-inline: auto;
	padding-inline: var(--tr-gutter);
}

.tr-column {
	width: 100%;
	max-width: calc(var(--tr-read) + 2 * var(--tr-gutter));
	margin-inline: auto;
	padding-inline: var(--tr-gutter);
}

.tr-column--wide {
	max-width: calc(var(--tr-read-wide) + 2 * var(--tr-gutter));
}

.tr-grid {
	display: grid;
	gap: var(--tr-gap);
}

.tr-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tr-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tr-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.tr-grid--1 { grid-template-columns: minmax(0, 1fr); max-width: 420px; }

/* =========================================================================
 * 4  Accent utilities
 *
 * One class sets three variables: the identity colour for shapes, the 3:1
 * sibling for small marks, and the 4.5:1 sibling for words. Components then
 * only ever reference --tr-accent*, so the same card markup works in any
 * section without a per-colour rule.
 * ====================================================================== */

.tr-accent-teal,
.tr-accent-page-teal {
	--tr-accent: var(--tr-teal);
	--tr-accent-mark: var(--tr-teal-mark);
	--tr-accent-text: var(--tr-teal-text);
	--tr-accent-on-dark: var(--tr-teal-on-ink);
	--tr-on-accent: var(--tr-cream);
}

.tr-accent-terracotta,
.tr-accent-page-terracotta {
	--tr-accent: var(--tr-terracotta);
	--tr-accent-mark: var(--tr-terracotta-mark);
	--tr-accent-text: var(--tr-terracotta-text);
	--tr-accent-on-dark: var(--tr-terracotta-on-ink);
	--tr-on-accent: var(--tr-on-terracotta);
}

.tr-accent-emerald,
.tr-accent-page-emerald {
	--tr-accent: var(--tr-emerald);
	--tr-accent-mark: var(--tr-emerald-mark);
	--tr-accent-text: var(--tr-emerald-text);
	--tr-accent-on-dark: var(--tr-emerald-on-ink);
	--tr-on-accent: var(--tr-on-emerald);
}

.tr-accent-cobalt,
.tr-accent-page-cobalt {
	--tr-accent: var(--tr-cobalt);
	--tr-accent-mark: var(--tr-cobalt-mark);
	--tr-accent-text: var(--tr-cobalt-text);
	--tr-accent-on-dark: var(--tr-cobalt-on-ink);
	--tr-on-accent: var(--tr-on-cobalt);
}

.tr-accent-amber,
.tr-accent-page-amber {
	--tr-accent: var(--tr-amber);
	--tr-accent-mark: var(--tr-amber-mark);
	--tr-accent-text: var(--tr-amber-text);
	--tr-accent-on-dark: var(--tr-amber-on-ink);
	--tr-on-accent: var(--tr-on-amber);
}

body {
	--tr-accent: var(--tr-teal);
	--tr-accent-mark: var(--tr-teal-mark);
	--tr-accent-text: var(--tr-teal-text);
	--tr-accent-on-dark: var(--tr-teal-on-ink);
	--tr-on-accent: var(--tr-cream);
}

/* =========================================================================
 * 5  Buttons, links, pills
 * ====================================================================== */

a {
	color: var(--tr-teal-text);
	text-decoration: none;
	transition: color var(--tr-ease);
}

a:hover,
a:focus-visible {
	color: var(--tr-terracotta-text);
}

.tr-button {
	display: inline-block;
	font-family: var(--tr-sans);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 13px 26px;
	border: 1px solid var(--tr-teal);
	border-radius: var(--tr-pill);
	background: var(--tr-teal);
	color: var(--tr-cream);
	cursor: pointer;
	transition: background var(--tr-ease), border-color var(--tr-ease), color var(--tr-ease);
}

.tr-button:hover,
.tr-button:focus-visible {
	background: var(--tr-ink);
	border-color: var(--tr-ink);
	color: var(--tr-cream);
}

.tr-button--ghost {
	background: transparent;
	color: var(--tr-teal-text);
}

.tr-button--ghost:hover,
.tr-button--ghost:focus-visible {
	background: var(--tr-teal);
	color: var(--tr-cream);
}

.tr-textlink {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 13px 6px;
	color: var(--tr-teal-text);
}

.tr-more {
	font-weight: 500;
}

/* =========================================================================
 * 6  Frames and the tile divider
 * ====================================================================== */

.tr-frame {
	display: block;
	position: relative;
	overflow: hidden;
	background: var(--tr-placeholder);
	border: 1px solid var(--tr-img-border);
	border-radius: var(--tr-radius);
	transition: transform var(--tr-ease-slow);
}

.tr-frame__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tr-frame__fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: var(--tr-cream-deep);
}

.tr-frame__fallback--dark {
	background: var(--tr-teal-tile);
}

/* The four arch shapes. Radii are the handoff's, to the pixel. */
.tr-frame--card {
	aspect-ratio: 16 / 10;
}

.tr-frame--flat {
	aspect-ratio: 11 / 10;
}

.tr-frame--arch {
	aspect-ratio: 38 / 46;
	border-radius: 190px 190px var(--tr-radius) var(--tr-radius);
}

.tr-frame--quarter {
	aspect-ratio: 272 / 230;
	border-radius: 110px 110px var(--tr-radius-sm) var(--tr-radius-sm);
}

.tr-frame--lead {
	aspect-ratio: 1168 / 420;
	border-radius: 340px 340px var(--tr-radius) var(--tr-radius);
}

.tr-divider {
	display: block;
	height: 10px;
	width: auto;
}

.tr-divider--small {
	height: 8px;
}

.tr-divider__tile--teal { fill: var(--tr-teal); }
.tr-divider__tile--terracotta { fill: var(--tr-terracotta); }
.tr-divider__tile--emerald { fill: var(--tr-emerald); }
.tr-divider__tile--cobalt { fill: var(--tr-cobalt); }
.tr-divider__tile--amber { fill: var(--tr-amber); }

.tr-mark {
	display: block;
	flex: 0 0 auto;
}

.tr-mark__tile--emerald { fill: var(--tr-emerald); }
.tr-mark__tile--amber { fill: var(--tr-amber); }
.tr-mark__tile--terracotta { fill: var(--tr-terracotta); }
.tr-mark__tile--cobalt { fill: var(--tr-cobalt); }

.tr-mark--ink .tr-mark__tile { fill: var(--tr-ink); }

/* =========================================================================
 * 7  Utility bar, masthead, navigation, search
 * ====================================================================== */

.tr-utility {
	background: var(--tr-teal);
	color: var(--tr-on-teal);
}

.tr-utility__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-block: 8px;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.tr-utility__text {
	margin: 0;
}

.tr-utility__links {
	display: flex;
	gap: 4px;
	flex: 0 0 auto;
}

.tr-utility__link {
	color: var(--tr-amber-on-teal);
	padding: 5px 8px;
	margin-block: -3px;
	border-radius: 3px;
	letter-spacing: 0.16em;
}

.tr-utility__link:hover,
.tr-utility__link:focus-visible {
	color: var(--tr-cream);
}

.tr-utility__link.is-current {
	color: var(--tr-cream);
	font-weight: 500;
}

.tr-masthead {
	background: var(--tr-cream);
	border-bottom: 1px solid var(--tr-hairline);
	position: relative;
	z-index: 20;
}

.tr-sticky-header .tr-masthead {
	position: sticky;
	top: 0;
}

.tr-masthead__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 18px;
}

.tr-masthead__brand {
	flex: 0 0 auto;
}

/* ---- Logo ---- */

.tr-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--tr-ink);
}

.tr-logo:hover,
.tr-logo:focus-visible {
	color: var(--tr-ink);
}

.tr-logo__text {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.tr-logo__word {
	font-family: var(--tr-serif);
	font-style: italic;
	font-weight: 600;
	font-size: 24px;
	line-height: 1;
}

.tr-logo__overline {
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--tr-meta);
}

.tr-logo--footer {
	color: var(--tr-cream);
}

.tr-logo--footer:hover,
.tr-logo--footer:focus-visible {
	color: var(--tr-cream);
}

.tr-logo--footer .tr-logo__word {
	font-size: 22px;
}

.custom-logo-link img {
	max-height: 56px;
	width: auto;
}

/* ---- Primary navigation ---- */

.tr-nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.tr-nav__list {
	display: flex;
	align-items: center;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tr-nav__list li {
	position: relative;
}

.tr-nav__list a {
	display: block;
	font-size: 12.5px;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tr-body);
	padding-block: 4px;
	border-bottom: 2px solid transparent;
}

.tr-nav__list a:hover,
.tr-nav__list a:focus-visible {
	color: var(--tr-ink);
	border-bottom-color: var(--tr-hairline-mk);
}

.tr-nav__list .current-menu-item > a,
.tr-nav__list .current-menu-ancestor > a,
.tr-nav__list .current-menu-parent > a {
	color: var(--tr-ink);
	border-bottom-color: var(--tr-accent-mark, var(--tr-terracotta-mark));
}

/* Sub-menus are anchored to the right of their parent. Anchoring left pushes
   the document wider than the viewport while the menu is merely hidden, which
   reads as a horizontal-overflow bug on every page. */
.tr-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	right: -18px;
	left: auto;
	z-index: 30;
	min-width: 220px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background: var(--tr-cream-card);
	border: 1px solid var(--tr-hairline);
	border-radius: var(--tr-radius);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--tr-ease), visibility var(--tr-ease);
}

.tr-nav__list li:hover > .sub-menu,
.tr-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
}

.tr-nav__list .sub-menu a {
	padding: 8px 20px;
	border-bottom: 0;
	letter-spacing: 0.1em;
}

.tr-nav__list .sub-menu a:hover,
.tr-nav__list .sub-menu a:focus-visible {
	color: var(--tr-teal-text);
	border-bottom-color: transparent;
}

/* ---- Search toggle and panel ---- */

.tr-search-toggle {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--tr-sans);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tr-teal-text);
	background: transparent;
	border: 1px solid var(--tr-teal);
	border-radius: var(--tr-pill);
	padding: 7px 16px;
	cursor: pointer;
	transition: background var(--tr-ease), color var(--tr-ease);
}

.tr-search-toggle:hover,
.tr-search-toggle:focus-visible {
	background: var(--tr-teal);
	color: var(--tr-cream);
}

.tr-search-toggle__glyph {
	font-size: 14px;
	line-height: 1;
}

.tr-search-panel {
	border-bottom: 1px solid var(--tr-hairline);
	background: var(--tr-cream-card);
}

.tr-search-panel__inner {
	padding-block: 20px;
}

/* Without JavaScript the panel is simply always open — a toggle that cannot
   toggle is worse than a visible field. */
.tr-no-js .tr-search-toggle {
	display: none;
}

.tr-no-js .tr-search-panel[hidden] {
	display: block;
}

/* ---- Search form ---- */

.tr-searchform {
	display: flex;
	align-items: stretch;
	max-width: 520px;
	border: 1px solid var(--tr-teal);
	border-radius: var(--tr-pill);
	overflow: hidden;
	background: var(--tr-cream-card);
}

.tr-searchform__input {
	flex: 1 1 auto;
	min-width: 0;
	font-family: var(--tr-sans);
	font-size: 14px;
	color: var(--tr-ink);
	background: transparent;
	border: 0;
	padding: 13px 22px;
}

.tr-searchform__input::placeholder {
	color: var(--tr-meta);
	opacity: 1;
}

.tr-searchform__input:focus {
	outline: 0;
}

.tr-searchform:focus-within {
	outline: 2px solid var(--tr-teal);
	outline-offset: 2px;
}

.tr-searchform__button {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--tr-sans);
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: var(--tr-teal);
	color: var(--tr-cream);
	border: 0;
	padding: 13px 26px;
	cursor: pointer;
	transition: background var(--tr-ease);
}

.tr-searchform__button:hover,
.tr-searchform__button:focus-visible {
	background: var(--tr-ink);
}

/* ---- Mobile menu button ---- */

.tr-burger {
	display: none;
	align-items: center;
	gap: 10px;
	font-family: var(--tr-sans);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tr-ink);
	background: transparent;
	border: 1px solid var(--tr-hairline-mk);
	border-radius: var(--tr-pill);
	padding: 8px 16px;
	cursor: pointer;
}

.tr-burger__bars {
	display: grid;
	gap: 3px;
	width: 15px;
}

.tr-burger__bars span {
	display: block;
	height: 2px;
	background: var(--tr-teal);
	border-radius: 2px;
}

/* =========================================================================
 * 8  Front page
 * ====================================================================== */

/* ---- Hero ---- */

.tr-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 60px;
	align-items: center;
	padding-block: 64px 52px;
}

.tr-hero--no-image .tr-hero__inner {
	grid-template-columns: minmax(0, 1fr);
	max-width: calc(820px + 2 * var(--tr-gutter));
	margin-inline: auto;
}

.tr-hero__kicker {
	color: var(--tr-terracotta-text);
	margin-bottom: 18px;
}

.tr-hero__title {
	font-size: clamp(40px, 5vw, 64px);
	line-height: 1.04;
}

.tr-hero__lede {
	font-size: 16px;
	line-height: 1.65;
	color: var(--tr-body);
	max-width: 46ch;
	margin: 22px 0 30px;
}

.tr-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin: 0;
}

.tr-hero__figure {
	justify-self: end;
	width: 380px;
	max-width: 100%;
}

.tr-hero__divider {
	padding-bottom: 10px;
}

.tr-hero--fade .tr-hero__text > * {
	animation: tr-fade-up 300ms ease both;
}

@keyframes tr-fade-up {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* ---- Bands ---- */

.tr-band {
	padding-block: 34px var(--tr-band-y);
}

.tr-band__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
}

.tr-band__kicker {
	margin-bottom: 10px;
}

.tr-band__title {
	font-family: var(--tr-serif);
	font-weight: 600;
	font-size: clamp(28px, 3vw, 34px);
	line-height: 1.15;
	margin: 0;
}

.tr-band__link {
	flex: 0 0 auto;
	/* Same trick as .tr-kicker: pad the hit area out to 24px, pull the layout
	   back with an equal negative margin. */
	padding-block: 4px;
	margin-block: -4px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--tr-teal-text);
	white-space: nowrap;
}

.tr-band--quarters {
	background: var(--tr-teal);
	color: var(--tr-cream);
	padding-block: var(--tr-band-y);
}

.tr-band--quarters .tr-band__kicker {
	color: var(--tr-amber-on-teal);
}

.tr-band__title--light {
	font-weight: 500;
	font-size: clamp(28px, 3.2vw, 36px);
	color: var(--tr-cream);
}

.tr-band__link--light {
	color: var(--tr-on-teal-soft);
}

.tr-band__link--light:hover,
.tr-band__link--light:focus-visible {
	color: var(--tr-cream);
}

.tr-band--plans {
	background: var(--tr-cream-deep);
	padding-block: var(--tr-band-y);
}

.tr-band--related {
	background: var(--tr-cream-deep);
	padding-block: 48px var(--tr-band-y);
}

.tr-band--related .tr-band__title {
	margin-bottom: 24px;
}

/* ---- Guide card ---- */

.tr-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.tr-card .tr-frame {
	display: block;
}

.tr-card:hover .tr-frame,
.tr-card:focus-within .tr-frame {
	transform: translateY(-3px);
}

/* Titles wrap to different depths across a row; pushing the meta line to the
   bottom keeps the row reading as a row rather than three loose columns. */
.tr-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding-top: 14px;
}

.tr-card__title {
	font-family: var(--tr-serif);
	font-weight: 600;
	font-size: 23px;
	line-height: 1.2;
	margin: 7px 0 0;
}

.tr-card__title a {
	color: var(--tr-ink);
}

.tr-card__title a:hover,
.tr-card__title a:focus-visible {
	color: var(--tr-teal-text);
}

.tr-card__title em {
	font-style: italic;
	color: var(--tr-teal-text);
}

.tr-card__meta {
	font-size: 12px;
	color: var(--tr-meta);
	margin: 8px 0 0;
	padding-top: 4px;
	margin-top: auto;
}

.tr-card--small .tr-card__title {
	font-size: 20px;
}

.tr-card--small .tr-frame--card {
	aspect-ratio: 16 / 10;
}

/* ---- Neighbourhood card ---- */

.tr-quarter__link {
	display: block;
	text-align: center;
	color: var(--tr-cream);
}

.tr-quarter__link:hover,
.tr-quarter__link:focus-visible {
	color: var(--tr-cream);
}

.tr-quarter .tr-frame {
	border-color: var(--tr-teal-line);
	background: var(--tr-teal-tile);
}

.tr-quarter__link:hover .tr-frame,
.tr-quarter__link:focus-visible .tr-frame {
	transform: translateY(-3px);
}

.tr-quarter__name {
	display: block;
	font-family: var(--tr-serif);
	font-weight: 600;
	font-size: 22px;
	line-height: 1.2;
	margin-top: 14px;
}

.tr-quarter__label {
	display: block;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tr-on-teal-soft);
	margin-top: 4px;
}

/* ---- Split feature ---- */

.tr-feature {
	border-bottom: 1px solid var(--tr-hairline);
}

.tr-feature__inner {
	display: grid;
	grid-template-columns: 440px minmax(0, 1fr);
	gap: 56px;
	align-items: center;
	padding-block: 60px;
}

.tr-feature__figure {
	width: 440px;
	max-width: 100%;
}

.tr-feature__title {
	font-size: clamp(30px, 3.4vw, 38px);
	line-height: 1.1;
	margin-top: 12px;
}

.tr-list {
	list-style: none;
	margin: 26px 0 0;
	padding: 0;
	counter-reset: none;
}

.tr-list__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	padding: 15px 0;
	border-bottom: 1px solid var(--tr-hairline);
}

.tr-list__link {
	font-family: var(--tr-serif);
	font-weight: 600;
	font-size: 21px;
	line-height: 1.25;
	color: var(--tr-ink);
}

.tr-list__link:hover,
.tr-list__link:focus-visible {
	color: var(--tr-teal-text);
}

.tr-list__num {
	flex: 0 0 auto;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tr-meta);
}

/* ---- Itinerary card ---- */

.tr-plan {
	background: var(--tr-cream);
	border: 1px solid var(--tr-hairline);
	border-radius: var(--tr-radius);
	padding: 26px;
}

.tr-plan__num {
	font-family: var(--tr-serif);
	font-style: italic;
	font-weight: 500;
	font-size: 38px;
	line-height: 1;
	color: var(--tr-accent-text);
	margin: 0;
}

.tr-plan__title {
	font-family: var(--tr-serif);
	font-weight: 600;
	font-size: 22px;
	line-height: 1.2;
	margin: 10px 0 8px;
}

.tr-plan__title a {
	color: var(--tr-ink);
}

.tr-plan__title a:hover,
.tr-plan__title a:focus-visible {
	color: var(--tr-teal-text);
}

.tr-plan__text {
	font-size: 13px;
	line-height: 1.6;
	color: var(--tr-body);
	margin: 0;
}

.tr-plan__meta {
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--tr-teal-text);
	margin: 16px 0 0;
}

/* =========================================================================
 * 9  Newsletter and footer
 * ====================================================================== */

.tr-newsletter {
	border-top: 1px solid var(--tr-hairline);
	text-align: center;
}

.tr-newsletter__inner {
	padding-block: 64px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.tr-newsletter__title {
	font-family: var(--tr-serif);
	font-weight: 500;
	font-size: clamp(26px, 3vw, 32px);
	line-height: 1.15;
	margin: 16px 0 0;
}

.tr-newsletter__text {
	font-size: 14px;
	color: var(--tr-body);
	margin: 10px 0 24px;
	max-width: 52ch;
}

.tr-newsletter__form {
	display: flex;
	align-items: stretch;
	border: 1px solid var(--tr-teal);
	border-radius: var(--tr-pill);
	overflow: hidden;
	background: var(--tr-cream-card);
	max-width: 100%;
}

.tr-newsletter__form:focus-within {
	outline: 2px solid var(--tr-teal);
	outline-offset: 2px;
}

.tr-newsletter__input {
	flex: 1 1 240px;
	min-width: 0;
	font-family: var(--tr-sans);
	font-size: 13px;
	color: var(--tr-ink);
	background: transparent;
	border: 0;
	padding: 13px 26px;
}

.tr-newsletter__input::placeholder {
	color: var(--tr-meta);
	opacity: 1;
}

.tr-newsletter__input:focus {
	outline: 0;
}

.tr-newsletter__button {
	flex: 0 0 auto;
	font-family: var(--tr-sans);
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: var(--tr-teal);
	color: var(--tr-cream);
	border: 0;
	padding: 13px 26px;
	cursor: pointer;
	transition: background var(--tr-ease);
}

.tr-newsletter__button:hover,
.tr-newsletter__button:focus-visible {
	background: var(--tr-ink);
}

.tr-footer {
	background: var(--tr-ink);
	color: var(--tr-footer-text);
	padding-block: 48px 34px;
}

.tr-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 40px;
	padding-bottom: 36px;
	border-bottom: 1px solid var(--tr-footer-rule);
}

.tr-footer__blurb {
	font-size: 13px;
	line-height: 1.7;
	margin: 14px 0 0;
	max-width: 34ch;
}

.tr-footer__title {
	color: var(--tr-amber-on-ink);
	letter-spacing: 0.28em;
	font-size: 10px;
	margin-bottom: 14px;
}

.tr-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 2.1;
}

.tr-footer__menu a {
	color: var(--tr-footer-text);
}

.tr-footer__menu a:hover,
.tr-footer__menu a:focus-visible {
	color: var(--tr-cream);
}

.tr-footer__fine {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-top: 22px;
	font-size: 11.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tr-footer__fine p {
	margin: 0;
}

/* =========================================================================
 * 10  Article
 * ====================================================================== */

.tr-article__head {
	padding-block: 52px 0;
}

.tr-crumbs {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tr-meta);
}

.tr-crumbs a {
	color: var(--tr-meta);
}

.tr-crumbs a:hover,
.tr-crumbs a:focus-visible {
	color: var(--tr-teal-text);
}

.tr-crumbs__sep {
	padding: 0 8px;
	color: var(--tr-meta);
}

.tr-crumbs__current {
	color: var(--tr-ink);
}

/* Rank Math and Yoast print their own separators inside this wrapper. */
.tr-crumbs .separator,
.tr-crumbs .breadcrumb_last {
	color: var(--tr-meta);
	padding: 0 4px;
}

.tr-crumbs .breadcrumb_last {
	color: var(--tr-ink);
}

.tr-kicker--article {
	font-size: 11px;
	letter-spacing: 0.3em;
	margin: 26px 0 14px;
}

.tr-article__title {
	font-size: clamp(34px, 4.4vw, 52px);
	line-height: 1.08;
}

.tr-article__standfirst {
	font-family: var(--tr-serif);
	font-style: italic;
	font-weight: 500;
	font-size: 23px;
	line-height: 1.4;
	color: var(--tr-body);
	margin: 18px 0 0;
}

.tr-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin: 26px 0 34px;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tr-meta);
}

.tr-byline__author {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.tr-byline__name {
	color: var(--tr-ink);
	letter-spacing: 0.1em;
}

.tr-byline__sep {
	color: var(--tr-meta);
}

.tr-byline__updated {
	color: var(--tr-accent-text);
}

.tr-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--tr-teal);
	color: var(--tr-cream);
	font-family: var(--tr-sans);
	font-size: 12px;
	letter-spacing: 0.06em;
	flex: 0 0 auto;
}

.tr-avatar--photo {
	border-radius: 50%;
}

.tr-article__lead {
	width: 100%;
	max-width: var(--tr-page);
	margin-inline: auto;
	padding-inline: var(--tr-gutter);
}

.tr-credit {
	font-size: 12px;
	font-style: italic;
	color: var(--tr-meta);
	margin: 10px 0 0;
}

.tr-article__body {
	padding-block: 44px 0;
	color: var(--tr-reading);
	font-size: 16.5px;
	line-height: 1.75;
}

.tr-article__body > p {
	margin: 0 0 22px;
}

/* Underline prose links only. The tag pills, the author box and the contents
   list live in the same column and are not body copy; underlining them makes
   the end of every guide look like a link farm. */
.tr-article__body :is(p, li, td, th, blockquote, figcaption, dd, dt):not(.tr-contents__item) a {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	text-decoration-color: var(--tr-hairline-mk);
}

.tr-article__body :is(p, li, td, th, blockquote, figcaption, dd, dt):not(.tr-contents__item) a:hover,
.tr-article__body :is(p, li, td, th, blockquote, figcaption, dd, dt):not(.tr-contents__item) a:focus-visible {
	text-decoration-color: currentColor;
}

.tr-article__body h2 {
	font-family: var(--tr-serif);
	font-weight: 600;
	font-size: 30px;
	line-height: 1.2;
	color: var(--tr-ink);
	margin: 36px 0 14px;
	scroll-margin-top: 90px;
}

.tr-article__body h3 {
	font-family: var(--tr-serif);
	font-weight: 600;
	font-size: 23px;
	line-height: 1.25;
	color: var(--tr-ink);
	margin: 30px 0 12px;
	scroll-margin-top: 90px;
}

.tr-article__body h4 {
	font-family: var(--tr-sans);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tr-ink);
	margin: 28px 0 10px;
}

.tr-article__body ul,
.tr-article__body ol {
	margin: 0 0 22px;
	padding-left: 1.3em;
}

.tr-article__body li {
	margin-bottom: 8px;
}

.tr-article__body ul li::marker {
	color: var(--tr-accent-mark);
}

.tr-article__body ol li::marker {
	color: var(--tr-accent-text);
	font-variant-numeric: tabular-nums;
}

/* The drop cap. Applied to a class the content pass puts on one paragraph, not
   to p:first-of-type, so a leading caption or one-line note never gets it. */
.tr-article__body p.tr-dropcap::first-letter {
	font-family: var(--tr-serif);
	font-weight: 600;
	font-size: 58px;
	line-height: 0.8;
	float: left;
	color: var(--tr-terracotta-text);
	margin: 6px 10px 0 0;
}

.tr-article__body blockquote {
	position: relative;
	margin: 36px 0;
	padding: 22px 0 0 26px;
	border: 0;
}

/* Three shards above the quote, drawn in CSS rather than markup so that the
   hundreds of imported guides — whose quotes are plain <blockquote> with no
   block style on them — still get the house ornament. */
.tr-article__body blockquote::before {
	content: "";
	position: absolute;
	left: 26px;
	top: 0;
	width: 84px;
	height: 8px;
	background:
		linear-gradient(var(--tr-emerald), var(--tr-emerald)) left / 26px 8px no-repeat,
		linear-gradient(var(--tr-amber), var(--tr-amber)) 29px 0 / 14px 8px no-repeat,
		linear-gradient(var(--tr-terracotta), var(--tr-terracotta)) 46px 0 / 38px 8px no-repeat;
	border-radius: 4px 1px 1px 1px;
}

.tr-article__body blockquote p {
	font-family: var(--tr-serif);
	font-style: italic;
	font-weight: 500;
	font-size: 30px;
	line-height: 1.3;
	color: var(--tr-teal-text);
	margin: 0 0 12px;
}

.tr-article__body blockquote cite,
.tr-article__body blockquote footer {
	display: block;
	font-family: var(--tr-sans);
	font-style: normal;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tr-meta);
}

.tr-figure {
	margin: 30px 0;
}

.tr-figure img {
	display: block;
	width: 100%;
	border: 1px solid var(--tr-img-border);
	border-radius: var(--tr-radius);
}

.tr-figure__caption,
.tr-article__body figcaption {
	font-size: 12px;
	font-style: italic;
	color: var(--tr-meta);
	margin-top: 10px;
	text-align: left;
}

.tr-table-scroll {
	overflow-x: auto;
	margin: 0 0 26px;
	border: 1px solid var(--tr-hairline);
	border-radius: var(--tr-radius);
	background: var(--tr-cream-card);
}

.tr-table-scroll table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
}

.tr-table-scroll th,
.tr-table-scroll td {
	text-align: left;
	padding: 12px 18px;
	border-bottom: 1px solid var(--tr-hairline);
}

.tr-table-scroll th {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--tr-meta);
	background: var(--tr-cream-deep);
}

.tr-table-scroll tr:last-child td {
	border-bottom: 0;
}

/* ---- Derived FAQ accordion ---- */

.tr-faq {
	margin: 24px 0 32px;
	border-top: 1px solid var(--tr-hairline);
}

.tr-faq__item {
	border-bottom: 1px solid var(--tr-hairline);
}

.tr-faq__q {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	list-style: none;
	cursor: pointer;
	padding: 18px 0;
	font-family: var(--tr-serif);
	font-weight: 600;
	font-size: 21px;
	line-height: 1.3;
	color: var(--tr-ink);
}

.tr-faq__q::-webkit-details-marker {
	display: none;
}

.tr-faq__q:hover {
	color: var(--tr-teal-text);
}

.tr-faq__marker {
	flex: 0 0 auto;
	position: relative;
	width: 14px;
	height: 14px;
	align-self: center;
}

.tr-faq__marker::before,
.tr-faq__marker::after {
	content: "";
	position: absolute;
	background: var(--tr-accent-mark);
	border-radius: 2px;
}

.tr-faq__marker::before {
	inset: 6px 0 auto 0;
	height: 2px;
}

.tr-faq__marker::after {
	inset: 0 6px 0 auto;
	width: 2px;
	transition: transform var(--tr-ease);
}

.tr-faq__item[open] .tr-faq__marker::after {
	transform: scaleY(0);
}

.tr-faq__a {
	padding-bottom: 20px;
	font-size: 15.5px;
}

.tr-faq__a > *:last-child {
	margin-bottom: 0;
}

/* ---- Contents list (off by default; see the Customizer) ---- */

.tr-contents {
	background: var(--tr-cream-card);
	border: 1px solid var(--tr-hairline);
	border-radius: var(--tr-radius);
	padding: 22px 26px;
	margin: 0 0 32px;
}

.tr-article__body .tr-contents__title,
.tr-contents__title {
	font-family: var(--tr-sans);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--tr-accent-text);
	margin: 0 0 12px;
}

.tr-contents__list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14.5px;
	line-height: 1.5;
}

.tr-contents__item {
	margin-bottom: 9px;
}

.tr-contents__item a {
	color: var(--tr-body);
	text-decoration: none;
}

.tr-contents__item a:hover,
.tr-contents__item a:focus-visible {
	color: var(--tr-teal-text);
}

/* ---- Tags, author box, widgets ---- */

.tr-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 14px 0 36px;
	border-bottom: 1px solid var(--tr-hairline);
}

.tr-tag,
.tr-chip {
	display: inline-block;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tr-body);
	border: 1px solid var(--tr-hairline);
	border-radius: var(--tr-pill);
	padding: 7px 15px;
	transition: border-color var(--tr-ease), color var(--tr-ease), background var(--tr-ease);
}

.tr-tag:hover,
.tr-tag:focus-visible,
.tr-chip:hover,
.tr-chip:focus-visible {
	border-color: var(--tr-ink);
	color: var(--tr-ink);
}

.tr-author {
	display: flex;
	gap: 20px;
	align-items: center;
	padding: 30px 0 48px;
}

.tr-author .tr-avatar {
	font-family: var(--tr-serif);
	font-size: 20px;
}

.tr-author__name {
	font-family: var(--tr-serif);
	font-weight: 600;
	font-size: 21px;
	line-height: 1.2;
	margin: 0;
}

.tr-author__name a {
	color: var(--tr-ink);
}

.tr-author__name a:hover,
.tr-author__name a:focus-visible {
	color: var(--tr-teal-text);
}

.tr-author__bio {
	font-size: 13px;
	line-height: 1.6;
	color: var(--tr-body);
	max-width: 52ch;
	margin: 4px 0 0;
}

.tr-article__widgets {
	margin: 32px 0;
}

.tr-panel {
	background: var(--tr-cream-card);
	border: 1px solid var(--tr-hairline);
	border-radius: var(--tr-radius);
	padding: 22px 26px;
	margin-bottom: 20px;
	font-size: 14.5px;
}

.tr-pagelinks {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 32px 0;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* =========================================================================
 * 11  Editor blocks inside the article
 * ====================================================================== */

/* The pull-quote block style is the base quote treatment, one size larger. */
.tr-article__body .is-style-trencadis-pull p {
	font-size: 32px;
}

/* "Good to know" — the amber-hairline note box. */
.tr-article__body .is-style-trencadis-note,
.tr-note {
	background: var(--tr-cream-card);
	border: 1px solid var(--tr-amber-line);
	border-radius: var(--tr-radius);
	padding: 24px 28px;
	margin: 32px 0;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--tr-body);
}

.tr-article__body .is-style-trencadis-note > *,
.tr-note > * {
	margin-block: 0 12px;
}

.tr-article__body .is-style-trencadis-note > *:last-child,
.tr-note > *:last-child {
	margin-bottom: 0;
}

.tr-article__body .is-style-trencadis-note h2,
.tr-article__body .is-style-trencadis-note h3,
.tr-article__body .is-style-trencadis-note h4,
.tr-note h2,
.tr-note h3,
.tr-note h4 {
	font-family: var(--tr-sans);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--tr-amber-text);
	margin: 0 0 10px;
}

.tr-article__body .is-style-trencadis-note h2::before,
.tr-article__body .is-style-trencadis-note h3::before,
.tr-article__body .is-style-trencadis-note h4::before,
.tr-note h3::before {
	content: "\25C6\00A0\00A0";
	color: var(--tr-amber-mark);
}

/* Card panel: the same box in the section's own colour. */
.tr-article__body .is-style-trencadis-panel {
	background: var(--tr-cream-card);
	border: 1px solid var(--tr-hairline);
	border-left: 3px solid var(--tr-accent-mark);
	border-radius: var(--tr-radius);
	padding: 22px 26px;
	margin: 32px 0;
}

/* Tile-row separator. */
.tr-article__body .is-style-trencadis-tiles {
	height: 10px;
	border: 0;
	margin: 40px 0;
	background:
		linear-gradient(var(--tr-emerald), var(--tr-emerald)) left / 34px 10px no-repeat,
		linear-gradient(var(--tr-amber), var(--tr-amber)) 38px 0 / 18px 10px no-repeat,
		linear-gradient(var(--tr-cobalt), var(--tr-cobalt)) 60px 0 / 52px 10px no-repeat,
		linear-gradient(var(--tr-terracotta), var(--tr-terracotta)) 116px 0 / 24px 10px no-repeat;
	border-radius: 5px 2px 2px 2px;
}

.tr-article__body .is-style-trencadis-framed img {
	border: 1px solid var(--tr-img-border);
	border-radius: var(--tr-radius);
}

.tr-article__body .is-style-trencadis-arch img {
	border: 1px solid var(--tr-img-border);
	border-radius: 190px 190px var(--tr-radius) var(--tr-radius);
}

.tr-article__body .is-style-trencadis-checks {
	list-style: none;
	padding-left: 0;
}

.tr-article__body .is-style-trencadis-checks li {
	position: relative;
	padding-left: 28px;
}

.tr-article__body .is-style-trencadis-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 12px;
	height: 8px;
	background: var(--tr-accent-mark);
	border-radius: 4px 1px 1px 1px;
}

.tr-article__body .wp-block-button__link {
	border-radius: var(--tr-pill);
	background: var(--tr-teal);
	color: var(--tr-cream);
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 13px 26px;
	text-decoration: none;
}

.tr-article__body .is-style-trencadis-outline .wp-block-button__link {
	background: transparent;
	color: var(--tr-teal-text);
	border: 1px solid var(--tr-teal);
}

.tr-article__body .wp-block-image,
.tr-article__body figure {
	margin: 30px 0;
}

.tr-article__body .wp-block-image img {
	border: 1px solid var(--tr-img-border);
	border-radius: var(--tr-radius);
}

.tr-article__body .alignwide {
	width: min(900px, calc(100vw - 2 * var(--tr-gutter)));
	margin-inline: calc(50% - min(450px, (100vw - 2 * var(--tr-gutter)) / 2));
}

.tr-article__body .alignfull {
	width: calc(100vw - 2 * var(--tr-gutter));
	margin-inline: calc(50% - (100vw - 2 * var(--tr-gutter)) / 2);
	max-width: none;
}

.tr-article__body .alignleft {
	float: left;
	margin: 6px 26px 18px 0;
	max-width: 45%;
}

.tr-article__body .alignright {
	float: right;
	margin: 6px 0 18px 26px;
	max-width: 45%;
}

/* =========================================================================
 * 12  Archives, pagination, empty states
 * ====================================================================== */

.tr-masthead-band {
	background: var(--tr-teal);
	color: var(--tr-cream);
	padding-block: 52px;
}

/* The band is teal on every archive, not the section's own colour: the handoff
   assigns teal to "the category-hero band" specifically, and the section colour
   appears where it does in the mock — on the card kickers below. */

.tr-masthead-band__kicker {
	color: var(--tr-amber-on-teal);
	margin-bottom: 12px;
	letter-spacing: 0.3em;
}

.tr-masthead-band__title {
	font-size: clamp(34px, 4.4vw, 52px);
	line-height: 1.05;
	color: var(--tr-cream);
	margin: 0;
}

.tr-masthead-band__title em {
	color: var(--tr-amber-on-teal);
	font-style: italic;
}

.tr-masthead-band__intro {
	font-size: 15px;
	line-height: 1.65;
	color: var(--tr-on-teal);
	max-width: 60ch;
	margin: 14px 0 0;
}

.tr-masthead-band__form {
	margin-top: 22px;
}

.tr-masthead-band__form .tr-searchform {
	border-color: var(--tr-cream);
	background: var(--tr-cream-card);
}

.tr-archive__plainhead {
	padding-block: 52px 0;
}

.tr-chips__wrap {
	border-bottom: 1px solid var(--tr-hairline);
}

.tr-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-block: 24px;
}

.tr-chip.is-current {
	background: var(--tr-ink);
	border-color: var(--tr-ink);
	color: var(--tr-cream);
}

.tr-archive__body {
	padding-block: 40px 52px;
}

.tr-pagination {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	padding: 36px 0 0;
}

.tr-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--tr-hairline);
	font-size: 13px;
	color: var(--tr-body);
	transition: border-color var(--tr-ease), color var(--tr-ease), background var(--tr-ease);
}

.tr-pagination .page-numbers:hover,
.tr-pagination .page-numbers:focus-visible {
	border-color: var(--tr-teal);
	color: var(--tr-teal-text);
}

.tr-pagination .page-numbers.current {
	background: var(--tr-teal);
	border-color: var(--tr-teal);
	color: var(--tr-cream);
}

.tr-pagination .page-numbers.dots {
	border-color: transparent;
}

.tr-empty {
	text-align: center;
	padding: 60px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.tr-empty__title {
	font-family: var(--tr-serif);
	font-weight: 600;
	font-size: 30px;
	margin: 0;
}

.tr-empty__text {
	color: var(--tr-body);
	margin: 0;
}

/* =========================================================================
 * 13  Comments
 * ====================================================================== */

.tr-comments {
	padding: 8px 0 48px;
	border-top: 1px solid var(--tr-hairline);
	margin-top: 32px;
}

.tr-comments__title {
	font-family: var(--tr-serif);
	font-weight: 600;
	font-size: 26px;
	margin: 28px 0 18px;
}

.tr-comments__list,
.tr-comments__list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tr-comments__list .children {
	padding-left: 26px;
	border-left: 1px solid var(--tr-hairline);
	margin-top: 18px;
}

.tr-comments__list li {
	margin-bottom: 22px;
}

.tr-comments .comment-body {
	background: var(--tr-cream-card);
	border: 1px solid var(--tr-hairline);
	border-radius: var(--tr-radius);
	padding: 20px 24px;
	font-size: 15px;
}

.tr-comments .comment-meta {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tr-meta);
	margin-bottom: 8px;
}

.tr-comments input[type="text"],
.tr-comments input[type="email"],
.tr-comments input[type="url"],
.tr-comments textarea {
	width: 100%;
	font-family: var(--tr-sans);
	font-size: 15px;
	color: var(--tr-ink);
	background: var(--tr-cream-card);
	border: 1px solid var(--tr-hairline);
	border-radius: var(--tr-radius);
	padding: 11px 14px;
}

.tr-comments label {
	display: block;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tr-meta);
	margin-bottom: 6px;
}

/* =========================================================================
 * 14  Responsive
 * ====================================================================== */

@media (max-width: 1100px) {
	:root {
		--tr-gutter: 40px;
	}

	.tr-hero__inner {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 44px;
	}

	.tr-hero__figure {
		width: 320px;
	}

	.tr-feature__inner {
		grid-template-columns: 360px minmax(0, 1fr);
		gap: 40px;
	}

	.tr-feature__figure {
		width: 360px;
	}
}

@media (max-width: 900px) {
	:root {
		--tr-gutter: 24px;
		--tr-band-y: 44px;
		--tr-gap: 24px;
	}

	.tr-burger {
		display: inline-flex;
		order: 2;
	}

	.tr-search-toggle {
		order: 3;
	}

	.tr-masthead__inner {
		flex-wrap: wrap;
		gap: 12px;
	}

	.tr-masthead__brand {
		flex: 1 1 auto;
	}

	/* The primary menu becomes a stacked panel below the bar. Its own width is
	   the full row, so nothing can push the document wider than the screen. */
	.tr-nav {
		order: 4;
		flex: 1 0 100%;
		display: none;
		justify-content: flex-start;
		border-top: 1px solid var(--tr-hairline);
		padding-top: 12px;
	}

	.tr-nav.is-open,
	.tr-no-js .tr-nav {
		display: flex;
	}

	.tr-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}

	.tr-nav__list a {
		padding-block: 11px;
		border-bottom: 1px solid var(--tr-hairline);
	}

	.tr-nav__list li:last-child > a {
		border-bottom: 0;
	}

	.tr-nav__list .current-menu-item > a,
	.tr-nav__list .current-menu-ancestor > a {
		border-bottom-color: var(--tr-accent-mark, var(--tr-terracotta-mark));
	}

	.tr-nav__list .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		border: 0;
		border-radius: 0;
		background: transparent;
		min-width: 0;
		padding: 0 0 0 18px;
	}

	.tr-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 34px;
		padding-block: 44px 36px;
	}

	.tr-hero__figure {
		width: 320px;
		max-width: 100%;
		justify-self: center;
		order: 2;
	}

	.tr-hero__title {
		font-size: clamp(34px, 8vw, 44px);
	}

	.tr-feature__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
		padding-block: 44px;
	}

	.tr-feature__figure {
		width: 100%;
	}

	.tr-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 30px;
	}

	.tr-article__body {
		font-size: 16px;
	}

	.tr-frame--lead {
		aspect-ratio: 16 / 10;
		border-radius: 160px 160px var(--tr-radius) var(--tr-radius);
	}
}

@media (max-width: 780px) {
	.tr-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tr-utility__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		font-size: 10px;
	}
}

@media (max-width: 700px) {
	.tr-grid--2,
	.tr-grid--3 {
		grid-template-columns: minmax(0, 1fr);
	}

	.tr-band__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.tr-article__standfirst {
		font-size: 20px;
	}

	.tr-article__body h2 {
		font-size: 26px;
	}

	.tr-article__body .alignleft,
	.tr-article__body .alignright {
		float: none;
		max-width: 100%;
		margin-inline: 0;
	}

	.tr-newsletter__form {
		flex-direction: column;
		border-radius: var(--tr-radius);
		width: 100%;
	}

	.tr-newsletter__button {
		border-radius: 0;
	}

	.tr-searchform {
		width: 100%;
	}

	.tr-author {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}
}

@media (max-width: 520px) {
	.tr-grid--4 {
		grid-template-columns: minmax(0, 1fr);
	}

	.tr-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.tr-logo__overline {
		display: none;
	}

	.tr-search-toggle__label {
		position: absolute !important;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}
}

/* =========================================================================
 * 15  Motion, print, forced colours
 * ====================================================================== */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.tr-card:hover .tr-frame,
	.tr-quarter__link:hover .tr-frame {
		transform: none;
	}
}

@media print {
	.tr-utility,
	.tr-masthead,
	.tr-newsletter,
	.tr-footer,
	.tr-band--related,
	.tr-chips,
	.tr-pagination,
	.tr-skip {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

	.tr-article__body {
		font-size: 11pt;
	}

	.tr-article__body a::after {
		content: " (" attr(href) ")";
		font-size: 9pt;
		word-break: break-all;
	}
}

@media (forced-colors: active) {
	.tr-frame,
	.tr-plan,
	.tr-panel,
	.tr-chip,
	.tr-tag {
		border: 1px solid CanvasText;
	}

	.tr-pagination .page-numbers.current {
		forced-color-adjust: none;
	}
}
