/**
 * Hungary Visa -- Base Components
 * Forked from OM Theme, adapted for lead-gen service site.
 * Prefix: hv-
 */

/* ===== Page chrome ===== */
body {
	background-color: var(--hv-color-bg);
	font-family: var(--hv-font-body);
	color: var(--hv-color-text);
	overflow-x: hidden; /* prevent horizontal scroll from 100vw sections */
}

/* Remove GP separate-containers gap between header and content */
.separate-containers .site-main {
	margin-top: 0;
}

/* ===== Navigation & Dropdowns ===== */

/* Top-level nav links -- !important needed to override GP Customizer inline styles */
.main-navigation .main-nav ul li a,
.main-navigation .menu > li > a {
	color: var(--hv-color-neutral-700) !important;
	font-weight: 500;
	font-size: 0.938rem;
	transition: color 0.2s;
}
.main-navigation .main-nav ul li a:hover,
.main-navigation .menu > li:hover > a {
	color: var(--hv-color-primary) !important;
}
/* Active/current page */
.main-navigation .main-nav ul .current-menu-item > a,
.main-navigation .main-nav ul .current-menu-ancestor > a {
	color: var(--hv-color-primary) !important;
}

/* Dropdown panels */
.main-navigation .main-nav ul ul,
.main-navigation .menu ul.sub-menu {
	background: var(--hv-color-white);
	border: 1px solid var(--hv-color-neutral-300);
	border-radius: var(--hv-radius-md);
	box-shadow: var(--hv-shadow-lg);
	padding: 0.5rem 0;
	min-width: 220px;
	margin-top: 0;
}
/* Dropdown items */
.main-navigation .main-nav ul ul li a,
.main-navigation .menu .sub-menu li a {
	color: var(--hv-color-neutral-700) !important;
	font-size: 0.875rem;
	font-weight: 450;
	padding: 0.6rem 1.25rem;
	transition: background-color 0.15s, color 0.15s;
	border-radius: 0;
}
.main-navigation .main-nav ul ul li a:hover,
.main-navigation .menu .sub-menu li a:hover {
	background: var(--hv-color-primary-100) !important;
	color: var(--hv-color-primary-700) !important;
}
/* Remove GP default sub-menu bg */
.main-navigation .main-nav ul ul li a {
	background: none !important;
}

/* Dropdown arrow icon colour */
.main-navigation .menu-item-has-children > a .gp-icon svg,
.main-navigation .sf-arrows .sf-with-ul::after {
	color: currentColor;
}

/* Mobile menu (<=768px): flat, full-width list like myprotein.hu -- no floating
   "cards", no left rails. Every row is a full-width tap target separated by a
   full-width hairline divider; nesting is shown by indentation, not boxes.
   GP nests the toggle arrow INSIDE the <a>, so the border-bottom spans the row.
   (The desktop dropdown-card styling further up only applies above 768px.) */
@media (max-width: 768px) {
	.main-navigation .menu ul.sub-menu,
	.main-navigation .main-nav ul ul {
		background: transparent !important;
		border: none !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		min-width: 0;
		padding: 0 !important;
		margin: 0 !important;
	}
	.main-navigation .menu li > a,
	.main-navigation .main-nav ul li > a {
		border-bottom: 1px solid var(--hv-color-border) !important;
		border-radius: 0 !important;
		padding-top: 0.95rem !important;
		padding-bottom: 0.95rem !important;
		background: none !important;
	}
	/* Indent (not rail) to show hierarchy */
	.main-navigation .menu .sub-menu li a,
	.main-navigation .main-nav ul ul li a {
		padding-left: 1.5rem !important;
	}
	.main-navigation .menu .sub-menu .sub-menu li a,
	.main-navigation .main-nav ul ul ul li a {
		padding-left: 2.5rem !important;
	}
	/* Sub-menu parents (Visa Requirements, Guides) a touch bolder than leaf links */
	.main-navigation .menu .sub-menu .menu-item-has-children > a {
		font-weight: 600;
	}
}

/* ===== Headings ===== */
h1, h2, h3, h4, h5, h6,
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
	font-family: var(--hv-font-heading) !important;
}
h1 { font-weight: 800 !important; }
h2 { font-weight: 700 !important; }
h3 { font-weight: 600 !important; }
h4, h5, h6 { font-weight: 600 !important; }
/* Only set heading color when no inline style overrides it */
.entry-content h1:not([style*="color"]),
.entry-content h2:not([style*="color"]),
.entry-content h3:not([style*="color"]),
.entry-content h4:not([style*="color"]) {
	color: var(--hv-color-heading);
}

.entry-content h1, .hv-content h1 { font-size: 2rem    !important; line-height: var(--hv-leading-tight); }
.entry-content h2, .hv-content h2 { font-size: 1.5rem  !important; line-height: var(--hv-leading-tight); }
.entry-content h3, .hv-content h3 { font-size: 1.25rem !important; line-height: var(--hv-leading-tight); }
.entry-content h4, .hv-content h4 { font-size: 1.125rem!important; line-height: var(--hv-leading-tight); }

/* ===== Vertical rhythm ===== */
.entry-content h1, .hv-content h1 { margin-top: 3rem;   margin-bottom: 1.25rem; }
.entry-content h2, .hv-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.entry-content h3, .hv-content h3 { margin-top: 2rem;   margin-bottom: 0.75rem; }
.entry-content h4, .hv-content h4 { margin-top: 1.5rem; margin-bottom: 0.5rem; }

.entry-content > h1:first-child,
.entry-content > h2:first-child,
.entry-content > h3:first-child,
.hv-content > h1:first-child,
.hv-content > h2:first-child,
.hv-content > h3:first-child { margin-top: 0; }

.entry-content h2 + h3, .hv-content h2 + h3,
.entry-content h3 + h4, .hv-content h3 + h4 { margin-top: 0.5rem; }

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content figure,
.entry-content .wp-block-list,
.entry-content .wp-block-quote,
.hv-content p,
.hv-content ul,
.hv-content ol,
.hv-content blockquote,
.hv-content figure { margin-bottom: 1rem; }

/* Body lists: markers in line with the body text with a small, even indent.
   Wrapped in :where() so this rule carries ZERO specificity -- any styled
   component list (checklists, guide-section tick lists, eligibility / FAQ /
   legal lists, etc.) automatically overrides it and keeps its own custom
   markers and flush alignment. Only plain prose lists pick up this indent. */
:where(.entry-content, .hv-content) ul,
:where(.entry-content, .hv-content) ol {
	margin-left: 0;
	padding-left: 1.4em;
	list-style-position: outside;
}
:where(.entry-content, .hv-content) li > ul,
:where(.entry-content, .hv-content) li > ol {
	margin-top: 0.4rem;
}

.entry-content .hv-callout,
.entry-content .hv-cta-banner,
.entry-content .hv-pricing-card,
.hv-content .hv-callout,
.hv-content .hv-cta-banner { margin-top: 2.5rem; margin-bottom: 2.5rem; }

/* ===== Text size utilities ===== */
.hv-text-xs   { font-size: var(--hv-text-xs); }
.hv-text-sm   { font-size: var(--hv-text-sm); }
.hv-text-base { font-size: var(--hv-text-base); }
.hv-text-md   { font-size: var(--hv-text-md); }
.hv-text-lg   { font-size: var(--hv-text-lg); }
.hv-text-xl   { font-size: var(--hv-text-xl); }
.hv-text-2xl  { font-size: var(--hv-text-2xl); }
.hv-text-3xl  { font-size: var(--hv-text-3xl); }

button, input, select, textarea, .wp-element-button {
	font-family: var(--hv-font-body);
}

/* ===== Links (in-content) =====
 * Only style bare text links. Exclude buttons, vibe-coded components,
 * and any link with a class containing "btn", "button", or "card". */
.entry-content a:not(.hv-btn):not(.wp-element-button):not([class*="btn"]):not([class*="button"]):not([class*="card"]):not([class*="hvhome-"]):not(.hv-learn-more):not(.hv-consult-link),
.hv-content a:not(.hv-btn):not([class*="btn"]):not([class*="button"]):not([class*="card"]):not([class*="hvhome-"]):not(.hv-learn-more):not(.hv-consult-link) {
	color: var(--hv-color-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 120ms ease;
}
.entry-content a:not(.hv-btn):not(.wp-element-button):not([class*="btn"]):not([class*="button"]):not([class*="card"]):not([class*="hvhome-"]):not(.hv-learn-more):not(.hv-consult-link):hover,
.hv-content a:not(.hv-btn):not([class*="btn"]):not([class*="button"]):not([class*="card"]):not([class*="hvhome-"]):not(.hv-learn-more):not(.hv-consult-link):hover {
	color: var(--hv-color-link-hover);
	text-decoration-thickness: 2px;
}

/* ===== Utilities ===== */

/* Radii */
.hv-rounded      { border-radius: var(--hv-radius-md); }
.hv-rounded-sm   { border-radius: var(--hv-radius-sm); }
.hv-rounded-lg   { border-radius: var(--hv-radius-lg); }
.hv-rounded-full { border-radius: var(--hv-radius-pill); }

/* Shadows */
.hv-shadow      { box-shadow: var(--hv-shadow-md); }
.hv-shadow-sm   { box-shadow: var(--hv-shadow-sm); }
.hv-shadow-md   { box-shadow: var(--hv-shadow-md); }
.hv-shadow-lg   { box-shadow: var(--hv-shadow-lg); }

/* Padding */
.hv-p    { padding: var(--hv-space-md); }
.hv-p-sm { padding: var(--hv-space-sm); }
.hv-p-lg { padding: var(--hv-space-lg); }

/* Margin-bottom system */
.hv-mb-0 { margin-bottom: 0 !important; }
.hv-mb-block > * { margin-bottom: var(--hv-space-md); }
.hv-mb-last-child-0 > *:last-child { margin-bottom: 0 !important; }

/* Contrast container (dark bg, white text) */
.hv-tfs--contrast {
	background: var(--hv-color-primary-900);
	color: var(--hv-color-white);
}
.hv-tfs--contrast h1,
.hv-tfs--contrast h2,
.hv-tfs--contrast h3,
.hv-tfs--contrast h4,
.hv-tfs--contrast h5,
.hv-tfs--contrast h6,
.hv-tfs--contrast p,
.hv-tfs--contrast li,
.hv-tfs--contrast strong {
	color: var(--hv-color-white);
}
.hv-tfs--contrast a,
.hv-tfs--contrast a:visited {
	color: var(--hv-color-white);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.hv-tfs--contrast a:hover {
	text-decoration: none;
}

/* Eyebrow label */
.hv-eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	font-size: var(--hv-text-xs);
	padding: 0.35em 0.85em;
	border-radius: var(--hv-radius-pill);
	background: var(--hv-color-primary-100);
	color: var(--hv-color-primary-700);
}
.hv-eyebrow--gold {
	background: var(--hv-color-contrast-100);
	color: var(--hv-color-contrast-900);
}

/* Icon list (checkmark lists, feature lists) */
.hv-icon-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.hv-icon-list__item {
	display: flex;
	align-items: flex-start;
	gap: 0.5em;
	margin: 0 0 0.4em;
	line-height: var(--hv-leading-normal);
}
.hv-icon-list__item svg:first-child {
	flex: 0 0 auto;
	width: 1.1em;
	height: 1.1em;
	margin-top: 0.2em;
}

/* ===== Buttons ===== */
.hv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	column-gap: 0.5em;
	box-sizing: border-box;
	min-height: 2.75rem;
	padding: 0.65em 1.25em;
	font-weight: 600;
	font-size: var(--hv-text-base);
	line-height: 1.2;
	text-decoration: none !important;
	border: 2px solid transparent;
	border-radius: var(--hv-radius-btn);
	transition: background-color 150ms ease, transform 100ms ease;
	cursor: pointer;
}
.hv-btn:hover,
.hv-btn:focus,
.hv-btn:visited {
	text-decoration: none !important;
}

