/*
Theme Name: TechBeachon
Theme URI: http://localhost/techbeast
Author: TechBeachon
Description: Clean, professional tech review theme — Geist typography, a single signal-red accent, bento grids, score rings and ranked lists.
Version: 3.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: techbeast
*/

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	--tb-bg: #ffffff;
	--tb-soft: #f7f7f8;
	--tb-soft-2: #f1f1f3;
	--tb-ink: #0a0a0b;
	--tb-text: #18181b;
	--tb-body: #3f3f46;
	--tb-muted: #71717a;
	--tb-faint: #a1a1aa;
	--tb-line: #ececef;
	--tb-line-2: #e0e0e5;

	--tb-accent: #e11d2e;
	--tb-accent-dark: #b91524;
	--tb-accent-soft: #fdeced;
	--tb-accent-rgb: 225, 29, 46;

	--tb-good: #16a34a;
	--tb-bad: #e11d48;

	--tb-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--tb-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--tb-r-sm: 12px;
	--tb-r: 20px;
	--tb-r-lg: 28px;
	--tb-shadow-sm: 0 1px 2px rgba(10, 10, 11, 0.04), 0 1px 1px rgba(10, 10, 11, 0.03);
	--tb-shadow: 0 1px 2px rgba(10, 10, 11, 0.04), 0 12px 32px -12px rgba(10, 10, 11, 0.12);
	--tb-shadow-lg: 0 2px 4px rgba(10, 10, 11, 0.03), 0 32px 64px -24px rgba(10, 10, 11, 0.22);
	--tb-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--tb-gutter: clamp(16px, 4vw, 40px);
	--tb-header-h: 64px;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 110px;
}

body {
	margin: 0;
	background: var(--tb-bg);
	color: var(--tb-text);
	font: 400 16px/1.6 var(--tb-sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--tb-sans);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.035em;
	color: var(--tb-ink);
	text-wrap: balance;
}

/* Highlighted words in headings: same typeface, brand colour. */
h1 em,
h2 em {
	font-style: normal;
	color: var(--tb-accent);
}

p {
	margin: 0;
}

button {
	font: inherit;
	cursor: pointer;
}

kbd {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border: 1px solid var(--tb-line-2);
	border-bottom-width: 2px;
	border-radius: 6px;
	background: var(--tb-bg);
	font: 500 11px/1 var(--tb-mono);
	color: var(--tb-muted);
}

::selection {
	background: #fcd4d7;
	color: var(--tb-ink);
}

:focus-visible {
	outline: 2px solid var(--tb-accent);
	outline-offset: 3px;
	border-radius: 8px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.tb-skip {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--tb-ink);
	color: #fff;
	border-radius: var(--tb-r-sm);
}

.tb-skip:focus {
	top: 12px;
}

.tb-wrap {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 var(--tb-gutter);
}

.tb-wrap--mid {
	max-width: 1160px;
}

.tb-wrap--text {
	max-width: 860px;
}

.tb-icon {
	flex: none;
}

/* Reveal on scroll (only when JS is running). */
.tb-js .tb-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.8s var(--tb-ease), transform 0.8s var(--tb-ease);
	transition-delay: var(--tb-delay, 0s);
}

.tb-js .tb-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   Atoms
   ========================================================================== */

.tb-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font: 600 12px/1 var(--tb-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--tb-accent);
}

.tb-kicker::before {
	content: "";
	width: 18px;
	height: 2px;
	background: currentColor;
}

.tb-kicker:has(.tb-icon)::before {
	display: none;
}

.tb-kicker--light {
	color: rgba(255, 255, 255, 0.7);
}

.tb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--tb-ink);
	color: #fff;
	font: 500 15px/1 var(--tb-sans);
	letter-spacing: -0.01em;
	white-space: nowrap;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 8px 20px -10px rgba(10, 10, 11, 0.6);
	transition: transform 0.25s var(--tb-ease), box-shadow 0.25s, background 0.25s;
}

.tb-btn:hover {
	transform: translateY(-1px);
	background: #26262b;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 14px 28px -12px rgba(10, 10, 11, 0.6);
}

.tb-btn .tb-icon {
	transition: transform 0.25s var(--tb-ease);
}

.tb-btn:hover .tb-icon {
	transform: translate(2px, -1px);
}

.tb-btn--sm {
	padding: 10px 16px;
	font-size: 14px;
}

.tb-btn--light,
.tb-btn--light:hover {
	background: #fff;
	color: var(--tb-ink);
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.tb-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
	font-size: 15px;
	color: var(--tb-ink);
	white-space: nowrap;
}

.tb-link .tb-icon {
	transition: transform 0.25s var(--tb-ease);
}

.tb-link:hover .tb-icon,
a:hover .tb-link .tb-icon {
	transform: translateX(3px);
}

.tb-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px 5px 8px;
	border: 1px solid var(--tb-line);
	border-radius: 999px;
	background: var(--tb-bg);
	font: 500 12px/1 var(--tb-sans);
	color: var(--tb-text);
}

.tb-badge::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tb-accent);
}

.tb-badge--best-of::before {
	background: #f59e0b;
}

.tb-badge--versus::before {
	background: #2563eb;
}

.tb-badge--guide::before {
	background: #16a34a;
}

.tb-dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.6;
}

/* Score pill */
.tb-pill-score {
	display: inline-flex;
	align-items: baseline;
	gap: 2px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 4px 14px -4px rgba(10, 10, 11, 0.25);
	color: var(--tb-ink);
}

.tb-pill-score b {
	font: 700 14px/1 var(--tb-sans);
	letter-spacing: -0.02em;
	color: var(--tb-ink);
}

.tb-pill-score span {
	font: 500 10.5px/1 var(--tb-mono);
	color: var(--tb-muted);
}

/* Score ring */
.tb-ring {
	--size: 56px;
	position: relative;
	display: inline-grid;
	place-items: center;
	flex: none;
	width: var(--size);
	height: var(--size);
}

.tb-ring svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.tb-ring circle {
	fill: none;
	stroke-width: 2.6;
}

.tb-ring-track {
	stroke: var(--tb-soft-2);
}

.tb-ring-fill {
	stroke: var(--tb-accent);
	stroke-linecap: round;
}

.tb-ring-value {
	position: relative;
	font: 600 calc(var(--size) * 0.3) / 1 var(--tb-sans);
	letter-spacing: -0.04em;
	color: var(--tb-ink);
}

/* Hero backdrop */
.tb-hero-glow {
	position: absolute;
	inset: 0 0 auto;
	height: 760px;
	background: linear-gradient(180deg, var(--tb-soft) 0%, rgba(255, 255, 255, 0) 100%);
	pointer-events: none;
}

.tb-hero-glow::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(10, 10, 11, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(10, 10, 11, 0.045) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 20%, transparent 75%);
}

.tb-hero-glow--soft {
	opacity: 0.75;
	height: 620px;
}

[data-tb-spot] {
	--mx: 50%;
	--my: 50%;
}

/* ==========================================================================
   Header — floating glass pill
   ========================================================================== */

.tb-header {
	position: sticky;
	top: 12px;
	z-index: 60;
	padding: 0 var(--tb-gutter);
	margin-top: 12px;
}

.admin-bar .tb-header {
	top: 44px;
}

.tb-header-bar {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 1200px;
	height: var(--tb-header-h);
	margin: 0 auto;
	padding: 0 10px 0 18px;
	border: 1px solid rgba(10, 10, 11, 0.07);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: saturate(1.8) blur(18px);
	-webkit-backdrop-filter: saturate(1.8) blur(18px);
	box-shadow: 0 1px 1px rgba(10, 10, 11, 0.02), 0 8px 30px -12px rgba(10, 10, 11, 0.12);
	transition: box-shadow 0.3s, background 0.3s;
}

.tb-header.is-scrolled .tb-header-bar {
	background: rgba(255, 255, 255, 0.86);
	box-shadow: 0 1px 1px rgba(10, 10, 11, 0.03), 0 16px 40px -16px rgba(10, 10, 11, 0.25);
}

.tb-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: none;
	color: var(--tb-ink);
}

.tb-brand-name {
	font: 500 23px/1 var(--tb-sans);
	letter-spacing: -0.055em;
}

.tb-brand-name b {
	font-weight: 800;
}

.tb-mark {
	transition: transform 0.5s var(--tb-ease);
}

.tb-brand:hover .tb-mark {
	transform: rotate(-10deg) scale(1.06);
}

.tb-nav {
	flex: 1;
	min-width: 0;
	display: flex;
	justify-content: center;
}

.tb-nav-list {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tb-nav-list a {
	display: block;
	padding: 9px 14px;
	border-radius: 999px;
	color: var(--tb-body);
	font-size: 14.5px;
	font-weight: 500;
	white-space: nowrap;
	transition: color 0.2s, background 0.2s;
}

.tb-nav-list a:hover {
	color: var(--tb-ink);
	background: rgba(10, 10, 11, 0.045);
}

.tb-nav-list .current-menu-item > a,
.tb-nav-list .current-post-ancestor > a,
.tb-nav-list .current-category-ancestor > a {
	color: var(--tb-ink);
	background: rgba(10, 10, 11, 0.06);
}

.tb-nav-mobile-extra {
	display: none;
}

.tb-header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.tb-search-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 8px 0 14px;
	border: 1px solid var(--tb-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.8);
	color: var(--tb-muted);
	font-size: 14px;
	transition: border-color 0.2s, color 0.2s;
}

.tb-search-trigger:hover {
	border-color: var(--tb-line-2);
	color: var(--tb-ink);
}

.tb-search-trigger-text {
	padding-right: 18px;
}

.tb-menu-toggle {
	display: none;
	position: relative;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--tb-line);
	border-radius: 50%;
	background: #fff;
}

.tb-menu-toggle span {
	position: absolute;
	left: 13px;
	right: 13px;
	height: 1.6px;
	border-radius: 2px;
	background: var(--tb-ink);
	transition: transform 0.35s var(--tb-ease), top 0.35s var(--tb-ease);
}

.tb-menu-toggle span:first-child {
	top: 16px;
}

.tb-menu-toggle span:last-child {
	top: 23px;
}

.tb-nav-open .tb-menu-toggle span:first-child {
	top: 19.5px;
	transform: rotate(45deg);
}

.tb-nav-open .tb-menu-toggle span:last-child {
	top: 19.5px;
	transform: rotate(-45deg);
}

.tb-progress {
	position: absolute;
	left: calc(var(--tb-gutter) + 30px);
	right: calc(var(--tb-gutter) + 30px);
	bottom: 0;
	height: 2px;
	overflow: hidden;
	border-radius: 2px;
}

.tb-progress span {
	display: block;
	height: 100%;
	background: var(--tb-accent);
	transform: scaleX(0);
	transform-origin: left;
}

/* Search dialog */
.tb-search {
	position: fixed;
	inset: 0;
	z-index: 90;
	display: grid;
	justify-items: center;
	align-items: start;
	padding: 14vh var(--tb-gutter) 0;
}

.tb-search[hidden] {
	display: none;
}

.tb-search-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(250, 250, 250, 0.6);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	animation: tb-fade 0.25s ease;
}

.tb-search-panel {
	position: relative;
	width: 100%;
	max-width: 640px;
	padding: 10px;
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-r-lg);
	background: #fff;
	box-shadow: var(--tb-shadow-lg);
	animation: tb-rise 0.35s var(--tb-ease);
}

.tb-searchform {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 8px 8px 18px;
	border-radius: 20px;
	background: var(--tb-soft);
	color: var(--tb-muted);
}

.tb-searchform input {
	flex: 1;
	min-width: 0;
	padding: 12px 0;
	border: 0;
	outline: 0;
	background: transparent;
	font: 400 18px var(--tb-sans);
	color: var(--tb-ink);
}

