/*
 * Toyota Report: "Night" direction (1c mobile / 2a desktop).
 * Breakpoints: mobile < 768, tablet 768-1199 (single-column body, 2-col lead grid), desktop >= 1200.
 * Colors and type come from theme.json presets (--wp--preset--*); short aliases below.
 */

:root {
	--red: #d70c19;
	--red-dark: #a3000f;
	--red-dark-bg: #ff3b47;
	--night: #111112;
	--surface: #1d1d1f;
	--adband: #1a1a1c;
	--chip: #262628;
	--chip-2: #2c2c2e;
	--line: #262628;
	--line-2: #3a3a3c;
	--text: #f2f1ef;
	--body: #dedcd9;
	--secondary: #b9b6b2;
	--secondary-2: #d6d4d0;
	--muted: #8f8d8a;
	--faint: #7a7876;
	--ph-a: #2a2a2c;
	--ph-b: #222224;
	--ad-border: #4a4a4c;
	--archive-bg: #0a0a0b;
	--recall-bg: #2a0d10;
	--recall-border: #6b1a20;
	--recall-text: #ff6b74;
	--error: #ff6b74;
	--sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
	--gutter: 16px;
	--header-h: 116px;
	color-scheme: dark;
}

/*
 * Light mode is the default: the handoff's light reference palette (ink #141414, panel #f6f5f3, divider
 * #ecebe8, light recall box). Night (the tokens above) applies only when a reader picks it, which sets
 * data-theme="dark" before the page paints. Keyed to the stylesheet, so light also holds without JS.
 * The red header, newsletter band and text over photos stay the same in both modes.
 * theme.json presets are remapped too, since WordPress's global styles use them for body and headings.
 */
:root:not([data-theme="dark"]) {
	--red-dark-bg: #d70c19;
	--night: #ffffff;
	--surface: #f6f5f3;
	--adband: #f6f5f3;
	--chip: #f0efec;
	--chip-2: #ecebe8;
	--line: #ecebe8;
	--line-2: #d6d4d0;
	--text: #141414;
	--body: #262524;
	--secondary: #3d3b39;
	--secondary-2: #3d3b39;
	--muted: #6b6966;
	--faint: #6b6966;
	--ph-a: #f0efec;
	--ph-b: #e8e7e4;
	--ad-border: #c9c7c3;
	--archive-bg: #f6f5f3;
	--recall-bg: #fff1f1;
	--recall-border: #f4c4c7;
	--recall-text: #b0000f;
	--error: #b0000f;
	--wp--preset--color--night: #ffffff;
	--wp--preset--color--surface: #f6f5f3;
	--wp--preset--color--ad-band: #f6f5f3;
	--wp--preset--color--chip: #f0efec;
	--wp--preset--color--chip-2: #ecebe8;
	--wp--preset--color--text: #141414;
	--wp--preset--color--secondary: #3d3b39;
	--wp--preset--color--secondary-2: #3d3b39;
	--wp--preset--color--muted: #6b6966;
	--wp--preset--color--faint: #6b6966;
	--wp--preset--color--red-on-dark: #d70c19;
	color-scheme: light;
}
@media (min-width: 1200px) { :root { --header-h: 120px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red-dark-bg); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red-dark-bg); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.tr-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wp-site-blocks > * { margin-block: 0; }

