/*
Theme Name: HVAC Sheet
Theme URI: https://hvacsheet.com
Author: hvacsheet.com
Description: A spec sheet directory theme for US HVAC equipment. Includes a Spec Sheet post type with 30 rating, electrical and size fields, equipment type and brand filters, a side-by-side compare page, rating plate design, Product schema and model number search.
Version: 1.2.1
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hvacsheet
Tags: one-column, two-columns, custom-menu, custom-logo, featured-images, translation-ready, blog
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ink: #1B2A33;
	--ink-soft: #33444E;
	--steel: #56666F;
	--line: #C9D2D7;
	--line-strong: #9DAAB1;
	--paper: #EEF1F2;
	--white: #FFFFFF;
	--plate-top: #E8ECEE;
	--plate-bottom: #CFD6DA;
	--cool: #1F6FB2;
	--cool-tint: #E2EDF7;
	--heat: #C23B22;
	--heat-tint: #F7E5E1;

	--font: "Barlow", "Helvetica Neue", Arial, sans-serif;
	--font-cond: "Barlow Condensed", "Arial Narrow", "Barlow", sans-serif;

	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: 1.5rem;
	--step-3: 2rem;
	--step-4: clamp(2.25rem, 1.6rem + 2.8vw, 3.5rem);

	--gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
	--max: 1200px;
	--radius-s: 4px;
	--radius-m: 6px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }

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

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

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

a { color: var(--cool); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

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

.icon { flex: none; vertical-align: -0.2em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	top: 0.5rem; left: 0.5rem; z-index: 1000;
	padding: 0.75rem 1rem;
	background: var(--white); color: var(--ink);
	border: 2px solid var(--ink);
}

.wrap {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* ==========================================================================
   Buttons and form controls
   ========================================================================== */
.button,
button.button,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.55rem 1.1rem;
	border: 2px solid var(--ink);
	border-radius: var(--radius-s);
	background: var(--ink);
	color: var(--white);
	font: 600 1rem/1.2 var(--font);
	text-decoration: none;
	cursor: pointer;
}
.button:hover, input[type="submit"]:hover { background: var(--ink-soft); border-color: var(--ink-soft); color: var(--white); }

.button--ghost { background: transparent; color: var(--ink); }
.button--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }

.button--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.button--light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

input[type="text"], input[type="search"], input[type="number"], input[type="email"], input[type="url"], textarea, select {
	width: 100%;
	min-height: 2.75rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-s);
	background: var(--white);
	color: var(--ink);
	font: 400 1rem/1.3 var(--font);
}
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--cool); }

label { font-weight: 500; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 4rem;
}

.wordmark {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--ink);
	text-decoration: none;
}
.wordmark__name {
	font-size: 1.375rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.wordmark:hover { color: var(--ink); }
.custom-logo { max-height: 44px; width: auto; }

.site-nav {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-left: auto;
}
.site-nav .menu {
	display: flex;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav .menu a {
	display: block;
	padding: 1.25rem 0 1.1rem;
	border-bottom: 3px solid transparent;
	color: var(--ink);
	font-weight: 500;
	text-decoration: none;
}
.site-nav .menu a:hover { border-bottom-color: var(--line-strong); }
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a,
.site-nav .current_page_item > a { border-bottom-color: var(--ink); }

.nav-search { display: flex; position: relative; width: 12rem; }
.nav-search input { min-height: 2.4rem; padding-right: 2.5rem; font-size: 0.95rem; }
.nav-search button {
	position: absolute; right: 0; top: 0;
	width: 2.5rem; height: 100%;
	display: grid; place-items: center;
	border: 0; background: none; color: var(--steel); cursor: pointer;
}

.nav-toggle {
	display: none;
	margin-left: auto;
	width: 2.75rem; height: 2.75rem;
	place-items: center;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-s);
	background: var(--white);
	color: var(--ink);
	cursor: pointer;
}
.nav-toggle__close { display: none; }

@media (max-width: 900px) {
	.nav-toggle { display: grid; }
	.site-nav {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.5rem var(--gutter) 1.25rem;
		background: var(--white);
		border-bottom: 1px solid var(--line);
	}
	.nav-open .site-nav { display: flex; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
	.site-nav .current-menu-item > a { border-bottom-color: var(--line); box-shadow: inset 3px 0 0 var(--ink); padding-left: 0.75rem; }
	.nav-search { width: 100%; margin-top: 1rem; }
}

/* ==========================================================================
   Rating plate (the signature element)
   ========================================================================== */
.plate {
	position: relative;
	padding: 1.75rem 2rem 1.5rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-m);
	background-color: var(--plate-bottom);
	background-image:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 1px, rgba(255, 255, 255, 0) 1px 3px),
		linear-gradient(180deg, var(--plate-top), var(--plate-bottom));
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.8),
		inset 0 -1px 0 rgba(27, 42, 51, 0.12),
		0 1px 0 var(--white),
		0 12px 24px -16px rgba(27, 42, 51, 0.45);
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}

