/* ==========================================================================
   HomeSafeHealthy — global styles
   Loaded on every page. Homepage sections live in home.css, article /
   review / comparison components live in article.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
	--hsh-navy: #123B5D;
	--hsh-navy-dark: #0C2A43;
	--hsh-green: #3E9B4F;
	/* Deeper shade of the brand green used behind white button text so it
	   meets WCAG AA (4.5:1). Overridden from the Customizer. */
	--hsh-green-strong: #2E7D3C;
	--hsh-green-stronger: #256632;
	--hsh-soft-green: #EAF6EC;
	--hsh-soft-blue: #EAF5FB;
	--hsh-yellow: #F5B942;
	--hsh-text: #263238;
	--hsh-muted: #60717B;
	--hsh-bg: #F7FAF8;
	--hsh-white: #FFFFFF;
	--hsh-border: #DDE6E1;
	--hsh-border-strong: #C7D3CC;

	--hsh-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--hsh-radius-sm: 8px;
	--hsh-radius: 14px;
	--hsh-radius-lg: 22px;
	--hsh-radius-pill: 999px;

	--hsh-shadow-sm: 0 1px 2px rgba(18, 59, 93, .06);
	--hsh-shadow: 0 1px 2px rgba(18, 59, 93, .05), 0 8px 24px -12px rgba(18, 59, 93, .16);
	--hsh-shadow-lg: 0 2px 4px rgba(18, 59, 93, .04), 0 24px 48px -20px rgba(18, 59, 93, .24);

	--hsh-container: 1200px;
	--hsh-container-narrow: 760px;
	--hsh-gutter: clamp(16px, 4vw, 32px);
	--hsh-section: clamp(56px, 8vw, 104px);

	--hsh-header-h: 76px;
	--hsh-ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--hsh-header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--hsh-white);
	color: var(--hsh-text);
	font-family: var(--hsh-font);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

body.hsh-menu-open { overflow: hidden; }

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

img { border-style: none; }

figure { margin: 0; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

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

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

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	color: var(--hsh-navy);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.015em;
	text-wrap: balance;
}

h1 { font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem); letter-spacing: -.025em; line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5, h6 { font-size: 1rem; }

p { margin: 0 0 1.25em; }

a {
	color: var(--hsh-navy);
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
	transition: color .15s ease;
}

a:hover { color: var(--hsh-green-strong); }

strong, b { font-weight: 650; }

small { font-size: .875rem; }

.hsh-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin: 0 0 1rem;
	color: var(--hsh-green-strong);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.hsh-eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--hsh-yellow);
	flex: none;
}

.hsh-lead {
	color: var(--hsh-muted);
	font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
	line-height: 1.65;
}

.hsh-meta {
	color: var(--hsh-muted);
	font-size: .875rem;
	line-height: 1.5;
}

/* --------------------------------------------------------------------------
   4. Accessibility helpers
   -------------------------------------------------------------------------- */
.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 !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--hsh-white);
	border-radius: var(--hsh-radius-sm);
	box-shadow: var(--hsh-shadow);
	clip: auto !important;
	clip-path: none;
	color: var(--hsh-navy);
	display: block;
	font-weight: 600;
	height: auto;
	left: 16px;
	padding: 12px 20px;
	text-decoration: none;
	top: 16px;
	width: auto;
	z-index: 100000;
}

:focus { outline: none; }

:focus-visible {
	outline: 3px solid var(--hsh-green);
	outline-offset: 3px;
	border-radius: 4px;
}

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

/* --------------------------------------------------------------------------
   5. Layout
   -------------------------------------------------------------------------- */
.hsh-container {
	width: 100%;
	max-width: calc(var(--hsh-container) + var(--hsh-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--hsh-gutter);
}

.hsh-container--narrow { max-width: calc(var(--hsh-container-narrow) + var(--hsh-gutter) * 2); }

.hsh-section { padding-block: var(--hsh-section); }
.hsh-section--tint { background: var(--hsh-bg); }
.hsh-section--green { background: var(--hsh-soft-green); }
.hsh-section--blue { background: var(--hsh-soft-blue); }

.hsh-section-head {
	max-width: 720px;
	margin: 0 0 clamp(32px, 4vw, 48px);
}

.hsh-section-head--center {
	margin-inline: auto;
	text-align: center;
}

.hsh-section-head--center .hsh-eyebrow { justify-content: center; }

.hsh-section-head h2 { margin-bottom: .4em; }
.hsh-section-head p { margin: 0; color: var(--hsh-muted); font-size: 1.125rem; }

.hsh-section-head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	max-width: none;
}

