/* ==========================================================================
   Today Roast â€” Layout: bands, header, footer, hero, sections
   ========================================================================== */

/* --------------------------------------------------------------------------
   Bands & containers
   -------------------------------------------------------------------------- */

.tr-band {
	padding-block: clamp(40px, 5vw, 80px);
}

.tr-band--tight {
	padding-block: clamp(24px, 3vw, 40px);
}

.tr-band--tint {
	background: var(--tr-paper-2);
}

.tr-band--dark {
	background: var(--tr-dark, #08152b);
	color: #eef3fa;
}

.tr-band--dark h2,
.tr-band--dark h3,
.tr-band--dark .wp-block-heading {
	color: #ffffff;
}

.tr-container {
	max-width: var(--tr-container);
	margin-inline: auto;
	padding-inline: var(--tr-gutter);
}

.tr-wide {
	max-width: var(--tr-wide);
	margin-inline: auto;
}

/* Full-bleed bands rely on WordPress root-padding escape (has-global-padding).
   Do not add extra negative margins here or the layout overflows. */

/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */

.tr-header__brand .wp-block-site-logo {
	margin: 0;
	line-height: 0;
}

.tr-logo img {
	height: 38px !important;
	width: auto !important;
	max-width: 100%;
	background: #ffffff;
	border-radius: 4px;
	padding: 2px 4px;
}

/* Footer uses the white lockup so it reads on the navy surface. */
.tr-logo--footer {
	margin: 0 0 20px;
}

.tr-logo--footer img {
	height: 30px !important;
	width: auto !important;
	background: transparent;
	padding: 0;
	filter: none;
}

@media (max-width: 599px) {
	.tr-logo img {
		height: 32px !important;
	}
}

/* --------------------------------------------------------------------------
   Utility bar
   -------------------------------------------------------------------------- */

.tr-utilitybar {
	background: #08152b;
	color: #a9b6c8;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-family: var(--tr-font-ui);
}

.tr-utilitybar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 34px;
}

.tr-utilitybar p,
.tr-utilitybar span {
	margin: 0;
	color: inherit;
	font-size: inherit;
	letter-spacing: inherit;
}

.tr-utilitybar__right {
	display: flex;
	align-items: center;
	gap: 14px;
}

.tr-utilitybar__claim {
	color: #7a889f;
}

.tr-utility-icon {
	color: #93a1b7;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 4px;
	transition: color var(--tr-t-fast) ease, background-color var(--tr-t-fast) ease;
}

.tr-utility-icon:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.06);
}

.tr-utility-icon svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.tr-mode-toggle {
	appearance: none;
	border: 1px solid #2a4267;
	background: transparent;
	color: #a9b6c8;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: color var(--tr-t-fast) ease, border-color var(--tr-t-fast) ease;
}

.tr-mode-toggle:hover {
	color: #f0a9bd;
	border-color: #f0a9bd;
}

.tr-mode-toggle svg {
	width: 13px;
	height: 13px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

html[data-theme="dark"] .tr-mode-toggle .tr-icon-moon,
html:not([data-theme="dark"]) .tr-mode-toggle .tr-icon-sun {
	display: none;
}

@media (max-width: 781px) {
	.tr-utilitybar__date,
	.tr-utilitybar__claim {
		display: none;
	}

	.tr-utilitybar__inner {
		justify-content: flex-end;
		min-height: 30px;
	}
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.tr-header {
	position: sticky;
	top: 0;
	z-index: var(--tr-z-header);
	background: var(--tr-paper);
	border-bottom: 1px solid var(--tr-line);
	transition: box-shadow var(--tr-t-base) ease;
}

@supports not (background: color-mix(in srgb, red 50%, transparent)) {
	.tr-header {
		background: var(--tr-paper);
	}
}

.tr-header.is-scrolled {
	box-shadow: var(--tr-shadow-sm);
}

.tr-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 68px;
}

.tr-header__brand {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.tr-wordmark {
	margin: 0;
	font-size: 21px !important;
	line-height: 1;
}

.tr-wordmark a {
	color: var(--tr-navy-700) !important;
	letter-spacing: -0.045em;
	display: inline-flex;
	align-items: baseline;
}

.tr-wordmark a::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-left: 3px;
	background: var(--tr-red-500);
	display: inline-block;
	transform: translateY(-1px);
}

.tr-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	flex: 0 0 auto;
}