.plate__rivet {
	position: absolute;
	width: 10px; height: 10px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #FFFFFF 0 15%, #A8B3B9 45%, #6E7C84 100%);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -1px 1px rgba(0, 0, 0, 0.2);
}
.plate__rivet--tl { top: 10px; left: 10px; }
.plate__rivet--tr { top: 10px; right: 10px; }
.plate__rivet--bl { bottom: 10px; left: 10px; }
.plate__rivet--br { bottom: 10px; right: 10px; }

.plate__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding-bottom: 0.6rem;
	border-bottom: 2px solid var(--ink);
}
.plate__brand { font-size: 1.125rem; font-weight: 700; }
.plate__type {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-family: var(--font-cond);
	font-weight: 600;
	font-size: 1rem;
	color: var(--ink-soft);
}
.plate--cool .plate__type .icon--cool,
.plate--both .plate__type .icon--cool { color: var(--cool); }
.plate--heat .plate__type .icon--heat,
.plate--both .plate__type .icon--heat { color: var(--heat); }

.plate__model {
	display: flex;
	flex-direction: column;
	margin: 0.9rem 0 1rem;
}
.plate__label,
.plate__grid dt {
	font-family: var(--font-cond);
	font-weight: 500;
	font-size: 0.95rem;
	color: var(--steel);
}
.plate__model-no {
	font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.1;
	color: var(--ink);
	text-decoration: none;
	word-break: break-word;
}
a.plate__model-no::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-m); }
a.plate__model-no:focus-visible { outline: none; }
a.plate__model-no:focus-visible::after { outline: 3px solid var(--cool); outline-offset: 3px; }
.plate--link { transition: transform 0.15s ease; }
.plate--link:hover { transform: translateY(-2px); }

.plate__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	border-top: 1px solid rgba(27, 42, 51, 0.3);
}
.plate__cell {
	padding: 0.6rem 0.75rem 0.6rem 0.85rem;
	border-bottom: 1px solid rgba(27, 42, 51, 0.3);
	box-shadow: inset 3px 0 0 transparent;
}
.plate__cell:nth-child(odd) { border-right: 1px solid rgba(27, 42, 51, 0.3); }
.plate__cell--cool { box-shadow: inset 3px 0 0 var(--cool); }
.plate__cell--heat { box-shadow: inset 3px 0 0 var(--heat); }
.plate__grid dd {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
}

.plate__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.25rem;
	margin: 0.9rem 0 0;
	font-family: var(--font-cond);
	font-weight: 600;
	font-size: 1rem;
	color: var(--ink-soft);
}

/* ==========================================================================
   Home: hero
   ========================================================================== */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.hero__title {
	max-width: 17ch;
	margin-bottom: 1rem;
	font-size: var(--step-4);
	letter-spacing: -0.025em;
	line-height: 1.04;
}
.hero__lede { max-width: 52ch; font-size: var(--step-1); color: var(--ink-soft); margin-bottom: 1.75rem; }
.hero__popular { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin-top: 1rem; font-size: var(--step--1); color: var(--steel); }
.hero__popular a { font-weight: 500; }
.hero__plate-note { margin: 0.75rem 0 0; font-size: var(--step--1); color: var(--steel); text-align: right; }

@media (max-width: 860px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__plate { max-width: 30rem; }
	.hero__plate-note { text-align: left; }
}

/* Search form */
.search-form { display: flex; gap: 0.5rem; max-width: 36rem; }
.search-form__input { flex: 1; }
.search-form--large .search-form__input {
	min-height: 3.5rem;
	padding-inline: 1rem;
	border: 2px solid var(--ink);
	font-size: 1.125rem;
}
.search-form--large .search-form__submit { min-height: 3.5rem; padding-inline: 1.4rem; }
@media (max-width: 480px) {
	.search-form__submit span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section + .section { border-top: 1px solid var(--line); }
.section__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: 1.25rem;
}
.section__title { margin: 0; font-size: var(--step-3); }
.section__more { font-weight: 600; white-space: nowrap; }