.hsh-section-head--split > div { max-width: 680px; }

.hsh-grid {
	display: grid;
	gap: clamp(20px, 2.5vw, 28px);
}

.hsh-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.hsh-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.hsh-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

.site-main { display: block; }

/* --------------------------------------------------------------------------
   6. Buttons & links
   -------------------------------------------------------------------------- */
.hsh-btn,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 48px;
	padding: .75rem 1.5rem;
	border: 2px solid transparent;
	border-radius: var(--hsh-radius-pill);
	background: var(--hsh-green-strong);
	color: var(--hsh-white);
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s var(--hsh-ease), box-shadow .18s ease;
}

.hsh-btn:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	background: var(--hsh-green-stronger);
	color: var(--hsh-white);
	box-shadow: 0 8px 20px -10px rgba(46, 125, 60, .6);
}

@media (prefers-reduced-motion: no-preference) {
	.hsh-btn:hover { transform: translateY(-1px); }
}

.hsh-btn--secondary {
	background: var(--hsh-white);
	border-color: var(--hsh-border-strong);
	color: var(--hsh-navy);
}

.hsh-btn--secondary:hover {
	background: var(--hsh-white);
	border-color: var(--hsh-navy);
	color: var(--hsh-navy);
	box-shadow: var(--hsh-shadow-sm);
}

.hsh-btn--navy { background: var(--hsh-navy); }
.hsh-btn--navy:hover { background: var(--hsh-navy-dark); box-shadow: 0 8px 20px -10px rgba(18, 59, 93, .6); }

.hsh-btn--light {
	background: var(--hsh-white);
	color: var(--hsh-navy);
}

.hsh-btn--light:hover {
	background: var(--hsh-soft-green);
	color: var(--hsh-navy);
	box-shadow: none;
}

.hsh-btn--ghost-light {
	background: transparent;
	border-color: rgba(255, 255, 255, .45);
	color: var(--hsh-white);
}

.hsh-btn--ghost-light:hover {
	background: rgba(255, 255, 255, .1);
	border-color: var(--hsh-white);
	color: var(--hsh-white);
	box-shadow: none;
}

.hsh-btn--sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .9375rem; }
.hsh-btn--block { width: 100%; }

.hsh-btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hsh-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	color: var(--hsh-green-strong);
	font-weight: 650;
	text-decoration: none;
}

.hsh-link-arrow:hover { color: var(--hsh-navy); text-decoration: underline; }

.hsh-link-arrow span[aria-hidden] { transition: transform .18s var(--hsh-ease); }
.hsh-link-arrow:hover span[aria-hidden] { transform: translateX(3px); }

/* Stretched link: whole card clickable while keeping one real link. */
.hsh-stretched::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

/* --------------------------------------------------------------------------
   7. Forms
   -------------------------------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="password"],
input[type="number"],
select,
textarea {
	width: 100%;
	min-height: 48px;
	padding: .7rem 1rem;
	border: 1px solid var(--hsh-border-strong);
	border-radius: var(--hsh-radius-sm);
	background: var(--hsh-white);
	color: var(--hsh-text);
	font-size: 1rem;
	transition: border-color .15s ease, box-shadow .15s ease;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	border-color: var(--hsh-green);
	box-shadow: 0 0 0 3px rgba(62, 155, 79, .25);
	outline: none;
}

::placeholder { color: #75858E; opacity: 1; }

label { font-weight: 600; color: var(--hsh-navy); }

.hsh-search-form {
	display: flex;
	gap: 8px;
	width: 100%;
}

.hsh-search-form__field { position: relative; flex: 1; }

.hsh-search-form__field svg {
	position: absolute;
	left: 14px;
	top: 50%;
	width: 20px;
	height: 20px;
	color: var(--hsh-muted);
	transform: translateY(-50%);
	pointer-events: none;
}

.hsh-search-form input[type="search"] {
	padding-left: 44px;
	border-radius: var(--hsh-radius-pill);
}

.hsh-search-form button { flex: none; }

/* --------------------------------------------------------------------------
   8. Icons
   -------------------------------------------------------------------------- */
