/*
Theme Name: MPP Authority
Theme URI: https://makepocketpussy.com/
Author: MakePocketPussy Editorial
Description: A fast, editorial theme for independent product testing sites. Built for the Authority Engine plugin. No webfonts, no jQuery, no framework — one stylesheet and a few kilobytes of inline SVG.
Version: 1.3.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mpp-authority-theme
Tags: blog, one-column, two-columns, custom-menu, featured-images, editor-style, accessibility-ready
*/

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

:root {
	/* Ink is aubergine-black rather than neutral: it warms the plum without
	   ever tipping into the hot pink this whole category defaults to. */
	--ink: #1a1720;
	--body: #3b3745;
	--muted: #6b6878;
	--faint: #9b98a6;
	--line: #e2dfe7;
	--line-strong: #1a1720;
	--paper: #fbfaf9;
	--surface: #f5f3f6;
	--white: #fff;

	/* Two accents, each with exactly one job.
	   Plum = this brand. Teal = verified/trustworthy. Nothing else is coloured. */
	--plum: #5e2a50;
	--plum-dark: #431c39;
	--verify: #2f6f5e;
	--alert: #a03a2c;

	--font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, ui-serif, serif;
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--wrap: 1180px;
	--measure: 44rem;
	--radius: 4px;

	--step-0: 1rem;
	--step-1: 1.16rem;
	--step-2: 1.4rem;
	--step-3: 1.75rem;
	--step-4: 2.25rem;
	--step-5: clamp(2.4rem, 5vw, 3.5rem);
}

/* Plugin tokens inherit from the theme so both stay in step. */
:root {
	--mppae-ink: var(--ink);
	--mppae-body: var(--body);
	--mppae-muted: var(--muted);
	--mppae-line: var(--line);
	--mppae-surface: var(--surface);
	--mppae-plum: var(--plum);
	--mppae-verify: var(--verify);
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--body);
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.62;
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--plum); text-underline-offset: .16em; }
a:hover { color: var(--plum-dark); }

:focus-visible {
	outline: 2px solid var(--plum);
	outline-offset: 2px;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--ink);
	line-height: 1.18;
	letter-spacing: -.015em;
	font-weight: 600;
	margin: 0 0 .6em;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p, ul, ol, table, figure, blockquote { margin: 0 0 1.15rem; }

code, kbd, pre { font-family: var(--font-mono); font-size: .9em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

blockquote {
	margin: 1.75rem 0;
	padding: 0 0 0 1.25rem;
	border-left: 3px solid var(--plum);
	font-family: var(--font-display);
	font-size: var(--step-1);
	color: var(--ink);
}

table { border-collapse: collapse; width: 100%; }

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

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: #fff;
	padding: .75rem 1.25rem;
	z-index: 999;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Layout
   ========================================================================== */

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.wrap--narrow { width: min(100% - 2.5rem, 56rem); }

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 20rem;
	gap: 3.5rem;
	align-items: start;
}

@media (max-width: 900px) {
	.layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

.entry-content { max-width: var(--measure); }
.entry-content > * { max-width: 100%; }

/* ==========================================================================
   Masthead
   ========================================================================== */

.masthead {
	border-bottom: 1px solid var(--line);
	background: var(--white);
	position: sticky;
	top: 0;
	z-index: 40;
}

.masthead__inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	min-height: 68px;
}

.brand {
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--ink);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: .55rem;
	flex: none;
}

.brand:hover { color: var(--plum); }

/* The mark is a three-zone canal, the same object the texture maps describe. */
.brand__mark { flex: none; }

.brand__sub {
	display: block;
	font-family: var(--font-body);
	font-size: .62rem;
	font-weight: 500;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--muted);
	margin-top: .1rem;
}

.nav { margin-left: auto; }

.nav ul {
	list-style: none;
	display: flex;
	gap: 1.6rem;
	margin: 0;
	padding: 0;
}

.nav a {
	color: var(--body);
	text-decoration: none;
	font-size: .87rem;
	font-weight: 500;
	padding: .4rem 0;
	border-bottom: 2px solid transparent;
	display: block;
}

.nav a:hover,
.nav .current-menu-item > a {
	color: var(--ink);
	border-bottom-color: var(--plum);
}