/* Equipment index: a ruled list, not cards */
.type-index {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 2px solid var(--ink);
}
.type-index__item { border-bottom: 1px solid var(--line); }
.type-index__item a {
	display: grid;
	grid-template-columns: 3.25rem 1fr auto;
	grid-template-areas: "icon name count" "icon desc desc";
	align-items: baseline;
	column-gap: 0.75rem;
	padding: 1rem 0.5rem 1rem 0;
	color: var(--ink);
	text-decoration: none;
}
.type-index__item a:hover .type-index__name { text-decoration: underline; text-underline-offset: 0.18em; }
.type-index__icon { grid-area: icon; display: flex; gap: 2px; align-self: center; color: var(--steel); }
.type-index__item--cool .icon--cool,
.type-index__item--both .icon--cool { color: var(--cool); }
.type-index__item--heat .icon--heat,
.type-index__item--both .icon--heat { color: var(--heat); }
.type-index__name { grid-area: name; font-size: var(--step-1); font-weight: 600; }
.type-index__count { grid-area: count; font-size: var(--step--1); color: var(--steel); font-variant-numeric: tabular-nums; }
.type-index__desc { grid-area: desc; font-size: 0.95rem; color: var(--steel); }
@media (max-width: 720px) { .type-index { grid-template-columns: 1fr; } }

/* Guides */
.guide-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
	border-top: 2px solid var(--ink);
	padding-top: 1.25rem;
}
.guide__title { font-size: var(--step-1); margin-bottom: 0.25rem; }
.guide__title a { color: var(--ink); text-decoration: none; }
.guide__title a:hover { text-decoration: underline; }
.guide__meta { font-size: var(--step--1); color: var(--steel); margin-bottom: 0.5rem; }
.guide__excerpt p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .guide-list { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ==========================================================================
   Spec list table
   ========================================================================== */
.spec-list { overflow-x: auto; }
.spec-list__table {
	width: 100%;
	border-collapse: collapse;
	background: var(--white);
	font-variant-numeric: tabular-nums;
}
.spec-list__table th,
.spec-list__table td {
	padding: 0.8rem 0.9rem;
	text-align: left;
	vertical-align: middle;
	border-bottom: 1px solid var(--line);
}
.spec-list__table thead th {
	font-family: var(--font-cond);
	font-weight: 600;
	font-size: 1rem;
	color: var(--steel);
	border-bottom: 2px solid var(--ink);
	background: var(--paper);
	white-space: nowrap;
}
.spec-list__table .num { text-align: right; white-space: nowrap; }
.spec-list__table tbody tr:hover { background: #F7F9FA; }
.th-cool::before, .th-heat::before {
	content: "";
	display: inline-block;
	width: 8px; height: 8px;
	margin-right: 0.4rem;
	border-radius: 50%;
	vertical-align: 0.1em;
}
.th-cool::before { background: var(--cool); }
.th-heat::before { background: var(--heat); }

.col-compare { width: 3rem; }
.col-model a { font-weight: 600; color: var(--ink); text-decoration: none; }
.col-model a:hover { color: var(--cool); text-decoration: underline; }
.col-model__brand { display: block; font-size: var(--step--1); color: var(--steel); }
.is-empty { color: var(--line-strong); }

.compare-check { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; cursor: pointer; }
.compare-check input,
.compare-toggle input {
	width: 1.15rem; height: 1.15rem;
	margin: 0;
	accent-color: var(--ink);
	cursor: pointer;
}

@media (max-width: 760px) {
	.spec-list__table, .spec-list__table tbody, .spec-list__table tr, .spec-list__table td { display: block; }
	.spec-list__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.spec-list__table tr {
		position: relative;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		padding: 0.9rem 0.9rem 0.75rem;
		border-bottom: 1px solid var(--line);
	}
	.spec-list__table td { padding: 0.15rem 0; border: 0; text-align: left; }
	.spec-list__table .num { text-align: left; }
	.spec-list__table .col-model { grid-column: 1 / -1; padding-right: 2.5rem; margin-bottom: 0.4rem; }
	.spec-list__table .col-type { grid-column: 1 / -1; font-size: var(--step--1); color: var(--steel); margin-bottom: 0.4rem; }
	.spec-list__table td.num::before {
		content: attr(data-label);
		display: block;
		font-family: var(--font-cond);
		font-size: 0.9rem;
		color: var(--steel);
	}
	.spec-list__table .col-compare { position: absolute; top: 0.75rem; right: 0.75rem; width: auto; }
}

/* ==========================================================================
   Page heads, filters, listings
   ========================================================================== */
.page-head { padding-block: clamp(2rem, 4vw, 3rem) 1.5rem; }
.page-head__title { font-size: var(--step-4); margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.page-head__intro { max-width: 60ch; color: var(--ink-soft); font-size: var(--step-1); margin: 0; }
.page-head .search-form { margin-top: 1.25rem; }

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin: 0 0 0.75rem;
	padding: 0;
	list-style: none;
	font-size: var(--step--1);
	color: var(--steel);
}
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: var(--line-strong); }
.crumbs a { color: var(--steel); }
.crumbs a:hover { color: var(--ink); }

.listing { padding-bottom: 4rem; }
.filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.75rem 1rem;
	padding: 1rem 1.25rem 1.1rem;
	margin-bottom: 1.5rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--ink);
}
.filters__field { flex: 1 1 10rem; min-width: 9rem; }
.filters__field--narrow { flex: 0 1 8rem; min-width: 7rem; }
.filters__field label { display: block; margin-bottom: 0.25rem; font-family: var(--font-cond); font-size: 0.95rem; color: var(--steel); }
.filters__actions { display: flex; align-items: center; gap: 1rem; }
.filters__clear { font-size: var(--step--1); }
.listing__count { font-size: var(--step--1); color: var(--steel); margin-bottom: 0.5rem; }