.hsh-icon {
	width: 24px;
	height: 24px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hsh-icon--sm { width: 18px; height: 18px; }

.hsh-icon-badge {
	display: inline-grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--hsh-soft-green);
	color: var(--hsh-green-strong);
	flex: none;
}

.hsh-icon-badge--blue { background: var(--hsh-soft-blue); color: var(--hsh-navy); }

/* --------------------------------------------------------------------------
   9. Header
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid var(--hsh-border);
	transition: box-shadow .2s ease;
}

@supports (backdrop-filter: blur(8px)) {
	.site-header {
		background: rgba(255, 255, 255, .88);
		backdrop-filter: saturate(160%) blur(12px);
	}
}

.admin-bar .site-header { top: 32px; }

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

.site-header.is-scrolled { box-shadow: 0 6px 24px -16px rgba(18, 59, 93, .35); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--hsh-header-h);
	transition: min-height .2s ease;
}

.site-header.is-scrolled .site-header__inner { min-height: 62px; }

.site-branding { flex: none; }

.site-branding .custom-logo-link { display: block; }

.site-branding .custom-logo {
	width: auto;
	max-height: 44px;
	transition: max-height .2s ease;
}

.site-header.is-scrolled .custom-logo { max-height: 36px; }

.hsh-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--hsh-navy);
	font-size: 1.25rem;
	font-weight: 750;
	letter-spacing: -.02em;
	text-decoration: none;
	white-space: nowrap;
}

.hsh-wordmark:hover { color: var(--hsh-navy); }

.hsh-wordmark__mark { width: 34px; height: 34px; flex: none; }

.hsh-wordmark__accent { color: var(--hsh-green-strong); }

/* Primary nav (desktop) */
.primary-nav { margin-left: auto; }

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

.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: 2px;
}

.primary-nav .menu > li { position: relative; }

.primary-nav a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: .5rem .7rem;
	border-radius: var(--hsh-radius-sm);
	color: var(--hsh-navy);
	font-size: .9375rem;
	font-weight: 550;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.primary-nav a:hover { background: var(--hsh-bg); color: var(--hsh-navy); }

.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current-post-ancestor > a,
.primary-nav .current-category-ancestor > a {
	color: var(--hsh-green-strong);
	box-shadow: inset 0 -2px 0 var(--hsh-green);
	border-radius: var(--hsh-radius-sm) var(--hsh-radius-sm) 0 0;
}

/* Desktop dropdowns: open on hover and on keyboard focus. */
.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	padding: 8px;
	border: 1px solid var(--hsh-border);
	border-radius: var(--hsh-radius);
	background: var(--hsh-white);
	box-shadow: var(--hsh-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.primary-nav .menu > li:hover > .sub-menu,
.primary-nav .menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.primary-nav .sub-menu a { width: 100%; white-space: normal; }

.primary-nav .menu-item-has-children > a::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-left: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	opacity: .6;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: none;
}

.hsh-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
	color: var(--hsh-navy);
	transition: background-color .15s ease, border-color .15s ease;
}

.hsh-icon-btn:hover { background: var(--hsh-bg); border-color: var(--hsh-border); }

.hsh-icon-btn[aria-expanded="true"] { background: var(--hsh-soft-green); color: var(--hsh-green-strong); }

.menu-toggle { display: none; }

.menu-toggle .hsh-icon--close,
.menu-toggle[aria-expanded="true"] .hsh-icon--open { display: none; }

.menu-toggle[aria-expanded="true"] .hsh-icon--close { display: block; }

/* Header search panel */
.header-search {
	border-top: 1px solid var(--hsh-border);
	background: var(--hsh-white);
	padding-block: 16px;
}

.header-search[hidden] { display: none; }

.header-search .hsh-search-form { max-width: 720px; margin-inline: auto; }