.hv-btn--primary,
.hv-btn--primary:visited {
	background: var(--hv-color-primary);
	color: var(--hv-color-white);
}
.hv-btn--primary:hover,
.hv-btn--primary:focus {
	background: var(--hv-color-primary-900);
	color: var(--hv-color-white);
}

.hv-btn--accent,
.hv-btn--accent:visited {
	background: var(--hv-color-accent);
	color: var(--hv-color-neutral-900);
}
.hv-btn--accent:hover,
.hv-btn--accent:focus {
	background: var(--hv-color-accent-dark);
	color: var(--hv-color-neutral-900);
}

.hv-btn--outline-primary,
.hv-btn--outline-primary:visited {
	background: transparent;
	color: var(--hv-color-primary);
	border-color: var(--hv-color-primary);
}
.hv-btn--outline-primary:hover,
.hv-btn--outline-primary:focus {
	background: var(--hv-color-primary);
	color: var(--hv-color-white);
}

.hv-btn--outline-contrast,
.hv-btn--outline-contrast:visited {
	background: transparent;
	color: var(--hv-color-white);
	border-color: rgba(255, 255, 255, 0.5);
}
.hv-btn--outline-contrast:hover,
.hv-btn--outline-contrast:focus {
	background: var(--hv-color-white);
	color: var(--hv-color-primary-700);
}

.hv-btn--neutral,
.hv-btn--neutral:visited {
	background: var(--hv-color-bg-alt);
	color: var(--hv-color-text);
	box-shadow: inset 0 0 0 1px var(--hv-color-border);
}
.hv-btn--neutral:hover,
.hv-btn--neutral:focus {
	background: var(--hv-color-border);
	color: var(--hv-color-text);
}

.hv-btn--ghost {
	background: transparent;
	color: var(--hv-color-primary);
	box-shadow: none;
	padding-left: 0;
	padding-right: 0;
}
.hv-btn--ghost:hover,
.hv-btn--ghost:focus {
	background: transparent;
	color: var(--hv-color-primary-900);
	text-decoration: underline !important;
}

.hv-btn--block {
	width: 100%;
	max-width: 24rem;
	min-height: 3.25rem;
	font-size: var(--hv-text-md);
	padding-top: 0.85em;
	padding-bottom: 0.85em;
}
@media (min-width: 600px) {
	.hv-btn--block {
		width: auto;
	}
}

/* CTA button wrapper */
.hv-cta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--hv-space-sm);
	margin-top: var(--hv-space-md) !important;
	margin-bottom: var(--hv-space-md) !important;
}

/* ===== Alerts ===== */
.hv-alert {
	padding: var(--hv-space-md);
	border-radius: var(--hv-radius-md);
	border-left: 4px solid var(--hv-color-info);
	background: var(--hv-color-info-tint);
}
.hv-alert--primary { border-color: var(--hv-color-primary); background: var(--hv-color-primary-100); }
.hv-alert--success { border-color: var(--hv-color-success); background: var(--hv-color-success-tint); }
.hv-alert--warning { border-color: var(--hv-color-warning); background: var(--hv-color-warning-tint); }
.hv-alert--danger  { border-color: var(--hv-color-danger);  background: var(--hv-color-danger-tint); }
.hv-alert--info    { border-color: var(--hv-color-info);    background: var(--hv-color-info-tint); }

/* ===== Cards ===== */
.hv-card {
	background: var(--hv-color-bg);
	border: 1px solid var(--hv-color-border);
	border-radius: var(--hv-radius-md);
	overflow: hidden;
}
.hv-card__image {
	width: 100%;
	height: auto;
	display: block;
}
.hv-card__body {
	padding: var(--hv-space-md);
}
.hv-card__title {
	font-size: var(--hv-text-lg);
	font-weight: 700;
	margin-bottom: var(--hv-space-sm);
}
.hv-card__text {
	color: var(--hv-color-text-muted);
	font-size: var(--hv-text-sm);
}

/* Horizontal card (image left, content right) */
.hv-card-h {
	display: grid;
	grid-template-columns: 1fr;
	background: var(--hv-color-bg);
	border: 1px solid var(--hv-color-border);
	border-radius: var(--hv-radius-md);
	overflow: hidden;
}
@media (min-width: 600px) {
	.hv-card-h {
		grid-template-columns: 280px 1fr;
	}
}

/* ===== Callouts ===== */
.hv-callout {
	border-radius: var(--hv-radius-md);
	padding: var(--hv-space-lg);
	margin-bottom: var(--hv-space-xl);
}
.hv-callout__title {
	font-weight: 700;
	font-size: var(--hv-text-md);
	margin-bottom: var(--hv-space-sm);
}
.hv-callout__body p:last-child {
	margin-bottom: 0;
}

.hv-callout--info {
	background: var(--hv-color-info-tint);
}
.hv-callout--info .hv-callout__title { color: var(--hv-color-info-text); }

.hv-callout--ok {
	background: var(--hv-color-success-tint);
}
.hv-callout--ok .hv-callout__title { color: var(--hv-color-success-text); }

.hv-callout--warn {
	background: var(--hv-color-warning-tint);
}
.hv-callout--warn .hv-callout__title { color: var(--hv-color-warning-text); }

.hv-callout--alert {
	background: var(--hv-color-danger-tint);
}
.hv-callout--alert .hv-callout__title { color: var(--hv-color-danger-text); }

/* ===== CTA Banner ===== */
.hv-cta-banner {
	background: var(--hv-color-primary-700);
	color: var(--hv-color-white);
	border-radius: var(--hv-radius-lg);
	padding: var(--hv-space-xl) var(--hv-space-lg);
	text-align: center;
}
.hv-cta-banner h2,
.hv-cta-banner h3,
.hv-cta-banner p,
.entry-content .hv-cta-banner h2,
.entry-content .hv-cta-banner h3,
.entry-content .hv-cta-banner p {
	color: var(--hv-color-white) !important;
}
.hv-cta-banner .hv-btn--accent {
	margin-top: var(--hv-space-md);
}
/* Keep the banner off the screen edges on mobile (its inline style sets
   margin:auto on the sides, which collapses to 0 below its max-width). */
@media (max-width: 768px) {
	.hv-cta-banner {
		margin-left: var(--hv-space-md) !important;
		margin-right: var(--hv-space-md) !important;
	}
}

/* ===== Breadcrumbs ===== */
.rank-math-breadcrumb {
	font-size: var(--hv-text-sm);
	color: var(--hv-color-text-muted);
	margin-bottom: var(--hv-space-lg);
}
.rank-math-breadcrumb a {
	color: var(--hv-color-text-muted);
	text-decoration: none;
}
.rank-math-breadcrumb a:hover {
	color: var(--hv-color-primary);
	text-decoration: underline;
}
.rank-math-breadcrumb .separator {
	margin: 0 0.4em;
	opacity: 0.5;
}

/* ===== Accordion (Rank Math FAQ) ===== */
.hv-rankmath-accordion .rank-math-block,
.hv-rankmath-accordion .rank-math-faq-item,
.rank-math-block .rank-math-list-item {
	border-bottom: 1px solid var(--hv-color-border);
	padding: var(--hv-space-md) 0;
}
.hv-rankmath-accordion .rank-math-block:first-child,
.hv-rankmath-accordion .rank-math-faq-item:first-child,
.rank-math-block .rank-math-list-item:first-child {
	border-top: 1px solid var(--hv-color-border);
}
.hv-rankmath-accordion .rank-math-question,
.rank-math-block .rank-math-question {
	cursor: pointer;
	font-weight: 600;
	font-size: var(--hv-text-md);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--hv-space-sm) 0;
	margin: 0 !important;
}
.hv-rankmath-accordion .rank-math-answer,
.rank-math-block .rank-math-answer {
	display: none;
	padding-top: var(--hv-space-sm);
	color: var(--hv-color-text);
}
.hv-rankmath-accordion .rank-math-block.is-open .rank-math-answer,
.hv-rankmath-accordion .rank-math-faq-item.is-open .rank-math-answer,
.rank-math-block .rank-math-list-item.is-open .rank-math-answer {
	display: block;
}

/* ===================================================================
 * LEAD-GEN COMPONENTS -- specific to hungaryvisa.org
 * =================================================================== */

/* ===== Permit Card ===== */
.hv-permit-card {
	background: var(--hv-color-bg);
	border: 1px solid var(--hv-color-border);
	border-radius: var(--hv-radius-md);
	padding: var(--hv-space-lg);
	transition: box-shadow 200ms ease, transform 200ms ease;
}
.hv-permit-card:hover {
	box-shadow: var(--hv-shadow-md);
	transform: translateY(-2px);
}
.hv-permit-card__icon {
	width: 48px;
	height: 48px;
	border-radius: var(--hv-radius-md);
	background: var(--hv-color-primary-700);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--hv-space-md);
}
.hv-permit-card__icon svg,
.hv-permit-card__icon .hv-icon {
	width: 24px;
	height: 24px;
	color: var(--hv-color-white);
}
.hv-permit-card__icon .hv-icon {
	font-size: 24px;
	background: var(--hv-color-white);
}
.hv-permit-card__title {
	font-size: var(--hv-text-lg);
	font-weight: 700;
	color: var(--hv-color-heading);
	margin-bottom: var(--hv-space-sm);
}
.hv-permit-card__desc {
	color: var(--hv-color-text-muted);
	font-size: var(--hv-text-sm);
	margin-bottom: var(--hv-space-md);
}
.hv-permit-card__link {
	font-weight: 600;
	font-size: var(--hv-text-sm);
	color: var(--hv-color-heading);
	text-decoration: none;
}
.hv-permit-card__link:hover {
	color: var(--hv-color-primary);
}

/* ===== Pricing Card ===== */
.hv-pricing-card {
	background: var(--hv-color-bg);
	border: 1px solid var(--hv-color-border);
	border-radius: var(--hv-radius-lg);
	padding: var(--hv-space-xl);
	padding-top: calc(var(--hv-space-xl) + 2rem);
	text-align: center;
	display: flex;
	flex-direction: column;
}
.hv-pricing-card--featured {
	border-color: var(--hv-color-primary);
	border-width: 2px;
	position: relative;
}
.hv-pricing-card__badge {
	position: absolute;
	top: var(--hv-space-md);
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	background: var(--hv-color-accent);
	color: var(--hv-color-neutral-900);
	font-size: var(--hv-text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.25em 0.75em;
	border-radius: var(--hv-radius-pill);
}
.hv-pricing-card__title {
	font-size: var(--hv-text-xl);
	font-weight: 700;
	margin-bottom: var(--hv-space-sm);
	min-height: 3em;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hv-pricing-card__price {
	font-size: var(--hv-text-3xl);
	font-weight: 800;
	color: var(--hv-color-heading);
	margin-bottom: var(--hv-space-xs);
}
.hv-pricing-card__price-note {
	font-size: var(--hv-text-sm);
	color: var(--hv-color-text-muted);
	margin-bottom: var(--hv-space-lg);
}
.hv-pricing-card__price-prefix {
	display: block;
	font-size: var(--hv-text-sm);
	font-weight: 600;
	color: var(--hv-color-text-muted);
	line-height: 1;
	margin-bottom: 0.15em;
}
.hv-pricing-card__features {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--hv-space-lg);
	text-align: left;
	flex-grow: 1;
}
.hv-pricing-card__features li {
	display: flex;
	align-items: flex-start;
	gap: 0.5em;
	padding: 0.4em 0;
	border-bottom: 1px solid var(--hv-color-bg-soft);
}
.hv-pricing-card__features li:last-child {
	border-bottom: none;
}

/* ===== Team/Lawyer Card ===== */
.hv-team-card {
	background: var(--hv-color-bg);
	border: 1px solid var(--hv-color-border);
	border-radius: var(--hv-radius-lg);
	overflow: hidden;
	text-align: center;
}
.hv-team-card__photo {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.hv-team-card__body {
	padding: var(--hv-space-lg);
}
.hv-team-card__name {
	font-size: var(--hv-text-lg);
	font-weight: 700;
	margin-bottom: var(--hv-space-xs);
}
.hv-team-card__role {
	font-size: var(--hv-text-sm);
	color: var(--hv-color-primary);
	font-weight: 600;
	margin-bottom: var(--hv-space-sm);
}
.hv-team-card__bio {
	font-size: var(--hv-text-sm);
	color: var(--hv-color-text-muted);
}

/* ===== Testimonial ===== */
.hv-testimonial {
	background: var(--hv-color-bg-soft);
	border-radius: var(--hv-radius-lg);
	padding: var(--hv-space-xl);
	position: relative;
}
.hv-testimonial__quote {
	font-size: var(--hv-text-md);
	font-style: italic;
	line-height: var(--hv-leading-normal);
	margin-bottom: var(--hv-space-lg);
	color: var(--hv-color-heading);
}
.hv-testimonial__author {
	display: flex;
	align-items: center;
	gap: var(--hv-space-md);
}
.hv-testimonial__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}
.hv-testimonial__name {
	font-weight: 700;
	font-size: var(--hv-text-sm);
}
.hv-testimonial__meta {
	font-size: var(--hv-text-xs);
	color: var(--hv-color-text-muted);
}

/* ===== Process Steps ("How It Works") ===== */
.hv-process-steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--hv-space-lg);
	counter-reset: step;
}
@media (min-width: 768px) {
	.hv-process-steps {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
}
.hv-process-step {
	text-align: center;
	counter-increment: step;
}
.hv-process-step__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--hv-color-primary-100);
	color: var(--hv-color-primary-700);
	font-weight: 800;
	font-size: var(--hv-text-lg);
	margin-bottom: var(--hv-space-md);
}
.hv-process-step__title {
	font-size: var(--hv-text-md);
	font-weight: 700;
	margin-bottom: var(--hv-space-xs);
}
.hv-process-step__desc {
	font-size: var(--hv-text-sm);
	color: var(--hv-color-text-muted);
}

