/* ==========================================================================
   TopBlog News — main stylesheet
   Tokens mirror the Stitch design system "Editorial Affiliate & Tech Intelligence".
   ========================================================================== */

:root {
	--c-primary: #0041a2;
	--c-primary-500: #0b57d0;
	--c-primary-100: #dae2ff;
	--c-secondary: #006c4a;
	--c-secondary-hover: #047857;
	--c-secondary-100: #ecfdf5;
	--c-amber: #f59e0b;
	--c-tertiary: #865400;
	--c-error: #ba1a1a;

	--c-bg: #f8f9ff;
	--c-surface: #ffffff;
	--c-surface-low: #eff4ff;
	--c-surface-mid: #e6eeff;
	--c-surface-high: #dee9fc;
	--c-text: #121c2a;
	--c-text-2: #424654;
	--c-muted: #6b7280;
	--c-border: #e5e7eb;
	--c-outline: #c3c6d6;
	--c-dark: #1f2937;

	--f-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
	--f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--r-sm: 0.25rem;
	--r-md: 0.5rem;
	--r-lg: 0.75rem;
	--r-xl: 1rem;
	--r-full: 9999px;

	--shadow-sm: 0 1px 2px rgba(18, 28, 42, 0.06);
	--shadow-md: 0 4px 16px -4px rgba(18, 28, 42, 0.1), 0 1px 3px rgba(18, 28, 42, 0.05);
	--shadow-lg: 0 18px 40px -16px rgba(11, 87, 208, 0.35);

	--container: 1120px;
	--gutter: 1.5rem;
	--header-h: 72px;
}

html.dark {
	--c-primary: #b2c5ff;
	--c-primary-500: #5b8def;
	--c-primary-100: #1c2b4d;
	--c-secondary: #2fbf88;
	--c-secondary-hover: #34d399;
	--c-secondary-100: #0f2b22;
	--c-tertiary: #ffb95f;

	--c-bg: #0d131d;
	--c-surface: #151d2a;
	--c-surface-low: #1a2333;
	--c-surface-mid: #1f2a3d;
	--c-surface-high: #263247;
	--c-text: #e8eef9;
	--c-text-2: #c3c9d6;
	--c-muted: #94a0b4;
	--c-border: #263247;
	--c-outline: #364259;

	--shadow-md: 0 4px 16px -4px rgba(0, 0, 0, 0.5);
	--shadow-lg: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
	color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
	margin: 0;
	overflow-x: clip; /* safety net: a stray wide element must not widen the mobile viewport */
	background: var(--c-bg);
	color: var(--c-text);
	font: 400 14px/1.5 var(--f-body);
	-webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-primary-500); }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--f-head); color: var(--c-text); letter-spacing: -0.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
