/*
Theme Name: HomeScope
Theme URI: https://homepayback.com
Author: HomePayback
Author URI: https://homepayback.com
Description: A premium, lightweight magazine theme for data-driven home project cost guides. Hero cost search, project tiles, styled cost tables, a calculator spotlight, built-in ad slots, sticky sharing and full dark mode — engineered to stay fast under ads.
Version: 1.0.2
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: homescope
Tags: blog, magazine, news, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, dark-mode, wide-blocks
*/

/* ============================================================
   HomeScope design system
   Foxiz-grade premium look, GeneratePress-grade lightness.
   All colors flow through variables so dark mode is a swap,
   never a second stylesheet.
   ============================================================ */

:root {
	--hs-ink: #10243e;
	--hs-ink-2: #1b3a5f;
	--hs-ink-deep: #0b1b30;
	--hs-accent: #f59e0b;
	--hs-accent-dark: #d97706;
	--hs-amber-soft: #fef3c7;
	--hs-amber-ink: #92400e;
	--hs-bg: #fafaf7;
	--hs-surface: #ffffff;
	--hs-soft: #eef1f4;
	--hs-line: #e2e8f0;
	--hs-text: #2b3a4f;
	--hs-heading: #10243e;
	--hs-muted: #64748b;
	--hs-green: #15803d;
	--hs-green-soft: #f0fdf4;
	--hs-header-bg: rgba(255, 255, 255, 0.94);
	--hs-radius: 16px;
	--hs-radius-sm: 10px;
	--hs-shadow: 0 1px 2px rgba(16, 36, 62, 0.05), 0 10px 30px -14px rgba(16, 36, 62, 0.22);
	--hs-shadow-lg: 0 2px 4px rgba(16, 36, 62, 0.06), 0 24px 48px -16px rgba(16, 36, 62, 0.3);
	--hs-font-head: "Archivo", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--hs-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--hs-wrap: 1200px;
}

[data-theme="dark"] {
	--hs-bg: #0a1424;
	--hs-surface: #101d33;
	--hs-soft: #16283f;
	--hs-line: #22354f;
	--hs-text: #cbd5e1;
	--hs-heading: #f1f5f9;
	--hs-muted: #94a3b8;
	--hs-amber-soft: #3a2c07;
	--hs-amber-ink: #fbbf24;
	--hs-green: #4ade80;
	--hs-green-soft: #0d2417;
	--hs-header-bg: rgba(10, 20, 36, 0.94);
	--hs-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px -14px rgba(0, 0, 0, 0.6);
	--hs-shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 24px 48px -16px rgba(0, 0, 0, 0.7);
}

/* ---------- Base ---------- */

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

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

body {
	margin: 0;
	background: var(--hs-bg);
	color: var(--hs-text);
	font-family: var(--hs-font-body);
	font-size: 16.5px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--hs-font-head);
	color: var(--hs-heading);
	line-height: 1.16;
	letter-spacing: -0.015em;
	margin: 0 0 0.55em;
}

a {
	color: var(--hs-ink-2);
	text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
	text-underline-offset: 3px;
}

[data-theme="dark"] a { color: #93c5fd; }
a:hover { color: var(--hs-accent-dark); }

img { max-width: 100%; height: auto; }
::selection { background: var(--hs-accent); color: #10243e; }

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

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--hs-ink);
	clip: auto;
	clip-path: none;
	color: #fff;
	height: auto;
	left: 8px;
	padding: 10px 16px;
	top: 8px;
	width: auto;
	z-index: 1000;
	border-radius: 8px;
}

.hs-wrap {
	max-width: var(--hs-wrap);
	margin-inline: auto;
	padding-inline: 20px;
}

.hs-wrap--narrow { max-width: 800px; }

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

/* ---------- Buttons ---------- */

.hs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--hs-font-head);
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	padding: 13px 22px;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.hs-btn--cta {
	background: var(--hs-accent);
	color: #231303;
	box-shadow: 0 8px 20px -8px rgba(245, 158, 11, 0.75);
}