.tr-nav {
	flex: 1 1 auto;
	justify-content: flex-start;
}

@media (max-width: 1023px) {
	.tr-header .tr-nav {
		flex: 1 1 auto;
		justify-content: flex-end;
	}

	.tr-header__inner {
		gap: 8px;
	}
}

/* Subscribe button in the header */
.tr-btn--subscribe .wp-block-button__link,
.tr-header .wp-block-button__link {
	background: var(--tr-cta);
	color: #ffffff;
	padding: 9px 16px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	border-radius: 4px;
}

.tr-btn--subscribe .wp-block-button__link:hover,
.tr-header .wp-block-button__link:hover {
	background: var(--tr-cta-hover);
	color: #ffffff;
}

@media (max-width: 599px) {
	.tr-header__actions .wp-block-buttons {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.tr-hero {
	padding-top: clamp(24px, 3vw, 40px);
	padding-bottom: clamp(32px, 4vw, 56px);
}

.tr-hero__grid {
	align-items: flex-start;
	gap: clamp(24px, 4vw, 48px);
}

.tr-hero__lead {
	min-width: 0;
}

.tr-hero__media {
	position: relative;
	margin: 0 0 20px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--tr-paper-3);
}

.tr-hero__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform var(--tr-t-slow) var(--tr-ease);
}

.tr-hero__lead:hover .tr-hero__media img {
	transform: scale(1.015);
}

/* HUD brackets â€” used only here. */
.tr-hero__media::before,
.tr-hero__media::after {
	content: "";
	position: absolute;
	width: 14px;
	height: 14px;
	border: 2px solid var(--tr-red-500);
	pointer-events: none;
	z-index: 2;
}

.tr-hero__media::before {
	top: 10px;
	left: 10px;
	border-right: 0;
	border-bottom: 0;
}

.tr-hero__media::after {
	bottom: 10px;
	right: 10px;
	border-left: 0;
	border-top: 0;
}

.tr-hero__title {
	font-size: clamp(2rem, 1.25rem + 2.8vw, 3.25rem);
	line-height: 1.02;
	letter-spacing: -0.032em;
	margin: 0 0 14px;
	max-width: 19ch;
}

.tr-hero__title a {
	color: var(--tr-navy-700);
}

.tr-hero__title a:hover {
	color: var(--tr-red-500);
}

.tr-hero__dek {
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
	line-height: 1.55;
	color: var(--tr-ink-500);
	max-width: 52ch;
	margin: 0 0 18px;
}

.tr-hero__rail {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-left: clamp(0px, 2vw, 28px);
	border-left: 1px solid var(--tr-line);
}

@media (max-width: 781px) {
	.tr-hero__rail {
		border-left: 0;
		padding-left: 0;
		border-top: 1px solid var(--tr-line);
		padding-top: 24px;
	}
}

.tr-rail__list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tr-rail__item {
	display: flex;
	gap: 12px;
	align-items: baseline;
	padding-top: 14px;
	border-top: 1px solid var(--tr-line);
	min-width: 0;
}

.tr-rail__item:first-child {
	padding-top: 0;
	border-top: 0;
}

/* Post-template wraps each item in <li>, so target the first list item. */
.tr-rail__list > .wp-block-post:first-child .tr-rail__item,
.tr-stack > .wp-block-post:first-child .tr-stack__item,
.tr-river__list > .wp-block-post:first-child .tr-list-item {
	padding-top: 0;
	border-top: 0;
}

.tr-rail__time {
	flex: 0 0 auto;
	font-family: var(--tr-font-ui);
	font-size: 11px;
	letter-spacing: 0.04em;
	color: var(--tr-ink-400);
	min-width: 42px;
	margin: 0;
}

.tr-rail__title {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.35;
	letter-spacing: -0.005em;
	font-weight: 500;
}

.tr-rail__title a {
	color: var(--tr-navy-700);
}

.tr-rail__title a:hover {
	color: var(--tr-red-500);
}

/* --------------------------------------------------------------------------
   Section headers
   -------------------------------------------------------------------------- */

.tr-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding-bottom: 18px;
	margin-bottom: 32px;
	border-bottom: 1px solid var(--tr-line);
}

.tr-section-head__title {
	margin: 0;
	font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem);
	letter-spacing: -0.03em;
}

