/* ==========================================================================
   The Tulsa Report
   Values here are the measured ones from docs/DESIGN.md. Anything that is not
   in that file is a considered choice, not a guess.
   ========================================================================== */

:root {
	--accent: #dd0017;
	--accent-dark: #b30013;
	--head: #161616;
	--body: #444444;
	--soft: #505050;
	--muted: #8a8a8a;
	--line: #e3e3e3;
	--line-soft: #efefef;
	--rule: #161616;
	--tint: #f7f7f7;
	--ink: #212121;
	--ink-2: #2b2b2b;
	--black: #000000;
	--white: #ffffff;

	--container: 1220px;
	--gutter: 30px;
	--gap: 37px;
	--gap-sm: 26px;
	--rail: 290px;
	--rail-wide: 350px;

	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
	--display: "UnifrakturMaguntia", "IBM Plex Serif", Georgia, serif;

	--head-top: 40px;
	--head-mid: 96px;
	--head-nav: 51px;
	--head-mobile: 65px;
}

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

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

html {
	/* clip, not hidden: `hidden` turns the element into a scroll container and
	   every position:sticky descendant silently stops sticking. */
	overflow-x: clip;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	overflow-x: clip;
	background: var(--white);
	color: var(--body);
	font: 400 14px/1.5 var(--sans);
	-webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--serif); color: var(--head); font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden; clip-path: inset(50%);
	white-space: nowrap; border: 0;
}
.ttr-skip:focus {
	position: fixed !important;
	top: 8px; left: 8px;
	width: auto; height: auto;
	clip-path: none;
	padding: 10px 16px;
	background: var(--accent); color: #fff;
	z-index: 999;
}

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

.ttr-wrap { overflow-x: clip; }

.ttr-inner {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.ttr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 38px;
	padding: 0 17px;
	border: 0; border-radius: 2px;
	background: var(--accent);
	color: #fff !important;
	font: 600 12px/1 var(--sans);
	letter-spacing: .36px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .15s ease;
}
.ttr-btn:hover { background: var(--accent-dark); }

.ttr-more-btn {
	display: inline-flex;
	align-items: center;
	height: 34px;
	margin-top: 16px;
	padding: 0 16px;
	border: 1px solid var(--line);
	color: var(--soft);
	font: 500 12px/1 var(--sans);
	letter-spacing: .36px;
	text-transform: uppercase;
	transition: border-color .15s ease, color .15s ease;
}
.ttr-more-btn:hover { border-color: var(--head); color: var(--head); }

.ttr-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	padding: 0; border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}
.ttr-icon-btn svg { width: 18px; height: 18px; }

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

.ttr-head { position: relative; background: var(--white); z-index: 40; }

.ttr-head-top {
	height: var(--head-top);
	background: var(--black);
	color: #dddddd;
	font-size: 14px;
}
.ttr-head-top-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--head-top);
}