/* Mobile / tablet navigation */
@media (max-width: 1100px) {
	:root { --hsh-header-h: 66px; }

	.menu-toggle { display: inline-grid; }

	.site-header__actions { margin-left: auto; }

	.primary-nav {
		position: fixed;
		inset: var(--hsh-nav-top, var(--hsh-header-h)) 0 0 0;
		z-index: 49;
		margin: 0;
		padding: 16px var(--hsh-gutter) 32px;
		background: var(--hsh-white);
		overflow-y: auto;
		overscroll-behavior: contain;
		border-top: 1px solid var(--hsh-border);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}

	.primary-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
		/* Become visible instantly so focus can move into the drawer. */
		transition: opacity .2s ease, transform .2s ease, visibility 0s;
	}

	.no-js .primary-nav { position: static; opacity: 1; visibility: visible; transform: none; }

	.primary-nav .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.primary-nav .menu > li { border-bottom: 1px solid var(--hsh-border); }

	.primary-nav a {
		min-height: 54px;
		padding: .75rem .25rem;
		font-size: 1.0625rem;
		white-space: normal;
	}

	.primary-nav a:hover { background: transparent; color: var(--hsh-green-strong); }

	.primary-nav .current-menu-item > a,
	.primary-nav .current-menu-ancestor > a { box-shadow: none; }

	.primary-nav .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 12px 16px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-nav .sub-menu a { min-height: 44px; font-size: 1rem; color: var(--hsh-muted); }

	.primary-nav .menu-item-has-children > a::after { display: none; }

	.primary-nav__extra { display: block; }
}

.primary-nav__extra { display: none; margin-top: 24px; }

/* Without JavaScript the toggles can't work: hide them and show the menu inline. */
.no-js .search-toggle,
.no-js .menu-toggle { display: none; }

@media (max-width: 1100px) {
	.no-js .site-header__inner { flex-wrap: wrap; }
	.no-js .primary-nav { flex-basis: 100%; border-top: 0; padding: 0 0 16px; }
}

.primary-nav__extra p { color: var(--hsh-muted); font-size: .9375rem; }

@media (min-width: 1101px) and (max-width: 1240px) {
	.primary-nav a { padding-inline: .5rem; font-size: .875rem; }
}

/* --------------------------------------------------------------------------
   10. Breadcrumbs
   -------------------------------------------------------------------------- */
.hsh-breadcrumbs {
	margin: 0 0 20px;
	color: var(--hsh-muted);
	font-size: .875rem;
}

.hsh-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hsh-breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; }

.hsh-breadcrumbs li + li::before {
	content: "/";
	color: var(--hsh-border-strong);
	margin-right: 2px;
}

.hsh-breadcrumbs a { color: var(--hsh-muted); text-decoration: none; }
.hsh-breadcrumbs a:hover { color: var(--hsh-navy); text-decoration: underline; }
.hsh-breadcrumbs [aria-current] { color: var(--hsh-text); }

/* Yoast / Rank Math breadcrumb wrappers */
.hsh-breadcrumbs--plugin a { color: var(--hsh-muted); }

/* --------------------------------------------------------------------------
   11. Cards
   -------------------------------------------------------------------------- */
.hsh-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--hsh-border);
	border-radius: var(--hsh-radius);
	background: var(--hsh-white);
	box-shadow: var(--hsh-shadow-sm);
	transition: box-shadow .2s ease, transform .2s var(--hsh-ease), border-color .2s ease;
}

.hsh-card:hover,
.hsh-card:focus-within {
	border-color: var(--hsh-border-strong);
	box-shadow: var(--hsh-shadow);
}

@media (prefers-reduced-motion: no-preference) {
	.hsh-card:hover { transform: translateY(-3px); }
}

.hsh-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--hsh-soft-blue);
}

.hsh-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--hsh-ease);
}

@media (prefers-reduced-motion: no-preference) {
	.hsh-card:hover .hsh-card__media img { transform: scale(1.03); }
}

.hsh-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 24px 24px;
}

.hsh-card__cat {
	position: relative;
	z-index: 2;
	align-self: flex-start;
	margin-bottom: 10px;
}

.hsh-card__title {
	margin: 0 0 .5rem;
	font-size: 1.1875rem;
	line-height: 1.35;
	letter-spacing: -.01em;
}

.hsh-card__title a { color: var(--hsh-navy); text-decoration: none; }
.hsh-card__title a:hover { color: var(--hsh-navy); text-decoration: underline; text-decoration-color: var(--hsh-green); }

