/*
Theme Name: PaverLab
Theme URI: https://paverlab.com
Author: PaverLab
Description: A fast, simple and mobile-first theme for PaverLab: DIY paver patio guides and researched gear advice. Includes Amazon-ready product boxes, pros/cons and verdict shortcodes, an automatic affiliate disclosure and a single-column reading layout.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.6
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: paverlab
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #17222B;
	--stone: #5F6B75;
	--line: #D5D8D2;
	--joint: #E3E5E0;
	--paper: #F7F8F6;
	--white: #FFFFFF;
	--yellow: #F2B200;
	--yellow-soft: #FFF6D6;
	--moss: #2E6B4A;
	--rust: #9B2C2C;

	--font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Source Serif 4", Georgia, "Times New Roman", serif;

	--wrap: 1180px;
	--measure: 700px;
	--side: 336px;
	--gap: clamp(1rem, 3vw, 2rem);
	--radius: 4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.125rem;
	line-height: 1.72;
	font-optical-sizing: auto;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.site-main { flex: 1 0 auto; }
.site-header, .site-footer { flex-shrink: 0; }
img, svg, video, iframe { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-stretch: 112%;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 2em 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; margin-top: 0; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p, ul, ol, table, figure, blockquote { margin: 0 0 1.25em; }
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 1rem; top: 1rem; z-index: 1000; background: var(--yellow); color: var(--ink); padding: .6rem 1rem; font-family: var(--font-head);
}
.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }

/* ---------- Buttons & forms ---------- */
.pl-btn, button, input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2;
	background: var(--yellow); color: var(--ink); border: 2px solid var(--yellow);
	border-radius: var(--radius); padding: .8rem 1.25rem; cursor: pointer; text-decoration: none;
}
.pl-btn:hover, button:hover, input[type="submit"]:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pl-btn--ghost { background: transparent; border-color: var(--ink); }
input[type="text"], input[type="search"], input[type="email"], input[type="url"], textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
	background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: .75rem .9rem;
}
input:focus, textarea:focus { border-color: var(--ink); outline: none; }
.search-form { display: flex; gap: .5rem; max-width: 560px; }
.search-form label { flex: 1; min-width: 0; }
.search-form button { flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.site-logo img, .custom-logo { display: block; height: 36px; width: auto; }
.site-logo { text-decoration: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.main-nav a { font-family: var(--font-head); font-weight: 600; font-size: .98rem; text-decoration: none; padding: .4rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { border-bottom-color: var(--yellow); }
.main-nav .sub-menu { display: none; }
.nav-toggle { display: none; background: transparent; border: 2px solid var(--ink); color: var(--ink); padding: .55rem .8rem; gap: .55rem; }
.nav-toggle:hover { background: var(--ink); color: var(--white); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
.site-logo img, .custom-logo { max-width: 60vw; }

@media (max-width: 860px) {
	.nav-toggle { display: inline-flex; }
	.main-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(23,34,43,.08); z-index: 50; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; padding: .5rem var(--gap) 1rem; }
	.main-nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--joint); }
	.main-nav .sub-menu { display: block; padding: 0 0 0 1rem; }
	.site-header { position: relative; }
}

/* ---------- Hero (front page) ---------- */
.hero { background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: stretch; min-height: 440px; }
.hero__text { padding: clamp(2.5rem, 6vw, 5rem) var(--gap) clamp(2.5rem, 6vw, 5rem) 0; align-self: center; }
.hero__text h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); max-width: 14ch; margin-bottom: .45em; }
.hero__lead { font-size: 1.2rem; color: var(--stone); max-width: 36ch; margin-bottom: 1.6em; }
.hero__pattern { position: relative; background: #B8BCB5; margin-right: calc(-1 * max(var(--gap), (100vw - var(--wrap)) / 2)); }
.hero__pattern svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.paver-set { transform-box: fill-box; transform-origin: center; animation: set-paver .9s cubic-bezier(.2,.8,.2,1) .35s both; }
@keyframes set-paver { from { transform: translateY(-38px) scale(1.04); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .paver-set { animation: none; } }

@media (max-width: 860px) {
	.hero__inner { grid-template-columns: 1fr; min-height: 0; }
	.hero__text { padding-right: 0; }
	.hero__pattern { height: 140px; margin-inline: calc(-1 * var(--gap)); order: -1; }
	.hero__pattern svg { height: 100%; }
}

/* ---------- Project path ---------- */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section--flush { padding-top: 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.section__head h2 { margin: 0; }
.section__head a { font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; border-top: 3px solid var(--ink); }
.path li { counter-increment: step; border-right: 1px solid var(--line); }
.path li:last-child { border-right: 0; }
.path a { display: block; height: 100%; padding: 1.1rem 1rem 1.3rem; text-decoration: none; }
.path a::before { content: counter(step); display: block; font-family: var(--font-head); font-stretch: 112%; font-weight: 800; font-size: 2.4rem; line-height: 1; color: #A3AAA2; margin-bottom: .6rem; transition: color .15s; }
.path a:hover { background: var(--white); }
.path a:hover::before { color: var(--yellow); }
.path strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.3; margin-bottom: .3rem; }
.path span { display: block; font-size: .95rem; line-height: 1.5; color: var(--stone); }
@media (max-width: 960px) {
	.path { grid-template-columns: 1fr; }
	.path li { border-right: 0; border-bottom: 1px solid var(--line); }
	.path a { display: grid; grid-template-columns: 3rem 1fr; column-gap: .75rem; padding: 1rem 0; }
	.path a::before { grid-row: span 2; font-size: 2rem; margin: 0; }
}

/* ---------- Post rows (lists) ---------- */
.rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 200px 1fr; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.row__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); background: var(--joint); }
.row__media--empty { aspect-ratio: 16 / 10; border-radius: var(--radius); background: var(--joint); }
.row__title { font-size: 1.25rem; margin: 0 0 .35rem; }
.row__title a { text-decoration: none; }
.row__title a:hover { text-decoration: underline; text-decoration-color: var(--yellow); }
.row__excerpt { color: var(--stone); font-size: 1rem; line-height: 1.6; margin: 0 0 .4rem; }
.meta { font-family: var(--font-head); font-size: .88rem; color: var(--stone); }
.meta a { color: var(--stone); }
.rows--grid { grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 4vw, 3rem); }
.rows--grid .row { grid-template-columns: 160px 1fr; }
.rows__empty { padding: 1.25rem 0; margin: 0; color: var(--stone); }
@media (max-width: 960px) { .rows--grid { grid-template-columns: 1fr; } .rows--grid .row { grid-template-columns: 200px 1fr; } }
@media (max-width: 600px) {
	.row, .rows--grid .row { grid-template-columns: 110px 1fr; gap: .9rem; }
	.row__title { font-size: 1.08rem; }
	.row__excerpt { display: none; }
}