/* ===== Trust Bar (social proof strip) ===== */
.hv-trust-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--hv-space-lg);
	padding: var(--hv-space-md) var(--hv-space-md);
	text-align: center;
}
.hv-trust-bar__item {
	flex: 1 1 120px;
	max-width: 200px;
}
.hv-trust-bar__number {
	font-size: var(--hv-text-2xl);
	font-weight: 800;
	color: var(--hv-color-primary-700);
	line-height: 1.1;
	margin-bottom: var(--hv-space-xs);
	min-height: 2.6rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* The 2nd stat is text ("Video or In-Person"), not a number -- shrink it so it
   does not balloon, and so its label lines up with the other stats' labels. */
.hv-trust-bar__item:nth-child(2) .hv-trust-bar__number {
	font-size: var(--hv-text-md);
}
.hv-trust-bar__label {
	font-size: var(--hv-text-sm);
	color: var(--hv-color-text-muted);
}

/* ===== Key Facts Strip (permit pages) ===== */
.hv-key-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: var(--hv-space-md);
	background: var(--hv-color-bg-soft);
	border-radius: var(--hv-radius-md);
	padding: var(--hv-space-lg);
	margin-bottom: var(--hv-space-xl);
}
.hv-key-fact {
	text-align: center;
}
.hv-key-fact__label {
	font-size: var(--hv-text-xs);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--hv-color-text-muted);
	margin-bottom: var(--hv-space-xs);
}
.hv-key-fact__value {
	font-size: var(--hv-text-md);
	font-weight: 700;
	color: var(--hv-color-heading);
}

/* ===== Document Checklist ===== */
.hv-checklist {
	list-style: none;
	padding: 0;
	margin: 0;
}
.hv-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.75em;
	padding: var(--hv-space-sm) 0;
	border-bottom: 1px solid var(--hv-color-border);
	font-size: var(--hv-text-base);
}
.hv-checklist li:last-child {
	border-bottom: none;
}
.hv-checklist__icon {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: var(--hv-color-success);
	margin-top: 2px;
}

/* ===== Guarantee Section ===== */
.hv-guarantee {
	background: var(--hv-color-success-tint);
	border: 1px solid var(--hv-color-success);
	border-radius: var(--hv-radius-md);
	padding: var(--hv-space-xl);
	text-align: center;
}
.hv-guarantee__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--hv-color-success);
	color: var(--hv-color-white);
	margin-bottom: var(--hv-space-md);
}
.hv-guarantee__icon svg,
.hv-guarantee__icon .hv-icon {
	width: 28px;
	height: 28px;
}
.hv-guarantee__icon .hv-icon {
	font-size: 28px;
	background: var(--hv-color-white);
}
.hv-guarantee__title {
	font-size: var(--hv-text-xl);
	font-weight: 700;
	color: var(--hv-color-success-text);
	margin-bottom: var(--hv-space-sm);
}
.hv-guarantee__text {
	font-size: var(--hv-text-base);
	color: var(--hv-color-success-text);
	max-width: 36rem;
	margin: 0 auto;
}

/* ===== Decoy Compare (free vs paid side-by-side) ===== */
.hv-compare {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--hv-space-lg);
}
@media (min-width: 600px) {
	.hv-compare {
		grid-template-columns: 1fr 1fr;
	}
}
.hv-compare__option {
	border: 1px solid var(--hv-color-border);
	border-radius: var(--hv-radius-md);
	padding: var(--hv-space-xl);
}
.hv-compare__option--featured {
	border-color: var(--hv-color-primary);
	border-width: 2px;
	position: relative;
}
.hv-compare__tag {
	display: inline-block;
	font-size: var(--hv-text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.25em 0.75em;
	border-radius: var(--hv-radius-pill);
	margin-bottom: var(--hv-space-md);
}
.hv-compare__option:not(.hv-compare__option--featured) .hv-compare__tag {
	background: var(--hv-color-bg-soft);
	color: var(--hv-color-text-muted);
}
.hv-compare__option--featured .hv-compare__tag {
	background: var(--hv-color-accent);
	color: var(--hv-color-neutral-900);
}
.hv-compare__title {
	font-size: var(--hv-text-lg);
	font-weight: 700;
	margin-bottom: var(--hv-space-sm);
}
.hv-compare__price {
	font-size: var(--hv-text-2xl);
	font-weight: 800;
	color: var(--hv-color-heading);
	margin-bottom: var(--hv-space-xs);
}
.hv-compare__note {
	font-size: var(--hv-text-sm);
	color: var(--hv-color-text-muted);
	margin-bottom: var(--hv-space-lg);
}
.hv-compare__features {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--hv-space-lg);
}
.hv-compare__features li {
	display: flex;
	align-items: flex-start;
	gap: 0.5em;
	padding: 0.5em 0;
	font-size: var(--hv-text-sm);
}
.hv-compare__features li svg {
	flex: 0 0 auto;
	width: 1.1em;
	height: 1.1em;
	margin-top: 0.15em;
}
.hv-compare__option:not(.hv-compare__option--featured) .hv-compare__features li svg {
	color: var(--hv-color-text-muted);
}
.hv-compare__option--featured .hv-compare__features li svg {
	color: var(--hv-color-success);
}

/* ===== Credential Strip (anonymous lawyer credentials) ===== */
.hv-credentials {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--hv-space-md);
}
@media (min-width: 600px) {
	.hv-credentials {
		grid-template-columns: 1fr 1fr;
	}
}
.hv-credential {
	display: flex;
	align-items: flex-start;
	gap: var(--hv-space-md);
	padding: var(--hv-space-lg);
	background: var(--hv-color-bg-alt);
	border: 1px solid var(--hv-color-border);
	border-radius: var(--hv-radius-md);
}
.hv-credential__icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: var(--hv-radius-md);
	background: var(--hv-color-primary-100);
	display: flex;
	align-items: center;
	justify-content: center;
}
.hv-credential__icon svg,
.hv-credential__icon .hv-icon {
	width: 20px;
	height: 20px;
	color: var(--hv-color-primary-700);
}
.hv-credential__icon .hv-icon {
	font-size: 20px;
	background: var(--hv-color-primary-700);
}
.hv-credential__title {
	font-weight: 700;
	font-size: var(--hv-text-sm);
	margin-bottom: 0.15em;
}
.hv-credential__detail {
	font-size: var(--hv-text-sm);
	color: var(--hv-color-text-muted);
}

/* ===== Sticky Bottom CTA Bar ===== */
.hv-sticky-cta {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background: var(--hv-color-primary-700);
	padding: var(--hv-space-sm) var(--hv-space-md);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--hv-space-md);
	transform: translateY(100%);
	transition: transform 300ms ease;
}
.hv-sticky-cta.is-visible {
	transform: translateY(0);
}
.hv-sticky-cta__text {
	color: var(--hv-color-white);
	font-size: var(--hv-text-sm);
	font-weight: 600;
}
.hv-sticky-cta__text span {
	color: var(--hv-color-accent);
}
.hv-sticky-cta .hv-btn {
	min-height: 2.25rem;
	padding: 0.4em 1em;
	font-size: var(--hv-text-sm);
}
@media (max-width: 599px) {
	.hv-sticky-cta {
		flex-direction: column;
		gap: var(--hv-space-xs);
		padding: var(--hv-space-sm);
	}
}

/* ===== Consultation Hero ===== */
.hv-consult-hero {
	text-align: center;
	padding: var(--hv-space-2xl) var(--hv-space-md);
	max-width: 42rem;
	margin: 0 auto;
}
.hv-consult-hero__headline {
	font-size: var(--hv-text-2xl);
	font-weight: 800;
	line-height: var(--hv-leading-tight);
	color: var(--hv-color-heading);
	margin-bottom: var(--hv-space-md);
}
.hv-consult-hero__sub {
	font-size: var(--hv-text-md);
	color: var(--hv-color-text-muted);
	line-height: var(--hv-leading-normal);
	margin-bottom: var(--hv-space-lg);
}
.hv-consult-hero__price {
	display: inline-flex;
	align-items: center;
	gap: var(--hv-space-sm);
	font-size: var(--hv-text-xl);
	font-weight: 700;
	color: var(--hv-color-heading);
	background: var(--hv-color-bg-soft);
	padding: var(--hv-space-sm) var(--hv-space-lg);
	border-radius: var(--hv-radius-pill);
	margin-bottom: var(--hv-space-xs);
}
.hv-consult-hero__credit {
	font-size: var(--hv-text-sm);
	color: var(--hv-color-primary-500);
	font-weight: 600;
}

/* ===== Availability Badge ===== */
.hv-availability {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-size: var(--hv-text-sm);
	font-weight: 600;
	color: var(--hv-color-text-muted);
}
.hv-availability__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--hv-color-success);
	animation: hv-pulse 2s ease-in-out infinite;
}
@keyframes hv-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.4; }
}

/* ===== Anchor Against Cost (objection handling block) ===== */
.hv-cost-anchor {
	background: var(--hv-color-bg-soft);
	border-radius: var(--hv-radius-md);
	padding: var(--hv-space-xl);
}
.hv-cost-anchor__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--hv-space-lg);
}
@media (min-width: 600px) {
	.hv-cost-anchor__grid {
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
	}
}
.hv-cost-anchor__bad,
.hv-cost-anchor__good {
	text-align: center;
	padding: var(--hv-space-lg);
	border-radius: var(--hv-radius-md);
}
.hv-cost-anchor__bad {
	background: var(--hv-color-danger-tint);
	border: 1px solid var(--hv-color-danger);
}
.hv-cost-anchor__good {
	background: var(--hv-color-success-tint);
	border: 1px solid var(--hv-color-success);
}
.hv-cost-anchor__vs {
	font-size: var(--hv-text-lg);
	font-weight: 800;
	color: var(--hv-color-text-muted);
	text-align: center;
}
.hv-cost-anchor__label {
	font-size: var(--hv-text-sm);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: var(--hv-space-sm);
}
.hv-cost-anchor__bad .hv-cost-anchor__label { color: var(--hv-color-danger-text); }
.hv-cost-anchor__good .hv-cost-anchor__label { color: var(--hv-color-success-text); }
.hv-cost-anchor__amount {
	font-size: var(--hv-text-xl);
	font-weight: 800;
}
.hv-cost-anchor__detail {
	font-size: var(--hv-text-sm);
	color: var(--hv-color-text-muted);
	margin-top: var(--hv-space-xs);
}

