/*
Theme Name: Review Padho
Author: Blog Matrix
Description: Independent testing publication theme for Review Padho — editorial blueprint design, self-hosted fonts, zero theme JavaScript, editable header/footer menus, trust-page footer, review/comparison/legitimacy layouts. Pairs with the Review Padho Reviews plugin.
Version: 3.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: testbench
*/

/* Self-hosted latin subsets — no external font requests. */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/barlow-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/barlow-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/barlow-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/barlow-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/barlow-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/barlow-condensed-700.woff2') format('woff2'); }

:root {
	--tb-bg: #f2f2f3;
	--tb-surface: #e9e9ea;
	--tb-text: #1d1f20;
	--tb-accent: #5980a6;
	--tb-accent-600: #597ea3;
	--tb-accent-700: #416180;
	--tb-accent-900: #1d2d3d;
	--tb-neutral-400: #b7b7ba;
	--tb-divider: color-mix(in srgb, #1d1f20 16%, transparent);
	--tb-muted: color-mix(in srgb, #1d1f20 68%, transparent);
	--tb-body-c: color-mix(in srgb, #1d1f20 74%, transparent);
	--tb-heading: "Barlow Condensed", system-ui, sans-serif;
	--tb-body: "Barlow", system-ui, sans-serif;
	--tb-max: 1200px;
	/* Plugin components read these: */
	--tbr-accent: var(--tb-accent);
	--tbr-accent-700: var(--tb-accent-700);
	--tbr-accent-900: var(--tb-accent-900);
	--tbr-ink: var(--tb-text);
	--tbr-muted: var(--tb-muted);
	--tbr-line: var(--tb-divider);
	--tbr-wash: var(--tb-surface);
	--tbr-star: var(--tb-accent);
	--tbr-heading: var(--tb-heading);
	--tbr-bg: var(--tb-bg);
}

*, *::before, *::after { box-sizing: border-box; }
html { text-wrap: pretty; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--tb-bg);
	color: var(--tb-text);
	font-family: var(--tb-body);
	font-size: 15px;
	line-height: 1.55;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--tb-accent-700); text-underline-offset: 3px; }
a:hover { color: var(--tb-accent-900); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--tb-heading);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: 0.01em;
	margin: 0 0 10px;
}
input, textarea, button { font: inherit; }
::selection { background: color-mix(in srgb, var(--tb-accent) 30%, transparent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--tb-accent); outline-offset: 2px; }

.tb-wrap { max-width: var(--tb-max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px); }
.tb-narrow { max-width: 860px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px); }

.skip-link { position: absolute; left: -9999px; background: var(--tb-accent-900); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 0; top: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== Blueprint frame: hairline box + corner registration marks ===== */
.tb-blueprint { position: relative; border: 1px solid var(--tb-divider); }
.tb-blueprint > .corner {
	position: absolute; width: 11px; height: 11px;
	color: color-mix(in srgb, var(--tb-text) 55%, transparent);
}
.tb-blueprint > .corner::before, .tb-blueprint > .corner::after { content: ""; position: absolute; background: currentColor; }
.tb-blueprint > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.tb-blueprint > .corner::after { top: 5px; left: 0; width: 100%; height: 1px; }
.tb-blueprint > .corner.tl { top: -6px; left: -6px; }
.tb-blueprint > .corner.tr { top: -6px; right: -6px; }
.tb-blueprint > .corner.bl { bottom: -6px; left: -6px; }
.tb-blueprint > .corner.br { bottom: -6px; right: -6px; }

/* Duotone image treatment */
.tb-duotone { position: relative; overflow: hidden; }
.tb-duotone::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--tb-accent); mix-blend-mode: color; }

/* Star bar: accent overlay over neutral base */
.tb-starbar { position: relative; display: inline-block; font-size: 15px; letter-spacing: 2px; line-height: 1; }
.tb-starbar .base { color: var(--tb-neutral-400); }
.tb-starbar .fill { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: var(--tb-accent); }

/* Score block: dark navy plate */
.tb-scoreblock {
	display: inline-flex; align-items: baseline; gap: 2px;
	background: var(--tb-accent-900); color: var(--tb-bg); padding: 7px 12px;
}
.tb-scoreblock strong { font-family: var(--tb-heading); font-weight: 700; font-size: 24px; line-height: 1; font-feature-settings: 'tnum' 1; }
.tb-scoreblock small { font-size: 13px; opacity: 0.72; }