.hs-btn--cta:hover { background: var(--hs-accent-dark); color: #fff; transform: translateY(-1px); }

.hs-btn--dark { background: var(--hs-ink); color: #fff; }
.hs-btn--dark:hover { background: var(--hs-ink-2); color: #fff; }

.hs-btn--lg { padding: 16px 28px; font-size: 16px; }
.hs-btn--block { width: 100%; }

.hs-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--hs-line);
	background: var(--hs-surface);
	color: var(--hs-heading);
	border-radius: 50%;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.hs-iconbtn:hover { border-color: var(--hs-accent); color: var(--hs-accent-dark); }

/* ---------- Reading progress ---------- */

.hs-progress {
	position: fixed;
	inset: 0 0 auto 0;
	height: 3px;
	z-index: 400;
	background: transparent;
}

.hs-progress__bar {
	display: block;
	height: 100%;
	width: 0;
	background: var(--hs-accent);
}

/* ---------- Top bar ---------- */

.hs-topbar {
	background: var(--hs-ink-deep);
	color: #cbd5e1;
	font-size: 13px;
}

.hs-topbar__in {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 38px;
	padding-block: 5px;
}

.hs-topbar__date { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hs-topbar__tag { color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hs-socials {
	display: flex;
	gap: 6px;
	list-style: none;
	margin: 0 0 0 auto;
	padding: 0;
}

.hs-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	color: #cbd5e1;
	transition: background 0.15s ease, color 0.15s ease;
}

.hs-socials a:hover { background: rgba(255, 255, 255, 0.12); color: var(--hs-accent); }

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: var(--hs-header-bg);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--hs-line);
	transition: box-shadow 0.2s ease;
}

body.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: var(--hs-shadow); }

.site-header__in {
	display: flex;
	align-items: center;
	gap: 26px;
	min-height: 72px;
}

.hs-brand { display: flex; align-items: center; flex: none; }
.hs-brand .custom-logo { max-height: 44px; width: auto; }

.hs-brand__name {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	user-select: none;
	-webkit-user-select: none;
	font-family: var(--hs-font-head);
	font-weight: 800;
	font-size: 24px;
	letter-spacing: -0.02em;
	color: var(--hs-heading);
	text-decoration: none;
}

.hs-brand__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--hs-ink);
	color: var(--hs-accent);
}

.hs-nav { margin-inline: auto; }

.hs-nav__list {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hs-nav__list > li > a {
	display: block;
	padding: 10px 13px;
	font-family: var(--hs-font-head);
	font-weight: 600;
	font-size: 15px;
	color: var(--hs-heading);
	text-decoration: none;
	border-radius: 8px;
}

.hs-nav__list > li > a:hover,
.hs-nav__list > li.current-menu-item > a { color: var(--hs-accent-dark); background: var(--hs-soft); }

.hs-nav__list .sub-menu {
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 210px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--hs-surface);
	border: 1px solid var(--hs-line);
	border-radius: 12px;
	box-shadow: var(--hs-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.hs-nav__list li { position: relative; }
.hs-nav__list li:hover > .sub-menu,
.hs-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.hs-nav__list .sub-menu a {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--hs-text);
	text-decoration: none;
	font-size: 14.5px;
}

.hs-nav__list .sub-menu a:hover { background: var(--hs-soft); color: var(--hs-accent-dark); }

.hs-actions { display: flex; align-items: center; gap: 9px; flex: none; }
.hs-menu-btn { display: none; }
.hs-only-dark { display: none; }
[data-theme="dark"] .hs-only-dark { display: inline-flex; }
[data-theme="dark"] .hs-only-light { display: none; }

/* Expanding search panel */

.hs-search-panel { border-top: 1px solid var(--hs-line); padding-block: 16px; }

.hs-searchform {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--hs-surface);
	border: 1.5px solid var(--hs-line);
	border-radius: 999px;
	padding: 6px 6px 6px 18px;
	color: var(--hs-muted);
}

.hs-searchform:focus-within { border-color: var(--hs-accent); }
.hs-searchform input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 16px;
	color: var(--hs-text);
	outline: none;
}

/* Generic search form (widgets, page heads) */

.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-form .search-field {
	width: 100%;
	padding: 12px 16px;
	border: 1.5px solid var(--hs-line);
	border-radius: 999px;
	background: var(--hs-surface);
	color: var(--hs-text);
	font: inherit;
	font-size: 15px;
}

.search-form .search-submit {
	border: 0;
	border-radius: 999px;
	background: var(--hs-ink);
	color: #fff;
	font-family: var(--hs-font-head);
	font-weight: 700;
	padding: 12px 20px;
	cursor: pointer;
}

/* Mobile drawer */

.hs-drawer { position: fixed; inset: 0; z-index: 300; }
.hs-drawer[hidden] { display: none; }
.hs-drawer__scrim { position: absolute; inset: 0; background: rgba(6, 14, 27, 0.55); }

.hs-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(340px, 88vw);
	background: var(--hs-surface);
	padding: 20px;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.25s ease;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.hs-drawer.is-open .hs-drawer__panel { transform: none; }
.hs-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.hs-drawer__head .hs-brand__text { font-family: var(--hs-font-head); font-weight: 800; font-size: 21px; color: var(--hs-heading); }

.hs-drawer__list { list-style: none; margin: 0; padding: 0; }
.hs-drawer__list a {
	display: block;
	padding: 12px 10px;
	font-family: var(--hs-font-head);
	font-weight: 700;
	font-size: 17px;
	color: var(--hs-heading);
	text-decoration: none;
	border-bottom: 1px solid var(--hs-line);
}