.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.gear { background: var(--ink); color: var(--paper); padding: 1.5rem; border-radius: var(--radius); align-self: start; }
.gear h2 { color: var(--white); margin: 0 0 1rem; font-size: 1.4rem; }
.gear ul { list-style: none; margin: 0; padding: 0; }
.gear li { border-top: 1px solid rgba(255,255,255,.15); padding: .8rem 0; }
.gear a { color: var(--white); font-family: var(--font-head); font-weight: 600; text-decoration: none; line-height: 1.35; display: block; }
.gear a:hover { color: var(--yellow); }
.gear .meta { color: #AEB6BD; margin-top: .2rem; }
.gear .pl-btn { margin-top: 1rem; width: 100%; }

/* ---------- Page layout ---------- */
.page-head { padding: clamp(1.75rem, 4vw, 3rem) 0 1rem; }
.breadcrumbs { font-family: var(--font-head); font-size: .88rem; color: var(--stone); margin-bottom: .8rem; }
.breadcrumbs a { color: var(--stone); }
.breadcrumbs span[aria-hidden] { margin: 0 .35rem; }
.layout { display: grid; grid-template-columns: minmax(0, var(--measure)) var(--side); gap: clamp(2rem, 4vw, 3.5rem); justify-content: space-between; padding-bottom: 4rem; }
.layout--full { grid-template-columns: minmax(0, var(--measure)); justify-content: center; }
@media (max-width: 1100px) {
	.layout { grid-template-columns: minmax(0, 1fr); max-width: var(--measure); margin-inline: auto; }
}

/* Single post: one centred column, header and article share the same edge. */
.wrap--article { width: min(100% - 2 * var(--gap), var(--measure)); padding-bottom: 4rem; }
.wrap--article .page-head { padding-bottom: .5rem; }
.wrap--article .entry-title { font-size: clamp(1.9rem, 5vw, 2.9rem); max-width: none; }

.entry-title { max-width: 22ch; text-wrap: balance; }
.entry-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-family: var(--font-head); font-size: .92rem; color: var(--stone); margin-bottom: 1.25rem; }
.entry-meta img { border-radius: 50%; vertical-align: middle; margin-right: .4rem; }
.featured { margin: 0 0 1.75rem; }
.featured img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--joint); }