.nav-toggle {
	display: none;
	margin-left: auto;
	background: none;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: .5rem .8rem;
	font: inherit;
	font-size: .85rem;
	cursor: pointer;
	color: var(--ink);
}

@media (max-width: 820px) {
	.nav-toggle { display: block; }
	.nav {
		display: none;
		width: 100%;
		order: 3;
		border-top: 1px solid var(--line);
		padding: .75rem 0 1rem;
	}
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; gap: 0; }
	.nav a { padding: .6rem 0; border-bottom: 1px solid var(--line); }
	.masthead__inner { flex-wrap: wrap; }
}

/* ==========================================================================
   Homepage
   ========================================================================== */

.hero {
	padding: 3.5rem 0 2.5rem;
	border-bottom: 1px solid var(--line);
}

.hero__grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 3.5rem;
	align-items: center;
}

@media (max-width: 860px) {
	.hero__grid { grid-template-columns: 1fr; gap: 2.25rem; }
}

.hero__eyebrow {
	font-size: .66rem;
	text-transform: uppercase;
	letter-spacing: .16em;
	color: var(--plum);
	font-weight: 700;
	margin: 0 0 1rem;
}

.hero h1 {
	margin: 0 0 1.1rem;
	max-width: 16ch;
}

.hero__lede {
	font-size: var(--step-1);
	line-height: 1.55;
	color: var(--body);
	max-width: 42ch;
	margin: 0 0 1.75rem;
}

.hero__actions { display: flex; gap: .85rem; flex-wrap: wrap; }

.btn {
	display: inline-block;
	padding: .72rem 1.4rem;
	border-radius: var(--radius);
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
	border: 1.5px solid var(--ink);
	transition: background .15s ease, color .15s ease;
}

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--plum); border-color: var(--plum); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

@media (prefers-reduced-motion: reduce) {
	.btn { transition: none; }
}

/* The hero's right side is the site's actual thesis: a sleeve is a sequence
   of zones, not one sensation. Showing that beats any stock photograph. */
.hero__demo {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.5rem;
}

.hero__demo-title {
	font-size: .66rem;
	text-transform: uppercase;
	letter-spacing: .13em;
	color: var(--muted);
	margin: 0 0 1rem;
	display: flex;
	justify-content: space-between;
}

.hero__demo-note {
	font-size: .82rem;
	color: var(--muted);
	margin: 1rem 0 0;
	padding-top: .9rem;
	border-top: 1px dashed var(--line);
}

/* ---- Trust strip ---- */

.trust-strip {
	background: var(--ink);
	color: #cfccd6;
	padding: 1.5rem 0;
}

.trust-strip__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 1.75rem;
}

.trust-strip__item { display: flex; gap: .75rem; align-items: flex-start; }

.trust-strip__num {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	line-height: 1;
	flex: none;
}

.trust-strip__label { font-size: .8rem; line-height: 1.45; }

.trust-strip__label strong { display: block; color: #fff; font-weight: 600; }

.trust-strip a { color: #fff; }

/* ---- Sections ---- */

.section { padding: 3.25rem 0; }
.section + .section { border-top: 1px solid var(--line); }

.section__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1.5rem;
	margin-bottom: 1.75rem;
	padding-bottom: .75rem;
	border-bottom: 2px solid var(--line-strong);
}

.section__head h2 { margin: 0; font-size: var(--step-3); }

.section__more {
	font-size: .82rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.section__more::after { content: " →"; }

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

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.75rem;
}

.card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color .15s ease;
}

.card:hover { border-color: var(--ink); }

@media (prefers-reduced-motion: reduce) { .card { transition: none; } }

.card__media { display: block; background: var(--surface); }
.card__media img { width: 100%; height: 172px; object-fit: cover; }

.card__body { padding: 1.15rem; display: flex; flex-direction: column; flex: 1; }

.card__kicker {
	font-size: .64rem;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-weight: 700;
	color: var(--plum);
	margin: 0 0 .5rem;
}

.card__kicker--coupon { color: var(--verify); }
.card__kicker--guide { color: var(--muted); }

.card__title {
	font-size: var(--step-1);
	line-height: 1.3;
	margin: 0 0 .55rem;
}

.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--plum); }

.card__excerpt {
	font-size: .88rem;
	line-height: 1.55;
	color: var(--muted);
	margin: 0 0 1rem;
}