/* ===== Page Hero (full-width with background image) ===== */
.hv-hero {
	position: relative;
	min-height: 520px;
	display: flex;
	align-items: stretch;
	background-size: cover;
	background-position: center 30%;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
}
.hv-hero__overlay {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.6) 55%, rgba(0,0,0,0.2) 100%);
	padding: 64px 32px 56px;
}
.hv-hero__inner {
	max-width: 1200px;
	margin: 0;
}
.hv-hero__badge {
	display: inline-block;
	background: var(--hv-color-accent);
	color: var(--hv-color-neutral-900);
	padding: 0.4em 1em;
	border-radius: var(--hv-radius-sm);
	font-size: var(--hv-text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: var(--hv-space-md);
}
.hv-hero .hv-hero__title {
	font-size: 3rem !important;
	font-weight: 700;
	color: var(--hv-color-white) !important;
	line-height: 1.15;
	margin-top: 0;
	margin-bottom: 20px;
	max-width: 700px;
	text-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 0 2px rgba(0,0,0,0.4);
}
.hv-hero__sub {
	font-size: var(--hv-text-md);
	color: rgba(255,255,255,0.9);
	line-height: var(--hv-leading-normal);
	margin-bottom: var(--hv-space-lg);
	max-width: 580px;
}
.hv-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--hv-space-sm);
}
@media (max-width: 768px) {
	.hv-hero { min-height: 420px; }
	.hv-hero__overlay { padding: 48px 20px 40px; }
	.hv-hero__inner { margin: 0; }
	/* Two-class selector to beat the base ".hv-hero .hv-hero__title{3rem!important}" */
	.hv-hero .hv-hero__title { font-size: clamp(1.75rem, 6.5vw, 2.25rem) !important; }
	.hv-hero__sub { font-size: var(--hv-text-base); }
}

/* ===== Section Wrapper ===== */
.hv-section {
	padding: var(--hv-space-2xl) var(--hv-space-lg);
	width: 100vw;
	margin-left: calc(-50vw + 50%);
}
.hv-section--compact { padding-top: var(--hv-space-lg); padding-bottom: var(--hv-space-lg); }
.hv-section--white { background: var(--hv-color-bg); }
.hv-section--light { background: var(--hv-color-bg-soft); }
.hv-section--dark {
	background: linear-gradient(135deg, var(--hv-color-primary-700) 0%, var(--hv-color-primary) 100%);
	color: var(--hv-color-white);
}
.hv-section--dark h2,
.hv-section--dark h3,
.hv-section--dark p,
.entry-content .hv-section--dark h2,
.entry-content .hv-section--dark h3,
.entry-content .hv-section--dark p { color: var(--hv-color-white) !important; }
.hv-section--dark p { opacity: 0.88; }
.hv-section--navy {
	background: var(--hv-color-neutral-900);
	color: var(--hv-color-white);
}
.hv-section--navy h2,
.hv-section--navy h3,
.hv-section--navy p,
.entry-content .hv-section--navy h2,
.entry-content .hv-section--navy h3,
.entry-content .hv-section--navy p { color: var(--hv-color-white) !important; }
.hv-section--navy p { opacity: 0.78; }
.hv-section__inner {
	max-width: 1200px;
	margin: 0 auto;
}
.hv-section__head {
	text-align: center;
	margin-bottom: var(--hv-space-xl);
}
.hv-section__head .hv-eyebrow { margin-bottom: var(--hv-space-md); }
.hv-section__head h2 {
	font-size: var(--hv-text-2xl);
	font-weight: 800;
	margin-bottom: var(--hv-space-sm);
}
.hv-section__head p {
	font-size: var(--hv-text-md);
	color: var(--hv-color-text-muted);
	max-width: 620px;
	margin: 0 auto;
	line-height: var(--hv-leading-normal);
}
.hv-section--dark .hv-section__head p,
.hv-section--navy .hv-section__head p {
	color: rgba(255,255,255,0.78);
}
@media (max-width: 768px) {
	.hv-section { padding: var(--hv-space-xl) var(--hv-space-md); }
	.hv-section__head h2 { font-size: var(--hv-text-xl); }
}

/* ===== Guide Card ===== */
.hv-guide-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--hv-space-lg);
}
@media (max-width: 768px) {
	.hv-guide-cards { grid-template-columns: 1fr; }
}
.hv-guide-card {
	display: block;
	border-radius: var(--hv-radius-lg);
	overflow: hidden;
	border: 2px solid var(--hv-color-border);
	background: var(--hv-color-bg);
	text-decoration: none;
	transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.hv-guide-card:hover {
	border-color: var(--hv-color-primary);
	box-shadow: var(--hv-shadow-lg);
	transform: translateY(-3px);
}
.hv-guide-card__img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}
.hv-guide-card__body {
	padding: var(--hv-space-lg);
}
.hv-guide-card__badge {
	display: inline-block;
	background: var(--hv-color-accent);
	color: var(--hv-color-neutral-900);
	font-size: var(--hv-text-xs);
	font-weight: 700;
	padding: 0.25em 0.65em;
	border-radius: var(--hv-radius-sm);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: var(--hv-space-sm);
}
.hv-guide-card__title {
	font-size: var(--hv-text-lg);
	font-weight: 700;
	color: var(--hv-color-heading);
	margin-bottom: var(--hv-space-xs);
	line-height: var(--hv-leading-tight);
}
.hv-guide-card__desc {
	font-size: var(--hv-text-sm);
	color: var(--hv-color-text-muted);
	line-height: var(--hv-leading-normal);
	margin-bottom: var(--hv-space-md);
}
.hv-guide-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--hv-space-sm);
	margin-bottom: var(--hv-space-md);
}
.hv-guide-card__stat {
	font-size: var(--hv-text-xs);
	font-weight: 600;
	color: var(--hv-color-primary-700);
	background: var(--hv-color-primary-100);
	padding: 0.25em 0.6em;
	border-radius: var(--hv-radius-sm);
}
.hv-guide-card__link {
	font-weight: 600;
	font-size: var(--hv-text-sm);
	color: var(--hv-color-primary-700);
}

/* ===== Service Card Grid (homepage) ===== */
.hv-service-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--hv-space-lg);
}
@media (max-width: 992px) {
	.hv-service-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
	.hv-service-cards { grid-template-columns: 1fr; }
}
.hv-service-card {
	background: var(--hv-color-bg);
	padding: var(--hv-space-xl);
	border-radius: var(--hv-radius-lg);
	border: 2px solid var(--hv-color-border);
	transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.hv-service-card:hover {
	border-color: var(--hv-color-primary);
	transform: translateY(-3px);
	box-shadow: var(--hv-shadow-md);
}
.hv-service-card__icon {
	width: 48px;
	height: 48px;
	background: var(--hv-color-primary-700);
	border-radius: var(--hv-radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--hv-space-md);
}
.hv-service-card__icon .hv-icon {
	font-size: 22px;
	background: var(--hv-color-white);
}
.hv-service-card__title {
	font-size: var(--hv-text-md);
	font-weight: 700;
	color: var(--hv-color-heading);
	margin-bottom: var(--hv-space-xs);
}
.hv-service-card__desc {
	font-size: var(--hv-text-sm);
	color: var(--hv-color-text-muted);
	line-height: var(--hv-leading-normal);
	margin-bottom: var(--hv-space-md);
}
.hv-service-card__link {
	font-weight: 600;
	font-size: var(--hv-text-sm);
	color: var(--hv-color-primary-700);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
}
.hv-service-card__link:hover {
	gap: 0.7em;
}

/* ===== Feature Grid (icon + title + text rows) ===== */
.hv-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--hv-space-xl) var(--hv-space-lg);
}
@media (max-width: 992px) {
	.hv-feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
	.hv-feature-grid { grid-template-columns: 1fr; }
}
.hv-feature {
	display: flex;
	gap: var(--hv-space-md);
}
.hv-feature__icon {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: var(--hv-radius-md);
	background: var(--hv-color-primary-700);
	display: flex;
	align-items: center;
	justify-content: center;
}
.hv-feature__icon .hv-icon {
	font-size: 20px;
	background: var(--hv-color-white);
}
.hv-feature__title {
	font-size: var(--hv-text-base);
	font-weight: 700;
	color: var(--hv-color-heading);
	margin-bottom: 0.25em;
}
.hv-feature__text {
	font-size: var(--hv-text-sm);
	color: var(--hv-color-text-muted);
	line-height: var(--hv-leading-normal);
}

/* ===== Directory Preview (dark section showcase) ===== */
.hv-directory-preview {
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: var(--hv-radius-lg);
	overflow: hidden;
}
.hv-directory-preview__row {
	padding: 0.75em var(--hv-space-md);
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid rgba(255,255,255,0.06);
	color: rgba(255,255,255,0.75);
	font-size: var(--hv-text-sm);
}
.hv-directory-preview__row:last-child { border-bottom: none; }
.hv-directory-preview__badge {
	background: rgba(26,77,46,0.4);
	color: #6dba8a;
	font-size: var(--hv-text-xs);
	font-weight: 600;
	padding: 0.2em 0.5em;
	border-radius: var(--hv-radius-pill);
}

/* ===== Split Layout (two-column with content + visual) ===== */
.hv-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--hv-space-2xl);
	align-items: center;
}
@media (max-width: 768px) {
	.hv-split { grid-template-columns: 1fr; gap: var(--hv-space-lg); }
}

/* ===== Quiz Preview Card (homepage banner) ===== */
.hv-quiz-preview {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: var(--hv-radius-lg);
	padding: var(--hv-space-lg);
	display: flex;
	flex-direction: column;
	gap: var(--hv-space-sm);
}
.hv-quiz-preview__step {
	font-size: var(--hv-text-xs);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255,255,255,0.5);
}
.hv-quiz-preview__question {
	font-size: var(--hv-text-lg);
	font-weight: 700;
	color: var(--hv-color-white);
	line-height: var(--hv-leading-tight);
}
.hv-quiz-preview__options {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: var(--hv-space-xs) 0;
}
.hv-quiz-preview__opt {
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: var(--hv-radius-md);
	padding: 0.65em var(--hv-space-md);
	color: rgba(255,255,255,0.85);
	font-size: var(--hv-text-sm);
	cursor: default;
}
.hv-quiz-preview .hv-btn--full {
	width: 100%;
	text-align: center;
	margin-top: var(--hv-space-xs);
}

/* ===== Footer ===== */
/* When sticky CTA is visible, give the footer breathing room */
body.has-sticky-cta .site-footer {
	padding-bottom: 4rem;
}
@media (max-width: 599px) {
	body.has-sticky-cta .site-footer {
		padding-bottom: 5.5rem;
	}
}
.site-footer {
	font-size: var(--hv-text-sm);
}
.site-footer a {
	color: inherit;
	text-decoration: none;
}
.site-footer a:hover {
	text-decoration: underline;
}

/* ===== List marker override ===== */
.entry-content ul li::marker,
.hv-content ul li::marker {
	color: var(--hv-color-primary-300);
}
.entry-content ol li::marker,
.hv-content ol li::marker {
	color: var(--hv-color-primary-700);
	font-weight: 600;
}

/* ===== Visa Directory Page ===== */