.tb-kicker {
	display: block; font-family: var(--tb-heading); font-weight: 600; font-size: 12px;
	letter-spacing: 0.1em; text-transform: uppercase; color: var(--tb-accent-700);
}

/* ===== Header ===== */
.tb-header {
	border-bottom: 1px solid var(--tb-divider);
	position: sticky; top: 0; z-index: 60;
	background: color-mix(in srgb, var(--tb-bg) 92%, transparent);
	backdrop-filter: blur(8px);
}
/* padding-block everywhere a vertical pad shares an element with .tb-wrap —
   the shorthand `padding: X 0` was zeroing .tb-wrap's side padding. */
.tb-header-inner { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); padding-block: 14px; }
.tb-brand {
	font-family: var(--tb-heading); font-weight: 700; font-size: 22px;
	letter-spacing: 0.01em; text-transform: uppercase;
	color: var(--tb-text); text-decoration: none; white-space: nowrap;
}
.tb-brand:hover { color: var(--tb-text); }
.tb-brand span { color: var(--tb-accent); }
.tb-nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.tb-nav a {
	font-family: var(--tb-heading); font-weight: 600; font-size: 14px;
	letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
	padding-bottom: 2px; border-bottom: 2px solid transparent;
	color: color-mix(in srgb, var(--tb-text) 78%, transparent);
}
.tb-nav a:hover { color: var(--tb-accent-700); border-bottom-color: var(--tb-accent); }
.tb-nav a[aria-current="page"], .tb-mobile-panel a[aria-current="page"] { color: var(--tb-accent-700); border-bottom-color: var(--tb-accent); }
.tb-header-search { margin-left: auto; display: flex; align-items: stretch; max-width: 320px; flex: 1; min-width: 0; }
.tb-header-search input {
	flex: 1; min-width: 0; min-height: 36px; padding: 6px 10px; font-size: 14px;
	color: var(--tb-text); caret-color: var(--tb-accent);
	background: var(--tb-surface); border: 1px solid var(--tb-divider); border-radius: 0;
}
.tb-header-search input:hover { border-color: color-mix(in srgb, var(--tb-text) 45%, transparent); }
.tb-header-search input:focus-visible { border-color: var(--tb-accent); outline-offset: 0; }
.tb-header-search button {
	border: 1px solid var(--tb-divider); border-left: 0; border-radius: 0;
	background: transparent; padding: 0 12px; min-height: 36px; cursor: pointer; color: var(--tb-text);
}
.tb-header-search button:hover { background: color-mix(in srgb, var(--tb-text) 7%, transparent); }

/* Mobile nav — native <details>, no JS. Hamburger ⇄ ✕ via CSS content. */
.tb-mobile-nav { display: none; margin-left: auto; }
.tb-mobile-nav summary {
	list-style: none; cursor: pointer; font-size: 20px; line-height: 1;
	padding: 8px 13px; border: 1px solid var(--tb-divider); user-select: none;
}
.tb-mobile-nav summary::-webkit-details-marker { display: none; }
.tb-mobile-nav summary::before { content: "☰"; }
.tb-mobile-nav[open] summary::before { content: "✕"; }
.tb-mobile-nav[open] summary { background: var(--tb-accent-900); color: var(--tb-bg); border-color: var(--tb-accent-900); }
.tb-mobile-panel {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--tb-bg); border-bottom: 1px solid var(--tb-divider);
	padding: 18px clamp(20px, 5vw, 72px) 24px; z-index: 50; display: grid; gap: 0;
	box-shadow: 0 12px 32px color-mix(in srgb, #2b2b2d 22%, transparent);
	counter-reset: tbnav;
}
.tb-mobile-panel a {
	display: flex; align-items: baseline; gap: 14px;
	font-family: var(--tb-heading); font-weight: 600; font-size: 18px;
	letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--tb-text);
	padding: 13px 0; border-top: 1px solid var(--tb-divider);
}
.tb-mobile-panel a::before {
	counter-increment: tbnav; content: counter(tbnav, decimal-leading-zero);
	font-size: 12px; letter-spacing: 0.08em; color: var(--tb-muted); font-feature-settings: 'tnum' 1;
}
.tb-mobile-panel a:hover, .tb-mobile-panel a[aria-current="page"] { color: var(--tb-accent-700); }
.tb-mobile-panel .tb-header-search { display: flex; max-width: none; margin: 0 0 16px; }
@media (max-width: 1000px) {
	.tb-nav, .tb-header .tb-header-inner > .tb-header-search { display: none; }
	.tb-mobile-nav { display: block; }
}