.tb-search-hints {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 16px 10px 6px;
	font-size: 13px;
	color: var(--tb-faint);
}

.tb-search-hints span {
	margin-right: 6px;
	font-family: var(--tb-mono);
}

.tb-search-hints a {
	padding: 7px 12px;
	border: 1px solid var(--tb-line);
	border-radius: 999px;
	color: var(--tb-text);
	font-weight: 500;
	transition: border-color 0.2s, background 0.2s;
}

.tb-search-hints a:hover {
	border-color: var(--tb-ink);
	color: var(--tb-ink);
}

.tb-search-foot {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	padding: 4px 10px 6px;
	font-size: 12px;
	color: var(--tb-faint);
}

@keyframes tb-fade {
	from { opacity: 0; }
}

@keyframes tb-rise {
	from { opacity: 0; transform: translateY(14px) scale(0.98); }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.tb-hero {
	position: relative;
	margin-top: -88px;
	padding-top: 88px;
	overflow: hidden;
}

.tb-hero-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding-top: clamp(56px, 9vw, 120px);
	padding-bottom: clamp(40px, 6vw, 72px);
}

.tb-hero-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 100%;
	padding: 5px 14px 5px 5px;
	border: 1px solid var(--tb-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.8);
	box-shadow: var(--tb-shadow-sm);
	font-size: 14px;
	color: var(--tb-body);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.tb-hero-chip > span:nth-child(2) {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tb-hero-chip:hover {
	border-color: var(--tb-line-2);
	box-shadow: var(--tb-shadow);
}

.tb-hero-chip-new {
	flex: none;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--tb-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
}

.tb-hero-title {
	max-width: 1000px;
	margin-top: 28px;
	font-size: clamp(44px, 7.6vw, 104px);
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: -0.055em;
	--tb-delay: 0.08s;
}

.tb-hero-title em {
	font-style: normal;
}

.tb-hero-lede {
	max-width: 620px;
	margin-top: 26px;
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.55;
	color: var(--tb-muted);
	--tb-delay: 0.16s;
}

.tb-hero-search {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 580px;
	margin-top: 36px;
	padding: 7px 7px 7px 22px;
	border: 1px solid var(--tb-line);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(10, 10, 11, 0.04), 0 20px 50px -24px rgba(10, 10, 11, 0.3);
	color: var(--tb-faint);
	transition: box-shadow 0.3s, border-color 0.3s;
	--tb-delay: 0.24s;
}

.tb-hero-search:focus-within {
	border-color: var(--tb-ink);
	box-shadow: 0 0 0 4px rgba(10, 10, 11, 0.06), 0 20px 50px -24px rgba(10, 10, 11, 0.35);
}

.tb-hero-search input {
	flex: 1;
	min-width: 0;
	padding: 10px 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--tb-ink);
	font: 400 16.5px var(--tb-sans);
}

.tb-hero-search input::placeholder {
	color: var(--tb-faint);
}

.tb-hero-search--inline {
	margin-top: 28px;
}

.tb-hero-topics {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 22px;
	--tb-delay: 0.32s;
}

.tb-hero-topics a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	border: 1px solid var(--tb-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	color: var(--tb-body);
	transition: border-color 0.2s, color 0.2s, transform 0.25s var(--tb-ease);
}

.tb-hero-topics a:hover {
	border-color: var(--tb-line-2);
	color: var(--tb-ink);
	transform: translateY(-2px);
}

.tb-hero-topics .tb-icon {
	color: var(--tb-faint);
}

/* Bento */
.tb-bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: repeat(2, 280px);
	gap: 14px;
	padding-bottom: clamp(56px, 7vw, 96px);
}

.tb-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 18px;
	border-radius: var(--tb-r-lg);
	background: var(--tb-soft-2);
	overflow: hidden;
	color: #fff;
	isolation: isolate;
	transition: transform 0.5s var(--tb-ease), box-shadow 0.5s var(--tb-ease), opacity 0.8s var(--tb-ease);
}

.tb-tile:nth-child(2) { --tb-delay: 0.06s; }
.tb-tile:nth-child(3) { --tb-delay: 0.12s; }
.tb-tile:nth-child(4) { --tb-delay: 0.18s; }
.tb-tile:nth-child(5) { --tb-delay: 0.24s; }

.tb-tile:hover {
	transform: translateY(-4px);
	box-shadow: var(--tb-shadow-lg);
}

.tb-tile > img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--tb-ease);
}

.tb-tile:hover > img {
	transform: scale(1.06);
}

.tb-tile-shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.14), transparent 60%),
		linear-gradient(180deg, rgba(10, 10, 11, 0.05) 30%, rgba(10, 10, 11, 0.8) 100%);
}

.tb-tile--lead {
	grid-column: span 2;
	grid-row: span 2;
	padding: 26px;
}

.tb-tile-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.tb-tile-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 11px;
	border-radius: 999px;
	background: rgba(10, 10, 11, 0.38);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 12.5px;
	font-weight: 500;
}

.tb-tile-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tb-tile-meta {
	font: 500 12px/1 var(--tb-mono);
	color: rgba(255, 255, 255, 0.75);
}

.tb-tile-title {
	font: 600 19px/1.2 var(--tb-sans);
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.tb-tile--lead .tb-tile-title {
	max-width: 560px;
	font-size: clamp(26px, 3vw, 38px);
	letter-spacing: -0.04em;
	line-height: 1.05;
}

.tb-tile-excerpt {
	max-width: 520px;
	font-size: 15.5px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.82);
}

/* Marquee */
.tb-marquee {
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 26px 0;
	border-top: 1px solid var(--tb-line);
	border-bottom: 1px solid var(--tb-line);
	overflow: hidden;
}

.tb-marquee-label {
	flex: none;
	padding-left: max(var(--tb-gutter), calc((100vw - 1240px) / 2 + var(--tb-gutter)));
	font: 500 12.5px/1 var(--tb-mono);
	color: var(--tb-faint);
	white-space: nowrap;
}

.tb-marquee-track {
	display: flex;
	flex: 1;
	min-width: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tb-marquee ul {
	display: flex;
	flex: none;
	gap: 56px;
	margin: 0;
	padding: 0 28px;
	list-style: none;
	animation: tb-marquee 40s linear infinite;
}

.tb-marquee li {
	font: 600 22px/1 var(--tb-sans);
	letter-spacing: -0.04em;
	color: #c4c4cc;
	white-space: nowrap;
}

.tb-marquee:hover ul {
	animation-play-state: paused;
}

@keyframes tb-marquee {
	to { transform: translateX(-100%); }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.tb-section {
	padding: clamp(64px, 8vw, 120px) 0;
}

.tb-section--soft {
	background: var(--tb-soft);
}

.tb-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 44px;
}

.tb-section-head h2 {
	font-size: clamp(32px, 4.4vw, 56px);
	letter-spacing: -0.045em;
	line-height: 1.02;
}

.tb-section-head h2 em {
	font-style: normal;
}

.tb-empty {
	padding: 56px;
	border: 1px dashed var(--tb-line-2);
	border-radius: var(--tb-r);
	text-align: center;
	color: var(--tb-muted);
}

/* Ranking list */
.tb-rank {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--tb-line);
}

.tb-rank-row {
	position: relative;
	display: grid;
	grid-template-columns: 64px 76px minmax(0, 1fr) 150px 120px 40px;
	align-items: center;
	gap: 24px;
	padding: 22px 16px;
	border-bottom: 1px solid var(--tb-line);
	isolation: isolate;
}

.tb-rank-row::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: 16px;
	background: var(--tb-soft);
	opacity: 0;
	transition: opacity 0.3s;
}

.tb-rank-row:hover::before {
	opacity: 1;
}

.tb-rank-num {
	font: 700 30px/1 var(--tb-sans);
	letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
	color: #d4d4d8;
	transition: color 0.3s;
}

.tb-rank-row:first-child .tb-rank-num,
.tb-rank-row:hover .tb-rank-num {
	color: var(--tb-accent);
}

.tb-rank-thumb img {
	width: 76px;
	height: 56px;
	border-radius: 12px;
	object-fit: cover;
}

.tb-rank-main {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.tb-rank-main a {
	font: 600 20px/1.2 var(--tb-sans);
	letter-spacing: -0.03em;
	color: var(--tb-ink);
}

.tb-rank-main a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.tb-rank-main span {
	font-size: 14.5px;
	color: var(--tb-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tb-rank-cat {
	font: 500 12.5px/1 var(--tb-mono);
	color: var(--tb-muted);
}

.tb-rank-score {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 5px;
}

.tb-rank-score b {
	font: 600 30px/1 var(--tb-sans);
	letter-spacing: -0.05em;
	color: var(--tb-ink);
}

.tb-rank-score span {
	font: 500 11.5px/1 var(--tb-mono);
	color: var(--tb-muted);
}

.tb-rank-go {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--tb-line);
	border-radius: 50%;
	background: #fff;
	color: var(--tb-muted);
	transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--tb-ease);
}

.tb-rank-row:hover .tb-rank-go {
	background: var(--tb-accent);
	border-color: var(--tb-accent);
	color: #fff;
	transform: rotate(45deg);
}

/* Topics */
.tb-topics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.tb-topic {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	padding: 22px 20px;
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-r);
	background: #fff;
	overflow: hidden;
	isolation: isolate;
	transition: transform 0.4s var(--tb-ease), box-shadow 0.4s var(--tb-ease), border-color 0.3s, opacity 0.8s var(--tb-ease);
}

.tb-topic::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	z-index: -1;
	width: 3px;
	background: var(--tb-accent);
	opacity: 0;
	transition: opacity 0.3s;
}

.tb-topic:hover {
	transform: translateY(-3px);
	border-color: transparent;
	box-shadow: var(--tb-shadow);
}

.tb-topic:hover::before {
	opacity: 1;
}

.tb-topic-icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--tb-soft);
	color: var(--tb-ink);
	transition: background 0.3s, color 0.3s;
}

.tb-topic:hover .tb-topic-icon {
	background: var(--tb-accent);
	color: #fff;
}

.tb-topic-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.tb-topic-name {
	font: 600 18px/1.2 var(--tb-sans);
	letter-spacing: -0.025em;
	color: var(--tb-ink);
}

.tb-topic-blurb {
	font-size: 14px;
	line-height: 1.4;
	color: var(--tb-muted);
}

.tb-topic-count {
	position: absolute;
	top: 14px;
	right: 16px;
	font: 500 11.5px/1 var(--tb-mono);
	color: var(--tb-faint);
}

.tb-topic-go {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	color: var(--tb-faint);
	transition: color 0.3s, transform 0.4s var(--tb-ease);
}

.tb-topic:hover .tb-topic-go {
	color: var(--tb-ink);
	transform: rotate(45deg);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.tb-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 48px 28px;
}

.tb-card:nth-child(3n + 2) { --tb-delay: 0.08s; }
.tb-card:nth-child(3n + 3) { --tb-delay: 0.16s; }

.tb-card {
	display: flex;
	flex-direction: column;
}

.tb-card-media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: var(--tb-r);
	background: var(--tb-soft-2);
	overflow: hidden;
	isolation: isolate;
}

.tb-card-media::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(10, 10, 11, 0.06);
	pointer-events: none;
}

.tb-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--tb-ease);
}

.tb-card:hover .tb-card-media img {
	transform: scale(1.05);
}

.tb-card-score {
	position: absolute;
	top: 14px;
	right: 14px;
}

.tb-card-vs {
	position: absolute;
	left: 14px;
	bottom: 14px;
	right: 14px;
	padding: 9px 13px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	font-size: 13px;
	font-weight: 600;
	color: var(--tb-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tb-card-vs i {
	margin: 0 4px;
	font: 700 11px/1 var(--tb-sans);
	font-style: normal;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tb-accent);
}

.tb-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding-top: 18px;
}

