/* Hank Sites theme.
 * Colors, fonts and spacing come from theme.json presets (Appearance › Editor › Styles).
 * Named styles (is-style-*) are registered in functions.php so editors pick them from
 * the block's Styles panel instead of typing CSS classes. */

:root {
	--hs-header-h: 96px;
	--hs-radius: 10px;
	--hs-shadow: 0 20px 45px -20px rgb(2 6 23 / 0.45);
	--hs-accent: var(--wp--preset--color--primary);
	/* Brand color for small text on dark backgrounds: a lighter tint that meets the 4.5:1
	   contrast minimum on black and navy for every color preset. */
	--hs-accent-on-dark: color-mix(in srgb, var(--hs-accent) 65%, #fff);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
img { height: auto; }
.wp-site-blocks { padding-top: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.has-inline-color.has-primary-color { color: var(--hs-accent) !important; }

/* Full-width sections sit flush against each other. */
.wp-block-post-content > .alignfull,
.wp-block-post-content > .alignfull + *,
main > .wp-block-post-content,
main > .alignfull,
main > .alignfull + * { margin-block-start: 0 !important; }
.wp-block-post-content > .alignfull { margin-block-end: 0 !important; }

/* ---------------------------------------------------------------- Header */
.hs-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	transition: background-color .25s ease, box-shadow .25s ease;
	background: linear-gradient(to bottom, rgb(2 6 23 / 0.75), rgb(2 6 23 / 0));
}
.admin-bar .hs-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .hs-header { top: 46px; } }
.hs-header.is-scrolled, body.hs-solid-header .hs-header {
	background: color-mix(in srgb, var(--wp--preset--color--ink) 97%, transparent);
	box-shadow: 0 6px 24px -12px rgb(0 0 0 / .6);
}
.hs-header__inner { min-height: var(--hs-header-h); gap: 1.5rem; }
/* The header runs wider than the page content so a full menu fits on one line on laptops. */
.hs-header > .hs-header__inner.alignwide { max-width: min(1400px, 100%) !important; }
.hs-header .wp-block-navigation .wp-block-navigation__container { gap: clamp(.9rem, 1.3vw, 1.6rem) !important; }
.hs-header .wp-block-site-logo img { width: auto; max-height: 72px; object-fit: contain; }
.hs-header .wp-block-navigation { color: #fff; }
.hs-header .wp-block-navigation .wp-block-navigation-item__content { padding: .35rem 0; }
.hs-header .wp-block-navigation .wp-block-navigation-item__content:hover,
.hs-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content { color: var(--hs-accent); }
.hs-header .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--ink) !important; border: 1px solid var(--wp--preset--color--ink-2) !important;
	border-radius: 8px; padding: .5rem 0; min-width: 240px !important; box-shadow: var(--hs-shadow);
}
.hs-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .55rem 1.1rem !important; font-size: .78rem; }
.hs-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--ink) !important; color: #fff !important; padding: 2rem; }
.hs-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; background: transparent !important; }
@media (max-width: 1100px) { .hs-header .wp-block-navigation { order: 3; } }