/* Verified stamp */
.hv-verified {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--hv-color-primary-100);
	color: var(--hv-color-primary-700);
	font-size: var(--hv-text-xs);
	font-weight: 500;
	padding: 0.4rem 0.9rem;
	border-radius: var(--hv-radius-pill);
	margin-bottom: var(--hv-space-lg);
	border: 1px solid var(--hv-color-primary-200);
}
.hv-verified::before {
	content: "\2713";
	background: var(--hv-color-primary);
	color: var(--hv-color-white);
	width: 16px; height: 16px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.7rem; font-weight: bold; flex-shrink: 0;
}

/* Featured permit cards */
.hv-featured-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--hv-space-md);
	margin: var(--hv-space-lg) 0;
}
@media (max-width: 599px) { .hv-featured-grid { grid-template-columns: 1fr; } }

.hv-permit-card {
	border-radius: var(--hv-radius-lg);
	overflow: hidden;
	border: 2px solid var(--hv-color-border);
	text-decoration: none;
	display: block;
	transition: all 0.3s;
	background: var(--hv-color-white);
}
.hv-permit-card:hover {
	border-color: var(--hv-color-primary);
	box-shadow: var(--hv-shadow-lg);
	transform: translateY(-3px);
}
.hv-permit-card-image { width: 100%; height: 160px; object-fit: cover; display: block; }
.hv-permit-card-body { padding: var(--hv-space-md); }
.hv-permit-card-badge {
	display: inline-block;
	background: var(--hv-color-contrast-400);
	color: var(--hv-color-heading);
	font-size: 0.75rem; font-weight: 700;
	padding: 0.25rem 0.6rem;
	border-radius: var(--hv-radius-sm);
	text-transform: uppercase; letter-spacing: 0.5px;
	margin-bottom: 0.5rem;
}
.hv-permit-card-title { font-size: 1.1rem; font-weight: 700; color: var(--hv-color-heading); margin-bottom: 0.5rem; line-height: 1.3; }
.hv-permit-card-desc { font-size: var(--hv-text-sm); color: var(--hv-color-text-muted); margin-bottom: 0.75rem; line-height: 1.5; }
.hv-permit-card-link { font-size: var(--hv-text-sm); font-weight: 600; color: var(--hv-color-primary); }

/* Visa quiz */
.hv-quiz {
	background: linear-gradient(135deg, var(--hv-color-primary-700) 0%, var(--hv-color-primary) 100%);
	border-radius: var(--hv-radius-xl);
	padding: var(--hv-space-xl);
	margin: var(--hv-space-xl) 0;
	color: var(--hv-color-white);
}
.hv-quiz h3 { color: var(--hv-color-white); font-size: 1.5rem; margin-bottom: 0.5rem; }
.hv-quiz > p { color: rgba(255,255,255,0.85); margin-bottom: var(--hv-space-md); }
.hv-quiz-step { display: none; }
.hv-quiz-step.active { display: block; }
.hv-quiz-question { font-size: 1.15rem; font-weight: 600; color: var(--hv-color-white); margin-bottom: 1.25rem; }
.hv-quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.hv-quiz-btn {
	background: rgba(255,255,255,0.15);
	border: 2px solid rgba(255,255,255,0.4);
	color: var(--hv-color-white);
	padding: 1rem 1.25rem;
	border-radius: var(--hv-radius-md);
	cursor: pointer; font-size: 0.95rem; font-weight: 500;
	text-align: left; transition: all 0.2s; line-height: 1.4;
}
.hv-quiz-btn:hover { background: rgba(255,255,255,0.25); border-color: var(--hv-color-white); }
.hv-quiz-result { display: none; background: var(--hv-color-white); border-radius: var(--hv-radius-lg); padding: 1.75rem; margin-top: 1rem; }
.hv-quiz-result.active { display: block; }
.hv-quiz-result h4 { color: var(--hv-color-primary); font-size: 1.2rem; margin-bottom: 0.5rem; }
.hv-quiz-result p { color: var(--hv-color-text); margin-bottom: 1rem; }
.hv-quiz-result-btn {
	display: inline-block;
	background: var(--hv-color-primary);
	color: var(--hv-color-white);
	padding: 0.75rem 1.5rem;
	border-radius: var(--hv-radius-md);
	text-decoration: none;
	font-weight: 600; margin-right: 0.75rem; margin-bottom: 0.5rem;
	font-size: var(--hv-text-sm); transition: background 0.2s;
}
.hv-quiz-result-btn:hover { background: var(--hv-color-primary-700); color: var(--hv-color-white); }
.hv-quiz-result-btn.secondary {
	background: transparent; color: var(--hv-color-primary);
	border: 2px solid var(--hv-color-primary);
}
.hv-quiz-result-btn.secondary:hover { background: var(--hv-color-primary-100); }
.hv-quiz-restart {
	margin-top: 1rem; background: none; border: none;
	color: rgba(255,255,255,0.7); cursor: pointer;
	font-size: var(--hv-text-xs); text-decoration: underline; padding: 0; display: none;
}
.hv-quiz-progress { display: flex; gap: 0.4rem; margin-bottom: var(--hv-space-md); }
.hv-quiz-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); transition: background 0.2s; }
.hv-quiz-dot.active { background: var(--hv-color-contrast-400); }
.hv-quiz-dot.done { background: var(--hv-color-white); }

@media (max-width: 599px) {
	.hv-quiz { padding: var(--hv-space-md); }
	.hv-quiz-options { grid-template-columns: 1fr; }
}

/* Directory search */
.hv-search-wrap { position: relative; margin-bottom: var(--hv-space-md); }
.hv-search-wrap::before {
	content: "\1F50D"; position: absolute; left: 1rem; top: 50%;
	transform: translateY(-50%); font-size: 1rem; pointer-events: none;
}
#hv-search {
	width: 100%; padding: 0.85rem 1rem 0.85rem 2.75rem;
	font-size: 1rem; border: 2px solid var(--hv-color-border);
	border-radius: var(--hv-radius-md); outline: none;
	transition: border-color 0.2s; box-sizing: border-box; font-family: inherit;
}
#hv-search:focus { border-color: var(--hv-color-primary); }

/* Filter tabs */
.hv-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--hv-space-lg); }
.hv-tab {
	background: var(--hv-color-bg-soft); border: 2px solid var(--hv-color-border);
	color: var(--hv-color-text); padding: 0.5rem 1.1rem;
	border-radius: var(--hv-radius-pill); cursor: pointer;
	font-size: var(--hv-text-sm); font-weight: 500; transition: all 0.2s;
}
.hv-tab:hover, .hv-tab.active {
	background: var(--hv-color-primary); border-color: var(--hv-color-primary);
	color: var(--hv-color-white);
}

/* Permit category section */
.hv-permit-category { margin-bottom: var(--hv-space-xl); }
.hv-permit-category h3 {
	font-size: 1.3rem; color: var(--hv-color-heading);
	margin-bottom: 1rem; padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--hv-color-border);
}

/* Permit accordion rows (details/summary) */
.hv-permit-item {
	background: var(--hv-color-white);
	border: 2px solid var(--hv-color-border);
	border-radius: var(--hv-radius-md);
	margin-bottom: 0.75rem; overflow: hidden;
	transition: border-color 0.2s;
}
.hv-permit-item:hover { border-color: var(--hv-color-primary-200); }
.hv-permit-item[open] { border-color: var(--hv-color-primary); }
.hv-permit-summary {
	padding: 1rem 1.25rem; cursor: pointer; list-style: none;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.hv-permit-summary::-webkit-details-marker { display: none; }
.hv-permit-summary-left { display: flex; align-items: center; gap: 0.75rem; flex: 1; min-width: 0; }
.hv-permit-name { font-weight: 600; color: var(--hv-color-heading); font-size: 0.95rem; }
.hv-assist-badge {
	display: inline-flex; align-items: center; gap: 0.3rem;
	background: var(--hv-color-primary-100); color: var(--hv-color-primary);
	font-size: 0.75rem; font-weight: 600;
	padding: 0.2rem 0.55rem; border-radius: var(--hv-radius-pill);
	white-space: nowrap; flex-shrink: 0;
}
.hv-assist-badge::before { content: "\2713"; font-weight: 900; }
.hv-permit-chevron { color: var(--hv-color-primary); font-size: 1.2rem; flex-shrink: 0; transition: transform 0.2s; }
.hv-permit-item[open] .hv-permit-chevron { transform: rotate(45deg); }
.hv-permit-body { padding: 0 1.25rem 1.25rem; border-top: 1px solid var(--hv-color-border); margin-top: -1px; }
.hv-permit-body p { color: var(--hv-color-text); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; margin-top: 0.75rem; }
.hv-permit-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.hv-permit-meta-item {
	background: var(--hv-color-bg-soft); border: 1px solid var(--hv-color-border);
	border-radius: var(--hv-radius-sm); padding: 0.4rem 0.75rem;
	font-size: var(--hv-text-xs); color: var(--hv-color-text);
}
.hv-permit-meta-item strong { color: var(--hv-color-heading); }
.hv-permit-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hv-learn-more {
	display: inline-block; background: var(--hv-color-primary); color: var(--hv-color-white);
	padding: 0.6rem 1.2rem; border-radius: var(--hv-radius-md);
	text-decoration: none; font-size: var(--hv-text-xs); font-weight: 600;
	transition: background 0.2s;
}
.hv-learn-more:hover { background: var(--hv-color-primary-700); color: var(--hv-color-white); }
.hv-consult-link {
	display: inline-block; background: transparent; color: var(--hv-color-primary);
	border: 2px solid var(--hv-color-primary);
	padding: 0.6rem 1.2rem; border-radius: var(--hv-radius-md);
	text-decoration: none; font-size: var(--hv-text-xs); font-weight: 600;
	transition: all 0.2s;
}
.hv-consult-link:hover { background: var(--hv-color-primary-100); }
.hv-warning-inline {
	background: var(--hv-color-contrast-100); border-left: 3px solid var(--hv-color-error);
	padding: 0.6rem 0.9rem; border-radius: var(--hv-radius-sm);
	font-size: var(--hv-text-xs); color: var(--hv-color-contrast-900); margin-top: 0.5rem;
}
#hv-no-results {
	display: none; text-align: center; padding: var(--hv-space-xl);
	color: var(--hv-color-text-muted); background: var(--hv-color-bg-soft);
	border-radius: var(--hv-radius-lg); margin: 1rem 0;
}

/* Comparison table */
.hv-comparison { margin: var(--hv-space-lg) 0; overflow-x: auto; }
.hv-comparison table { width: 100%; border-collapse: collapse; border-radius: var(--hv-radius-lg); overflow: hidden; border: 2px solid var(--hv-color-border); }
.hv-comparison th { background: var(--hv-color-primary); color: var(--hv-color-white); padding: 1rem 1.25rem; text-align: left; font-weight: 600; }
.hv-comparison td { padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--hv-color-border); color: var(--hv-color-text); font-size: 0.95rem; vertical-align: top; }
.hv-comparison td:first-child { font-weight: 600; color: var(--hv-color-heading); background: var(--hv-color-bg-soft); white-space: nowrap; }
.hv-comparison tr:last-child td { border-bottom: none; }

/* Notes section */
.hv-notes {
	background: var(--hv-color-bg-soft); border: 2px solid var(--hv-color-border);
	border-radius: var(--hv-radius-lg); padding: var(--hv-space-lg);
	margin: var(--hv-space-xl) 0;
}
.hv-notes h3 { color: var(--hv-color-heading); margin-bottom: 1.25rem; }
.hv-note-item {
	padding: 0.75rem 0; border-bottom: 1px solid var(--hv-color-border);
	font-size: 0.95rem; color: var(--hv-color-text); line-height: 1.7;
}
.hv-note-item:last-child { border-bottom: none; padding-bottom: 0; }
.hv-note-item strong { color: var(--hv-color-heading); }