/* ===== Hero ===== */
.tb-hero-inner {
	display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(32px, 5vw, 72px); align-items: start;
	padding-block: clamp(40px, 6vw, 88px) clamp(40px, 6vw, 72px);
}
@media (max-width: 980px) { .tb-hero-inner { grid-template-columns: 1fr; gap: 36px; } }
.tb-hero-kicker {
	display: block; font-family: var(--tb-heading); font-weight: 600; font-size: 14px;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--tb-accent-700); margin-bottom: 20px;
}
.tb-hero h1 {
	font-family: var(--tb-heading); font-weight: 700; font-size: clamp(44px, 6vw, 80px);
	line-height: 1.02; letter-spacing: 0.005em; text-transform: uppercase; margin: 0;
}
.tb-hero h1 em { font-style: normal; color: var(--tb-accent); }
.tb-hero-sub { font-size: 17px; line-height: 1.55; max-width: 46ch; color: color-mix(in srgb, var(--tb-text) 82%, transparent); margin: 28px 0 0; }

/* Featured figure */

/* ===== Sections ===== */
.tb-section { padding-block: clamp(32px, 4vw, 56px); }
.tb-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.tb-section-head h2, .tb-page-head h1 {
	font-family: var(--tb-heading); font-weight: 700; font-size: clamp(26px, 3vw, 38px);
	text-transform: uppercase; letter-spacing: 0.01em; margin: 0;
}
.tb-section-rule { height: 1px; background: var(--tb-divider); margin-bottom: 28px; }

/* ===== Cards ===== */
.tb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.tb-card { display: flex; flex-direction: column; padding: 0; background: transparent; transition: border-color 0.15s; }
.tb-card:hover { border-color: var(--tb-accent); }
.tb-card .tb-thumb-wrap { position: relative; margin: -1px -1px 0; }
.tb-card .tb-thumb { display: block; border-bottom: 1px solid var(--tb-divider); }
.tb-card .tb-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tb-card .tb-scoreblock { position: absolute; right: 0; bottom: 0; }
.tb-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tb-card-tag { margin-bottom: 10px; }
.tb-card-kicker-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.tb-card-kicker-row .tb-card-tag { margin-bottom: 0; }
.tb-card-title {
	font-family: var(--tb-heading); font-weight: 600; font-size: 21px;
	line-height: 1.12; text-transform: uppercase; letter-spacing: 0.01em; margin: 0;
}
.tb-card-title a { color: var(--tb-text); text-decoration: none; }
.tb-card-title a:hover { color: var(--tb-accent-900); }
.tb-card-excerpt { font-size: 14px; line-height: 1.5; color: var(--tb-body-c); margin: 12px 0 0; }
.tb-card-meta { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tb-card-meta .date { font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: color-mix(in srgb, var(--tb-text) 66%, transparent); white-space: nowrap; font-feature-settings: 'tnum' 1; }

/* ===== Top rated board ===== */
.tb-board { padding: 0; }
.tb-board-row {
	display: grid; grid-template-columns: auto 1fr auto auto; align-items: center;
	gap: clamp(16px, 3vw, 32px); padding: 22px clamp(20px, 3vw, 32px);
}
.tb-board-row + .tb-board-row { border-top: 1px solid var(--tb-divider); }
.tb-board-rank {
	font-family: var(--tb-heading); font-weight: 700; font-size: 22px; letter-spacing: 0.04em;
	color: color-mix(in srgb, var(--tb-text) 56%, transparent); font-feature-settings: 'tnum' 1; min-width: 2ch;
}
.tb-board-row:first-child .tb-board-rank { color: var(--tb-accent); }
.tb-board-title {
	font-family: var(--tb-heading); font-weight: 600; font-size: clamp(17px, 1.8vw, 21px);
	text-transform: uppercase; letter-spacing: 0.01em; color: var(--tb-text); text-decoration: none;
}
.tb-board-title:hover { color: var(--tb-accent-700); }
.tb-board-cat { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tb-muted); text-align: right; }
.tb-board-score { font-family: var(--tb-heading); font-weight: 700; font-size: 22px; font-feature-settings: 'tnum' 1; min-width: 3ch; text-align: right; }
@media (max-width: 720px) {
	.tb-board-cat { display: none; }
	.tb-board-row { grid-template-columns: auto 1fr auto; gap: 14px; padding: 18px 20px; }
}