/* ---------- Article content ---------- */
.entry-content > * { max-width: 100%; }
.entry-content > br { display: none; }
.entry-content { overflow-wrap: break-word; }
.entry-content a { overflow-wrap: anywhere; }
.entry-content h2 { padding-top: .6rem; border-top: 3px solid var(--ink); }
.entry-content h2, .entry-content h3 { scroll-margin-top: 1.5rem; text-wrap: balance; }
.entry-content h2 + figure { margin-top: .4rem; }
.entry-content figure { margin: 1.75rem 0; }
.entry-content figure img { display: block; width: 100%; }
.entry-content figure.is-diagram img { background: var(--white); border: 1px solid var(--line); padding: clamp(.5rem, 2vw, 1rem); }
.entry-content .table-scroll, .entry-content .wp-block-table { margin: 0 0 1.5em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.entry-content .table-scroll table, .entry-content .wp-block-table table { margin: 0; }
.entry-content h2#faq + h3, .entry-content h2 + h3 { margin-top: 1rem; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--stone); }
.entry-content blockquote { margin-left: 0; padding: .2rem 0 .2rem 1.25rem; border-left: 4px solid var(--yellow); font-style: italic; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--font-head); font-size: .95rem; line-height: 1.45; }
.entry-content th { text-align: left; background: var(--ink); color: var(--white); font-weight: 600; }
.entry-content th, .entry-content td { padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry-content tr:nth-child(even) td { background: var(--white); }
.entry-content .wp-block-table, .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content figcaption { font-family: var(--font-head); font-size: .88rem; color: var(--stone); margin-top: .5rem; }
.entry-content img { border-radius: var(--radius); }
.entry-content code { background: var(--joint); padding: .1em .35em; border-radius: 3px; font-size: .9em; }
.alignwide { margin-inline: min(-4vw, -2rem); max-width: none; }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.aligncenter { margin-inline: auto; display: block; }
.alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
@media (max-width: 1100px) { .alignwide { margin-inline: 0; } }

/* ---------- Affiliate & review components ---------- */
.pl-disclosure { font-family: var(--font-head); font-size: .88rem; line-height: 1.5; color: var(--stone); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem 1rem; margin-bottom: 1.75rem; }
.pl-disclosure a { color: var(--stone); }

.pl-product { display: grid; grid-template-columns: 180px 1fr; gap: 1.25rem; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.25rem; margin: 2rem 0; }
.pl-product__media img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 0; }
.pl-product__badge { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin: 0 0 .35rem; }
.pl-product__badge::before { content: ""; width: 1.4rem; height: .7rem; background: var(--yellow); border-radius: 2px; }
.pl-product__name { margin: 0 0 .5rem; font-size: 1.3rem; }
.pl-product__desc { font-size: 1rem; line-height: 1.6; }
.pl-product__desc p:last-child { margin-bottom: .9rem; }
@media (max-width: 600px) { .pl-product { grid-template-columns: 1fr; } .pl-product__media { max-width: 220px; } .pl-product .pl-btn { width: 100%; } }

.pl-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0 2rem; font-family: var(--font-head); font-size: .98rem; line-height: 1.45; }
.pl-proscons > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.pl-proscons h4 { margin: 0 0 .6rem; font-size: 1.05rem; }
.pl-proscons ul { list-style: none; margin: 0; padding: 0; }
.pl-proscons li { position: relative; padding-left: 1.6rem; margin-bottom: .5rem; }
.pl-proscons li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.pl-pros h4 { color: var(--moss); } .pl-pros li::before { content: "+"; color: var(--moss); }
.pl-cons h4 { color: var(--rust); } .pl-cons li::before { content: "\2212"; color: var(--rust); }
@media (max-width: 600px) { .pl-proscons { grid-template-columns: 1fr; } }

.pl-verdict { background: var(--yellow-soft); border-left: 6px solid var(--yellow); padding: 1.1rem 1.25rem; margin: 2rem 0; border-radius: 0 var(--radius) var(--radius) 0; }
.pl-verdict h4 { margin: 0 0 .4rem; }
.pl-verdict p:last-child { margin-bottom: 0; }

.pl-steps { counter-reset: plstep; list-style: none; padding: 0 !important; }
.pl-steps > li { counter-increment: plstep; position: relative; padding-left: 3rem; margin-bottom: 1.1rem; }
.pl-steps > li::before { content: counter(plstep); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; display: grid; place-items: center; background: var(--ink); color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: .95rem; border-radius: var(--radius); }