.tb-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.tb-card-cat {
	font: 500 12.5px/1 var(--tb-mono);
	color: var(--tb-muted);
}

a.tb-card-cat:hover {
	color: var(--tb-ink);
}

.tb-card-title {
	margin-top: 14px;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.22;
	letter-spacing: -0.03em;
}

.tb-card-title a {
	background: linear-gradient(var(--tb-accent), var(--tb-accent)) 0 100% / 0 2px no-repeat;
	transition: background-size 0.45s var(--tb-ease);
}

.tb-card-title a:hover {
	background-size: 100% 2px;
}

.tb-card-excerpt {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--tb-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tb-card-foot {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 16px;
	font: 400 12.5px/1 var(--tb-mono);
	color: var(--tb-faint);
}

/* ==========================================================================
   Versus
   ========================================================================== */

.tb-vs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 20px;
}

.tb-vs {
	position: relative;
	display: grid;
	grid-template-columns: 42% minmax(0, 1fr);
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-r-lg);
	background: #fff;
	overflow: hidden;
	transition: transform 0.45s var(--tb-ease), box-shadow 0.45s var(--tb-ease), opacity 0.8s var(--tb-ease);
}

.tb-vs:nth-child(2) { --tb-delay: 0.1s; }

.tb-vs:hover {
	transform: translateY(-4px);
	box-shadow: var(--tb-shadow-lg);
}

.tb-vs-media {
	display: block;
	overflow: hidden;
}

.tb-vs-media img {
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
	transition: transform 1s var(--tb-ease);
}

.tb-vs:hover .tb-vs-media img {
	transform: scale(1.05);
}

.tb-vs-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
	padding: 30px;
}

.tb-vs-match {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	font: 600 clamp(22px, 2.2vw, 28px)/1.1 var(--tb-sans);
	letter-spacing: -0.04em;
	color: var(--tb-ink);
}

.tb-vs-match i {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin: 6px 0;
	border-radius: 50%;
	background: var(--tb-accent);
	color: #fff;
	font: 700 11px/1 var(--tb-sans);
	font-style: normal;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tb-vs-winner {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	align-self: flex-start;
	padding: 7px 12px;
	border-radius: 999px;
	background: var(--tb-soft);
	font-size: 13.5px;
	color: var(--tb-muted);
}

.tb-vs-winner .tb-icon {
	color: var(--tb-good);
}

.tb-vs-winner b {
	font-weight: 600;
	color: var(--tb-ink);
}

/* ==========================================================================
   Method
   ========================================================================== */

.tb-method {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}

.tb-method-intro h2 {
	font-size: clamp(32px, 4.2vw, 54px);
	letter-spacing: -0.045em;
	line-height: 1.03;
}

.tb-method-intro > p:not(.tb-kicker) {
	max-width: 460px;
	margin: 22px 0 0;
	font-size: 17px;
	color: var(--tb-muted);
}

.tb-method-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 40px;
	margin: 36px 0;
	padding: 26px 0;
	border-top: 1px solid var(--tb-line);
	border-bottom: 1px solid var(--tb-line);
}

.tb-method-stats div {
	display: flex;
	flex-direction: column-reverse;
	gap: 8px;
}

.tb-method-stats dt {
	font: 600 44px/1 var(--tb-sans);
	letter-spacing: -0.05em;
	color: var(--tb-ink);
}

.tb-method-stats dd {
	margin: 0;
	font: 500 12.5px/1 var(--tb-mono);
	color: var(--tb-muted);
}

.tb-method-steps {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tb-method-steps li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 6px 18px;
	align-items: center;
	padding: 22px 24px;
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-r);
	background: #fff;
}

.tb-method-steps li:nth-child(2) { --tb-delay: 0.08s; }
.tb-method-steps li:nth-child(3) { --tb-delay: 0.16s; }
.tb-method-steps li:nth-child(4) { --tb-delay: 0.24s; }

.tb-method-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--tb-soft);
	color: var(--tb-ink);
}

.tb-method-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.tb-method-text b {
	font: 600 17px/1.2 var(--tb-sans);
	letter-spacing: -0.02em;
	color: var(--tb-ink);
}

.tb-method-text span {
	font-size: 14.5px;
	line-height: 1.45;
	color: var(--tb-muted);
}

.tb-method-weight {
	font: 700 26px/1 var(--tb-sans);
	letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
	color: var(--tb-ink);
}

.tb-method-bar {
	grid-column: 1 / -1;
	height: 4px;
	margin-top: 14px;
	border-radius: 4px;
	background: var(--tb-soft-2);
	overflow: hidden;
}

.tb-method-bar span {
	display: block;
	width: var(--w);
	height: 100%;
	border-radius: inherit;
	background: var(--tb-accent);
}

.tb-js .tb-reveal .tb-method-bar span {
	width: 0;
	transition: width 1.4s var(--tb-ease) 0.3s;
}

.tb-js .tb-reveal.is-in .tb-method-bar span {
	width: var(--w);
}

/* ==========================================================================
   Page hero (archives, pages, search, 404)
   ========================================================================== */

.tb-page-hero {
	position: relative;
	margin-top: -88px;
	padding-top: 88px;
	overflow: hidden;
	border-bottom: 1px solid var(--tb-line);
}

.tb-page-hero > .tb-wrap {
	position: relative;
	padding-top: clamp(56px, 7vw, 96px);
	padding-bottom: clamp(48px, 6vw, 80px);
}

.tb-page-hero h1 {
	max-width: 900px;
	font-size: clamp(40px, 6vw, 76px);
	letter-spacing: -0.05em;
	line-height: 1;
}

.tb-page-hero-lede {
	max-width: 640px;
	margin-top: 20px;
	font-size: clamp(17px, 1.5vw, 19px);
	color: var(--tb-muted);
}

.tb-page-hero-icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin-bottom: 24px;
	border-radius: 18px;
	background: var(--tb-accent);
	color: #fff;
	box-shadow: 0 16px 30px -14px rgba(var(--tb-accent-rgb), 0.6);
}

.tb-page-hero .tb-crumbs {
	margin-bottom: 26px;
}

.tb-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font: 400 13px/1.4 var(--tb-mono);
	color: var(--tb-faint);
}

.tb-crumbs a {
	color: var(--tb-muted);
	transition: color 0.2s;
}

.tb-crumbs a:hover {
	color: var(--tb-ink);
}

.tb-filters {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 32px;
	padding: 4px;
	border: 1px solid var(--tb-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.7);
}

.tb-filters a {
	padding: 9px 16px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	color: var(--tb-muted);
	transition: background 0.2s, color 0.2s;
}

.tb-filters a:hover {
	color: var(--tb-ink);
}

.tb-filters a[aria-current] {
	background: var(--tb-ink);
	color: #fff;
}

/* ==========================================================================
   Article
   ========================================================================== */

.tb-article-head {
	position: relative;
	margin-top: -88px;
	padding: calc(88px + clamp(40px, 6vw, 72px)) 0 36px;
	overflow: hidden;
}

.tb-article-head > .tb-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.tb-article-head .tb-crumbs {
	justify-content: center;
	margin-bottom: 24px;
}

.tb-article-head .tb-card-meta {
	justify-content: center;
}

.tb-article-title {
	margin-top: 20px;
	font-size: clamp(36px, 5.4vw, 66px);
	letter-spacing: -0.05em;
	line-height: 1.02;
}

.tb-article-dek {
	max-width: 700px;
	margin-top: 22px;
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.55;
	color: var(--tb-muted);
}

.tb-byline {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 30px;
	text-align: left;
}

.tb-byline-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14.5px;
}

.tb-byline-text b {
	font-weight: 600;
	color: var(--tb-ink);
}

.tb-byline-text span {
	font: 400 12.5px/1.3 var(--tb-mono);
	color: var(--tb-muted);
}

.tb-article-figure {
	margin: 12px auto 0;
}

.tb-article-figure img {
	width: 100%;
	aspect-ratio: 21 / 10;
	object-fit: cover;
	border-radius: var(--tb-r-lg);
}

/* Verdict */
.tb-verdict {
	position: relative;
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	gap: clamp(24px, 4vw, 48px);
	margin-top: 40px;
	padding: clamp(20px, 3vw, 28px);
	border: 1px solid var(--tb-line-2);
	border-top: 4px solid var(--tb-accent);
	border-radius: var(--tb-r-lg);
	background: #fff;
	box-shadow: var(--tb-shadow-lg);
}

.tb-verdict-score {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 28px 16px;
	border-radius: var(--tb-r);
	background: var(--tb-ink);
}

.tb-ring--lg .tb-ring-value {
	font-size: 40px;
}

.tb-ring--lg circle {
	stroke-width: 2.4;
}

.tb-ring--lg .tb-ring-track {
	stroke: rgba(255, 255, 255, 0.14);
}

.tb-verdict-label {
	padding: 7px 12px;
	border-radius: 999px;
	background: var(--tb-accent);
	color: #fff;
	font: 700 11.5px/1 var(--tb-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.tb-verdict-main .tb-kicker {
	margin-bottom: 10px;
}

.tb-verdict-product {
	font-size: clamp(26px, 3vw, 36px);
	letter-spacing: -0.045em;
}

.tb-verdict-text {
	margin-top: 10px;
	font-size: 17.5px;
	line-height: 1.55;
	color: var(--tb-body);
}

.tb-procon {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 26px;
	padding-top: 24px;
	border-top: 1px solid var(--tb-line);
}

.tb-procon-head {
	margin-bottom: 12px;
	font: 500 12.5px/1 var(--tb-mono);
	color: var(--tb-muted);
}

.tb-procon ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tb-procon li {
	position: relative;
	padding-left: 28px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--tb-text);
}

.tb-procon li + li {
	margin-top: 10px;
}

.tb-procon li::before {
	position: absolute;
	left: 0;
	top: 2px;
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	font: 600 13px/1 var(--tb-sans);
}

.tb-pros li::before {
	content: "+";
	background: #dcfce7;
	color: var(--tb-good);
}

.tb-cons li::before {
	content: "–";
	background: #ffe4e6;
	color: var(--tb-bad);
}

.tb-verdict-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin-top: 28px;
}

.tb-verdict-cta > span {
	font-size: 13px;
	color: var(--tb-faint);
}

.tb-verdict-cta > span a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Article layout: prose + right TOC */
.tb-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 720px) 250px;
	justify-content: space-between;
	gap: 64px;
	align-items: start;
	padding-top: 56px;
	padding-bottom: 96px;
}

.tb-article-layout--solo {
	grid-template-columns: minmax(0, 720px);
	justify-content: center;
}

.tb-toc {
	position: sticky;
	top: 110px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.tb-toc summary {
	margin-bottom: 14px;
	font: 500 12.5px/1 var(--tb-mono);
	color: var(--tb-muted);
	cursor: pointer;
	list-style: none;
}

.tb-toc summary::-webkit-details-marker {
	display: none;
}

.tb-toc ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: toc;
}

.tb-toc li {
	counter-increment: toc;
}

.tb-toc li a {
	display: flex;
	gap: 12px;
	padding: 8px 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--tb-muted);
	transition: color 0.2s;
}

.tb-toc li a::before {
	content: counter(toc, decimal-leading-zero);
	flex: none;
	font: 400 12px/1.6 var(--tb-mono);
	color: var(--tb-faint);
}

.tb-toc li a:hover,
.tb-toc li a.is-active {
	font-weight: 600;
}

.tb-toc li a.is-active {
	font-weight: 500;
}

.tb-toc li a.is-active::before {
	color: var(--tb-accent);
}

.tb-toc-buy {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px;
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-r);
	background: var(--tb-soft);
	transition: border-color 0.2s, background 0.2s;
}

