/**
 * HLH Core — front blocks (theme-independent; palette via CSS vars the theme can override).
 */
.hlh-emerald{--hlh-emerald:#1E5B4F}
.hlh-sage{--hlh-sage:#7A9B76}
.hlh-sand{--hlh-sand:#F3EDE2}
.hlh-ink{--hlh-ink:#22302B}
.hlh-mist{--hlh-mist:#EDF2EF}
.hlh-amber{--hlh-amber:#C97B2D}
.hlh-danger{--hlh-danger:#A34A3F}

.hlh-product-box,
.hlh-compare,
.hlh-steps,
.hlh-takeaways,
.hlh-disclaimer,
.hlh-related-posts {
	--hlh-emerald: var(--hlh-emerald, #1E5B4F);
	font-family: inherit;
	color: #22302B;
}

/* ---------- buttons ---------- */
.hlh-btn {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 0.14s ease-out, background-color 0.14s ease-out, box-shadow 0.14s ease-out;
}
.hlh-btn--cta { background: #C97B2D; color: #fff; box-shadow: 0 1px 2px rgba(34,48,43,.15); }
.hlh-btn--cta:hover, .hlh-btn--cta:focus-visible { background: #B26C24; transform: translateY(-1px); }
.hlh-btn--ghost { background: transparent; color: #1E5B4F; border: 1.5px solid #1E5B4F; }
.hlh-btn--ghost:hover, .hlh-btn--ghost:focus-visible { background: #EDF2EF; }
.hlh-btn--sm { padding: 8px 14px; font-size: 14px; white-space: nowrap; }

/* ---------- stars ---------- */
.hlh-stars { position: relative; display: inline-block; font-size: 18px; letter-spacing: 2px; }
.hlh-stars-base { color: #C9CFC9; }
.hlh-stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: #C97B2D; }

/* ---------- product box ---------- */
.hlh-product-box {
	position: relative;
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 20px;
	padding: 20px;
	background: #fff;
	border: 1px solid #E2E7E2;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(34,48,43,.06), 0 8px 24px rgba(34,48,43,.08);
}
.hlh-product-box.is-pick { border-color: #7A9B76; }
.hlh-pick-badge {
	display: inline-block;
	margin-inline-start: 8px;
	padding: 3px 10px;
	background: #7A9B76;
	color: #fff;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	vertical-align: middle;
}
/* Badge as a direct child of the product-box must NOT occupy a grid cell:
   as a grid item it pushed media/body into wrong columns at >=768px and
   stretched full-width at 375px (staging visual audit 2026-11-06). */
.hlh-product-box > .hlh-pick-badge {
	position: absolute;
	top: 0;
	right: 16px;
	transform: translateY(-50%);
	z-index: 1;
	margin: 0;
}
.hlh-product-box__media img { width: 100%; height: auto; border-radius: 12px; object-fit: cover; }
.hlh-product-box__title { margin: 0 0 6px; font-size: 20px; line-height: 1.3; }
.hlh-product-box__rating { margin: 0 0 8px; }
.hlh-product-box__score { margin-inline-start: 6px; font-weight: 600; }
.hlh-product-box__verdict { margin: 0 0 10px; }
.hlh-product-box__pros { margin: 0 0 14px; padding-left: 18px; }
.hlh-product-box__pros li { margin: 4px 0; }
.hlh-product-box__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hlh-afdisc { margin: 10px 0 0; font-size: 12.5px; color: #5C6B64; }
.hlh-disclaimer-note { font-size: 13.5px; color: #5C6B64; background: #F3EDE2; border-radius: 8px; padding: 8px 12px; }

@media (max-width: 600px) {
	.hlh-product-box { grid-template-columns: 1fr; }
	.hlh-product-box__media { max-width: 220px; }
}
/* No thumbnail => don't reserve the media column (202px dead space at >=768). */
.hlh-product-box.no-media { grid-template-columns: 1fr; }

/* ---------- comparison table ---------- */
.hlh-compare {
	overflow-x: auto;
	border: 1px solid #E2E7E2;
	border-radius: 16px;
	/* scroll-shadow: fades hint that the table scrolls horizontally */
	background:
		linear-gradient(90deg, #fff 30%, rgba(255,255,255,0)) left center / 40px 100% no-repeat local,
		linear-gradient(270deg, #fff 30%, rgba(255,255,255,0)) right center / 40px 100% no-repeat local,
		radial-gradient(farthest-side at 0 50%, rgba(34,48,43,.16), transparent) left center / 12px 100% no-repeat scroll,
		radial-gradient(farthest-side at 100% 50%, rgba(34,48,43,.16), transparent) right center / 12px 100% no-repeat scroll,
		#fff;
}
.hlh-compare__table { width: 100%; border-collapse: collapse; min-width: 640px; }
.hlh-compare__table th, .hlh-compare__table td { padding: 12px 14px; text-align: left; vertical-align: middle; border-bottom: 1px solid #EDF2EF; font-size: 15px; position: relative; }
.hlh-compare__table thead th { background: #F3EDE2; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #1E5B4F; }
.hlh-compare__table tr:last-child td { border-bottom: 0; }
.hlh-compare__table tr.is-pick { background: #F7FAF7; }
.hlh-compare__name img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; margin-inline-end: 10px; vertical-align: middle; }
.hlh-compare__name a { font-weight: 600; color: #22302B; text-decoration: none; }
.hlh-compare__name a:hover, .hlh-compare__name a:focus-visible { color: #1E5B4F; text-decoration: underline; }

/* ---------- steps ---------- */
.hlh-steps { list-style: none; margin: 24px 0; padding: 0; position: relative; }
.hlh-steps::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: #D8E2D8; }
.hlh-steps__item { position: relative; padding: 0 0 24px 48px; counter-increment: hlh-step; }
.hlh-steps__item::before {
	content: counter(hlh-step);
	position: absolute; left: 0; top: 0;
	width: 36px; height: 36px;
	display: grid; place-items: center;
	background: #1E5B4F; color: #fff;
	border-radius: 50%;
	font-weight: 700;
}
.hlh-steps__title { margin: 4px 0 6px; font-size: 18px; }
.hlh-steps__body { color: #3A473F; }

/* ---------- takeaways ---------- */
.hlh-takeaways { background: #F3EDE2; border-radius: 16px; padding: 20px 24px; margin: 0 0 28px; }
.hlh-takeaways__title { margin: 0 0 8px; font-size: 18px; color: #1E5B4F; display: flex; align-items: center; gap: 8px; }
.hlh-takeaways__title::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; background: #1E5B4F; color: #fff; border-radius: 50%; font-size: 14px; }
.hlh-takeaways ul { margin: 0; }

/* ---------- disclaimer ---------- */
.hlh-disclaimer { background: #F3EDE2; border: 1px solid #E4DCCC; border-radius: 12px; padding: 14px 18px; margin: 28px 0 8px; font-size: 13.5px; color: #3A473F; }
.hlh-disclaimer__title { margin: 0 0 6px; font-size: 15px; color: #1E5B4F; }

/* ---------- related posts ---------- */
.hlh-related-posts { margin: 32px 0; }
.hlh-related-posts h2 { font-size: 20px; margin: 0 0 10px; }
.hlh-related-posts ul { margin: 0; padding-left: 20px; }
.hlh-related-posts li { margin: 6px 0; }
.hlh-related-posts a { color: #1E5B4F; }

/* ---------- lead magnet (Addendum §2) ---------- */
.hlh-lm { background: #F3EDE2; border-radius: 16px; padding: 24px; margin: 2.4em 0; }
.hlh-lm__title { margin: 0 0 10px; font-size: 21px; color: #1E5B4F; }
.hlh-lm__bullets { margin: 0 0 14px; padding-left: 20px; }
.hlh-lm__bullets li { margin: 4px 0; }
.hlh-lm__label { display: block; font-weight: 600; margin-bottom: 6px; }
.hlh-lm__row { display: flex; gap: 10px; flex-wrap: wrap; }
.hlh-lm__row input[type="email"] {
	flex: 1; min-width: 220px; padding: 12px 14px; border: 1.5px solid #E2E7E2;
	border-radius: 10px; font: inherit; background: #fff; color: #22302B;
}
.hlh-lm__row input[type="email"]:focus-visible { outline-offset: 0; border-color: #1E5B4F; }
.hlh-lm__turnstile { margin-top: 12px; }
.hlh-lm__legal { margin: 12px 0 0; font-size: 12.5px; color: #5C6B64; }
.hlh-lm__msg { margin: 12px 0 0; font-weight: 600; color: #1E5B4F; }
.hlh-lm--exit-source { display: none; }

/* honeypots: three DIFFERENT hiding techniques (global rule §7.3) */
.hlh-hp { margin: 0; }
.hlh-hp--offscreen { position: absolute; left: -5000px; top: 0; height: 1px; overflow: hidden; }
.hlh-hp--visually-class { visibility: hidden; height: 0; overflow: hidden; }
.hlh-hp--contents { display: contents; }
.hlh-hp--contents > label { position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0;
  pointer-events: none; }

/* exit-intent overlay */
.hlh-exit-overlay {
	position: fixed; inset: 0; z-index: 200;
	background: rgba(34, 48, 43, .55);
	display: grid; place-items: center; padding: 20px;
}
.hlh-lm--popup { position: relative; max-width: 520px; width: 100%; background: #F3EDE2; box-shadow: 0 24px 64px rgba(0, 0, 0, .3); }
.hlh-exit-close {
	position: absolute; top: 8px; right: 8px; z-index: 1;
	width: 36px; height: 36px; border: 0; border-radius: 10px;
	background: rgba(30, 91, 79, .12); color: #1E5B4F; font-size: 22px; cursor: pointer;
}
.hlh-exit-close:hover { background: rgba(30, 91, 79, .22); }

@media (prefers-reduced-motion: reduce) {
	.hlh-btn { transition: none; }
	.hlh-btn--cta:hover { transform: none; }
}