.tr-container { width: 100%; max-width: calc(1280px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.tr-scroller { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tr-scroller::-webkit-scrollbar { display: none; }
.tr-mobile-only { display: block; }
.tr-desktop-only { display: none; }
@media (min-width: 1200px) { .tr-mobile-only { display: none; } .tr-desktop-only { display: block; } }

/* ---------- Type helpers ---------- */
.tr-kicker { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red-dark-bg); line-height: 1.3; }
a.tr-kicker:hover { color: var(--text); }
.tr-meta { margin: 4px 0 0; font-size: 12px; color: var(--muted); line-height: 1.4; }
.tr-label { margin: 0 0 12px; font-size: 15px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.tr-empty { padding: 32px 0; color: var(--secondary); }
.tr-fallback-note { margin: 0 0 12px; color: var(--secondary); }
.tr-empty h1 { font-size: 40px; font-weight: 900; font-stretch: 70%; text-transform: uppercase; margin: 0 0 8px; }

.tr-section { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; }
.tr-section__title { margin: 0; font-size: 15px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; white-space: nowrap; }
.tr-section__rule { flex: 1; height: 2px; background: var(--red); }
.tr-section__link { font-size: 13px; font-weight: 700; color: var(--red-dark-bg); white-space: nowrap; }

/* ---------- Images ---------- */
.tr-img { width: 100%; height: 100%; object-fit: cover; background: var(--chip); }
.tr-ph { background: repeating-linear-gradient(135deg, var(--ph-a) 0 10px, var(--ph-b) 10px 20px); }
.tr-tile__media, .tr-row__media, .tr-compact__media, .tr-video__media, .tr-feature__media, .tr-lead__media { display: block; overflow: hidden; position: relative; }
.tr-tile__media .tr-img, .tr-row__media .tr-img, .tr-compact__media .tr-img, .tr-feature__media .tr-img, .tr-video__media .tr-img { transition: transform .2s ease-out; }
.tr-tile:hover .tr-img, .tr-row:hover .tr-img, .tr-compact:hover .tr-img, .tr-feature:hover .tr-img, .tr-video:hover .tr-img { transform: scale(1.03); }

/* ---------- Buttons ---------- */
.tr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid transparent; border-radius: 0; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; cursor: pointer; text-align: center; transition: background .15s, color .15s, border-color .15s; }
.tr-btn--black { background: #111112; color: #fff; }
.tr-btn--black:hover { background: #000; color: #fff; }
.tr-btn--red { background: var(--red); color: #fff; }
.tr-btn--red:hover { background: var(--red-dark); color: #fff; }
.tr-btn--outline { background: transparent; color: var(--text); border-color: var(--text); }
.tr-btn--outline:hover { background: var(--text); color: var(--night); }
.tr-btn--outline-red { background: transparent; color: var(--red-dark-bg); border-color: var(--red-dark-bg); padding: 6px 14px; font-size: 12px; text-transform: none; letter-spacing: 0; }
.tr-btn--outline-red:hover { background: var(--red-dark-bg); color: #fff; }
.tr-btn--light { background: var(--text); color: var(--night); }
.tr-btn--light:hover { background: var(--secondary-2); color: var(--night); }
.tr-btn--block { display: flex; width: 100%; }
.tr-btn--big { padding: 16px; font-size: 16px; }
.tr-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; background: none; border: 0; color: #fff; cursor: pointer; }
.tr-iconbtn:hover { color: #fff; opacity: .8; }

/* ---------- Chips ---------- */
.tr-chips { display: flex; align-items: center; gap: 8px; }
.tr-chips--wrap { flex-wrap: wrap; }
.tr-chip { display: inline-flex; align-items: center; flex: none; padding: 6px 12px; border-radius: 999px; background: var(--chip); color: var(--text); font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap; border: 1px solid transparent; }
.tr-chip:hover { background: var(--line-2); color: var(--text); }
.tr-chip.is-active { background: var(--text); color: var(--night); }
.tr-chip--filter.is-active { background: var(--red); color: #fff; }
.tr-chip--outline { background: transparent; border-color: var(--line-2); }
.tr-chips__label { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; display: none; }

/* ---------- Header ---------- */
.tr-part-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .tr-part-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tr-part-header { top: 0; } }
.tr-bar { background: var(--red); color: #fff; }
.tr-bar__inner { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; padding-block: 14px; min-height: 64px; }
.tr-bar__menu { margin-left: -8px; }
.tr-bar__logo { justify-self: center; }
.tr-nav { display: none; }
.tr-bar__actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-right: -8px; }

.tr-logo { display: inline-flex; align-items: center; color: #fff; }
.tr-logo img { max-height: 30px; width: auto; }
.tr-logo--word { font-size: 22px; font-weight: 500; font-stretch: 72%; letter-spacing: .01em; text-transform: uppercase; line-height: 1; gap: 4px; }
.tr-logo--word span { font-weight: 900; }
.tr-logo--word:hover { color: #fff; }

.tr-subbar { background: var(--night); }
.tr-live { display: flex; align-items: center; gap: 10px; padding: 10px var(--gutter); margin-inline: calc(-1 * var(--gutter)); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--text); }
.tr-live:hover { color: var(--text); }
.tr-live__badge { flex: none; padding: 3px 6px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.tr-live__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-chips--models { padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.tr-chips--models::-webkit-scrollbar { display: none; }

/* Utility bar (desktop only; on mobile these links live in the menu). Black in both modes, like Ford Authority's. */
.tr-utility { display: none; }

/*
 * Desktop nav, modeled on Ford Authority's: sections plus segment menus (TRUCKS, SUVS ...) that drop a
 * column of models and trims straight down from the item. Dropdowns fade and slide in on hover or keyboard
 * focus; a short delay before closing keeps them open while the pointer travels into the list.
 */
@media (min-width: 1200px) {
	.tr-utility { display: block; background: #0a0a0b; }
	.tr-utility__inner { display: flex; justify-content: flex-end; gap: 28px; padding-block: 7px; }
	.tr-utility__link { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #d6d4d0; line-height: 1.4; }
	.tr-utility__link:hover { color: #fff; }
	.tr-utility__link.is-cta { color: #ff3b47; }
	.tr-utility__link.is-cta:hover { color: #fff; }

	.tr-bar__inner { display: flex; align-items: stretch; gap: 28px; min-height: 64px; padding-block: 0; }
	.tr-bar__menu { display: none; }
	.tr-bar__logo { justify-self: auto; align-self: center; }
	.tr-logo--word { font-size: 26px; }
	.tr-logo img { max-height: 38px; }
	.tr-nav { display: flex; flex: 1; min-width: 0; }
	.tr-nav__list { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
	.tr-nav__entry { position: relative; display: flex; align-items: center; }
	.tr-nav__item { position: relative; display: flex; align-items: center; gap: 5px; height: 100%; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; white-space: nowrap; }
	.tr-nav__item:hover { color: #fff; }
	.tr-nav__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #fff; transform: scaleX(0); transition: transform .16s ease; }
	.tr-nav__item.is-active::after, .tr-nav__entry:hover > .tr-nav__item::after, .tr-nav__entry.is-open > .tr-nav__item::after { transform: scaleX(1); }
	.tr-nav__caret { transition: transform .16s ease; }
	.tr-bar__actions { align-self: center; margin-right: -8px; gap: 4px; }

	.tr-dropdown {
		position: absolute; top: 100%; left: -22px; z-index: 60; min-width: 230px; max-height: calc(100vh - var(--header-h) - 16px); overflow-y: auto;
		margin: 0; padding: 14px 0 16px; list-style: none; background: #111112; border-top: 3px solid var(--red); box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
		opacity: 0; visibility: hidden; transform: translateY(8px);
		transition: opacity .16s ease .12s, transform .16s ease .12s, visibility 0s linear .28s;
	}
	.tr-dropdown--cols { columns: 2; column-gap: 0; min-width: 460px; }
	.tr-dropdown li { break-inside: avoid; }
	.tr-dropdown a { display: block; padding: 6px 22px; font-size: 15px; font-weight: 800; font-stretch: 85%; letter-spacing: .02em; text-transform: uppercase; color: #f2f1ef; line-height: 1.25; }
	.tr-dropdown a:hover, .tr-dropdown a:focus-visible { color: #ff3b47; background: rgba(255, 255, 255, .04); }
	.tr-dropdown .tr-dropdown__all { margin-bottom: 6px; color: #ff3b47; font-size: 16px; }
	.tr-dropdown .tr-dropdown__all:hover { color: #fff; }
	.tr-dropdown .tr-dropdown__sub { padding-left: 34px; font-weight: 700; color: #b9b6b2; }
	.tr-nav__entry:hover > .tr-dropdown, .tr-nav__entry:focus-within > .tr-dropdown, .tr-nav__entry.is-open > .tr-dropdown {
		opacity: 1; visibility: visible; transform: none; transition-delay: .04s, .04s, 0s;
	}
	.tr-nav__entry:hover > .tr-nav__item .tr-nav__caret, .tr-nav__entry:focus-within > .tr-nav__item .tr-nav__caret, .tr-nav__entry.is-open > .tr-nav__item .tr-nav__caret { transform: rotate(180deg); }
	.tr-nav__entry.is-closed > .tr-dropdown { opacity: 0; visibility: hidden; transform: translateY(8px); transition: none; }

	/* The model chips are redundant next to the segment menus; the strip keeps only the LIVE ticker. */
	.tr-subbar { background: var(--surface); }
	.tr-subbar--no-ticker { display: none; }
	.tr-subbar__inner { display: flex; align-items: center; gap: 24px; padding-block: 10px; }
	.tr-live { margin: 0; padding: 0; background: none; }
	.tr-chips--models { display: none; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
	.tr-bar__inner { gap: 20px; }
	.tr-nav__list { gap: 16px; }
	.tr-nav__item { font-size: 13px; letter-spacing: .02em; }
	.tr-logo--word { font-size: 23px; }
}

/* ---------- Overlays (menu + search) ---------- */
.tr-overlay { position: fixed; inset: 0; z-index: 100; background: var(--night); overflow-y: auto; padding-bottom: 40px; }
.tr-overlay[hidden] { display: none; }
.tr-overlay__head { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); background: var(--red); }
.tr-overlay__body { padding: 8px var(--gutter); max-width: 720px; margin: 0 auto; }
.tr-overlay__label { margin: 24px 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tr-overlay__list { list-style: none; margin: 0; padding: 0; }
.tr-overlay__list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 24px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; line-height: 1.2; }
.tr-overlay__body .tr-btn { margin-top: 28px; }
.tr-searchbar { display: flex; align-items: center; gap: 12px; padding: 0 var(--gutter); max-width: 900px; margin: 0 auto; }
.tr-searchbar__field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--surface); border-radius: 8px; color: var(--secondary); }
.tr-searchbar__field input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 17px; color: var(--text); }
.tr-searchbar__field input::-webkit-search-cancel-button { display: none; }
.tr-searchbar__clear { display: inline-flex; color: var(--muted); }
.tr-searchbar__cancel { background: none; border: 0; font-size: 15px; font-weight: 700; color: var(--text); cursor: pointer; padding: 8px 0; }

/* ---------- Lead grid ---------- */
.tr-leadgrid__inner { padding-inline: 0; }
.tr-lead { position: relative; height: 300px; overflow: hidden; background: var(--chip); }
.tr-lead__media { position: absolute; inset: 0; }
.tr-lead__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.88) 100%); }
.tr-lead__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; }
.tr-badge { display: inline-block; padding: 3px 7px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
.tr-lead__title { margin: 8px 0 6px; font-size: 28px; font-weight: 800; font-stretch: 78%; line-height: 1.05; letter-spacing: -.005em; }
.tr-lead__title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tr-lead__dek { margin: 0; font-size: 15px; line-height: 1.4; color: var(--secondary-2); max-width: 640px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tr-leadgrid__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 2px; }
.tr-tile { background: var(--night); }
.tr-tile__media { aspect-ratio: 4 / 3; }
.tr-tile__body { padding: 10px 12px 14px; }
.tr-tile__title { margin: 4px 0 0; font-size: 15px; font-weight: 700; line-height: 1.2; }

@media (min-width: 768px) {
	.tr-leadgrid__inner { padding-inline: var(--gutter); padding-top: 20px; }
	.tr-lead { height: 420px; }
	.tr-lead__body { padding: 24px; }
	.tr-lead__title { font-size: 40px; }
	.tr-lead__dek { font-size: 17px; }
	.tr-leadgrid__tiles { gap: 20px; margin-top: 20px; }
	.tr-tile__body { padding: 10px 0 0; }
	.tr-tile__title { font-size: 18px; }
}
@media (min-width: 1200px) {
	.tr-leadgrid__inner { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; padding-top: 28px; }
	.tr-lead { height: 540px; }
	.tr-lead__body { padding: 32px; }
	.tr-lead__title { font-size: 52px; font-stretch: 75%; margin: 14px 0 12px; }
	.tr-leadgrid__tiles { margin-top: 0; align-content: start; }
}

/* ---------- Body: main + sidebar ---------- */
.tr-body { padding-block: 24px 40px; }
.tr-body__main { min-width: 0; }
.tr-sidebar { display: grid; gap: 24px; align-content: start; margin-top: 32px; }
@media (min-width: 1200px) {
	.tr-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding-block: 48px; }
	.tr-sidebar { margin-top: 0; gap: 28px; }
	.tr-sidebar__sticky { position: sticky; top: calc(var(--header-h) + 24px); }
	.tr-body--article .tr-body__main { max-width: 760px; }
}

/* ---------- Latest rows ---------- */
.tr-rows { display: grid; }
.tr-row { display: grid; grid-template-columns: 128px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tr-row__media { aspect-ratio: 16 / 10; align-self: start; }
.tr-row__title { margin: 2px 0 0; font-size: 17px; font-weight: 700; line-height: 1.2; }
.tr-card__dek { margin: 6px 0 0; font-size: 14px; line-height: 1.4; color: var(--secondary-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tr-loadmore { margin-top: 24px; }
@media (min-width: 768px) {
	.tr-row { grid-template-columns: 240px 1fr; gap: 20px; padding: 20px 0; }
	.tr-row__title { font-size: 23px; font-stretch: 88%; line-height: 1.15; }
	.tr-row .tr-card__dek { font-size: 16px; }
}

/* ---------- Trending ---------- */
.tr-trending { margin-bottom: 8px; }
.tr-trending__list { list-style: none; margin: 0; padding: 0; }
.tr-trend { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tr-trend__n { font-size: 30px; font-weight: 900; font-stretch: 70%; color: var(--red); line-height: 1; }
.tr-trend__title { font-size: 16px; font-weight: 700; line-height: 1.25; }
@media (min-width: 1200px) { .tr-trend__title { font-size: 15px; } }

/* ---------- Ads ---------- */
.tr-ad { background: var(--adband); padding: 12px 16px 16px; text-align: center; }
.tr-ad__label { margin: 0 0 10px; font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.tr-ad__slot { width: min(100%, var(--ad-w)); min-height: var(--ad-h); margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.tr-ad__slot.is-placeholder { border: 1px dashed var(--ad-border); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.tr-ad--inline { margin: 24px calc(-1 * var(--gutter)); }
@media (max-width: 1199px) { .tr-ad--sticky { display: none; } }

/* ---------- Deals ---------- */
.tr-deals { background: var(--surface); border-top: 3px solid var(--red); }
.tr-deals__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; }
.tr-deals__title { margin: 0; font-size: 14px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.tr-deals__aff { font-family: var(--mono); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.tr-deals__list { list-style: none; margin: 0; padding: 0; }
.tr-deal { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.tr-deal__model { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; }
.tr-deal__offer { margin: 0; font-size: 13px; color: var(--secondary); line-height: 1.3; }

/* ---------- Videos band ---------- */
.tr-videos { background: var(--adband); padding: 28px 0 32px; }
.tr-videos__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tr-videos__grid { gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.tr-video { flex: none; width: 240px; }
.tr-video__media { aspect-ratio: 16 / 9; }
.tr-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; }
.tr-play svg { margin-left: 3px; }
.tr-duration { position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; background: rgba(0,0,0,.85); font-family: var(--mono); font-size: 11px; color: #fff; }
.tr-video__title { margin: 10px 0 0; font-size: 15px; font-weight: 700; line-height: 1.25; }
@media (min-width: 1200px) {
	.tr-videos { padding: 44px 0; }
	.tr-videos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; overflow: visible; }
	.tr-video { width: auto; }
	.tr-play { width: 56px; height: 56px; }
	.tr-video__title { font-size: 18px; }
}

/* ---------- Newsletter band ---------- */
.tr-band-news { background: var(--red); color: #fff; padding: 28px 0; }
.tr-band-news__title { margin: 0; font-size: 26px; font-weight: 900; font-stretch: 70%; text-transform: uppercase; line-height: 1; }
.tr-band-news__text { margin: 8px 0 16px; font-size: 15px; line-height: 1.4; }
.tr-subscribe__row { display: flex; }
.tr-subscribe__email { flex: 1; min-width: 0; padding: 12px 14px; border: 0; border-radius: 0; background: #fff; color: #111; font-size: 15px; }
.tr-subscribe__email::placeholder { color: #8a8784; }
.tr-subscribe__row .tr-btn { padding-inline: 22px; font-size: 14px; text-transform: none; letter-spacing: 0; }
.tr-subscribe__msg { margin: 8px 0 0; font-size: 13px; font-weight: 600; min-height: 1em; }
.tr-subscribe__msg:empty { display: none; }
.tr-subscribe__msg.is-error { color: #ffd2d5; }
@media (min-width: 1200px) {
	.tr-band-news { padding: 40px 0; }
	.tr-band-news__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
	.tr-band-news__title { font-size: 40px; }
	.tr-band-news__text { margin-bottom: 0; }
	.tr-band-news .tr-subscribe { width: 480px; flex: none; }
}

/* ---------- Footer ---------- */
.tr-footer { padding: 32px 0 24px; border-top: 1px solid var(--line); }
.tr-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.tr-footer__brand { grid-column: 1 / -1; order: 2; }
.tr-footer__col h2 { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.tr-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tr-footer__col a { font-size: 14px; color: var(--secondary); }
.tr-footer__col a:hover { color: var(--red-dark-bg); }
.tr-footer__disclaimer { margin: 12px 0 0; font-size: 11px; line-height: 1.5; color: var(--faint); max-width: 420px; }
.tr-footer__legal { margin-top: 24px; font-size: 11px; color: var(--faint); }
@media (min-width: 1200px) {
	.tr-footer { padding: 48px 0 32px; }
	.tr-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
	.tr-footer__brand { grid-column: auto; order: 0; }
}

/* ---------- Article ---------- */
.tr-crumbs { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tr-crumbs .tr-kicker { font-size: 12px; }
.tr-crumbs__sep { color: var(--muted); margin: 0 6px; }
.tr-crumbs__cat { color: var(--muted); }
.tr-article__title { margin: 0 0 10px; font-size: 31px; font-weight: 800; font-stretch: 78%; line-height: 1.05; letter-spacing: -.005em; }
.tr-article__dek { margin: 0 0 16px; font-size: 17px; line-height: 1.45; color: var(--secondary); }
.tr-byline { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-block: 1px solid var(--line); }
.tr-byline__name { font-size: 14px; font-weight: 700; }
.tr-byline .tr-meta { margin: 0; }
.tr-byline__comments { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--red-dark-bg); }
.tr-article__figure { margin: 16px calc(-1 * var(--gutter)) 0; }
.tr-article__figure .tr-img { aspect-ratio: 3 / 2; }
.tr-article__figure figcaption { padding: 8px var(--gutter) 0; font-size: 12px; color: var(--muted); }
.tr-prose { color: var(--body); font-size: 17px; line-height: 1.6; }
.tr-prose > * { margin-block: 0 1em; }
.tr-prose > :first-child { margin-top: 20px; }
.tr-prose h2 { margin-top: 1.6em; font-size: 22px; font-weight: 800; font-stretch: 85%; color: var(--text); line-height: 1.15; }
.tr-prose h3 { margin-top: 1.4em; font-size: 19px; font-weight: 800; color: var(--text); }
.tr-prose a { color: var(--red-dark-bg); text-decoration: underline; text-underline-offset: 2px; }
.tr-prose strong { color: var(--text); }
.tr-prose blockquote, .tr-prose .wp-block-quote { margin-inline: 0; padding-left: 16px; border-left: 3px solid var(--red); font-size: 20px; font-weight: 600; line-height: 1.35; color: var(--text); }
.tr-prose blockquote cite { display: block; margin-top: 6px; font-size: 13px; font-style: normal; color: var(--muted); }
.tr-prose ul, .tr-prose ol { padding-left: 1.2em; }
.tr-prose li { margin-bottom: .35em; }
.tr-prose img, .tr-prose figure { max-width: 100%; }
.tr-prose figcaption { font-size: 12px; color: var(--muted); }
.tr-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tr-prose th, .tr-prose td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.tr-verdict { display: flex; align-items: center; gap: 16px; margin: 24px 0; padding: 16px; background: var(--surface); }
.tr-verdict p { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.35; }
.tr-specs { margin: 24px 0; padding: 16px; background: var(--surface); }
.tr-specs__title { margin: 0 0 6px; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tr-specs dl { margin: 0; }
.tr-specs dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.tr-specs dl div:last-child { border-bottom: 0; }
.tr-specs dt { color: var(--muted); }
.tr-specs dd { margin: 0; font-weight: 700; text-align: right; }
.tr-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.tr-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 24px; }
.tr-actions .tr-btn { padding-inline: 8px; text-transform: none; letter-spacing: 0; font-size: 14px; }
.tr-follow { margin: 24px 0; padding: 16px; background: var(--red); border-radius: 6px; }
.tr-follow__title { margin: 0 0 12px; font-size: 20px; font-weight: 900; font-stretch: 80%; line-height: 1.1; }
.tr-comments { margin: 32px 0; }
.tr-comments__list { list-style: none; margin: 0; padding: 0; }
.tr-comments__list .children { list-style: none; padding-left: 20px; border-left: 2px solid var(--line); }
.tr-comment { padding: 14px 0; border-bottom: 1px solid var(--line); }
.tr-comment__head { margin: 0; font-size: 14px; }
.tr-comment__name { font-weight: 800; }
.tr-comment__time { margin-left: 6px; font-size: 12px; color: var(--muted); }
.tr-comment__text { font-size: 15px; line-height: 1.5; color: var(--body); }
.tr-comment__text p { margin: 4px 0; }
.tr-comment__actions { margin: 4px 0 0; font-size: 12px; font-weight: 700; color: var(--muted); }
.tr-comments__form { margin-top: 16px; }
.tr-comments__form > summary { list-style: none; }
.tr-comments__form > summary::-webkit-details-marker { display: none; }
.tr-comments__form[open] > summary { display: none; }
.comment-form p { margin: 0 0 12px; font-size: 14px; }
.comment-form label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--secondary); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 4px; color: var(--text); font-size: 15px; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; }
.tr-related { margin: 32px 0 0; }
@media (min-width: 768px) {
	.tr-article__title { font-size: 44px; }
	.tr-article__dek { font-size: 19px; }
	.tr-article__figure { margin-inline: 0; }
	.tr-article__figure figcaption { padding-inline: 0; }
	.tr-ad--inline { margin-inline: 0; }
}

/* ---------- Static pages ---------- */
.tr-page { max-width: 760px; padding-block: 32px 48px; }
.tr-article--page .tr-article__title { margin-bottom: 8px; }

/* ---------- Compact rows (archives, hub, related) ---------- */
.tr-compacts { display: grid; }
.tr-compact { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tr-compact__media { width: 104px; aspect-ratio: 4 / 3; align-self: start; }
.tr-compact__title { margin: 2px 0 0; font-size: 16px; font-weight: 700; line-height: 1.2; }
.tr-score { position: absolute; left: 0; bottom: 0; padding: 2px 6px; background: #111112; color: #fff; font-size: 13px; font-weight: 800; line-height: 1.3; }
.tr-score--big { position: static; display: inline-block; padding: 6px 12px; background: var(--red); font-size: 28px; font-weight: 900; line-height: 1; }
.tr-score--big small { font-size: 13px; font-weight: 700; margin-left: 2px; }
.tr-feature__media .tr-score--big { position: absolute; left: 16px; bottom: 16px; }
@media (min-width: 768px) {
	.tr-compact { grid-template-columns: 180px 1fr; gap: 20px; }
	.tr-compact__media { width: 180px; aspect-ratio: 16 / 10; }
	.tr-compact__title { font-size: 20px; font-stretch: 90%; }
}

/* ---------- Archive header ---------- */
.tr-archive-head { background: var(--archive-bg); border-bottom: 4px solid var(--red); padding: 24px 0 26px; }
.tr-archive-head__title { margin: 0; font-size: 40px; font-weight: 900; font-stretch: 70%; text-transform: uppercase; line-height: 1; }
.tr-archive-head__desc { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--secondary-2); max-width: 640px; }
.tr-filterbar { border-bottom: 1px solid var(--line); padding: 12px 0; }
.tr-filterbar .tr-chip { padding: 7px 14px; font-size: 14px; }
.tr-feature { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.tr-feature__media { aspect-ratio: 16 / 10; margin-bottom: 12px; border-radius: 0; }
.tr-feature__title { margin: 4px 0 6px; font-size: 26px; font-weight: 800; font-stretch: 80%; line-height: 1.1; }
.tr-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0 0; }
.tr-pages .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); font-size: 15px; font-weight: 700; }
.tr-pages .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }
.tr-pages .page-numbers.dots { border: 0; min-width: 20px; }
@media (min-width: 1200px) {
	.tr-archive-head { padding: 40px 0 42px; }
	.tr-archive-head__title { font-size: 64px; }
	.tr-feature__title { font-size: 36px; }
}

/* ---------- Model hub ---------- */
.tr-hub-hero { position: relative; height: 260px; overflow: hidden; background: var(--chip); }
.tr-hub-hero__img { position: absolute; inset: 0; }
.tr-hub-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.8) 100%); }
.tr-hub-hero__body { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 20px; z-index: 1; }
.tr-hub-hero .tr-kicker { font-size: 13px; }
.tr-hub-hero__title { margin: 4px 0 6px; font-size: 46px; font-weight: 900; font-stretch: 68%; text-transform: uppercase; line-height: .95; }
.tr-hub-hero__sub { margin: 0; font-size: 15px; color: var(--secondary-2); }
.tr-tabs { border-bottom: 1px solid var(--line); }
.tr-tabs .tr-scroller { gap: 28px; }
.tr-tab { flex: none; padding: 14px 0 11px; border-bottom: 3px solid transparent; font-size: 15px; font-weight: 700; color: var(--muted); }
.tr-tab.is-active { color: var(--text); border-color: var(--red); }
.tr-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 0 calc(-1 * var(--gutter)) 20px; border-bottom: 1px solid var(--line); }
.tr-stats div { padding: 14px var(--gutter); border-top: 1px solid var(--line); }
.tr-stats div:nth-child(odd) { border-right: 1px solid var(--line); }
.tr-stats dt { font-size: 13px; color: var(--muted); }
.tr-stats dd { margin: 2px 0 0; font-size: 24px; font-weight: 800; font-stretch: 85%; line-height: 1.1; }
.tr-recall { display: grid; gap: 4px; margin: 0 0 24px; padding: 16px; background: var(--recall-bg); border: 1px solid var(--recall-border); border-radius: 6px; }
.tr-recall__kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--recall-text); }
.tr-recall__title { font-size: 18px; font-weight: 700; line-height: 1.25; }
.tr-recall__vin { font-size: 15px; font-weight: 700; color: var(--red-dark-bg); }
.tr-trims { margin: 0 0 28px; }
.tr-trims__list { gap: 10px; }
.tr-trim { flex: none; min-width: 140px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 6px; }
.tr-trim__name { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; }
.tr-trim__price { margin: 0; font-size: 13px; color: var(--muted); }
.tr-dealbox { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 0; padding: 16px; border: 2px solid var(--text); border-radius: 6px; }
.tr-dealbox__title { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.25; }
.tr-dealbox__text { margin: 0; font-size: 13px; color: var(--secondary); }
@media (min-width: 768px) {
	.tr-hub-hero { height: 360px; }
	.tr-hub-hero__title { font-size: 72px; }
	.tr-stats { grid-template-columns: repeat(4, 1fr); margin-inline: 0; border: 1px solid var(--line); }
	.tr-stats div { border-top: 0; border-right: 1px solid var(--line); }
	.tr-stats div:last-child { border-right: 0; }
}

/* ---------- Search ---------- */
.tr-searchhead { padding: 16px 0; border-bottom: 3px solid var(--red); }
.tr-searchbar--page { padding: 0; max-width: none; }
.tr-chips--search { margin: 0 0 12px; }
.tr-chips--search .tr-chip { padding: 7px 14px; font-size: 14px; }
.tr-resultbar { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 12px; font-size: 14px; color: var(--muted); }
.tr-sort select { background: transparent; border: 0; font-size: 14px; font-weight: 700; color: var(--text); cursor: pointer; }
.tr-sort select option { background: var(--surface); }
.tr-hubcard { display: grid; gap: 2px; padding: 16px 20px; margin-bottom: 8px; background: var(--surface); border-radius: 8px; }
.tr-hubcard:hover { color: var(--text); background: var(--chip); }
.tr-hubcard__title { font-size: 22px; font-weight: 800; line-height: 1.2; }
.tr-hubcard__meta { font-size: 14px; color: var(--secondary); }
.tr-results { display: grid; }
.tr-result { padding: 16px 0; border-bottom: 1px solid var(--line); }
.tr-result__title { margin: 4px 0 6px; font-size: 18px; font-weight: 700; line-height: 1.25; }
.tr-result__excerpt { margin: 0; font-size: 15px; line-height: 1.5; color: var(--secondary); }

/* ---------- Newsletter page ---------- */
.tr-nl-head { background: var(--red); padding: 32px 0 34px; }
.tr-nl-head__title { margin: 0; font-size: 40px; font-weight: 900; font-stretch: 70%; text-transform: uppercase; line-height: .98; max-width: 760px; }
.tr-nl-head__sub { margin: 14px 0 0; font-size: 17px; }
.tr-nl { max-width: 720px; padding-block: 24px 48px; }
.tr-nl__lists { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.tr-nl-card { position: relative; display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line-2); border-radius: 6px; cursor: pointer; }
.tr-nl-card input { position: absolute; opacity: 0; pointer-events: none; }
.tr-nl-card__box { flex: none; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 2px solid var(--line-2); border-radius: 3px; color: transparent; }
.tr-nl-card input:checked + .tr-nl-card__box { background: var(--red); border-color: var(--red); color: #fff; }
.tr-nl-card input:focus-visible + .tr-nl-card__box { outline: 2px solid var(--red-dark-bg); outline-offset: 2px; }
.tr-nl-card__text { display: grid; gap: 2px; }
.tr-nl-card__name { font-size: 18px; font-weight: 800; line-height: 1.25; }
.tr-nl-card__desc { font-size: 15px; line-height: 1.4; color: var(--secondary); }
.tr-nl-card__freq { margin-top: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tr-nl__models { border: 0; margin: 24px 0 0; padding: 0; }
.tr-nl__label { padding: 0; margin-bottom: 10px; font-size: 16px; font-weight: 800; }
.tr-chip--toggle { cursor: pointer; padding: 8px 16px; font-size: 15px; border-color: var(--line-2); background: transparent; }
.tr-chip--toggle input { position: absolute; opacity: 0; pointer-events: none; }
.tr-chip--toggle:has(input:checked) { background: var(--text); color: var(--night); border-color: var(--text); }
.tr-chip--toggle:has(input:focus-visible) { outline: 2px solid var(--red-dark-bg); outline-offset: 2px; }
.tr-subscribe__email--big { display: block; width: 100%; margin: 28px 0 12px; padding: 16px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--surface); color: var(--text); font-size: 18px; }
.tr-subscribe__email--big::placeholder { color: var(--muted); }
.tr-subscribe--page .tr-btn--big { border-radius: 4px; letter-spacing: .1em; }
.tr-subscribe--page .tr-subscribe__msg { color: var(--text); }
.tr-subscribe--page .tr-subscribe__msg.is-error { color: var(--error); }
.tr-nl__note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
@media (min-width: 1200px) {
	.tr-nl-head { padding: 56px 0; }
	.tr-nl-head__title { font-size: 64px; }
}

/* ---------- 404 + coming soon ---------- */
.tr-404 { max-width: 760px; padding-block: 48px 64px; }
.tr-404__title { margin: 8px 0 12px; font-size: 44px; font-weight: 900; font-stretch: 70%; text-transform: uppercase; line-height: 1; }
.tr-404 .search-form { display: flex; gap: 8px; margin: 20px 0; }
.tr-404 .search-field { flex: 1; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text); }
.tr-404 .search-submit { padding: 12px 18px; background: var(--red); border: 0; color: #fff; font-weight: 800; cursor: pointer; }
.tr-soon-body { min-height: 100vh; display: flex; align-items: center; background: var(--night); }
.tr-soon { width: 100%; max-width: 640px; margin: 0 auto; padding: 48px var(--gutter); }
.tr-soon__logo { margin-bottom: 32px; padding: 14px 18px; background: var(--red); }
.tr-soon__title { margin: 0 0 12px; font-size: 44px; font-weight: 900; font-stretch: 70%; text-transform: uppercase; line-height: 1; }
.tr-soon__text { margin: 0 0 20px; font-size: 17px; color: var(--secondary); }
.tr-soon .tr-subscribe__email { border: 1px solid var(--line-2); }
.tr-soon .tr-btn--black { background: var(--red); }
.tr-soon .tr-subscribe__msg { color: var(--text); }
.tr-soon__legal { margin-top: 40px; font-size: 11px; color: var(--faint); }

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

/* ---------- All models (panel, mobile menu, /models/ page) ---------- */
.tr-models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.tr-models__label { margin: 0 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--red); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.tr-models__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tr-models__list a { display: block; padding: 5px 0; font-size: 15px; font-weight: 600; color: var(--secondary-2); }
.tr-models__list a:hover, .tr-models__list a[aria-current] { color: var(--red-dark-bg); }
.tr-overlay__body .tr-models { margin-top: 4px; }
.tr-prose .tr-models ul { padding-left: 0; }
@media (min-width: 768px) { .tr-models { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) {
	.tr-models { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px; }
}

/* ---------- Model hub variants ---------- */
.tr-variants { border-bottom: 1px solid var(--line); padding: 10px 0; }
.tr-variants .tr-chips__label { display: inline; flex: none; }
/* On the /models/ page the index sits inside .tr-prose; keep the menu look rather than article text. */
.tr-prose .tr-models { margin-top: 24px; }
.tr-prose .tr-models .tr-models__label { margin: 0 0 8px; font-size: 12px; font-stretch: 100%; line-height: 1.3; }
.tr-prose .tr-models__list li { margin: 0; }
.tr-prose .tr-models__list a { text-decoration: none; color: var(--secondary-2); }
.tr-prose .tr-models__list a:hover { color: var(--red-dark-bg); }

/* ---------- Text over photos stays white in both modes ---------- */
.tr-lead__body, .tr-lead__title, .tr-hub-hero__body, .tr-hub-hero__title { color: #fff; }
.tr-lead__dek, .tr-hub-hero__sub { color: #e8e6e3; }
.tr-lead__body .tr-kicker, .tr-hub-hero .tr-kicker { color: #ff3b47; }

/* ---------- Light/dark toggle ---------- */
.tr-bar__inner { grid-template-columns: 1fr auto 1fr; }
.tr-bar__menu { justify-self: start; }
/* Light/dark switch: both options always visible, the knob slides to the active one. */
.tr-mode { position: relative; display: inline-flex; align-items: center; justify-content: space-between; flex: none; width: 60px; height: 30px; margin: 0 4px; padding: 0 7px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); color: #fff; cursor: pointer; }
.tr-mode:hover { background: rgba(0, 0, 0, .38); }
.tr-mode:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.tr-mode__icon { position: relative; z-index: 1; display: flex; transition: color .2s ease; }
.tr-mode__icon svg { width: 15px; height: 15px; }
.tr-mode__knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .22s cubic-bezier(.4, 0, .2, 1); }
/* Light (default): knob under the sun, which turns red against the white knob. */
.tr-mode__icon--sun { color: var(--red); }
/* Dark: knob slides right under the moon. */
:root[data-theme="dark"] .tr-mode__knob { transform: translateX(30px); }
:root[data-theme="dark"] .tr-mode__icon--sun { color: #fff; }
:root[data-theme="dark"] .tr-mode__icon--moon { color: var(--red); }
@media (max-width: 1199px) { .tr-bar__actions { gap: 0; } }

/* ---------- Header search: drops down over the page instead of covering it ---------- */
.tr-header { position: relative; }
.tr-searchdrop {
	position: absolute; left: 0; right: 0; top: 100%; z-index: 55;
	background: var(--night); border-bottom: 3px solid var(--red); box-shadow: 0 18px 36px rgba(0, 0, 0, .2);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.tr-searchdrop.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tr-searchdrop__inner { max-width: calc(760px + 2 * var(--gutter)); padding-block: 14px 16px; }
.tr-searchdrop__form { display: flex; align-items: center; gap: 8px; }
.tr-searchdrop__field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px; color: var(--muted); }
.tr-searchdrop__field:focus-within { border-color: var(--red); }
.tr-searchdrop__field input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 17px; color: var(--text); }
.tr-searchdrop__field input::-webkit-search-cancel-button { display: none; }
.tr-searchdrop__close { color: var(--text); flex: none; }
.tr-searchdrop__close:hover { color: var(--red-dark-bg); opacity: 1; }
.tr-searchdrop__results:empty { display: none; }
.tr-searchdrop__results { margin-top: 10px; max-height: min(60vh, 520px); overflow-y: auto; }
.tr-sresult { display: block; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.tr-sresult:hover, .tr-sresult:focus-visible { background: var(--surface); color: var(--text); }
.tr-sresult__kicker { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red-dark-bg); }
.tr-sresult__title { display: block; margin-top: 2px; font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--text); }
.tr-sresult__date { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.tr-sresult--hub .tr-sresult__title { font-size: 17px; font-weight: 800; }
.tr-searchdrop__all { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 800; color: var(--red-dark-bg); }
.tr-searchdrop__empty { margin: 8px 4px 0; font-size: 15px; color: var(--secondary); }