.empty {
	padding: 2rem;
	background: var(--white);
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius-m);
}
.empty p { max-width: 55ch; }

/* Badges */
.badges { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; }
.badge {
	display: inline-block;
	padding: 0.05rem 0.5rem;
	border-radius: var(--radius-s);
	font-family: var(--font-cond);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
}
.badge--energy-star { background: var(--cool-tint); color: #144C7C; }
.badge--efficient { background: var(--cool); color: var(--white); }
.badge--cold { background: var(--ink); color: var(--white); }
.badge--discontinued { background: transparent; color: var(--steel); box-shadow: inset 0 0 0 1px var(--line-strong); }
.col-model__badges { display: flex; margin-top: 0.3rem; }
.unit-head__badges { margin-top: 0.75rem; }

.filters__checks { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; min-height: 2.75rem; }
.filters__check { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 500; cursor: pointer; }
.filters__check input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--ink); }

/* Pagination */
.pagination { margin-top: 2rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.5rem; height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	background: var(--white);
	color: var(--ink);
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pagination a.page-numbers:hover { border-color: var(--ink); }

/* ==========================================================================
   Single spec sheet
   ========================================================================== */
.unit-head { padding-block: clamp(2rem, 4vw, 3rem) 1.5rem; }
.unit-head__title { font-size: var(--step-4); letter-spacing: -0.02em; margin-bottom: 0.5rem; max-width: 24ch; }
.unit-head__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; color: var(--steel); }
.unit-head__meta a { font-weight: 600; }
.unit-head__meta strong { color: var(--ink); font-weight: 600; }
.unit-head__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.compare-toggle { cursor: pointer; }
.compare-toggle.is-on { background: var(--cool-tint); border-color: var(--cool); color: var(--ink); }

.unit-body { padding-bottom: 4rem; }
.unit-top { display: grid; grid-template-columns: minmax(0, 34rem); gap: 2rem; margin-bottom: 2.5rem; }
.unit-top--media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.unit-media { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem; }
.unit-media img { margin-inline: auto; }
@media (max-width: 820px) { .unit-top--media { grid-template-columns: 1fr; } }

.unit-summary { max-width: 65ch; font-size: var(--step-1); color: var(--ink-soft); margin-bottom: 2.5rem; }

.unit-specs {
	columns: 2 26rem;
	column-gap: 3rem;
}
.spec-group { break-inside: avoid; margin-bottom: 2.25rem; }
.spec-group__title {
	font-size: var(--step-1);
	padding-bottom: 0.4rem;
	margin-bottom: 0;
	border-bottom: 2px solid var(--ink);
}
.spec-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.spec-table th, .spec-table td {
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}
.spec-table th { width: 50%; padding-right: 1rem; font-weight: 500; color: var(--steel); }
.spec-table td { font-weight: 600; }
.spec-table tr.is-cool td { box-shadow: inset 3px 0 0 var(--cool); padding-left: 0.75rem; }
.spec-table tr.is-heat td { box-shadow: inset 3px 0 0 var(--heat); padding-left: 0.75rem; }

