/*
Theme Name: Steady Stride
Theme URI: https://strongbodilys.com/
Author: Steady Stride
Description: A clean health & fitness magazine theme for walking and everyday fitness content. Colour-treated card images, Pinterest-first sharing, table of contents, printable download buttons, related articles and a built-in newsletter list. Ad-friendly layout.
Version: 1.1.0
Requires at least: 6.0
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: strongbodilys
Tags: blog, news, two-columns, custom-menu, custom-logo, featured-images, sticky-post, threaded-comments, translation-ready
*/

/* ---------- tokens ---------- */
:root {
	--brand: #1f5c47;
	--brand-deep: #0f3a2c;
	--ink: #16201c;
	--muted: #5d6762;
	--line: #e2e4df;
	--bg: #ffffff;
	--soft: #f5f4ef;
	--lime: #cfe87a;
	--lime-soft: #eef6d4;
	--coral: #f2795b;
	--sun: #f5c451;
	--sun-soft: #fff4d8;
	--lilac: #bba8e3;
	--sky: #9fcbe6;
	--pin: #e60023;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1240px;
	--radius: 4px;
}

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

html { scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 17px/1.6 var(--sans);
	overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); 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 {
	position: fixed; top: 8px; left: 8px; z-index: 999; width: auto; height: auto; clip: auto;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}

.wrap { width: min(var(--wrap), 100% - 2 * max(4vw, 16px)); margin-inline: auto; }
.section { padding-block: clamp(32px, 4.5vw, 64px); }
.section:not([class*="band-"]):not(.nl) + .section:not([class*="band-"]):not(.nl):not(.related) { padding-top: 0; }