code, kbd { font-family: var(--f-mono); }
:focus-visible { outline: 2px solid var(--c-primary-500); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	z-index: 1000; top: 8px; left: 8px;
	padding: 0.5rem 1rem;
	background: var(--c-surface);
	border-radius: var(--r-md);
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* Material Symbols */
.ms {
	font-family: "Material Symbols Outlined";
	font-weight: normal;
	font-style: normal;
	font-size: 1.15em;
	line-height: 1;
	display: inline-block;
	vertical-align: -0.2em;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	direction: ltr;
	-webkit-font-feature-settings: "liga";
	font-feature-settings: "liga";
	font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
	user-select: none;
	flex-shrink: 0;
}
.ms--fill { font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24; }

/* Utilities */
.text-primary { color: var(--c-primary-500) !important; }
.text-secondary { color: var(--c-secondary) !important; }
.text-amber { color: var(--c-amber) !important; }
.text-muted { color: var(--c-muted) !important; }
.label-caps { font-size: 11px; line-height: 14px; letter-spacing: 0.06em; font-weight: 700; text-transform: uppercase; color: var(--c-text-2); display: inline-flex; align-items: center; gap: 0.35rem; }
.label-sm { font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 0.3rem; }
.clamp-2, .clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-2 { -webkit-line-clamp: 2; }
.clamp-3 { -webkit-line-clamp: 3; }
.scroll-x { display: flex; gap: 0.6rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.scroll-x::-webkit-scrollbar { display: none; }

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
	padding: 0.6rem 1.1rem;
	border: 1px solid transparent;
	border-radius: var(--r-md);
	font: 700 13px/1.2 var(--f-body);
	white-space: nowrap;
	transition: background-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn--cta { background: var(--c-secondary); color: #fff; box-shadow: 0 6px 14px -8px rgba(0, 108, 74, .8); }
.btn--cta:hover { background: var(--c-secondary-hover); color: #fff; }
.btn--primary { background: var(--c-primary-500); color: #fff; }
.btn--primary:hover { background: var(--c-primary); color: #fff; }
html.dark .btn--primary:hover { background: #3c74de; }
.btn--soft { background: var(--c-surface-mid); color: var(--c-primary-500); }
.btn--soft:hover { background: var(--c-surface-high); }
.btn--outline { background: var(--c-surface); border-color: var(--c-border); color: var(--c-primary-500); }
.btn--outline:hover { border-color: var(--c-primary-500); }
.btn--xs { padding: 0.35rem 0.7rem; font-size: 12px; }
.btn--sm { padding: 0.5rem 0.9rem; font-size: 12.5px; }
.btn--lg { padding: 0.85rem 1.4rem; font-size: 15px; }
.btn--xl { padding: 1rem 1.5rem; font-size: 17px; border-radius: var(--r-lg); }
.btn--block { width: 100%; }
.btn .ms { font-size: 1.15em; }

.icon-btn {
	display: inline-grid; place-items: center;
	width: 38px; height: 38px;
	border: 1px solid var(--c-border);
	border-radius: var(--r-full);
	background: var(--c-surface);
	color: var(--c-text-2);
	transition: background-color .15s, color .15s;
}
.icon-btn:hover { background: var(--c-surface-low); color: var(--c-primary-500); }
.icon-btn--primary { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
html.dark .icon-btn--primary { background: var(--c-primary-500); border-color: var(--c-primary-500); }
.icon-btn--primary:hover { background: var(--c-primary-500); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.2rem; color: var(--c-primary-500); font-weight: 700; font-size: 13px; }
.link-arrow:hover { text-decoration: underline; }
.link-sm { color: var(--c-primary-500); font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; gap: 0.2rem; }

/* Chips & pills ---------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.chip {
	display: inline-flex; align-items: center; gap: 0.3rem;
	padding: 0.25rem 0.55rem;
	border-radius: var(--r-sm);
	font: 700 10px/12px var(--f-body);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}
.chip .ms { font-size: 13px; }
.chip--primary { background: var(--c-primary-100); color: var(--c-primary); }
html.dark .chip--primary { color: var(--c-primary); }
.chip--deal { background: var(--c-secondary-100); color: var(--c-secondary-hover); }
html.dark .chip--deal { color: var(--c-secondary); }
.chip--muted { background: var(--c-surface-mid); color: var(--c-text-2); }
.chip--solid { background: var(--c-primary); color: #fff; border-radius: var(--r-full); padding: 0.35rem 0.75rem; }
html.dark .chip--solid { background: var(--c-primary-500); }
.chip--glass { background: rgba(255, 255, 255, .9); color: var(--c-dark); border-radius: var(--r-full); padding: 0.35rem 0.75rem; text-transform: none; letter-spacing: 0; font-size: 12px; }
.card--promo .chip--glass { background: rgba(255, 255, 255, .18); color: #fff; text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }

.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; border-radius: var(--r-full); font-weight: 700; font-size: 12px; color: var(--c-primary-500); }
.pill--white { background: var(--c-surface); box-shadow: var(--shadow-sm); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 0.4rem;
	padding: 0.35rem 0.8rem;
	border-radius: var(--r-full);
	background: var(--c-surface-mid);
	color: var(--c-primary);
	font: 700 11px/14px var(--f-body);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 0.9rem;
}
html.dark .eyebrow { color: var(--c-primary); }

/* Rating */
.rating { display: inline-flex; align-items: baseline; gap: 0.25rem; font-weight: 700; }
.rating__star { color: var(--c-amber); align-self: center; }
.rating__max { font-size: 11px; font-weight: 600; opacity: .75; }
.rating--dark { background: rgba(17, 24, 39, .78); color: #fff; padding: 0.3rem 0.6rem; border-radius: var(--r-md); backdrop-filter: blur(6px); }
.rating--dark strong { font-size: 15px; }
.rating--plain strong { font-size: 14px; }
.stars { display: inline-flex; color: var(--c-amber); }
.stars__off { color: var(--c-outline); }

/* Avatars */
.avatar { display: inline-grid; place-items: center; border-radius: var(--r-full); background: var(--c-primary-500); color: #fff; font-weight: 700; object-fit: cover; flex-shrink: 0; }
.avatar--xs { width: 22px; height: 22px; font-size: 9px; }
.avatar--md { width: 44px; height: 44px; }
.avatar--lg { width: 72px; height: 72px; }
.avatar--sq { width: 34px; height: 34px; border-radius: var(--r-md); background: var(--c-surface-mid); color: var(--c-text); font-size: 12px; }

/* Cards ------------------------------------------------------------------ */
.card {
	position: relative;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--r-xl);
	box-shadow: var(--shadow-md);
	padding: 1.25rem;
}
.card--tint { background: var(--c-surface-low); box-shadow: none; }
.panel { background: var(--c-surface-low); border-radius: var(--r-lg); padding: 0.9rem 1rem; }

.card__media { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 16 / 9; background: var(--c-surface-mid); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.card__media:hover img, .card:hover .card__media img { transform: scale(1.03); }
.card__media-tl, .card__media-tr, .card__media-bl, .card__media-br { position: absolute; z-index: 1; }
.card__media-tl { top: .6rem; left: .6rem; }
.card__media-tr { top: .6rem; right: .6rem; }
.card__media-bl { bottom: .6rem; left: .6rem; }
.card__media-br { bottom: .6rem; right: .6rem; }
.thumb-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--c-primary-500); font-size: 2.5rem; background: linear-gradient(135deg, var(--c-surface-low), var(--c-surface-high)); }
.thumb-placeholder .ms { font-size: 48px; }

.card__body { display: flex; flex-direction: column; gap: 0.6rem; }
.card__kicker { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-primary-500); }
.card__kicker .text-muted { text-transform: none; letter-spacing: 0; font-weight: 600; }
.card__title { font-size: 18px; line-height: 24px; font-weight: 700; }
.card__title a:hover { color: var(--c-primary-500); }
.card__excerpt { color: var(--c-text-2); font-size: 14px; line-height: 21px; }
.card__excerpt--lg { font-size: 16px; line-height: 26px; }
.card__price { font-size: 12px; font-weight: 700; color: var(--c-text); }
.card__actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.card__actions--split { justify-content: space-between; margin-top: auto; padding-top: .4rem; }
.card__actions--even > * { flex: 1; }
.card__actions--lg { display: grid; grid-template-columns: 1.4fr 1fr; gap: .9rem; margin-top: .5rem; }
.card__footer { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-top: 1.1rem; }
.card__note { display: inline-flex; gap: .35rem; align-items: center; font-size: 12px; font-weight: 600; color: var(--c-text-2); max-width: 55%; }

/* Grids & layout --------------------------------------------------------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.layout { display: grid; gap: 1.75rem; align-items: start; padding-block: 2rem 3rem; }
.layout--sidebar { grid-template-columns: minmax(0, 1fr) 340px; }
.layout--filters { grid-template-columns: 250px minmax(0, 1fr); }
.layout__main { min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.layout__aside { display: flex; flex-direction: column; gap: 1.5rem; }
.layout__aside--sticky { align-self: stretch; }
.layout__aside--sticky .navigator { position: sticky; top: calc(var(--header-h) + 1rem); }
.layout__filters { position: sticky; top: calc(var(--header-h) + 1rem); max-height: calc(100vh - var(--header-h) - 2rem); overflow-y: auto; scrollbar-width: thin; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.section-title { position: relative; padding-left: 0.9rem; font-size: 22px; line-height: 28px; font-weight: 700; }
.section-title::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; border-radius: 2px; background: var(--c-primary-500); }
.section-title--sm { font-size: 18px; }
.section-note { font-size: 12px; font-weight: 600; color: var(--c-muted); }

/* Header ----------------------------------------------------------------- */
.read-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--c-primary-500), var(--c-secondary)); }

.topbar { background: var(--c-surface-low); border-bottom: 1px solid var(--c-border); font-size: 11.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 32px; }
.topbar__text { display: flex; align-items: center; gap: .55rem; color: var(--c-text-2); font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topbar__label { display: inline-flex; align-items: center; gap: .3rem; color: var(--c-secondary); }
.topbar__sep { color: var(--c-outline); }
.topbar__links { display: flex; gap: 1rem; flex-shrink: 0; font-weight: 700; }
.topbar__promo { color: var(--c-amber); display: inline-flex; align-items: center; gap: .2rem; }
.topbar__link { text-decoration: underline; text-underline-offset: 2px; }

.site-header { position: sticky; top: 0; z-index: 50; }
.masthead { background: color-mix(in srgb, var(--c-surface) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--c-border); }
.masthead__inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.masthead__menu-toggle { display: none; }

.brand { display: inline-flex; align-items: center; gap: .55rem; flex-shrink: 0; color: var(--c-text); }
.brand:hover { color: var(--c-text); }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-md); background: var(--c-primary); color: #fff; font: 800 18px/1 var(--f-head); }
html.dark .brand__mark { background: var(--c-primary-500); }
.brand__logo { max-height: 40px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 800 18px/1.2 var(--f-head); letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: .25rem; }
.brand__check { color: var(--c-primary-500); font-size: 16px; }
.brand__tagline { font-size: 11px; font-weight: 600; color: var(--c-text-2); }

.primary-nav { flex: 1; min-width: 0; }
.primary-nav__list { display: flex; align-items: center; gap: .15rem; }
.primary-nav__list > li { position: relative; }
.primary-nav__list > li > a {
	display: inline-flex; align-items: center; gap: .35rem;
	padding: .55rem .8rem;
	border-radius: var(--r-md);
	font-weight: 600; font-size: 13.5px; color: var(--c-text-2);
	white-space: nowrap;
}
.primary-nav__list > li > a:hover { background: var(--c-surface-low); color: var(--c-primary-500); }
.primary-nav__list > .current-menu-item > a,
.primary-nav__list > .current-menu-ancestor > a { background: var(--c-primary-500); color: #fff; }
.primary-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; padding: .4rem;
	background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); box-shadow: var(--shadow-md);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: .5rem .7rem; border-radius: var(--r-md); font-weight: 600; font-size: 13px; }
.primary-nav .sub-menu a:hover { background: var(--c-surface-low); }

.masthead__actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.search-pill {
	display: flex; align-items: center; gap: .45rem;
	height: 38px; padding: 0 .55rem 0 .8rem;
	background: var(--c-surface-low); border: 1px solid transparent; border-radius: var(--r-md);
	color: var(--c-muted);
}
.search-pill:focus-within { border-color: var(--c-primary-500); background: var(--c-surface); }
.search-pill input { width: 180px; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13px; color: var(--c-text); }
.search-pill kbd { padding: 1px 5px; border-radius: 4px; border: 1px solid var(--c-outline); font-size: 10px; color: var(--c-muted); background: var(--c-surface); }
.search-pill--flat { background: var(--c-surface-low); flex: 1; }
.search-pill--flat input { width: 100%; }

.theme-toggle__dark { display: none; }
html.dark .theme-toggle__light { display: none; }
html.dark .theme-toggle__dark { display: inline-block; }

/* Home ------------------------------------------------------------------- */
.disclosure { background: var(--c-surface-mid); border-bottom: 1px solid var(--c-border); }
.disclosure__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .75rem; }
.disclosure__text { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.disclosure__text p { color: var(--c-text-2); font-size: 12.5px; line-height: 1.45; max-width: 560px; }
.disclosure__deals { flex-shrink: 1; min-width: 0; }
.deal-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .7rem; border-radius: var(--r-md); background: var(--c-surface); color: var(--c-secondary-hover); font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-sm); }
html.dark .deal-chip { color: var(--c-secondary); }
.deal-chip strong { color: inherit; }

.hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-block: 2.25rem 1.75rem; }
.hero__title { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; }
.hero__text { margin-top: .6rem; max-width: 600px; color: var(--c-text-2); font-size: 16px; line-height: 26px; }
.hero__stats { display: flex; gap: 0; background: var(--c-surface-low); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: .6rem .3rem; flex-shrink: 0; }
.hero__stat { display: flex; flex-direction: column-reverse; padding: .1rem 1rem; border-left: 1px solid var(--c-border); }
.hero__stat:first-child { border-left: 0; }
.hero__stat dd { font: 800 18px/1.2 var(--f-head); }
.hero__stat dt { font-size: 11px; font-weight: 600; color: var(--c-muted); }
.hero__stat--secondary dd { color: var(--c-secondary); }
.hero__stat--primary dd { color: var(--c-primary-500); }