.hsh-card__excerpt {
	margin: 0 0 1.25rem;
	color: var(--hsh-muted);
	font-size: .96875rem;
	line-height: 1.6;
}

.hsh-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	font-size: .9375rem;
}

.hsh-card--horizontal { flex-direction: row; }

.hsh-card--horizontal .hsh-card__media {
	width: 38%;
	aspect-ratio: auto;
	min-height: 100%;
	flex: none;
}

@media (max-width: 640px) {
	.hsh-card--horizontal { flex-direction: column; }
	.hsh-card--horizontal .hsh-card__media { width: 100%; aspect-ratio: 16 / 10; }
}

/* Category chip */
.hsh-chip {
	display: inline-flex;
	align-items: center;
	padding: .25rem .7rem;
	border-radius: var(--hsh-radius-pill);
	background: var(--hsh-soft-green);
	color: var(--hsh-green-stronger);
	font-size: .78125rem;
	font-weight: 650;
	letter-spacing: .02em;
	line-height: 1.5;
	text-decoration: none;
}

a.hsh-chip:hover { background: #D8EEDC; color: var(--hsh-green-stronger); }

.hsh-chip--blue { background: var(--hsh-soft-blue); color: var(--hsh-navy); }

/* Placeholder image (SVG fallback when no photo is set) */
.hsh-placeholder-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: linear-gradient(135deg, var(--hsh-soft-blue), var(--hsh-soft-green));
}

/* --------------------------------------------------------------------------
   12. Disclosure
   -------------------------------------------------------------------------- */
.hsh-disclosure {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0 0 2rem;
	padding: 14px 18px;
	border: 1px solid var(--hsh-border);
	border-left: 4px solid var(--hsh-green);
	border-radius: var(--hsh-radius-sm);
	background: var(--hsh-bg);
	color: var(--hsh-muted);
	font-size: .875rem;
	line-height: 1.55;
}

.hsh-disclosure .hsh-icon { width: 20px; height: 20px; margin-top: 1px; color: var(--hsh-green-strong); }
.hsh-disclosure p { margin: 0; }
.hsh-disclosure strong { color: var(--hsh-navy); }
.hsh-disclosure a { color: var(--hsh-navy); }

/* --------------------------------------------------------------------------
   13. Page headers (archive, search, page)
   -------------------------------------------------------------------------- */
.hsh-page-header {
	padding-block: clamp(40px, 6vw, 72px) clamp(32px, 4vw, 48px);
	background:
		radial-gradient(1200px 400px at 90% -10%, rgba(234, 245, 251, .9), transparent 60%),
		linear-gradient(180deg, var(--hsh-bg), var(--hsh-white));
	border-bottom: 1px solid var(--hsh-border);
}

.hsh-page-header h1 { margin-bottom: .35em; }

.hsh-page-header__desc {
	max-width: 720px;
	color: var(--hsh-muted);
	font-size: 1.125rem;
}

.hsh-page-header__desc p:last-child { margin-bottom: 0; }

.hsh-page-header__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	align-items: center;
	margin-top: 16px;
}

.hsh-page-header--center { text-align: center; }
.hsh-page-header--center .hsh-page-header__desc { margin-inline: auto; }
.hsh-page-header--center .hsh-breadcrumbs ol { justify-content: center; }

/* --------------------------------------------------------------------------
   14. Content + sidebar layout
   -------------------------------------------------------------------------- */
.hsh-layout {
	display: grid;
	gap: clamp(32px, 4vw, 56px);
	padding-block: clamp(40px, 5vw, 64px) var(--hsh-section);
}

@media (min-width: 1024px) {
	.hsh-layout--sidebar { grid-template-columns: minmax(0, 1fr) 320px; }
}

.hsh-sidebar { display: flex; flex-direction: column; gap: 24px; }

@media (min-width: 1024px) {
	.hsh-sidebar__sticky { position: sticky; top: calc(var(--hsh-header-h) + 24px); display: flex; flex-direction: column; gap: 24px; }
}

.widget,
.hsh-widget {
	padding: 24px;
	border: 1px solid var(--hsh-border);
	border-radius: var(--hsh-radius);
	background: var(--hsh-white);
}

.widget-title,
.hsh-widget__title {
	margin: 0 0 14px;
	font-size: 1rem;
	letter-spacing: 0;
}

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