/* ---------- header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: #fff; border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.hdr {
	display: flex; align-items: center; gap: 24px;
	min-height: 72px;
}
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 34px; width: auto; max-height: 44px; }
.site-footer .logo img { height: 40px; }

.nav { flex: 1; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.nav a { font: 600 15px/1 var(--sans); padding: 10px 0; display: inline-block; border-bottom: 2px solid transparent; }
.nav a:hover, .nav .current-menu-item > a, .nav .current-category-ancestor > a { color: var(--brand); border-color: var(--brand); }
.nav .sub-menu { display: none; }

.hdr-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
	width: 44px; height: 44px; display: inline-grid; place-items: center;
	border: 0; background: transparent; border-radius: 50%; cursor: pointer;
}
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 22px; height: 22px; }
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer;
	background: var(--brand); color: #fff; font: 700 15px/1 var(--sans);
}
.btn:hover { background: var(--brand-deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--brand-deep); }
.btn.light:hover { background: var(--lime); color: var(--brand-deep); }
.menu-btn { display: none; }

.search-panel { border-top: 1px solid var(--line); background: #fff; padding-block: 18px; }
.search-panel[hidden] { display: none; }
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] {
	flex: 1; min-height: 48px; padding: 0 16px; font-size: 16px;
	border: 1.5px solid var(--line); border-radius: 999px; background: var(--soft);
}
.search-form input[type="search"]:focus { border-color: var(--brand); background: #fff; outline: none; }

.topics {
	display: flex; gap: 10px; overflow-x: auto; padding-block: 12px; scrollbar-width: none;
	border-top: 1px solid var(--line);
}
.topics::-webkit-scrollbar { display: none; }
.topics a {
	flex: none; font: 600 14px/1 var(--sans); padding: 9px 14px; border-radius: 999px;
	background: var(--soft); white-space: nowrap;
}
.topics a:hover { background: var(--lime-soft); color: var(--brand-deep); }

@media (max-width: 1000px) {
	.menu-btn { display: inline-grid; }
	.nav {
		position: fixed; inset: 0 auto 0 0; width: min(340px, 86vw); z-index: 60;
		background: #fff; padding: 84px 24px 24px; overflow-y: auto;
		transform: translateX(-102%); transition: transform .25s ease;
		box-shadow: 0 0 0 100vmax rgba(15, 58, 44, 0);
	}
	.nav ul { flex-direction: column; gap: 0; }
	.nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
	body.nav-open .nav { transform: none; box-shadow: 0 0 0 100vmax rgba(15, 58, 44, .45); }
	.nav-close { position: absolute; top: 16px; right: 16px; }
	.hdr-actions .btn { display: none; }
}
@media (min-width: 1001px) { .nav-close { display: none; } }

/* ---------- labels & bylines ---------- */
.kicker {
	display: inline-block; font: 700 12px/1.2 var(--sans); letter-spacing: .06em;
	text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
a.kicker:hover { color: var(--brand); }
.byline { font: 400 14px/1.4 var(--sans); color: var(--muted); margin-top: 10px; }
.byline b { font-weight: 600; color: var(--ink); }

/* ---------- colour-treated images ---------- */
.art {
	position: relative; display: block; overflow: hidden; isolation: isolate;
	aspect-ratio: 3 / 2; background: var(--c1, var(--lime));
}
.art img, .art svg.ph {
	width: 100%; height: 100%; object-fit: cover;
}
.has-art .art img {
	filter: grayscale(1) contrast(1.08) brightness(1.08);
	mix-blend-mode: multiply;
	transition: transform .5s ease;
}
.has-art .art::before,
.has-art .art::after { content: ""; position: absolute; pointer-events: none; z-index: 2; }
.has-art .art::before {
	width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--c2, var(--sun));
	top: var(--y, -12%); left: var(--x, -8%);
}
.has-art .art::after {
	inset: 0; opacity: .35; mix-blend-mode: soft-light;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='160' viewBox='0 0 240 160' fill='none' stroke='%23fff' stroke-width='1.2'%3E%3Cpath d='M-10 30c40-24 80 24 120 0s80-24 140 0M-10 58c40-24 80 24 120 0s80-24 140 0M-10 86c40-24 80 24 120 0s80-24 140 0M-10 114c40-24 80 24 120 0s80-24 140 0M-10 142c40-24 80 24 120 0s80-24 140 0'/%3E%3C/svg%3E");
	background-size: 240px 160px;
}
.has-art a:hover .art img, .has-art .art:hover img { transform: scale(1.03); }
.art.v0 { --c1: #d9a6b4; --c2: #f5c451; --x: 72%; --y: 62%; }
.art.v1 { --c1: #e1c14f; --c2: #f4e6a6; --x: -10%; --y: 58%; }
.art.v2 { --c1: #8fb9a8; --c2: #f5c18a; --x: 70%; --y: -14%; }
.art.v3 { --c1: #e6a1a8; --c2: #f2795b; --x: 76%; --y: 70%; }
.art.v4 { --c1: #b7b3e6; --c2: #f5e36a; --x: -12%; --y: -12%; }
.art.v5 { --c1: #9fcbe6; --c2: #f2795b; --x: 74%; --y: 56%; }
.no-art .art img { filter: none; mix-blend-mode: normal; }

/* ---------- cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
	display: flex; flex-direction: column; background: #fff;
	border: 1px solid var(--line);
}
.card-body { padding: 16px 14px 18px; display: flex; flex-direction: column; flex: 1; }
.card-title {
	margin: 0; font: 700 21px/1.2 var(--serif); letter-spacing: -0.005em; text-wrap: balance;
}
.card-title a:hover { color: var(--brand); }
.card .byline { margin-top: auto; padding-top: 12px; }

.row-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; }
.row-card .art { aspect-ratio: 1; }
.row-card .card-title { font-size: 18px; }
.row-card .kicker { margin-bottom: 6px; }
.row-card + .row-card { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }

/* ---------- section heads ---------- */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-head h2 { margin: 0; font: 700 clamp(26px, 3vw, 34px)/1.1 var(--serif); letter-spacing: -0.01em; }
.see-all { font: 700 15px/1 var(--sans); color: var(--brand); white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.see-all:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 40px; padding-top: clamp(24px, 3vw, 40px); }
.lead .art { aspect-ratio: 16 / 10; }
.lead-body { padding-top: 20px; }
.lead h1, .lead h2 {
	margin: 0; font: 700 clamp(30px, 3.6vw, 46px)/1.08 var(--serif); letter-spacing: -0.015em; text-wrap: balance;
}
.lead .dek { font-size: 18px; color: var(--muted); margin: 12px 0 0; max-width: 62ch; }
.side-list h2 {
	margin: 0 0 18px; font: 700 15px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
	padding-bottom: 12px; border-bottom: 2px solid var(--ink);
}

/* ---------- bands ---------- */
.band-start { background: var(--brand-deep); color: #fff; position: relative; overflow: hidden; }
.band-start::before {
	content: ""; position: absolute; width: 420px; aspect-ratio: 1; border-radius: 50%;
	background: var(--lime); right: -140px; top: -180px; opacity: .9;
}
.band-start::after {
	content: ""; position: absolute; width: 220px; aspect-ratio: 1; border-radius: 50%;
	background: var(--coral); left: -90px; bottom: -110px;
}
.band-start .wrap { position: relative; z-index: 1; }
.start-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 40px; align-items: start; }
.start-intro h2 { margin: 0; font: 700 clamp(30px, 3.4vw, 44px)/1.08 var(--serif); text-wrap: balance; }
.start-intro p { color: #d7e6de; margin: 14px 0 24px; }
.band-start .card { border-color: transparent; color: var(--ink); }

.cat-block { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; }
.cat-block .card-title.big { font-size: clamp(24px, 2.4vw, 30px); }

.band-print { background: var(--lime-soft); }
.p-card { position: relative; }
.p-card .pill {
	position: absolute; top: 12px; left: 12px; z-index: 3;
	font: 700 12px/1 var(--sans); background: #fff; color: var(--brand-deep);
	padding: 8px 10px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center;
}

.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.promise h3 { margin: 12px 0 6px; font: 700 21px/1.2 var(--serif); }
.promise p { margin: 0; color: var(--muted); font-size: 16px; }
.promise .ico {
	width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
	background: var(--lime-soft); color: var(--brand);
}
.promise .ico svg { width: 26px; height: 26px; }

/* ---------- newsletter ---------- */
.nl { background: var(--sun-soft); position: relative; overflow: hidden; }
.nl::before {
	content: ""; position: absolute; width: 300px; aspect-ratio: 1; border-radius: 50%;
	background: var(--sun); right: 6%; top: -150px;
}
.nl .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.nl h2 { margin: 0; font: 700 clamp(28px, 3vw, 38px)/1.1 var(--serif); text-wrap: balance; }
.nl p { margin: 10px 0 0; color: var(--muted); }
.nl-form { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-form input[type="email"] {
	flex: 1 1 220px; min-height: 52px; padding: 0 18px; font-size: 16px;
	border: 1.5px solid var(--ink); border-radius: 999px; background: #fff;
}
.nl-form .btn { min-height: 52px; }
.nl-note { font-size: 13px; color: var(--muted); margin-top: 10px; width: 100%; }
.nl-msg { font-weight: 700; color: var(--brand); margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-deep); color: #e6efe9; padding-block: 56px 28px; }
.site-footer a:hover { color: var(--lime); }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.ft-about { margin: 16px 0 0; color: #b9cfc4; font-size: 15px; max-width: 40ch; }
.site-footer h3 { margin: 0 0 14px; font: 700 14px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--lime); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.ft-social { display: flex; gap: 8px; margin-top: 20px; }
.ft-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
.ft-social a:hover { background: var(--lime); color: var(--brand-deep); }
.ft-social svg { width: 18px; height: 18px; }
.ft-bottom {
	margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15);
	display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; color: #9fb8ab;
}
.ft-bottom p { margin: 0; max-width: 80ch; }

/* ---------- article ---------- */
.crumbs { font: 500 14px/1.4 var(--sans); color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--brand); font-weight: 700; }
.crumbs a:hover { text-decoration: underline; }
.post-head { max-width: 860px; padding-top: clamp(24px, 3vw, 40px); }
.post-head h1 {
	margin: 14px 0 0; font: 700 clamp(32px, 4.2vw, 50px)/1.08 var(--serif); letter-spacing: -0.015em; text-wrap: balance;
}
.post-head .dek { font-size: 20px; line-height: 1.5; color: var(--muted); margin: 16px 0 0; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 22px; font-size: 15px; color: var(--muted); }
.meta .who { display: flex; align-items: center; gap: 10px; }
.meta .who img { width: 44px; height: 44px; border-radius: 50%; }
.meta b { color: var(--ink); font-weight: 600; }
.meta a b:hover { color: var(--brand); }
.meta .sep { width: 1px; height: 18px; background: var(--line); }
.post-hero { margin: 28px 0 0; }
.post-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-hero figcaption, .entry figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

.post-grid {
	display: grid; grid-template-columns: 56px minmax(0, 720px) minmax(0, 300px); gap: 40px;
	justify-content: space-between; margin-top: 36px;
}
.share-rail { position: sticky; top: 100px; align-self: start; display: grid; gap: 10px; }
.share-btn {
	width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
	border: 1.5px solid var(--line); background: #fff;
}
.share-btn svg { width: 19px; height: 19px; }
.share-btn:hover { border-color: var(--ink); color: var(--ink); }
.share-btn.pin { background: var(--pin); border-color: var(--pin); color: #fff; }
.share-btn.pin:hover { background: #b8001c; border-color: #b8001c; color: #fff; }
.share-btn .done { display: none; }
.share-btn.copied .done { display: block; }
.share-btn.copied .cp { display: none; }

.sidebar { align-self: start; position: sticky; top: 100px; display: grid; gap: 24px; }
.side-box { border: 1px solid var(--line); padding: 20px; }
.side-box > h3 { margin: 0 0 14px; font: 700 14px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.side-box.nl-mini { background: var(--sun-soft); border-color: transparent; }
.side-box.nl-mini > h3 { font: 700 22px/1.15 var(--serif); letter-spacing: 0; text-transform: none; }
.side-box.nl-mini p { font-size: 15px; color: var(--muted); margin: 0 0 14px; }
.side-box .nl-form input[type="email"] { min-height: 46px; flex-basis: 100%; }
.side-box .nl-form .btn { width: 100%; min-height: 46px; }
.side-box .row-card { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
.side-box .row-card .card-title { font-size: 16px; }
.side-box .row-card + .row-card { padding-top: 14px; margin-top: 14px; }

.toc { background: var(--soft); padding: 4px 22px; margin: 0 0 32px; border-radius: var(--radius); }
.toc summary {
	cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
	min-height: 56px; font: 700 17px/1 var(--sans);
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-size: 24px; font-weight: 400; }
.toc[open] summary::after { content: "–"; }
.toc ol { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 8px; font-size: 16px; }
.toc a { color: var(--brand); font-weight: 500; }
.toc a:hover { text-decoration: underline; }

/* entry content */
.entry { font-size: 18px; line-height: 1.7; }
.entry > * { margin-block: 0 1.15em; }
.entry h2 { font: 700 clamp(26px, 2.6vw, 32px)/1.2 var(--serif); margin: 1.6em 0 .55em; letter-spacing: -0.01em; }
.entry h3 { font: 700 23px/1.25 var(--serif); margin: 1.4em 0 .45em; }
.entry h4 { font: 700 19px/1.3 var(--sans); margin: 1.2em 0 .4em; }
.entry a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry a:hover { color: var(--brand-deep); text-decoration-thickness: 2px; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li { margin-bottom: .4em; }
.entry li::marker { color: var(--brand); font-weight: 700; }
.entry blockquote {
	margin-inline: 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--lime);
	font: 400 italic 22px/1.45 var(--serif);
}
.entry img { border-radius: 2px; }
.entry figure { margin-inline: 0; }
.entry table, .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.entry th, .entry td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry thead th, .entry table tr:first-child th { background: var(--brand); color: #fff; font-weight: 700; border: 0; }
.entry tbody tr:nth-child(even) td { background: var(--soft); }
.wp-block-table { overflow-x: auto; }
.wp-block-table.is-style-stripes { border: 0; }

.entry .is-style-key-takeaways,
.entry .key-takeaways {
	background: var(--lime-soft); padding: 22px 26px; border-radius: var(--radius);
}
.entry .is-style-key-takeaways > :first-child,
.entry .key-takeaways > :first-child { margin-top: 0; }
.entry .is-style-key-takeaways > :last-child,
.entry .key-takeaways > :last-child { margin-bottom: 0; }
.entry .is-style-tip, .entry .tip {
	background: var(--sun-soft); padding: 20px 24px; border-radius: var(--radius); font-size: 17px;
}
.entry .is-style-tip > :last-child, .entry .tip > :last-child { margin-bottom: 0; }
.entry .is-style-tip > :first-child, .entry .tip > :first-child { margin-top: 0; }

.wp-block-button__link, .entry .wp-block-button__link {
	background: var(--brand); color: #fff; border-radius: 999px; padding: 14px 26px;
	font: 700 16px/1 var(--sans); text-decoration: none;
}
.entry .wp-block-button__link:hover { background: var(--brand-deep); color: #fff; }
.entry .is-style-download .wp-block-button__link,
.dl-btn {
	display: inline-flex; align-items: center; gap: 10px; background: var(--coral); color: #fff;
	border-radius: 999px; padding: 14px 26px; font: 700 16px/1 var(--sans); text-decoration: none;
}
.entry .is-style-download .wp-block-button__link::before,
.dl-btn::before {
	content: ""; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0l-5-5m5 5l5-5M4 20h16'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0l-5-5m5 5l5-5M4 20h16'/%3E%3C/svg%3E") center / contain no-repeat;
}
.entry .is-style-download .wp-block-button__link:hover, .dl-btn:hover, .entry .dl-btn:hover { background: #d9603f; color: #fff; }
.entry .dl-btn, .entry .wp-block-button__link { color: #fff; text-decoration: none; }

.pin-wrap { position: relative; display: block; }
.pin-wrap .pin-it {
	position: absolute; top: 12px; left: 12px; z-index: 3; opacity: 0; transition: opacity .2s;
	background: var(--pin); color: #fff !important; text-decoration: none !important;
	font: 700 14px/1 var(--sans); padding: 10px 14px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center;
}
.pin-wrap .pin-it svg { width: 16px; height: 16px; }
.pin-wrap:hover .pin-it, .pin-wrap .pin-it:focus { opacity: 1; }
@media (hover: none) { .pin-wrap .pin-it { opacity: 1; } }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; }
.post-tags a { font: 600 14px/1 var(--sans); padding: 9px 14px; border-radius: 999px; background: var(--soft); }
.post-tags a:hover { background: var(--lime-soft); color: var(--brand-deep); }

.disclaimer {
	margin-top: 32px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius);
	font-size: 14px; color: var(--muted); line-height: 1.55;
}
.author-box { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; }
.author-box h3 { margin: 0 0 6px; font: 700 20px/1.2 var(--serif); }
.author-box p { margin: 0; font-size: 15px; color: var(--muted); }

.related { border-top: 1px solid var(--line); margin-top: 56px; }

/* ---------- archive / search ---------- */
.arch-head { background: var(--soft); position: relative; overflow: hidden; }
.arch-head::after {
	content: ""; position: absolute; width: 260px; aspect-ratio: 1; border-radius: 50%;
	background: var(--lime); right: -60px; bottom: -150px;
}
.arch-head .wrap { position: relative; z-index: 1; padding-block: clamp(32px, 4vw, 56px); }
.arch-head h1 { margin: 8px 0 0; font: 700 clamp(34px, 4.4vw, 54px)/1.05 var(--serif); letter-spacing: -0.015em; }
.arch-head .desc { max-width: 70ch; color: var(--muted); margin: 12px 0 0; font-size: 18px; }
.arch-head .count { font: 600 14px/1 var(--sans); color: var(--brand); margin-top: 16px; display: block; }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
	min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 14px;
	border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700;
}
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }

.page-body { max-width: 760px; }
.page-body h1 { font: 700 clamp(32px, 4vw, 48px)/1.1 var(--serif); margin: 0 0 24px; }
.empty { text-align: center; padding-block: 64px; }
.empty h1 { font: 700 clamp(36px, 5vw, 64px)/1.05 var(--serif); margin: 0 0 12px; }
.empty p { color: var(--muted); margin: 0 auto 24px; max-width: 50ch; }
.empty .search-form { max-width: 520px; margin: 0 auto; }

/* comments */
.comments { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.comments h2 { font: 700 26px/1.2 var(--serif); margin: 0 0 18px; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.comment-author img { border-radius: 50%; display: inline-block; vertical-align: middle; margin-right: 8px; }
.comment-meta { font-size: 13px; color: var(--muted); }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); font-size: 16px;
}
.comment-respond .submit { background: var(--brand); color: #fff; border: 0; border-radius: 999px; padding: 14px 24px; font-weight: 700; cursor: pointer; }

/* WordPress core alignment */
.alignwide { width: 100%; }
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: 13px; color: var(--muted); }
.sticky, .bypostauthor, .gallery-caption { }

/* ad slots */
.ad-slot { margin: 28px 0; text-align: center; }
.ad-slot:empty { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
	.post-grid { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 280px); gap: 32px; }
}
@media (max-width: 1000px) {
	.hero { grid-template-columns: minmax(0, 1fr); }
	.side-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
	.side-list h2 { grid-column: 1 / -1; }
	.side-list .row-card + .row-card { border-top: 0; margin-top: 0; padding-top: 0; }
	.side-list .row-card { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 16px; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.start-grid { grid-template-columns: minmax(0, 1fr); }
	.post-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.sidebar { position: static; }
	.share-rail { position: static; display: flex; order: -1; }
	.ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ft-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.grid-3 { grid-template-columns: minmax(0, 1fr); }
	.cat-block { grid-template-columns: minmax(0, 1fr); }
	.promise { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.nl .wrap { grid-template-columns: minmax(0, 1fr); }
	.side-list { grid-template-columns: minmax(0, 1fr); }
	.logo img { height: 26px; }
	.hdr { gap: 8px; }
	.entry { font-size: 17px; }
}
@media (max-width: 560px) {
	.grid-4 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.grid-4 .card { display: grid; grid-template-columns: 112px minmax(0, 1fr); border: 0; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
	.grid-4 .card .art { aspect-ratio: 1; }
	.grid-4 .card-body { padding: 0 0 0 14px; }
	.grid-4 .card-title { font-size: 18px; }
	.band-start .grid-4 .card { border-radius: var(--radius); padding: 10px; border: 0; }
	.ft-grid { grid-template-columns: minmax(0, 1fr); }
	.row-card { grid-template-columns: 96px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