/* ===== Category chips ===== */
.tb-cats { display: flex; flex-wrap: wrap; gap: 12px; }
.tb-cat-chip {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--tb-heading); font-weight: 600; font-size: 15px;
	letter-spacing: 0.03em; text-transform: uppercase;
	padding: 9px 18px; border: 1px solid var(--tb-divider);
	color: var(--tb-text); text-decoration: none; transition: border-color 0.15s;
}
.tb-cat-chip:hover { border-color: var(--tb-accent); color: var(--tb-accent-700); }
.tb-cat-chip small { font-size: 12px; opacity: 0.6; font-feature-settings: 'tnum' 1; }

/* ===== Archive / page heads ===== */
.tb-page-head { padding-block: clamp(32px, 5vw, 56px) clamp(18px, 3vw, 28px); }
.tb-page-head p { color: var(--tb-muted); margin: 10px 0 0; max-width: 60ch; }
.tb-breadcrumb { font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--tb-muted); margin-bottom: 14px; }
.tb-breadcrumb a { color: inherit; text-decoration: none; }
.tb-breadcrumb a:hover { color: var(--tb-accent-900); }

/* ===== Single article ===== */
.tb-article-head { padding-top: clamp(32px, 5vw, 52px); }
.tb-article-head h1 {
	font-family: var(--tb-heading); font-weight: 700; font-size: clamp(34px, 4.5vw, 54px);
	line-height: 1.04; text-transform: uppercase; letter-spacing: 0.01em; margin: 0 0 12px;
}
.tb-byline { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--tb-muted); padding-bottom: 22px; }
.tb-byline img { border-radius: 0; }
.tb-byline strong { color: var(--tb-text); }
.tb-hero-image { border: 1px solid var(--tb-divider); margin-bottom: 8px; }
.tb-hero-image img { width: 100%; }

.tb-content { font-size: 16.5px; line-height: 1.7; }
.tb-content h2 {
	font-family: var(--tb-heading); font-weight: 600; font-size: 28px;
	text-transform: uppercase; letter-spacing: 0.01em; margin: 36px 0 12px;
}
.tb-content h3 { font-size: 21px; margin: 28px 0 10px; }
.tb-content blockquote { border-left: 2px solid var(--tb-accent); margin: 20px 0; padding: 4px 0 4px 18px; color: var(--tb-muted); }
.tb-content pre { background: var(--tb-surface); border: 1px solid var(--tb-divider); padding: 14px; overflow-x: auto; font-size: 14px; }
.tb-content table { border-collapse: collapse; width: 100%; font-size: 14px; }
.tb-content th {
	text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
	color: color-mix(in srgb, var(--tb-text) 60%, transparent);
	padding: 7px; border-bottom: 1px solid var(--tb-divider);
}
.tb-content td { padding: 7px; border-bottom: 1px solid color-mix(in srgb, var(--tb-text) 8%, transparent); }
.tb-content img { border: 1px solid var(--tb-divider); }

/* ===== Post sidebar ===== */
.tb-post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (max-width: 980px) { .tb-post-layout { grid-template-columns: 1fr; } }
.tb-aside { display: grid; gap: 28px; position: sticky; top: 24px; }
.tb-aside-box { padding: 18px 20px; }
.tb-aside-box .tb-kicker { margin-bottom: 12px; }
.tb-aside-item {
	display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
	padding: 9px 0; border-top: 1px solid var(--tb-divider);
	font-family: var(--tb-heading); font-weight: 600; font-size: 15px;
	letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.2;
	color: var(--tb-text); text-decoration: none;
}
.tb-aside-item:hover { color: var(--tb-accent-700); }
.tb-aside-item strong { font-weight: 700; font-feature-settings: 'tnum' 1; }
.tb-aside .tb-cat-chip { font-size: 13px; padding: 7px 14px; }
.tb-toc { display: grid; }
.tb-toc a {
	display: flex; align-items: baseline; gap: 10px;
	padding: 7px 0; border-top: 1px solid var(--tb-divider);
	font-size: 14px; line-height: 1.35; color: var(--tb-text); text-decoration: none;
}
.tb-toc a:first-child { border-top: 0; }
.tb-toc a:hover { color: var(--tb-accent-900); }
.tb-toc small { font-size: 11px; letter-spacing: 0.08em; color: var(--tb-muted); font-feature-settings: 'tnum' 1; }
.tb-related { margin-top: 44px; }