.tb-toc-buy:hover {
	border-color: var(--tb-line-2);
	background: #fff;
}

.tb-toc-buy > span:first-child {
	font: 500 12px/1 var(--tb-mono);
	color: var(--tb-muted);
}

.tb-toc-buy b {
	font-weight: 600;
	font-size: 16px;
	letter-spacing: -0.02em;
	color: var(--tb-ink);
}

.tb-toc-buy .tb-link {
	margin-top: 4px;
	font-size: 14px;
}

.tb-disclosure {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px !important;
	color: var(--tb-faint);
}

/* Prose */
.tb-prose {
	min-width: 0;
	font-size: 18px;
	line-height: 1.75;
	color: var(--tb-body);
}

.tb-prose > * + * {
	margin-top: 1.2em;
}

.tb-prose > :first-child {
	margin-top: 0;
}

.tb-prose h2 {
	margin-top: 2.4em;
	font-size: clamp(28px, 3vw, 38px);
	letter-spacing: -0.045em;
	line-height: 1.1;
	scroll-margin-top: 110px;
}

.tb-prose h3 {
	margin-top: 1.9em;
	font-size: 22px;
	letter-spacing: -0.03em;
}

.tb-prose h2 + *,
.tb-prose h3 + * {
	margin-top: 0.75em;
}

.tb-prose a:not(.tb-btn):not(.tb-link) {
	color: var(--tb-accent-dark);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	text-decoration-color: rgba(var(--tb-accent-rgb), 0.35);
	transition: text-decoration-color 0.2s;
}

.tb-prose a:not(.tb-btn):not(.tb-link):hover {
	text-decoration-color: var(--tb-accent);
}

.tb-prose strong {
	font-weight: 600;
	color: var(--tb-ink);
}

.tb-prose ul,
.tb-prose ol {
	padding-left: 1.25em;
}

.tb-prose li + li {
	margin-top: 0.5em;
}

.tb-prose ul li::marker {
	color: var(--tb-accent);
}

.tb-prose blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--tb-accent);
	font: 500 22px/1.45 var(--tb-sans);
	letter-spacing: -0.02em;
	color: var(--tb-ink);
}

.tb-prose code {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--tb-soft-2);
	font: 0.85em var(--tb-mono);
}

.tb-prose img {
	border-radius: var(--tb-r);
}

.tb-prose figure {
	margin-left: 0;
	margin-right: 0;
}

.tb-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
}

.tb-prose .wp-block-table {
	overflow-x: auto;
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-r);
	background: #fff;
}

.tb-prose th,
.tb-prose td {
	padding: 14px 18px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--tb-line);
}

.tb-prose thead th {
	background: var(--tb-soft);
	font: 500 12.5px/1.3 var(--tb-mono);
	color: var(--tb-muted);
	white-space: nowrap;
}

.tb-prose tbody tr:last-child td {
	border-bottom: 0;
}

.tb-prose td:first-child {
	font-weight: 600;
	color: var(--tb-ink);
}

/* Content components */
.tb-note {
	position: relative;
	padding: 20px 24px 20px 26px;
	border-radius: var(--tb-r);
	background: var(--tb-soft);
	font-size: 16.5px;
	line-height: 1.65;
	overflow: hidden;
}

.tb-note::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--tb-accent);
}

.tb-tldr {
	padding: 26px 28px;
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-r);
	background: #fff;
	box-shadow: var(--tb-shadow);
}

.tb-tldr > p:first-child {
	font: 500 12.5px/1 var(--tb-mono);
	color: var(--tb-muted);
}

.tb-tldr ul {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.tb-tldr li {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	gap: 4px 16px;
	padding: 12px 0;
	border-top: 1px solid var(--tb-line);
	font-size: 16px;
	line-height: 1.5;
}

.tb-tldr li + li {
	margin-top: 0;
}

.tb-tldr li b {
	font-weight: 500;
	font-size: 14.5px;
	color: var(--tb-muted);
}

.tb-tldr li span {
	font-weight: 600;
	color: var(--tb-ink);
}

.tb-pick {
	margin-top: 2.2em;
	padding: clamp(22px, 3vw, 32px);
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-r-lg);
	background: #fff;
	box-shadow: var(--tb-shadow-sm);
	transition: box-shadow 0.4s var(--tb-ease);
}

.tb-pick:hover {
	box-shadow: var(--tb-shadow);
}

.tb-pick-head {
	display: flex;
	align-items: center;
	gap: 18px;
}

.tb-pick-rank {
	display: grid;
	place-items: center;
	flex: none;
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: var(--tb-ink);
	color: #fff;
	font: 700 20px/1 var(--tb-sans);
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}

.tb-pick-label {
	margin: 0 0 6px !important;
	font: 700 11.5px/1.2 var(--tb-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tb-accent);
}

.tb-prose .tb-pick h3 {
	margin: 0;
	font-size: clamp(22px, 2.4vw, 28px);
	letter-spacing: -0.04em;
}

.tb-pick > * + * {
	margin-top: 1em;
}

.tb-pick > p {
	font-size: 16.5px;
	line-height: 1.7;
}

.tb-pick .tb-procon {
	margin-top: 1.3em;
	padding-top: 0;
	border-top: 0;
	gap: 12px;
}

.tb-pick .tb-procon ul {
	padding: 16px 18px;
	border-radius: var(--tb-r-sm);
	background: var(--tb-soft);
}

.tb-pick .tb-procon li::marker {
	content: none;
}

.tb-specs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	margin-top: 1.3em;
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-r-sm);
	background: #fff;
	overflow: hidden;
}

.tb-specs div {
	padding: 12px 16px;
	margin: 0 -1px -1px 0;
	border-right: 1px solid var(--tb-line);
	border-bottom: 1px solid var(--tb-line);
}

.tb-specs dt {
	font: 400 11.5px/1.3 var(--tb-mono);
	color: var(--tb-muted);
}

.tb-specs dd {
	margin: 4px 0 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--tb-ink);
}

.tb-prose .tb-btn,
.tb-prose a.tb-btn {
	margin: 4px 6px 4px 0;
	color: #fff;
}

.tb-pick-cta {
	margin-top: 1.4em !important;
}

.tb-faq h3 {
	font-size: 19px;
}

.tb-author-box {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	margin-top: 3.4em !important;
	padding: 26px;
	border-radius: var(--tb-r);
	background: var(--tb-soft);
}

.tb-author-box b {
	font-weight: 600;
	font-size: 17px;
	letter-spacing: -0.02em;
	color: var(--tb-ink);
}

.tb-author-box p {
	margin-top: 6px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--tb-muted);
}

/* Pages */
.tb-prose--page h2:first-child {
	margin-top: 0;
}

.tb-prose--page .tb-grid,
.tb-prose--page .tb-topics {
	font-size: 16px;
	line-height: 1.6;
}

.tb-prose--page .tb-grid a,
.tb-prose--page .tb-topics a {
	padding: 0;
	background: none !important;
	font-weight: inherit;
}

.tb-prose--page .tb-topics a.tb-topic {
	padding: 22px 20px;
	background: #fff !important;
}

.tb-values {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
}

.tb-values > div {
	padding: 24px;
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-r);
	background: #fff;
}

.tb-values h3 {
	margin: 0 0 8px !important;
	font-size: 18px !important;
}

.tb-values p {
	font-size: 15px;
	line-height: 1.6;
	color: var(--tb-muted);
}

/* Fluent Forms */
.tb-prose .fluentform .ff-el-form-control {
	padding: 13px 16px;
	border: 1px solid var(--tb-line-2);
	border-radius: 14px;
	font: 16px var(--tb-sans);
}

.tb-prose .fluentform .ff-el-form-control:focus {
	border-color: var(--tb-ink);
	box-shadow: 0 0 0 4px rgba(10, 10, 11, 0.06);
}

.tb-prose .fluentform .ff-btn-submit {
	padding: 14px 26px !important;
	border-radius: 999px !important;
	background: var(--tb-ink) !important;
	font-weight: 500;
}

/* Pagination */
.pagination {
	margin-top: 64px;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 6px;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--tb-line);
	border-radius: 999px;
	color: var(--tb-text);
	font: 500 14px/1 var(--tb-mono);
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	background: var(--tb-ink);
	border-color: var(--tb-ink);
	color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.tb-footer {
	position: relative;
	padding: 24px 0 0;
	overflow: hidden;
}

.tb-newsletter {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	margin-top: 40px;
	padding: clamp(32px, 5vw, 64px);
	border-radius: 32px;
	background: var(--tb-ink);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}

.tb-newsletter::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000);
	mask-image: linear-gradient(90deg, transparent, #000);
}

.tb-newsletter-copy {
	max-width: 620px;
}

.tb-newsletter h2 {
	font-size: clamp(32px, 4.4vw, 56px);
	letter-spacing: -0.05em;
	line-height: 1;
	color: #fff;
}

.tb-newsletter h2 em {
	color: var(--tb-accent);
}

.tb-newsletter-copy > p:last-child {
	max-width: 480px;
	margin-top: 18px;
	font-size: 17px;
	color: rgba(255, 255, 255, 0.7);
}

.tb-footer-grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(4, 1fr);
	gap: 40px;
	padding: 80px 0 56px;
}

.tb-footer-about p {
	max-width: 320px;
	margin-top: 18px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--tb-muted);
}

.tb-footer-col h3 {
	margin-bottom: 18px;
	font: 500 12.5px/1 var(--tb-mono);
	letter-spacing: 0;
	color: var(--tb-faint);
}

.tb-footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tb-footer-col li + li {
	margin-top: 12px;
}

.tb-footer-col a {
	font-size: 15px;
	color: var(--tb-body);
	transition: color 0.2s;
}

.tb-footer-col a:hover {
	color: var(--tb-ink);
}

.tb-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	padding: 26px 0;
	border-top: 1px solid var(--tb-line);
	font: 400 12.5px/1.6 var(--tb-mono);
	color: var(--tb-faint);
}

.tb-footer-word {
	margin: 0 auto -0.2em;
	text-align: center;
	font: 700 clamp(64px, 16vw, 250px)/0.82 var(--tb-sans);
	letter-spacing: -0.075em;
	color: var(--tb-soft-2);
	user-select: none;
	white-space: nowrap;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
	.tb-search-trigger-text,
	.tb-search-trigger kbd {
		display: none;
	}

	.tb-search-trigger {
		justify-content: center;
		width: 42px;
		padding: 0;
	}

	.tb-rank-row {
		grid-template-columns: 56px 76px minmax(0, 1fr) 110px 40px;
	}

	.tb-rank-cat {
		display: none;
	}

	.tb-footer-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.tb-footer-about {
		grid-column: 1 / -1;
	}
}

@media (max-width: 1080px) {
	.tb-article-layout {
		grid-template-columns: minmax(0, 1fr);
		justify-content: stretch;
		gap: 0;
		padding-top: 40px;
	}

	.tb-article-layout > .tb-prose {
		width: 100%;
		max-width: 720px;
		margin: 0 auto;
	}

	.tb-toc {
		display: none;
	}

	.tb-topics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tb-bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: 420px repeat(2, 240px);
	}

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