.tr-link-arrow {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.tr-link-arrow a {
	color: var(--tr-ink-500);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tr-link-arrow a::after {
	content: "\2192";
	transition: transform var(--tr-t-base) var(--tr-ease);
}

.tr-link-arrow a:hover {
	color: var(--tr-ink-900);
}

.tr-link-arrow a:hover::after {
	transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.tr-footer {
	background: #08152b;
	color: #a9b6c8;
	margin-top: clamp(48px, 6vw, 96px);
	padding-block: clamp(40px, 5vw, 72px) 0;
}

.tr-footer h2,
.tr-footer h3,
.tr-footer .wp-block-heading,
.tr-footer .wp-block-site-title,
.tr-footer .wp-block-site-title a {
	color: #f2f5fa !important;
}

.tr-footer .tr-wordmark a::after {
	background: #b31942;
}

.tr-footer__grid {
	gap: clamp(24px, 4vw, 56px);
	align-items: flex-start;
}

.tr-footer__manifesto {
	color: #93a1b7;
	font-size: 14px;
	line-height: 1.7;
	max-width: 34ch;
	margin: 14px 0 20px;
}

.tr-footer__heading {
	font-family: var(--tr-font-ui);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #7a889f;
	margin: 0 0 16px;
	font-weight: 600;
}

.tr-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
	font-size: 13.5px;
}

.tr-footer__links a {
	color: #b3bfd1;
}

.tr-footer__links a:hover {
	color: #f0a9bd;
}

.tr-footer__bottom {
	margin-top: clamp(32px, 4vw, 56px);
	padding-block: 20px;
	border-top: 1px solid #1e3355;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	align-items: center;
	justify-content: space-between;
	font-family: var(--tr-font-ui);
	font-size: 10.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #7a889f;
}

.tr-footer__bottom p {
	margin: 0;
	color: inherit;
	font-size: inherit;
	letter-spacing: inherit;
}

.tr-footer__bottom a {
	color: #93a1b7;
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
}

.tr-footer__bottom a:hover {
	color: #f0a9bd;
}

/* Footer form + text contrast on the dark surface */
.tr-footer .has-ink-3-color {
	color: #a9b6c8 !important;
}

.tr-footer .tr-newsletter__form input[type="email"] {
	background: #0a1c33;
	border-color: #2a4267;
	color: #f2f5fa;
}

.tr-footer .tr-newsletter__form input[type="email"]::placeholder {
	color: #7a889f;
}

.tr-footer .tr-newsletter__form button {
	background: #b31942;
	color: #ffffff;
}

.tr-footer .tr-newsletter__form button:hover {
	background: #97123a;
}

@media (max-width: 781px) {
	.tr-footer__grid {
		flex-direction: column;
	}
}

/* --------------------------------------------------------------------------
   Dark feature band
   -------------------------------------------------------------------------- */

.tr-band--dark {
	position: relative;
}

.tr-band--dark p,
.tr-band--dark .wp-block-paragraph {
	color: #b3bfd1;
}

.tr-band--dark .tr-eyebrow {
	color: #7a889f;
}

.tr-feature__grid {
	gap: clamp(24px, 4vw, 56px);
}

.tr-feature__title {
	font-size: clamp(1.875rem, 1.4rem + 2.2vw, 3rem);
	line-height: 1.05;
	letter-spacing: -0.035em;
	margin: 0 0 16px;
	max-width: 18ch;
}

.tr-feature__title a {
	color: #ffffff;
}

.tr-feature__title a:hover {
	color: #f0a9bd;
}

.tr-feature__excerpt {
	font-size: 15px;
	line-height: 1.65;
	max-width: 48ch;
	margin: 0 0 20px;
}

.tr-feature__excerpt p {
	margin: 0;
}

.tr-feature__meta {
	font-family: var(--tr-font-ui);
	font-size: 10.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #7a889f;
}

.tr-feature__meta a {
	color: #f0a9bd !important;
}

.tr-feature__media {
	margin: 0;
	overflow: hidden;
	border-radius: 6px;
}

.tr-feature__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* --------------------------------------------------------------------------
   Home grids
   -------------------------------------------------------------------------- */

.tr-verdicts__grid,
.tr-river__grid {
	align-items: flex-start;
	gap: clamp(24px, 3.5vw, 48px);
}

.tr-river__grid .tr-ad--rectangle {
	margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   Modern platform header (overrides the previous header block)
   -------------------------------------------------------------------------- */

.tr-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--tr-paper);
	border-bottom: 1px solid var(--tr-line);
}

/* Flat, plain header: no blur, no shadow, no translucency. */
html[data-theme="dark"] .tr-header {
	background: var(--tr-paper);
}

.tr-header.is-scrolled {
	box-shadow: none;
}

.tr-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 64px;
}