/* Author box */
.tb-authorbox { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; margin-top: 40px; }
.tb-authorbox img { border-radius: 0; flex: none; }
.tb-authorbox-name { font-family: var(--tb-heading); font-weight: 600; font-size: 19px; text-transform: uppercase; letter-spacing: 0.01em; margin: 2px 0 4px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tb-authorbox-name small { font-size: 12px; letter-spacing: 0.06em; color: var(--tb-muted); font-weight: 600; }
.tb-authorbox p { font-size: 14px; line-height: 1.55; color: var(--tb-body-c); margin: 0 0 8px; }
.tb-authorbox a { font-size: 13.5px; font-weight: 600; }

/* ===== Comments ===== */
.tb-comments { border-top: 1px solid var(--tb-divider); margin-top: 44px; padding-top: 32px; }
.tb-comments h2 { font-family: var(--tb-heading); font-weight: 700; font-size: 28px; text-transform: uppercase; letter-spacing: 0.01em; margin: 0 0 6px; }
.tb-comments-sub { font-size: 14px; color: var(--tb-muted); margin-bottom: 20px; }
.comment-list { list-style: none; margin: 0 0 26px; padding: 0; }
.comment-form label { display: block; font-size: 12px; margin-bottom: 5px; color: color-mix(in srgb, var(--tb-text) 70%, transparent); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; min-height: 36px; padding: 6px 10px; font-size: 14px;
	color: var(--tb-text); caret-color: var(--tb-accent);
	background: var(--tb-surface); border: 1px solid var(--tb-divider); border-radius: 0;
}
.comment-form input:hover, .comment-form textarea:hover { border-color: color-mix(in srgb, var(--tb-text) 45%, transparent); }
.comment-form input:focus-visible, .comment-form textarea:focus-visible { border-color: var(--tb-accent); outline-offset: 0; }
.comment-form .form-submit input {
	width: auto; min-height: 0; background: var(--tb-accent-700); color: #fff;
	font-family: var(--tb-heading); font-weight: 600; font-size: 14px;
	letter-spacing: 0.04em; text-transform: uppercase;
	border: 1px solid var(--tb-accent-700); padding: 10px 24px; cursor: pointer;
}
.comment-form .form-submit input:hover { background: var(--tb-accent-900); }
.comment-reply-title { font-family: var(--tb-heading); font-weight: 600; font-size: 22px; text-transform: uppercase; letter-spacing: 0.01em; }
.comment-notes, .logged-in-as { font-size: 13px; color: var(--tb-muted); }

.tb-rating-summary {
	display: flex; gap: 26px; align-items: center;
	border: 1px solid var(--tb-divider); padding: 16px 20px; margin-bottom: 20px; flex-wrap: wrap;
}
.tb-rating-avg { font-family: var(--tb-heading); font-weight: 700; font-size: 36px; font-feature-settings: 'tnum' 1; }
.tb-rating-avg small { font-size: 15px; color: var(--tb-muted); font-weight: 500; }

/* ===== Search / 404 / pagination ===== */
.tb-search-form { display: flex; align-items: stretch; max-width: 480px; margin: 18px 0 8px; }
.tb-search-form input {
	flex: 1; min-height: 40px; padding: 6px 12px; font-size: 15px;
	background: var(--tb-surface); border: 1px solid var(--tb-divider); border-radius: 0;
}
.tb-search-form input:focus-visible { border-color: var(--tb-accent); outline-offset: 0; }
.tb-search-form button {
	border: 1px solid var(--tb-accent-700); border-left: 0; background: var(--tb-accent-700); color: #fff;
	font-family: var(--tb-heading); font-weight: 600; font-size: 14px;
	letter-spacing: 0.04em; text-transform: uppercase; padding: 0 20px; cursor: pointer;
}
.tb-search-form button:hover { background: var(--tb-accent-900); }

.tb-pagination { display: flex; gap: 8px; flex-wrap: wrap; margin: 30px 0 10px; }
.tb-pagination .page-numbers {
	border: 1px solid var(--tb-divider); padding: 7px 13px;
	font-family: var(--tb-heading); font-weight: 600; font-size: 14px;
	color: var(--tb-text); text-decoration: none; font-feature-settings: 'tnum' 1;
}
.tb-pagination .page-numbers.current { background: var(--tb-accent-900); color: var(--tb-bg); border-color: var(--tb-accent-900); }
.tb-pagination a.page-numbers:hover { border-color: var(--tb-accent); color: var(--tb-accent-700); }

/* ===== Newsletter band ===== */
.tb-newsletter { padding-block: clamp(32px, 5vw, 56px) 0; }
.tb-newsletter-inner {
	display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 48px);
	align-items: center; padding: clamp(24px, 4vw, 40px) clamp(20px, 4vw, 44px);
}
@media (max-width: 820px) { .tb-newsletter-inner { grid-template-columns: 1fr; } }
.tb-newsletter h2 {
	font-family: var(--tb-heading); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px);
	text-transform: uppercase; letter-spacing: 0.01em; margin: 8px 0 0;
}
.tb-newsletter-form { display: flex; align-items: stretch; }
.tb-newsletter-form input {
	flex: 1; min-width: 0; min-height: 46px; padding: 6px 14px; font-size: 15px;
	background: var(--tb-surface); border: 1px solid var(--tb-divider); border-radius: 0;
	caret-color: var(--tb-accent);
}
.tb-newsletter-form input:focus-visible { border-color: var(--tb-accent); outline-offset: 0; }
.tb-newsletter-form button {
	border: 1px solid var(--tb-accent-900); border-left: 0; background: var(--tb-accent-900); color: var(--tb-bg);
	font-family: var(--tb-heading); font-weight: 600; font-size: 14px;
	letter-spacing: 0.06em; text-transform: uppercase; padding: 0 24px; cursor: pointer;
}
.tb-newsletter-form button:hover { background: var(--tb-accent-700); border-color: var(--tb-accent-700); }
.tb-newsletter-note { font-size: 13px; color: var(--tb-accent-700); font-weight: 600; margin: 10px 0 0; }