@media (max-width: 960px) {
	.tb-menu-toggle {
		display: block;
	}

	.tb-header-cta {
		display: none;
	}

	.tb-nav {
		position: absolute;
		top: calc(100% + 10px);
		left: 0;
		right: 0;
		display: block;
		padding: 12px 20px 22px;
		border: 1px solid var(--tb-line);
		border-radius: 26px;
		background: #fff;
		box-shadow: var(--tb-shadow-lg);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px) scale(0.98);
		transform-origin: top center;
		transition: opacity 0.25s, transform 0.35s var(--tb-ease), visibility 0.25s;
	}

	.tb-nav-open .tb-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.tb-nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.tb-nav-list a {
		padding: 15px 4px;
		border-radius: 0;
		border-bottom: 1px solid var(--tb-line);
		font-size: 20px;
		font-weight: 600;
		letter-spacing: -0.03em;
		color: var(--tb-ink);
	}

	.tb-nav-list a:hover,
	.tb-nav-list .current-menu-item > a,
	.tb-nav-list .current-post-ancestor > a,
	.tb-nav-list .current-category-ancestor > a {
		background: none;
	}

	.tb-nav-mobile-extra {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		margin-top: 20px;
	}

	.tb-nav-mobile-extra p {
		width: 100%;
		font: 500 12px/1 var(--tb-mono);
		color: var(--tb-faint);
	}

	.tb-nav-mobile-extra a {
		padding: 9px 15px;
		border-radius: 999px;
		background: var(--tb-soft);
		color: var(--tb-ink);
		font-size: 14px;
		font-weight: 500;
	}

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

	.tb-verdict-score {
		flex-direction: row;
		justify-content: flex-start;
		gap: 20px;
		padding: 18px 20px;
	}

	.tb-verdict-score .tb-ring {
		--size: 88px !important;
	}

	.tb-ring--lg .tb-ring-value {
		font-size: 28px;
	}

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

	.tb-vs-media img {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 640px) {
	:root {
		--tb-header-h: 58px;
	}

	body {
		font-size: 15.5px;
	}

	.tb-header {
		top: 8px;
		margin-top: 8px;
		padding: 0 10px;
	}

	.tb-header-bar {
		gap: 10px;
		padding: 0 7px 0 14px;
	}

	.tb-brand-name {
		font-size: 19px;
	}

	.tb-hero-inner {
		padding-top: 48px;
	}

	.tb-hero-title br {
		display: none;
	}

	.tb-hero-search {
		padding-left: 16px;
	}

	.tb-hero-search .tb-btn {
		padding: 12px 16px;
	}

	.tb-hero-topics {
		flex-wrap: nowrap;
		justify-content: flex-start;
		width: calc(100% + 2 * var(--tb-gutter));
		margin-left: calc(-1 * var(--tb-gutter));
		margin-right: calc(-1 * var(--tb-gutter));
		padding: 0 var(--tb-gutter) 4px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.tb-hero-topics::-webkit-scrollbar {
		display: none;
	}

	.tb-hero-topics a {
		flex: none;
	}

	.tb-bento {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
		grid-auto-rows: 240px;
	}

	.tb-tile--lead {
		grid-column: auto;
		grid-row: span 2;
		padding: 20px;
	}

	.tb-tile-excerpt {
		display: none;
	}

	.tb-marquee {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 22px 0;
	}

	.tb-marquee-track {
		width: 100%;
	}

	.tb-marquee li {
		font-size: 19px;
	}

	.tb-section-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
		margin-bottom: 32px;
	}

	.tb-rank-row {
		grid-template-columns: 38px minmax(0, 1fr) auto;
		gap: 14px;
		padding: 18px 4px;
	}

	.tb-rank-num {
		font-size: 34px;
	}

	.tb-rank-thumb,
	.tb-rank-go {
		display: none;
	}

	.tb-rank-main a {
		font-size: 17px;
	}

	.tb-rank-main span {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		white-space: normal;
		font-size: 13.5px;
	}

	.tb-rank-score b {
		font-size: 24px;
	}

	.tb-topics {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.tb-topic {
		padding: 16px;
	}

	.tb-topic-icon {
		width: 48px;
		height: 48px;
	}

	.tb-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.tb-method-steps li {
		padding: 18px;
	}

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

	.tb-tldr {
		padding: 20px;
	}

	.tb-tldr li {
		grid-template-columns: minmax(0, 1fr);
	}

	.tb-prose {
		font-size: 17px;
	}

	.tb-article-figure img {
		aspect-ratio: 4 / 3;
		border-radius: var(--tb-r);
	}

	.tb-newsletter {
		flex-direction: column;
		align-items: flex-start;
		border-radius: 26px;
	}

	.tb-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
		padding-top: 56px;
	}

	.tb-footer-bottom {
		flex-direction: column;
	}

	.tb-filters {
		display: flex;
		flex-wrap: nowrap;
		max-width: 100%;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.tb-filters a {
		flex: none;
	}
}

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

	.tb-js .tb-reveal {
		opacity: 1;
		transform: none;
	}
}

.tb-article-head .tb-wrap--text {
	max-width: 1040px;
}

.tb-article-dek {
	max-width: 720px;
}

.tb-verdict-main {
	padding: clamp(4px, 1.5vw, 16px) clamp(0px, 1vw, 12px) 8px 0;
}

.tb-verdict-score .tb-ring-value {
	color: #fff;
}

/* ==========================================================================
   Footer newsletter form (Fluent Forms)
   ========================================================================== */

.tb-newsletter {
	scroll-margin-top: 110px;
	transition: box-shadow 0.4s var(--tb-ease);
}

.tb-newsletter.is-highlight {
	box-shadow: 0 0 0 4px rgba(var(--tb-accent-rgb), 0.35), 0 30px 60px -30px rgba(var(--tb-accent-rgb), 0.6);
}

.tb-newsletter-form {
	flex: 0 1 440px;
	min-width: 0;
}

.tb-newsletter .fluentform {
	margin: 0;
}

.tb-newsletter .frm-fluent-form {
	padding: 6px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	transition: border-color 0.2s, background 0.2s;
}

.tb-newsletter .frm-fluent-form:focus-within {
	border-color: rgba(255, 255, 255, 0.45);
	background: rgba(255, 255, 255, 0.1);
}

.tb-newsletter .frm-fluent-form fieldset {
	display: flex !important;
	align-items: stretch;
	gap: 6px;
}

.tb-newsletter .ff-el-group {
	margin: 0 !important;
}

.tb-newsletter .ff-el-group:not(.ff_submit_btn_wrapper) {
	position: relative;
	flex: 1;
	min-width: 0;
}

.tb-newsletter .ff-el-input--label {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.tb-newsletter .ff-el-form-control {
	width: 100%;
	height: 48px;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #fff !important;
	font: 400 16px var(--tb-sans) !important;
}

.tb-newsletter .ff-el-form-control::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.tb-newsletter .ff-btn-submit,
.tb-newsletter .ff-btn-submit:hover,
.tb-newsletter .ff-btn-submit:focus {
	height: 48px;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--tb-accent) !important;
	color: #fff !important;
	font: 600 15px/1 var(--tb-sans) !important;
	opacity: 1 !important;
	box-shadow: none !important;
	white-space: nowrap;
	transition: background 0.2s;
}

.tb-newsletter .ff-btn-submit:hover {
	background: var(--tb-accent-dark) !important;
}

.tb-newsletter .text-danger {
	position: absolute;
	top: calc(100% + 14px);
	left: 18px;
	font-size: 13px;
	color: #fca5a5 !important;
}

.tb-newsletter .ff-message-success {
	padding: 16px 20px !important;
	border: 1px solid rgba(255, 255, 255, 0.16) !important;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.06) !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 15px;
}

.tb-newsletter-note {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 14px;
	padding-left: 18px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.55);
}

/* Core table block borders off; our own lines only. */
.tb-prose .wp-block-table td,
.tb-prose .wp-block-table th {
	border: 0;
	border-bottom: 1px solid var(--tb-line);
}

.tb-prose .wp-block-table thead {
	border-bottom: 0;
}

/* ==========================================================================
   Mobile fixes
   ========================================================================== */

@media (max-width: 960px) {
	.tb-nav-mobile-extra .tb-btn {
		width: 100%;
		margin-top: 8px;
		padding: 15px 20px;
		background: var(--tb-accent);
		color: #fff;
		font-size: 15px;
	}
}

@media (max-width: 760px) {
	.tb-newsletter-form {
		flex: none;
		width: 100%;
	}
}

@media (max-width: 640px) {
	/* Hero: everything fits the width, nothing scrolls sideways. */
	.tb-hero-inner {
		padding-top: 40px;
	}

	.tb-hero-chip {
		font-size: 13px;
	}

	.tb-hero-title {
		font-size: clamp(38px, 11vw, 52px);
		letter-spacing: -0.05em;
	}

	.tb-hero-lede {
		font-size: 16.5px;
	}

	.tb-hero-search {
		gap: 8px;
		padding: 6px 6px 6px 16px;
	}

	.tb-hero-search input {
		font-size: 16px;
	}

	.tb-hero-search .tb-btn {
		padding: 12px 16px;
		font-size: 14px;
	}

	.tb-hero-topics {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
		width: 100%;
		margin: 20px 0 0;
		padding: 0;
		overflow: visible;
	}

	.tb-hero-topics a {
		flex-direction: column;
		justify-content: center;
		gap: 6px;
		min-width: 0;
		padding: 12px 6px;
		border-radius: 16px;
		font-size: 13px;
		text-align: center;
	}

	.tb-hero-topics .tb-icon {
		width: 20px;
		height: 20px;
		color: var(--tb-accent);
	}

	/* Brands: a static wrapped list instead of a clipped slider. */
	.tb-marquee {
		align-items: center;
		padding: 26px var(--tb-gutter);
	}

	.tb-marquee-label {
		padding-left: 0;
	}

	.tb-marquee-track {
		-webkit-mask-image: none;
		mask-image: none;
	}

	.tb-marquee ul {
		flex-wrap: wrap;
		justify-content: center;
		gap: 14px 22px;
		width: 100%;
		padding: 0;
		animation: none;
	}

	.tb-marquee ul[aria-hidden] {
		display: none;
	}

	.tb-marquee li {
		font-size: 17px;
	}

	/* Category / format filters wrap instead of scrolling. */
	.tb-filters {
		flex-wrap: wrap;
		overflow: visible;
		gap: 6px;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
	}

	.tb-filters a {
		padding: 9px 15px;
		border: 1px solid var(--tb-line-2);
		background: #fff;
	}

	.tb-filters a[aria-current] {
		border-color: var(--tb-ink);
	}

	/* Page + article heads. */
	.tb-page-hero h1 {
		font-size: clamp(34px, 10vw, 46px);
	}

	.tb-article-title {
		font-size: clamp(30px, 8.6vw, 40px);
	}

	.tb-article-dek {
		font-size: 16.5px;
	}

	/* Tables become stacked cards, so no column is ever cut off. */
	.tb-prose .wp-block-table {
		overflow: visible;
		border: 0;
		background: none;
	}

	.tb-prose .wp-block-table table,
	.tb-prose .wp-block-table tbody,
	.tb-prose .wp-block-table tr,
	.tb-prose .wp-block-table td {
		display: block;
		width: 100%;
	}

	.tb-prose .wp-block-table thead {
		display: none;
	}

	.tb-prose .wp-block-table tr {
		margin-bottom: 12px;
		border: 1px solid var(--tb-line);
		border-radius: 16px;
		background: #fff;
		overflow: hidden;
	}

	.tb-prose .wp-block-table tbody tr:nth-child(even) td {
		background: #fff;
	}

	.tb-prose .wp-block-table td {
		display: grid;
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
		gap: 12px;
		padding: 11px 16px;
		font-size: 14.5px;
	}

	.tb-prose .wp-block-table td::before {
		content: attr(data-label);
		font-size: 12.5px;
		font-weight: 500;
		color: var(--tb-muted);
	}

	.tb-prose .wp-block-table td:first-child {
		display: block;
		padding: 13px 16px;
		background: var(--tb-soft) !important;
		font-size: 15.5px;
	}

	.tb-prose .wp-block-table td:first-child::before {
		content: none;
	}

	.tb-prose .wp-block-table tr td:last-child {
		border-bottom: 0;
	}

	/* Verdict, picks, specs. */
	.tb-verdict {
		padding: 14px;
		border-radius: 22px;
	}

	.tb-verdict-main {
		padding: 4px 6px 8px;
	}

	.tb-verdict-cta .tb-btn {
		width: 100%;
	}

	.tb-pick {
		padding: 18px;
		border-radius: 22px;
	}

	.tb-pick-head {
		gap: 14px;
	}

	.tb-pick-rank {
		width: 46px;
		height: 46px;
		border-radius: 14px;
		font-size: 17px;
	}

	.tb-pick-cta .tb-btn,
	.tb-prose p > .tb-btn {
		width: 100%;
	}

	.tb-specs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tb-author-box {
		flex-direction: column;
		gap: 12px;
	}

	/* Versus cards. */
	.tb-vs-body {
		padding: 22px;
	}

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

	/* Newsletter + footer. */
	.tb-newsletter {
		gap: 26px;
		padding: 28px 22px;
	}

	.tb-newsletter h2 {
		font-size: 34px;
	}

	.tb-newsletter .frm-fluent-form {
		border-radius: 20px;
	}

	.tb-newsletter .frm-fluent-form fieldset {
		flex-direction: column;
	}

	.tb-newsletter .ff-btn-submit,
	.tb-newsletter .ff-btn-submit:hover {
		width: 100%;
		border-radius: 14px !important;
	}

	.tb-newsletter .text-danger {
		position: static;
		display: block;
		padding: 4px 18px 8px;
	}

	.tb-newsletter-note {
		padding-left: 4px;
	}

	.tb-footer-word {
		margin-bottom: 0;
		padding-bottom: 10px;
		font-size: 18vw;
		line-height: 1 !important;
	}

	/* Search dialog. */
	.tb-search {
		padding-top: 80px;
	}

	.tb-searchform {
		padding-left: 14px;
	}

	.tb-searchform input {
		font-size: 16px;
	}

	.tb-searchform .tb-btn {
		padding: 11px 14px;
	}

	/* Rankings. */
	.tb-rank-score span {
		display: none;
	}
}

