/*
 * TechSabado Signal
 * ------------------------------------------------------------------
 * The TechSabado design system (brand-red, gold, Oswald + Lato, square
 * edges, lines not shadows) with a broadcast-console layer: putty
 * hardware panels, VFD amber readouts, hardware keys, a tuning dial,
 * colour bars and viewfinder marks.
 *
 * Colours come from theme.json presets, so the night mode in night.css
 * only has to redefine those variables.
 */

/* ---------- Semantic layer ---------- */
:root {
	--ts-red: var(--wp--preset--color--brand-red);
	--ts-cat: var(--wp--preset--color--category);
	--ts-gold: var(--wp--preset--color--gold);
	--ts-ink: var(--wp--preset--color--ink);
	--ts-text: var(--wp--preset--color--text);
	--ts-muted: var(--wp--preset--color--text-muted);
	--ts-paper: var(--wp--preset--color--surface);
	--ts-paper-alt: var(--wp--preset--color--surface-alt);
	--ts-ground: var(--wp--preset--color--putty);
	--ts-panel: var(--wp--preset--color--panel);
	--ts-line: var(--wp--preset--color--line);
	--ts-line-strong: var(--wp--preset--color--line-strong);
	--ts-navbar: var(--wp--preset--color--nav-bar);
	--ts-screen: var(--wp--preset--color--screen);
	--ts-on-dark: var(--wp--preset--color--on-dark);
	--ts-footer: var(--wp--preset--color--footer);
	--ts-footer-base: var(--wp--preset--color--footer-base);

	--ts-kicker: var(--ts-cat);
	--ts-screen-text: #f1ece2;
	--ts-screen-muted: #b1b1b1;
	--ts-key-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.16), 0 1px 0 rgba(255, 255, 255, 0.7);
	--ts-key-shadow-pressed: inset 0 1px 2px rgba(0, 0, 0, 0.25);

	--ts-display: var(--wp--preset--font-family--display);
	--ts-body: var(--wp--preset--font-family--body);
	--ts-mono: var(--wp--preset--font-family--mono);

	--ts-gutter: var(--wp--preset--spacing--30);
	--ts-gap: var(--wp--preset--spacing--40);
	--ts-section: var(--wp--preset--spacing--50);
	--ts-wide: var(--wp--style--global--wide-size, 1320px);

	--ts-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--ts-press: 100ms ease-out;

	/* Colour bars: gold, category, brand red, stone, charcoal. Every bar reads on putty and on black. */
	--ts-bars: linear-gradient(90deg,
		#f3ad29 0 20%,
		#c23b0e 20% 40%,
		#bb1919 40% 60%,
		#c9c0ae 60% 80%,
		#4a4a48 80% 100%);
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-variant-numeric: lining-nums;
}
::selection { background: var(--ts-gold); color: #000; }

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--ts-gold);
	outline-offset: 2px;
}

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000; padding: 12px 16px; background: var(--ts-gold); color: #000; }

img { max-width: 100%; height: auto; }

.ts-main { padding-bottom: var(--ts-section); }
.ts-main > .alignwide { margin-left: auto; margin-right: auto; }

/* Remove the default block gap above header/footer parts */
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks { padding-top: 0; padding-bottom: 0; }