/* ===== Footer ===== */
.tb-footer { border-top: 1px solid var(--tb-divider); margin-top: clamp(36px, 6vw, 64px); }
.tb-footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.tb-footer-nav a {
	font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
	color: color-mix(in srgb, var(--tb-text) 70%, transparent); text-decoration: none;
}
.tb-footer-nav a:hover { color: var(--tb-accent-900); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.tb-card, .tb-cat-chip { transition: none; }
}

/* ═══════════ v3 — Review Padho refinement layer (overrides above) ═══════════ */
:root {
	--tb-good: #2f7d4f;
	--tb-warn: #b3422d;
	--tb-caution: #b45309;
	--tbr-good: var(--tb-good);
	--tbr-warn: var(--tb-warn);
	--tbr-caution: var(--tb-caution);
}

/* Editorial reading feel: bigger body, looser leading, softer containers. */
body { font-size: 16px; line-height: 1.65; }
.tb-content { font-size: 17px; line-height: 1.75; }
.tb-section { padding-block: clamp(40px, 6vw, 72px); }

.tb-card, .tb-aside-box, .tb-board, .tbr-verdict, .tbr-faq-item, .tbr-toppicks,
.tbr-versus, .tbr-legit, .tb-vs-card, .tb-authorbox, .tb-rating-summary,
.tb-newsletter-inner, .tb-howwetest { border-radius: 6px; }
.tb-card { border: 1px solid var(--tb-divider); }
.tb-card.is-warning { border: 2px solid var(--tb-warn); }

/* Registration marks: featured figure only (hero identity), hidden elsewhere. */
.tb-blueprint > .corner { display: none; }

/* Fewer all-caps: titles read as editorial, labels stay condensed. */
.tb-card-title, .tb-board-title, .tb-aside-item, .tbr-versus-side h3,
.tbr-pick-top h3, .tb-vs-title { text-transform: none; letter-spacing: 0; }