.tr-header__brand {
	flex: 0 0 auto;
}

.tr-header .tr-nav {
	flex: 1 1 auto;
	justify-content: center;
}

.tr-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	margin-left: 0;
}

.tr-header__actions .wp-block-buttons,
.tr-header__actions .wp-block-button {
	margin: 0;
}

.tr-iconbtn {
	appearance: none;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--tr-line);
	border-radius: 10px;
	background: var(--tr-paper);
	color: var(--tr-ink-600);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color var(--tr-t-fast) ease, border-color var(--tr-t-fast) ease,
		color var(--tr-t-fast) ease, transform var(--tr-t-fast) ease;
}

.tr-iconbtn:hover {
	background: var(--tr-paper-2);
	border-color: var(--tr-ink-900);
	color: var(--tr-ink-900);
}

.tr-iconbtn:active {
	transform: translateY(1px);
}

.tr-iconbtn svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Mode toggle now lives in the actions cluster */
.tr-header .tr-mode-toggle {
	width: 38px;
	height: 38px;
	border: 1px solid var(--tr-line);
	border-radius: 10px;
	background: var(--tr-paper);
	color: var(--tr-ink-600);
}

.tr-header .tr-mode-toggle:hover {
	background: var(--tr-paper-2);
	border-color: var(--tr-ink-900);
	color: var(--tr-ink-900);
}

.tr-header .tr-mode-toggle svg {
	width: 17px;
	height: 17px;
}

.tr-header .tr-btn--subscribe .wp-block-button__link {
	height: 38px;
	display: inline-flex;
	align-items: center;
	padding: 0 16px;
	border-radius: 10px;
	font-size: 12.5px;
	letter-spacing: 0.01em;
}

@media (max-width: 1023px) {
	.tr-header__inner {
		gap: 10px;
	}

	.tr-header__brand {
		flex: 1 1 auto;
	}

	.tr-header .tr-nav {
		order: 3;
		flex: 0 0 auto;
		justify-content: flex-end;
	}

	.tr-header__actions {
		order: 2;
	}
}

@media (max-width: 599px) {
	.tr-header__actions .wp-block-buttons {
		display: none;
	}

	.tr-iconbtn,
	.tr-header .tr-mode-toggle {
		width: 36px;
		height: 36px;
		border-radius: 9px;
	}
}

/* --------------------------------------------------------------------------
   Search overlay
   -------------------------------------------------------------------------- */

.tr-searchoverlay {
	position: fixed;
	inset: 0;
	z-index: 400;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 12vh 20px 20px;
}

.tr-searchoverlay[hidden] {
	display: none;
}

.tr-searchoverlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(7, 11, 15, 0.55);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	animation: tr-fade 160ms ease-out;
}

.tr-searchoverlay__panel {
	position: relative;
	width: min(640px, 100%);
	background: var(--tr-paper);
	border: 1px solid var(--tr-line);
	border-radius: 14px;
	box-shadow: 0 32px 64px -24px rgba(7, 11, 15, 0.45);
	padding: 12px;
	animation: tr-pop 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tr-searchoverlay__form {
	display: flex;
	align-items: center;
	gap: 10px;
}

.tr-searchoverlay__icon {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	fill: none;
	stroke: var(--tr-ink-400);
	stroke-width: 1.8;
	stroke-linecap: round;
}

.tr-searchoverlay__form input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	background: transparent;
	color: var(--tr-ink-900);
	font-family: var(--tr-font-ui);
	font-size: 17px;
	padding: 10px 2px;
	outline: none;
}

.tr-searchoverlay__form input::placeholder {
	color: var(--tr-ink-400);
}

.tr-searchoverlay__submit {
	height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: 8px;
	background: var(--tr-cta);
	color: #ffffff;
	font-family: var(--tr-font-ui);
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color var(--tr-t-fast) ease;
}

.tr-searchoverlay__submit:hover {
	background: var(--tr-cta-hover);
}

.tr-searchoverlay__close {
	height: 26px;
	min-width: 32px;
	padding: 0 7px;
	border: 1px solid var(--tr-line);
	border-radius: 6px;
	background: transparent;
	color: var(--tr-ink-400);
	font-family: var(--tr-font-ui);
	font-size: 10px;
	letter-spacing: 0.04em;
	cursor: pointer;
}