@media (max-width: 599px) {
	.hv-tabs { gap: 0.4rem; }
	.hv-tab { font-size: 0.82rem; padding: 0.4rem 0.85rem; }
	.hv-permit-meta { flex-direction: column; gap: 0.5rem; }
	.hv-comparison td:first-child { white-space: normal; }
}

/* ===== Legal Page ===== */
.hv-legal-page {
	max-width: 900px; margin: 0 auto;
	padding: var(--hv-space-xl) var(--hv-space-lg);
}
.hv-legal-header { text-align: center; margin-bottom: var(--hv-space-xl); }
.hv-legal-header h1 { font-size: 2.5rem; color: var(--hv-color-heading); margin-bottom: 0.5rem; font-weight: 700; }
.hv-legal-header p { font-size: 1.1rem; color: var(--hv-color-text-muted); }
.hv-tab-nav {
	display: flex; gap: 0.5rem;
	margin-bottom: var(--hv-space-xl);
	border-bottom: 2px solid var(--hv-color-border);
	padding-bottom: 0;
}
.hv-tab-nav .hv-tab-btn {
	padding: 0.55rem 1.25rem; text-align: center; cursor: pointer;
	font-weight: 600; font-size: 0.88rem; color: var(--hv-color-text-muted);
	background: transparent; border: none; border-bottom: 2px solid transparent;
	margin-bottom: -2px; transition: all 0.2s;
	font-family: inherit;
}
.hv-tab-nav .hv-tab-btn:hover,
.hv-tab-nav .hv-tab-btn:focus { color: var(--hv-color-primary); background: transparent; outline: none; }
.hv-tab-nav .hv-tab-btn.active { color: var(--hv-color-primary); border-bottom-color: var(--hv-color-primary); background: transparent; }
.hv-tab-content { display: none; animation: hvFadeIn 0.3s; }
.hv-tab-content.active { display: block; }
@keyframes hvFadeIn { from { opacity: 0; } to { opacity: 1; } }
.hv-legal-content { line-height: 1.8; color: var(--hv-color-text); }
.hv-legal-content h2 { font-size: 1.6rem; color: var(--hv-color-heading); margin: 2rem 0 1rem; font-weight: 600; }
.hv-legal-content h3 { font-size: 1.3rem; color: var(--hv-color-primary); margin: 1.5rem 0 0.75rem; font-weight: 600; }
.hv-legal-content p { margin-bottom: 1rem; }
.hv-legal-content ul { margin: 1rem 0 1.5rem; padding-left: 0; list-style: none; }
.hv-legal-content li { margin-bottom: 0.5rem; padding-left: 1.5rem; position: relative; }
.hv-legal-content li::before { content: "\2022"; position: absolute; left: 0; color: var(--hv-color-primary); font-weight: bold; }
.hv-legal-content strong { color: var(--hv-color-heading); font-weight: 600; }
.hv-legal-content a { color: var(--hv-color-primary); text-decoration: underline; }
.hv-legal-content a:hover { color: var(--hv-color-primary-700); }
.hv-last-updated { font-style: italic; color: var(--hv-color-text-muted); margin-bottom: 2rem; }
@media (max-width: 768px) {
	.hv-legal-header h1 { font-size: 2rem; }
	.hv-tab-nav .hv-tab-btn { padding: 0.45rem 0.75rem; font-size: 0.82rem; }
	.hv-legal-content h2 { font-size: 1.4rem; }
	.hv-legal-content h3 { font-size: 1.15rem; }
}

/* ===== Blog / Articles Page ===== */
.hvblog {
	width: 100vw; max-width: 100vw;
	margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%);
	margin-top: -2rem; overflow-x: hidden; color: var(--hv-color-heading);
}
.hvblog * { box-sizing: border-box; }
.hvblog-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.hvblog-header {
	background: linear-gradient(135deg, var(--hv-color-primary) 0%, var(--hv-color-primary-700) 100%);
	padding: 2.5rem 2rem;
}
.hvblog-header-inner { max-width: 1200px; margin: 0 auto; }
.hvblog-header-label {
	display: inline-block; background: rgba(255,255,255,0.2); color: var(--hv-color-white);
	font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
	letter-spacing: 1.5px; padding: 0.35rem 0.9rem; border-radius: 20px; margin-bottom: 1rem;
}
.hvblog-header h1 { font-size: 2.5rem; font-weight: 700; color: var(--hv-color-white) !important; margin-bottom: 0.75rem; }
.hvblog-header p { color: rgba(255,255,255,0.85); font-size: 1.1rem; line-height: 1.7; max-width: 600px; }
.hvblog-controls {
	background: var(--hv-color-bg-soft); padding: 2rem;
	border-bottom: 2px solid var(--hv-color-border);
}
.hvblog-controls-inner {
	max-width: 1200px; margin: 0 auto; display: flex;
	flex-direction: column; gap: 1rem;
}
.hvblog-cats { order: -1; }
.hvblog-search-wrap { position: relative; width: 100%; max-width: 480px; }
.hvblog-search-wrap::before {
	content: "\1F50D"; position: absolute; left: 1rem; top: 50%;
	transform: translateY(-50%); pointer-events: none;
}
#hvblog-search {
	width: 100%; padding: 0.8rem 1rem 0.8rem 2.75rem; font-size: 0.95rem;
	border: 2px solid var(--hv-color-border); border-radius: var(--hv-radius-md);
	outline: none; font-family: inherit; transition: border-color 0.2s;
	background: var(--hv-color-white);
}
#hvblog-search:focus { border-color: var(--hv-color-primary); }
.hvblog-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.hvblog-cat-btn {
	background: var(--hv-color-white); border: 1.5px solid var(--hv-color-border);
	color: var(--hv-color-text); padding: 0.28rem 0.7rem; border-radius: 20px;
	cursor: pointer; font-size: 0.78rem; font-weight: 500;
	font-family: inherit; transition: all 0.2s; line-height: 1.4;
}
.hvblog-cat-btn:hover, .hvblog-cat-btn.active {
	background: var(--hv-color-primary); border-color: var(--hv-color-primary);
	color: var(--hv-color-white);
}

/* ===== Single Article Title ===== */
.single-post .entry-title {
	font-size: 1.85rem;
	line-height: var(--hv-leading-tight);
}

/* ===== Sticky Sidebar ===== */
.inside-right-sidebar {
	position: sticky;
	top: 2rem;
}
.hvblog-results-bar {
	max-width: 1200px; margin: 0 auto; padding: 1.25rem 2rem 0;
	font-size: 0.9rem; color: var(--hv-color-text-muted);
}
.hvblog-grid-wrap { padding: 2rem; }
.hvblog-grid {
	max-width: 1200px; margin: 0 auto; display: grid;
	grid-template-columns: repeat(3, 1fr); gap: 1.75rem;
}
.hvblog-card {
	background: var(--hv-color-white); border: 2px solid var(--hv-color-border);
	border-radius: var(--hv-radius-lg); overflow: hidden;
	display: flex; flex-direction: column; transition: all 0.3s; text-decoration: none;
}
.hvblog-card:hover {
	border-color: var(--hv-color-primary);
	box-shadow: 0 8px 24px rgba(26,77,46,0.12); transform: translateY(-4px);
}
.hvblog-card-img-wrap { width: 100%; flex-shrink: 0; }
.hvblog-card-img {
	width: 100%; height: 180px; object-fit: cover;
	display: block; background: var(--hv-color-border);
}
.hvblog-card-img-placeholder {
	width: 100%; height: 180px;
	background: linear-gradient(135deg, var(--hv-color-primary), var(--hv-color-primary-700));
	display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
}
.hvblog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.hvblog-card-meta { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.hvblog-card-cat {
	display: inline-block; background: var(--hv-color-primary-100); color: var(--hv-color-primary);
	font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
	letter-spacing: 0.5px; padding: 0.2rem 0.55rem; border-radius: 4px; text-decoration: none;
}
.hvblog-card-date { font-size: 0.8rem; color: var(--hv-color-text-muted); }
.hvblog-card-title {
	font-size: 1.05rem; font-weight: 700; color: var(--hv-color-heading);
	line-height: 1.4; margin-bottom: 0.6rem; text-decoration: none;
}
.hvblog-card-link { font-size: 0.85rem; font-weight: 600; color: var(--hv-color-primary); margin-top: auto; }
.hvblog-state {
	grid-column: 1 / -1; text-align: center; padding: 4rem 2rem;
	color: var(--hv-color-text-muted);
}
.hvblog-spinner {
	width: 40px; height: 40px; border: 3px solid var(--hv-color-border);
	border-top-color: var(--hv-color-primary); border-radius: 50%;
	animation: hvblog-spin 0.8s linear infinite; margin: 0 auto 1rem;
}
@keyframes hvblog-spin { to { transform: rotate(360deg); } }
.hvblog-pagination {
	display: flex; justify-content: center; align-items: center;
	gap: 0.5rem; padding: 2rem; flex-wrap: wrap;
}
.hvblog-page-btn {
	background: var(--hv-color-white); border: 2px solid var(--hv-color-border);
	color: var(--hv-color-text); width: 40px; height: 40px;
	border-radius: var(--hv-radius-md); cursor: pointer; font-size: 0.9rem;
	font-weight: 600; font-family: inherit; transition: all 0.2s;
	display: flex; align-items: center; justify-content: center;
}
.hvblog-page-btn:hover { border-color: var(--hv-color-primary); color: var(--hv-color-primary); }
.hvblog-page-btn.active {
	background: var(--hv-color-primary); border-color: var(--hv-color-primary);
	color: var(--hv-color-white);
}
.hvblog-page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.hvblog-page-btn.wide { width: auto; padding: 0 1rem; }
@media (max-width: 900px) {
	.hvblog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.hvblog-header h1 { font-size: 1.8rem; }
	.hvblog-header { padding: 2.5rem 1.25rem; }
	.hvblog-controls { padding: 1.25rem; }
	.hvblog-controls-inner { flex-direction: column; gap: 1rem; }
	.hvblog-grid { grid-template-columns: 1fr; }
	.hvblog-grid-wrap { padding: 1.25rem; }
	.hvblog-results-bar { padding: 1rem 1.25rem 0; }
}

/* ===== Article Content Images ===== */
/* Rounded corners on featured images and in-text images */
.post-image img,
.featured-image img {
	border-radius: var(--hv-radius-md);
}
.entry-content img,
.entry-content .gb-block-image img,
.entry-content .wp-block-image img {
	border-radius: var(--hv-radius-md);
}

/* ===== Tax Calculator (Átalányadó) ===== */
.ata-calculator {
	background: var(--hv-color-bg-soft);
	border: 2px solid var(--hv-color-border);
	border-radius: var(--hv-radius-lg);
	padding: 2rem;
	max-width: 600px;
	margin: 2rem auto;
}
.ata-title {
	text-align: center;
	color: var(--hv-color-heading) !important;
	margin-bottom: 1.5rem !important;
	font-size: 1.25rem !important;
}
.ata-row {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.25rem;
}
.ata-row label {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--hv-color-text);
}
.ata-calculator input[type="number"],
.ata-calculator select {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 2px solid var(--hv-color-border);
	border-radius: var(--hv-radius-btn);
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--hv-color-text);
	background: var(--hv-color-white);
	transition: border-color 0.2s;
	appearance: none; -webkit-appearance: none;
}
.ata-calculator select {
	appearance: auto; -webkit-appearance: auto;
}
.ata-calculator input[type="number"]:focus,
.ata-calculator select:focus {
	border-color: var(--hv-color-primary);
	outline: none;
}
.ata-button {
	width: 100%;
	padding: 0.85rem;
	background: var(--hv-color-primary) !important;
	color: var(--hv-color-white) !important;
	border: none !important;
	border-radius: var(--hv-radius-btn);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	margin-top: 0.5rem;
	transition: background 0.2s;
}
.ata-button:hover {
	background: var(--hv-color-primary-900) !important;
}
.ata-results {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--hv-color-border);
}
.ata-results p {
	display: flex;
	justify-content: space-between;
	padding: 0.4rem 0;
	margin: 0;
	font-size: 0.95rem;
	color: var(--hv-color-text);
}
.ata-results strong {
	color: var(--hv-color-heading);
}
@media (max-width: 600px) {
	.ata-row { flex-direction: column; gap: 0.75rem; }
	.ata-calculator { padding: 1.25rem; }
}