@media (max-width: 380px) {
	.tb-hero-topics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tb-brand-name {
		font-size: 18px;
	}
}

/* ==========================================================================
   AffiliateX blocks — TechBeachon skin
   AffiliateX prints per-block inline styles with ID selectors, so the
   colour/border rules here need !important to win.
   ========================================================================== */

.tb-prose [class*="wp-block-affiliatex"] {
	margin-top: 2em !important;
	margin-bottom: 0 !important;
	font-family: var(--tb-sans) !important;
}

.tb-prose [class*="wp-block-affiliatex"] h3,
.tb-prose [class*="wp-block-affiliatex"] h5,
.tb-prose [class*="wp-block-affiliatex"] h6,
.tb-prose [class*="wp-block-affiliatex"] p {
	margin: 0;
	font-family: var(--tb-sans) !important;
}

/* Shared list look: replace plugin icons with small ticks. */
.tb-prose .affiliatex-list {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.tb-prose .affiliatex-list li {
	position: relative;
	display: block !important;
	margin: 0 !important;
	padding: 0 0 0 26px !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
	color: var(--tb-text) !important;
}

.tb-prose .affiliatex-list li + li {
	margin-top: 9px !important;
}

.tb-prose .affiliatex-list li > i {
	display: none !important;
}

.tb-prose .affiliatex-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 5px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--tb-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%23e11d2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.tb-prose .affiliatex-list li::marker {
	content: none;
}

/* Buttons */
.tb-prose a.affiliatex-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 22px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--tb-ink) !important;
	color: #fff !important;
	font: 600 14.5px/1 var(--tb-sans) !important;
	text-decoration: none !important;
	box-shadow: 0 8px 20px -10px rgba(10, 10, 11, 0.6) !important;
	transition: background 0.2s, transform 0.2s var(--tb-ease) !important;
}

.tb-prose a.affiliatex-button:hover {
	background: var(--tb-accent) !important;
	transform: translateY(-1px);
}

.tb-prose a.affiliatex-button .affiliatex-btn {
	color: inherit !important;
	font: inherit !important;
}

.tb-prose a.affiliatex-button .button-icon {
	font-size: 12px;
}

/* ---- Single product box ---- */
.tb-prose .affx-single-product-wrapper {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

.tb-prose .affx-sp-inner {
	position: relative;
	padding: 20px !important;
	border: 1px solid var(--tb-line) !important;
	border-radius: 24px !important;
	background: #fff !important;
	box-shadow: var(--tb-shadow) !important;
}

.tb-prose .affx-sp-content {
	display: grid !important;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 26px;
	align-items: center;
}

.tb-prose .affx-sp-img-wrapper {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: none !important;
	border-radius: 18px;
	overflow: hidden;
	background: var(--tb-soft);
}

.tb-prose .affx-sp-img-wrapper img {
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0 !important;
}

.tb-prose .affx-sp-content-wrapper {
	width: 100% !important;
	padding: 6px 6px 6px 0 !important;
}

.tb-prose .affx-sp-ribbon {
	position: absolute !important;
	top: 32px !important;
	left: 32px !important;
	z-index: 2;
	margin: 0 !important;
}

.tb-prose .affx-sp-ribbon-title {
	padding: 7px 12px !important;
	border-radius: 999px !important;
	background: var(--tb-accent) !important;
	color: #fff !important;
	font: 700 11px/1 var(--tb-sans) !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase;
}

.tb-prose .affx-sp-ribbon-title::before,
.tb-prose .affx-sp-ribbon-title::after {
	display: none !important;
}

.tb-prose .affx-sp-content .title-wrapper {
	display: flex !important;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 16px !important;
	padding: 0 0 16px !important;
	border-bottom: 1px solid var(--tb-line) !important;
}

.tb-prose .affx-single-product-title {
	font-size: 23px !important;
	font-weight: 600 !important;
	line-height: 1.15 !important;
	letter-spacing: -0.035em !important;
	color: var(--tb-ink) !important;
}

.tb-prose .affx-single-product-subtitle {
	margin-top: 6px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase;
	color: var(--tb-accent) !important;
}

.tb-prose .affx-rating-box.affx-rating-number,
.tb-prose .affx-verdict-rating-number {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 72px !important;
	min-width: 72px;
	height: 72px;
	padding: 0 !important;
	border-radius: 18px !important;
	background: var(--tb-ink) !important;
	overflow: hidden;
}

.tb-prose .affx-rating-box .num,
.tb-prose .affx-verdict-rating-number .num {
	width: auto !important;
	padding: 0 !important;
	background: none !important;
	color: #fff !important;
	font: 700 25px/1 var(--tb-sans) !important;
	letter-spacing: -0.04em;
}

.tb-prose .affx-rating-box .num::after,
.tb-prose .affx-verdict-rating-number .num::after {
	display: none !important;
}

.tb-prose .affx-rating-box .label,
.tb-prose .affx-verdict-rating-number .rich-content {
	width: auto !important;
	margin-top: 5px;
	padding: 0 !important;
	background: none !important;
	color: rgba(255, 255, 255, 0.6) !important;
	font: 600 9.5px/1 var(--tb-sans) !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tb-prose .affx-single-product-content {
	margin: 0 0 20px !important;
}

.tb-prose .affx-single-product-wrapper .button-wrapper {
	margin: 0 !important;
}

.tb-prose .affx-single-product-wrapper .affx-btn-inner {
	margin: 0 !important;
}

/* ---- Pros & cons ---- */
.tb-prose .affx-pros-cons-inner-wrapper {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 12px !important;
	margin: 0 !important;
}

.tb-prose .affx-pros-inner,
.tb-prose .affx-cons-inner {
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--tb-line) !important;
	border-radius: 20px !important;
	background: #fff !important;
	overflow: hidden;
}

.tb-prose .affiliatex-block-pros,
.tb-prose .affiliatex-block-cons {
	display: flex !important;
	align-items: center;
	gap: 10px;
	margin: 0 !important;
	padding: 16px 20px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--tb-line) !important;
	border-radius: 0 !important;
	background: var(--tb-soft) !important;
}

.tb-prose .affiliatex-block-pros i,
.tb-prose .affiliatex-block-cons i {
	display: none !important;
}

.tb-prose .affiliatex-block-pros .affiliatex-title,
.tb-prose .affiliatex-block-cons .affiliatex-title {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--tb-ink) !important;
	font: 700 12px/1 var(--tb-sans) !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase;
}

.tb-prose .affiliatex-block-pros .affiliatex-title::before,
.tb-prose .affiliatex-block-cons .affiliatex-title::before {
	content: "+";
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #dcfce7;
	color: var(--tb-good);
	font-size: 14px;
	letter-spacing: 0;
}

.tb-prose .affiliatex-block-cons .affiliatex-title::before {
	content: "–";
	background: #ffe4e6;
	color: var(--tb-bad);
}

.tb-prose .affiliatex-pros,
.tb-prose .affiliatex-cons {
	margin: 0 !important;
	padding: 18px 20px 20px !important;
	border: 0 !important;
	background: #fff !important;
}

.tb-prose .affiliatex-pros .affiliatex-list li::before {
	background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.tb-prose .affiliatex-cons .affiliatex-list li::before {
	background: #ffe4e6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8h6' fill='none' stroke='%23e11d48' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---- Specifications ---- */
.tb-prose .affx-specification-block-container {
	margin: 0 !important;
	border: 1px solid var(--tb-line) !important;
	border-radius: 20px !important;
	background: #fff !important;
	overflow: hidden;
}

.tb-prose .affx-specification-table {
	width: 100%;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse;
}

.tb-prose .affx-specification-table th,
.tb-prose .affx-specification-table td {
	padding: 14px 20px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--tb-line) !important;
	background: #fff !important;
	font-size: 15px !important;
	text-align: left;
}

.tb-prose .affx-specification-table th.affx-spec-title {
	background: var(--tb-soft) !important;
}

.tb-prose .affx-specification-title {
	font: 700 12px/1 var(--tb-sans) !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase;
	color: var(--tb-ink) !important;
}

.tb-prose .affx-specification-table tr:last-child td {
	border-bottom: 0 !important;
}

.tb-prose .affx-spec-label {
	width: 40%;
	color: var(--tb-muted) !important;
	font-weight: 500 !important;
}

.tb-prose .affx-spec-value {
	color: var(--tb-ink) !important;
	font-weight: 600 !important;
}

/* ---- Notice ---- */
.tb-prose .affx-notice-inner-wrapper {
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 20px !important;
	background: var(--tb-soft) !important;
	box-shadow: none !important;
	overflow: hidden;
}

.tb-prose .affx-notice-inner-wrapper::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--tb-accent);
}

.tb-prose .affiliatex-notice-title {
	margin: 0 !important;
	padding: 20px 24px 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--tb-accent) !important;
	font: 700 12px/1 var(--tb-sans) !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase;
	text-align: left !important;
}

.tb-prose .affiliatex-notice-title i {
	display: none !important;
}

.tb-prose .affiliatex-notice-content {
	margin: 0 !important;
	padding: 14px 24px 22px !important;
	border: 0 !important;
	background: none !important;
}

.tb-prose .affiliatex-notice-content .affiliatex-list li::before {
	background-color: #fff;
}

/* ---- Product table ---- */
.tb-prose .affx-pdt-table-container--free,
.tb-prose .affx-pdt-table-wrapper {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	overflow: visible !important;
}

.tb-prose .affx-pdt-table {
	width: 100%;
	margin: 0 !important;
	border: 1px solid var(--tb-line) !important;
	border-radius: 20px;
	border-collapse: separate !important;
	border-spacing: 0;
	background: #fff !important;
	overflow: hidden;
}

.tb-prose .affx-pdt-table thead td {
	padding: 14px 18px !important;
	border: 0 !important;
	background: var(--tb-soft) !important;
}