.widget li,
.hsh-widget li { padding: 8px 0; border-bottom: 1px solid var(--hsh-border); font-size: .9375rem; }

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

.widget a,
.hsh-widget a { color: var(--hsh-navy); text-decoration: none; }

.widget a:hover,
.hsh-widget a:hover { color: var(--hsh-green-strong); text-decoration: underline; }

.hsh-widget--tint { background: var(--hsh-soft-green); border-color: transparent; }
.hsh-widget--tint p { color: var(--hsh-text); font-size: .9375rem; }

.hsh-mini-post {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 12px;
	align-items: center;
}

.hsh-mini-post img,
.hsh-mini-post .hsh-mini-post__ph {
	width: 72px;
	height: 56px;
	border-radius: var(--hsh-radius-sm);
	object-fit: cover;
	background: var(--hsh-soft-blue);
}

.hsh-mini-post a { font-weight: 600; line-height: 1.35; }

/* --------------------------------------------------------------------------
   15. Archive / blog
   -------------------------------------------------------------------------- */
.hsh-featured-post {
	margin-bottom: clamp(32px, 4vw, 48px);
}

.hsh-featured-post .hsh-card { display: grid; }

@media (min-width: 800px) {
	.hsh-featured-post .hsh-card { grid-template-columns: 1.15fr 1fr; }
	.hsh-featured-post .hsh-card__media { aspect-ratio: auto; min-height: 340px; }
	.hsh-featured-post .hsh-card__body { justify-content: center; padding: clamp(28px, 3vw, 44px); }
	.hsh-featured-post .hsh-card__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
}

.hsh-featured-post__label { margin-bottom: 12px; }

.hsh-subnav {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 24px;
}

.hsh-subnav a {
	padding: .4rem .9rem;
	border: 1px solid var(--hsh-border);
	border-radius: var(--hsh-radius-pill);
	background: var(--hsh-white);
	color: var(--hsh-navy);
	font-size: .875rem;
	font-weight: 550;
	text-decoration: none;
}

.hsh-subnav a:hover { border-color: var(--hsh-green); color: var(--hsh-green-strong); }

.hsh-results-count { margin: 0 0 24px; color: var(--hsh-muted); }

.hsh-product-guides {
	margin-top: clamp(48px, 6vw, 72px);
	padding: clamp(24px, 4vw, 40px);
	border-radius: var(--hsh-radius-lg);
	background: var(--hsh-soft-blue);
}

.hsh-product-guides h2 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); }

/* --------------------------------------------------------------------------
   16. Pagination
   -------------------------------------------------------------------------- */
.pagination,
.hsh-pagination { margin-top: clamp(40px, 5vw, 56px); }

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--hsh-border);
	border-radius: var(--hsh-radius-pill);
	background: var(--hsh-white);
	color: var(--hsh-navy);
	font-weight: 600;
	text-decoration: none;
}

a.page-numbers:hover { border-color: var(--hsh-green); color: var(--hsh-green-strong); }

.page-numbers.current {
	border-color: var(--hsh-navy);
	background: var(--hsh-navy);
	color: var(--hsh-white);
}

.page-numbers.dots { border: 0; background: none; min-width: 20px; }

/* --------------------------------------------------------------------------
   17. Newsletter (used on home, single, archive)
   -------------------------------------------------------------------------- */
.hsh-newsletter {
	position: relative;
	overflow: hidden;
	border-radius: var(--hsh-radius-lg);
	background: var(--hsh-navy);
	color: rgba(255, 255, 255, .86);
	padding: clamp(32px, 5vw, 64px);
}

.hsh-newsletter::before {
	content: "";
	position: absolute;
	right: -120px;
	top: -120px;
	width: 380px;
	height: 380px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(62, 155, 79, .35), transparent 70%);
	pointer-events: none;
}

.hsh-newsletter__grid {
	position: relative;
	display: grid;
	gap: 28px 56px;
	align-items: center;
}

@media (min-width: 900px) {
	.hsh-newsletter__grid { grid-template-columns: 1.1fr 1fr; }
}

.hsh-newsletter h2,
.hsh-newsletter h3 { color: var(--hsh-white); margin-bottom: .4em; }