/* ===== Guide Pages ===== */
.hv-guide-page { max-width: 1000px; margin: 0 auto; padding: 2rem; }
.hv-guide-hero {
	border-radius: var(--hv-radius-xl); overflow: hidden; margin-bottom: var(--hv-space-xl);
	background-size: cover; background-position: center;
	min-height: 340px; display: flex; align-items: stretch;
}
.hv-guide-hero-content {
	width: 100%;
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.35) 100%);
	padding: 3rem 2rem 2.5rem; color: var(--hv-color-white);
	display: flex; flex-direction: column; justify-content: flex-end;
}
.hv-guide-hero-badge {
	display: inline-block; background: var(--hv-color-accent); color: var(--hv-color-heading);
	padding: 0.5rem 1rem; border-radius: 6px; font-weight: 600; font-size: 0.9rem;
	margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.hv-guide-hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; font-weight: 700; color: var(--hv-color-white) !important; text-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 0 2px rgba(0,0,0,0.4); }
.hv-guide-hero p { font-size: 1.1rem; margin-bottom: 1.5rem; color: rgba(255,255,255,0.95); line-height: 1.6; }
.hv-guide-hero-btn {
	display: inline-block; background: var(--hv-color-primary); color: var(--hv-color-white);
	padding: 0.9rem 1.8rem; border-radius: 6px; text-decoration: none;
	font-weight: 600; transition: all 0.3s; align-self: flex-start;
}
.hv-guide-hero-btn:hover {
	background: var(--hv-color-primary-700); transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(26,77,46,0.3); color: var(--hv-color-white);
}

/* Guide TOC */
.hv-guide-toc {
	background: var(--hv-color-bg-soft);
	padding: 2rem; border-radius: var(--hv-radius-md); margin-bottom: var(--hv-space-xl);
}
.hv-guide-toc h2 { font-size: 1.5rem; color: var(--hv-color-heading); margin-top: 0; margin-bottom: 1rem; font-weight: 600; }
.hv-guide-toc ul { list-style: none; padding: 0; margin: 0; column-count: 2; column-gap: 2rem; }
.hv-guide-toc li { padding: 0.5rem 0; break-inside: avoid; }
.hv-guide-toc a { color: var(--hv-color-primary); text-decoration: none; transition: all 0.2s; font-weight: 500; }
.hv-guide-toc a:hover { color: var(--hv-color-primary-700); text-decoration: underline; }

/* Guide sections */
.hv-guide-section { margin-bottom: 4rem; }
.hv-guide-section h2 { font-size: 2rem; color: var(--hv-color-heading); margin-bottom: 1.5rem; font-weight: 600; }
.hv-guide-section h3 { font-size: 1.5rem; color: var(--hv-color-primary); margin-bottom: 1rem; font-weight: 600; }
.hv-guide-section h4 { font-size: 1.2rem; color: var(--hv-color-heading); margin: 1.5rem 0 0.75rem; font-weight: 600; }
.hv-guide-section p { color: var(--hv-color-text); line-height: 1.8; margin-bottom: 1rem; }
.hv-guide-section ul { list-style: none; padding: 0; margin: 1rem 0; }
.hv-guide-section li { padding: 0.5rem 0 0.5rem 1.5rem; color: var(--hv-color-text); position: relative; line-height: 1.6; }
.hv-guide-section li::before { content: "\2713"; position: absolute; left: 0; color: var(--hv-color-primary); font-weight: bold; }
.hv-guide-image { width: 100%; height: auto; border-radius: var(--hv-radius-lg); margin: 2rem 0; }