.card__foot {
	margin-top: auto;
	padding-top: .8rem;
	border-top: 1px solid var(--line);
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: .78rem;
	color: var(--faint);
}

.card__score {
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--plum);
}

.card__score small { font-size: .62rem; color: var(--faint); font-weight: 400; }

/* ==========================================================================
   Single post
   ========================================================================== */

.entry-head {
	padding: 2.5rem 0 1.75rem;
	border-bottom: 1px solid var(--line);
	margin-bottom: 2.25rem;
}

.breadcrumbs {
	font-size: .78rem;
	color: var(--muted);
	margin: 0 0 1rem;
}

.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--plum); text-decoration: underline; }
.breadcrumbs span[aria-hidden] { margin: 0 .45rem; color: var(--faint); }

.entry-head h1 { max-width: 22ch; margin-bottom: .9rem; }

.entry-standfirst {
	font-size: var(--step-1);
	line-height: 1.55;
	color: var(--muted);
	max-width: 46ch;
	margin: 0 0 1.4rem;
}

.byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem 1.25rem;
	font-size: .82rem;
	color: var(--muted);
}

.byline__author { color: var(--ink); font-weight: 600; text-decoration: none; }
.byline__author:hover { color: var(--plum); }

.byline__sep { color: var(--faint); }

.byline__badge {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 100px;
	padding: .18rem .65rem;
	font-size: .72rem;
	color: var(--verify);
	font-weight: 600;
}

/* Body typography inside post content */

.entry-content h2 {
	font-size: var(--step-3);
	margin: 2.5rem 0 .9rem;
	padding-bottom: .5rem;
	border-bottom: 2px solid var(--ink);
}

.entry-content h3 {
	font-size: var(--step-2);
	margin: 2rem 0 .7rem;
}

.entry-content h4 { margin: 1.6rem 0 .5rem; }

.entry-content ul, .entry-content ol { padding-left: 1.35rem; }
.entry-content li { margin-bottom: .5rem; }

.entry-content table {
	font-size: .92rem;
	margin: 1.5rem 0;
	display: block;
	overflow-x: auto;
}

.entry-content th,
.entry-content td {
	padding: .65rem .8rem;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.entry-content thead th {
	border-bottom: 2px solid var(--ink);
	font-size: .7rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--muted);
	font-weight: 600;
}

.entry-content img { border-radius: var(--radius); margin: 1.5rem 0; }

.entry-content a[data-mpp-aff] {
	font-weight: 600;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar { position: sticky; top: 92px; }

@media (max-width: 900px) { .sidebar { position: static; } }

.widget {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.25rem;
	margin-bottom: 1.5rem;
}

.widget__title {
	font-size: .68rem;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--muted);
	margin: 0 0 .9rem;
	padding-bottom: .55rem;
	border-bottom: 1px solid var(--line);
	font-family: var(--font-body);
	font-weight: 700;
}

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

.widget li {
	padding: .55rem 0;
	border-bottom: 1px solid var(--line);
	font-size: .88rem;
	line-height: 1.45;
}

.widget li:last-child { border-bottom: 0; padding-bottom: 0; }

.widget a { color: var(--ink); text-decoration: none; }
.widget a:hover { color: var(--plum); text-decoration: underline; }

/* Table of contents */
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }

.toc li {
	counter-increment: toc;
	padding: .4rem 0;
	border-bottom: 1px solid var(--line);
	font-size: .85rem;
}

.toc li:last-child { border-bottom: 0; }

.toc li::before {
	content: counter(toc, decimal-leading-zero);
	color: var(--faint);
	font-size: .7rem;
	margin-right: .55rem;
	font-variant-numeric: tabular-nums;
}

.toc a { text-decoration: none; color: var(--body); }
.toc a:hover { color: var(--plum); }

/* ==========================================================================
   Archive
   ========================================================================== */

.archive-head {
	padding: 2.75rem 0 2rem;
	border-bottom: 2px solid var(--line-strong);
	margin-bottom: 2.5rem;
}

.archive-head h1 { margin-bottom: .7rem; }

.archive-head p { max-width: 52ch; color: var(--muted); margin: 0; }

.pagination {
	display: flex;
	gap: .4rem;
	flex-wrap: wrap;
	justify-content: center;
	margin: 3rem 0 0;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.4rem;
	height: 2.4rem;
	padding: 0 .6rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	color: var(--body);
	font-size: .88rem;
}