.hs-drawer__cta { margin-top: auto; }
.hs-socials--drawer { margin: 0; }

/* ---------- Ad slots ---------- */

.hpb-ad { margin: 18px auto; text-align: center; max-width: var(--hs-wrap); padding-inline: 20px; }
.hpb-ad__label { display: block; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hs-muted); margin-bottom: 6px; }
.hpb-ad--header .hpb-ad__body { min-height: 90px; }
.hpb-ad--sidebar { padding-inline: 0; margin: 0 0 26px; }
.hpb-ad--sidebar .hpb-ad__body { min-height: 250px; }

/* ---------- Hero ---------- */

.hs-hero {
	background:
		radial-gradient(720px 340px at 85% -60px, rgba(245, 158, 11, 0.28), transparent 65%),
		linear-gradient(135deg, var(--hs-ink-deep) 0%, var(--hs-ink) 55%, var(--hs-ink-2) 100%);
	color: #e2e8f0;
	padding: 72px 0 64px;
	text-align: center;
}

.hs-hero__in { max-width: 860px; }
.hs-hero__title { color: #fff; font-size: clamp(34px, 5.4vw, 54px); font-weight: 800; margin-bottom: 16px; }
.hs-hero__sub { font-size: clamp(16px, 2vw, 19px); color: #b9c7da; max-width: 640px; margin: 0 auto 30px; }

.hs-hero__search {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border-radius: 999px;
	padding: 7px 7px 7px 22px;
	color: #64748b;
	box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.5);
	text-align: left;
}

.hs-hero__search input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: none;
	font: inherit;
	font-size: 17px;
	color: #10243e;
	background: transparent;
}

.hs-hero__chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}

.hs-hero__chips-label { font-size: 13.5px; color: #94a3b8; font-weight: 600; }

.hs-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #e2e8f0;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.hs-chip:hover { background: rgba(245, 158, 11, 0.18); border-color: var(--hs-accent); color: #fff; }

.hs-chip--sm {
	border-color: var(--hs-line);
	color: var(--hs-text);
	background: var(--hs-surface);
}

.hs-chip--sm:hover { border-color: var(--hs-accent); color: var(--hs-accent-dark); background: var(--hs-surface); }

.hs-hero__chips--center { justify-content: center; margin-top: 22px; }
.hs-hero__chips--center .hs-chip { border-color: var(--hs-line); color: var(--hs-text); }
.hs-hero__chips--center .hs-chip:hover { border-color: var(--hs-accent); color: var(--hs-accent-dark); }

.hs-stats {
	display: flex;
	justify-content: center;
	gap: 0;
	margin: 40px auto 0;
	padding: 0;
	max-width: 640px;
}

.hs-stat { flex: 1; padding: 4px 10px; }
.hs-stat + .hs-stat { border-left: 1px solid rgba(255, 255, 255, 0.16); }
.hs-stat__num { margin: 0; font-family: var(--hs-font-head); font-weight: 800; font-size: clamp(24px, 3.4vw, 34px); color: var(--hs-accent); }
.hs-stat__label { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #94a3b8; font-weight: 600; }

/* ---------- Sections & grids ---------- */

.hs-section { padding: 64px 0; }
.hs-section--soft { background: var(--hs-soft); }

.hs-section__head { max-width: 680px; margin-bottom: 30px; }
.hs-section__title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin-bottom: 8px; }
.hs-section__sub { color: var(--hs-muted); margin: 0; font-size: 16.5px; }

.hs-eyebrow {
	display: inline-block;
	font-family: var(--hs-font-head);
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hs-accent-dark);
	background: var(--hs-amber-soft);
	padding: 5px 12px;
	border-radius: 999px;
	margin-bottom: 14px;
}

.hs-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.hs-grid--2 { grid-template-columns: repeat(2, 1fr); }
.hs-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Project tiles ---------- */

.hs-tiles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.hs-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 20px;
	background: var(--hs-surface);
	border: 1.5px solid var(--hs-line);
	border-radius: var(--hs-radius);
	text-decoration: none;
	transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.hs-tile:hover { transform: translateY(-3px); border-color: var(--hs-accent); box-shadow: var(--hs-shadow); }

.hs-tile__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: var(--hs-amber-soft);
	color: var(--hs-amber-ink);
	margin-bottom: 6px;
}

.hs-tile__label { font-family: var(--hs-font-head); font-weight: 700; font-size: 18px; color: var(--hs-heading); }
.hs-tile__count { font-size: 13.5px; color: var(--hs-muted); font-weight: 500; }

.hs-tile__arrow {
	position: absolute;
	top: 18px;
	right: 18px;
	color: var(--hs-muted);
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity 0.16s ease, transform 0.16s ease;
}

.hs-tile:hover .hs-tile__arrow { opacity: 1; transform: none; color: var(--hs-accent-dark); }