.tr-searchoverlay__close:hover {
	border-color: var(--tr-ink-900);
	color: var(--tr-ink-900);
}

.tr-searchoverlay__hint {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	padding: 12px 4px 4px;
	border-top: 1px solid var(--tr-line);
	font-size: 11.5px;
	color: var(--tr-ink-400);
}

.tr-searchoverlay__hint span {
	font-family: var(--tr-font-ui);
	font-size: 9.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-right: 4px;
}

.tr-searchoverlay__hint a {
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 10px;
	border: 1px solid var(--tr-line);
	border-radius: var(--tr-r-pill);
	color: var(--tr-ink-600);
	font-size: 11.5px;
}

.tr-searchoverlay__hint a:hover {
	border-color: var(--tr-ink-900);
	color: var(--tr-ink-900);
}

@keyframes tr-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes tr-pop {
	from { opacity: 0; transform: translateY(-6px) scale(0.99); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.tr-searchoverlay__backdrop,
	.tr-searchoverlay__panel {
		animation: none;
	}
}

html.tr-lock {
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Sticky header â€” applied to the template-part wrapper.
   The header group is the wrapper's only child, so sticky on the group
   itself has no travel distance and silently does nothing.
   -------------------------------------------------------------------------- */

header.wp-block-template-part {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 100;
}

.tr-header {
	position: relative;
	top: auto;
}

body.admin-bar header.wp-block-template-part {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar header.wp-block-template-part {
		top: 46px;
	}
}

/* Remove the automatic block gap between top-level page sections. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* --------------------------------------------------------------------------
   Mobile navigation overlay â€” full viewport, left-aligned drawer
   -------------------------------------------------------------------------- */

.wp-block-navigation__responsive-container.is-menu-open {
	padding: 18px var(--tr-gutter);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	width: 100%;
	padding-top: 56px;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	width: 100%;
	align-items: stretch;
	justify-content: flex-start;
	gap: 0;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	width: 100%;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	width: 100%;
	justify-content: flex-start;
	text-align: left;
	padding: 14px 2px;
	border-bottom: 1px solid var(--tr-line);
	border-radius: 0;
	font-size: 17px;
}

.wp-block-navigation__responsive-container-close {
	width: 38px;
	height: 38px;
	border: 1px solid var(--tr-line);
	border-radius: 10px;
	color: var(--tr-ink-900);
}

/* --------------------------------------------------------------------------
   Mobile drawer
   -------------------------------------------------------------------------- */

.tr-burger {
	display: none;
}

@media (max-width: 1023px) {
	.tr-header .tr-nav {
		display: none;
	}

	.tr-burger {
		display: inline-flex;
	}
}

.tr-drawer {
	position: fixed;
	inset: 0;
	z-index: 400;
	display: flex;
	justify-content: flex-end;
	visibility: hidden;
	pointer-events: none;
}

.tr-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
}

.tr-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(7, 11, 15, 0.5);
	opacity: 0;
	transition: opacity 240ms ease;
}

.tr-drawer.is-open .tr-drawer__backdrop {
	opacity: 1;
}

.tr-drawer__panel {
	position: relative;
	width: min(380px, 88vw);
	height: 100%;
	background: var(--tr-paper);
	border-left: 1px solid var(--tr-line);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tr-drawer.is-open .tr-drawer__panel {
	transform: none;
}

.tr-drawer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--tr-line);
}

.tr-drawer__brand {
	display: inline-flex;
	align-items: baseline;
	font-family: var(--tr-font-display);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.045em;
	color: var(--tr-navy-700);
}

.tr-drawer__brand::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-left: 3px;
	background: var(--tr-red-500);
	display: inline-block;
	transform: translateY(-1px);
}

.tr-drawer__nav {
	display: flex;
	flex-direction: column;
	padding: 6px 18px;
}

.tr-drawer__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 0;
	border-bottom: 1px solid var(--tr-line);
	font-family: var(--tr-font-display);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--tr-navy-700);
	transition: color var(--tr-t-fast) ease;
}

.tr-drawer__link:hover {
	color: var(--tr-red-500);
}

.tr-drawer__index {
	flex: 0 0 auto;
	width: 24px;
	font-family: var(--tr-font-ui);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: var(--tr-navy-700);
}