/* Guide eligibility box */
.hv-eligibility-box {
	background: var(--hv-color-white); border: 2px solid var(--hv-color-border);
	border-radius: var(--hv-radius-lg); padding: 2rem; margin: 2rem 0;
}
.hv-eligibility-yes { background: #e7f3ff; padding: 1.5rem; border-radius: var(--hv-radius-md); margin-bottom: 1.5rem; }
.hv-eligibility-yes h4 { color: var(--hv-color-primary); }
.hv-eligibility-yes li::before { content: "\2713"; color: var(--hv-color-primary); }
.hv-eligibility-no { background: #fff3cd; padding: 1.5rem; border-radius: var(--hv-radius-md); }
.hv-eligibility-no h4 { color: #856404; }
.hv-eligibility-no li::before { content: "\2717"; color: var(--hv-color-error); }
.hv-eligibility-no li { color: #856404; }

/* Guide warning box */
.hv-warning-box {
	background: #fff3cd;
	padding: 1.5rem; border-radius: var(--hv-radius-md); margin: 2rem 0;
}
.hv-warning-box h4 { color: #856404; font-size: 1.1rem; margin: 0 0 0.5rem; }
.hv-warning-box p { color: #856404; margin-bottom: 0.75rem; }
.hv-warning-box p:last-child { margin-bottom: 0; }
.hv-warning-box ul { margin: 0; }
.hv-warning-box li { color: #856404; }
.hv-warning-box li::before { content: "\26A0"; color: var(--hv-color-error); }

/* Eligibility + warning lists: hang the icon flush at the box's left edge so it
   lines up with the heading and text (not indented). Overrides the generic body
   list indent for these custom-marker lists. */
.hv-eligibility-yes ul,
.hv-eligibility-no ul,
.hv-warning-box ul {
	list-style: none !important;
	margin: 0 !important;
	padding-left: 0 !important;
}
.hv-eligibility-yes li,
.hv-eligibility-no li,
.hv-warning-box li {
	position: relative;
	padding-left: 1.7em;
	margin-bottom: 0.4rem;
}
.hv-eligibility-yes li:last-child,
.hv-eligibility-no li:last-child,
.hv-warning-box li:last-child { margin-bottom: 0; }
.hv-eligibility-yes li::before,
.hv-eligibility-no li::before,
.hv-warning-box li::before {
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
}

/* Guide info box */
.hv-info-box {
	background: #e7f3ff;
	padding: 1.5rem; border-radius: var(--hv-radius-md); margin: 2rem 0;
}
.hv-info-box p { color: #004085; margin-bottom: 0.5rem; }
.hv-info-box p:last-child { margin-bottom: 0; }
.hv-info-box strong { color: #003060; }
.hv-info-box ul { margin: 0.5rem 0; }
.hv-info-box li { color: #004085; }
.hv-info-box li::before { color: var(--hv-color-primary); }

/* Guide summary table */
.hv-summary-table {
	background: var(--hv-color-white); border: 2px solid var(--hv-color-border);
	border-radius: var(--hv-radius-lg); overflow: hidden; margin: 2rem 0;
}
.hv-summary-table table { width: 100%; border-collapse: collapse; margin: 0; }
.hv-summary-table tr { border-bottom: 1px solid var(--hv-color-border); }
.hv-summary-table tr:last-child { border-bottom: none; }
.hv-summary-table td { padding: 1.25rem 1.5rem; vertical-align: middle; }
.hv-summary-table td:first-child { font-weight: 600; color: var(--hv-color-heading); width: 35%; background: var(--hv-color-bg-soft); }
.hv-summary-table td:last-child { color: var(--hv-color-text); }

/* Guide comparison table */
.hv-comparison-table {
	width: 100%; border-collapse: collapse; margin: 2rem 0;
	border-radius: var(--hv-radius-lg); overflow: hidden; border: 2px solid var(--hv-color-border);
}
.hv-comparison-table th {
	background: var(--hv-color-primary); color: var(--hv-color-white);
	padding: 1rem 1.5rem; text-align: left; font-weight: 600;
}
.hv-comparison-table td {
	padding: 1rem 1.5rem; border-bottom: 1px solid var(--hv-color-border);
	color: var(--hv-color-text); vertical-align: top;
}
.hv-comparison-table td:first-child { font-weight: 600; color: var(--hv-color-heading); background: var(--hv-color-bg-soft); }
.hv-comparison-table tr:last-child td { border-bottom: none; }

/* Guide fee table */
.hv-fee-table {
	background: var(--hv-color-white); border: 2px solid var(--hv-color-border);
	border-radius: var(--hv-radius-lg); overflow: hidden; margin: 2rem 0;
}
.hv-fee-table table { width: 100%; border-collapse: collapse; margin: 0; }
.hv-fee-table tr { border-bottom: 1px solid var(--hv-color-border); }
.hv-fee-table tr:last-child { border-bottom: none; }
.hv-fee-table td { padding: 1.25rem 1.5rem; vertical-align: middle; }
.hv-fee-table td:first-child { font-weight: 600; color: var(--hv-color-heading); background: var(--hv-color-bg-soft); }
.hv-fee-table td:last-child { color: var(--hv-color-text); }

/* Guide checklist box */
.hv-checklist-box {
	background: var(--hv-color-white); border: 2px solid var(--hv-color-border);
	border-radius: var(--hv-radius-lg); padding: 2rem; margin: 2rem 0;
}
.hv-checklist-item {
	display: flex; align-items: flex-start; padding: 1.25rem 0;
	border-bottom: 1px solid var(--hv-color-border);
}
.hv-checklist-item:last-child { border-bottom: none; }
.hv-checklist-icon { font-size: 1.5rem; margin-right: 1rem; flex-shrink: 0; }
.hv-checklist-content { flex: 1; }
.hv-checklist-content strong { display: block; color: var(--hv-color-heading); margin-bottom: 0.25rem; font-weight: 600; }
.hv-checklist-content p { color: var(--hv-color-text-muted); margin: 0; font-size: 0.95rem; }

/* Guide step box */
.hv-step-box {
	display: flex; margin-bottom: 2.5rem; background: var(--hv-color-white);
	border: 2px solid var(--hv-color-border); border-radius: var(--hv-radius-lg); padding: 2rem;
}
.hv-step-number {
	flex-shrink: 0; width: 50px; height: 50px; background: var(--hv-color-primary);
	color: var(--hv-color-white); border-radius: 50%; display: flex;
	align-items: center; justify-content: center; font-size: 1.5rem;
	font-weight: 700; margin-right: 1.5rem;
}
.hv-step-content { flex: 1; }
.hv-step-content h3 { margin-top: 0; margin-bottom: 0.75rem; color: var(--hv-color-heading); }
.hv-step-content h4 { font-size: 1.1rem; color: var(--hv-color-primary); margin: 1.25rem 0 0.5rem; }
.hv-step-content p { margin-bottom: 0.75rem; }
.hv-step-content ul { margin: 0.5rem 0; }

/* Guide timeline box */
.hv-timeline-box {
	background: var(--hv-color-bg-soft);
	padding: 2rem; border-radius: var(--hv-radius-md); margin: 2rem 0;
}
.hv-timeline-item {
	padding: 1.25rem 0; border-bottom: 1px solid var(--hv-color-border);
	display: flex; align-items: flex-start;
}
.hv-timeline-item:last-child { border-bottom: none; }
.hv-timeline-number {
	flex-shrink: 0; width: 36px; height: 36px; background: var(--hv-color-primary);
	color: var(--hv-color-white); border-radius: 50%; display: flex;
	align-items: center; justify-content: center; font-weight: 700; margin-right: 1rem;
}
.hv-timeline-content strong { display: block; color: var(--hv-color-heading); margin-bottom: 0.25rem; }
.hv-timeline-content p { color: var(--hv-color-text-muted); margin: 0; font-size: 0.95rem; }

/* Guide FAQ accordion */
.hv-faq-item {
	background: var(--hv-color-white); border: 2px solid var(--hv-color-border);
	border-radius: var(--hv-radius-lg); margin-bottom: 1rem; overflow: hidden;
}
.hv-faq-item summary {
	padding: 1.25rem 1.5rem; cursor: pointer; font-weight: 600;
	color: var(--hv-color-heading); font-size: 1.05rem; list-style: none;
	display: flex; justify-content: space-between; align-items: center; transition: background 0.2s;
}
.hv-faq-item summary::-webkit-details-marker { display: none; }
.hv-faq-item summary::after {
	content: "+"; font-size: 1.4rem; color: var(--hv-color-primary);
	font-weight: 400; flex-shrink: 0; margin-left: 1rem;
}
.hv-faq-item[open] summary::after { content: "\2212"; }
.hv-faq-item summary:hover { background: var(--hv-color-bg-soft); }
.hv-faq-item[open] summary { border-bottom: 1px solid var(--hv-color-border); background: var(--hv-color-bg-soft); }
.hv-faq-answer { padding: 1.25rem 1.5rem; }
.hv-faq-answer p { margin-bottom: 0.5rem; }
.hv-faq-answer p:last-child { margin-bottom: 0; }
.hv-faq-answer ul { margin: 0.5rem 0; padding-left: 0; }
.hv-faq-answer li { padding: 0.4rem 0 0.4rem 1.5rem; color: var(--hv-color-text); position: relative; line-height: 1.6; }
.hv-faq-answer li::before { content: "\2713"; position: absolute; left: 0; color: var(--hv-color-primary); font-weight: bold; }

/* Guide CTA box */
.hv-cta-box {
	background: linear-gradient(135deg, var(--hv-color-primary) 0%, var(--hv-color-primary-700) 100%);
	color: var(--hv-color-white); padding: 3rem 2rem;
	border-radius: var(--hv-radius-xl); text-align: center; margin: 3rem 0;
}
.hv-cta-box h2 { color: var(--hv-color-white); margin-bottom: 1rem; }
.hv-cta-box p { color: rgba(255,255,255,0.9); margin-bottom: 2rem; font-size: 1.1rem; }
.hv-cta-btn {
	display: inline-block; background: var(--hv-color-white); color: var(--hv-color-primary);
	padding: 1rem 2rem; border-radius: var(--hv-radius-md); text-decoration: none;
	font-weight: 600; transition: all 0.3s;
}
.hv-cta-btn:hover {
	background: var(--hv-color-accent); color: var(--hv-color-heading);
	transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Guide responsive */
@media (max-width: 768px) {
	.hv-guide-page { padding: 1rem; }
	/* Hero: show the image as a clean banner on top, with the title / intro / CTA
	   on a solid panel below -- the image stays fully visible (myprotein-style)
	   rather than being buried under a dark overlay. The ::before inherits the
	   per-page background-image (injected inline) and crops it to a proper band. */
	.hv-guide-hero {
		display: block;
		min-height: 0;
		padding: 0;
		border-radius: var(--hv-radius-lg);
	}
	.hv-guide-hero::before {
		content: "";
		display: block;
		height: 200px;
		background-image: inherit;
		background-size: cover;
		background-position: center;
	}
	.hv-guide-hero-content {
		display: block;
		background: var(--hv-color-primary-700);
		padding: 1.5rem 1.25rem 1.75rem;
	}
	.hv-guide-hero h1 { font-size: 1.7rem !important; line-height: 1.25; margin-bottom: 0.6rem; }
	.hv-guide-hero p { font-size: 0.95rem; margin-bottom: 1.25rem; }
	.hv-guide-hero-btn { background: var(--hv-color-accent); color: var(--hv-color-heading); }
	.hv-guide-hero-btn:hover { background: var(--hv-color-accent-dark); color: var(--hv-color-heading); }
	.hv-guide-toc ul { column-count: 1; }
	.hv-guide-section h2 { font-size: 1.6rem; }
	.hv-summary-table table, .hv-summary-table tbody,
	.hv-summary-table tr, .hv-summary-table td,
	.hv-fee-table table, .hv-fee-table tbody,
	.hv-fee-table tr, .hv-fee-table td { display: block; width: 100%; }
	.hv-summary-table tr, .hv-fee-table tr { border-bottom: 1px solid var(--hv-color-border); }
	.hv-summary-table tr:last-child, .hv-fee-table tr:last-child { border-bottom: none; }
	.hv-summary-table td:first-child, .hv-fee-table td:first-child { width: 100%; border-bottom: none; padding-bottom: 0.25rem; }
	.hv-summary-table td:last-child, .hv-fee-table td:last-child { padding-top: 0.25rem; }
	.hv-comparison-table thead { display: none; }
	.hv-comparison-table, .hv-comparison-table tbody,
	.hv-comparison-table tr, .hv-comparison-table td { display: block; width: 100%; }
	.hv-comparison-table tr { border-bottom: 2px solid var(--hv-color-border); }
	.hv-comparison-table td { border-bottom: none; padding: 0.5rem 1rem; }
	.hv-comparison-table td:first-child { font-weight: 700; background: var(--hv-color-bg-soft); padding-top: 1rem; }
	.hv-step-box { flex-direction: column; padding: 1.25rem; }
	.hv-step-number { margin-bottom: 0.75rem; margin-right: 0; width: 42px; height: 42px; font-size: 1.25rem; }
	.hv-timeline-item { flex-direction: column; }
	.hv-timeline-number { margin-bottom: 0.5rem; margin-right: 0; }
	.hv-eligibility-box, .hv-eligibility-yes, .hv-eligibility-no,
	.hv-checklist-box { padding: 1.25rem; }
	.hv-cta-box { padding: 2rem 1.25rem; border-radius: var(--hv-radius-lg); }
	.hv-cta-box h2 { font-size: 1.4rem; }
	.hv-faq-item summary { padding: 1rem 1.25rem; font-size: 0.95rem; }
	.hv-faq-answer { padding: 1rem 1.25rem; }
}

/* ===== Fact Sheet Card ===== */
.hv-fact-sheet {
	background: var(--hv-color-white);
	border: 2px solid var(--hv-color-border);
	border-radius: var(--hv-radius-lg);
	overflow: hidden;
	margin: 2rem 0;
}
.hv-fact-sheet__header {
	background: var(--hv-color-primary);
	color: var(--hv-color-white);
	padding: 1.25rem 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.hv-fact-sheet__header h3 {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--hv-color-white) !important;
}
.hv-fact-sheet__header .hv-fact-sheet__icon {
	font-size: 1.3rem;
	flex-shrink: 0;
}
.hv-fact-sheet__body {
	padding: 0;
}
.hv-fact-sheet__row {
	display: flex;
	border-bottom: 1px solid var(--hv-color-border);
	min-height: 52px;
}
.hv-fact-sheet__row:last-child {
	border-bottom: none;
}
.hv-fact-sheet__label {
	width: 40%;
	flex-shrink: 0;
	padding: 0.9rem 1.25rem;
	background: var(--hv-color-bg-soft);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--hv-color-heading);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.hv-fact-sheet__value {
	flex: 1;
	padding: 0.9rem 1.25rem;
	font-size: 0.9rem;
	color: var(--hv-color-text);
	line-height: 1.6;
}
.hv-fact-sheet__value--warn {
	color: var(--hv-color-danger-text);
	background: var(--hv-color-danger-tint);
}
.hv-fact-sheet__value--ok {
	color: var(--hv-color-success-text);
	background: var(--hv-color-success-tint);
}
@media (max-width: 600px) {
	.hv-fact-sheet__row { flex-direction: column; }
	.hv-fact-sheet__label { width: 100%; padding: 0.7rem 1rem; }
	.hv-fact-sheet__value { padding: 0.5rem 1rem 0.7rem; }
	.single-post .entry-title { font-size: 1.5rem; }
}

/* ===== Calculator (Átalányadó) ===== */
.hv-calc {
	max-width: 480px;
	margin: var(--hv-space-xl) auto;
	padding: var(--hv-space-lg);
	border-radius: var(--hv-radius-md);
	border: 1px solid var(--hv-color-border);
	background: var(--hv-color-white);
	box-shadow: var(--hv-shadow-sm);
}
.hv-calc__row {
	display: flex;
	gap: var(--hv-space-md);
	margin-bottom: var(--hv-space-md);
	flex-wrap: wrap;
}
.hv-calc__label {
	flex: 1;
	display: flex;
	flex-direction: column;
	font-size: var(--hv-text-sm);
	font-weight: 600;
	color: var(--hv-color-heading);
}
.hv-calc__input,
.hv-calc__select {
	margin-top: var(--hv-space-xs);
	padding: 0.5em;
	border: 1px solid var(--hv-color-border);
	border-radius: var(--hv-radius-sm);
	font-size: var(--hv-text-base);
	font-family: var(--hv-font-body);
}
.hv-calc__input:focus,
.hv-calc__select:focus {
	outline: none;
	border-color: var(--hv-color-primary-500);
	box-shadow: 0 0 0 3px var(--hv-color-primary-100);
}
.hv-calc__btn {
	width: 100%;
	margin-bottom: var(--hv-space-sm);
}
.hv-calc__results {
	font-size: var(--hv-text-sm);
}
.hv-calc__list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.hv-calc__list li {
	padding: 0.4em 0;
	border-bottom: 1px solid var(--hv-color-neutral-100);
}
.hv-calc__total {
	margin-top: var(--hv-space-sm);
	font-size: var(--hv-text-md);
	color: var(--hv-color-heading);
	border-bottom: none !important;
}
@media (max-width: 480px) {
	.hv-calc__row { flex-direction: column; }
}

/* ===== Scroll-to-Top Button ===== */
.hv-scroll-top {
	position: fixed;
	bottom: calc(1.5rem + var(--hv-stl-lift, 0px));
	right: 1.5rem;
	z-index: 998;
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	border-radius: var(--hv-radius-pill);
	background: var(--hv-color-primary-700);
	color: var(--hv-color-white);
	box-shadow: var(--hv-shadow-lg);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(0.5rem);
	transition: opacity 250ms ease, transform 250ms ease, background-color 200ms ease, visibility 250ms;
}
.hv-scroll-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.hv-scroll-top:hover,
.hv-scroll-top:focus-visible {
	background: var(--hv-color-primary-900);
	transform: translateY(-2px);
}
.hv-scroll-top:focus-visible {
	outline: 2px solid var(--hv-color-accent);
	outline-offset: 2px;
}
.hv-scroll-top svg { display: block; }
/* Lift above the sticky CTA bar where present so the two never overlap. */
.hv-scroll-top--above-cta { bottom: calc(5rem + var(--hv-stl-lift, 0px)); }
@media (max-width: 599px) {
	.hv-scroll-top { bottom: calc(1rem + var(--hv-stl-lift, 0px)); right: 1rem; width: 2.75rem; height: 2.75rem; }
	.hv-scroll-top--above-cta { bottom: calc(7.5rem + var(--hv-stl-lift, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
	.hv-scroll-top { transition: opacity 250ms ease, visibility 250ms; }
	.hv-scroll-top:hover,
	.hv-scroll-top:focus-visible { transform: none; }
}

/* ===== "Handled for you" strip (homepage) ===== */
.hv-handled {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 860px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--hv-space-lg);
}
.hv-handled__item {
	display: flex;
	gap: var(--hv-space-sm);
	align-items: flex-start;
}
.hv-handled__item > .hv-icon {
	flex: none;
	width: 1.4rem;
	height: 1.4rem;
	margin-top: 0.1em;
	color: var(--hv-color-primary-500);
}
.hv-handled__item > div {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}
.hv-handled__item strong {
	color: var(--hv-color-heading);
	font-weight: 600;
}
.hv-handled__item span {
	color: var(--hv-color-text-muted);
	font-size: var(--hv-text-sm);
	line-height: 1.5;
}
@media (max-width: 599px) {
	.hv-handled { grid-template-columns: 1fr; gap: var(--hv-space-md); }
}