/* ---------- Author box & related ---------- */
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; border-top: 3px solid var(--ink); padding-top: 1.5rem; margin-top: 3rem; }
.author-box img { border-radius: 50%; }
.author-box h2 { font-size: 1.15rem; margin: 0 0 .3rem; border: 0; padding: 0; }
.author-box p { font-size: 1rem; line-height: 1.6; color: var(--stone); margin: 0; }
.related { margin-top: 3rem; }
.related h2 { font-size: 1.3rem; margin: 0 0 1rem; }

/* ---------- Pagination & comments ---------- */
.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2rem; font-family: var(--font-head); }
.page-numbers { display: inline-grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .7rem; border: 2px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--white); }
.page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.page-numbers:hover:not(.current) { border-color: var(--ink); }
.comments-area { margin-top: 3rem; border-top: 3px solid var(--ink); padding-top: 1.5rem; font-size: 1rem; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 1.5rem; }
.comment-body { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.comment-meta { font-family: var(--font-head); font-size: .9rem; color: var(--stone); }
.comment-meta img { border-radius: 50%; vertical-align: middle; margin-right: .5rem; }
.comment-form label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: #B9C2C9; padding: 0 0 1.75rem; font-family: var(--font-head); font-size: .95rem; line-height: 1.6; }
.site-footer__stripe { height: 10px; background:
	linear-gradient(90deg, var(--yellow) 0 64px, transparent 64px) 0 0 / 100% 100% no-repeat,
	repeating-linear-gradient(90deg, #2A3843 0 44px, var(--ink) 44px 48px); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.site-footer__logo { display: inline-block; margin-bottom: 1rem; }
.site-footer__logo img { display: block; height: 32px; width: auto; }
.site-footer__brand p { max-width: 40ch; margin-bottom: 1.25rem; }
.site-footer .search-form { max-width: 360px; }
.site-footer .search-form input { background: #22303A; border-color: #33424E; color: var(--white); padding: .6rem .8rem; }
.site-footer .search-form input::placeholder { color: #8D98A1; }
.site-footer .search-form input:focus { border-color: var(--yellow); }
.site-footer .search-form button { padding: .6rem 1rem; }
.site-footer .search-form button:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.site-footer h2 { color: var(--yellow); font-size: .78rem; font-weight: 600; font-stretch: 100%; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer li:last-child { border-bottom: 0; }
.site-footer__col a { display: block; padding: .55rem 0; line-height: 1.35; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; border-top: 1px solid rgba(255,255,255,.12); margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.25rem; font-size: .82rem; color: #8D98A1; }
.site-footer__legal p { margin: 0; }
.site-footer__disclosure { max-width: 70ch; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; } .site-footer__legal { flex-direction: column; } .site-footer__col .menu { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.25rem; } .site-footer__col .menu li:nth-last-child(2) { border-bottom: 0; } }

/* ---------- Phones ---------- */
@media (max-width: 600px) {
	body { font-size: 1.0625rem; line-height: 1.7; }
	.site-header__inner { min-height: 64px; }
	.site-logo img, .custom-logo { height: 30px; }
	.main-nav { top: 64px; }
	.page-head { padding-top: 1.25rem; }
	.entry-meta { font-size: .86rem; gap: .3rem .9rem; }
	.entry-content h2 { margin-top: 1.75em; }
	.entry-content table { font-size: .86rem; }
	.entry-content th, .entry-content td { padding: .55rem .6rem; }
	.entry-content ul, .entry-content ol { padding-left: 1.15em; }
	/* Diagrams keep readable labels: scroll sideways instead of shrinking. */
	.entry-content figure.is-diagram { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: calc(-1 * var(--gap)); padding-inline: var(--gap); }
	.entry-content figure.is-diagram img { min-width: 620px; }
	.entry-content figure.is-diagram::after { content: "\2194  Swipe to see the whole diagram"; display: block; position: sticky; left: 0; font-family: var(--font-head); font-size: .8rem; color: var(--stone); margin-top: .4rem; }
	.featured { margin-inline: calc(-1 * var(--gap)); }
	.featured img { border-radius: 0; }
	.hero__text h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
	.hero__lead { font-size: 1.08rem; }
	.search-form button { padding-inline: 1rem; }
	.section__head { flex-wrap: wrap; }
}

/* ---------- 404 & misc ---------- */
.not-found { padding: 4rem 0 5rem; }
.not-found p { color: var(--stone); max-width: 46ch; }
.sticky-post-flag { font-family: var(--font-head); font-size: .85rem; }
.wp-caption { max-width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; }
.bypostauthor { }