.featured { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.5rem; padding-bottom: 2.25rem; }
.featured__side { display: flex; flex-direction: column; gap: 1.5rem; }

.card--featured { padding: 0; overflow: hidden; }
.card--featured__media { position: relative; display: block; aspect-ratio: 16 / 7.6; background: var(--c-dark); }
.card--featured__media img { width: 100%; height: 100%; object-fit: cover; }
.card--featured__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(10, 16, 28, .82) 100%); }
.card--featured__overlay { position: absolute; inset: 0 0 auto; aspect-ratio: 16 / 7.6; display: flex; flex-direction: column; justify-content: space-between; padding: 1rem; pointer-events: none; }
.card--featured__overlay a { pointer-events: auto; }
.card--featured__chips { display: flex; gap: .4rem; align-items: center; }
.chip--end { margin-left: auto; }
.card--featured__head { display: flex; flex-direction: column; gap: .7rem; }
.card--featured__meta { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.card--featured__title { color: #fff; font-size: clamp(22px, 2.6vw, 31px); line-height: 1.22; font-weight: 800; letter-spacing: -0.02em; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.card--featured__title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; }
.card--featured .card__body { padding: 1.4rem 1.75rem 1.75rem; gap: 1rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; background: var(--c-surface-low); border-radius: var(--r-lg); padding: .9rem 1rem; }
.feature-grid li { display: flex; gap: .5rem; font-size: 12px; color: var(--c-muted); line-height: 1.35; }
.feature-grid strong { display: block; color: var(--c-text); font-size: 12.5px; }

.byline { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: 12px; font-weight: 600; color: var(--c-text-2); }
.byline > span { display: inline-flex; align-items: center; gap: .3rem; }
.byline__author a { color: var(--c-text); font-weight: 700; }
.byline__sep { color: var(--c-outline); }

.card--side { padding: 1.25rem; display: flex; flex-direction: column; gap: .9rem; }
.card--side .card__title { font-size: 18px; }

.filter-vault { background: var(--c-surface-low); border-block: 1px solid var(--c-border); }
.filter-vault__inner { display: flex; align-items: center; gap: .9rem; padding-block: .9rem; }
.filter-vault__label { display: inline-flex; align-items: center; gap: .35rem; flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.filter-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-border); font-size: 13px; font-weight: 700; color: var(--c-text); white-space: nowrap; }
.filter-chip:hover { border-color: var(--c-primary-500); color: var(--c-primary-500); }
.filter-chip.is-active { background: var(--c-primary-500); border-color: var(--c-primary-500); color: #fff; }
.filter-chip__count { padding: .1rem .4rem; border-radius: var(--r-sm); background: var(--c-surface-mid); color: var(--c-text-2); font-size: 10px; }
.filter-chip.is-active .filter-chip__count { background: rgba(255, 255, 255, .22); color: #fff; }

.latest__list { display: flex; flex-direction: column; gap: 1.5rem; }
.latest__pager { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }

/* Review cards */
.card--review { padding: 1.6rem 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.review-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: start; }
.review-head__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: var(--r-lg); background: var(--c-surface-mid); color: var(--c-primary-500); overflow: hidden; }
.review-head__icon .ms { font-size: 30px; }
.review-head__icon img { width: 100%; height: 100%; object-fit: cover; }
.review-head__main { display: flex; flex-direction: column; gap: .4rem; }
.review-head__title { font-size: 21px; line-height: 1.25; font-weight: 700; }
.review-head__title a:hover { color: var(--c-primary-500); }
.score-box { display: flex; flex-direction: column; align-items: center; padding: .5rem .9rem; border-radius: var(--r-lg); background: var(--c-surface-low); border: 1px solid var(--c-border); }
.score-box__value { display: inline-flex; align-items: center; gap: .2rem; }
.score-box__value strong { font: 800 19px/1 var(--f-head); }
.score-box__value small { font-size: 11px; color: var(--c-muted); font-weight: 600; }
.score-box__label { font-size: 11px; font-weight: 700; color: var(--c-secondary); }

.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.metric-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; margin-block: 1rem; }
.metric__head { display: flex; justify-content: space-between; gap: .5rem; font-size: 12px; font-weight: 600; }
.metric__head strong { font-weight: 700; }
.metric__bar { height: 6px; margin-block: .35rem; border-radius: var(--r-full); background: var(--c-surface-high); overflow: hidden; }
.metric__bar span { display: block; height: 100%; border-radius: inherit; }
.metric__note { font-size: 11.5px; color: var(--c-muted); }
.metric--primary .metric__bar span { background: var(--c-primary); }
html.dark .metric--primary .metric__bar span { background: var(--c-primary-500); }
.metric--primary .metric__head strong { color: var(--c-primary-500); }
.metric--secondary .metric__bar span { background: var(--c-secondary); }
.metric--secondary .metric__head strong { color: var(--c-secondary); }
.metric--tertiary .metric__bar span { background: var(--c-tertiary); }
.metric--tertiary .metric__head strong { color: var(--c-tertiary); }

.price-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.price-row__price strong { font: 800 18px/1 var(--f-head); }
.price-row__price span { color: var(--c-text-2); font-size: 13px; }
.price-row__specs { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 12px; font-weight: 600; color: var(--c-text-2); }
.price-row__specs li { display: inline-flex; align-items: center; gap: .2rem; }
.price-row__specs .ms { color: var(--c-secondary); }
.coupon-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 13px; }
.coupon-row p { display: inline-flex; gap: .4rem; align-items: center; }