/* Badges */
.tb-card-badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 2px; }
.tb-card-badges:empty { display: none; }
.tb-badge {
	font-family: var(--tb-heading); font-weight: 600; font-size: 12px;
	letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 3px; color: #fff;
}
.tb-badge.is-choice, .tb-badge.is-safe { background: var(--tb-good); }
.tb-badge.is-risk { background: var(--tb-warn); }

/* Card spec rows + Read Review button */
.tb-card-specs { display: grid; gap: 4px; margin: 10px 0 0; border-top: 1px solid var(--tb-divider); padding-top: 10px; }
.tb-card-specs > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.tb-card-specs span { color: var(--tb-muted); }
.tb-card-specs strong { font-weight: 600; text-align: right; }
.tb-card-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
	margin-top: 14px; padding: 0 18px; border: 1px solid var(--tb-accent-700); border-radius: 4px;
	font-family: var(--tb-heading); font-weight: 600; font-size: 14px; letter-spacing: 0.04em;
	text-transform: uppercase; text-decoration: none; color: var(--tb-accent-700);
}
.tb-card-btn:hover { background: var(--tb-accent-700); color: #fff; }

/* Solo hero with big product search */
.tb-hero-inner-solo { max-width: 780px; margin: 0 auto; text-align: center; padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px); }
.tb-hero-inner-solo h1 { font-family: var(--tb-heading); font-weight: 700; font-size: clamp(38px, 6vw, 68px); line-height: 1.04; text-transform: uppercase; margin: 0; }
.tb-hero-inner-solo h1 em { font-style: normal; color: var(--tb-accent); }
.tb-hero-inner-solo .tb-hero-sub { margin: 22px auto 0; }
.tb-hero-search { display: flex; align-items: stretch; max-width: 560px; margin: 30px auto 0; }
.tb-hero-search input {
	flex: 1; min-width: 0; min-height: 54px; padding: 6px 18px; font-size: 17px;
	background: #fff; border: 2px solid var(--tb-accent-900); border-right: 0; border-radius: 6px 0 0 6px;
}
.tb-hero-search input:focus-visible { outline: none; border-color: var(--tb-accent-700); }
.tb-hero-search button {
	min-height: 54px; padding: 0 26px; cursor: pointer; border: 2px solid var(--tb-accent-900); border-radius: 0 6px 6px 0;
	background: var(--tb-accent-900); color: #fff; font-family: var(--tb-heading); font-weight: 700;
	font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase;
}
.tb-hero-search button:hover { background: var(--tb-accent-700); border-color: var(--tb-accent-700); }

.tb-section-sub { font-size: 14px; color: var(--tb-muted); margin: 0; }

