/* ==========================================================================
   Haahr Law Group – theme styles
   Colors, fonts and sizes come from theme.json (var(--wp--preset--…)).
   Breakpoints follow the approved design: 860px and 1040px.
   ========================================================================== */

:root {
	--hhlg-red: var(--wp--preset--color--red, #BF2A33);
	--hhlg-red-dark: var(--wp--preset--color--red-dark, #A2242B);
	--hhlg-navy: var(--wp--preset--color--navy, #132A4D);
	--hhlg-ink: var(--wp--preset--color--ink, #1C2524);
	--hhlg-slate: var(--wp--preset--color--slate, #33403F);
	--hhlg-body: var(--wp--preset--color--body, #3A4544);
	--hhlg-muted: var(--wp--preset--color--muted, #454F4D);
	--hhlg-gray: var(--wp--preset--color--gray, #8A9392);
	--hhlg-silver: var(--wp--preset--color--silver, #C7CFCE);
	--hhlg-line: var(--wp--preset--color--line, #E3E8E8);
	--hhlg-fog: var(--wp--preset--color--fog, #EEF1F1);
	--hhlg-mist: var(--wp--preset--color--mist, #F7F9F9);
	--hhlg-blush: var(--wp--preset--color--blush, #FAEDEE);
	--hhlg-serif: var(--wp--preset--font-family--fraunces, Fraunces, Georgia, serif);
	--hhlg-sans: var(--wp--preset--font-family--manrope, Manrope, Arial, sans-serif);
	--hhlg-lift-shadow: 0 14px 28px -14px rgba(28, 37, 36, 0.28);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; }
[hidden] { display: none !important; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link {
	position: absolute; left: -9999px; top: 8px; z-index: 100;
	background: var(--hhlg-navy); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 700;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--hhlg-red); outline-offset: 2px; }
.page-hero :focus-visible,
.site-footer :focus-visible,
.has-navy-background-color :focus-visible,
.is-style-panel-navy :focus-visible { outline-color: #fff; }

.site-main { display: block; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(247, 249, 249, 0.97);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--hhlg-line);
	font-family: var(--hhlg-sans);
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .site-header { top: 0; } }

.site-header__inner {
	max-width: 1280px; margin: 0 auto; padding: 14px 20px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { display: block; height: 34px; width: auto; }

.primary-nav { display: none; }
.hhlg-menu { list-style: none; margin: 0; padding: 0; }
.hhlg-menu--desktop { display: flex; align-items: center; gap: 30px; }
.hhlg-menu--desktop > li { position: relative; }
.hhlg-menu--desktop .nav-link,
.hhlg-menu--desktop .nav-parent {
	font: inherit; font-weight: 600; font-size: 14.5px; color: var(--hhlg-slate);
	white-space: nowrap;
}
.hhlg-menu--desktop > li > .nav-link { position: relative; display: inline-block; }
.hhlg-menu--desktop > li > .nav-link::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
	background: var(--hhlg-red); transform: scaleX(0); transition: transform .15s ease;
}
.hhlg-menu--desktop > li > .nav-link:hover::after { transform: scaleX(1); }
.hhlg-menu--desktop > li.is-current > .nav-link,
.hhlg-menu--desktop > li.is-current-parent > .nav-parent { color: var(--hhlg-red); font-weight: 700; }

.nav-parent {
	background: none; border: 0; padding: 4px 0; cursor: pointer;
	display: flex; align-items: center; gap: 5px;
}
.nav-parent .hhlg-svg { transition: transform .15s ease; }
.nav-parent[aria-expanded="true"] .hhlg-svg { transform: rotate(180deg); }

.hhlg-menu--desktop .sub-menu {
	list-style: none; margin: 12px 0 0; padding: 8px;
	position: absolute; top: 100%; left: -16px;
	min-width: 200px; width: max-content; max-width: 340px;
	background: #fff; border: 1px solid var(--hhlg-line); border-radius: 8px;
	box-shadow: 0 20px 40px -20px rgba(28, 37, 36, 0.35);
	display: flex; flex-direction: column;
	opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.hhlg-menu--desktop .sub-menu::before { /* hover bridge across the 12px gap */
	content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.hhlg-menu--desktop .has-children:hover > .sub-menu,
.hhlg-menu--desktop .has-children:focus-within > .sub-menu,
.hhlg-menu--desktop .nav-parent[aria-expanded="true"] + .sub-menu {
	opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.hhlg-menu--desktop .sub-menu a {
	display: block; padding: 10px 12px; border-radius: 6px;
	font-size: 14px; font-weight: 600; color: var(--hhlg-slate); white-space: normal;
}
.hhlg-menu--desktop .sub-menu a:hover,
.hhlg-menu--desktop .sub-menu .is-current > a { background: var(--hhlg-mist); color: var(--hhlg-red); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
	display: none; align-items: center; gap: 8px;
	color: var(--hhlg-red); font-weight: 700; font-size: 14.5px; white-space: nowrap;
}
.header-phone:hover { color: #881E24; }
.header-cta { display: none !important; }
.hhlg-btn.header-cta { font-size: 14px; padding: 11px 22px; }

.menu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; padding: 0; cursor: pointer;
	background: none; border: 1px solid #DDE1E1; border-radius: 6px; color: var(--hhlg-ink);
}
.menu-toggle .hhlg-svg-close { display: none; }
.menu-toggle[aria-expanded="true"] .hhlg-svg-menu { display: none; }
.menu-toggle[aria-expanded="true"] .hhlg-svg-close { display: block; }

.mobile-panel {
	border-top: 1px solid var(--hhlg-line); background: #fff;
	padding: 12px 20px 24px; max-height: calc(100vh - 72px); overflow-y: auto;
	display: flex; flex-direction: column;
}
.hhlg-menu--mobile > li { border-bottom: 1px solid #EEF1F1; }
.hhlg-menu--mobile > li:last-child { border-bottom: 0; }
.hhlg-menu--mobile > li > .nav-link,
.hhlg-menu--mobile .nav-parent {
	display: flex; width: 100%; align-items: center; justify-content: space-between;
	padding: 13px 4px; font: inherit; font-weight: 700; font-size: 15px; color: var(--hhlg-ink);
	text-align: left;
}
.hhlg-menu--mobile > li.is-current > .nav-link,
.hhlg-menu--mobile > li.is-current-parent > .nav-parent { color: var(--hhlg-red); }
.hhlg-menu--mobile .sub-menu {
	list-style: none; margin: 0; padding: 4px 4px 10px 14px;
	display: flex; flex-direction: column; gap: 2px;
}
.hhlg-menu--mobile .nav-parent[aria-expanded="false"] + .sub-menu { display: none; }
.hhlg-menu--mobile .sub-menu a { display: block; padding: 9px 0; font-size: 14px; font-weight: 600; color: var(--hhlg-muted); }
.hhlg-menu--mobile .sub-menu .is-current > a { color: var(--hhlg-red); }
.mobile-panel__call {
	margin-top: 14px; display: flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: 15px; color: var(--hhlg-red);
	padding: 12px; border: 1.5px solid var(--hhlg-red); border-radius: 6px;
}
.hhlg-btn.mobile-panel__cta { margin-top: 10px; justify-content: center; font-size: 15px; padding: 13px; }

@media (min-width: 1040px) {
	.primary-nav { display: flex; }
	.header-cta { display: inline-flex !important; }
	.menu-toggle { display: none; }
	.mobile-panel { display: none !important; }
}
@media (min-width: 1200px) {
	.header-phone { display: inline-flex; }
}

/* ---------- Buttons (template + shared) ---------- */
.hhlg-btn {
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--hhlg-red); color: #fff; font-family: var(--hhlg-sans);
	font-weight: 700; font-size: 15.5px; line-height: 1.3;
	padding: 16px 32px; border-radius: 6px; border: 0; cursor: pointer;
	transition: background .15s ease, transform .15s ease; white-space: nowrap;
}
.hhlg-btn:hover, .hhlg-btn:focus-visible { background: var(--hhlg-red-dark); color: #fff; transform: translateY(-1px); }
.hhlg-phone-link {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 700; font-size: 15.5px; color: var(--hhlg-navy);
}
.hhlg-phone-link:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--hhlg-navy); }

/* ---------- Page hero (navy banner on interior pages) ---------- */
.page-hero {
	position: relative; overflow: hidden;
	background: var(--hhlg-navy); padding: 44px 20px 48px;
}
.page-hero__rings {
	position: absolute; top: -170px; right: -210px; width: 560px; height: 560px;
	opacity: .9; pointer-events: none;
}
.page-hero__inner { max-width: 1280px; margin: 0 auto; position: relative; }
.breadcrumbs ol {
	list-style: none; margin: 0 0 16px; padding: 0;
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 600; line-height: 1.4;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; color: #93A09E; }
.breadcrumbs li + li::before { content: "/"; color: #5C6B7A; }
.breadcrumbs a { color: #93A09E; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: #fff; }
.page-hero__title {
	margin: 0; max-width: 760px;
	font-family: var(--hhlg-serif); font-weight: 600;
	font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.15; letter-spacing: -0.01em; color: #fff;
}
.page-hero__tagline {
	margin: 14px 0 0; font-family: var(--hhlg-sans); font-weight: 700; font-size: 15px;
	line-height: 1.5; letter-spacing: .02em; color: #E8B4BB;
}
.page-hero__intro { margin: 14px 0 0; max-width: 640px; font-size: 16px; line-height: 1.6; color: var(--hhlg-silver); }

/* ---------- Content layout ---------- */
.entry-content > .alignfull { margin-block: 0; padding-left: 20px; padding-right: 20px; }
.entry-content > .alignfull + .alignfull { margin-top: 0; }
.page-content .entry-content > :not(.alignfull):first-child { margin-top: 64px; }
.page-content .entry-content > :not(.alignfull):last-child { margin-bottom: 64px; }

.article-content { background: #fff; padding: 64px 0 64px; }
.article-content .entry-content > .article-content__bar { margin-top: 0; margin-bottom: 24px; }
.article-content .entry-content > .article-content__bar + * { margin-top: 0; }

/* Headings get breathing room when they follow other content. */
.is-layout-constrained > :is(h2, h3, h4):not(:first-child) { margin-block-start: 32px; }
.is-layout-constrained > :is(h2, h3, h4) + * { margin-block-start: 12px; }
.is-layout-constrained > .wp-block-separator + :is(h1, h2, h3) { margin-block-start: 16px; }

.entry-content strong { color: var(--hhlg-ink); }
.entry-content p a:not(.wp-block-button__link),
.entry-content li a,
.entry-content .wp-block-details a { font-weight: 700; color: var(--hhlg-red); }
.entry-content p a:not(.wp-block-button__link):hover,
.entry-content li a:hover { color: #881E24; }
.entry-content ul:not([class*="is-style-"]),
.entry-content ol { padding-left: 1.3em; }
.entry-content li { line-height: 1.65; }
.entry-content li + li { margin-top: 8px; }

/* Text on navy */
:is(.has-navy-background-color, .is-style-panel-navy) :where(h1, h2, h3, h4, h5):not(.has-text-color) { color: #fff; }
:is(.has-navy-background-color, .is-style-panel-navy) :where(p, li):not(.has-text-color) { color: var(--hhlg-silver); }
:is(.has-navy-background-color, .is-style-panel-navy) :where(strong) { color: #fff; }
.entry-content :is(.has-navy-background-color, .is-style-panel-navy) p a:not(.wp-block-button__link) { color: #fff; }
:is(.has-navy-background-color, .is-style-panel-navy) :where(.is-style-card, .is-style-card-static, .is-style-link-card, .has-white-background-color, .hhlg-form-card) :where(h1, h2, h3, h4, h5):not(.has-text-color) { color: var(--hhlg-ink); }
:is(.has-navy-background-color, .is-style-panel-navy) :where(.is-style-card, .is-style-card-static, .is-style-link-card, .has-white-background-color, .hhlg-form-card) :where(p, li):not(.has-text-color) { color: var(--hhlg-body); }
:is(.has-navy-background-color, .is-style-panel-navy) :where(.is-style-card, .is-style-card-static, .is-style-link-card, .has-white-background-color, .hhlg-form-card) :where(strong) { color: var(--hhlg-ink); }

/* Section heading block (red bar + H2 + intro), left-aligned at 680px. */
.hhlg-measure > * { max-width: 680px; margin-left: 0 !important; margin-right: auto !important; }
.hhlg-measure-center { max-width: 680px; }

/* ---------- Separator: red accent bar ---------- */
.wp-block-separator.is-style-accent-bar,
.wp-block-separator.is-style-accent-bar-center {
	width: 100% !important; height: 2px; border: 0 !important; opacity: 1;
	background: linear-gradient(var(--hhlg-red), var(--hhlg-red)) left center / 26px 2px no-repeat !important;
	margin-bottom: 0;
}
.wp-block-separator.is-style-accent-bar-center { background-position: center center !important; }
.wp-block-separator.is-style-accent-bar + *,
.wp-block-separator.is-style-accent-bar-center + * { margin-block-start: 16px; }

/* ---------- Paragraph styles ---------- */
p.is-style-eyebrow {
	display: flex; align-items: center; gap: 10px;
	font-weight: 800; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4;
}
p.is-style-eyebrow::before { content: ""; flex: 0 0 26px; height: 2px; background: var(--hhlg-red); }

p.is-style-kicker {
	font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
	color: var(--hhlg-red); line-height: 1.4;
}
p.is-style-label {
	font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
	color: var(--hhlg-gray); line-height: 1.4;
}
p.is-style-label:not(.has-text-color) { color: var(--hhlg-gray); }
p.is-style-fine-print { font-size: 13.5px; line-height: 1.6; }
p.is-style-fine-print:not(.has-text-color) { color: var(--hhlg-gray); }

p.is-style-more-link {
	display: flex; align-items: center; gap: 6px;
	font-weight: 700; font-size: 14px; line-height: 1.4; color: var(--hhlg-red);
}
p.is-style-more-link a { color: var(--hhlg-red); font-weight: 700; }
p.is-style-more-link a:hover { color: #881E24; }
p.is-style-more-link::after {
	content: ""; width: 13px; height: 13px; flex: 0 0 13px; background: currentColor;
	-webkit-mask: var(--hhlg-mark-arrow) center / contain no-repeat; mask: var(--hhlg-mark-arrow) center / contain no-repeat;
	transition: transform .15s ease;
}
p.is-style-more-link:hover::after { transform: translateX(3px); }

p.is-style-pill {
	display: inline-flex; align-items: center; gap: 9px;
	background: #fff; border: 1px solid var(--hhlg-line); border-radius: 999px;
	padding: 10px 18px; font-size: 13.5px; font-weight: 700; line-height: 1.3;
	margin: 0;
}
p.is-style-pill:not(.has-text-color) { color: var(--hhlg-slate) !important; }
p.is-style-pill[class*="icon-"]::before {
	content: ""; width: 16px; height: 16px; flex: 0 0 16px;
	background: var(--hhlg-icon) center / contain no-repeat;
}

p.is-style-tile-link {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px;
	background: var(--hhlg-mist); border: 1px solid var(--hhlg-line); border-radius: 8px;
	padding: 18px 20px; font-size: 14.5px; font-weight: 700; line-height: 1.4; color: var(--hhlg-ink);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
p.is-style-tile-link a, .entry-content p.is-style-tile-link a { color: var(--hhlg-ink); font-weight: 700; }
p.is-style-tile-link a::before { content: ""; position: absolute; inset: 0; }
p.is-style-tile-link::after {
	content: ""; width: 14px; height: 14px; flex: 0 0 14px; background: var(--hhlg-red);
	-webkit-mask: var(--hhlg-mark-arrow) center / contain no-repeat; mask: var(--hhlg-mark-arrow) center / contain no-repeat;
}
p.is-style-tile-link:hover { transform: translateY(-3px); box-shadow: var(--hhlg-lift-shadow); border-color: var(--hhlg-red); }

/* ---------- Heading style ---------- */
h1.is-style-sans, h2.is-style-sans, h3.is-style-sans, h4.is-style-sans {
	font-family: var(--hhlg-sans); font-weight: 700; letter-spacing: 0; line-height: 1.35;
}

/* ---------- Lists ---------- */
ul.is-style-checklist { list-style: none; padding-left: 0; margin-left: 0; }
ul.is-style-checklist li {
	display: flex; align-items: flex-start; gap: 10px;
	font-size: 14.5px; line-height: 1.5;
}
ul.is-style-checklist li + li { margin-top: 11px; }
ul.is-style-checklist li::before {
	content: ""; width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; background: var(--hhlg-red);
	-webkit-mask: var(--hhlg-mark-check) center / contain no-repeat; mask: var(--hhlg-mark-check) center / contain no-repeat;
}
ul.is-style-dots { list-style: none; padding-left: 0; margin-left: 0; }
ul.is-style-dots li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.55; }
ul.is-style-dots li + li { margin-top: 12px; }
ul.is-style-dots li::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--hhlg-red); margin-top: 8px; }
ul.is-style-spaced { list-style: none; padding-left: 0; margin-left: 0; }
ul.is-style-spaced li { font-size: 15.5px; line-height: 1.65; }
ul.is-style-spaced li + li { margin-top: 16px; }

/* ---------- Group styles ---------- */
.wp-block-group.is-style-card,
.wp-block-group.is-style-card-static,
.wp-block-group.is-style-link-card {
	background: #fff; border: 1px solid var(--hhlg-line);
	display: flex; flex-direction: column;
}
.wp-block-group.is-style-card { border-radius: 10px; padding: 28px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.wp-block-group.is-style-card:hover,
.wp-block-group.is-style-link-card:hover {
	transform: translateY(-3px); box-shadow: var(--hhlg-lift-shadow); border-color: var(--hhlg-red);
}
.wp-block-group.is-style-card-static { border-radius: 10px; padding: 36px; box-shadow: 0 20px 40px -26px rgba(28, 37, 36, 0.22); }
.has-navy-background-color .wp-block-group.is-style-card-static { border-color: rgba(255, 255, 255, .12); box-shadow: 0 24px 48px -20px rgba(6, 14, 28, 0.45); }
.wp-block-group.is-style-link-card {
	position: relative; border-radius: 8px; padding: 28px 30px;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.wp-block-group.is-style-link-card :where(h2, h3, h4) a { color: var(--hhlg-ink); }
.wp-block-group.is-style-link-card :where(h2, h3, h4) a::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }
.wp-block-group.is-style-link-card :where(h2, h3, h4) a:focus-visible { outline: none; }
.wp-block-group.is-style-link-card:focus-within { outline: 2px solid var(--hhlg-red); outline-offset: 2px; }

/* Card internals */
:is(.is-style-card, .is-style-card-static, .is-style-link-card) > * { margin-top: 0; margin-bottom: 0; }
:is(.is-style-card, .is-style-card-static, .is-style-link-card) > * + * { margin-top: 14px; }
:is(.is-style-card, .is-style-card-static, .is-style-link-card) > :is(h2, h3, h4) + * { margin-top: 10px; }
:is(.is-style-card, .is-style-card-static) > .is-style-more-link { margin-top: auto; padding-top: 18px; }
:is(.is-style-card, .is-style-card-static) > .is-style-checklist { margin-top: 22px; }
:is(.is-style-card, .is-style-card-static) > .is-style-checklist + .is-style-more-link { padding-top: 26px; }
:is(.is-style-card, .is-style-card-static, .is-style-link-card) p:not(.has-text-color):not([class*="is-style-"]) { color: var(--hhlg-muted); }
.is-style-link-card > .is-style-kicker + * { margin-top: 12px; }
.is-style-link-card > .is-style-more-link { margin-top: auto; padding-top: 16px; }

/* Icon tile: add class "icon-roof" (etc.) to a card */
.wp-block-group.is-style-card[class*="icon-"]::before,
.wp-block-group.is-style-card-static[class*="icon-"]::before {
	content: ""; display: block; flex: 0 0 auto;
	width: 46px; height: 46px; border-radius: 8px; margin-bottom: 18px;
	background: var(--hhlg-blush) var(--hhlg-icon) center / 24px no-repeat;
}
.wp-block-group.is-style-card-static[class*="icon-"]::before {
	width: 52px; height: 52px; margin-bottom: 20px; background-size: 28px;
}

.wp-block-group.is-style-callout {
	background: var(--hhlg-mist); border: 1px solid var(--hhlg-line); border-radius: 8px; padding: 26px 28px;
}
.wp-block-group.is-style-callout > * { margin-top: 0; }
.wp-block-group.is-style-callout > * + * { margin-top: 10px; }

.wp-block-group.is-style-panel-navy {
	background: var(--hhlg-navy); border-radius: 12px; overflow: hidden; color: #fff;
}
.wp-block-group.is-style-panel-navy > .wp-block-image:first-child { margin: 0; }
.wp-block-group.is-style-panel-navy > .wp-block-image:first-child img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Sticky profile card on wide screens (About page) */
@media (min-width: 1040px) {
	.hhlg-sticky { position: sticky; top: 96px; }
}

/* Name / role / credentials block inside the navy profile card */
.hhlg-profile-name { font-family: var(--hhlg-serif); font-size: 21px; font-weight: 600; color: #fff !important; line-height: 1.3; }
.hhlg-profile-role { font-size: 13.5px; font-weight: 700; color: var(--hhlg-red) !important; }
.hhlg-profile-creds { font-size: 12.5px; line-height: 1.6; color: #A9B3B2 !important; }

/* ---------- Buttons (block styles) ---------- */
.wp-block-button__link { transition: background .15s ease, transform .15s ease, color .15s ease, border-color .15s ease; }
.wp-block-button:not(.is-style-phone):not(.is-style-outline-light):not(.is-style-outline) .wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.is-style-arrow .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; }
.wp-block-button.is-style-arrow .wp-block-button__link::after {
	content: ""; width: 16px; height: 16px; flex: 0 0 16px; background: currentColor;
	-webkit-mask: var(--hhlg-mark-arrow) center / contain no-repeat; mask: var(--hhlg-mark-arrow) center / contain no-repeat;
}
.wp-block-button.is-style-outline-light .wp-block-button__link {
	background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .35);
	font-size: 14px; padding: 13px 24px;
	display: inline-flex; align-items: center; gap: 8px;
}
.wp-block-button.is-style-outline-light .wp-block-button__link::after {
	content: ""; width: 14px; height: 14px; flex: 0 0 14px; background: currentColor;
	-webkit-mask: var(--hhlg-mark-arrow) center / contain no-repeat; mask: var(--hhlg-mark-arrow) center / contain no-repeat;
}
.wp-block-button.is-style-outline-light .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.wp-block-button.is-style-phone .wp-block-button__link {
	background: transparent; padding: 0; border-radius: 0;
	display: inline-flex; align-items: center; gap: 8px;
}
.wp-block-button.is-style-phone .wp-block-button__link:not(.has-text-color) { color: var(--hhlg-navy); }
.wp-block-button.is-style-phone .wp-block-button__link::before {
	content: ""; width: 17px; height: 17px; flex: 0 0 17px; background: currentColor;
	-webkit-mask: var(--hhlg-mark-phone) center / contain no-repeat; mask: var(--hhlg-mark-phone) center / contain no-repeat;
}
.wp-block-button.is-style-phone .wp-block-button__link:hover { background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.wp-block-button.is-style-phone .wp-block-button__link:not(.has-text-color):hover { color: var(--hhlg-navy); }
.wp-block-button.is-style-phone .wp-block-button__link.has-white-color:hover { color: #fff; }
.wp-block-buttons { gap: 22px; align-items: center; }

/* ---------- Quote ---------- */
.wp-block-quote {
	margin: 0; padding: 18px 0 18px 20px; border-left: 2px solid var(--hhlg-red);
	font-family: var(--hhlg-serif); font-style: italic; font-size: 16px; line-height: 1.6;
}
.wp-block-quote p { font-family: inherit; font-size: inherit; line-height: inherit; margin: 0; }
.wp-block-quote:not(.has-text-color) p:not(.has-text-color) { color: inherit; }
.wp-block-quote cite {
	display: block; margin-top: 10px; font-family: var(--hhlg-sans); font-style: normal;
	font-size: 13px; font-weight: 700; color: #A9B3B2;
}
.is-style-panel-navy .wp-block-quote, .has-navy-background-color .wp-block-quote { color: #fff; }

/* ---------- FAQ (Details block) ---------- */
.wp-block-details {
	border: 1px solid var(--hhlg-line); border-radius: 8px; background: var(--hhlg-mist);
	transition: background .15s ease, border-color .15s ease;
}
.wp-block-details + .wp-block-details { margin-top: 10px; }
.wp-block-details[open] { background: #fff; border-color: var(--hhlg-red); }
.wp-block-details > summary {
	cursor: pointer; list-style: none; padding: 16px 20px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	font-weight: 700; font-size: 16px; line-height: 1.45; color: var(--hhlg-ink);
}
.wp-block-details > summary::-webkit-details-marker { display: none; }
.wp-block-details > summary::marker { content: ""; }
.wp-block-details > summary::after {
	content: "+"; flex-shrink: 0; color: var(--hhlg-red); font-size: 22px; line-height: 1; font-weight: 600;
	transition: transform .15s ease;
}
.wp-block-details[open] > summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { margin-left: 20px; margin-right: 20px; font-size: 15.5px; line-height: 1.7; }
.wp-block-details > summary + * { margin-top: 0; }
.wp-block-details > :last-child:not(summary) { margin-bottom: 18px; }
.wp-block-details > * + :not(summary) { margin-top: 12px; }

/* ---------- Columns ---------- */
.wp-block-columns { margin-bottom: 0; }
@media (min-width: 782px) {
	.wp-block-columns.hhlg-gap-lg { gap: 40px; }
}

/* ==========================================================================
   Homepage hero (pattern: "Home – Hero banner")
   ========================================================================== */
.hhlg-home-hero { position: relative; overflow: hidden; }
.hhlg-home-hero::before {
	content: ""; position: absolute; top: -140px; right: -180px; width: 640px; height: 640px;
	opacity: .9; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 640 640%22 fill=%22none%22%3E%3Ccircle cx=%22320%22 cy=%22320%22 r=%22319%22 stroke=%22rgba(255,255,255,0.15)%22 stroke-width=%221.25%22/%3E%3Ccircle cx=%22385%22 cy=%22270%22 r=%22228%22 stroke=%22rgba(255,255,255,0.17)%22 stroke-width=%221.25%22 stroke-dasharray=%22930 503%22 transform=%22rotate(-25 385 270)%22/%3E%3Ccircle cx=%22290%22 cy=%22350%22 r=%22168%22 stroke=%22rgba(191,42,51,0.5)%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-dasharray=%22500 556%22 transform=%22rotate(140 290 350)%22/%3E%3Ccircle cx=%22350%22 cy=%22290%22 r=%2296%22 stroke=%22rgba(255,255,255,0.16)%22 stroke-width=%221.25%22 stroke-dasharray=%22260 343%22 transform=%22rotate(60 350 290)%22/%3E%3C/svg%3E") center / contain no-repeat;
}
.hhlg-home-hero > * { position: relative; }
.hhlg-hero-cols { gap: 56px; align-items: center !important; }
.hhlg-hero-copy { max-width: 680px; }
.hhlg-hero-copy h1 { margin: 0 0 22px; line-height: 1.1; }
.hhlg-hero-copy > p:not(.is-style-eyebrow) { font-size: 17.5px; line-height: 1.65; }
.hhlg-hero-copy > .is-style-eyebrow { margin-bottom: 20px; }
.hhlg-hero-copy > .wp-block-buttons { margin-top: 32px; }

.hhlg-hero-visual { display: none !important; }
@media (min-width: 1040px) {
	.hhlg-hero-visual { display: flex !important; align-items: center; justify-content: center; }
}
.hhlg-hero-panel {
	position: relative; overflow: hidden; width: 100%; max-width: 400px; aspect-ratio: 4 / 5;
	border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16);
	margin: 0 auto;
}
.hhlg-hero-slide {
	position: absolute; left: 30px; right: 30px; top: 0; bottom: 50px;
	display: flex; flex-direction: column; justify-content: center;
	opacity: 0; margin: 0 !important;
}
.hhlg-hero-slide:first-child { opacity: 1; }
.hhlg-hero-slide::before { content: ""; display: block; width: 34px; height: 2px; background: var(--hhlg-red); margin-bottom: 18px; }
.hhlg-hero-slide > * { margin: 0; }
.hhlg-hero-slide > :first-child { font-family: var(--hhlg-serif); font-size: 30px; line-height: 1.2; font-weight: 600; color: #fff; margin-bottom: 14px; }
.hhlg-hero-slide > :first-child + * { font-size: 15px; line-height: 1.6; color: #E3E8E8; }
/* Progress dots */
.hhlg-hero-panel::after, .hhlg-hero-panel::before {
	content: ""; position: absolute; left: 30px; bottom: 26px; height: 3px; border-radius: 2px; pointer-events: none;
}
.hhlg-hero-panel::after {
	width: 109px;
	background: linear-gradient(to right,
		rgba(255,255,255,.35) 0 22px, transparent 22px 29px,
		rgba(255,255,255,.35) 29px 51px, transparent 51px 58px,
		rgba(255,255,255,.35) 58px 80px, transparent 80px 87px,
		rgba(255,255,255,.35) 87px 109px);
}
.hhlg-hero-panel::before { width: 22px; background: #fff; z-index: 2; }

.hhlg-trust { margin-top: 48px !important; gap: 14px !important; }

@keyframes hhlg-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hhlg-spin { to { transform: rotate(360deg); } }
@keyframes hhlg-slide-1 { 0% { opacity: 0; transform: translateY(8px); } 3%, 22% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes hhlg-slide-2 { 0%, 25% { opacity: 0; transform: translateY(8px); } 28%, 47% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes hhlg-slide-3 { 0%, 50% { opacity: 0; transform: translateY(8px); } 53%, 72% { opacity: 1; transform: none; } 75%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes hhlg-slide-4 { 0%, 75% { opacity: 0; transform: translateY(8px); } 78%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes hhlg-dot { 0% { transform: translateX(0); } 25% { transform: translateX(29px); } 50% { transform: translateX(58px); } 75%, 100% { transform: translateX(87px); } }

@media (prefers-reduced-motion: no-preference) {
	.hhlg-home-hero::before { animation: hhlg-spin 110s linear infinite; }
	.hhlg-hero-copy > * { animation: hhlg-fade-up .8s ease-out both; }
	.hhlg-hero-copy > :nth-child(1) { animation-delay: .05s; }
	.hhlg-hero-copy > :nth-child(2) { animation-delay: .15s; }
	.hhlg-hero-copy > :nth-child(3) { animation-delay: .28s; }
	.hhlg-hero-copy > :nth-child(4) { animation-delay: .38s; }
	.hhlg-hero-copy > :nth-child(5) { animation-delay: .5s; }
	.hhlg-hero-visual { animation: hhlg-fade-up .9s ease-out .45s both; }
	.hhlg-hero-slide:nth-child(1) { animation: hhlg-slide-1 24s ease-in-out infinite; }
	.hhlg-hero-slide:nth-child(2) { animation: hhlg-slide-2 24s ease-in-out infinite; }
	.hhlg-hero-slide:nth-child(3) { animation: hhlg-slide-3 24s ease-in-out infinite; }
	.hhlg-hero-slide:nth-child(4) { animation: hhlg-slide-4 24s ease-in-out infinite; }
	.hhlg-hero-panel::before { animation: hhlg-dot 24s step-end infinite; }
	.hhlg-hero-panel:hover .hhlg-hero-slide,
	.hhlg-hero-panel:hover::before { animation-play-state: paused; }
}

/* ==========================================================================
   Contact panel + form
   ========================================================================== */
.hhlg-contact-rows { display: flex; flex-direction: column; gap: 20px; }
.hhlg-contact-row { display: flex; align-items: center; gap: 14px; color: #fff; }
a.hhlg-contact-row:hover .hhlg-contact-row__value { text-decoration: underline; text-underline-offset: 3px; }
.hhlg-contact-row__icon {
	width: 42px; height: 42px; flex: 0 0 42px; border-radius: 8px;
	background: #fff; border: 1px solid var(--hhlg-line); color: var(--hhlg-red);
	display: flex; align-items: center; justify-content: center;
}
.hhlg-contact-row__label { display: block; font-size: 12.5px; color: #A9B3B2; font-weight: 600; line-height: 1.4; }
.hhlg-contact-row__value { display: block; font-size: 15.5px; font-weight: 700; color: #fff; line-height: 1.45; }
.hhlg-contact-fax {
	margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px;
	font-size: 13.5px; line-height: 1.7; color: #93A09E;
}

.hhlg-form-card {
	background: #fff; border: 1px solid var(--hhlg-line); border-radius: 12px; padding: 36px;
	height: 100%;
}
@media (max-width: 600px) { .hhlg-form-card { padding: 28px 22px; } }
.hhlg-form { display: flex; flex-direction: column; gap: 18px; position: relative; }
.hhlg-form__title { margin: 0 0 4px; font-family: var(--hhlg-serif); font-size: 20px; font-weight: 600; color: var(--hhlg-ink); }
.hhlg-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hhlg-field label { display: block; font-size: 13px; font-weight: 700; color: var(--hhlg-slate); margin-bottom: 7px; }
.hhlg-field input, .hhlg-field textarea {
	width: 100%; padding: 12px 14px; border: 1px solid #DDE1E1; border-radius: 6px; background: #fff;
	font-size: 15px; font-family: inherit; color: var(--hhlg-ink); line-height: 1.5;
}
.hhlg-field textarea { resize: vertical; min-height: 110px; }
.hhlg-field input:focus, .hhlg-field textarea:focus { outline: 2px solid var(--hhlg-red); outline-offset: 0; border-color: var(--hhlg-red); }
.hhlg-field ::placeholder { color: #8A9392; }
.hhlg-form__submit {
	background: var(--hhlg-red); color: #fff; font-family: inherit; font-weight: 700; font-size: 15.5px;
	padding: 15px; border-radius: 6px; border: 0; cursor: pointer; width: 100%;
	transition: background .15s ease, transform .15s ease;
}
.hhlg-form__submit:hover { background: var(--hhlg-red-dark); transform: translateY(-1px); }
.hhlg-form__note { margin: 0; font-size: 12px; line-height: 1.55; color: var(--hhlg-gray) !important; }
.hhlg-form__error { margin: 0; padding: 12px 14px; border-radius: 6px; background: var(--hhlg-blush); color: #8E1F26 !important; font-size: 14px; font-weight: 600; }
.hhlg-form-success { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 360px; gap: 14px; }
.hhlg-form-success__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--hhlg-blush); color: var(--hhlg-red); display: flex; align-items: center; justify-content: center; }
.hhlg-form-success h3 { margin: 0; font-family: var(--hhlg-serif); font-size: 22px; font-weight: 600; color: var(--hhlg-ink); }
.hhlg-form-success p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--hhlg-body); }

/* ==========================================================================
   CTA band (template version; the pattern version is a Group with .hhlg-cta)
   ========================================================================== */
.cta-band { background: var(--hhlg-fog); padding: 56px 20px; text-align: center; }
.cta-band__inner { max-width: 700px; margin: 0 auto; }
.cta-band h2 {
	margin: 0 0 14px; font-family: var(--hhlg-serif); font-weight: 600;
	font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; color: var(--hhlg-ink);
}
.cta-band p { margin: 0 0 28px; font-size: 16px; line-height: 1.6; color: var(--hhlg-body); }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; }
.wp-block-group.hhlg-cta h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.wp-block-group.hhlg-cta h2 + p { margin-top: 14px; }
.wp-block-group.hhlg-cta .wp-block-buttons { margin-top: 28px; }

/* ==========================================================================
   Article index / cards
   ========================================================================== */
.post-index { background: #fff; padding: 72px 20px 48px; }
.post-index__inner { max-width: 980px; margin: 0 auto; }
.post-index__intro > p { font-size: 17px; line-height: 1.75; max-width: 680px; margin: 0 0 16px; }
.post-index__intro { margin-bottom: 40px; }
.post-index__outro { margin-top: 36px; }
.post-index__outro > p { font-size: 13.5px; line-height: 1.6; color: var(--hhlg-gray); }
.post-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 860px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
.post-card {
	position: relative; background: #fff; border: 1px solid var(--hhlg-line); border-radius: 8px; padding: 28px 30px;
	display: flex; flex-direction: column;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--hhlg-lift-shadow); border-color: var(--hhlg-red); }
.post-card:focus-within { outline: 2px solid var(--hhlg-red); outline-offset: 2px; }
.post-card__kicker { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--hhlg-red); }
.post-card__title { margin: 0 0 10px; font-family: var(--hhlg-serif); font-size: 19px; font-weight: 600; line-height: 1.3; }
.post-card__title a { color: var(--hhlg-ink); }
.post-card__title a:focus-visible { outline: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__excerpt { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: #4A5453; }
.post-card__more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--hhlg-red); }
.nav-links { display: flex; gap: 10px; justify-content: center; margin-top: 36px; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--hhlg-line); border-radius: 6px; color: var(--hhlg-slate); font-weight: 700; }
.nav-links .page-numbers.current { background: var(--hhlg-navy); border-color: var(--hhlg-navy); color: #fff; }
.notfound__links { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; font-weight: 700; font-size: 17px; }
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; padding: 12px 14px; border: 1px solid #DDE1E1; border-radius: 6px; font: inherit; }
.search-form .search-submit { background: var(--hhlg-red); color: #fff; border: 0; border-radius: 6px; padding: 12px 20px; font: inherit; font-weight: 700; cursor: pointer; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--hhlg-navy); color: var(--hhlg-silver); padding: 60px 20px 28px; font-family: var(--hhlg-sans); }
.site-footer__inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 44px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-logo { display: inline-flex; margin-bottom: 18px; }
.footer-logo img { display: block; height: 34px; width: auto; }
.footer-blurb { margin: 0 0 20px; max-width: 320px; font-size: 13.5px; line-height: 1.7; color: #93A09E; }
.footer-address { font-style: normal; font-size: 13.5px; line-height: 1.9; color: #93A09E; }
.footer-address a { color: var(--hhlg-silver); }
.footer-address a:hover { color: #fff; }
.footer-heading {
	margin: 0 0 18px; font-family: var(--hhlg-sans); font-size: 12.5px; font-weight: 800;
	letter-spacing: .08em; text-transform: uppercase; color: #fff; line-height: 1.4;
}
.footer-heading--small { font-size: 11.5px; color: var(--hhlg-silver); margin: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 13.5px; color: #93A09E; line-height: 1.5; }
.footer-links a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.footer-legal p { margin: 0; font-size: 11.5px; line-height: 1.7; color: #8896B2; }
.footer-disclaimer { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; }
.footer-bottom p { font-size: 12.5px; }

/* ==========================================================================
   Misc
   ========================================================================== */
.hhlg-empty-icon {
	width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 24px;
	background: var(--hhlg-mist) var(--hhlg-icon) center / 26px no-repeat; border: 1px solid var(--hhlg-line);
}
.wp-block-image img { border-radius: inherit; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
	.site-header, .mobile-panel, .cta-band, .hhlg-cta, .hhlg-form-card { display: none !important; }
	.page-hero { background: none; padding: 0 0 16px; }
	.page-hero__title { color: #000; }
}