.coupon { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .35rem .3rem .65rem; border-radius: var(--r-md); background: var(--c-surface); border: 1px dashed var(--c-outline); font-size: 12px; }
.coupon > .ms { color: var(--c-muted); }
.coupon__code { font-weight: 700; color: var(--c-primary-500); letter-spacing: .06em; }
.coupon__copy { padding: .3rem .6rem; border: 0; border-radius: var(--r-sm); background: var(--c-surface-mid); color: var(--c-primary-500); font-size: 11px; font-weight: 700; }
.coupon__copy:hover { background: var(--c-surface-high); }
.coupon__copy.is-copied { background: var(--c-secondary-100); color: var(--c-secondary); }
.coupon--lg { display: flex; padding: .5rem .5rem .5rem .8rem; }
.coupon--lg .coupon__code { font-size: 16px; flex: 1; }
.coupon--block { display: flex; margin-bottom: .75rem; }
.coupon--block .coupon__code { flex: 1; }

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.proscons__title { display: flex; align-items: center; gap: .4rem; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .55rem; }
.proscons__col--pros .proscons__title { color: var(--c-secondary); }
.proscons__col--cons .proscons__title { color: var(--c-muted); }
.proscons__col li { display: flex; gap: .45rem; font-size: 13.5px; line-height: 1.45; color: var(--c-text-2); padding-block: .2rem; }
.proscons__col--pros li > .ms { color: var(--c-secondary); }
.proscons__col--cons li > .ms { color: var(--c-muted); }
.proscons--compact { padding-inline: .25rem; }

.card--compact { display: flex; flex-direction: column; gap: .6rem; padding: 1.35rem; }
.card--compact__top { display: flex; justify-content: space-between; align-items: center; }

/* Sidebar widgets */
.widget__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; list-style: none; }
.widget__head::-webkit-details-marker { display: none; }
.widget__title { display: inline-flex; align-items: center; gap: .45rem; font: 700 18px/1.3 var(--f-head); }
.live-dot { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c-secondary); display: inline-flex; align-items: center; gap: .3rem; }
.live-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