.tb-prose .affx-pdt-table thead td span {
	color: var(--tb-muted) !important;
	font: 600 11.5px/1.2 var(--tb-sans) !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase;
}

.tb-prose .affx-pdt-table tbody td {
	padding: 18px !important;
	border: 0 !important;
	border-top: 1px solid var(--tb-line) !important;
	background: #fff !important;
	vertical-align: middle !important;
}

.tb-prose .affx-pdt-table .affx-img-col {
	width: 150px;
}

.tb-prose .affx-pdt-img-container {
	position: relative;
	padding: 0 !important;
}

.tb-prose .affx-pdt-img-wrapper {
	border-radius: 14px;
	overflow: hidden;
	background: var(--tb-soft);
}

.tb-prose .affx-pdt-img-wrapper img {
	width: 100% !important;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0 !important;
}

.tb-prose .affx-pdt-counter {
	position: absolute !important;
	top: 8px !important;
	left: 8px !important;
	z-index: 2;
	display: grid !important;
	place-items: center;
	width: 28px !important;
	height: 28px !important;
	padding: 0 !important;
	border: 2px solid #fff !important;
	border-radius: 50% !important;
	background: var(--tb-ink) !important;
	color: #fff !important;
	font: 700 12px/1 var(--tb-sans) !important;
}

.tb-prose .affx-pdt-ribbon {
	position: absolute !important;
	left: 8px !important;
	right: auto !important;
	top: auto !important;
	bottom: 8px !important;
	z-index: 2;
	padding: 5px 9px !important;
	border-radius: 999px !important;
	background: var(--tb-accent) !important;
	color: #fff !important;
	font: 700 9.5px/1 var(--tb-sans) !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.tb-prose .affx-pdt-ribbon::before,
.tb-prose .affx-pdt-ribbon::after {
	display: none !important;
}

.tb-prose .star-rating-single-wrap {
	position: absolute !important;
	top: 8px !important;
	right: 8px !important;
	left: auto !important;
	display: inline-flex !important;
	align-items: center;
	gap: 3px;
	width: auto !important;
	height: auto !important;
	padding: 4px 8px !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, 0.95) !important;
	color: var(--tb-ink) !important;
	font: 700 11.5px/1 var(--tb-sans) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tb-prose .star-rating-single-wrap::before {
	content: "★";
	color: #f59e0b;
}

.tb-prose .affx-pdt-name {
	font-size: 17px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	letter-spacing: -0.02em !important;
	color: var(--tb-ink) !important;
}

.tb-prose .affx-pdt-table a.affiliatex-button {
	padding: 11px 16px !important;
	font-size: 13.5px !important;
	white-space: nowrap;
}

/* ---- Product comparison ---- */
.tb-prose .affx-product-comparison-block-container {
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--tb-line) !important;
	border-radius: 20px !important;
	background: #fff !important;
	overflow: hidden;
}

.tb-prose .affx-product-comparison-block-container .affx-versus-table-wrap {
	overflow-x: auto;
}

.tb-prose .affx-product-comparison-block-container table {
	width: 100%;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse;
}

.tb-prose .affx-product-comparison-block-container th,
.tb-prose .affx-product-comparison-block-container td {
	padding: 16px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--tb-line) !important;
	border-left: 1px solid var(--tb-line) !important;
	background: #fff !important;
	font-size: 15px !important;
	text-align: center;
	vertical-align: middle;
}

.tb-prose .affx-product-comparison-block-container th:first-child,
.tb-prose .affx-product-comparison-block-container td:first-child {
	border-left: 0 !important;
	text-align: left;
}

.tb-prose .affx-product-comparison-block-container thead th {
	position: relative;
	padding: 24px 18px !important;
	background: #fff !important;
	vertical-align: top;
}

.tb-prose .affx-product-comparison-block-container thead th.data-label {
	background: var(--tb-soft) !important;
}

.tb-prose .affx-product-comparison-block-container tbody td:first-child {
	background: var(--tb-soft) !important;
	color: var(--tb-muted) !important;
	font-weight: 500 !important;
}

.tb-prose .affx-product-comparison-block-container tbody tr:last-child td {
	border-bottom: 0 !important;
}

.tb-prose .affx-pc-ribbon {
	position: absolute !important;
	top: 12px !important;
	left: 50% !important;
	z-index: 2;
	transform: translateX(-50%);
	padding: 6px 11px !important;
	border-radius: 999px !important;
	background: var(--tb-accent) !important;
	color: #fff !important;
	font: 700 10.5px/1 var(--tb-sans) !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.tb-prose .affx-pc-ribbon::before,
.tb-prose .affx-pc-ribbon::after {
	display: none !important;
}

.tb-prose .affx-versus-product-img {
	margin: 18px auto 14px !important;
	border-radius: 14px;
	overflow: hidden;
	background: var(--tb-soft);
}

.tb-prose .affx-versus-product-img img {
	width: 100% !important;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0 !important;
}

.tb-prose .affx-comparison-title {
	font-size: 18px !important;
	font-weight: 600 !important;
	letter-spacing: -0.02em !important;
	color: var(--tb-ink) !important;
}

.tb-prose .affx-rating-wrap {
	display: flex;
	justify-content: center;
	margin: 10px 0 14px !important;
}

.tb-prose .affx-rating-wrap .affx-star {
	width: 17px !important;
	height: 17px !important;
	color: #f59e0b !important;
}

.tb-prose .affx-rating-wrap .affx-star-inactive {
	color: #e4e4e7 !important;
}

.tb-prose .affx-product-comparison-block-container .affx-btn-wrap a.affiliatex-button {
	width: 100%;
	padding: 12px 14px !important;
	font-size: 13.5px !important;
}

/* ---- Versus line ---- */
.tb-prose .affx-versus-line-block-container {
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--tb-line) !important;
	border-radius: 20px !important;
	background: #fff !important;
	overflow: hidden;
}

.tb-prose .affx-versus-line-block-container table {
	width: 100%;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse;
}

.tb-prose .affx-versus-line-block-container td {
	padding: 14px 18px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--tb-line) !important;
	background: #fff !important;
	color: var(--tb-ink) !important;
	font-size: 15px !important;
	font-weight: 600;
	text-align: center;
	vertical-align: middle;
}

.tb-prose .affx-versus-line-block-container tr:last-child td {
	border-bottom: 0 !important;
}

.tb-prose .affx-versus-line-block-container td.data-label {
	width: 30%;
	background: var(--tb-soft) !important;
	text-align: left;
}

.tb-prose .affx-versus-title {
	color: var(--tb-muted) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
}

.tb-prose .affx-vs-icon {
	display: inline-grid !important;
	place-items: center;
	width: 30px !important;
	height: 30px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: var(--tb-accent) !important;
	color: #fff !important;
	font: 700 10px/1 var(--tb-sans) !important;
	letter-spacing: 0.04em;
}

/* ---- Verdict ---- */
.tb-prose .affblk-verdict-wrapper > div {
	margin: 0 !important;
	padding: 26px !important;
	border: 1px solid var(--tb-line) !important;
	border-top: 4px solid var(--tb-accent) !important;
	border-radius: 22px !important;
	background: #fff !important;
	box-shadow: var(--tb-shadow) !important;
}

.tb-prose .affblk-verdict-wrapper .main-text-holder {
	display: flex !important;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: flex-end;
	gap: 22px;
}

.tb-prose .affblk-verdict-wrapper .verdict-title {
	font-size: 22px !important;
	font-weight: 600 !important;
	letter-spacing: -0.035em !important;
	color: var(--tb-ink) !important;
}

.tb-prose .affblk-verdict-wrapper .verdict-content {
	margin-top: 6px !important;
	font-size: 16px !important;
	line-height: 1.6 !important;
	color: var(--tb-body) !important;
}

.tb-prose .affx-verdict-rating-number {
	width: 84px !important;
	min-width: 84px;
	height: 84px;
	margin: 0 !important;
}

.tb-prose .affx-verdict-rating-number::after {
	display: none !important;
}

/* ---- CTA ---- */
.tb-prose .affblk-cta-wrapper > div {
	position: relative;
	margin: 0 !important;
	padding: clamp(26px, 4vw, 40px) !important;
	border: 0 !important;
	border-radius: 24px !important;
	background: var(--tb-ink) !important;
	background-image: none !important;
	text-align: left !important;
	overflow: hidden;
}

.tb-prose .affblk-cta-wrapper .content-wrapper {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.tb-prose .affliatex-cta-title {
	font-size: clamp(22px, 2.6vw, 28px) !important;
	font-weight: 600 !important;
	letter-spacing: -0.04em !important;
	line-height: 1.15 !important;
	color: #fff !important;
	text-align: left !important;
}

.tb-prose .affliatex-cta-content {
	margin-top: 8px !important;
	font-size: 15.5px !important;
	color: rgba(255, 255, 255, 0.65) !important;
	text-align: left !important;
}

.tb-prose .affblk-cta-wrapper .button-wrapper {
	margin: 0 !important;
}

.tb-prose .affblk-cta-wrapper a.affiliatex-button {
	background: var(--tb-accent) !important;
	box-shadow: none !important;
}

.tb-prose .affblk-cta-wrapper a.affiliatex-button:hover {
	background: #fff !important;
	color: var(--tb-ink) !important;
}

/* ---- In-article photos with credit ---- */
.tb-prose .tb-figure {
	margin: 2em 0 0;
}

.tb-prose .tb-figure img {
	width: 100%;
	border-radius: 20px;
	background: var(--tb-soft);
}

.tb-prose .tb-figure figcaption {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 16px;
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--tb-muted);
}

.tb-prose .tb-figure figcaption .tb-credit {
	font-size: 11.5px;
	color: var(--tb-faint);
}

.tb-prose .tb-figure figcaption .tb-credit a {
	color: inherit !important;
	font-weight: 400 !important;
	text-decoration: underline !important;
	text-decoration-color: var(--tb-line-2) !important;
}

.tb-prose .tb-figure--pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.tb-prose .tb-figure--pair figure {
	margin: 0;
}

.tb-prose .tb-figure--pair img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.tb-article-credit {
	margin: 10px 0 0;
	font-size: 11.5px;
	color: var(--tb-faint);
	text-align: right;
}

.tb-article-credit a {
	text-decoration: underline;
	text-decoration-color: var(--tb-line-2);
}