.hsh-newsletter p { margin-bottom: .75em; }

.hsh-newsletter__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	padding: .3rem .8rem;
	border-radius: var(--hsh-radius-pill);
	background: rgba(255, 255, 255, .1);
	color: var(--hsh-white);
	font-size: .8125rem;
	font-weight: 600;
}

.hsh-newsletter__badge .hsh-icon { width: 16px; height: 16px; color: var(--hsh-yellow); }

.hsh-newsletter__form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hsh-newsletter__form input[type="email"] {
	flex: 1 1 240px;
	min-height: 54px;
	border-color: transparent;
	border-radius: var(--hsh-radius-pill);
	padding-inline: 1.25rem;
}

.hsh-newsletter__form .hsh-btn { flex: 1 1 auto; min-height: 54px; }

@media (min-width: 560px) {
	.hsh-newsletter__form .hsh-btn { flex: 0 0 auto; }
}

.hsh-newsletter__small {
	margin: 12px 0 0;
	color: rgba(255, 255, 255, .72);
	font-size: .875rem;
}

.hsh-newsletter__status {
	margin: 12px 0 0;
	padding: 10px 14px;
	border-radius: var(--hsh-radius-sm);
	background: rgba(255, 255, 255, .1);
	color: var(--hsh-white);
	font-size: .9375rem;
}

.hsh-newsletter__status--success { background: rgba(62, 155, 79, .3); }

.hsh-newsletter--compact { padding: clamp(28px, 4vw, 44px); }
.hsh-newsletter--compact .hsh-newsletter__grid { grid-template-columns: 1fr; gap: 20px; }

/* Honeypot field */
.hsh-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   18. FAQ (details/summary)
   -------------------------------------------------------------------------- */
.hsh-faq { display: grid; gap: 12px; }

.hsh-faq__item {
	border: 1px solid var(--hsh-border);
	border-radius: var(--hsh-radius);
	background: var(--hsh-white);
	transition: border-color .15s ease, box-shadow .15s ease;
}

.hsh-faq__item[open] { border-color: var(--hsh-border-strong); box-shadow: var(--hsh-shadow-sm); }

.hsh-faq__item summary {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 60px;
	padding: 18px 22px;
	color: var(--hsh-navy);
	font-size: 1.0625rem;
	font-weight: 650;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
	border-radius: var(--hsh-radius);
}

.hsh-faq__item summary::-webkit-details-marker { display: none; }

.hsh-faq__item summary::after {
	content: "";
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background:
		linear-gradient(var(--hsh-navy), var(--hsh-navy)) center / 12px 2px no-repeat,
		linear-gradient(var(--hsh-navy), var(--hsh-navy)) center / 2px 12px no-repeat,
		var(--hsh-soft-green);
	transition: transform .2s var(--hsh-ease);
}

.hsh-faq__item[open] summary::after {
	background:
		linear-gradient(var(--hsh-white), var(--hsh-white)) center / 12px 2px no-repeat,
		var(--hsh-green-strong);
	transform: rotate(180deg);
}

.hsh-faq__item summary:hover { color: var(--hsh-green-strong); }

.hsh-faq__answer {
	padding: 0 22px 20px;
	color: var(--hsh-text);
}

.hsh-faq__answer > :last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer {
	background: var(--hsh-navy-dark);
	color: rgba(255, 255, 255, .78);
	font-size: .9375rem;
}

.site-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.site-footer a:hover { color: var(--hsh-white); text-decoration: underline; }

.site-footer :focus-visible { outline-color: var(--hsh-yellow); }