/* ---------- Covers (featured image or generated) ---------- */

.hs-cover {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--hs-radius) var(--hs-radius) 0 0;
	overflow: hidden;
	background: var(--hs-soft);
}

.hs-cover--wide { aspect-ratio: 21 / 9; border-radius: var(--hs-radius); }
.hs-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hs-cover--gen { display: flex; align-items: center; justify-content: center; color: #fff; }
.hs-grad-0 { background: linear-gradient(135deg, #10243e, #1d4ed8); }
.hs-grad-1 { background: linear-gradient(135deg, #7c2d12, #f59e0b); }
.hs-grad-2 { background: linear-gradient(135deg, #14532d, #16a34a); }
.hs-grad-3 { background: linear-gradient(135deg, #312e81, #7c3aed); }
.hs-grad-4 { background: linear-gradient(135deg, #7f1d1d, #dc2626); }
.hs-grad-5 { background: linear-gradient(135deg, #134e4a, #0891b2); }

.hs-cover__pattern {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.5px, transparent 1.6px);
	background-size: 18px 18px;
	mask-image: linear-gradient(120deg, transparent 30%, #000 90%);
	-webkit-mask-image: linear-gradient(120deg, transparent 30%, #000 90%);
}

.hs-cover__icon { position: relative; opacity: 0.95; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35)); }
.hs-cover__icon .hs-icon { width: clamp(52px, 9vw, 84px); height: auto; }

.hs-cover__label {
	position: absolute;
	left: 14px;
	bottom: 12px;
	background: rgba(6, 14, 27, 0.5);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 999px;
}

/* ---------- Post cards ---------- */

.hs-card {
	background: var(--hs-surface);
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.hs-card:hover { transform: translateY(-4px); box-shadow: var(--hs-shadow-lg); }
.hs-card__cover { display: block; text-decoration: none; }
.hs-card__cover .hs-cover { border-radius: 0; }
.hs-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }

.hs-badge {
	align-self: flex-start;
	display: inline-block;
	background: var(--hs-amber-soft);
	color: var(--hs-amber-ink);
	font-family: var(--hs-font-head);
	font-weight: 700;
	font-size: 11.5px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	padding: 5px 11px;
	border-radius: 999px;
	text-decoration: none;
}

.hs-badge:hover { background: var(--hs-accent); color: #231303; }
.hs-badge--lg { font-size: 12.5px; padding: 7px 14px; }

.hs-card__title { font-size: 19.5px; margin: 0; }
.hs-card__title a { color: var(--hs-heading); text-decoration: none; }
.hs-card__title a:hover { color: var(--hs-accent-dark); }
.hs-card__excerpt { margin: 0; color: var(--hs-muted); font-size: 15px; line-height: 1.55; flex: 1; }

.hs-card__meta, .hs-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.hs-meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--hs-muted); font-weight: 500; }

/* ---------- Calculator band ---------- */

.hs-calc-band { background: linear-gradient(135deg, var(--hs-ink-deep), var(--hs-ink) 60%, var(--hs-ink-2)); color: #dbe4f0; }
.hs-calc-band .hs-section__title { color: #fff; }
.hs-calc-band__in { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.hs-calc-band__text p { color: #b9c7da; font-size: 17px; }
.hs-calc-band__panel { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 20px; padding: 26px; }

/* The automation plugin's [hpb_payback] calculator — restyled to
   match the theme (its inline base styles are overridden where
   the plugin sets presentational values). */
.hpb-payback {
	background: var(--hs-surface) !important;
	border: 1.5px solid var(--hs-line) !important;
	border-radius: var(--hs-radius) !important;
	padding: 22px !important;
	max-width: 100% !important;
	color: var(--hs-text);
	box-shadow: var(--hs-shadow);
}

.hpb-payback p:first-child strong {
	font-family: var(--hs-font-head);
	font-size: 19px;
	color: var(--hs-heading);
	letter-spacing: -0.01em;
}

.hpb-payback label { font-size: 14px; font-weight: 600; color: var(--hs-heading); }

.hpb-payback input[type="number"] {
	margin-top: 5px;
	padding: 12px 14px;
	border: 1.5px solid var(--hs-line);
	border-radius: var(--hs-radius-sm);
	background: var(--hs-bg);
	color: var(--hs-text);
	font: inherit;
	font-size: 16px;
}

.hpb-payback input[type="number"]:focus { border-color: var(--hs-accent); outline: none; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25); }

.hpb-calc-btn {
	margin-top: 6px;
	background: var(--hs-accent);
	color: #231303;
	border: 0;
	border-radius: 999px;
	font-family: var(--hs-font-head);
	font-weight: 700;
	font-size: 15px;
	padding: 13px 24px;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.hpb-calc-btn:hover { background: var(--hs-accent-dark); color: #fff; transform: translateY(-1px); }

.hpb-result { font-weight: 700; font-size: 16.5px; color: var(--hs-green); }
.hpb-result:empty { display: none; }

/* ---------- Steps / methodology ---------- */

.hs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.hs-step {
	position: relative;
	background: var(--hs-surface);
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	padding: 28px 24px;
}

.hs-step__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 16px;
	background: var(--hs-ink);
	color: var(--hs-accent);
	margin-bottom: 16px;
}

.hs-step__num {
	position: absolute;
	top: 20px;
	right: 22px;
	font-family: var(--hs-font-head);
	font-weight: 800;
	font-size: 30px;
	color: var(--hs-soft);
}

[data-theme="dark"] .hs-step__num { color: var(--hs-ink-2); }
.hs-step h3 { font-size: 20px; }
.hs-step p { margin: 0; color: var(--hs-muted); font-size: 15.5px; }

/* ---------- Quote band (lead-gen placeholder) ---------- */

.hs-quote { background: var(--hs-amber-soft); }
[data-theme="dark"] .hs-quote { background: #1c1503; }
.hs-quote__in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.hs-quote__text p { font-size: 17px; }

.hs-quote__points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; font-weight: 600; color: var(--hs-heading); }
.hs-quote__points li { display: flex; align-items: center; gap: 9px; }
.hs-quote__points .hs-icon { color: var(--hs-green); }

.hs-quote__form, .hs-quote__thanks {
	background: var(--hs-surface);
	border-radius: 20px;
	padding: 26px;
	box-shadow: var(--hs-shadow-lg);
	display: grid;
	gap: 7px;
}

.hs-quote__form label { font-family: var(--hs-font-head); font-weight: 700; font-size: 14px; color: var(--hs-heading); }

.hs-quote__form select,
.hs-quote__form input {
	padding: 13px 15px;
	border: 1.5px solid var(--hs-line);
	border-radius: var(--hs-radius-sm);
	background: var(--hs-bg);
	color: var(--hs-text);
	font: inherit;
	font-size: 16px;
	margin-bottom: 10px;
	width: 100%;
}

.hs-quote__form select:focus, .hs-quote__form input:focus { border-color: var(--hs-accent); outline: none; }
.hs-quote__fine { margin: 6px 0 0; font-size: 12.5px; color: var(--hs-muted); text-align: center; }

.hs-quote__thanks { text-align: center; justify-items: center; padding: 38px 26px; }

/* The shared display:grid above overrides the UA [hidden] rule, so the
   form/thanks swap done by main.js needs an explicit hidden state. */
.hs-quote__form[hidden],
.hs-quote__thanks[hidden] { display: none; }
.hs-quote__thanks-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 64px; height: 64px; border-radius: 50%;
	background: var(--hs-green-soft); color: var(--hs-green);
}
.hs-quote__thanks h3 { margin: 10px 0 4px; font-size: 21px; }
.hs-quote__thanks p { margin: 0; color: var(--hs-muted); }

/* ---------- Breadcrumbs ---------- */

.hs-crumb { padding-top: 22px; font-size: 13.5px; }
.hs-crumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.hs-crumb li { display: inline-flex; align-items: center; gap: 6px; color: var(--hs-muted); }
.hs-crumb li:not(:last-child)::after { content: "›"; color: var(--hs-muted); }
.hs-crumb a { color: var(--hs-muted); text-decoration: none; font-weight: 500; }
.hs-crumb a:hover { color: var(--hs-accent-dark); }
.hs-crumb .rank-math-breadcrumb { margin: 0; }
.hs-crumb p { margin: 0; }

/* ---------- Article ---------- */

.hs-article__head { padding-top: 8px; max-width: 880px; margin-inline: auto; text-align: left; }
.hs-article__title { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; margin: 14px 0 12px; }
.hs-article__lede { font-size: 19px; line-height: 1.55; color: var(--hs-muted); margin: 0 0 20px; }

.hs-meta-row {
	border-top: 1px solid var(--hs-line);
	border-bottom: 1px solid var(--hs-line);
	padding-block: 13px;
	gap: 10px 22px;
}

.hs-meta-author { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; }
.hs-meta-author img { border-radius: 50%; }
.hs-meta-author a { color: var(--hs-heading); text-decoration: none; }
.hs-meta-author a:hover { color: var(--hs-accent-dark); }

.hs-article__cover { margin-top: 26px; }

.hs-layout {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) 320px;
	gap: 38px;
	padding-block: 30px 64px;
	align-items: start;
}

.hs-layout--archive { grid-template-columns: minmax(0, 1fr) 320px; }

/* Sticky share rail */

.hs-rail__sticky {
	position: sticky;
	top: 108px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.hs-rail__label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hs-muted); writing-mode: vertical-rl; margin-bottom: 4px; }

.hs-share { display: inline-flex; gap: 7px; margin-left: auto; }

.hs-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--hs-line);
	background: var(--hs-surface);
	color: var(--hs-heading);
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.hs-share__btn:hover { background: var(--hs-ink); border-color: var(--hs-ink); color: #fff; transform: translateY(-2px); }
.hs-share__btn.is-copied { background: var(--hs-green); border-color: var(--hs-green); color: #fff; }

/* Article body typography */

.entry-content { font-size: 17.5px; line-height: 1.75; overflow-wrap: break-word; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.25em; }

.entry-content h2 {
	font-size: 28px;
	margin: 1.5em 0 0.6em;
	padding-left: 16px;
	border-left: 5px solid var(--hs-accent);
}

.entry-content h3 { font-size: 21.5px; margin: 1.4em 0 0.5em; }
.entry-content h4 { font-size: 18px; margin: 1.3em 0 0.4em; }
.entry-content a { font-weight: 600; }
.entry-content ul, .entry-content ol { margin: 0 0 1.25em; padding-left: 1.35em; }
.entry-content li { margin-bottom: 0.35em; }
.entry-content strong { color: var(--hs-heading); }

.entry-content blockquote {
	margin: 1.6em 0;
	padding: 20px 24px;
	background: var(--hs-soft);
	border-left: 5px solid var(--hs-ink);
	border-radius: 0 var(--hs-radius-sm) var(--hs-radius-sm) 0;
	font-size: 18px;
}

.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content hr { border: 0; border-top: 1px solid var(--hs-line); margin: 2em 0; }

/* Tables (plugin cost tables get wrapped by a content filter) */

.hs-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--hs-line);
	border-radius: 14px;
	margin: 1.4em 0;
	background: var(--hs-surface);
	-webkit-overflow-scrolling: touch;
}

.entry-content table, .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15.5px;
	line-height: 1.5;
	margin: 0;
}

.entry-content th, .wp-block-table th {
	background: var(--hs-ink);
	color: #fff;
	font-family: var(--hs-font-head);
	font-weight: 700;
	text-align: left;
	padding: 12px 16px;
	white-space: nowrap;
}

.entry-content td, .wp-block-table td { padding: 11px 16px; border-top: 1px solid var(--hs-line); }
.entry-content tbody tr:nth-child(even), .wp-block-table tbody tr:nth-child(even) { background: var(--hs-soft); }

/* "At a glance" — the first table of a guide gets the spotlight */

.hpb-glance { border: 2px solid var(--hs-accent); box-shadow: var(--hs-shadow); }
.hpb-glance th { background: var(--hs-accent); color: #231303; font-size: 16px; }
.hpb-glance td { font-weight: 600; }
.hpb-glance tbody tr:nth-child(even) { background: var(--hs-amber-soft); }

/* FAQ rhythm: h3 questions inside content get a marker */

.entry-content h3 + p { margin-top: 0; }

/* Author box / tags / prev-next */

.hs-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 34px 0 6px; }
.hs-tags__label { font-weight: 700; font-family: var(--hs-font-head); color: var(--hs-heading); font-size: 14.5px; }

.hs-author-box {
	display: flex;
	gap: 18px;
	background: var(--hs-soft);
	border-radius: var(--hs-radius);
	padding: 24px;
	margin: 30px 0;
}

.hs-author-box img { border-radius: 50%; flex: none; }
.hs-author-box__label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hs-muted); }
.hs-author-box__name { margin: 2px 0 6px; font-size: 20px; }
.hs-author-box__name a { color: var(--hs-heading); text-decoration: none; }
.hs-author-box__body p { margin: 0; color: var(--hs-muted); font-size: 15px; }

.hs-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 10px 0 34px; }

.hs-prevnext__item {
	display: block;
	background: var(--hs-surface);
	border: 1.5px solid var(--hs-line);
	border-radius: var(--hs-radius);
	padding: 18px 20px;
	text-decoration: none;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.hs-prevnext__item:hover { border-color: var(--hs-accent); transform: translateY(-2px); }
.hs-prevnext__item--next { text-align: right; }
.hs-prevnext__dir { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hs-accent-dark); margin-bottom: 6px; }
.hs-prevnext__title { font-family: var(--hs-font-head); font-weight: 700; font-size: 16.5px; color: var(--hs-heading); line-height: 1.35; display: block; }

/* Comments */

.hs-comments { margin-top: 10px; border-top: 1px solid var(--hs-line); padding-top: 30px; }
.hs-comments__title { font-size: 24px; margin-bottom: 20px; }
.hs-comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.hs-comment-list .children { list-style: none; padding-left: 34px; }

.hs-comment-list .comment-body {
	background: var(--hs-surface);
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	padding: 18px 20px;
	margin-bottom: 14px;
}

.hs-comment-list .comment-meta { font-size: 13px; color: var(--hs-muted); }
.hs-comment-list .comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 8px; }

.comment-form label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; color: var(--hs-heading); }

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1.5px solid var(--hs-line);
	border-radius: var(--hs-radius-sm);
	background: var(--hs-surface);
	color: var(--hs-text);
	font: inherit;
	font-size: 15.5px;
}

.comment-form input:focus, .comment-form textarea:focus { border-color: var(--hs-accent); outline: none; }

/* ---------- Sidebar ---------- */

.hs-sidebar { position: sticky; top: 108px; display: grid; gap: 26px; align-content: start; }
.hs-layout--archive .hs-sidebar, .hs-layout .hs-sidebar { position: static; }
@media (min-width: 901px) {
	.hs-sidebar { position: sticky; }
}

.hs-widget {
	background: var(--hs-surface);
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	padding: 22px;
}

.hs-widget__title {
	font-size: 17px;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--hs-amber-soft);
	position: relative;
}

.hs-widget__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 44px;
	height: 2px;
	background: var(--hs-accent);
}

.hs-widget ul { list-style: none; margin: 0; padding: 0; }
.hs-widget li { padding: 5px 0; }
.hs-widget a { text-decoration: none; color: var(--hs-text); }
.hs-widget a:hover { color: var(--hs-accent-dark); }

.hs-minis { display: grid; gap: 14px; }

.hs-mini { display: flex; gap: 12px; align-items: center; }

.hs-mini__thumb {
	flex: none;
	width: 74px;
	height: 52px;
	border-radius: 9px;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none;
}

.hs-mini__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hs-mini__title { display: block; font-family: var(--hs-font-head); font-weight: 700; font-size: 14.5px; line-height: 1.35; color: var(--hs-heading); text-decoration: none; }
.hs-mini__title:hover { color: var(--hs-accent-dark); }
.hs-mini__date { font-size: 12.5px; color: var(--hs-muted); }

.hs-catlist li { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px dashed var(--hs-line); padding: 8px 0; }
.hs-catlist li:last-child { border-bottom: 0; }

.hs-catlist__count {
	background: var(--hs-soft);
	color: var(--hs-muted);
	font-size: 12px;
	font-weight: 700;
	padding: 2px 9px;
	border-radius: 999px;
}

/* ---------- Page heads / archives / search / 404 ---------- */

.hs-pagehead { background: var(--hs-soft); padding: 40px 0 36px; border-bottom: 1px solid var(--hs-line); }
.hs-pagehead .hs-crumb { padding-top: 0; margin-bottom: 10px; }
.hs-pagehead__title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 8px; }
.hs-pagehead__sub { color: var(--hs-muted); margin: 0; max-width: 640px; }
.hs-pagehead__search { max-width: 520px; margin-top: 20px; }
.hs-archive { padding-block: 40px 64px; }
.hs-empty { color: var(--hs-muted); font-size: 17px; padding: 30px 0; }
.hs-empty .hs-hero__chips { justify-content: flex-start; }

.hs-404 { text-align: center; padding: 70px 0 60px; }
.hs-404__code { font-family: var(--hs-font-head); font-weight: 800; font-size: clamp(80px, 14vw, 150px); line-height: 1; color: var(--hs-soft); display: block; }
[data-theme="dark"] .hs-404__code { color: var(--hs-ink-2); }
.hs-404__title { font-size: clamp(26px, 3.6vw, 38px); margin-top: -18px; }
.hs-404__text { color: var(--hs-muted); max-width: 520px; margin: 0 auto 26px; }
.hs-404__search { max-width: 520px; margin: 0 auto; }

/* Pagination */

.hs-pagination { margin-top: 40px; }
.hs-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }

.hs-pagination a, .hs-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 12px;
	border: 1.5px solid var(--hs-line);
	background: var(--hs-surface);
	font-family: var(--hs-font-head);
	font-weight: 700;
	font-size: 15px;
	color: var(--hs-heading);
	text-decoration: none;
}

.hs-pagination a:hover { border-color: var(--hs-accent); color: var(--hs-accent-dark); }
.hs-pagination li.is-current span { background: var(--hs-ink); border-color: var(--hs-ink); color: #fff; }
.hs-pagination li.is-dots span { border-color: transparent; background: transparent; }

/* Page links inside content */

.hs-page-links { display: flex; gap: 8px; margin: 24px 0; }
.hs-page-links a, .hs-page-links .post-page-numbers {
	padding: 8px 14px;
	border: 1.5px solid var(--hs-line);
	border-radius: 10px;
	text-decoration: none;
	font-weight: 700;
}

/* ---------- Footer ---------- */

.site-footer { background: var(--hs-ink-deep); color: #b9c7da; margin-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-block: 56px 44px; }
.hs-brand__name--footer { color: #fff; }
.site-footer__about { font-size: 15px; line-height: 1.6; margin: 16px 0 18px; max-width: 300px; }
.hs-socials--footer { margin: 0; }
.hs-socials--footer a { background: rgba(255, 255, 255, 0.07); width: 36px; height: 36px; }

.site-footer .hs-widget { background: transparent; border: 0; padding: 0; border-radius: 0; }
.site-footer .hs-widget__title { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.12); }
.site-footer .hs-widget a { color: #b9c7da; }
.site-footer .hs-widget a:hover { color: var(--hs-accent); }

/* Any heading inside the dark footer — including block-widget headings
   (e.g. Archives / Categories from the block widget editor), which do not
   carry .hs-widget__title — must stay light and get the same accent
   underline treatment as .hs-widget__title. */
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer .widget-title { color: #fff; }
.site-footer .widget_block h2,
.site-footer .widget_block h3 {
	position: relative;
	padding-bottom: 10px;
	margin-bottom: 14px;
	border-bottom: 2px solid rgba(255, 255, 255, 0.12);
}
.site-footer .widget_block h2::after,
.site-footer .widget_block h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 44px;
	height: 2px;
	background: var(--hs-accent);
}

.hs-footlinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hs-footlinks a { text-decoration: none; font-size: 15px; }

.site-footer__bar { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 18px; }
.site-footer__bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__copy { margin: 0; font-size: 14px; color: #8fa3bd; }

.hs-footmenu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.hs-footmenu a { color: #b9c7da; text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 10px; border-radius: 6px; }
.hs-footmenu a:hover { color: var(--hs-accent); }

/* Back to top */

.hs-totop {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 150;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: var(--hs-ink);
	color: var(--hs-accent);
	cursor: pointer;
	box-shadow: var(--hs-shadow-lg);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.hs-totop[hidden] { display: none; }
.hs-totop:hover { background: var(--hs-ink-2); }

/* ---------- WordPress core & block styles ---------- */

.alignleft { float: left; margin: 0.4em 1.4em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.4em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { margin-left: -24px; margin-right: -24px; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13.5px; color: var(--hs-muted); text-align: center; margin-top: 6px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-item { margin: 0; }
.sticky { position: relative; }
.bypostauthor { position: relative; }

.wp-block-button__link {
	background: var(--hs-ink);
	color: #fff;
	border-radius: 999px;
	font-family: var(--hs-font-head);
	font-weight: 700;
	padding: 13px 24px;
}

.wp-block-quote { border-left: 5px solid var(--hs-ink); padding-left: 22px; font-size: 18px; }
.wp-block-separator { border-color: var(--hs-line); }
.wp-block-table { overflow-x: auto; border-radius: 14px; border: 1px solid var(--hs-line); }
figure { margin: 1.4em 0; }
figcaption { font-size: 13.5px; color: var(--hs-muted); text-align: center; margin-top: 6px; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
	.hs-layout { grid-template-columns: minmax(0, 1fr) 300px; }
	.hs-rail { display: none; }
	.hs-share { margin-left: 0; }
	.hs-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1020px) {
	.hs-tiles { grid-template-columns: repeat(3, 1fr); }
	.hs-grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.hs-layout, .hs-layout--archive { grid-template-columns: minmax(0, 1fr); }
	.hs-sidebar { position: static; }
	.hs-calc-band__in, .hs-quote__in { grid-template-columns: 1fr; gap: 28px; }
	.hs-steps { grid-template-columns: 1fr; }
	.hs-nav { display: none; }
	.hs-menu-btn { display: inline-flex; }
	.hs-header__cta { display: none; }
	.hs-topbar__tag { display: none; }
	body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 620px) {
	body { font-size: 16px; }
	.hs-tiles { grid-template-columns: repeat(2, 1fr); }
	.hs-grid, .hs-grid--2, .hs-grid--4 { grid-template-columns: 1fr; }
	.hs-hero { padding: 52px 0 48px; }
	.hs-hero__search { flex-wrap: wrap; border-radius: 22px; padding: 12px; }
	.hs-hero__search input { flex-basis: calc(100% - 40px); padding: 8px 4px; }
	.hs-hero__search .hs-btn { width: 100%; }
	.hs-section { padding: 46px 0; }
	.hs-stats { flex-direction: row; }
	.hs-stat__num { font-size: 22px; }
	.hs-prevnext { grid-template-columns: 1fr; }
	.hs-author-box { flex-direction: column; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 26px; }
	.hs-topbar__date { font-size: 12.5px; }
	.entry-content { font-size: 16.5px; }
	.entry-content h2 { font-size: 24px; }
	.hs-cover--wide { aspect-ratio: 16 / 9; }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* v1.0.2: logo + site-name brand — keep the pair compact on small screens. */
@media (max-width: 560px) {
	.hs-brand__name { font-size: 20px; gap: 8px; }
	.hs-brand .custom-logo { max-height: 36px; }
}