.ttr-ticker { display: flex; align-items: center; gap: 16px; min-width: 0; flex: 1 1 auto; }
.ttr-ticker-label {
	flex: none;
	color: #fff;
	font: 700 13px/1 var(--sans);
	letter-spacing: .6px;
	text-transform: uppercase;
}
.ttr-ticker-track { position: relative; min-width: 0; height: 21px; flex: 1 1 0; }
.ttr-ticker-item {
	position: absolute; inset: 0;
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: #dddddd;
	opacity: 0;
	transition: opacity .4s ease;
	pointer-events: none;
}
.ttr-ticker-item.is-on { opacity: 1; pointer-events: auto; }
.ttr-ticker-item:hover { color: #fff; }

.ttr-topnav-list { display: flex; gap: 26px; list-style: none; flex: none; }
.ttr-topnav-list a { color: #dddddd; font-size: 14px; }
.ttr-topnav-list a:hover { color: #fff; }

.ttr-head-mid { height: var(--head-mid); }
.ttr-head-mid-inner {
	display: grid;
	grid-template-columns: 1fr minmax(0, auto) 1fr;
	align-items: center;
	gap: 20px;
	height: var(--head-mid);
}
.ttr-head-left { display: flex; justify-content: flex-start; }
.ttr-head-right { display: flex; justify-content: flex-end; }
.ttr-head-brand { display: flex; justify-content: center; min-width: 0; }

.ttr-head-social { display: flex; gap: 8px; }
.ttr-soc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px; height: 32px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--head);
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.ttr-soc-btn svg { width: 15px; height: 15px; }
.ttr-soc-btn:hover { background: var(--head); border-color: var(--head); color: #fff; }

.ttr-logo { margin: 0; min-width: 0; }
.ttr-logo-link { display: block; }
.ttr-logo-text {
	display: block;
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(28px, 5.2vw, 46px);
	line-height: 1.18;
	letter-spacing: .5px;
	color: var(--head);
	white-space: nowrap;
}
.ttr-logo img { max-height: 64px; width: auto; }

.ttr-head-nav {
	height: var(--head-nav);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--white);
}
.ttr-head-nav-inner {
	display: grid;
	grid-template-columns: 1fr minmax(0, auto) 1fr;
	align-items: center;
	gap: 20px;
	height: var(--head-nav);
}
.ttr-head-date { font-size: 11px; line-height: 1.5; color: var(--muted); white-space: nowrap; }
.ttr-head-tools { display: flex; justify-content: flex-end; gap: 2px; }

.ttr-nav { min-width: 0; }
.ttr-nav-list { display: flex; align-items: center; gap: 0; list-style: none; }
.ttr-nav-list li { position: relative; }
.ttr-nav-list > li > a {
	display: flex;
	align-items: center;
	gap: 5px;
	height: var(--head-nav);
	padding: 0 13px;
	color: var(--head);
	font: 500 13px/1 var(--sans);
	white-space: nowrap;
}
.ttr-nav-list > li > a:hover,
.ttr-nav-list > li.current-menu-item > a,
.ttr-nav-list > li.current-menu-parent > a,
.ttr-nav-list > li.current-menu-ancestor > a { color: var(--accent); }

.ttr-nav-list .menu-item-has-children > a::after {
	content: "";
	width: 8px; height: 8px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.ttr-nav-list .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 200px;
	margin: 0; padding: 8px 0;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .09);
	opacity: 0; visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
	z-index: 50;
}
.ttr-nav-list li:hover > .sub-menu,
.ttr-nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ttr-nav-list .sub-menu a {
	display: block;
	padding: 8px 16px;
	font: 400 13px/1.4 var(--sans);
	color: var(--head);
}
.ttr-nav-list .sub-menu a:hover { color: var(--accent); }

.ttr-head-mobile { display: none; }

.ttr-searchbox { border-bottom: 1px solid var(--line); background: var(--white); padding: 14px 0; }
.ttr-searchform { display: flex; gap: 0; }
.ttr-searchform-input {
	flex: 1 1 auto;
	min-width: 0;
	height: 40px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-right: 0;
	background: var(--white);
	font: 400 14px/1 var(--sans);
	color: var(--head);
}
.ttr-searchform-submit {
	flex: none;
	width: 46px; height: 40px;
	border: 0;
	background: var(--head);
	color: #fff;
	cursor: pointer;
}
.ttr-searchform-submit:hover { background: var(--accent); }

body.ttr-sticky-head .ttr-head-nav { position: sticky; top: 0; z-index: 60; }

/* --- block titles ------------------------------------------------------ */

.ttr-block-title {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 20px;
	padding-bottom: 9px;
	border-bottom: 2px solid var(--rule);
}
.ttr-block-title--tight { margin-top: 34px; }
.ttr-block-title-text {
	margin: 0;
	font: 700 14px/1.2 var(--sans);
	letter-spacing: .5px;
	text-transform: uppercase;
	color: var(--head);
}
.ttr-block-more {
	flex: none;
	font: 500 11px/1 var(--sans);
	letter-spacing: .4px;
	text-transform: uppercase;
	color: var(--muted);
}
.ttr-block-more:hover { color: var(--accent); }

/* --- cards ------------------------------------------------------------- */

.ttr-card { position: relative; min-width: 0; }
.ttr-card-title { margin: 0; letter-spacing: -.4px; }
.ttr-card-title a { color: var(--head); }
.ttr-card-title a:hover { color: var(--accent); }

.ttr-t-xl .ttr-card-title { font-size: 30px; line-height: 1.28; font-weight: 600; letter-spacing: -1px; }
.ttr-t-lg .ttr-card-title { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.6px; }
.ttr-t-md .ttr-card-title { font-size: 18px; line-height: 1.36; font-weight: 700; letter-spacing: -.4px; }
.ttr-t-sm .ttr-card-title { font-size: 15px; line-height: 1.36; font-weight: 600; letter-spacing: -.375px; }
.ttr-t-xs .ttr-card-title { font-size: 14px; line-height: 1.43; font-weight: 600; letter-spacing: -.35px; }

.ttr-card-media { position: relative; overflow: hidden; }
.ttr-card-media-link { display: block; }
.ttr-img,
.ttr-card-media img {
	display: block;
	width: 100%;
	aspect-ratio: var(--ratio, 1.5);
	object-fit: cover;
	background: var(--tint);
}

.ttr-img--placeholder { background: linear-gradient(160deg, #d8dde2, #aab4bd); }
.ttr-ph-1 { background: linear-gradient(160deg, #dfd7cf, #b7a99b); }
.ttr-ph-2 { background: linear-gradient(160deg, #d3dcd8, #9fb3ac); }
.ttr-ph-3 { background: linear-gradient(160deg, #ded5d9, #b49ea6); }
.ttr-ph-4 { background: linear-gradient(160deg, #d6d9e2, #a1a8bd); }
.ttr-ph-5 { background: linear-gradient(160deg, #e0dbcb, #bdb290); }

.ttr-card--stack .ttr-card-body { padding-top: 14px; }

.ttr-card--inline { display: grid; gap: 16px; align-items: start; }
/* The media div comes first in the markup so it is reachable without JS. Which
   grid column it lands in is decided here, not by source order. */
.ttr-card--inline.ttr-thumb-right { grid-template-columns: minmax(0, 1fr) var(--tw, 90px); }
.ttr-card--inline.ttr-thumb-right .ttr-card-media { order: 2; }
.ttr-card--inline.ttr-thumb-right .ttr-card-body { order: 1; }
.ttr-card--inline.ttr-thumb-left { grid-template-columns: var(--tw, 90px) minmax(0, 1fr); }
.ttr-card--inline.ttr-thumb-left .ttr-card-media { order: 1; }
.ttr-card--inline.ttr-thumb-left .ttr-card-body { order: 2; }
.ttr-card--inline.ttr-thumb-none { display: block; }

.ttr-card--split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-sm); align-items: center; }
.ttr-card--split .ttr-card-media { order: 2; }
.ttr-card--split .ttr-card-body { order: 1; }

.ttr-card--overlay .ttr-card-link { display: block; position: relative; }
.ttr-card--overlay .ttr-scrim {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .1) 58%, transparent 100%);
}
.ttr-card--overlay .ttr-card-body {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 20px;
}
.ttr-card--overlay .ttr-card-title a { color: #fff; }

/* --- meta -------------------------------------------------------------- */

.ttr-cat {
	font: 500 11px/1.5 var(--sans);
	letter-spacing: .4px;
	text-transform: uppercase;
	color: var(--accent);
}
.ttr-cat:hover { color: var(--accent-dark); }
.ttr-cat--above { display: block; margin-bottom: 7px; }

.ttr-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin-top: 9px;
	font: 400 11px/1.5 var(--sans);
	color: var(--muted);
}
.ttr-meta a { color: inherit; }
.ttr-meta .ttr-cat { color: var(--accent); }
.ttr-meta-author a { color: var(--head); font-weight: 500; }
.ttr-meta-author a:hover,
.ttr-meta a:hover { color: var(--accent); }
.ttr-meta-sep { color: #c9c9c9; }
.ttr-meta--light, .ttr-meta--light a { color: rgba(255, 255, 255, .65); }
.ttr-meta--light .ttr-meta-author a { color: #fff; }

.ttr-excerpt {
	margin: 10px 0 0;
	font: 400 14px/1.7 var(--sans);
	color: var(--soft);
}

/* --- lists and column sets --------------------------------------------- */

.ttr-list { display: grid; gap: 17px; }
.ttr-list--rule > .ttr-card + .ttr-card {
	padding-top: 17px;
	border-top: 1px solid var(--line);
}
.ttr-list--rule { gap: 0; }
.ttr-list--rule > .ttr-card { padding-bottom: 0; }
.ttr-list--rule > .ttr-card + .ttr-card { margin-top: 17px; }

.ttr-card--stack + .ttr-list--rule,
.ttr-card--raillead + .ttr-list--rule { margin-top: 17px; padding-top: 17px; border-top: 1px solid var(--line); }

.ttr-cols { display: grid; gap: var(--gap-sm); }
.ttr-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ttr-cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* --- front page: featured strip ---------------------------------------- */

.ttr-strip {
	background: var(--tint);
	border-bottom: 1px solid var(--line);
	padding: 30px 0;
	overflow-x: clip;
}
.ttr-strip-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--gap);
}
.ttr-card--strip .ttr-card-title { font-size: 15px; line-height: 1.42; }

/* --- front page: hero --------------------------------------------------- */

.ttr-hero { padding: 40px 0 0; }
.ttr-hero-grid {
	display: grid;
	grid-template-columns: 48.5% 22.7% 22.7%;
	gap: var(--gap);
	align-items: start;
}
.ttr-hero-b, .ttr-hero-c { position: relative; }
.ttr-hero-b::before, .ttr-hero-c::before {
	content: "";
	position: absolute;
	top: 0; bottom: 0;
	left: calc(var(--gap) / -2);
	width: 1px;
	background: var(--line);
}

.ttr-lead-title {
	margin: 0;
	font-size: 30px;
	line-height: 1.4;
	font-weight: 600;
	letter-spacing: -1px;
}
.ttr-lead-title a { color: var(--head); }
.ttr-lead-title a:hover { color: var(--accent); }
.ttr-lead .ttr-meta { margin-top: 11px; }
.ttr-lead-media { margin-top: 18px; }
.ttr-lead-media img { aspect-ratio: 1.5; object-fit: cover; width: 100%; display: block; }
.ttr-lead-excerpt { margin: 16px 0 0; font: 400 14px/1.7 var(--sans); color: var(--soft); }

.ttr-list--lead { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.ttr-list--lead .ttr-excerpt { margin-top: 8px; }

.ttr-hero-b > .ttr-card--stack + .ttr-list { margin-top: 17px; padding-top: 17px; border-top: 1px solid var(--line); }

/* --- front page: section rows ------------------------------------------ */

.ttr-top { padding: 44px 0 0; }
.ttr-top-note { margin: -12px 0 18px; font: 400 12px/1.4 var(--sans); color: var(--muted); }
.ttr-top-grid {
	list-style: none; margin: 0; padding: 0;
	counter-reset: ttr-top;
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap);
}
.ttr-top-item { counter-increment: ttr-top; position: relative; min-width: 0; }
.ttr-top-item::before {
	content: counter(ttr-top);
	position: absolute; top: 0; right: 0; z-index: 2;
	width: 30px; height: 30px; display: grid; place-items: center;
	background: var(--accent); color: #fff;
	font: 700 15px/1 var(--sans);
}

.ttr-row { padding: 44px 0 0; }
.ttr-row-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--rail);
	gap: var(--gap);
	align-items: start;
}
.ttr-row-rail { position: relative; }
.ttr-row-rail::before {
	content: "";
	position: absolute;
	top: 0; bottom: 0;
	left: calc(var(--gap) / -2);
	width: 1px;
	background: var(--line);
}

.ttr-card--split + .ttr-cols { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.ttr-cols--3 > .ttr-card { position: relative; }
.ttr-cols--3 > .ttr-card + .ttr-card::before {
	content: "";
	position: absolute;
	top: 0; bottom: 0;
	left: calc(var(--gap-sm) / -2);
	width: 1px;
	background: var(--line);
}

.ttr-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-sm); align-items: start; }
.ttr-duo-b { position: relative; display: grid; gap: 17px; }
.ttr-duo-b::before {
	content: "";
	position: absolute;
	top: 0; bottom: 0;
	left: calc(var(--gap-sm) / -2);
	width: 1px;
	background: var(--line);
}
.ttr-duo + .ttr-block-title { margin-top: 44px; }
.ttr-duo-b > .ttr-card--stack + .ttr-list { padding-top: 17px; border-top: 1px solid var(--line); }

.ttr-row-rail .ttr-card--stack + .ttr-list { margin-top: 17px; padding-top: 17px; border-top: 1px solid var(--line); }

body.ttr-sticky-rail .ttr-row-rail > * { /* rails on the front page scroll with the row */ }

/* --- interior pages ---------------------------------------------------- */

.ttr-page, .ttr-single { padding: 26px 0 56px; }

.ttr-crumbs {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	font: 400 12px/1.5 var(--sans);
	color: var(--muted);
}
.ttr-crumbs a { color: var(--muted); }
.ttr-crumbs a:hover { color: var(--accent); }
.ttr-crumb-sep { color: #cfcfcf; }

.ttr-single-head { margin: 22px 0 26px; }
.ttr-single-title { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; letter-spacing: -1px; font-weight: 600; }
.ttr-single-standfirst { margin: 12px 0 0; font: 400 16px/1.6 var(--sans); color: var(--soft); }

.ttr-byline {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	margin-top: 18px;
	font: 400 12px/1.5 var(--sans);
	color: var(--muted);
}
.ttr-byline-avatar { display: flex; }
.ttr-byline-avatar img { border-radius: 50%; }
.ttr-byline-text a { color: var(--head); font-weight: 600; }
.ttr-byline-text a:hover { color: var(--accent); }
.ttr-byline-comments, .ttr-byline-read { display: inline-flex; align-items: center; gap: 5px; }
.ttr-byline svg { width: 13px; height: 13px; }

.ttr-single-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--rail-wide);
	gap: 48px;
	/* stretch, deliberately: the sticky element is .ttr-rail-inner, a CHILD of
	   the grid item, so the item must fill the row to give that child travel
	   room. Shrink-wrapping with align-items:start is only right when the
	   sticky element IS the grid item. */
	align-items: stretch;
}
.ttr-single-main { min-width: 0; }

.ttr-single-cover { margin: 0 0 8px; }
.ttr-single-cover img { width: 100%; aspect-ratio: 1.78; object-fit: cover; display: block; }
.ttr-single-cover figcaption { padding-top: 8px; font: 400 12px/1.5 var(--sans); color: var(--muted); }

.ttr-single-body { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 20px; align-items: start; }
.ttr-prose-wrap { min-width: 0; max-width: 700px; }

/* Same shape as the rail: the column stretches, the inner box is what pins. */
.ttr-share--rail { align-self: stretch; }
.ttr-share--rail .ttr-share-inner { position: sticky; top: 90px; }
.ttr-share--inline { display: none; }
.ttr-share-label {
	display: block;
	margin-bottom: 12px;
	font: 500 11px/1 var(--sans);
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--muted);
}
.ttr-share-set { display: flex; flex-direction: column; gap: 14px; }
.ttr-share-btn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; color: var(--head); }
.ttr-share-btn svg { width: 17px; height: 17px; }
.ttr-share-btn:hover { color: var(--accent); }

/* Reset with the same specificity as the rule that re-applies the gap, or the
   flat reset wins and every paragraph gap disappears. */
.ttr-prose > * { margin-block: 0; }
.ttr-prose > * + * { margin-top: 1.15em; }
.ttr-prose {
	font: 400 17px/1.7 var(--serif);
	color: #000;
}
.ttr-prose a { color: var(--accent); text-decoration: none; }
.ttr-prose a:hover { text-decoration: underline; }
.ttr-prose h2 { margin-top: 1.5em; font-size: 25.5px; line-height: 1.5; font-weight: 700; }
.ttr-prose h3 { margin-top: 1.4em; font-size: 21px; line-height: 1.45; font-weight: 700; }
.ttr-prose ul, .ttr-prose ol { padding-left: 1.3em; }
.ttr-prose li + li { margin-top: .4em; }
.ttr-prose blockquote {
	padding: 4px 0 4px 24px;
	border-left: 3px solid var(--accent);
	font-style: italic;
	color: var(--head);
}
.ttr-prose img { display: block; height: auto; }
.ttr-prose figcaption { font: 400 12px/1.5 var(--sans); color: var(--muted); }
/* A wide table or code block scrolls inside its own box. Nothing an editor can
   paste may be allowed to scroll the page itself. */
.ttr-prose table { width: 100%; border-collapse: collapse; }
.ttr-prose th, .ttr-prose td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }
.ttr-prose > table,
.ttr-prose .wp-block-table { display: block; max-width: 100%; overflow-x: auto; }
.ttr-prose pre { max-width: 100%; overflow-x: auto; padding: 16px; background: var(--tint); font-size: 14px; }
.ttr-prose iframe, .ttr-prose embed, .ttr-prose object, .ttr-prose video { max-width: 100%; }
.ttr-prose code { font-size: .92em; }

/* Two copies exist; exactly one is shown. Above the sidebar breakpoint the
   rail copy tracks the reader; below it the rail drops beneath the article, so
   the inline copy — which sits above the body — is the useful one. */
.ttr-toc--inline { display: none; }
.ttr-toc--rail { display: block; }

.ttr-toc {
	margin-bottom: 26px;
	padding: 16px 20px;
	border: 1px solid var(--line);
	background: var(--tint);
}
.ttr-toc--rail {
	margin-bottom: 34px;
	padding: 18px 20px;
	border: 0;
	border-top: 2px solid var(--rule);
	background: var(--tint);
}
.ttr-toc--rail .ttr-toc-list {
	max-height: 44vh;
	overflow-y: auto;
	scrollbar-width: thin;
}
.ttr-toc-head {
	display: flex; align-items: center; justify-content: space-between;
	width: 100%; padding: 0; border: 0; background: none;
	font: 700 12px/1 var(--sans);
	letter-spacing: .8px; text-transform: uppercase;
	color: var(--head); cursor: pointer;
}
.ttr-toc-head svg { transition: transform .2s ease; }
.ttr-toc-head[aria-expanded="false"] svg { transform: rotate(-90deg); }
.ttr-toc-list { margin: 14px 0 0; padding-left: 20px; font: 400 14px/1.6 var(--sans); }
.ttr-toc-list li + li { margin-top: 7px; }
.ttr-toc-list a { color: var(--soft); }
.ttr-toc-list a:hover, .ttr-toc-list a.is-active { color: var(--accent); }
.ttr-toc-head[aria-expanded="false"] + .ttr-toc-list { display: none; }

.ttr-tags { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ttr-tags-label { font: 600 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .5px; color: var(--head); }
.ttr-tags a {
	padding: 5px 11px;
	border: 1px solid var(--line);
	font: 400 12px/1.3 var(--sans);
	color: var(--soft);
}
.ttr-tags a:hover { border-color: var(--accent); color: var(--accent); }

.ttr-linkpages { margin-top: 24px; font: 500 13px var(--sans); }

.ttr-authorbox {
	display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 20px;
	margin-top: 38px; padding: 24px;
	background: var(--tint);
}
.ttr-authorbox img { border-radius: 50%; }
.ttr-authorbox-name { font-size: 17px; font-weight: 700; }
.ttr-authorbox-bio { margin: 8px 0 0; font: 400 14px/1.7 var(--sans); color: var(--soft); }

.ttr-related { margin-top: 44px; }
.ttr-comments { margin-top: 44px; }
.ttr-commentlist { list-style: none; }
.ttr-commentlist .children { list-style: none; padding-left: 28px; }
.ttr-commentlist li { margin-bottom: 22px; }
.ttr-commentlist .comment-body { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ttr-commentlist .comment-author { display: flex; align-items: center; gap: 10px; font: 600 14px var(--sans); color: var(--head); }
.ttr-commentlist .comment-author img { border-radius: 50%; }
.ttr-commentlist .comment-meta { margin: 4px 0 8px; font: 400 11px var(--sans); color: var(--muted); }
.ttr-commentlist .comment-meta a { color: var(--muted); }
.ttr-comment-notes { font: 400 12px/1.6 var(--sans); color: var(--muted); }
.ttr-comments .comment-form { display: grid; gap: 14px; margin-top: 20px; }
.ttr-comments .comment-form p { margin: 0; }
.ttr-comments input[type="text"],
.ttr-comments input[type="email"],
.ttr-comments input[type="url"],
.ttr-comments textarea {
	width: 100%; padding: 11px 13px;
	border: 1px solid var(--line);
	background: var(--white);
	font: 400 14px/1.5 var(--sans);
	color: var(--head);
}
.ttr-comments .ttr-btn { width: auto; justify-self: start; }

.ttr-archive-head { margin: 22px 0 26px; padding-bottom: 18px; border-bottom: 2px solid var(--rule); }

/* Author page */
.ttr-profile { display: flex; gap: 28px; align-items: flex-start; }
.ttr-profile-photo { flex: none; }
.ttr-profile-photo img { display: block; width: 150px; height: 150px; object-fit: cover; border-radius: 50%; }
.ttr-profile-body { min-width: 0; }
.ttr-profile-role { margin: 6px 0 0; font: 700 12px/1.4 var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
@media (max-width: 575px) {
	.ttr-profile { flex-direction: column; gap: 16px; }
	.ttr-profile-photo img { width: 116px; height: 116px; }
}
.ttr-archive-title { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; font-weight: 700; letter-spacing: -.6px; }
.ttr-archive-desc { margin-top: 10px; font: 400 14px/1.7 var(--sans); color: var(--soft); max-width: 680px; }
.ttr-archive-search { margin-top: 18px; max-width: 420px; }

.ttr-feed { display: grid; gap: 26px; }
.ttr-feed > .ttr-card + .ttr-card { padding-top: 26px; border-top: 1px solid var(--line); }
.ttr-card--feedlead { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.ttr-card--feedlead + .ttr-card { padding-top: 0 !important; border-top: 0 !important; }
.ttr-card--feed .ttr-card-title { font-size: 20px; }

.ttr-pagination { margin-top: 36px; }
.ttr-pagination-links { display: flex; flex-wrap: wrap; gap: 6px; }
.ttr-pagination-links .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; padding: 0 10px;
	border: 1px solid var(--line);
	font: 500 13px var(--sans);
	color: var(--head);
}
.ttr-pagination-links .page-numbers:hover { border-color: var(--head); }
.ttr-pagination-links .page-numbers.current { background: var(--head); border-color: var(--head); color: #fff; }

.ttr-empty { padding: 40px 0; font-size: 15px; color: var(--soft); }
.ttr-404-code { margin: 0; font: 700 72px/1 var(--serif); color: var(--accent); }
.ttr-404-copy { margin: 12px 0 0; font-size: 15px; color: var(--soft); max-width: 560px; }

/* --- the rail ---------------------------------------------------------- */

.ttr-rail { min-width: 0; }
/* Pin the whole rail as one unit. Pinning only the top widget leaves the ones
   below it scrolling underneath and clipping against its edge. */
body.ttr-sticky-rail .ttr-rail-inner {
	position: sticky;
	top: 84px;
	max-height: calc(100vh - 100px);
	overflow-y: auto;
	scrollbar-width: thin;
}
.ttr-widget + .ttr-widget { margin-top: 34px; }
.ttr-rail .ttr-card--stack + .ttr-list { margin-top: 17px; padding-top: 17px; border-top: 1px solid var(--line); }

.ttr-numbered { display: grid; gap: 20px; }
.ttr-numbered-row { position: relative; }
.ttr-numbered-n {
	position: absolute;
	left: 0; bottom: 0;
	z-index: 2;
	font: 700 26px/1 var(--sans);
	color: #cfcfcf;
	pointer-events: none;
}
.ttr-numbered-row .ttr-card-body { padding-left: 34px; }

.ttr-follow { display: flex; flex-wrap: wrap; gap: 8px; }
.ttr-follow-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px;
	background: var(--tint);
	color: var(--head);
	transition: background .15s ease, color .15s ease;
}
.ttr-follow-btn:hover { background: var(--head); color: #fff; }

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

.ttr-foot { background: var(--ink); color: #b9b9b9; padding: 52px 0 0; }
.ttr-foot a { color: #b9b9b9; }
.ttr-foot a:hover { color: #fff; }

.ttr-foot-top {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
	padding-bottom: 26px;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.ttr-foot-brand .ttr-logo-text { color: #6e6e6e; font-size: clamp(24px, 3.4vw, 32px); }
.ttr-foot-brand .ttr-logo-link:hover .ttr-logo-text { color: #9a9a9a; }
.ttr-foot-social { display: flex; flex-wrap: wrap; gap: 16px; }
.ttr-foot-social .ttr-soc-btn { width: auto; height: auto; border: 0; color: #d0d0d0; }
.ttr-foot-social .ttr-soc-btn svg { width: 17px; height: 17px; }
.ttr-foot-social .ttr-soc-btn:hover { background: none; color: #fff; }

.ttr-foot-cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 220px));
	gap: 36px;
	padding: 34px 0 38px;
}
.ttr-foot-title {
	margin-bottom: 16px;
	font: 700 13px/1 var(--sans);
	letter-spacing: .6px; text-transform: uppercase;
	color: #fff;
}
.ttr-foot-col ul { list-style: none; }
.ttr-foot-col li + li { margin-top: 10px; }
.ttr-foot-col a { font-size: 13px; }

.ttr-foot-bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
	padding: 20px 0 26px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 12px;
}
.ttr-copyright { margin: 0; color: #9a9a9a; }
.ttr-footnav-list { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; }
.ttr-footnav-list a { font-size: 12px; }

/* --- off-canvas -------------------------------------------------------- */

.ttr-offcanvas { position: fixed; inset: 0; z-index: 200; }
.ttr-offcanvas[hidden] { display: none !important; }
.ttr-offcanvas-scrim {
	position: absolute; inset: 0;
	border: 0; padding: 0;
	background: rgba(0, 0, 0, .5);
	cursor: pointer;
}
.ttr-offcanvas-panel {
	position: absolute;
	top: 0; left: 0; bottom: 0;
	width: min(340px, 86vw);
	display: flex; flex-direction: column;
	background: var(--ink);
	color: #cfcfcf;
	transform: translateX(-100%);
	transition: transform .25s ease;
	z-index: 2;
	overflow-y: auto;
}
.ttr-offcanvas.is-open .ttr-offcanvas-panel { transform: none; }
.ttr-offcanvas-head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 18px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.ttr-offcanvas-head .ttr-logo-text { color: #fff; font-size: 24px; }
.ttr-offcanvas-head .ttr-icon-btn { color: #cfcfcf; }
.ttr-offcanvas-body { padding: 20px; }
.ttr-offcanvas-body .ttr-searchform-input { background: #3a3a3a; border-color: #3a3a3a; color: #fff; }
.ttr-offcanvas-body .ttr-searchform-input::placeholder { color: #9a9a9a; }
.ttr-mobilenav { margin-top: 22px; }
.ttr-mobilenav-list { list-style: none; }
.ttr-mobilenav-list a {
	display: block;
	padding: 11px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	font: 500 15px/1.3 var(--sans);
	color: #e4e4e4;
}
.ttr-mobilenav-list a:hover { color: var(--accent); }
.ttr-mobilenav-list .sub-menu { padding-left: 14px; list-style: none; }
.ttr-mobilenav-list .sub-menu a { font-size: 14px; color: #b9b9b9; }
.ttr-offcanvas-about { margin-top: 22px; font: 400 13px/1.7 var(--sans); color: #9a9a9a; }
.ttr-offcanvas-body .ttr-follow { margin-top: 18px; }
.ttr-offcanvas-body .ttr-follow-btn { background: #3a3a3a; color: #e4e4e4; }
.ttr-offcanvas-body .ttr-follow-btn:hover { background: var(--accent); color: #fff; }

body.ttr-noscroll { overflow: hidden; }

/* ==========================================================================
   Responsive. Breakpoints follow the reference: 1200 (tighten), 991 (mobile
   header + rails drop), 767 (single column), 575 (phone).
   ========================================================================== */

@media (max-width: 1200px) {
	:root { --gap: 28px; --gap-sm: 22px; --rail: 260px; --rail-wide: 300px; }
	.ttr-single-grid { gap: 34px; }
	.ttr-nav-list > li > a { padding: 0 10px; font-size: 12.5px; }
}

@media (max-width: 991px) {
	:root { --gutter: 20px; }
	/* Top News becomes a swipeable row rather than five squeezed columns. */
	.ttr-top-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 30%; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
	.ttr-top-item { scroll-snap-align: start; }

	.ttr-head-top, .ttr-head-mid, .ttr-head-nav, .ttr-head-tools { display: none; }
	.ttr-head-mobile { display: block; background: var(--black); color: #fff; }
	.ttr-head-mobile-inner {
		display: grid;
		grid-template-columns: 44px minmax(0, 1fr) 44px;
		align-items: center;
		gap: 10px;
		height: var(--head-mobile);
	}
	.ttr-head-mobile .ttr-icon-btn { color: #fff; width: 44px; height: 44px; }
	.ttr-head-mobile .ttr-icon-btn svg { width: 22px; height: 22px; }
	.ttr-head-brand--mobile { justify-content: center; }
	.ttr-head-brand--mobile .ttr-logo-text {
		color: #fff;
		font-size: clamp(20px, 6vw, 30px);
		overflow: hidden;
		text-overflow: ellipsis;
	}
	body.ttr-sticky-head .ttr-head-mobile { position: sticky; top: 0; z-index: 60; }
	body.ttr-sticky-head .ttr-head-nav { position: static; }

	.ttr-searchbox { background: var(--ink); border-bottom-color: #3a3a3a; }
	.ttr-searchbox .ttr-searchform-input { background: #3a3a3a; border-color: #3a3a3a; color: #fff; }
	.ttr-searchbox .ttr-searchform-input::placeholder { color: #9a9a9a; }

	/* The hero's third column and the section rails go under the main column. */
	.ttr-hero-grid { grid-template-columns: 1fr 1fr; }
	.ttr-hero-a { grid-column: 1 / -1; }
	.ttr-hero-b::before { display: none; }
	.ttr-hero-c::before { left: calc(var(--gap) / -2); }

	.ttr-row-grid, .ttr-single-grid { grid-template-columns: minmax(0, 1fr); }
	.ttr-row-rail::before { display: none; }
	.ttr-row-rail { padding-top: 34px; border-top: 1px solid var(--line); }
	.ttr-rail { padding-top: 34px; border-top: 1px solid var(--line); }
	body.ttr-sticky-rail .ttr-rail-inner {
		position: static;
		max-height: none;
		overflow: visible;
	}
	.ttr-rail-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; align-items: start; }
	.ttr-rail-inner .ttr-widget + .ttr-widget { margin-top: 0; }

	/* The rail is now below the article, so its contents list would point
	   backwards. Show the inline copy instead. */
	.ttr-toc--rail { display: none; }
	.ttr-toc--inline { display: block; }


	.ttr-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }

	/* The share rail has nowhere useful to sit once the prose is full width. */
	.ttr-single-body { grid-template-columns: minmax(0, 1fr); }
	.ttr-share--rail { display: none; }
	.ttr-share--inline {
		display: block;
		margin-top: 30px;
		padding-top: 20px;
		border-top: 1px solid var(--line);
	}
	.ttr-share--inline .ttr-share-inner { position: static; }
	.ttr-share--inline .ttr-share-set { flex-direction: row; flex-wrap: wrap; gap: 10px; }
	.ttr-share--inline .ttr-share-btn { width: 38px; height: 38px; background: var(--tint); }
	.ttr-share--inline .ttr-share-btn:hover { background: var(--head); color: #fff; }
	.ttr-prose-wrap { max-width: none; }

	.ttr-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.ttr-hero-grid { grid-template-columns: minmax(0, 1fr); }
	.ttr-top-grid { grid-auto-columns: 62%; }
	.ttr-hero-b, .ttr-hero-c { padding-top: 30px; border-top: 1px solid var(--line); }
	.ttr-hero-b::before, .ttr-hero-c::before { display: none; }

	.ttr-cols--3, .ttr-cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ttr-cols--3 > .ttr-card + .ttr-card::before { display: none; }

	.ttr-duo { grid-template-columns: minmax(0, 1fr); }
	.ttr-duo-b::before { display: none; }
	.ttr-duo-b { padding-top: 22px; border-top: 1px solid var(--line); }

	.ttr-card--split { grid-template-columns: minmax(0, 1fr); }
	.ttr-card--split .ttr-card-media { order: -1; margin-bottom: 16px; }
	.ttr-card--split .ttr-card-body { order: 0; }

	.ttr-rail-inner { grid-template-columns: minmax(0, 1fr); }
	.ttr-rail-inner .ttr-widget + .ttr-widget { margin-top: 34px; }

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

@media (max-width: 575px) {
	:root { --gutter: 16px; }

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

	.ttr-cols--3, .ttr-cols--4 { grid-template-columns: minmax(0, 1fr); }

	.ttr-lead-title { font-size: 26px; line-height: 1.3; }
	.ttr-t-xl .ttr-card-title { font-size: 24px; }
	.ttr-t-lg .ttr-card-title { font-size: 19px; }

	.ttr-card--inline.ttr-thumb-right,
	.ttr-card--inline.ttr-thumb-left { grid-template-columns: minmax(0, 1fr) 96px; gap: 13px; }
	.ttr-card--inline.ttr-thumb-left .ttr-card-media { order: 2; }
	.ttr-card--inline.ttr-thumb-left .ttr-card-body { order: 1; }
	.ttr-card--feed { grid-template-columns: minmax(0, 1fr) 118px !important; }
	.ttr-card--feed .ttr-card-title { font-size: 17px; }
	.ttr-card--feed .ttr-excerpt { display: none; }

	.ttr-prose { font-size: 16px; }
	.ttr-prose h2 { font-size: 22px; }

	.ttr-foot-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.ttr-foot-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}

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

@media print {
	.ttr-head, .ttr-foot, .ttr-rail, .ttr-share, .ttr-offcanvas { display: none !important; }
	.ttr-single-grid { grid-template-columns: 1fr; }
}