.pagination .page-numbers:hover { border-color: var(--ink); color: var(--ink); }

.pagination .current {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
	font-weight: 600;
}

/* ==========================================================================
   Search
   ========================================================================== */

.searchform { display: flex; gap: .5rem; }

.searchform input[type=search] {
	flex: 1;
	min-width: 0;
	padding: .6rem .8rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font: inherit;
	font-size: .9rem;
	background: var(--white);
	color: var(--ink);
}

.searchform input[type=search]:focus { border-color: var(--plum); outline: none; }

.searchform button {
	padding: .6rem 1rem;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius);
	font: inherit;
	font-size: .88rem;
	font-weight: 600;
	cursor: pointer;
}

/* ==========================================================================
   Team page
   ========================================================================== */

.member-head {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 2.5rem;
	align-items: start;
	padding: 2.5rem 0;
	border-bottom: 1px solid var(--line);
	margin-bottom: 2.25rem;
}

@media (max-width: 700px) {
	.member-head { grid-template-columns: 1fr; gap: 1.5rem; }
	.member-head__photo { max-width: 180px; }
}

.member-head__photo img { border-radius: var(--radius); width: 100%; }

.member-head h1 { margin-bottom: .35rem; }

.member-head__role {
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .11em;
	color: var(--plum);
	font-weight: 700;
	margin: 0 0 1rem;
}

.member-head__links { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }

.member-expertise {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin: 1rem 0 0;
	padding: 0;
}

.member-expertise li {
	background: var(--surface);
	border: 1px solid var(--line);
	padding: .25rem .6rem;
	border-radius: 100px;
	font-size: .78rem;
	color: var(--muted);
}

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

.site-footer {
	background: var(--ink);
	color: #a8a4b3;
	padding: 3rem 0 2rem;
	margin-top: 4rem;
	font-size: .87rem;
}

.site-footer a { color: #d8d5de; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer__grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(2, 1fr);
	gap: 2.5rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid #34303d;
}

@media (max-width: 760px) {
	.footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

.footer__title {
	font-size: .66rem;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: #fff;
	margin: 0 0 .9rem;
	font-weight: 700;
	font-family: var(--font-body);
}

.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .5rem; }

.footer__about p { margin: 0 0 .9rem; line-height: 1.6; max-width: 40ch; }

.footer__bottom {
	padding-top: 1.5rem;
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	font-size: .8rem;
	color: #7d7989;
}