/* Comparison cards */
.tb-vs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.tb-vs-card { border: 1px solid var(--tb-divider); border-radius: 6px; padding: 18px 20px; text-decoration: none; display: grid; gap: 8px; transition: border-color 0.15s; }
.tb-vs-card:hover { border-color: var(--tb-accent); }
.tb-vs-tag { justify-self: start; font-family: var(--tb-heading); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; background: var(--tb-accent); color: #fff; padding: 3px 9px; border-radius: 3px; }
.tb-vs-title { font-family: var(--tb-heading); font-weight: 600; font-size: 18px; line-height: 1.2; color: var(--tb-text); }
.tb-vs-more { font-size: 13px; font-weight: 600; color: var(--tb-accent-700); }

/* How we test band */
.tb-howwetest { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; border: 1px solid var(--tb-divider); padding: clamp(24px, 4vw, 44px); }
@media (max-width: 820px) { .tb-howwetest { grid-template-columns: 1fr; } }
.tb-howwetest h2 { font-family: var(--tb-heading); font-weight: 700; font-size: clamp(24px, 3vw, 32px); text-transform: uppercase; margin: 8px 0 12px; }
.tb-howwetest p { color: var(--tb-body-c); margin: 0 0 18px; }
.tb-howwetest-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tb-howwetest-list li { padding: 12px 0 12px 30px; position: relative; border-top: 1px solid var(--tb-divider); font-weight: 500; }
.tb-howwetest-list li::before { content: "✓"; position: absolute; left: 0; color: var(--tb-good); font-weight: 700; }

/* Review kicker line + disclosure */
.tb-review-kicker { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.tb-updated { font-size: 13px; color: var(--tb-muted); }
.tb-disclosure-note { font-style: normal; font-size: 12.5px; color: var(--tb-muted); text-transform: none; letter-spacing: 0; }

/* TOC: sidebar on desktop, inline <details> after the verdict on mobile. */
.tb-toc-inline { display: none; }
@media (max-width: 980px) {
	.tb-aside-toc { display: none; }
	.tb-toc-inline { display: block; border: 1px solid var(--tb-divider); border-radius: 6px; margin: 20px 0; }
	.tb-toc-inline summary {
		cursor: pointer; list-style: none; padding: 13px 16px; min-height: 44px;
		font-family: var(--tb-heading); font-weight: 600; font-size: 15px;
		letter-spacing: 0.05em; text-transform: uppercase; color: var(--tb-accent-700);
	}
	.tb-toc-inline summary::-webkit-details-marker { display: none; }
	.tb-toc-inline summary::after { content: " +"; }
	.tb-toc-inline[open] summary::after { content: " −"; }
	.tb-toc-inline .tb-toc { padding: 0 16px 12px; }
}

/* 44px touch targets */
.tb-cat-chip { min-height: 44px; }
.tb-header-search button, .tb-header-search input { min-height: 40px; }
@media (max-width: 720px) {
	.tbr-cta, .tb-search-form button, .tb-newsletter-form button { min-height: 44px; width: auto; }
	.tb-hero-inner-solo h1 { font-size: clamp(32px, 9vw, 44px); }
}

/* ═══ v3.1 fixes ═══ */
/* Cards are the positioning context again — v3 dropped tb-blueprint (which
   carried position:relative), letting absolute scoreblocks escape the card. */
.tb-card { position: relative; }
/* Absolute placement only for the on-image scoreblock; kicker-row one stays inline. */
.tb-card .tb-scoreblock { position: static; }
.tb-card .tb-thumb-wrap { position: relative; }
.tb-card .tb-thumb-wrap .tb-scoreblock { position: absolute; right: 0; bottom: 0; }

/* Bigger verdict stars */
.tbr-verdict .tbr-stars { font-size: 22px; letter-spacing: 3px; }
.tbr-verdict .tbr-reader-line { font-size: 13px; }

/* App logo circle beside the editor score */
.tbr-score-row { display: flex; align-items: center; gap: 14px; }
.tbr-logo { flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 1px solid var(--tb-divider); background: #fff; display: grid; place-items: center; }
.tbr-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Premium footer: brand + 2-column menu above, slim copyright bar below */
.tb-footer { border-top: 1px solid var(--tb-divider); margin-top: clamp(36px, 6vw, 64px); background: var(--tb-accent-900); color: #fff; }
.tb-footer-top { display: grid; grid-template-columns: minmax(260px, 1.1fr) 1fr; gap: clamp(28px, 5vw, 72px); padding-block: clamp(36px, 5vw, 56px); align-items: start; }
@media (max-width: 820px) { .tb-footer-top { grid-template-columns: 1fr; } }
.tb-footer .tb-brand { color: #fff; font-size: 26px; }
.tb-footer .tb-brand span { color: #7fa7cd; }
.tb-footer-brand p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.65; color: color-mix(in srgb, #fff 72%, transparent); max-width: 44ch; }
.tb-footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 48px); align-content: start; }
.tb-footer-nav a, .tb-footer-nav .menu-item a {
	display: block; padding: 10px 0; min-height: 44px; box-sizing: border-box;
	font-size: 14px; letter-spacing: 0.02em; text-transform: none; text-decoration: none;
	color: color-mix(in srgb, #fff 80%, transparent);
	border-bottom: 1px solid color-mix(in srgb, #fff 12%, transparent);
}
.tb-footer-nav a:hover { color: #fff; }
.tb-footer-nav .menu-item { list-style: none; }
.tb-footer-bottom { border-top: 1px solid color-mix(in srgb, #fff 14%, transparent); }
.tb-footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 18px; font-size: 13px; color: color-mix(in srgb, #fff 62%, transparent); }
@media (max-width: 560px) { .tb-footer-nav { grid-template-columns: 1fr; } }