.ranking__list { display: flex; flex-direction: column; gap: .25rem; }
.ranking__item { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .75rem .6rem; border-radius: var(--r-lg); }
.ranking__item.is-top { background: var(--c-surface-low); }
.ranking__pos { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c-surface-mid); font-size: 10px; font-weight: 800; color: var(--c-text-2); }
.ranking__item.is-top .ranking__pos { background: var(--c-amber); color: #3b2300; }
.ranking__body { display: flex; flex-direction: column; min-width: 0; }
.ranking__body strong { font-size: 13.5px; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.ranking__body span { font-size: 11.5px; color: var(--c-muted); }
.ranking__meta { display: flex; flex-direction: column; align-items: flex-end; font-size: 11px; font-weight: 700; color: var(--c-muted); }

.card--promo { background: linear-gradient(145deg, var(--c-primary) 0%, var(--c-primary-500) 100%); border: 0; color: #e8efff; box-shadow: var(--shadow-lg); padding: 1.5rem; display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
html.dark .card--promo { background: linear-gradient(145deg, #0b3a8c, #0b57d0); }
.card--promo__title { color: #fff; font-size: 20px; line-height: 1.3; font-weight: 800; }
.card--promo p { font-size: 13.5px; line-height: 1.55; }
.card--promo .newsletter { width: 100%; }
.card--promo__note { display: flex; align-items: center; gap: .35rem; font-size: 11.5px !important; opacity: .85; align-self: center; }

.newsletter { display: flex; gap: .5rem; width: 100%; }
.newsletter--stack { flex-direction: column; }
.newsletter .input { flex: 1; min-width: 0; height: 42px; padding: 0 .85rem; border: 1px solid var(--c-border); border-radius: var(--r-md); background: var(--c-surface); color: var(--c-text); }
.newsletter .input:focus { outline: 2px solid var(--c-primary-500); outline-offset: -1px; }
.newsletter--stack .btn { height: 44px; }
.newsletter--stack .input { flex: none; width: 100%; }
.card--promo .newsletter .input { border-color: transparent; background: #fff; color: #121c2a; }
.newsletter--inline .btn { flex-shrink: 0; }

.showdown__panel { background: var(--c-surface-low); border-radius: var(--r-lg); padding: .9rem; display: flex; flex-direction: column; gap: .75rem; }
.showdown__pair { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.showdown__item { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .7rem .5rem; border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-border); text-align: center; font-size: 12px; font-weight: 600; }
.showdown__item strong { font: 800 18px/1.2 var(--f-head); color: var(--c-text); }
.showdown__item.is-winner strong { color: var(--c-primary-500); }
.showdown__item .chip { margin-top: .3rem; }
.showdown__rows { display: flex; flex-direction: column; gap: .3rem; }
.showdown__rows > div { display: flex; justify-content: space-between; gap: .5rem; padding: .45rem .6rem; border-radius: var(--r-sm); background: var(--c-surface); font-size: 12px; }
.showdown__rows dt { color: var(--c-text-2); font-weight: 600; }
.showdown__rows dd { color: var(--c-secondary); font-weight: 700; text-align: right; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag-cloud a { display: inline-block; padding: .35rem .6rem; border-radius: var(--r-md); background: var(--c-surface-low); border: 1px solid var(--c-border); font-size: 12px; font-weight: 600; color: var(--c-text-2); }
.tag-cloud a:hover { background: var(--c-primary-500); border-color: var(--c-primary-500); color: #fff; }

.widget ul li { padding-block: .3rem; }
.widget ul li a:hover { color: var(--c-primary-500); }

/* Pagination */
.pager { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 .5rem; border-radius: var(--r-md); font-weight: 700; font-size: 13px; color: var(--c-text-2); background: var(--c-surface); border: 1px solid var(--c-border); }
.pager .page-numbers.current { background: var(--c-primary-500); border-color: var(--c-primary-500); color: #fff; }
.pager .page-numbers.dots { border: 0; background: transparent; }
.pager a.page-numbers:hover { border-color: var(--c-primary-500); color: var(--c-primary-500); }

/* Single ----------------------------------------------------------------- */
.single-hero { padding-block: 1.5rem 1rem; }
.crumbs-wrap { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .9rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.crumbs li { display: inline-flex; align-items: center; gap: .25rem; font-size: 12px; font-weight: 600; color: var(--c-muted); }
.crumbs li + li::before { content: "›"; color: var(--c-outline); margin-right: .1rem; }
.crumbs a { color: var(--c-text-2); }
.crumbs a:hover { color: var(--c-primary-500); }
.crumbs [aria-current] { color: var(--c-text); }
.crumbs--rm p { font-size: 12px; font-weight: 600; color: var(--c-muted); display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.crumbs--rm a { color: var(--c-text-2); }
.crumbs--rm .last { color: var(--c-text); }
.crumbs__sep, .crumbs--rm .separator { color: var(--c-outline); }
.widget_recent_entries li a, .widget_categories li a { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--c-text-2); }
.widget_recent_entries li + li, .widget_categories li + li { border-top: 1px solid var(--c-border); }
.widget_recent_entries li, .widget_categories li { padding-block: .55rem !important; }

.audit-badges { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .9rem; }
.audit-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .6rem; border-radius: var(--r-md); font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.audit-badge--0 { background: var(--c-primary-100); color: var(--c-primary); }
.audit-badge--1 { background: #fff4e0; color: #7a4a00; }
html.dark .audit-badge--1 { background: #3a2a10; color: var(--c-tertiary); }
.audit-badge--2 { background: var(--c-secondary-100); color: var(--c-secondary-hover); }
html.dark .audit-badge--2 { color: var(--c-secondary); }

.single-hero__title { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; max-width: 900px; }
.single-hero__dek { margin-top: .75rem; max-width: 860px; font-size: 16px; line-height: 26px; color: var(--c-text-2); }

.author-row { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 1.25rem; padding: .7rem 1rem .7rem .7rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); }
.author-row__who { display: flex; gap: .65rem; align-items: center; }
.author-row__name { display: flex; align-items: center; gap: .3rem; font-weight: 700; font-size: 14px; }
.author-row__name .text-muted { font-size: 12px; font-weight: 600; }
.author-row__cred { font-size: 12px; color: var(--c-text-2); }
.author-row__facts { display: flex; flex-wrap: wrap; gap: 1.1rem; font-size: 12px; font-weight: 600; color: var(--c-text-2); }
.author-row__facts li { display: inline-flex; align-items: center; gap: .3rem; }

.verdict-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, .9fr); gap: 1.5rem; align-items: center; margin-top: 1.5rem; padding: 1.5rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
.big-score { display: flex; align-items: baseline; gap: .35rem; margin-block: .4rem .2rem; }
.big-score strong { font: 800 40px/1 var(--f-head); letter-spacing: -0.02em; }
.big-score span { color: var(--c-text-2); font-size: 14px; font-weight: 600; }
.big-score--md strong { font-size: 32px; }
.verdict-hero__stars { display: flex; gap: .5rem; align-items: center; font-size: 12px; font-weight: 600; }
.verdict-hero__quote { margin: .6rem 0 0; font-size: 13px; line-height: 1.5; color: var(--c-text-2); font-style: italic; }
.offer-box { padding: 1rem; border-radius: var(--r-lg); background: var(--c-surface-low); border: 1px solid var(--c-primary-100); display: flex; flex-direction: column; gap: .6rem; }
.offer-box__head { display: flex; justify-content: space-between; gap: .5rem; font-size: 11px; font-weight: 600; }
.offer-box__title { font: 700 17px/1.3 var(--f-head); }
.offer-box__note { display: flex; gap: .3rem; align-items: center; font-size: 11.5px; font-weight: 600; color: var(--c-text-2); }
.verdict-hero__cta { display: flex; flex-direction: column; gap: .6rem; text-align: center; font-size: 11.5px; }

.article { gap: 2rem; }
.toc { padding: 1.4rem 1.5rem; }
.toc__list { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 2rem; counter-reset: toc; }
.toc__list a { display: block; font-size: 13.5px; font-weight: 600; color: var(--c-text-2); }
.toc__list a span { color: var(--c-primary-500); font-weight: 800; margin-right: .25rem; }
.toc__list a:hover { color: var(--c-primary-500); }
.article__figure { margin: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--c-surface); border: 1px solid var(--c-border); }
.article__figure img { width: 100%; }
.article__figure figcaption { padding: .55rem .9rem; font-size: 12px; color: var(--c-text-2); }

/* Entry content typography */
.entry-content { font-size: 16px; line-height: 1.75; color: var(--c-text-2); }
.entry-content > * + * { margin-top: 1.15em; }
.entry-content h2 { margin-top: 2.2em; font-size: 24px; line-height: 1.3; font-weight: 700; color: var(--c-text); scroll-margin-top: calc(var(--header-h) + 1rem); }
.entry-content h3 { margin-top: 1.8em; font-size: 19px; line-height: 1.35; font-weight: 700; color: var(--c-text); }
.entry-content h4 { margin-top: 1.5em; font-size: 16px; font-weight: 700; color: var(--c-text); }
.entry-content strong { color: var(--c-text); }
.entry-content a { color: var(--c-primary-500); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .35em; }
.entry-content blockquote { margin-inline: 0; padding: 1rem 1.25rem; border-left: 4px solid var(--c-primary-500); background: var(--c-surface-low); border-radius: 0 var(--r-lg) var(--r-lg) 0; color: var(--c-text); font-style: italic; }
.entry-content code { padding: .1em .35em; border-radius: var(--r-sm); background: var(--c-surface-mid); font-size: .88em; color: var(--c-primary); }
.entry-content pre { padding: 1rem 1.25rem; border-radius: var(--r-lg); background: #0f172a; color: #e2e8f0; overflow-x: auto; font-size: 13px; line-height: 1.6; }
.entry-content pre code { background: none; color: inherit; padding: 0; }
.entry-content img, .entry-content figure { border-radius: var(--r-lg); }
.entry-content iframe, .entry-content video, .entry-content embed, .entry-content object { max-width: 100%; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { font-size: 12px; color: var(--c-muted); margin-top: .4rem; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--c-surface); border-radius: var(--r-lg); overflow: hidden; }
.entry-content th, .entry-content td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--c-border); }
.entry-content thead th { background: var(--c-surface-low); color: var(--c-text); font-weight: 700; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content .wp-block-button__link { background: var(--c-secondary); color: #fff; border-radius: var(--r-md); text-decoration: none; font-weight: 700; padding: .75rem 1.3rem; }
.entry-content .alignwide { margin-inline: -2rem; }
.entry-content .aligncenter { margin-inline: auto; }

.proscons-card { padding: 1.5rem; }
.proscons-card__title { font-size: 20px; margin: .25rem 0 1rem; }
.proscons-card .proscons__col { padding: 1rem 1.1rem; border-radius: var(--r-lg); }
.proscons-card .proscons__col--pros { background: var(--c-secondary-100); }
.proscons-card .proscons__col--cons { background: #fff1f0; }
html.dark .proscons-card .proscons__col--cons { background: #2c1717; }
.proscons-card .proscons__title { font-size: 16px; font-family: var(--f-head); text-transform: none; letter-spacing: 0; }
.proscons-card .proscons__col--cons .proscons__title,
.proscons-card .proscons__col--cons li > .ms { color: var(--c-error); }
html.dark .proscons-card .proscons__col--cons .proscons__title,
html.dark .proscons-card .proscons__col--cons li > .ms { color: #ff8a80; }

.final-score { padding: 1.5rem; }
.final-score__head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.final-score__title { font-size: 22px; margin-top: .3rem; }
.seal { display: grid; place-items: center; width: 84px; height: 84px; padding: .5rem; border-radius: 50%; border: 3px double var(--c-secondary); color: var(--c-secondary); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-align: center; transform: rotate(-8deg); flex-shrink: 0; }
.final-score__cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.final-score__cta-title { font: 700 18px/1.3 var(--f-head); color: var(--c-text); }

.author-box { display: flex; gap: 1rem; align-items: flex-start; }
.author-box__name { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font: 700 17px/1.3 var(--f-head); margin-bottom: .3rem; }
.author-box p:not(.author-box__name) { color: var(--c-text-2); font-size: 13.5px; line-height: 1.55; }

.article__tags { margin-top: -0.5rem; }

.quick-verdict__text { color: var(--c-text-2); font-size: 13.5px; line-height: 1.5; margin-bottom: .75rem; }
.spec-table { display: flex; flex-direction: column; gap: .15rem; padding: .6rem; border-radius: var(--r-md); background: var(--c-surface-low); margin-bottom: .75rem; }
.spec-table > div { display: flex; justify-content: space-between; gap: .75rem; font-size: 12px; }
.spec-table dt { color: var(--c-text-2); font-weight: 600; }
.spec-table dd { font-weight: 700; text-align: right; }

.navigator__list { display: flex; flex-direction: column; gap: .15rem; margin-top: .75rem; }
.navigator__list a { position: relative; display: block; padding: .4rem .5rem .4rem 1.1rem; border-radius: var(--r-sm); font-size: 12.5px; font-weight: 600; color: var(--c-text-2); }
.navigator__list a::before { content: ""; position: absolute; left: .35rem; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--c-outline); }
.navigator__list a:hover, .navigator__list a.is-active { color: var(--c-primary-500); background: var(--c-surface-low); }
.navigator__list a.is-active::before { background: var(--c-primary-500); }

.alternatives__list { display: flex; flex-direction: column; gap: .5rem; }
.alternatives__list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .65rem; align-items: center; padding: .45rem; border-radius: var(--r-md); background: var(--c-surface-low); }
.alternatives__name { display: flex; flex-direction: column; min-width: 0; }
.alternatives__name strong { font-size: 13px; }
.alternatives__name span { font-size: 11px; color: var(--c-muted); font-weight: 600; }

.related { padding-block: 1rem 3.5rem; }

/* Comments */
.comments { display: flex; flex-direction: column; gap: 1rem; }
.comment-list { display: flex; flex-direction: column; gap: .75rem; }
.comment-list .children { margin-top: .75rem; padding-left: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.comment-body { padding: 1rem 1.25rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-xl); }
.comment-author { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.comment-author .avatar { width: 32px; height: 32px; }
.comment-author .says { display: none; }
.comment-metadata { font-size: 11.5px; color: var(--c-muted); margin: .2rem 0 .5rem; }
.comment-content { font-size: 14px; color: var(--c-text-2); }
.comment-content p + p { margin-top: .6em; }
.reply a { font-size: 12px; font-weight: 700; color: var(--c-primary-500); }
.comment-respond { display: flex; flex-direction: column; gap: .75rem; }
.comment-reply-title { font-size: 18px; }
.comment-form { display: flex; flex-direction: column; gap: .75rem; }
.comment-form label { display: block; font-size: 12px; font-weight: 700; margin-bottom: .25rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: .65rem .85rem; border: 1px solid var(--c-border); border-radius: var(--r-md); background: var(--c-surface); color: var(--c-text);
}
.comment-form .comment-form-cookies-consent { display: flex; gap: .4rem; align-items: center; font-size: 12px; }
.comment-form .comment-form-cookies-consent label { margin: 0; font-weight: 500; }

/* Archive ---------------------------------------------------------------- */
.archive-hero { padding-block: 1.5rem 1.75rem; background: linear-gradient(180deg, var(--c-surface-low), var(--c-bg)); }
.archive-hero__row { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.archive-hero__title { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; max-width: 700px; }
.archive-hero__desc { margin-top: .6rem; max-width: 640px; font-size: 15px; line-height: 1.6; color: var(--c-text-2); }
.method-box { width: 320px; flex-shrink: 0; padding: 1rem 1.1rem; font-size: 12.5px; color: var(--c-text-2); }
.method-box .widget__head { margin-bottom: .4rem; }
.method-box .link-arrow { margin-top: .5rem; font-size: 12px; }

.stat-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.stat-card { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; box-shadow: var(--shadow-sm); }
.stat-card__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-md); background: var(--c-surface-mid); color: var(--c-primary-500); }
.stat-card--1 .stat-card__icon { background: var(--c-secondary-100); color: var(--c-secondary); }
.stat-card--2 .stat-card__icon { background: #fff4e0; color: #7a4a00; }
html.dark .stat-card--2 .stat-card__icon { background: #3a2a10; color: var(--c-tertiary); }
.stat-card strong { display: block; font: 800 18px/1.2 var(--f-head); }
.stat-card--1 strong { color: var(--c-secondary); }
.stat-card small { font-size: 11.5px; color: var(--c-text-2); font-weight: 600; }

.promo-strip { background: var(--c-surface-mid); border-block: 1px solid var(--c-border); }
.promo-strip__inner { display: flex; align-items: center; gap: 1rem; padding-block: .7rem; }
.promo-strip__label { display: inline-flex; align-items: center; gap: .3rem; flex-shrink: 0; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.promo-chip { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .7rem; border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-border); font-size: 12px; white-space: nowrap; }

.filters { padding: 1.2rem; }
.filters summary { cursor: pointer; }
.filters__group { border: 0; margin: 0; padding: 1rem 0 0; border-top: 1px solid var(--c-border); margin-top: 1rem; }
.filters__group:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.filters__group legend { padding: 0; margin-bottom: .6rem; }
.filters__group > .label-caps { margin-bottom: .6rem; display: flex; }
.filters__list { display: flex; flex-direction: column; gap: .15rem; }
.filters__option, .filters__check { display: flex; align-items: center; gap: .5rem; padding: .35rem .2rem; font-size: 13px; color: var(--c-text-2); cursor: pointer; }
.filters__option:hover { color: var(--c-primary-500); }
.filters__option.is-active { color: var(--c-text); font-weight: 600; }
.filters__count { margin-left: auto; font-size: 11px; color: var(--c-muted); }
.radio { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--c-outline); flex-shrink: 0; }
.filters__option.is-active .radio { border: 4.5px solid var(--c-primary-500); }
.filters__check input { width: 15px; height: 15px; accent-color: var(--c-primary-500); margin: 0; }
.filters__form { margin: 0; }

.toolbar { display: flex; align-items: center; gap: 1rem; padding: .75rem; flex-wrap: wrap; }
.toolbar .search-pill { max-width: 320px; }
.toolbar__sort { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.select { height: 38px; padding: 0 2rem 0 .75rem; border: 1px solid var(--c-border); border-radius: var(--r-md); background: var(--c-surface); font-size: 13px; font-weight: 600; }
.view-toggle { display: flex; gap: .25rem; }
.view-toggle .icon-btn { border-radius: var(--r-md); width: 36px; height: 36px; }
.view-toggle .icon-btn.is-active { background: var(--c-surface-mid); color: var(--c-primary-500); }

.archive-grid { align-items: stretch; }
.card--grid { padding: .9rem; display: flex; flex-direction: column; gap: .8rem; }
.card--grid .card__body { flex: 1; gap: .5rem; }
.card--grid .card__title { font-size: 17px; }
.spec-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.spec-chips li { padding: .25rem .5rem; border-radius: var(--r-sm); background: var(--c-surface-mid); font-size: 11px; font-weight: 600; color: var(--c-text-2); }
.card__price-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: auto; padding-top: .3rem; font-size: 12px; font-weight: 700; }

.card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 1.5rem; padding: 1.25rem; border-color: var(--c-primary-100); }
.card--wide__media { display: flex; flex-direction: column; gap: .6rem; }
.card--wide__meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: 11.5px; font-weight: 600; }
.card--wide__body { display: flex; flex-direction: column; gap: .8rem; }
.card--wide__title { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: 24px; font-weight: 800; }
.spec-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; padding: .8rem 1rem; border-radius: var(--r-lg); background: var(--c-surface-low); }
.spec-strip dt { font-size: 11px; font-weight: 600; color: var(--c-muted); }
.spec-strip dd { font: 700 15px/1.3 var(--f-head); }
.card__actions--wide { display: grid; grid-template-columns: 1.3fr 1fr; gap: .75rem; margin-top: auto; }
.ribbon { position: absolute; top: -12px; right: 1.25rem; z-index: 2; display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .8rem; border-radius: var(--r-full); background: var(--c-primary); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; box-shadow: var(--shadow-md); }

.archive-grid.is-list { grid-template-columns: 1fr; }
.archive-grid.is-list .card--grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; }

.archive-pager { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--c-surface); border: 1px solid var(--c-border); }

.table-wrap { padding: 0; overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 620px; }
.compare-table th, .compare-table td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--c-border); }
.compare-table thead th { background: var(--c-surface-low); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--c-text-2); }
.compare-table tbody th { font-weight: 700; }
.compare-table tbody th .chip { margin-left: .4rem; }
.compare-table tr.is-winner { background: color-mix(in srgb, var(--c-secondary-100) 60%, transparent); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }

.faq__list { display: flex; flex-direction: column; gap: .6rem; }
.faq__item { padding: 0; }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; font-weight: 700; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item[open] summary .ms { transform: rotate(180deg); }
.faq__answer { padding: 0 1.25rem 1.1rem; color: var(--c-text-2); font-size: 14px; line-height: 1.65; }

/* Pages ------------------------------------------------------------------ */
.page-wrap { padding-block: 1.5rem 3.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.page-wrap--narrow { max-width: calc(860px + var(--gutter) * 2); }
.page-head { display: flex; flex-direction: column; gap: .5rem; }
.page-head__title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
.article--page { padding: 2rem 2.25rem; }
.search-form { display: flex; gap: .5rem; max-width: 520px; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 3rem 1.5rem; text-align: center; }
.empty-state__icon { font-size: 48px !important; color: var(--c-primary-500); }
.empty-state .search-form { width: 100%; }

/* Footer ----------------------------------------------------------------- */
.site-footer { margin-top: 2rem; background: var(--c-surface-low); border-top: 1px solid var(--c-border); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; padding-block: 3rem 2rem; }
.site-footer__about { display: flex; flex-direction: column; gap: .9rem; max-width: 400px; }
.site-footer__about > p { color: var(--c-text-2); font-size: 13.5px; line-height: 1.6; }
.site-footer__nl-title { font-size: 12.5px; font-weight: 700; color: var(--c-text) !important; }
.site-footer__title { font-size: 16px; font-weight: 700; margin-bottom: .8rem; }
.site-footer__links { display: flex; flex-direction: column; gap: .5rem; font-size: 13px; color: var(--c-text-2); }
.site-footer__links a:hover { color: var(--c-primary-500); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.25rem; border-top: 1px solid var(--c-border); font-size: 12px; color: var(--c-muted); }
.site-footer__trust { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer__trust li { display: inline-flex; gap: .3rem; align-items: center; }
.social { display: flex; gap: .4rem; }

/* Flash bar -------------------------------------------------------------- */
.flashbar { position: sticky; bottom: 0; z-index: 40; background: color-mix(in srgb, var(--c-surface) 95%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--c-border); box-shadow: 0 -8px 24px -12px rgba(18, 28, 42, .2); }
.flashbar.is-hidden { display: none; }
.flashbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; padding-block: .5rem; }
.flashbar__info { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.flashbar__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-md); background: var(--c-primary); color: #fff; font: 800 16px/1 var(--f-head); flex-shrink: 0; }
html.dark .flashbar__mark { background: var(--c-primary-500); }
.flashbar__title { display: flex; align-items: center; gap: .5rem; font: 700 16px/1.25 var(--f-head); }
.flashbar__text { font-size: 11.5px; color: var(--c-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flashbar__actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.flashbar__code { padding: .45rem .7rem; border-radius: var(--r-md); background: var(--c-surface-mid); font-size: 11px; color: var(--c-text-2); }
.flashbar__code code { color: var(--c-primary-500); font-weight: 700; }
.flashbar__close { width: 30px; height: 30px; border: 0; background: transparent; }

.bottom-nav { display: none; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
	.search-pill input { width: 130px; }
	.primary-nav__list > li > a { padding: .5rem .55rem; }
}

@media (max-width: 1024px) {
	:root { --gutter: 1.25rem; }
	.masthead__menu-toggle { display: inline-grid; }
	/* backdrop-filter would turn the masthead into the containing block of the fixed menu. */
	.masthead { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--c-surface); }
	.primary-nav {
		position: fixed; inset: var(--nav-top, calc(var(--header-h) + 32px)) 0 0; z-index: 49;
		padding: 1rem var(--gutter) calc(5rem + env(safe-area-inset-bottom));
		background: var(--c-surface); overflow-y: auto;
		transform: translateX(-100%); transition: transform .2s ease; visibility: hidden;
	}
	.primary-nav.is-open { transform: none; visibility: visible; }
	.primary-nav__list { flex-direction: column; align-items: stretch; gap: .25rem; }
	.primary-nav__list > li > a { width: 100%; padding: .8rem 1rem; font-size: 15px; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 1rem; }
	.masthead__cta { display: none; }

	/* minmax(0, …): a sidebar's min-content must not widen the single mobile column. */
	.layout--sidebar, .layout--filters { grid-template-columns: minmax(0, 1fr); }
	.layout > * { min-width: 0; }
	.layout__aside--sticky .navigator, .layout__filters { position: static; }
	.featured { grid-template-columns: 1fr; }
	.featured__side { display: grid; grid-template-columns: 1fr 1fr; }
	.verdict-hero { grid-template-columns: 1fr 1fr; }
	.verdict-hero__cta { grid-column: 1 / -1; }
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__about { grid-column: 1 / -1; max-width: none; }
	.hero { flex-direction: column; align-items: flex-start; }
	.archive-hero__row { flex-direction: column; }
	.method-box { width: 100%; }
}

@media (max-width: 720px) {
	:root { --gutter: 1rem; --header-h: 60px; }
	body { font-size: 14px; }
	.topbar__text > span:last-child, .topbar__sep, .topbar__link { display: none; }
	.masthead__inner { gap: .6rem; }
	.brand__tagline { display: none; }
	.brand { min-width: 0; }
	.brand__text { min-width: 0; }
	.brand__name { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
	.brand__check { display: none; }
	.masthead__actions { gap: .4rem; }
	.masthead__actions .icon-btn--primary { display: none; }

	.entry-content { overflow-wrap: break-word; }
	.entry-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.entry-content th, .entry-content td { min-width: 120px; padding: .6rem .75rem; }
	.search-pill { width: 38px; padding: 0; justify-content: center; background: transparent; border: 1px solid var(--c-border); border-radius: var(--r-full); }
	.search-pill input, .search-pill kbd { display: none; }
	.search-pill.is-open { position: absolute; left: var(--gutter); right: var(--gutter); width: auto; z-index: 3; background: var(--c-surface); border-radius: var(--r-md); padding: 0 .75rem; justify-content: flex-start; }
	.search-pill.is-open input { display: block; width: 100%; }
	.search-pill--flat { width: auto; justify-content: flex-start; padding: 0 .75rem; background: var(--c-surface-low); border-color: transparent; border-radius: var(--r-md); }
	.search-pill--flat input { display: block; }

	.disclosure__inner { flex-direction: column; align-items: stretch; gap: .6rem; }
	.disclosure__text { align-items: flex-start; }
	.hero { padding-block: 1.5rem 1.25rem; }
	.hero__stats { width: 100%; justify-content: space-between; }
	.hero__stat { padding-inline: .6rem; }
	.featured__side { grid-template-columns: 1fr; }
	.card--featured__media, .card--featured__overlay { aspect-ratio: 4 / 3.4; }
	.card--featured .card__body { padding: 1.1rem; }
	.feature-grid { grid-template-columns: 1fr; }
	.card__actions--lg, .card__actions--wide { grid-template-columns: 1fr; }
	.card--review { padding: 1.15rem; }
	.review-head { grid-template-columns: auto minmax(0, 1fr); }
	.review-head__icon { width: 46px; height: 46px; }
	.review-head .score-box { grid-column: 1 / -1; flex-direction: row; gap: .6rem; justify-content: flex-start; padding: .4rem .7rem; width: max-content; }
	.review-head__title { font-size: 18px; }
	.metric-grid, .metric-grid--2 { grid-template-columns: 1fr; }
	.proscons { grid-template-columns: 1fr; }
	.card__note { max-width: none; }
	.card__footer { flex-direction: column; align-items: stretch; }
	.card__footer .card__actions > * { flex: 1; }
	.grid--2, .grid--3 { grid-template-columns: 1fr; }
	.section-title { font-size: 19px; }
	.section-head { flex-direction: column; align-items: flex-start; gap: .25rem; }

	.verdict-hero { grid-template-columns: 1fr; padding: 1.1rem; }
	.author-row { display: flex; padding: .7rem; }
	.toc__list { grid-template-columns: 1fr; }
	.entry-content { font-size: 15.5px; }
	.entry-content .alignwide { margin-inline: 0; }
	.final-score__head { flex-direction: column; }
	.author-box { flex-direction: column; }

	.card--wide { grid-template-columns: 1fr; }
	.spec-strip { grid-template-columns: 1fr 1fr; }
	.toolbar__sort { margin-left: 0; width: 100%; }
	.toolbar__sort .select { flex: 1; }
	.toolbar .search-pill { max-width: none; width: 100%; }
	.archive-grid.is-list .card--grid { grid-template-columns: 1fr; }
	.article--page { padding: 1.25rem; }

	.site-footer__grid { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2rem 1.5rem; }
	.site-footer__bottom { flex-direction: column; }

	.flashbar__text, .flashbar__code, .flashbar .btn--soft { display: none; }
	.flashbar__title { font-size: 14px; }
	.flashbar__title .chip { display: none; }
	.flashbar__inner { min-height: 56px; }
	.flashbar .btn { padding: .55rem .8rem; font-size: 12px; }

	/* Mobile app-shell bottom navigation */
	body.has-bottom-nav { padding-bottom: 64px; }
	body.has-bottom-nav .flashbar { bottom: 64px; }
	.bottom-nav { display: block; position: fixed; inset: auto 0 0; z-index: 45; background: var(--c-surface); border-top: 1px solid var(--c-border); padding-bottom: env(safe-area-inset-bottom); }
	.bottom-nav__list { display: flex; justify-content: space-around; }
	.bottom-nav__list a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .55rem .4rem; font-size: 10.5px; font-weight: 600; color: var(--c-muted); }
	.bottom-nav__list .ms { font-size: 22px; }
	.bottom-nav__list .current-menu-item a { color: var(--c-primary-500); }
	.bottom-nav__list .current-menu-item .ms { font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24; }
}

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