/* ---------- Shared readouts ---------- */
.ts-section__index,
.ts-card__date,
.ts-utility,
.ts-console__label,
.ts-console__when,
.ts-show-line,
.ts-justin__label,
.ts-ticker__label,
.ts-note__label {
	font-family: var(--ts-mono);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* ---------- Hardware keys ---------- */
.ts-key {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 36px; min-width: 36px; padding: 0 10px;
	background: var(--ts-panel); color: var(--ts-ink);
	border: 1px solid var(--ts-line-strong);
	box-shadow: var(--ts-key-shadow);
	font-family: var(--ts-display); font-weight: 700; font-size: 13px;
	text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none;
	cursor: pointer;
	transition: transform var(--ts-press), box-shadow var(--ts-press), background-color 150ms ease;
	-webkit-tap-highlight-color: transparent;
}
.ts-key:hover { background: var(--ts-paper); color: var(--ts-ink); }
.ts-key:active { transform: translateY(1px) scale(0.98); box-shadow: var(--ts-key-shadow-pressed); }
.ts-key .ts-icon { flex: none; }

.ts-key--watch { background: var(--ts-red); color: #fff; border-color: #8f1212; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25); }
.ts-key--watch:hover { background: #a31515; color: #fff; }
.ts-key--watch + .ts-key--watch { background: #1d1d1b; border-color: #000; }
.ts-key--watch + .ts-key--watch:hover { background: #2a2a28; }

/* ---------- Day / night rocker ---------- */
.ts-rocker {
	display: inline-grid; grid-template-columns: 1fr 1fr;
	height: 36px; padding: 0; margin: 0;
	background: var(--ts-panel); border: 1px solid var(--ts-line-strong);
	cursor: pointer; color: var(--ts-ink);
	-webkit-tap-highlight-color: transparent;
}
.ts-rocker__side {
	display: grid; place-items: center; width: 34px; position: relative;
	transition: box-shadow var(--ts-press), background-color 150ms ease, color 150ms ease;
	box-shadow: var(--ts-key-shadow);
}
.ts-rocker__side::after { /* LED */
	content: ""; position: absolute; top: 4px; right: 4px; width: 4px; height: 4px; background: transparent;
}
.ts-rocker[aria-pressed="false"] .ts-rocker__side--day,
.ts-rocker[aria-pressed="true"] .ts-rocker__side--night {
	background: var(--ts-paper-alt); box-shadow: var(--ts-key-shadow-pressed);
}
.ts-rocker[aria-pressed="false"] .ts-rocker__side--day::after,
.ts-rocker[aria-pressed="true"] .ts-rocker__side--night::after { background: var(--ts-gold); box-shadow: 0 0 6px var(--ts-gold); }
.ts-rocker:active .ts-rocker__side { transform: scale(0.97); }

/* ---------- Header: utility line ---------- */
.ts-header { background: var(--ts-ground); }
.ts-utility {
	max-width: var(--ts-wide); margin: 0 auto;
	display: flex; align-items: center; gap: var(--ts-gutter); flex-wrap: wrap;
	padding: 10px var(--ts-gap);
	font-size: 12px; color: var(--ts-text);
	border-bottom: 1px solid var(--ts-line-strong);
}
.ts-utility p { margin: 0; }
.ts-utility__date { display: flex; gap: 8px; align-items: center; }
.ts-utility__sep { color: var(--ts-muted); }
.ts-utility__show { display: flex; gap: 10px; align-items: center; margin-inline: auto !important; }
.ts-utility__ch {
	background: var(--ts-ink); color: var(--ts-paper);
	padding: 2px 6px; font-weight: 600;
}
.ts-utility__actions { display: flex; gap: 6px; align-items: center; }

/* ---------- Header: masthead ---------- */
.ts-masthead {
	max-width: var(--ts-wide); margin: 0 auto;
	padding: var(--ts-gap) var(--ts-gap) 0;
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--ts-gap) 60px; align-items: end;
}
.ts-wm {
	margin: 0; font-family: var(--ts-display); font-weight: 700; text-transform: uppercase;
	font-size: var(--wp--preset--font-size--masthead); line-height: 0.88; letter-spacing: 0;
	color: var(--ts-ink);
}
.ts-wm a { color: inherit; text-decoration: none; display: inline-block; transition: transform var(--ts-press); }
.ts-wm a:active { transform: scale(0.99); }
.ts-wm__tech { color: var(--ts-red); }
.ts-wm__tagline {
	margin: 12px 0 0; font-family: var(--ts-display); font-weight: 400;
	text-transform: uppercase; letter-spacing: 0.06em; font-size: 15px; color: var(--ts-ink);
	display: flex; align-items: center; gap: 12px;
}
.ts-wm__tagline::before { content: ""; width: 60px; height: 3px; background: var(--ts-gold); flex: none; }

/* ---------- ON AIR console ---------- */
.ts-console { display: flex; flex-direction: column; gap: 8px; min-width: min(100%, 360px); }
.ts-console p { margin: 0; }
.ts-console__screen {
	position: relative; overflow: hidden;
	background: var(--ts-screen); color: var(--ts-screen-text);
	padding: 14px 18px 16px;
	border: 1px solid #000;
	box-shadow: inset 0 0 0 3px #1f1f1d, inset 0 10px 30px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.7);
}
.ts-console__screen::after { /* scanlines */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(255, 255, 255, 0.035) 2px 3px);
}
.ts-console__label { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--ts-screen-muted); }
.ts-lamp { width: 8px; height: 8px; background: #4a1414; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4); }
.ts-console__when { margin-top: 6px !important; font-size: 13px; color: var(--ts-screen-text); letter-spacing: 0.06em; }
.ts-console__count {
	margin-top: 6px !important;
	font-family: var(--ts-mono); font-weight: 600; font-size: clamp(28px, 3vw, 38px); line-height: 1;
	color: var(--ts-gold); font-variant-numeric: tabular-nums;
	text-shadow: 0 0 14px rgba(243, 173, 41, 0.35);
	display: flex; align-items: baseline;
}
.ts-console__count i {
	font-style: normal; font-size: 11px; font-weight: 500; color: var(--ts-screen-muted);
	margin: 0 12px 0 3px; text-shadow: none;
}
.ts-console__count i:last-child { margin-right: 0; }
.ts-console__onair {
	display: none; margin-top: 6px !important;
	font-family: var(--ts-display); font-weight: 700; font-size: 38px; line-height: 1; text-transform: uppercase;
	color: #ff3b30; text-shadow: 0 0 18px rgba(255, 59, 48, 0.5); letter-spacing: 0.02em;
}
.ts-console.is-live .ts-console__count { display: none; }
.ts-console.is-live .ts-console__onair { display: block; }
.ts-console.is-live .ts-lamp { background: #ff3b30; box-shadow: 0 0 10px #ff3b30; animation: ts-blink 1.2s steps(2, jump-none) infinite; }
.ts-console.is-live .ts-console__label { color: #fff; }
.ts-console__keys { display: flex; gap: 6px; }
.ts-console__keys .ts-key { flex: 1; min-height: 40px; }
@keyframes ts-blink { 50% { opacity: 0.35; } }

/* ---------- Week dial ---------- */
.ts-dial { grid-column: 1 / -1; position: relative; height: 40px; margin-top: 4px; }
.ts-dial__scale {
	position: absolute; left: 0; right: 0; top: 0; height: 14px;
	background:
		repeating-linear-gradient(90deg, var(--ts-ink) 0 1px, transparent 1px calc(100% / 7)) 0 0 / 100% 14px no-repeat,
		repeating-linear-gradient(90deg, var(--ts-line-strong) 0 1px, transparent 1px calc(100% / 28)) 0 6px / 100% 8px no-repeat;
	border-bottom: 1px solid var(--ts-ink);
}
.ts-dial__slot {
	position: absolute; top: 4px; height: 10px;
	left: calc(var(--ts-slot) * 100%); width: max(6px, calc(var(--ts-slot-w) * 100%));
	background: var(--ts-gold);
}
.ts-dial__needle {
	position: absolute; top: -6px; width: 2px; height: 22px; background: var(--ts-red);
	left: calc(var(--ts-p) * 100%); transform: translateX(-1px);
	transition: left 600ms var(--ts-ease);
}
.ts-dial__needle::before { content: ""; position: absolute; top: -4px; left: -3px; width: 8px; height: 4px; background: var(--ts-red); }
.ts-dial__days {
	list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; top: 18px;
	display: grid; grid-template-columns: repeat(7, 1fr);
	font-family: var(--ts-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ts-muted);
}
.ts-dial__days li { padding-left: 4px; }

/* ---------- Nav bar: hardware keys ---------- */
.ts-navbar {
	position: sticky; top: 0; z-index: 50;
	background: rgba(53, 53, 53, 0.92);
	-webkit-backdrop-filter: blur(16px) saturate(160%);
	backdrop-filter: blur(16px) saturate(160%);
	border-top: 3px solid var(--ts-rule, #000);
}
.admin-bar .ts-navbar { top: var(--wp-admin--admin-bar--height, 32px); }
.ts-navbar__inner {
	max-width: var(--ts-wide); margin: 0 auto; padding: 0 var(--ts-gap);
	display: flex; align-items: stretch; gap: var(--ts-gutter);
}
.ts-keys { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; counter-reset: ts-key; }
.ts-keys::-webkit-scrollbar { display: none; }
.ts-keys .wp-block-navigation__container { gap: 0 !important; flex-wrap: nowrap !important; align-items: stretch; }
.ts-keys .wp-block-navigation-item { counter-increment: ts-key; position: relative; }
.ts-keys .wp-block-navigation-item + .wp-block-navigation-item { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.ts-keys .wp-block-navigation-item__content {
	display: flex !important; flex-direction: column; justify-content: center; gap: 2px;
	min-height: 56px; padding: 0 16px !important;
	color: #fff !important; text-decoration: none !important;
	font-family: var(--ts-display); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.02em;
	white-space: nowrap;
	transition: background-color 120ms ease, color 120ms ease;
}
.ts-keys .wp-block-navigation-item__content::before {
	content: counter(ts-key, decimal-leading-zero);
	font-family: var(--ts-mono); font-weight: 500; font-size: 10px; letter-spacing: 0.1em; color: #b1b1b1;
}
.ts-keys .wp-block-navigation-item__content:hover { color: var(--ts-gold) !important; }
.ts-keys .wp-block-navigation-item__content:active { background: rgba(0, 0, 0, 0.35); }
.ts-keys .current-menu-item > .wp-block-navigation-item__content,
.ts-keys [aria-current="page"] {
	color: var(--ts-gold) !important; box-shadow: inset 0 3px 0 var(--ts-gold); background: rgba(0, 0, 0, 0.25);
}
.ts-keys .wp-block-page-list { flex-wrap: nowrap; gap: 0; }

/* Search in the nav bar */
.ts-navbar .ts-search { margin: 0; align-self: center; flex: none; }
.ts-search .wp-block-search__inside-wrapper {
	border: 1px solid rgba(255, 255, 255, 0.18) !important; background: rgba(0, 0, 0, 0.3); padding: 0 !important;
}
.ts-search .wp-block-search__input {
	background: transparent; color: #fff; border: 0; min-height: 36px; width: 12rem;
	font-family: var(--ts-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; padding: 0 10px;
}
.ts-search .wp-block-search__input::placeholder { color: #b1b1b1; }
.ts-search .wp-block-search__button {
	margin: 0; border-radius: 0; background: var(--ts-gold); color: #000; border: 0; min-width: 36px; padding: 0 9px;
	transition: transform var(--ts-press);
}
.ts-search .wp-block-search__button:active { transform: scale(0.96); }
.ts-search .wp-block-search__button svg { fill: currentColor; }

/* ---------- Ticker ---------- */
.ts-ticker {
	display: flex; align-items: stretch; overflow: hidden;
	background: var(--ts-screen); color: var(--ts-screen-text);
	border-bottom: 1px solid #000;
}
.ts-ticker__label {
	margin: 0; flex: none; display: flex; align-items: center; gap: 8px;
	background: var(--ts-gold); color: #000; padding: 0 var(--ts-gutter);
	font-size: 12px; font-weight: 600; min-height: 42px; position: relative; z-index: 1;
}
.ts-ticker__label::after { /* cursor */
	content: ""; width: 7px; height: 13px; background: #000; animation: ts-blink 1s steps(2, jump-none) infinite;
}
.ts-ticker__track { flex: 1; min-width: 0; overflow: hidden; margin: 0 !important; display: flex; }
.ts-ticker__list {
	display: flex !important; flex-wrap: nowrap; align-items: center; gap: 0;
	margin: 0; padding: 0; list-style: none; width: max-content;
}
.ts-ticker__list > li { display: flex; align-items: center; white-space: nowrap; margin: 0 !important; }
.ts-ticker__list > li::before { content: ""; width: 6px; height: 6px; background: var(--ts-red); margin: 0 18px; flex: none; }
.ts-ticker__item { margin: 0; font-family: var(--ts-body); font-weight: 700; font-size: 14px; }
.ts-ticker__item a { color: var(--ts-screen-text); text-decoration: none; }
.ts-ticker__item a:hover { color: var(--ts-gold); }
.ts-ticker__item .ts-kicker { color: var(--ts-gold); font-family: var(--ts-mono); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; }
.ts-ticker__item .ts-kicker__pipe { color: #6d6d6d; }
.ts-ticker.is-running .ts-ticker__list { animation: ts-marquee var(--ts-ticker-dur, 60s) linear infinite; }
.ts-ticker.is-running:hover .ts-ticker__list,
.ts-ticker.is-running:focus-within .ts-ticker__list { animation-play-state: paused; }
@keyframes ts-marquee { to { transform: translateX(-50%); } }

/* ---------- Kicker: CATEGORY | Headline ---------- */
.ts-kicker { color: var(--ts-kicker); }
.ts-kicker__pipe { color: var(--ts-line-strong); font-weight: 400; }

/* ---------- Category chips ---------- */
.ts-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.ts-chips a, .ts-chip {
	display: inline-block; font-family: var(--ts-display); font-weight: 700; font-size: 12px; line-height: 15.6px;
	text-transform: uppercase; letter-spacing: 0.02em; color: #fff !important; background: var(--ts-cat);
	padding: 3px 9px; text-decoration: none !important;
	transition: background-color 120ms ease, transform var(--ts-press);
}
.ts-chips a:hover, .ts-chip:hover { background: var(--ts-red); }
.ts-chips a:active, .ts-chip:active { transform: scale(0.97); }
.ts-chips .wp-block-post-terms__separator { display: none; }
/* When the title already carries "CATEGORY |", the chip would say it twice. */
:is(.wp-block-post, .ts-article__head):has(.ts-kicker) .ts-chips,
.ts-card:has(.ts-kicker) .ts-chip { display: none; }
.ts-card .ts-chip { align-self: flex-start; }

/* ---------- Section heads ---------- */
.ts-section { margin-top: var(--ts-section) !important; }
.ts-section__head {
	display: grid; grid-template-columns: auto auto 1fr auto; align-items: end; gap: 0 14px;
	margin-bottom: 22px;
}
.ts-section__head > * { margin: 0 !important; }
.ts-section__index { font-size: 12px; color: var(--ts-kicker); font-weight: 600; padding-bottom: 9px; }
.is-style-ts-section, .ts-section__head h2 {
	position: relative; padding-bottom: 9px;
	font-family: var(--ts-display); font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15;
	text-transform: none; letter-spacing: -0.005em; color: var(--ts-ink);
}
.is-style-ts-section::after { content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px; background: var(--ts-gold); }
.ts-section__head::after { /* dotted leader */
	content: ""; grid-column: 3; grid-row: 1; align-self: end; margin-bottom: 14px;
	border-bottom: 2px dotted var(--ts-line-strong);
}
.ts-section__more { grid-column: 4; padding-bottom: 9px; }
.ts-section__more a {
	font-family: var(--ts-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500;
	color: var(--ts-ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center;
}
.ts-section__more a::after { content: "→"; transition: transform 160ms var(--ts-ease); }
.ts-section__more a:hover { color: var(--ts-cat); }
.ts-section__more a:hover::after { transform: translateX(3px); }
.ts-section__dek { margin: -10px 0 22px !important; font-family: var(--ts-display); font-size: 16px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ts-text); }

/* ---------- Cards ---------- */
.ts-grid { display: grid !important; gap: 34px var(--ts-gap); list-style: none; margin: 0; padding: 0; }
.ts-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ts-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ts-grid > li, .ts-card { display: flex; flex-direction: column; gap: 10px; margin: 0 !important; min-width: 0; }
.ts-grid > li > * { margin: 0 !important; }

.ts-card__thumb, .ts-card .ts-card__thumb {
	position: relative; display: block; overflow: hidden; background: var(--ts-paper-alt); aspect-ratio: 3 / 2;
}
.ts-card__thumb img { width: 100%; height: 100% !important; object-fit: cover; display: block; transition: transform 500ms var(--ts-ease), filter 300ms ease; }
.ts-card__thumb a { display: block; height: 100%; }
/* viewfinder brackets on hover */
.ts-card__thumb::before, .ts-card__thumb::after {
	content: ""; position: absolute; z-index: 2; width: 16px; height: 16px; pointer-events: none;
	opacity: 0; transition: opacity 160ms ease, transform 220ms var(--ts-ease);
}
.ts-card__thumb::before { top: 10px; left: 10px; border-top: 2px solid #fff; border-left: 2px solid #fff; transform: translate(4px, 4px); }
.ts-card__thumb::after { right: 10px; bottom: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translate(-4px, -4px); }
.ts-grid > li:hover .ts-card__thumb::before, .ts-grid > li:hover .ts-card__thumb::after,
.ts-card:hover .ts-card__thumb::before, .ts-card:hover .ts-card__thumb::after { opacity: 1; transform: none; }
.ts-grid > li:hover .ts-card__thumb img, .ts-card:hover .ts-card__thumb img { transform: scale(1.035); }
.ts-grid > li:active .ts-card__thumb img { transform: scale(1.01); }
.ts-card__nosig { display: block; width: 100%; height: 100%; background: var(--ts-bars); opacity: 0.85; }

.ts-card__title, .ts-grid .wp-block-post-title {
	font-family: var(--ts-body) !important; font-weight: 700; font-size: 17px !important; line-height: 1.45; letter-spacing: 0;
	color: var(--ts-text); margin: 0;
}
.ts-card__title a { color: inherit; text-decoration: none; background-image: linear-gradient(var(--ts-gold), var(--ts-gold)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 260ms var(--ts-ease); }
.ts-card__title a:hover { color: var(--ts-ink); background-size: 100% 2px; }
.ts-card__date { font-size: 11px; color: var(--ts-muted); margin: 0; }
.ts-card__excerpt { font-size: 15px; line-height: 1.6; color: var(--ts-text); }
.ts-card__excerpt p { margin: 0; }
.ts-card__excerpt .wp-block-post-excerpt__more-text { display: none; }

/* ---------- Hero ---------- */
.ts-hero {
	display: grid !important; gap: var(--ts-gap);
	grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
	margin-top: var(--ts-gap) !important;
}
.ts-hero > * { margin: 0 !important; min-width: 0; }
.ts-features { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ts-gap); height: 100%; }
.ts-features > li { position: relative; margin: 0 !important; overflow: hidden; background: #000; }
.ts-hero__second .ts-features { grid-template-rows: 1fr 1fr; }
.ts-feature__img { margin: 0 !important; height: 100%; }
.ts-feature__img img { width: 100%; height: 100% !important; object-fit: cover; display: block; transition: transform 700ms var(--ts-ease); }
.ts-features > li:hover .ts-feature__img img { transform: scale(1.025); }
.ts-features > li::after { /* CRT scanlines */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0, 0, 0, 0.09) 2px 3px);
}
.ts-feature__over {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
	display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
	padding: 60px var(--ts-gap) var(--ts-gap);
	background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.55) 55%, transparent);
	margin: 0 !important; pointer-events: none;
}
.ts-feature__over > * { margin: 0 !important; pointer-events: auto; }
.ts-feature__title {
	font-family: var(--ts-display) !important; font-weight: 700; color: #fff !important;
	font-size: clamp(26px, 3vw, 40px) !important; line-height: 1.08; letter-spacing: -0.01em;
	text-wrap: balance;
}
.ts-feature__title a { color: #fff !important; text-decoration: none; }
.ts-feature__title .ts-kicker { color: var(--ts-gold); }
.ts-feature__title .ts-kicker__pipe { color: rgba(255, 255, 255, 0.5); }
.ts-hero__second .ts-feature__over { padding: 40px var(--ts-gutter) var(--ts-gutter); }
.ts-hero__second .ts-feature__title { font-size: clamp(18px, 1.6vw, 21px) !important; line-height: 1.2; letter-spacing: 0; }
.ts-feature__date { font-family: var(--ts-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.85); }

/* Viewfinder: lead image and article images */
.ts-features--lead > li::before,
.is-style-ts-viewfinder::before {
	content: "Feature"; position: absolute; z-index: 3; top: calc(var(--ts-gutter) + 14px); left: calc(var(--ts-gutter) + 14px);
	padding: 4px 8px 4px 22px; background: rgba(0, 0, 0, 0.55);
	font-family: var(--ts-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff;
	background-image: linear-gradient(var(--ts-red), var(--ts-red)); background-size: 8px 8px; background-position: 8px 50%; background-repeat: no-repeat;
}
.ts-viewfinder-frame, .ts-features--lead > li .ts-feature__img, .is-style-ts-viewfinder { position: relative; }
.ts-features--lead > li .ts-feature__img::before,
.ts-features--lead > li .ts-feature__img::after,
.is-style-ts-viewfinder::after {
	content: ""; position: absolute; z-index: 3; pointer-events: none;
}
.ts-features--lead > li .ts-feature__img::before {
	inset: var(--ts-gutter);
	background:
		linear-gradient(#fff, #fff) left top / 22px 2px no-repeat,
		linear-gradient(#fff, #fff) left top / 2px 22px no-repeat,
		linear-gradient(#fff, #fff) right top / 22px 2px no-repeat,
		linear-gradient(#fff, #fff) right top / 2px 22px no-repeat,
		linear-gradient(#fff, #fff) left bottom / 22px 2px no-repeat,
		linear-gradient(#fff, #fff) left bottom / 2px 22px no-repeat,
		linear-gradient(#fff, #fff) right bottom / 22px 2px no-repeat,
		linear-gradient(#fff, #fff) right bottom / 2px 22px no-repeat;
	opacity: 0.85;
}
.is-style-ts-viewfinder::before { content: "Rec"; }
.is-style-ts-viewfinder::after {
	inset: var(--ts-gutter);
	background:
		linear-gradient(#fff, #fff) left top / 22px 2px no-repeat,
		linear-gradient(#fff, #fff) left top / 2px 22px no-repeat,
		linear-gradient(#fff, #fff) right top / 22px 2px no-repeat,
		linear-gradient(#fff, #fff) right top / 2px 22px no-repeat,
		linear-gradient(#fff, #fff) left bottom / 22px 2px no-repeat,
		linear-gradient(#fff, #fff) left bottom / 2px 22px no-repeat,
		linear-gradient(#fff, #fff) right bottom / 22px 2px no-repeat,
		linear-gradient(#fff, #fff) right bottom / 2px 22px no-repeat;
}
.is-style-ts-viewfinder img { display: block; width: 100%; }

/* Just in */
.ts-justin {
	background: var(--ts-paper); border: 1px solid var(--ts-line-strong); border-top: 3px solid var(--ts-ink);
	padding: var(--ts-gutter) var(--ts-gutter) 6px; display: flex; flex-direction: column;
}
.ts-justin__label { margin: 0 0 6px !important; font-size: 12px; font-weight: 600; color: var(--ts-ink); display: flex; align-items: center; gap: 8px; }
.ts-justin__label::before { content: ""; width: 8px; height: 8px; background: var(--ts-red); }
.ts-justin__list { list-style: none; margin: 0; padding: 0; counter-reset: ts-ji; }
.ts-justin__list > li {
	counter-increment: ts-ji; display: grid; grid-template-columns: 34px 1fr; gap: 2px 8px;
	padding: 12px 0; border-top: 1px solid var(--ts-line); margin: 0 !important;
}
.ts-justin__list > li::before {
	content: counter(ts-ji, decimal-leading-zero); grid-row: span 2;
	font-family: var(--ts-mono); font-weight: 600; font-size: 20px; line-height: 1; color: var(--ts-kicker);
}
.ts-justin__list > li > * { grid-column: 2; margin: 0 !important; }
.ts-justin__title { font-family: var(--ts-body) !important; font-size: 15px !important; font-weight: 700; line-height: 1.4; }
.ts-justin__title a { color: var(--ts-text); text-decoration: none; }
.ts-justin__title a:hover { color: var(--ts-ink); text-decoration: underline; text-decoration-color: var(--ts-gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Colour bars ---------- */
.wp-block-separator.is-style-ts-color-bars {
	border: 0 !important; height: 10px !important; margin: 0 !important; opacity: 1 !important;
	background: var(--ts-bars) !important; max-width: none !important; width: 100% !important;
}
.ts-main > .is-style-ts-color-bars { margin-top: var(--ts-section) !important; }

/* ---------- The show band ---------- */
.ts-band {
	margin-top: var(--ts-section) !important; background: #000; color: var(--ts-screen-text);
	border-top: 10px solid transparent; border-image: var(--ts-bars) 1;
	padding: var(--wp--preset--spacing--60) var(--ts-gap) !important;
}
.ts-band__inner {
	max-width: var(--ts-wide); margin: 0 auto !important;
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 60px; align-items: center;
}
.ts-band__inner > * { margin: 0 !important; }
.ts-band__copy > * + * { margin-top: 18px !important; }
.ts-band .ts-section__index { color: var(--ts-gold); padding: 0; }
.ts-band__title {
	font-family: var(--ts-display); font-weight: 700; text-transform: uppercase; color: #fff;
	font-size: clamp(44px, 5.4vw, 76px); line-height: 0.92; letter-spacing: 0; margin-top: 12px !important;
}
.ts-band__title .ts-wm__tech { color: var(--ts-red); }
.ts-band__show { font-family: var(--ts-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ts-gold); }
.ts-band__lede { font-size: 17px; line-height: 1.65; color: #dddddd; max-width: 46ch; }
.ts-hosts { list-style: none; padding: 0; margin: 24px 0 0 !important; border-top: 1px solid #353535; }
.ts-hosts li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid #353535; font-family: var(--ts-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: #b1b1b1; }
.ts-hosts strong { font-family: var(--ts-display); font-weight: 700; font-size: 19px; letter-spacing: 0.01em; color: #fff; text-transform: none; }
.ts-band .ts-console { margin-top: 26px !important; }
.ts-band .ts-console__screen { box-shadow: inset 0 0 0 3px #1f1f1d, inset 0 10px 30px rgba(0, 0, 0, 0.7); border-color: #2a2a28; }

/* CRT set */
.ts-crt {
	margin: 0; background: #e6dfd1; padding: 18px 18px 0;
	box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.6), inset 0 -3px 0 rgba(0, 0, 0, 0.18), 0 30px 60px rgba(0, 0, 0, 0.5);
	border: 1px solid #c9c0ae;
}
.ts-crt__glass {
	position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #050505;
	box-shadow: inset 0 0 0 6px #1b1a18, inset 0 0 60px rgba(0, 0, 0, 0.9);
}
.ts-crt__glass::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
	background:
		radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.55) 100%),
		repeating-linear-gradient(to bottom, transparent 0 2px, rgba(255, 255, 255, 0.04) 2px 3px);
}
.ts-crt__embed, .ts-crt__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ts-crt__embed .wp-block-embed__wrapper, .ts-crt__embed > * { position: absolute; inset: 0; }
.ts-crt__idle {
	position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px;
	background:
		linear-gradient(to bottom, transparent 0 62%, #000 62% 100%),
		var(--ts-bars);
}
.ts-crt__idle p { margin: 0; }
.ts-crt__nosignal {
	font-family: var(--ts-display); font-weight: 700; font-size: clamp(28px, 4vw, 48px); text-transform: uppercase; line-height: 1;
	color: #fff; background: #000; padding: 8px 18px; letter-spacing: 0.04em;
}
.ts-crt__hint { font-family: var(--ts-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--ts-gold); background: #000; padding: 4px 10px; justify-self: center; }
.ts-crt__caption {
	display: flex; align-items: center; gap: 10px; min-height: 54px;
	font-family: var(--ts-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #3a3a3a;
	background:
		repeating-linear-gradient(90deg, #3a3a3a 0 2px, transparent 2px 6px) right 4px center / 120px 18px no-repeat;
}
.ts-crt__rec { width: 8px; height: 8px; background: var(--ts-red); box-shadow: 0 0 6px rgba(187, 25, 25, 0.8); }

/* ---------- Retro desk: console panel with spec plates ---------- */
.ts-retro {
	background: var(--ts-panel); border: 1px solid var(--ts-line-strong);
	padding: var(--ts-gap) !important; position: relative;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.ts-retro::before, .ts-retro::after { /* screws */
	content: ""; position: absolute; top: 10px; width: 9px; height: 9px;
	background: linear-gradient(135deg, #f8f4ec, #b9b09d); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.ts-retro::before { left: 10px; }
.ts-retro::after { right: 10px; }
.ts-spec { counter-reset: ts-spec; }
.ts-spec > li {
	counter-increment: ts-spec;
	background: var(--ts-paper); padding: var(--ts-gutter); border: 1px solid var(--ts-line-strong);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 2px 0 rgba(0, 0, 0, 0.06);
	border-top: 4px double var(--ts-ink);
}
.ts-spec > li::before {
	content: "Spec no. " counter(ts-spec, decimal-leading-zero);
	font-family: var(--ts-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ts-muted);
	display: flex; justify-content: space-between; border-bottom: 1px solid var(--ts-line); padding-bottom: 8px;
}
.ts-spec .ts-card__thumb img { filter: saturate(0.9) contrast(1.02); }
.ts-spec .ts-card__title { font-family: var(--ts-display) !important; font-size: 21px !important; line-height: 1.2; font-weight: 700; }

/* ---------- Split lists ---------- */
.ts-split { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ts-gap) 40px; margin-top: var(--ts-section) !important; }
.ts-split > .ts-section { margin-top: 0 !important; }
.ts-split .ts-section__head { grid-template-columns: auto auto 1fr; }
.ts-split .ts-section__more { display: none; }
.ts-list { list-style: none; margin: 0; padding: 0; }
.ts-list > li { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--ts-line-strong); margin: 0 !important; }
.ts-list > li:first-child { border-top: 0; padding-top: 0; }
.ts-list > li > * { margin: 0 !important; }
.ts-list__thumb { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ts-paper-alt); }
.ts-list__thumb img { width: 100%; height: 100% !important; object-fit: cover; }
.ts-list__body > * + * { margin-top: 6px !important; }
.ts-list__title { font-family: var(--ts-body) !important; font-size: 15px !important; font-weight: 700; line-height: 1.4; }
.ts-list__title a { color: var(--ts-text); text-decoration: none; }
.ts-list__title a:hover { color: var(--ts-ink); text-decoration: underline; text-decoration-color: var(--ts-gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Archive ---------- */
.ts-archive__head { margin-top: var(--ts-gap) !important; margin-bottom: 30px !important; padding-bottom: 18px; border-bottom: 3px solid var(--ts-ink); }
.ts-archive__head > * { margin: 0 !important; }
.ts-archive__title { font-family: var(--ts-display); font-weight: 700; font-size: var(--wp--preset--font-size--huge); line-height: 1; margin-top: 8px !important; letter-spacing: -0.01em; text-transform: uppercase; }
.ts-archive__desc { margin-top: 12px !important; max-width: 60ch; color: var(--ts-text); }
.ts-pager { margin-top: var(--ts-section) !important; font-family: var(--ts-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.ts-pager a, .ts-pager .page-numbers { color: var(--ts-ink); text-decoration: none; padding: 6px 10px; border: 1px solid var(--ts-line-strong); background: var(--ts-panel); box-shadow: var(--ts-key-shadow); }
.ts-pager .page-numbers.current { background: var(--ts-ink); color: var(--ts-paper); box-shadow: none; }
.ts-empty { font-family: var(--ts-mono); text-transform: uppercase; letter-spacing: 0.1em; }
.ts-search--page { max-width: 560px; margin-top: 20px !important; }
.ts-search--page .wp-block-search__inside-wrapper { background: var(--ts-screen); }

/* ---------- Article ---------- */
.ts-article__head { margin-top: var(--ts-section) !important; max-width: 1000px !important; }
.ts-article__head > * + * { margin-top: 18px !important; }
.ts-article__title {
	font-family: var(--ts-display); font-weight: 700; color: var(--ts-ink);
	font-size: clamp(34px, 5vw, 62px); line-height: 1.04; letter-spacing: -0.012em; text-wrap: balance;
}
.ts-article__dek { font-size: 20px; line-height: 1.55; color: var(--ts-text); max-width: 60ch; }
.ts-article__dek p { margin: 0; }
.ts-article__meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0;
	padding: 12px 0; border-top: 1px solid var(--ts-line-strong); border-bottom: 3px solid var(--ts-ink);
	font-family: var(--ts-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
}
.ts-article__meta > * { margin: 0 !important; display: inline-flex; align-items: center; }
.ts-article__meta > * + *::before { content: ""; width: 6px; height: 6px; background: var(--ts-gold); margin: 0 14px; }
.ts-article__by a { color: var(--ts-ink); text-decoration: none; font-weight: 600; }
.ts-article__by::before { content: "By "; white-space: pre; color: var(--ts-muted); }
.ts-article__date, .ts-article__read { color: var(--ts-muted); }
.ts-article__img { margin-top: var(--ts-gap) !important; }
.ts-article__body { margin-top: var(--ts-gap) !important; font-size: 18px; line-height: 1.75; color: var(--ts-text); }
.ts-article__body > p:first-of-type { font-size: 20px; line-height: 1.65; color: var(--ts-ink); }
.ts-article__body a { color: var(--ts-ink); text-decoration-color: var(--ts-gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ts-article__body a:hover { color: var(--ts-cat); }
.ts-article__body h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 2em; }
.ts-article__body h3 { font-size: 22px; margin-top: 1.8em; }
.ts-article__body figcaption { font-family: var(--ts-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ts-muted); }
.ts-article__body blockquote { margin-left: 0; }
.ts-article__foot { margin-top: var(--ts-gap) !important; }
.ts-tags { font-family: var(--ts-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ts-muted); }
.ts-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 3px 8px; border: 1px solid var(--ts-line-strong); color: var(--ts-ink); text-decoration: none; background: var(--ts-paper); }
.ts-tags a:hover { border-color: var(--ts-ink); }
.ts-postnav { font-family: var(--ts-display); font-weight: 700; font-size: 17px; padding: 14px 0; border-top: 1px solid var(--ts-line-strong); }
.ts-postnav a { color: var(--ts-ink); text-decoration: none; }
.ts-postnav a:hover { color: var(--ts-cat); }
.ts-related .ts-section__head { grid-template-columns: auto auto 1fr; }

/* Spec label (editorial note) */
.is-style-ts-spec-label {
	background: var(--ts-paper); border: 1px solid var(--ts-line-strong); border-top: 4px double var(--ts-ink);
	padding: 14px var(--ts-gutter) !important; font-size: 15px; line-height: 1.6;
}
.is-style-ts-spec-label > * { margin: 0 !important; }
.is-style-ts-spec-label > * + * { margin-top: 6px !important; }
.ts-note__label { font-size: 11px; font-weight: 600; color: var(--ts-kicker); }

/* Broadcast screen group style */
.is-style-ts-screen {
	background: var(--ts-screen) !important; color: var(--ts-screen-text);
	padding: var(--ts-gap) !important; position: relative;
	box-shadow: inset 0 0 0 3px #1f1f1d, inset 0 10px 30px rgba(0, 0, 0, 0.7);
}
.is-style-ts-screen :where(h1, h2, h3, h4, h5, h6) { color: #fff; }
.is-style-ts-screen a { color: var(--ts-gold); }

/* Comments */
.ts-comments { margin-top: var(--ts-section) !important; }
.ts-comment { padding: 16px 0; border-top: 1px solid var(--ts-line-strong); }
.ts-comment .wp-block-comment-author-name { font-family: var(--ts-display); font-weight: 700; }
.ts-comment .wp-block-comment-date { font-family: var(--ts-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ts-muted); }
.wp-block-post-comments-form input:not([type="submit"]), .wp-block-post-comments-form textarea {
	border: 1px solid var(--ts-line-strong); border-radius: 0; background: var(--ts-paper); padding: 10px; font: inherit;
}

/* Reading progress (single) */
.ts-progress {
	position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100;
	background: var(--ts-gold); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
	box-shadow: 0 0 8px rgba(243, 173, 41, 0.6);
}
.admin-bar .ts-progress { top: var(--wp-admin--admin-bar--height, 32px); }

/* ---------- 404 test card ---------- */
.ts-testcard {
	margin-top: var(--ts-section) !important; position: relative; overflow: hidden;
	padding: 0 0 var(--ts-gap) !important; text-align: center;
	background: var(--ts-paper); border: 1px solid var(--ts-line-strong);
}
.ts-testcard::before { content: ""; display: block; height: clamp(120px, 22vw, 260px); background: var(--ts-bars); margin-bottom: var(--ts-gap); }
.ts-testcard > * { margin-left: auto !important; margin-right: auto !important; max-width: 640px; padding: 0 var(--ts-gutter); }
.ts-testcard__ch { font-family: var(--ts-mono); font-size: 13px; letter-spacing: 0.16em; color: var(--ts-kicker); font-weight: 600; }
.ts-testcard__title { font-family: var(--ts-display); font-size: clamp(56px, 10vw, 120px); line-height: 0.9; text-transform: uppercase; margin-top: 8px !important; }
.ts-testcard__copy { font-size: 18px; }
.ts-testcard .wp-block-buttons { justify-content: center; }

/* ---------- Footer ---------- */
.ts-footer { background: var(--ts-footer); color: #fff; padding: var(--ts-section) var(--ts-gap) !important; margin: 0 !important; }
.ts-footer__grid { max-width: var(--ts-wide); margin: 0 auto !important; display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: var(--ts-gap) 40px; }
.ts-footer__grid > * { margin: 0 !important; }
.ts-footer__brand > * { margin: 0 !important; }
.ts-footer__wm { font-family: var(--ts-display); font-weight: 700; text-transform: uppercase; font-size: 54px; line-height: 0.9; color: #fff; }
.ts-footer__wm .ts-wm__tech { color: #ff4a3d; } /* brand-red brightened for 3:1+ on navy at display size */
.ts-footer__tagline { margin-top: 10px !important; font-family: var(--ts-display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; }
.ts-footer__show { margin-top: 22px !important; font-family: var(--ts-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ts-gold); }
.ts-footer__eot { margin-top: 8px !important; font-family: var(--ts-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #b9c6cc; }
.ts-footer__h { font-family: var(--ts-display); font-size: 16px; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; margin: 0 0 14px !important; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.ts-footer__list { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.5; }
.ts-footer__list li { padding: 5px 0; }
.ts-footer__list a { color: #fff; text-decoration: none; }
.ts-footer__list a:hover { color: var(--ts-gold); text-decoration: underline; }
.ts-footer__hosts li { color: #dfe7ea; }
.ts-footer-base {
	background: var(--ts-footer-base); color: #fff; margin: 0 !important;
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 30px;
	padding: var(--ts-gutter) max(var(--ts-gap), calc((100% - var(--ts-wide)) / 2 + var(--ts-gap))) !important; font-size: 13px;
}
.ts-footer-base p { margin: 0; }
.ts-footer-base__sig { font-family: var(--ts-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #b1b1b1; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.ts-hero { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
	.ts-justin { grid-column: 1 / -1; }
	.ts-justin__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--ts-gap); }
	.ts-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ts-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ts-band__inner { grid-template-columns: 1fr; }
	.ts-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
	.ts-masthead { grid-template-columns: 1fr; gap: 22px; }
	.ts-console { min-width: 0; }
	.ts-hero { grid-template-columns: 1fr; }
	.ts-hero__second .ts-features { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
	.ts-grid--3 { grid-template-columns: 1fr; }
	.ts-split { grid-template-columns: 1fr; }
	.ts-utility__show { display: none; }
	.ts-utility__actions { margin-left: auto; }
	.ts-navbar .ts-search { display: none; }
}

@media (max-width: 600px) {
	:root { --ts-gap: 18px; }
	.ts-grid--4, .ts-justin__list, .ts-hero__second .ts-features { grid-template-columns: 1fr; }
	.ts-grid--4 > li { display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto auto 1fr; gap: 6px 14px; }
	.ts-grid--4 > li .ts-card__thumb { grid-row: 1 / span 3; }
	.ts-grid--4 > li .ts-chips { display: none; }
	.ts-grid--4 .ts-card__excerpt { display: none; }
	.ts-card__title, .ts-grid .wp-block-post-title { font-size: 16px !important; }
	.ts-features--lead .ts-feature__img { aspect-ratio: 4 / 5 !important; }
	.ts-section__head { grid-template-columns: auto 1fr auto; }
	.ts-section__index { display: none; }
	.ts-section__head::after { grid-column: 2; }
	.ts-section__more { grid-column: 3; }
	.ts-dial__days li { font-size: 0; }
	.ts-dial__days li::first-letter { font-size: 10px; }
	.ts-keys .wp-block-navigation-item__content { min-height: 50px; padding: 0 13px !important; font-size: 14px; }
	.ts-footer__grid { grid-template-columns: 1fr; }
	.ts-key, .ts-rocker { min-height: 40px; }
	.ts-rocker__side { width: 38px; }
	.ts-hosts li { flex-direction: column; gap: 2px; }
}

/* ---------- Accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
	.ts-ticker__track { overflow-x: auto; }
	.ts-console.is-live .ts-lamp { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
	.ts-navbar { background: var(--ts-navbar); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
	.ts-navbar { background: #000; }
	.ts-card__date, .ts-dial__days, .ts-article__date, .ts-article__read { color: var(--ts-text); }
	.ts-console__screen::after, .ts-features > li::after, .ts-crt__glass::after { display: none; }
}
@media print {
	.ts-navbar, .ts-ticker, .ts-console, .ts-dial, .ts-utility, .ts-related, .ts-comments, .ts-progress, .ts-site-footer { display: none !important; }
	body { background: #fff; }
}