.hs-phone {
	display: flex; align-items: center; gap: .65rem;
	background: rgb(2 6 23 / .85); border: 2px solid color-mix(in srgb, var(--hs-accent) 25%, transparent); border-radius: 6px;
	padding: .45rem .9rem .45rem .5rem; line-height: 1.1; white-space: nowrap;
}
.hs-phone p { margin: 0; }
.hs-phone__icon {
	position: relative; flex: 0 0 auto; width: 56px; height: 56px; box-sizing: border-box; padding-top: 2px; text-align: center;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	color: #fff; font-weight: 700; font-size: .6rem !important; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase;
}
/* The ring is a circular arrow (the template's "rotate" icon), painted in the brand color. */
.hs-phone__icon::before {
	content: ""; position: absolute; inset: 0; background: var(--hs-accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hs-phone__icon::first-line { font-size: 1.05rem; font-weight: 900; line-height: 1; }
.hs-phone__icon span { position: relative; display: inline-block; white-space: nowrap; }
.hs-phone__top { font-size: 1.05rem; font-weight: 900; line-height: 1; }
/* Menu items that don't fit on one line: show the menu button at any width (theme.js decides). */
.hs-header.hs-nav-collapsed .wp-block-navigation__responsive-container-open { display: flex !important; }
.hs-header.hs-nav-collapsed .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
.hs-header.hs-nav-collapsed .wp-block-navigation__responsive-container-close { display: flex !important; }
.hs-header.hs-nav-collapsed .wp-block-navigation { order: 3; }
.hs-header.hs-nav-collapsed .hs-phone { margin-left: auto; }
.hs-phone__label { color: rgb(255 255 255 / .8); font-size: .62rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.hs-phone__label:empty { display: none; }
.hs-phone__number { font-size: 1.35rem !important; font-weight: 800; letter-spacing: .02em; }
.hs-phone__number a { color: var(--hs-accent); text-decoration: none; }
@media (max-width: 1100px) { .hs-phone__label, .hs-phone__icon { display: none !important; } .hs-phone__number { font-size: 1rem !important; } }
@media (max-width: 600px) { .hs-header .wp-block-site-logo img { max-height: 54px; } :root { --hs-header-h: 76px; } }

/* ---------------------------------------------------------------- Named styles */

/* Group: Section — vertical rhythm for full-width bands. */
.wp-block-group.is-style-section { padding-top: var(--wp--preset--spacing--60) !important; padding-bottom: var(--wp--preset--spacing--60) !important; position: relative; overflow: hidden; }
.wp-block-group.is-style-section.has-light-background-color { border-top: 1px solid var(--wp--preset--color--line); }
.wp-block-group.is-style-section.has-ink-background-color,
.wp-block-group.is-style-section.has-night-background-color { border-top: 1px solid rgb(30 41 59 / .6); }

/* Group: Card */
.wp-block-group.is-style-card {
	background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--line); border-radius: var(--hs-radius);
	padding: 1.6rem !important; box-shadow: 0 10px 30px -18px rgb(15 23 42 / .35); box-sizing: border-box;
}
.has-ink-background-color .wp-block-group.is-style-card { background: var(--wp--preset--color--ink-2); border-color: #334155; color: #e2e8f0; }
.wp-block-group.is-style-card > :first-child { margin-top: 0; }
.wp-block-group.is-style-card > .wp-block-image:first-child { margin: -1.6rem -1.6rem 1.2rem; }
.wp-block-group.is-style-card > .wp-block-image:first-child img { border-radius: var(--hs-radius) var(--hs-radius) 0 0; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.is-layout-grid > .wp-block-group.is-style-card { height: 100%; }

/* Group: Feature — short item with an accent rule. */
.wp-block-group.is-style-feature { border-left: 2px solid color-mix(in srgb, var(--hs-accent) 70%, transparent); padding-left: 1rem !important; }
.wp-block-group.is-style-feature h3, .wp-block-group.is-style-feature h4 { margin: 0 0 .35rem; font-size: 1rem; }
.wp-block-group.is-style-feature p { margin: 0; font-size: .9rem; }
.has-ink-background-color .wp-block-group.is-style-feature p { color: var(--wp--preset--color--soft); }

/* Group: Numbered list — each row is numbered automatically (01, 02, ...). */
.wp-block-group.is-style-numbered { counter-reset: hs-num; }
.wp-block-group.is-style-numbered > .wp-block-group {
	counter-increment: hs-num; display: grid !important; grid-template-columns: 3.25rem 1fr; column-gap: 1rem;
	padding: 1.25rem 0 !important; margin: 0 !important; border-bottom: 1px solid var(--wp--preset--color--line);
}
.wp-block-group.is-style-numbered > .wp-block-group::before {
	content: counter(hs-num, decimal-leading-zero); grid-row: span 3;
	font-size: 1.6rem; font-weight: 800; color: var(--hs-accent); line-height: 1;
}
.wp-block-group.is-style-numbered > .wp-block-group > * { grid-column: 2; margin: 0 !important; }
.wp-block-group.is-style-numbered h3 { font-size: 1.05rem; margin-bottom: .3rem !important; }
.wp-block-group.is-style-numbered p { font-size: .92rem; color: #475569; }
.has-ink-background-color .wp-block-group.is-style-numbered > .wp-block-group { border-color: var(--wp--preset--color--ink-2); }
.has-ink-background-color .wp-block-group.is-style-numbered p { color: var(--wp--preset--color--soft); }

/* Group: Question box — "Have a specific question?" card beside FAQs. */
.wp-block-group.is-style-question { background: var(--wp--preset--color--surface); border-radius: 8px; padding: 1.25rem 1.4rem !important; box-shadow: 0 10px 30px -18px rgb(15 23 42 / .5); border: 1px solid var(--wp--preset--color--line); }
.wp-block-group.is-style-question h3, .wp-block-group.is-style-question h4 { margin: 0; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.wp-block-group.is-style-question p { margin: .3rem 0 0; font-size: .85rem; color: var(--wp--preset--color--muted); }
.wp-block-group.is-style-question p:last-child a { font-size: 1.25rem; font-weight: 800; text-decoration: none; }

/* Group: Badge — accent box that overlaps the image above it. */
.wp-block-group.is-style-badge {
	background: var(--hs-accent); color: #fff; display: inline-block; text-align: center;
	padding: 1.2rem 1.6rem !important; box-shadow: var(--hs-shadow);
	margin-top: -3.5rem !important; margin-left: -1rem !important; position: relative;
}
.wp-block-group.is-style-badge p { margin: 0; line-height: 1.1; }
.wp-block-group.is-style-badge p:first-child { font-size: 2rem; font-weight: 800; }
.wp-block-group.is-style-badge p:last-child:not(:first-child) { font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }

/* Group: FAQ list — spacing for a stack of Details blocks. */
.wp-block-group.is-style-faq-list { display: grid; gap: .75rem; }
.wp-block-group.is-style-faq-list > * { margin: 0 !important; }

/* Group: Readable text — long-form content. */
.wp-block-group.is-style-prose { font-size: 1.05rem; }
.is-style-prose h2, .rw-prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.5rem; text-transform: none; letter-spacing: -0.01em; }
.is-style-prose h3 { margin-top: 2rem; }
.is-style-prose li { margin-bottom: .4rem; }
.is-style-prose a { text-decoration: underline; text-underline-offset: 2px; }

/* Paragraph: Eyebrow, Label, Lead, Muted, Stars */
p.is-style-eyebrow {
	color: var(--hs-accent); font-size: .72rem !important; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
	margin-bottom: .75rem !important; display: flex; align-items: center; gap: .5rem;
}
p.is-style-eyebrow::before { content: ""; width: 7px; height: 7px; background: currentColor; display: inline-block; }
p.is-style-eyebrow.has-text-align-center { justify-content: center; }
p.is-style-label {
	display: table !important; font-size: .66rem !important; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
	padding: .3rem .65rem; border-radius: 4px; background: var(--wp--preset--color--line); color: #334155;
	border-left: 3px solid #475569; margin-left: 0 !important; margin-right: auto !important;
}
p.is-style-label.has-text-align-center { margin-left: auto !important; }
/* In a constrained section the label must start where the content column starts.
   (margin-left: 0 above would pin it to the section padding instead.) Sections with
   their own content size use the wide size, which is what every Hank section sets. */
.is-layout-constrained > p.is-style-label:not(.has-text-align-center) {
	margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important;
}
[class*="wp-container-core-group-is-layout-"].is-layout-constrained > p.is-style-label:not(.has-text-align-center) {
	margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size)) / 2)) !important;
}
.has-ink-background-color p.is-style-label { background: color-mix(in srgb, var(--hs-accent) 15%, transparent); color: #fca5a5; border-left-color: var(--hs-accent); }
p.is-style-lead { border-left: 2px solid var(--hs-accent); padding-left: 1.1rem; font-size: 1.05rem; }
p.is-style-muted { color: var(--wp--preset--color--muted); }
.has-ink-background-color p.is-style-muted, .has-night-background-color p.is-style-muted, .wp-block-cover p.is-style-muted { color: var(--wp--preset--color--soft); }
p.is-style-stars { color: #ef4444; letter-spacing: .2em; font-size: 1.05rem; }

/* List: Chips */
ul.is-style-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
ul.is-style-chips li { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 999px; padding: .35rem .9rem; font-size: .85rem; font-weight: 600; margin: 0; color: var(--wp--preset--color--ink); }
.has-ink-background-color ul.is-style-chips li { background: var(--wp--preset--color--ink-2); border-color: #334155; color: #e2e8f0; }

/* Image: Framed, Avatar */
.wp-block-image.is-style-framed img { border-radius: 6px; box-shadow: var(--hs-shadow); width: 100%; object-fit: cover; }
.wp-block-image.is-style-avatar img { aspect-ratio: 1; width: 160px !important; height: 160px; border-radius: 50%; object-fit: cover; object-position: center top; margin: 0 auto; display: block; border: 4px solid #fff; box-shadow: var(--hs-shadow); }
.wp-block-image.is-style-avatar { text-align: center; }

/* Buttons: Icon links (hero) */
.wp-block-buttons.is-style-icon-links .wp-block-button__link { background: transparent !important; padding: .4rem .2rem !important; color: #fff !important; font-size: .72rem; }
.wp-block-buttons.is-style-icon-links .wp-block-button__link::before {
	content: ""; display: inline-block; width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; margin-right: .55rem;
	border: 1px solid color-mix(in srgb, var(--hs-accent) 70%, transparent);
	background: color-mix(in srgb, var(--hs-accent) 15%, transparent) url("../images/icon-star.svg") center / 12px no-repeat;
}
.wp-block-buttons.is-style-icon-links .wp-block-button + .wp-block-button { border-left: 1px solid #334155; padding-left: 1rem; }
.wp-block-button.is-style-outline > .wp-block-button__link { border: 2px solid currentColor; background: transparent; }
.has-ink-background-color .wp-block-button.is-style-outline > .wp-block-button__link,
.has-night-background-color .wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-cover .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--ink); }

/* Cover: Hero and Short hero */
.wp-block-cover.is-style-hero, .wp-block-cover.is-style-hero-short {
	padding-top: calc(var(--hs-header-h) + 3rem) !important; padding-bottom: 4rem !important; align-items: center;
}
.wp-block-cover.is-style-hero { min-height: 760px !important; }
.wp-block-cover.is-style-hero-short { min-height: 460px !important; }
.wp-block-cover.is-style-hero .wp-block-cover__inner-container, .wp-block-cover.is-style-hero-short .wp-block-cover__inner-container { width: 100%; }
.wp-block-cover.is-style-hero h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); margin: 0 0 1.25rem; color: #fff; }
.wp-block-cover.is-style-hero-short h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 0 0 1.25rem; color: #fff; }
.wp-block-cover p.is-style-lead { color: #cbd5e1; max-width: 34rem; }
.wp-block-cover p.is-style-stars { margin: 0 0 .35rem 1.1rem; }
.wp-block-cover .wp-block-columns { align-items: center !important; gap: 3rem; }

/* Details (FAQ) */
.wp-block-details { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 8px; box-shadow: 0 4px 14px -10px rgb(15 23 42 / .4); }
.wp-block-details summary { font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .02em; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; color: var(--wp--preset--color--ink); }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; position: absolute; right: .25rem; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--wp--preset--color--muted); border-bottom: 2px solid var(--wp--preset--color--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.wp-block-details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.wp-block-details[open] summary { color: var(--hs-accent); margin-bottom: .75rem; }
.wp-block-details p { font-size: .93rem; color: #334155; }

/* Hank Sites blocks inside dark sections */
.has-night-background-color .hs-strip, .hs-strip { background: transparent; }

/* ---------------------------------------------------------------- Blog */
.hs-post-meta { color: #cbd5e1; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.hs-post-meta a { color: inherit; text-decoration: none; }
.hs-post-grid .wp-block-post { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: var(--hs-radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 30px -20px rgb(15 23 42 / .4); }
.hs-post-grid .wp-block-post-featured-image { margin: 0; }
.hs-post-grid .wp-block-post-featured-image img { aspect-ratio: 16/9; object-fit: cover; }
.hs-post-grid .hs-post-body { padding: 1.25rem 1.4rem 1.5rem !important; }
.hs-post-grid .wp-block-post-title { font-size: 1.1rem; text-transform: none; line-height: 1.3; letter-spacing: 0; }
.hs-post-grid .wp-block-post-title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.hs-post-grid .wp-block-post-title a:hover { color: var(--hs-accent); }
.hs-post-grid .wp-block-post-excerpt { font-size: .9rem; color: #475569; }
.hs-post-grid .wp-block-post-terms a { font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; }
.wp-block-query-pagination { margin-top: 2.5rem; font-weight: 700; }

/* ---------------------------------------------------------------- Pages without a hero */
.hs-page-title { display: none; }
.hs-no-hero .hs-page-title { display: block; padding-top: calc(var(--hs-header-h) + 3.5rem); padding-bottom: 1.5rem; }
.hs-no-hero .hs-page-main { min-height: 55vh; }
.hs-no-hero .hs-page-main > .wp-block-post-content { padding-bottom: var(--wp--preset--spacing--60); }

/* ---------------------------------------------------------------- Footer */
.hs-footer { background: #000; color: #cbd5e1; font-size: .88rem; }
.hs-footer h2, .hs-footer h3 { color: var(--hs-accent-on-dark); font-size: .85rem !important; letter-spacing: .15em; margin: 0 0 1rem; }
.hs-footer ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.hs-footer li { margin: 0 0 .55rem; }
.hs-footer a { color: #e2e8f0; text-decoration: none; }
.hs-footer a:hover { color: var(--hs-accent); }
.hs-footer .hs-footer__label { font-size: .65rem; text-transform: uppercase; letter-spacing: .15em; color: var(--wp--preset--color--soft); margin: 0; }
.hs-footer .hs-footer__value { color: #fff; font-weight: 700; margin: 0 0 1rem; }
.hs-footer .wp-block-site-logo img { max-height: 80px; width: auto; }
.hs-footer__bottom { border-top: 1px solid var(--wp--preset--color--ink-2); font-size: .75rem; color: var(--wp--preset--color--soft); }
.hs-footer__bottom p { margin: 0; }
.hs-footer__bottom .hs-footer__legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ---------------------------------------------------------------- Mobile */
@media (max-width: 781px) {
	.wp-block-cover.is-style-hero { min-height: 0 !important; padding-top: calc(var(--hs-header-h) + 1.5rem) !important; }
	.wp-block-group.is-style-badge { margin-top: -2rem !important; margin-left: 0 !important; }
}
.skip-link.screen-reader-text:focus { z-index: 1000; background: #fff; color: #0f172a; padding: .75rem 1rem; }

/* Service and location hero summary (post excerpt). */
.hs-hero-lead p { border-left: 2px solid var(--hs-accent); padding-left: 1.1rem; color: #cbd5e1; max-width: 34rem; font-size: 1.05rem; margin: 0; }
.wp-block-cover .wp-block-post-title { color: #fff; margin: 0 0 1.25rem; }
.wp-block-cover.is-style-hero .wp-block-post-title { font-size: clamp(2.6rem, 6vw, 4.5rem); }

/* Post hero category label */
.hs-terms-eyebrow { color: var(--hs-accent); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .75rem; }
.hs-terms-eyebrow a { color: inherit; text-decoration: none; }

/* ---------------------------------------------------------------- UI review fixes (2026-11-18) */

/* Card grids: a short row stretches to fill the width instead of leaving empty columns,
   and five or six cards wrap three per row instead of leaving one card alone. */
.wp-block-group.is-layout-grid:not(:has(> :nth-child(4))) {
	grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)) !important;
}
.wp-block-group.is-layout-grid:has(> :nth-child(5):last-child),
.wp-block-group.is-layout-grid:has(> :nth-child(6):last-child) {
	grid-template-columns: repeat(auto-fit, minmax(max(min(16rem, 100%), calc(33.333% - 2rem)), 1fr)) !important;
}

/* One link style for every card: the same small uppercase "→" link the service and town cards use. */
.wp-block-group.is-style-card > p:last-child > a:only-child,
.hs-post-grid .wp-block-post-excerpt__more-link {
	color: var(--hs-accent); font-size: .72rem; font-weight: 700; letter-spacing: .12em;
	text-transform: uppercase; text-decoration: none;
}
.wp-block-group.is-style-card > p:last-child > a:only-child::after,
.hs-post-grid .wp-block-post-excerpt__more-link::after { content: " →"; }
.wp-block-group.is-style-card > p:last-child > a:only-child:hover,
.hs-post-grid .wp-block-post-excerpt__more-link:hover { color: var(--wp--preset--color--primary-dark); }

/* Long review lists flow as columns, so short reviews don't sit in tall empty cards. */
.hs-grid:has(> .hs-review:nth-child(4)) { display: block !important; columns: 3 18rem; column-gap: 1.5rem; }
.hs-grid:has(> .hs-review:nth-child(4)) > .hs-review { break-inside: avoid; margin: 0 0 1.5rem; display: inline-block; width: 100%; box-sizing: border-box; }

/* Blog posts: the featured images are infographics with their own text, which showed
   through behind the title. Blur and darken them in the hero. */
.single-post .wp-block-cover .wp-block-cover__image-background { filter: blur(10px) brightness(.55); transform: scale(1.1); }

/* Heroes: one layer of side padding on phones, matching every other section (20px). */
.wp-block-cover.alignfull { padding-left: 0 !important; padding-right: 0 !important; }
.wp-block-cover.alignfull > .wp-block-cover__inner-container {
	padding-left: var(--wp--style--root--padding-left) !important;
	padding-right: var(--wp--style--root--padding-right) !important;
}

/* Mobile menu: a long item that wraps stays centered like the others. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { text-align: center; }

/* Contrast: small brand-colored labels on dark sections and heroes use the lighter tint. */
.has-night-background-color p.is-style-eyebrow,
.has-ink-background-color p.is-style-eyebrow,
.has-ink-2-background-color p.is-style-eyebrow,
.wp-block-cover p.is-style-eyebrow,
.hs-footer p.is-style-eyebrow { color: var(--hs-accent-on-dark); }