.tr-drawer__link svg {
	width: 16px;
	height: 16px;
	margin-left: auto;
	fill: none;
	stroke: var(--tr-ink-300);
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tr-drawer__secondary {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 16px;
	margin-top: 8px;
	padding: 20px 18px;
	border-top: 1px solid var(--tr-line);
}

.tr-drawer__secondary a {
	font-size: 13px;
	color: var(--tr-ink-500);
}

.tr-drawer__secondary a:hover {
	color: var(--tr-ink-900);
}

.tr-drawer__foot {
	margin-top: auto;
	padding: 18px;
	border-top: 1px solid var(--tr-line);
	background: var(--tr-paper-2);
}

.tr-drawer__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	border-radius: 10px;
	background: var(--tr-cta);
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
}

.tr-drawer__cta:hover {
	background: var(--tr-cta-hover);
	color: #ffffff;
}

.tr-drawer__social {
	display: flex;
	gap: 8px;
	margin-top: 14px;
}

.tr-drawer__social a {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--tr-line);
	border-radius: 9px;
	color: var(--tr-ink-500);
}

.tr-drawer__social a:hover {
	border-color: var(--tr-ink-900);
	color: var(--tr-ink-900);
}

.tr-drawer__social svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {
	.tr-drawer__panel,
	.tr-drawer__backdrop {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   Trending top bar
   -------------------------------------------------------------------------- */

.tr-topbar {
	display: block;
	background: var(--tr-navy-900);
	border-bottom: 0;
	color: #c8d6ea;
}

.tr-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 34px;
}

.tr-topbar__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	font-family: var(--tr-font-ui);
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #f0a9bd;
}

.tr-live {
	position: relative;
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--tr-red-500);
	box-shadow: 0 0 0 3px rgba(179, 25, 66, 0.18);
}

.tr-live::after {
	content: "";
	position: absolute;
	inset: -3px;
	border-radius: 50%;
	border: 1px solid var(--tr-red-500);
	animation: tr-live-pulse 2s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}

.tr-topbar__rotator {
	display: flex;
	align-items: center;
	min-width: 0;
}

.tr-topbar__item {
	display: block;
	max-width: min(520px, 52vw);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 11.5px;
	font-weight: 500;
	line-height: 18px;
	color: #c8d6ea;
	transition: opacity 260ms ease, transform 260ms ease;
}

.tr-topbar__item:hover {
	color: #ffffff;
}

.tr-topbar__item.is-swapping {
	opacity: 0;
	transform: translateY(6px);
}

@keyframes tr-live-pulse {
	0% {
		transform: scale(0.7);
		opacity: 0.9;
	}
	70% {
		transform: scale(2.1);
		opacity: 0;
	}
	100% {
		transform: scale(2.1);
		opacity: 0;
	}
}