.footer__age {
	border: 1px solid #34303d;
	border-radius: var(--radius);
	padding: .8rem 1rem;
	margin-top: 1rem;
	font-size: .8rem;
	line-height: 1.5;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.u-center { text-align: center; }
.u-muted { color: var(--muted); }
.u-small { font-size: .85rem; }
.u-mt0 { margin-top: 0; }

.notice-box {
	border: 1px solid var(--line);
	border-left: 4px solid var(--plum);
	background: var(--surface);
	padding: 1.15rem 1.35rem;
	border-radius: var(--radius);
	margin: 1.75rem 0;
}

.notice-box p:last-child { margin-bottom: 0; }

@media print {
	.masthead, .site-footer, .sidebar, .nav { display: none; }
	body { background: #fff; }
}

/* ==========================================================================
   From our blog
   ========================================================================== */

.bloglist { list-style: none; margin: 0; padding: 0; }

.bloglist__item {
	display: grid;
	grid-template-columns: 6.5rem 1fr auto;
	gap: .3rem 1.25rem;
	align-items: baseline;
	padding: .9rem 0;
	border-top: 1px solid var(--line);
}

.bloglist__item:last-child { border-bottom: 1px solid var(--line); }

.bloglist__date {
	font-size: .78rem;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
	letter-spacing: .02em;
}

.bloglist__title { margin: 0; font-size: 1.02rem; line-height: 1.35; }
.bloglist__title a { text-decoration: none; }
.bloglist__title a:hover { text-decoration: underline; }

.bloglist__excerpt {
	margin: .25rem 0 0;
	font-size: .87rem;
	color: var(--muted);
}

.bloglist__kind {
	font-size: .68rem;
	letter-spacing: .07em;
	text-transform: uppercase;
	padding: .12rem .45rem;
	border: 1px solid var(--line);
	border-radius: 2px;
	color: var(--muted);
	white-space: nowrap;
}

.section__foot { margin-top: 1.4rem; }

/* Two-column block for the forms */
.split2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
	gap: 1.5rem;
	align-items: start;
}

.requested-wrap { margin-top: 1.25rem; }
.requested-wrap h3 { font-size: .95rem; margin: 0 0 .3rem; }

.section--stats,
.section--corrections { background: var(--tint); }

/* Archive filters */
.archive-filters {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin-top: 1rem;
}

.archive-filters__link {
	font-size: .82rem;
	padding: .3rem .8rem;
	border: 1px solid var(--line);
	border-radius: 2px;
	text-decoration: none;
	color: var(--muted);
}

.archive-filters__link:hover { border-color: var(--accent); color: var(--accent); }

.archive-filters__link.is-current {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

.archive-head__intro { margin-top: .6rem; }

@media (max-width: 640px) {
	.bloglist__item { grid-template-columns: 1fr; }
	.bloglist__kind { justify-self: start; }
}

/* ==========================================================================
   Product header — reviews and profiles do not look like blog posts
   ========================================================================== */

.phead {
	background: var(--tint);
	border-bottom: 1px solid var(--line);
	padding: 1.25rem 0 2rem;
	margin-bottom: 2rem;
}

.phead__grid {
	display: grid;
	grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
	margin-top: 1rem;
}

.phead__media img {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid var(--line);
	background: #fff;
}

.phead__noimg {
	aspect-ratio: 4 / 3;
	display: grid;
	place-items: center;
	border: 1px solid var(--line);
	background: #fff;
	opacity: .35;
}

.phead__kicker {
	font-size: .72rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 .5rem;
	font-weight: 600;
}

.phead__title {
	margin: 0 0 .6rem;
	font-size: clamp(1.7rem, 3.4vw, 2.6rem);
	line-height: 1.12;
	letter-spacing: -.015em;
}

.phead__stand {
	font-size: 1.05rem;
	color: var(--muted);
	margin: 0 0 1rem;
	max-width: 46ch;
}

.phead__score {
	display: inline-flex;
	align-items: baseline;
	gap: .35rem;
	background: #fff;
	border: 1px solid var(--line);
	border-left: 3px solid var(--accent);
	padding: .5rem .9rem;
	margin: 0 0 1rem;
}

.phead__score-num {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: var(--accent);
}

.phead__score-den { color: var(--muted); font-size: .9rem; }

.phead__score-word {
	margin-left: .5rem;
	font-size: .72rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}

.phead__meta {
	font-size: .8rem;
	color: var(--muted);
	margin: 0 0 1rem;
}

/* Two-column body with a sticky rail */
.review__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 17rem;
	gap: 3rem;
	align-items: start;
}

.review__rail { position: sticky; top: 1.5rem; }

.rail__block {
	border: 1px solid var(--line);
	padding: .9rem 1rem;
	margin-bottom: 1rem;
	background: #fff;
}

.rail__title {
	font-size: .7rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 .6rem;
}

.rail__facts { margin: 0; font-size: .85rem; }

.rail__facts > div {
	display: flex;
	justify-content: space-between;
	gap: .75rem;
	padding: .35rem 0;
	border-bottom: 1px solid var(--line);
}

.rail__facts > div:last-child { border-bottom: 0; }
.rail__facts dt { color: var(--muted); }
.rail__facts dd { margin: 0; font-weight: 600; text-align: right; }

.rail__block--price { border-left: 3px solid var(--verified); }

.rail__price { margin: 0; display: flex; flex-direction: column; }
.rail__price span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.rail__price strong { font-size: 1.5rem; font-variant-numeric: tabular-nums; }

.rail__pricenote { font-size: .74rem; color: var(--muted); margin: .4rem 0 0; }

.rail__block--trust ul { list-style: none; margin: 0; padding: 0; font-size: .85rem; }
.rail__block--trust li { padding: .25rem 0; }

@media (max-width: 900px) {
	.phead__grid { grid-template-columns: 1fr; gap: 1.25rem; }
	.phead__media { max-width: 20rem; }
	.review__layout { grid-template-columns: 1fr; gap: 2rem; }
	.review__rail { position: static; }
}