.site-footer__main {
	display: grid;
	gap: 40px 32px;
	padding-block: clamp(48px, 6vw, 80px);
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.site-footer__main { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.site-footer__main { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.site-footer__brand .hsh-wordmark { color: var(--hsh-white); }
.site-footer__brand .hsh-wordmark__accent { color: #8FD39B; }
.site-footer__brand .custom-logo { max-height: 44px; width: auto; }

.site-footer__tagline {
	max-width: 320px;
	margin: 16px 0 20px;
	color: rgba(255, 255, 255, .78);
	font-size: 1rem;
}

.site-footer__title {
	margin: 0 0 14px;
	color: var(--hsh-white);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.site-footer__menu { list-style: none; margin: 0; padding: 0; }
.site-footer__menu li { margin: 0 0 10px; }

.hsh-social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hsh-social a {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	color: var(--hsh-white);
	transition: background-color .15s ease, border-color .15s ease;
}

.hsh-social a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }

.hsh-social svg { width: 18px; height: 18px; fill: currentColor; }

.site-footer__disclosure {
	padding-block: 20px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	color: rgba(255, 255, 255, .7);
	font-size: .8125rem;
	line-height: 1.6;
}

.site-footer__disclosure p { margin: 0; max-width: 920px; }

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px 24px;
	padding-block: 20px 28px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: .875rem;
}

.site-footer__bottom p { margin: 0; }

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* --------------------------------------------------------------------------
   20. 404 & empty states
   -------------------------------------------------------------------------- */
.hsh-404 {
	padding-block: clamp(56px, 10vw, 120px);
	background:
		radial-gradient(900px 400px at 20% 0%, rgba(234, 246, 236, .9), transparent 60%),
		radial-gradient(900px 400px at 90% 20%, rgba(234, 245, 251, .9), transparent 60%);
	text-align: center;
}

.hsh-404__art { width: min(240px, 60vw); margin: 0 auto 28px; }

.hsh-404 h1 { max-width: 760px; margin-inline: auto; }
.hsh-404 .hsh-lead { max-width: 560px; margin-inline: auto; }
.hsh-404 .hsh-btn-group { justify-content: center; margin-top: 28px; }
.hsh-404 .hsh-search-form { max-width: 520px; margin: 40px auto 0; }

.hsh-empty {
	padding: clamp(32px, 5vw, 56px);
	border: 1px dashed var(--hsh-border-strong);
	border-radius: var(--hsh-radius-lg);
	background: var(--hsh-bg);
	text-align: center;
}

.hsh-empty h2 { font-size: 1.5rem; }
.hsh-empty p { color: var(--hsh-muted); max-width: 540px; margin-inline: auto; }
.hsh-empty .hsh-search-form { max-width: 520px; margin: 24px auto 0; }

.hsh-suggestions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 24px;
	list-style: none;
	padding: 0;
}

/* --------------------------------------------------------------------------
   21. WordPress core classes
   -------------------------------------------------------------------------- */
.alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }

.wp-caption { max-width: 100%; }

.wp-caption-text,
figcaption,
.wp-element-caption {
	margin-top: .6rem;
	color: var(--hsh-muted);
	font-size: .875rem;
	line-height: 1.5;
	text-align: center;
}

.sticky .hsh-card { border-color: var(--hsh-green); }

.bypostauthor { display: block; }

.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

/* --------------------------------------------------------------------------
   22. Mobile header fixes
   backdrop-filter creates a containing block for position:fixed children,
   which would trap the mobile drawer inside the header — disable it there.
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.site-header {
		background: var(--hsh-white);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.site-header__inner { gap: 12px; }
	.site-branding { min-width: 0; }
}

@media (max-width: 480px) {
	.hsh-wordmark { gap: 8px; font-size: 1.0625rem; }
	.hsh-wordmark__mark { width: 30px; height: 30px; }
	.site-branding .custom-logo { max-height: 36px; }
	.site-header__actions { gap: 2px; }
}

@media (max-width: 340px) {
	.hsh-wordmark > span:not(.hsh-wordmark__accent) { font-size: .9375rem; }
}

@media (max-width: 1100px) {
	.primary-nav__extra { display: block; }
}

/* Block-based widgets (WordPress default widgets) inside the sidebar. */
.widget h2,
.widget h3,
.widget .wp-block-heading {
	margin: 0 0 14px;
	font-size: 1rem;
	letter-spacing: 0;
	line-height: 1.3;
}

.widget .wp-block-search__label { display: block; margin-bottom: 8px; font-size: 1rem; }
.widget .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.widget .wp-block-search__input { min-width: 0; border-radius: var(--hsh-radius-pill); }
.widget .wp-block-search__button { margin: 0; min-height: 48px; }
.widget .wp-block-latest-comments { padding: 0; margin: 0; }
.widget .wp-block-latest-comments__comment { margin: 0; padding: 8px 0; font-size: .9375rem; }
.widget .wp-block-group > :last-child { margin-bottom: 0; }