@media (max-width: 781px) {
	.tr-topbar__inner {
		min-height: 32px;
		gap: 8px;
	}

	.tr-topbar__item {
		max-width: 68vw;
		font-size: 11px;
		line-height: 16px;
	}

	.tr-topbar__word {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tr-live::after {
		animation: none;
	}

	.tr-topbar__item {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   Header logo swap + dark-mode typography
   -------------------------------------------------------------------------- */

.tr-logo--dark {
	display: none;
	margin: 0;
}

.tr-logo--dark img {
	height: 38px !important;
	width: auto !important;
	background: transparent;
	padding: 0;
}

html[data-theme="dark"] .tr-logo--light {
	display: none;
}

html[data-theme="dark"] .tr-logo--dark {
	display: block;
}

html[data-theme="dark"] .tr-logo--light img {
	background: transparent;
}

/* Headings are white on the dark navy canvas. */
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6,
html[data-theme="dark"] .tr-card__title a,
html[data-theme="dark"] .tr-feature-card__title a,
html[data-theme="dark"] .tr-stack__title a,
html[data-theme="dark"] .tr-list-item__title a,
html[data-theme="dark"] .tr-strip__title a,
html[data-theme="dark"] .tr-rail__title a,
html[data-theme="dark"] .tr-side-item__title a,
html[data-theme="dark"] .tr-pagehead .tr-archive-title,
html[data-theme="dark"] .tr-pagehead .tr-article-title,
html[data-theme="dark"] .tr-drawer__brand,
html[data-theme="dark"] .tr-drawer__link {
	color: #ffffff;
}

html[data-theme="dark"] .tr-wordmark a {
	color: #ffffff !important;
}

html[data-theme="dark"] .tr-card:hover .tr-card__title a,
html[data-theme="dark"] .tr-feature-card__title a:hover,
html[data-theme="dark"] .tr-stack__title a:hover,
html[data-theme="dark"] .tr-list-item__title a:hover,
html[data-theme="dark"] .tr-strip__title a:hover,
html[data-theme="dark"] .tr-rail__title a:hover,
html[data-theme="dark"] .tr-side-item__title a:hover,
html[data-theme="dark"] .tr-drawer__link:hover {
	color: #f0a9bd;
}

@media (max-width: 599px) {
	.tr-logo--dark img {
		height: 32px !important;
	}
}
/* Footer newsletter: the column is narrow, so stack cleanly. */
.tr-footer .tr-newsletter__form {
	flex-direction: column;
	align-items: stretch;
	margin-top: 16px;
}

.tr-footer .tr-newsletter__form input[type="email"],
.tr-footer .tr-newsletter__form button {
	width: 100%;
	flex: 0 0 auto;
}

.tr-footer .tr-newsletter__form button {
	margin-top: 8px;
}

.tr-footer .tr-newsletter__note {
	color: #7a889f;
	margin-top: 8px;
}
/* --------------------------------------------------------------------------
   Home statement band: the one paragraph that says what the site covers
   -------------------------------------------------------------------------- */

.tr-statement {
	position: relative;
	padding: 64px 0;
	margin: 0;
	text-align: center;
	background: var(--tr-paper-2);
	border-top: 1px solid var(--tr-line);
	border-bottom: 1px solid var(--tr-line);
	overflow: hidden;
}

.tr-statement::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(70% 130% at 50% 0%, rgba(10, 49, 97, 0.07), transparent 72%);
	pointer-events: none;
}

html[data-theme="dark"] .tr-statement::before {
	background: radial-gradient(70% 130% at 50% 0%, rgba(143, 180, 230, 0.09), transparent 72%);
}

.tr-statement > * {
	position: relative;
	z-index: 1;
}

.tr-statement__eyebrow {
	margin: 0 0 16px;
	font-family: var(--tr-font-ui);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tr-red-500);
}

.tr-statement__eyebrow::before {
	content: "";
	display: block;
	width: 36px;
	height: 2px;
	margin: 0 auto 14px;
	background: var(--tr-red-500);
}

.tr-statement__text {
	max-width: 860px;
	margin: 0 auto 22px;
	font-family: var(--tr-font-ui);
	font-size: clamp(19px, 2.1vw, 26px);
	font-weight: 500;
	line-height: 1.42;
	letter-spacing: -0.015em;
	color: var(--tr-navy-700);
	text-wrap: balance;
}

.tr-statement__link {
	margin: 0;
	font-family: var(--tr-font-ui);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tr-statement__link a {
	color: var(--tr-red-500);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	padding-bottom: 2px;
	transition: border-color var(--tr-t-fast) ease;
}

.tr-statement__link a:hover {
	border-bottom-color: var(--tr-red-500);
}

html[data-theme="dark"] .tr-statement__text {
	color: var(--tr-ink-800);
}

@media (max-width: 781px) {
	.tr-statement {
		padding: 38px 0;
	}

	.tr-statement__text {
		font-size: 18px;
		line-height: 1.5;
	}
}
/* --------------------------------------------------------------------------
   Home: about the site (page content, rendered below the statement band)
   -------------------------------------------------------------------------- */

.tr-home-about {
	--wp--style--global--content-size: 1120px;
	padding: 64px 0;
	background: var(--tr-paper-2);
	border-top: 1px solid var(--tr-line);
	border-bottom: 1px solid var(--tr-line);
}

.tr-home-about .wp-block-post-content > * {
	max-width: 1120px;
}

.tr-about-home__top {
	gap: 44px;
	margin-bottom: 8px !important;
	align-items: center;
}

.tr-about-home__top .wp-block-column {
	min-width: 0;
}

.tr-home-about .tr-statement--inline {
	margin: 44px 0 36px;
	padding: 44px 0;
	background: transparent;
	border-top: 1px solid var(--tr-line);
	border-bottom: 1px solid var(--tr-line);
}

.tr-home-about .tr-statement--inline::before {
	display: none;
}

.tr-about-home__top img {
	display: block;
	border-radius: 10px;
}

.tr-about-home__eyebrow {
	margin: 0 0 10px !important;
	font-family: var(--tr-font-ui);
	font-size: 10px !important;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tr-red-500) !important;
}

.tr-about-home__top h2 {
	margin: 0 0 14px;
	font-size: clamp(22px, 2.4vw, 30px);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.tr-about-home__top p {
	margin: 0 0 12px;
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--tr-ink-600);
}

.tr-about-home__note {
	margin: 6px 0 18px !important;
	font-family: var(--tr-font-ui);
	font-size: 11px !important;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tr-ink-400) !important;
}