.unit-notes { max-width: 70ch; margin-top: 1rem; }
.unit-notes__title { font-size: var(--step-2); }

.disclaimer {
	max-width: 70ch;
	margin: 2.5rem 0;
	padding: 1rem 1.25rem;
	background: var(--white);
	border-left: 3px solid var(--line-strong);
	font-size: var(--step--1);
	color: var(--ink-soft);
}
.related { margin-top: 3rem; }

/* ==========================================================================
   Compare
   ========================================================================== */
.compare { padding-bottom: 4rem; }
.compare-scroll { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.compare-table { width: 100%; min-width: 40rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.compare-table th, .compare-table td {
	padding: 0.7rem 1rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--line);
}
.compare-table tbody th[scope="row"] {
	position: sticky;
	left: 0;
	z-index: 1;
	width: 14rem;
	background: var(--white);
	font-weight: 500;
	color: var(--steel);
	box-shadow: 1px 0 0 var(--line);
}
.compare-table td { font-weight: 600; }
.compare-table thead th { border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.compare-table__corner { position: sticky; left: 0; background: var(--white); z-index: 2; }
.compare-table__brand { display: block; font-size: var(--step--1); font-weight: 500; color: var(--steel); }
.compare-table__name { display: block; font-size: var(--step-1); font-weight: 700; color: var(--ink); text-decoration: none; }
.compare-table__name:hover { color: var(--cool); }
.compare-table__remove { display: inline-block; margin-top: 0.35rem; font-size: var(--step--1); font-weight: 500; }
.compare-table__group th {
	padding-top: 1.25rem;
	background: var(--paper);
	font-size: var(--step-0);
	font-weight: 700;
	color: var(--ink);
}
.compare-table__group th[scope="rowgroup"] { position: static; }
.compare-table td.is-best { background: var(--cool-tint); }
.best-tag {
	display: inline-block;
	margin-left: 0.35rem;
	padding: 0 0.4rem;
	border-radius: var(--radius-s);
	background: var(--cool);
	color: var(--white);
	font-family: var(--font-cond);
	font-size: 0.85rem;
	font-weight: 600;
	vertical-align: 0.1em;
}
.compare__add { margin-top: 1rem; font-weight: 600; }

/* Compare tray */
.compare-tray {
	position: fixed;
	left: 50%;
	bottom: 1rem;
	z-index: 60;
	display: flex;
	align-items: center;
	gap: 1rem;
	width: max-content;
	max-width: calc(100% - 2rem);
	padding: 0.6rem 0.6rem 0.6rem 1.1rem;
	transform: translateX(-50%);
	background: var(--ink);
	color: var(--white);
	border-radius: var(--radius-m);
	box-shadow: 0 12px 32px -12px rgba(27, 42, 51, 0.6);
	animation: tray-in 0.2s ease-out;
}
.compare-tray[hidden] { display: none; }
.compare-tray__status { margin: 0; font-size: 0.95rem; }
.compare-tray__go.is-disabled { opacity: 0.5; cursor: not-allowed; }
.compare-tray__clear {
	padding: 0.5rem;
	border: 0;
	background: none;
	color: #C9D6DD;
	font: 500 0.95rem var(--font);
	text-decoration: underline;
	cursor: pointer;
}
.compare-tray__clear:hover { color: var(--white); }
.compare-tray :focus-visible { outline-color: var(--white); }
@keyframes tray-in { from { transform: translate(-50%, 1rem); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
@media (max-width: 520px) {
	.compare-tray { flex-wrap: wrap; gap: 0.5rem; width: calc(100% - 2rem); }
	.compare-tray__status { flex: 1 1 100%; }
}

/* ==========================================================================
   Articles and prose
   ========================================================================== */
.entries { padding-bottom: 4rem; }
.entry-list { border-top: 2px solid var(--ink); }
.entry-card { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.entry-card__kind { margin: 0 0 0.25rem; font-size: var(--step--1); color: var(--steel); }
.entry-card__title { font-size: var(--step-2); margin-bottom: 0.35rem; }
.entry-card__title a { color: var(--ink); text-decoration: none; }
.entry-card__title a:hover { text-decoration: underline; }
.entry-card__excerpt p { margin: 0; max-width: 70ch; color: var(--ink-soft); }
.entry-card__specs { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-block: clamp(2rem, 4vw, 3rem) 4rem; }
.has-sidebar .article-layout { grid-template-columns: minmax(0, 1fr) 18rem; }
@media (max-width: 960px) { .has-sidebar .article-layout { grid-template-columns: 1fr; } }
.article { max-width: 46rem; }
.article--page { padding-block: clamp(2rem, 4vw, 3rem) 4rem; }
.article__cat { margin-bottom: 0.5rem; font-weight: 600; }
.article__title { font-size: var(--step-4); letter-spacing: -0.02em; }
.article__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; color: var(--steel); font-size: var(--step--1); }
.article__image { margin: 1.5rem 0 2rem; }
.article__image img { border-radius: var(--radius-m); }
.article__tags a {
	display: inline-block;
	margin: 0 0.35rem 0.35rem 0;
	padding: 0.15rem 0.6rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-s);
	font-size: var(--step--1);
	color: var(--ink);
	text-decoration: none;
}

.prose { font-size: 1.125rem; line-height: 1.65; }
.prose > * { max-width: 68ch; }
.prose h2 { font-size: var(--step-3); margin-top: 2.25rem; }
.prose h3 { font-size: var(--step-2); margin-top: 1.75rem; }
.prose h4 { font-size: var(--step-1); margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.prose li + li { margin-top: 0.35em; }
.prose blockquote {
	margin: 1.75rem 0;
	padding: 0.25rem 0 0.25rem 1.25rem;
	border-left: 3px solid var(--cool);
	font-size: var(--step-1);
	color: var(--ink-soft);
}
.prose table, .prose .wp-block-table table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
	background: var(--white);
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
}
.prose th, .prose td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose thead th { border-bottom: 2px solid var(--ink); font-family: var(--font-cond); font-weight: 600; color: var(--steel); }
.prose .wp-block-table { overflow-x: auto; }
.prose code { padding: 0.1em 0.35em; background: var(--white); border: 1px solid var(--line); border-radius: 3px; font-size: 0.9em; }
.prose pre { overflow-x: auto; padding: 1rem; background: var(--ink); color: var(--white); border-radius: var(--radius-m); }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose img { border-radius: var(--radius-s); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.prose .alignwide { max-width: 60rem; }
.prose .alignfull { max-width: none; }

.wp-caption-text, .wp-element-caption, figcaption { font-size: var(--step--1); color: var(--steel); margin-top: 0.5rem; }
.alignleft { float: left; margin: 0.25rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.25rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }

.post-navigation { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.post-navigation .nav-next { text-align: right; }
.post-navigation a { font-weight: 600; color: var(--ink); text-decoration: none; }
.post-navigation a:hover { color: var(--cool); }
.nav-label { display: block; font-size: var(--step--1); font-weight: 500; color: var(--steel); }

/* Sidebar and widgets */
.sidebar .widget { margin-bottom: 2rem; }
.widget-title { font-size: var(--step-1); padding-bottom: 0.4rem; border-bottom: 2px solid var(--ink); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); }

/* Comments */
.comments { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list .children { list-style: none; padding-left: 1.5rem; }
.comment-body { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.comment-meta { font-size: var(--step--1); color: var(--steel); }
.comment-author img { float: left; margin-right: 0.75rem; border-radius: 50%; }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; margin-bottom: 0.25rem; }

/* 404 */
.not-found { padding-block: clamp(3rem, 8vw, 6rem); }
.not-found .search-form { margin: 1.5rem 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { margin-top: 0; background: var(--ink); color: #D5DEE3; }
.site-footer a { color: var(--white); }
.site-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 2.5rem;
	padding-block: 3rem 2rem;
}
.wordmark--footer { color: var(--white); margin-bottom: 1rem; }
.wordmark--footer:hover { color: var(--white); }
.site-footer__note { max-width: 46ch; font-size: 0.95rem; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 0.5rem; }
.footer-menu a { text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; }
.site-footer .widget-title { color: var(--white); border-bottom-color: #4A5C67; }
.site-footer .widget li { border-bottom-color: #33444E; }
.site-footer__legal { padding-block: 1.25rem; border-top: 1px solid #33444E; font-size: var(--step--1); color: #A9B8C0; }
.site-footer__legal p { margin: 0; }
@media (max-width: 860px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   Motion and print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.plate--link:hover { transform: none; }
}

@media print {
	.site-header, .site-footer, .compare-tray, .unit-head__actions, .filters, .related, .pagination { display: none !important; }
	body { background: #fff; }
	.plate { box-shadow: none; }
}