/* ---- AffiliateX on phones ---- */
@media (max-width: 640px) {
	.tb-prose .affx-sp-content {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.tb-prose .affx-sp-inner {
		padding: 14px !important;
		border-radius: 22px !important;
	}

	.tb-prose .affx-sp-content-wrapper {
		padding: 0 4px 4px !important;
	}

	.tb-prose .affx-sp-ribbon {
		top: 26px !important;
		left: 26px !important;
	}

	.tb-prose .affx-single-product-wrapper a.affiliatex-button,
	.tb-prose .affblk-cta-wrapper a.affiliatex-button {
		width: 100%;
	}

	.tb-prose .affx-pros-cons-inner-wrapper {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Product table: each row becomes a card. */
	.tb-prose .affx-pdt-table,
	.tb-prose .affx-pdt-table tbody,
	.tb-prose .affx-pdt-table tr,
	.tb-prose .affx-pdt-table td {
		display: block !important;
		width: 100% !important;
	}

	.tb-prose .affx-pdt-table {
		border: 0 !important;
		border-radius: 0;
		background: none !important;
		overflow: visible;
	}

	.tb-prose .affx-pdt-table thead {
		display: none !important;
	}

	.tb-prose .affx-pdt-table tbody tr {
		position: relative;
		margin-bottom: 14px;
		padding: 14px;
		border: 1px solid var(--tb-line);
		border-radius: 20px;
		background: #fff;
	}

	.tb-prose .affx-pdt-table tbody td {
		padding: 8px 0 !important;
		border: 0 !important;
		text-align: left !important;
	}

	.tb-prose .affx-pdt-table tbody td::before {
		display: none !important;
	}

	.tb-prose .affx-pdt-table .affx-img-col {
		padding-top: 0 !important;
		padding-bottom: 14px !important;
	}

	.tb-prose .affx-pdt-table a.affiliatex-button {
		width: 100%;
	}

	.tb-prose .affx-product-comparison-block-container th,
	.tb-prose .affx-product-comparison-block-container td {
		padding: 12px 10px !important;
		font-size: 13.5px !important;
	}

	.tb-prose .affx-product-comparison-block-container thead th {
		padding: 38px 10px 16px !important;
	}

	.tb-prose .affx-comparison-title {
		font-size: 15px !important;
	}

	.tb-prose .affx-versus-line-block-container td {
		padding: 12px 8px !important;
		font-size: 13.5px !important;
	}

	.tb-prose .affx-versus-line-block-container td.data-label {
		width: 34%;
		padding-left: 14px !important;
	}

	.tb-prose .affblk-verdict-wrapper .main-text-holder {
		flex-direction: column-reverse;
		align-items: flex-start;
		gap: 16px;
	}

	.tb-prose .tb-figure--pair {
		grid-template-columns: minmax(0, 1fr);
	}
}

.tb-prose .wp-block-affiliatex-verdict,
.tb-prose .affblk-verdict-wrapper {
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

.tb-prose .affx-versus-line-block-container.wp-block-affiliatex-versus-line {
	margin-top: 2em !important;
}

.tb-prose .affx-versus-line-block-container .affx-versus-table-wrap,
.tb-prose .affx-product-comparison-block-container .affx-versus-table-wrap {
	margin: 0 !important;
	padding: 0 !important;
}

.tb-prose .affblk-cta-wrapper .content-wrapper {
	flex-wrap: nowrap;
}

.tb-prose .affblk-cta-wrapper .content-wrap {
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
}

.tb-prose .affblk-cta-wrapper .button-wrapper {
	flex: none;
	width: auto !important;
	justify-content: flex-end !important;
}

@media (max-width: 640px) {
	.tb-prose .affblk-cta-wrapper .content-wrapper {
		flex-direction: column;
		align-items: stretch;
	}
}

/* ==========================================================================
   Article media: featured image modes, core Image + Gallery blocks, credits
   ========================================================================== */

.tb-article-figure--contain img {
	width: 100%;
	height: min(62vh, 560px);
	aspect-ratio: auto;
	padding: clamp(16px, 3vw, 36px);
	object-fit: contain;
	background: var(--tb-soft);
}

.tb-article-credit {
	margin: 10px 4px 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--tb-faint);
	text-align: right;
}

.tb-article-credit a {
	color: var(--tb-muted);
	text-decoration: underline;
	text-decoration-color: var(--tb-line-2);
	text-underline-offset: 2px;
}

.tb-prose .wp-block-image {
	margin-top: 2em;
	margin-bottom: 0;
}

.tb-prose .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 560px;
	object-fit: contain;
	border-radius: 20px;
	background: var(--tb-soft);
}

.tb-prose .wp-block-image figcaption,
.tb-prose .wp-block-gallery .blocks-gallery-caption {
	margin: 10px 2px 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--tb-muted);
	text-align: left;
}

.tb-prose .tb-credit {
	display: block;
	margin-top: 2px;
	font-size: 11.5px;
	color: var(--tb-faint);
}

.tb-prose .tb-credit a {
	color: inherit !important;
	font-weight: 400 !important;
	text-decoration: underline !important;
	text-decoration-color: var(--tb-line-2) !important;
}

/* Gallery */
.tb-prose .wp-block-gallery {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px !important;
	margin-top: 2em;
}

.tb-prose .wp-block-gallery.has-nested-images figure.wp-block-image {
	width: auto !important;
	margin: 0 !important;
	flex-direction: column;
}

.tb-prose .wp-block-gallery.has-nested-images figure.wp-block-image img {
	width: 100% !important;
	height: 260px !important;
	max-height: none;
	padding: 14px;
	object-fit: contain !important;
	border-radius: 18px;
	background: var(--tb-soft);
}

.tb-prose .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	position: static !important;
	max-height: none !important;
	margin: 8px 2px 0 !important;
	padding: 0 !important;
	background: none !important;
	color: var(--tb-muted) !important;
	font-size: 13px !important;
	text-align: left !important;
	text-shadow: none !important;
	overflow: visible !important;
}

.tb-prose .wp-block-gallery.has-nested-images figure.wp-block-image figcaption::before {
	display: none;
}

.tb-prose .wp-block-gallery .blocks-gallery-caption {
	grid-column: 1 / -1;
	margin-top: 0;
}

/* Cards: portrait product photos shouldn't crop awkwardly */
.tb-card-media img,
.tb-tile > img,
.tb-vs-media img,
.tb-rank-thumb img {
	object-position: center 40%;
}

@media (max-width: 640px) {
	.tb-article-figure--contain img {
		height: 340px;
	}

	.tb-article-credit {
		text-align: left;
	}

	.tb-prose .wp-block-gallery.has-nested-images figure.wp-block-image img {
		height: 220px !important;
	}
}

/* Product photos: show the whole product, never crop it. */
.tb-prose .affx-sp-img-wrapper img,
.tb-prose .affx-pdt-img-wrapper img,
.tb-prose .affx-versus-product-img img {
	padding: 10px;
	object-fit: contain !important;
	background: var(--tb-soft);
}

.tb-prose .wp-block-gallery figure.wp-block-image,
.tb-prose .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
}

.tb-prose .wp-block-gallery figure.wp-block-image img,
.tb-prose .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
	flex: none !important;
	width: 100% !important;
	height: 250px !important;
	max-height: 250px !important;
	aspect-ratio: auto !important;
	padding: 14px;
	object-fit: contain !important;
}

.tb-prose .wp-block-image:not(.wp-block-gallery .wp-block-image) img {
	max-height: 460px;
	padding: 18px;
}

/* ==========================================================================
   All Articles page
   ========================================================================== */

.tb-arch-hero h1 em {
	font-style: normal;
}

.tb-arch-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 44px;
	margin: 36px 0 0;
	padding-top: 26px;
	border-top: 1px solid var(--tb-line);
}

.tb-arch-stats div {
	display: flex;
	flex-direction: column-reverse;
	gap: 8px;
}

.tb-arch-stats dt {
	font: 700 36px/1 var(--tb-sans);
	letter-spacing: -0.05em;
	color: var(--tb-ink);
}

.tb-arch-stats dt.tb-arch-date {
	padding-top: 10px;
	font-size: 20px;
	letter-spacing: -0.03em;
}

.tb-arch-stats dd {
	margin: 0;
	font: 600 11.5px/1 var(--tb-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tb-muted);
}

.tb-arch {
	padding-top: 48px;
}

.tb-arch-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.tb-arch-search {
	display: flex;
	flex: 1 1 320px;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 18px;
	border: 1px solid var(--tb-line-2);
	border-radius: 999px;
	background: #fff;
	color: var(--tb-faint);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.tb-arch-search:focus-within {
	border-color: var(--tb-ink);
	box-shadow: 0 0 0 4px rgba(10, 10, 11, 0.06);
}

.tb-arch-search input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--tb-ink);
	font: 400 16px var(--tb-sans);
}

.tb-arch-sort {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 8px 0 18px;
	border: 1px solid var(--tb-line-2);
	border-radius: 999px;
	background: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tb-muted);
}

.tb-arch-sort select {
	height: 38px;
	padding: 0 34px 0 12px;
	border: 0;
	border-radius: 999px;
	background: var(--tb-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%230a0a0b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 14px no-repeat;
	color: var(--tb-ink);
	font: 500 14.5px var(--tb-sans);
	letter-spacing: 0;
	text-transform: none;
	appearance: none;
	cursor: pointer;
}

.tb-arch-filters {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 20px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--tb-line);
}

.tb-arch-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tb-arch-group button {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 15px;
	border: 1px solid var(--tb-line-2);
	border-radius: 999px;
	background: #fff;
	color: var(--tb-body);
	font: 500 14px/1 var(--tb-sans);
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.tb-arch-group button .tb-icon {
	color: var(--tb-faint);
}

.tb-arch-group button:hover {
	border-color: var(--tb-ink);
	color: var(--tb-ink);
}

.tb-arch-group button.is-active {
	border-color: var(--tb-ink);
	background: var(--tb-ink);
	color: #fff;
}

.tb-arch-group button.is-active .tb-icon {
	color: var(--tb-accent);
}

.tb-arch-group--formats button {
	padding: 7px 13px;
	font-size: 13px;
}

.tb-arch-count {
	margin: 22px 0 28px;
	font: 600 12px/1 var(--tb-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tb-muted);
}

.tb-arch-count span {
	color: var(--tb-accent);
}

.tb-arch-item {
	display: flex;
}

.tb-arch-item[hidden] {
	display: none;
}

.tb-arch-item > .tb-card {
	flex: 1;
}

.tb-arch-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 64px 24px;
	border: 1px dashed var(--tb-line-2);
	border-radius: var(--tb-r-lg);
	text-align: center;
}

.tb-arch-empty[hidden] {
	display: none;
}

.tb-arch-empty-icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 18px;
	background: var(--tb-soft);
	color: var(--tb-muted);
}

.tb-arch-empty h2 {
	font-size: 24px;
}

.tb-arch-empty p {
	color: var(--tb-muted);
}

/* Footer: "All articles" link with count */
.tb-footer-col .tb-footer-all a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--tb-ink);
}

.tb-footer-col .tb-footer-all span {
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--tb-accent);
	color: #fff;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.2;
}

@media (max-width: 640px) {
	.tb-arch-stats {
		gap: 18px 28px;
	}

	.tb-arch-stats dt {
		font-size: 28px;
	}

	.tb-arch-sort {
		flex: 1 1 100%;
		justify-content: space-between;
	}

	.tb-arch-group {
		gap: 6px;
	}

	.tb-arch-group button {
		padding: 8px 12px;
		font-size: 13px;
	}
}

/* AffiliateX product box without a photo: full-width text card. */
.tb-prose .affx-sp-content:not(:has(.affx-sp-img-wrapper)) {
	grid-template-columns: minmax(0, 1fr);
}

.tb-prose .affx-sp-content:not(:has(.affx-sp-img-wrapper)) .affx-sp-content-wrapper {
	padding: 6px 6px 4px !important;
}

.tb-prose .affx-sp-content:not(:has(.affx-sp-img-wrapper)) .affiliatex-list {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 24px;
}

.tb-prose .affx-sp-content:not(:has(.affx-sp-img-wrapper)) .affiliatex-list li + li {
	margin-top: 0 !important;
}

/* Ranking table without photos: show the rank number beside each name. */
.tb-prose .affx-pdt-table:not(:has(.affx-img-col)) tbody {
	counter-reset: tb-rank;
}

.tb-prose .affx-pdt-table:not(:has(.affx-img-col)) tbody tr {
	counter-increment: tb-rank;
}

.tb-prose .affx-pdt-table:not(:has(.affx-img-col)) .affx-pdt-name {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tb-prose .affx-pdt-table:not(:has(.affx-img-col)) .affx-pdt-name::before {
	content: counter(tb-rank);
	display: grid;
	place-items: center;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--tb-ink);
	color: #fff;
	font: 700 13px/1 var(--tb-sans);
}

.tb-prose .affx-pdt-table:not(:has(.affx-img-col)) tbody tr:first-child .affx-pdt-name::before {
	background: var(--tb-accent);
}

@media (max-width: 640px) {
	.tb-prose .affx-sp-content:not(:has(.affx-sp-img-wrapper)) .affiliatex-list {
		grid-template-columns: minmax(0, 1fr);
	}
}