.tr-about-home__sections {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 18px 0 0 !important;
	padding: 0 !important;
	list-style: none;
}

.tr-about-home__sections li {
	padding: 12px 14px;
	border: 1px solid var(--tr-line);
	border-radius: 8px;
	background: var(--tr-paper);
}

.tr-about-home__sections a {
	display: block;
	font-family: var(--tr-font-ui);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	color: var(--tr-navy-700);
}

.tr-about-home__sections a:hover {
	color: var(--tr-red-500);
}

.tr-about-home__sections span {
	display: block;
	margin-top: 2px;
	font-size: 11.5px;
	line-height: 1.4;
	color: var(--tr-ink-400);
}

.tr-about-home__cards {
	gap: 26px;
	margin-bottom: 0 !important;
}

.tr-about-home__cards h3 {
	margin: 0 0 8px;
	font-family: var(--tr-font-ui);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tr-navy-700);
}

.tr-about-home__cards p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--tr-ink-500);
}

.tr-about-home__foot {
	margin: 30px 0 0 !important;
	padding-top: 18px;
	border-top: 1px solid var(--tr-line);
	font-size: 12.5px !important;
	line-height: 1.6;
	color: var(--tr-ink-400) !important;
}

@media (max-width: 781px) {
	.tr-home-about {
		padding: 44px 0;
	}

	.tr-about-home__sections {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tr-about-home__top {
		gap: 22px;
	}
}

@media (max-width: 520px) {
	.tr-about-home__sections {
		grid-template-columns: 1fr;
	}
}



/* --------------------------------------------------------------------------
   Home: about bands (page content rendered with the About page components)
   -------------------------------------------------------------------------- */

.tr-home-bands {
	padding: 0;
}

.tr-home-bands .wp-block-post-content {
	--wp--style--global--content-size: 1120px;
	--wp--style--global--wide-size: 1280px;
}

.tr-home-bands .wp-block-post-content > * {
	max-width: 1120px;
}

.tr-home-bands .tr-band {
	margin: 0;
}

.tr-home-bands .tr-about__note-title {
	max-width: 760px;
}

/* --------------------------------------------------------------------------
   Home / about cards with category photography (blurred backdrop)
   -------------------------------------------------------------------------- */

.tr-about__card.tr-about__card--media {
	position: relative;
	overflow: hidden;
	background: #0a3161;
	border-color: rgba(255, 255, 255, 0.08);
	isolation: isolate;
}

.tr-about__card.tr-about__card--media::before {
	content: "";
	position: absolute;
	inset: -10px;
	background-image: var(--card-img);
	background-size: cover;
	background-position: center;
	filter: blur(4px) saturate(0.65);
	transform: scale(1.06);
	opacity: 0.6;
	z-index: -1;
}

.tr-about__card.tr-about__card--media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 49, 97, 0.45) 0%, rgba(8, 21, 43, 0.94) 82%);
	z-index: -1;
}

.tr-about__card.tr-about__card--media .tr-about__num {
	color: #ff8fab;
}

.tr-about__card.tr-about__card--media h3 {
	color: #ffffff;
}

.tr-about__card.tr-about__card--media p {
	color: rgba(255, 255, 255, 0.78);
}

.tr-about__card.tr-about__card--media .tr-link-arrow a {
	color: #ffffff;
}

.tr-about__card.tr-about__card--media .tr-link-arrow a:hover {
	color: #ff8fab;
}

.tr-about__credits {
	margin: 18px 0 0;
	font-family: var(--tr-font-ui);
	font-size: 10.5px;
	line-height: 1.5;
	color: var(--tr-ink-400);
}
/* Drawer logo */
.tr-drawer__brand--logo {
	line-height: 0;
	align-items: center;
}

.tr-drawer__brand--logo::after {
	display: none;
}

.tr-drawer__brand--logo img {
	display: block;
	width: 150px;
	height: auto;
}