/* Layout blocks (packages/site-blocks, rendered by src/blocks/*.astro) in Susie's Place's look:
   Lexend body, Goldplay headings, teal #29758B, red #CA6063, yellow #F4BA25, rounded cards. */
:root { --sp-radius: 20px; --sp-shadow: 0 8px 30px rgba(41, 117, 139, 0.12); --sp-teal-dark: #1f5d6f; --sp-red-dark: #a83f42; }

/* Bands and cards */
.jh-band { position: relative; margin: 0 0 40px; }
.jh-band--card, .jh-band--lilac, .jh-band--cream, .jh-band--tint, .jh-band--yellow, .jh-band--teal, .jh-band--red, .jh-band--photo { padding: clamp(24px, 4vw, 50px); border-radius: var(--sp-radius); }
.jh-band--card { background: #fff; } /* WordPress's white sections had no shadow */
.jh-band--lilac { background: var(--lilac-bg); }
.jh-band--cream { background: #f7f4ed; }
.jh-band--tint { background: #d8ecef; }
.jh-band--yellow { background: #fdefc8; }
.jh-band--teal { background: var(--blueteel); color: #fff; }
.jh-band--red { background: var(--red); color: #fff; }
.jh-band--teal :is(h2, h3, h4, a), .jh-band--red :is(h2, h3, h4, a) { color: #fff; }
.jh-band--photo { background: #29758b var(--jh-bg-image) center / cover no-repeat; color: #fff; min-height: 320px; display: flex; align-items: center; }
.jh-band--photo::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.75) 55%, rgba(255, 255, 255, 0) 100%); }
.jh-band--photo > * { position: relative; color: var(--contrast); }
.jh-inner { max-width: 1200px; margin: 0 auto; }
/* Exact background colour (from the WordPress section) over the band's named colour */
.jh-band[style*="--jh-bg"] { background-color: var(--jh-bg); }
.jh-feature[style*="--jh-bg"] { background: var(--jh-bg) !important; }
.jh-feature--navy { padding: 24px; border-radius: 0; background: #0c263f; color: #fff; box-shadow: none !important; }
.jh-feature--navy :is(h2, h3, h4, a) { color: #fff; }
/* "Full width" sections (WordPress alignfull): edge to edge, square corners, content in the 1240px container */
.no-sidebar .entry-content .jh-band--full { margin-left: calc(-100vw / 2 + 100% / 2); margin-right: calc(-100vw / 2 + 100% / 2); max-width: 100vw; border-radius: 0; box-shadow: none; padding-inline: max(20px, calc(50vw - 620px)); }
.jh-section-title { text-align: center; margin-bottom: 30px; }
.jh-section-title--accent { font-size: 1.3em; }
.jh-band > .jh-inner > :last-child, .jh-feature > :last-child { margin-bottom: 0; }

/* Buttons */
.jh-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 1.5em; }
.jh-buttons--center { justify-content: center; }
.jh-buttons--grid { display: grid; grid-template-columns: repeat(var(--jh-cols), minmax(0, 1fr)); }
/* Text on the brand red (#CA6063, 3.9:1 with white) fails WCAG AA, so layout-block buttons use the red's
   darker border shade (#a83f42, 6.1:1). Selectors include `a` so they beat the theme's link colors. */
a.jh-button, .entry-content a.jh-button { display: inline-block; padding: 0.75rem 1.6rem; border: 1px solid var(--sp-red-dark); border-radius: 10px; background: var(--sp-red-dark); color: #fff; font-weight: 600; text-decoration: none; text-align: center; }
a.jh-button:is(:hover, :focus), .entry-content a.jh-button:is(:hover, :focus) { background: #8f3437; color: #fff; }
/* Solid buttons: the WordPress theme's "Default Button" (.button in Additional CSS): red gradient, uppercase, 54px tall.
   Its gradient starts at #CA6063 (3.9:1 with white); the start shade here is #BF4A4D (4.9:1) so the label passes AA. */
a.jh-button--solid, .entry-content a.jh-button--solid { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 3px 20px 0; border: 0; border-radius: 10px; background: #bf4a4d linear-gradient(135deg, #bf4a4d 40%, #d03416); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: 0.4px; line-height: 1; text-transform: uppercase; }
a.jh-button--solid:is(:hover, :focus), .entry-content a.jh-button--solid:is(:hover, :focus) { background: #425365 linear-gradient(135deg, #425365 40%, #29758b); color: #fff; }
@media (max-width: 991px) { a.jh-button--solid, .entry-content a.jh-button--solid { min-height: 50px; font-size: 15px; } }
.entry-content a.jh-button--outline { background: transparent; color: var(--sp-red-dark); border-color: var(--sp-red-dark); }
.entry-content a.jh-button--outline:is(:hover, :focus) { background: var(--sp-red-dark); color: #fff; }
.entry-content .jh-band--red a.jh-button, .entry-content .jh-band--teal a.jh-button { background: #fff; color: var(--contrast); border-color: #fff; }
.jh-button strong { font-weight: inherit; }

/* Hero */
.jh-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.jh-hero--image-right .jh-hero__media { order: 2; }
.jh-hero__media img { width: 100%; border-radius: var(--sp-radius); }

/* Callout */
.jh-callout { text-align: center; max-width: 900px; }
.jh-callout--left { text-align: left; max-width: 1200px; }
/* Lists stay left-aligned with their bullets, as on WordPress; in a centred callout the list block itself is centred */
.jh-callout :is(ul, ol) { text-align: left; }
.jh-callout:not(.jh-callout--left) > :is(ul, ol) { width: fit-content; max-width: 100%; margin-inline: auto; padding-left: 1.5em; margin-left: auto; }
.jh-md-image { display: block; max-width: 100%; height: auto; margin: 0 0 1.5em; }
/* Picture band with nothing on it: the whole picture at its own height, no overlay */
.jh-band--photo-only { min-height: var(--jh-min-h, 320px); background-position: center; }
.jh-band--photo-only::before { display: none; }
.jh-band--overlap { margin-bottom: 0; }
.jh-band--overlap + .jh-band, .jh-sec--overlap + .jh-band { position: relative; margin-top: -5px; /* live: inner -70px collapses with outer +65px */ max-width: 98%; margin-inline: auto; padding: 25px; border-radius: var(--sp-radius) var(--sp-radius) 0 0; box-shadow: none; }
.jh-callout__image { display: block; margin: 0 auto 20px; max-width: 100%; height: auto; border-radius: 12px; }
.jh-callout--lead-text { font-size: 1.15em; }
.jh-callout--large-text { font-size: 1.35em; }

/* Text + picture */
.jh-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.jh-split--image-left .jh-split__body { order: 2; }
.jh-split__media { margin: 0; }
.jh-split__media img { width: 100%; height: auto; border-radius: var(--sp-radius); }
.jh-split__video .wp-block-embed { margin: 0; }
.jh-split--form, .jh-split:has(.jh-split__qgiv) { align-items: start; } /* WordPress tops the text beside a donation form */
.jh-split.jh-split--vcenter { align-items: center; }

/* Feature grids */
.jh-features__grid { display: grid; grid-template-columns: repeat(var(--jh-cols), minmax(0, 1fr)); column-gap: var(--jh-gap, 24px); row-gap: var(--jh-row-gap, var(--jh-gap, 24px)); }
.jh-features__intro, .jh-features__outro { max-width: 900px; margin: 0 auto 24px; text-align: center; }
.jh-feature { min-width: 0; }
:is(h3, h4).jh-feature__title { font-size: 1.15em; margin-bottom: 0.5em; }
h2.jh-feature__title { margin-bottom: 20px; }
.jh-feature__button { margin: 0 0 1.5em; }
.jh-feature__button + .has-small-font-size { margin-top: -1.2em; }
.jh-feature__image { display: block; width: var(--jh-img-w, 100%); max-width: 100%; margin-inline: auto; height: auto; margin-bottom: 14px; border-radius: 14px; }
.jh-feature__image--round { width: var(--jh-img-w, 100%); max-width: 100%; aspect-ratio: 1; margin-inline: auto; border-radius: 9999px; object-fit: cover; }
.jh-feature__link a { font-weight: 600; }
.jh-features--tiles .jh-feature, .jh-feature:is(.jh-feature--card, .jh-feature--lilac, .jh-feature--cream, .jh-feature--tint, .jh-feature--yellow, .jh-feature--teal, .jh-feature--red) { padding: 24px; border-radius: var(--sp-radius); background: #fff; }
.jh-feature--lilac { background: var(--lilac-bg) !important; box-shadow: none !important; }
.jh-feature--cream { background: #f7f4ed !important; box-shadow: none !important; }
.jh-feature--tint { background: #d8ecef !important; box-shadow: none !important; }
.jh-feature--yellow { background: #fdefc8 !important; box-shadow: none !important; }
.jh-feature--teal { background: var(--blueteel) !important; color: #fff; }
.jh-feature--red { background: var(--sp-red-dark) !important; color: #fff; } /* brand red text contrast fails AA with white; the approved button red */
.jh-feature--teal :is(h2, h3, h4, a), .jh-feature--red :is(h2, h3, h4, a) { color: #fff; }
.jh-features--tiles .jh-feature { text-align: center; }

/* Image row */
.jh-cards__grid { display: grid; grid-template-columns: repeat(var(--jh-cols), minmax(0, 1fr)); gap: 24px; align-items: center; }
.jh-card__figure { margin: 0; }
.jh-card__figure img { width: 100%; height: auto; border-radius: 12px; }
.jh-cards--rounded .jh-card__figure img { border-radius: 9999px; aspect-ratio: 1; object-fit: cover; }
.jh-cards--rounded .jh-cards__grid { align-items: start; }
.jh-card__label { margin: 0.5em 0 0; text-align: center; font-size: 13px; }
/* Gallery (WordPress gallery block): pictures edge to edge, captions over the bottom of the picture */
.jh-cards--gallery .jh-cards__grid { gap: 16px; align-items: stretch; }
.jh-cards--gallery .jh-card { position: relative; }
.jh-cards--gallery .jh-card__figure, .jh-cards--gallery .jh-card__figure img { height: 100%; }
.jh-cards--gallery .jh-card__figure img { border-radius: 0; object-fit: cover; }
.jh-cards--gallery .jh-card__label { position: absolute; inset: auto 0 0; margin: 0; padding: 40px 8px 8px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)); color: #fff; }

/* FAQ (Spectra FAQ and GB accordions) */
.jh-faq { margin: 0 0 2em; }
.jh-faq__item { border: 1px solid #d8ecef; border-radius: 12px; margin-bottom: 12px; background: #fff; }
.jh-faq__question { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--blueteel); list-style-position: outside; }
.jh-faq__question:hover { color: var(--sp-teal-dark); }
.jh-faq__answer { padding: 0 20px 4px; }

/* Notes, notices, quotes */
.jh-note { margin: 0 0 1.5em; padding: 1em 1.25em; border-radius: 6px; background: #fbe3a4; text-align: center; font-size: 1.15em; }
.jh-note > :last-child { margin-bottom: 0; }
/* Notice: Spectra's inline notice (gold title bar over a gold-bordered box) */
.jh-notice { margin: 0 0 1.5em; }
.jh-notice__title { margin: 0; padding: 15px; border-radius: 3px 3px 0 0; background: #ffd54f; font-size: 24px; font-weight: 700; line-height: 1.4; } /* Spectra's title is an h4 */
.jh-notice__text { margin-top: -3px; padding: 15px; border: 2px solid #ffd54f; border-radius: 0 0 3px 3px; }
.jh-notice__text > :last-child { margin-bottom: 0; }
.emdash-break.emdash-break-dots { color: #767676 !important; } /* WordPress's #808080 dots fail 4.5:1 as text */

/* Latest posts (home: "The latest from Susie's Place") */
.jh-posts .gb-looper-70603c1c { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.jh-posts .gb-loop-item img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; margin-bottom: 16px; }
.jh-posts .gb-loop-item h3 { margin-bottom: 6px; font-size: 1.25em; }
.jh-posts .gb-loop-item h3 a { color: var(--red); text-decoration: none; }
.jh-posts .gb-loop-item h3 a:is(:hover, :focus) { text-decoration: underline; }
.jh-posts .gb-text-efd03fa9 { margin-bottom: 8px; font-size: 0.75em; }

/* Media & text */
.wp-block-media-text { margin-bottom: 2em; }

/* Embeds */
.sp-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 6px; }

/* Map */
.sp-map { margin: 0 0 1.5em; }
.sp-map iframe { display: block; width: 100%; border: 0; border-radius: 12px; }

/* Animation */
.sp-lottie { margin: 0 auto 1.5em; }
.sp-lottie lottie-player { display: block; width: 100%; height: auto; aspect-ratio: 1; }

/* Table */
.wp-block-table table { width: 100%; }

/* Chart */
.sp-chart { margin: 0 0 2em; }
.sp-chart__title { margin-bottom: 10px; font-weight: 700; text-align: center; }
.sp-chart svg { width: 100%; height: auto; font-size: 12px; }
.sp-chart__grid line { stroke: #ddd; }
.sp-chart__grid text, .sp-chart__label { fill: #575760; }
.sp-chart__bar rect { fill: var(--blueteel); }
.sp-chart__value { fill: #222; font-weight: 600; }

/* Column chart (the location pages' caseload chart, same look as on WordPress; values show on hover) */
.sp-colchart-wrap { max-width: 900px; margin: 0 auto 2em; }
.sp-colchart-title { margin: 0 0 1rem; text-align: center; font-size: clamp(1rem, 2.5vw, 1.4rem); color: #222; }
.sp-colchart { display: flex; align-items: flex-end; width: 100%; height: clamp(220px, 40vw, 380px); padding: 10px 4px 0; border-left: 2px solid #ccc; border-bottom: 2px solid #ccc; box-sizing: border-box; }
.sp-colchart__bars { display: flex; align-items: flex-end; width: 100%; height: 100%; gap: clamp(2px, 0.6vw, 8px); }
.sp-colchart__col { position: relative; display: flex; flex: 1 1 0; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.sp-colchart__bar { position: relative; width: 100%; max-width: 42px; border-radius: 3px 3px 0 0; background: var(--bar, #2f6fb0); }
.sp-colchart__bar:hover { background: #1d4f85; }
.sp-colchart-wrap[style] .sp-colchart__bar:hover { background: var(--bar); filter: brightness(0.88); }
.sp-colchart__value { position: absolute; bottom: 100%; left: 50%; z-index: 2; padding: 3px 6px; border-radius: 4px; background: #1d1d1d; color: #fff; font-size: 0.72rem; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateX(-50%); }
.sp-colchart__bar:hover .sp-colchart__value { opacity: 1; }
.sp-colchart--values .sp-colchart__value { opacity: 1; padding: 0 0 4px; background: none; color: #222; font-size: clamp(0.62rem, 1.4vw, 0.8rem); font-weight: 600; }
.sp-colchart--values .sp-colchart { padding-top: 1.6em; }
@media (max-width: 600px) { .sp-colchart--values .sp-colchart__value { writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); } .sp-colchart--values .sp-colchart { padding-top: 2.8em; height: 300px; } }
/* "[inheritlinks]" text token: links take the text colour (bold + underlined), for tinted boxes where the theme red fails contrast */
.jh-md-inherit-links a { color: inherit; text-decoration: underline; }
.sp-colchart__label { margin-top: 6px; font-size: clamp(0.55rem, 1.6vw, 0.78rem); color: #444; text-align: center; }

/* Staff grid (WordPress staff page: teal 40px team headings on the left, three outlined cards per row) */
.sp-staff { max-width: 1080px; margin: 0 auto 50px; }
.sp-staff__title { margin-bottom: 20px; text-align: left; font-size: 40px; color: var(--blueteel); }
.sp-staff__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.sp-staff__grid > li { display: flex; }
.sp-staff__card { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 10px; padding: 30px; border: 1px solid var(--blueteel); border-radius: 30px; background: #fff; text-align: center; text-decoration: none; color: var(--contrast); }
.sp-staff__card img { width: 200px; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.sp-staff__name { font-family: inherit; font-weight: 600; font-size: 1.3em; color: var(--blueteel); }
.sp-staff__card:is(:hover, :focus) .sp-staff__name { text-decoration: underline; }
.sp-staff__role { font-weight: 300; }
@media (max-width: 1024px) { .sp-staff__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .sp-staff__grid { grid-template-columns: 1fr; } .sp-staff__title { font-size: 30px; } }

/* Letters carousel buttons (layout + paper styling come from custom.css) */
.letters-carousel-btn { min-width: 44px; min-height: 44px; }

/* Zoom loupe image link */
.img-zoom-container > a { display: block; }

/* Sitemap list */
.wsp-container ul { margin-bottom: 1.5em; }

@media (max-width: 768px) {
	.jh-hero, .jh-split { grid-template-columns: 1fr; }
	.jh-split--image-left .jh-split__body, .jh-hero--image-right .jh-hero__media { order: 0; }
	.jh-features__grid, .jh-cards__grid, .jh-buttons--grid, .jh-posts .gb-looper-70603c1c { grid-template-columns: 1fr; }
	.jh-band--photo::before { background: rgba(255, 255, 255, 0.85); }
}
@media (min-width: 769px) and (max-width: 1024px) {
	.jh-features__grid { grid-template-columns: repeat(min(var(--jh-cols), 2), minmax(0, 1fr)); }
}

/* Front page */
.jh-band--home { padding: 60px clamp(20px, 5vw, 60px) 65px; border-radius: 50px; background: var(--lilac-bg) var(--jh-bg-image) center / cover no-repeat; }
.jh-band--home .jh-callout { max-width: 1000px; }
.jh-band--home .jh-callout__title { color: var(--blueteel); }
/* Live homepage headline (gb-text-ea142f6b): 30px below, smaller on tablet and phone */
.jh-band--home .jh-callout--h1 .jh-callout__title { margin-bottom: 30px; }
@media (max-width: 1024px) { .jh-band--home .jh-callout--h1 .jh-callout__title { font-size: 1.7em; line-height: 1.1; } }
@media (max-width: 767px) { .jh-band--home .jh-callout--h1 .jh-callout__title { font-size: 30px; } }
.jh-band--home .wp-block-embed { margin: 0 auto 30px; }
.entry-content a.jh-button--pill { padding: 6px 20px; border: 0; border-radius: 15px; background: #f4ba25; color: #000; font-weight: 700; }
@media (max-width: 767px) { .entry-content a.jh-button--pill { font-size: 17px; } } /* live: 17px on phones only */
.jh-band--home .jh-buttons:has(.jh-button--pill) { gap: 30px; }
@media (max-width: 1024px) { .jh-band--home .jh-buttons:has(.jh-button--pill) { gap: 10px; } }
@media (max-width: 767px) { .jh-band--home .jh-buttons:has(.jh-button--pill) { gap: 20px; flex-direction: column; align-items: center; } }
/* Home hero: the white wave along the card's bottom (live gb-shape-71df83c9), behind the service cards */
.jh-band--home { position: relative; isolation: isolate; }
.jh-band--home::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; aspect-ratio: 1200 / 137.6; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 137.6' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 137.6h1200V21.9l-66.7 26.7c-66.7 26.7-200 80-333.3 66.7S533.3 21.9 400 4.2C266.7-13.9 133.3 31.1 66.7 53L0 75.3v62.3z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
/* On wide screens the service cards sit inside the hero card like live: 90px under the text, 65px of card below them */
@media (min-width: 1025px) {
	.home .jh-band--home:has(+ .jh-band .jh-features--cards) { padding-bottom: calc(60px + var(--home-cards-h, 290px) + 65px); }
	.home .jh-band--home + .jh-band .jh-features--cards { margin-top: calc(-1 * (var(--home-cards-h, 290px) + 65px)) !important; }
}
.entry-content a.jh-button--pill:is(:hover, :focus) { background: var(--sp-red-dark); color: #fff; }
.jh-features--cards .jh-feature { padding: 25px 30px 40px; border: 1px solid #dcd5bf; border-radius: 50px; background: #fff; text-align: center; box-shadow: none; }
.home .jh-band--home + .jh-band .jh-features--cards { margin-top: -90px; position: relative; padding: 0 clamp(20px, 5vw, 60px); }
.jh-posts .jh-section-title { font-size: 1.3em; }
.jh-band--navy { padding: clamp(24px, 4vw, 50px); border-radius: var(--sp-radius); background: #13325b; color: #fff; }
.jh-band--navy :is(h2, h3, h4, a) { color: #fff; }
.jh-band--navy .jh-feature:is(.jh-feature--card, .jh-feature--lilac, .jh-feature--cream, .jh-feature--tint, .jh-feature--yellow) { color: var(--contrast); }
.jh-feature ul, .jh-feature ol { text-align: left; }
.jh-features--centered .jh-feature { text-align: center; }
/* Lists in centred text keep their bullets with the words: the list block is centred, its lines left-aligned */
:is(.jh-features--centered .jh-feature, .jh-features__intro, .jh-features__outro, .jh-features--tiles .jh-feature) > :is(ul, ol) { width: fit-content; max-width: 100%; margin-inline: auto; text-align: left; }
.jh-features__intro :is(ul, ol), .jh-features__outro :is(ul, ol) { text-align: left; }
.jh-band--navy .jh-feature--navy { color: #fff; }

/* Feature item icon badge: the homepage service cards' coloured rounded squares (live gb-element-af155a22 etc.) */
.jh-feature__badge { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; padding: 4px; margin: 0 auto 12px; border-radius: 20px; box-sizing: border-box; }
.jh-feature__badge .jh-icon, .jh-feature__badge svg { display: block; width: 42px; height: 42px; }
.jh-feature__badge--yellow { background: #f4ba25; }
.jh-feature__badge--green { background: #659534; }
.jh-feature__badge--teal { background: var(--blueteel, #29758b); }


/* Donation form beside text: stacked on phones the form comes first and the decorative arrow pointing at it goes (as on WordPress) */
@media (max-width: 768px) {
	.jh-split:has(.jh-split__qgiv) .jh-split__qgiv { order: -1; }
	.jh-split:has(.jh-split__qgiv) .jh-md-image { display: none; }
}
body:has(.jh-band--full) { overflow-x: clip; }
.has-slate-color { color: #3d5467 !important; }
/* Full-width pages: text, tables and embeds outside a section band sat inside a 1240px container on WordPress */
.full-width-content .entry-content > :not(.jh-band):not(.jh-sec) { max-width: 1240px; margin-left: auto; margin-right: auto; }
.full-width-content .entry-content > :is(ul, ol):not(.jh-band) { padding-left: 3em; }
.jh-band[style*="--jh-inner-max"] > .jh-inner { max-width: var(--jh-inner-max) !important; }
/* Feature item with its picture behind the text, washed out (WordPress: white 81% over the photo) */
.jh-feature.jh-feature--bg-image, .jh-feature.jh-feature--bg-image[style] { display: flex; flex-direction: column; justify-content: center; padding: 2rem; border-radius: 12px; background: linear-gradient(rgba(255, 255, 255, 0.81), rgba(255, 255, 255, 0.81)), var(--jh-item-img) center / cover no-repeat !important; text-wrap: pretty; }
.jh-feature--tall { grid-row: span 2; }
/* Sections and cards with a thin coloured outline on WordPress (e.g. location pages' contact cards, team cards) */
.jh-band[style*="--jh-border"], .jh-feature[style*="--jh-border"] { border: 1px solid var(--jh-border); border-radius: var(--jh-radius); }
.jh-band[style*="--jh-border"]:not([class*="jh-band--"]) { padding: 25px 30px; }
.jh-feature[style*="--jh-border"] { padding: 20px; background: #fff; }
/* Photo washed out evenly (WordPress: a white gradient layer over the picture) */
.jh-band--photo[style*="--jh-wash"]::before { background: rgba(255, 255, 255, var(--jh-wash)); }
/* Post/page images keep their WordPress image style (EmDash's image CSS would otherwise win) */
.sp-image-style.rounded-corners-img img { border-radius: 50px !important; }
.sp-image-style.shadowing img { border-radius: 25px !important; box-shadow: 0 15px 25px -12px rgba(2, 62, 83, 0.67); }
.sp-image-style.is-style-rounded img { border-radius: 9999px !important; }
/* Dark exact background: white text, as on the navy band */
.jh-band--dark { color: #fff; }
.jh-band--dark :is(h2, h3, h4, a) { color: #fff; }
.jh-split > * { min-width: 0; }
.sp-colchart__col { min-width: 0; }
@media (max-width: 480px) { .sp-colchart__label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 0.6rem; } .sp-colchart { --lab: 3em; } }

/* Section (src/blocks/Section.astro): a GenerateBlocks section as plain fields -> custom properties.
   Defaults are GenerateBlocks' own (no padding, no gap), so a section looks like its WordPress original. */
.jh-sec { position: relative; box-sizing: border-box; width: 100%; max-width: var(--s-width, none); margin: var(--s-mt, 0) auto var(--s-mb, 0); padding: var(--s-pad, 0); min-height: var(--s-minh, 0); background-color: var(--s-bg, transparent); color: var(--s-color, inherit); border: var(--s-border, 0); border-radius: var(--s-radius, 0); }
/* Sub-sections don't inherit their parent band's values (custom properties inherit; their own inline values still win) */
.jh-sec__inner > .jh-sec { --s-align: initial; --s-bg: initial; --s-border: initial; --s-card-bg: initial; --s-card-border: initial; --s-card-pad: initial; --s-card-pad-m: initial; --s-card-radius: initial; --s-color: initial; --s-cols: initial; --s-cols-m: initial; --s-cols-t: initial; --s-gap: initial; --s-grid-justify: initial; --s-grid-pb: initial; --s-img: initial; --s-img-opacity: initial; --s-img-pos: initial; --s-img-repeat: initial; --s-img-size: initial; --s-inner: initial; --s-justify: initial; --s-mb: initial; --s-mb-m: initial; --s-minh: initial; --s-minh-m: initial; --s-mt: initial; --s-overlay: initial; --s-pad: initial; --s-pad-m: initial; --s-pad-t: initial; --s-radius: initial; --s-row-gap: initial; --s-width: initial; }
.jh-sec--img { isolation: isolate; }
.jh-sec--img::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--s-img) var(--s-img-pos, center) / var(--s-img-size, cover) var(--s-img-repeat, no-repeat); opacity: var(--s-img-opacity, 1); pointer-events: none; }
.jh-sec--img::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--s-overlay, transparent); pointer-events: none; }
.jh-sec--shapes { overflow: hidden; }
.jh-sec--full { border-radius: 0; }
.no-sidebar .entry-content .jh-sec--full { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.jh-sec--dark { color: #fff; }
.jh-sec[style*="--s-color"] :is(h1, h2, h3, h4, h5, h6, blockquote, blockquote p) { color: inherit; }
.jh-sec--dark :is(h1, h2, h3, h4, h5, h6, a:not(.jh-button)) { color: #fff; }
.jh-sec__inner { position: relative; z-index: 1; box-sizing: border-box; max-width: var(--s-inner, none); margin-inline: auto; padding: var(--s-card-pad, 0); background: var(--s-card-bg, none); border: var(--s-card-border, 0); border-radius: var(--s-card-radius, 0); }
.jh-sec__grid { display: grid; grid-template-columns: var(--s-cols, repeat(auto-fit, minmax(0, 1fr))); column-gap: var(--s-gap, 0); row-gap: var(--s-row-gap, var(--s-gap, 0)); align-items: var(--s-align, stretch); justify-items: var(--s-justify, stretch); padding-bottom: var(--s-grid-pb, 0); }
.jh-sec__grid--one { grid-template-columns: minmax(0, 1fr); }
.jh-sec__col { position: relative; display: flex; gap: 0 1em; min-width: 0; align-self: var(--c-align, auto); max-width: var(--c-max, none); margin: var(--c-margin, 0); box-sizing: border-box; padding: var(--c-pad, 0); background: var(--c-bg, transparent); color: var(--c-color, inherit); border: var(--c-border, 0); border-radius: var(--c-radius, 0); min-height: var(--c-minh, 0); }
.jh-sec__col[style*="--c-max"] { justify-self: center; width: 100%; }
.jh-sec__grid { justify-content: var(--s-grid-justify, normal); }
.jh-sec__col--img { background: var(--c-bg, transparent) var(--c-img) center / cover no-repeat; }
.jh-sec__col--shadow { box-shadow: var(--sp-shadow); }
.jh-sec__body { flex: 1; min-width: 0; }
/* Columns keep their last paragraph's margin, as GenerateBlocks containers do on WordPress (GeneratePress only trims
   the last child of .entry-content itself); a column that ends in a picture, list or note still ends flush. */
.jh-sec__body > :last-child:not(p, h1, h2, h3, h4, h5, h6), .jh-sec__intro > :last-child, .jh-sec__outro > :last-child { margin-bottom: 0; }
.jh-sec__intro { margin-bottom: 20px; }
.jh-sec__outro { margin-top: 20px; padding: 20px; }
.jh-sec__col.has-text-align-center :is(ul, ol) { width: fit-content; max-width: 100%; margin-inline: auto; text-align: left; }
.jh-sec__col.has-text-align-center .jh-buttons { justify-content: center; }
.jh-sec__buttons--center .jh-buttons { justify-content: center; }
.jh-sec__buttons--end .jh-buttons { justify-content: flex-end; }
.jh-sec__media { margin: 0 0 1.5em; }
.jh-sec__media:last-child { margin-bottom: 0; }
.has-text-align-center > .jh-sec__body > .jh-sec__media, .jh-sec__media[style] { margin-inline: auto; }
.jh-sec__media img { display: block; width: 100%; height: auto; }
.jh-sec__media figcaption, .jh-md-image figcaption { margin-top: 0.5em; font-size: 13px; font-style: italic; text-align: center; }
.jh-sec__media--rounded img, .jh-md-image--rounded img { border-radius: var(--sp-radius); }
.jh-sec__media--round img, .jh-md-image--round img { border-radius: 50%; }
.jh-sec__media--shadow img, .jh-md-image--shadow img { border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); }
figure.jh-md-image { margin: 0 0 1.5em; }
figure.jh-md-image img { display: block; max-width: 100%; height: auto; }
.jh-md-image--center, figure.jh-md-image--center, .has-text-align-center figure.jh-md-image { margin-inline: auto; }
.jh-md-image--rot180 img { transform: rotate(180deg); }
@media (max-width: 767px) { .jh-md-image--hide-m { display: none; } }
.jh-sec--vcenter { display: flex; align-items: center; }
.jh-sec--vcenter > .jh-sec__inner { flex: 1; }
figure.jh-md-image--right { float: right; margin: 0 0 1em 1.5em; }
figure.jh-md-image--end { width: fit-content; margin-left: auto; } /* GB2 media with justify-self:end */
figure.jh-md-image--left { float: left; margin: 0 1.5em 1em 0; }
.jh-sec__body::after { content: ""; display: table; clear: both; }
@media (max-width: 767px) { figure.jh-md-image--right, figure.jh-md-image--left { float: none; margin: 0 auto 1.5em; } }
.jh-md-image--center img, .has-text-align-center figure.jh-md-image img { margin-inline: auto; }
.jh-sec__video { width: 100%; margin: 0 auto 1.5em; }
.jh-sec__video:last-child { margin-bottom: 0; }
.jh-sec__video .sp-embed { margin: 0; }
.jh-sec__icon { display: block; width: var(--c-icon, 34px); margin: 0 0 15px; line-height: 0; }
.has-text-align-center .jh-sec__icon { margin-inline: auto; }
.jh-sec__icon { color: var(--c-icon-color, inherit); }
.jh-sec__icon--bg { box-sizing: content-box; padding: 10px; background: var(--c-icon-bg); border-radius: var(--c-icon-radius, 50%); }
.jh-sec__icon svg { width: 100%; height: auto; fill: currentColor; }
.jh-sec__col--box { width: var(--c-size); height: var(--c-size); align-items: center; justify-content: center; text-align: center; }
.jh-sec__col--box .jh-sec__body { flex: 0 0 auto; }
.jh-sec__col--box .jh-sec__icon { margin: 0 auto; }
@media (max-width: 767px) { .jh-sec__col--box { width: var(--c-size-m, var(--c-size)); height: var(--c-size-m, var(--c-size)); } }
.jh-sec__col .sp-lottie { margin-inline: auto; }
/* A rotated label beside the column (e.g. "BEFORE SUSIE'S PLACE") */
.jh-sec__label { flex: 0 0 25%; min-width: 0; display: flex; justify-content: center; position: relative; font-size: 1.8em; font-weight: 500; color: #858596; white-space: nowrap; align-self: center; } /* WordPress used --contrast-3 #b2b2be (1.8:1); #858596 is the nearest shade passing 3:1 for large text */
.jh-sec__label > div { width: 40px; }
.jh-sec__label span { display: inline-block; width: max-content; padding: 8px; border-radius: 10px; background: var(--base); text-transform: uppercase; transform: rotate(-90deg) translate3d(-50%, 0, 0); transform-origin: left top; }
.jh-sec__shape { position: absolute; left: 0; right: 0; z-index: 0; line-height: 0; pointer-events: none; overflow: hidden; }
.jh-sec__shape--top { top: -1px; transform: scaleY(-1); }
.jh-sec__shape--bottom { bottom: -1px; }
.jh-sec__shape svg { position: relative; left: 50%; display: block; width: calc(100% + 1.3px); min-width: 100%; height: var(--h); transform: translateX(-50%); }
.jh-sec__shape svg.is-flipped { transform: translateX(-50%) scaleX(-1); }
@media (max-width: 1024px) {
	.jh-sec { padding: var(--s-pad-t, var(--s-pad, 0)); }
	.jh-sec__grid { grid-template-columns: var(--s-cols-t, var(--s-cols, repeat(auto-fit, minmax(0, 1fr)))); }
}
@media (max-width: 767px) {
	.jh-sec { padding: var(--s-pad-m, var(--s-pad-t, var(--s-pad, 0))); margin-bottom: var(--s-mb-m, var(--s-mb, 0)); min-height: var(--s-minh-m, var(--s-minh, 0)); }
	.jh-sec__inner { padding: var(--s-card-pad-m, var(--s-card-pad, 0)); }
	.jh-sec__grid { grid-template-columns: var(--s-cols-m, var(--s-cols-t, var(--s-cols, minmax(0, 1fr)))); }
	.jh-sec__col { padding: var(--c-pad-m, var(--c-pad, 0)); margin: var(--c-margin-m, var(--c-margin, 0)); max-width: var(--c-max-m, var(--c-max, none)); }
	.jh-sec--reverse-m .jh-sec__grid { display: flex; flex-direction: column-reverse; }
	.jh-sec__label, .jh-sec__col--hide-m, .jh-sec--hide-m { display: none; }
}
@media (min-width: 768px) { .jh-sec__col--hide-d { display: none; } }

/* WordPress "full width" pictures (alignfull) run edge to edge on full-width pages, as on WordPress */
.no-sidebar.full-width-content .entry-content .emdash-image--align-full { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.no-sidebar.full-width-content .entry-content .emdash-image--align-full img { width: 100%; height: auto; }
.no-sidebar .entry-content .emdash-image--align-wide { margin-left: -20px; margin-right: -20px; width: calc(100% + 40px); max-width: calc(100% + 40px); } /* GeneratePress alignwide: 1240px in the 1200px column */
.no-sidebar .entry-content .emdash-image--align-wide img { width: 100%; height: auto; }

/* Grids whose rows share one height (WordPress .sp-about-grid: grid-template-rows 1fr 1fr 1fr) */
@media (min-width: 768px) { .jh-features__grid--equal-rows { grid-auto-rows: 1fr; } }

/* An icon before a line of formatted text (GenerateBlocks text with an icon) */
.jh-md-icon-line { display: flex; align-items: center; gap: 0.5em; margin-bottom: 20px; }
.jh-md-icon-line.has-text-align-center, .has-text-align-center > .jh-md-icon-line, .jh-sec__col.has-text-align-center > .jh-sec__body > .jh-md-icon-line { justify-content: center; }
.jh-md-icon { display: inline-flex; flex: 0 0 auto; width: 1em; height: 1em; line-height: 0; }
.jh-md-icon svg { width: 1em; height: 1em; fill: currentColor; }
/* A highlighted paragraph in formatted text ("[note] "), like the theme's yellow note */
.jh-md-note { padding: 1em 1.25em; border-radius: 6px; background: #fbe3a4; text-align: center; }
/* A linked card title in its own colour (e.g. the location pages' teal team names) */
.jh-feature__title--colored a { color: inherit; }
/* Red link tiles ("What can you do?" on /prevention/): WordPress #cb5d64 (3.9:1 with white) shown in the approved #a83f42 */
.entry-content a.jh-button--tile-red { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: var(--tile-w, calc(33% - 13px)); max-width: none; min-height: 64px; padding: 25px 20px; border: 0; border-radius: 10px; background: #a83f42; color: #fff; font-weight: 500; line-height: 1.4; text-align: center; box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.08); transition: transform 0.2s ease; }
.entry-content a.jh-button--tile-red:is(:hover, :focus) { background: #8f3437; color: #fff; }
@media (prefers-reduced-motion: no-preference) { .entry-content a.jh-button--tile-red:hover { transform: scale(1.05); } }
.jh-sec__buttons .jh-buttons:has(.jh-button--tile-red) { gap: 20px; margin-inline: auto; justify-content: center; }
@media (max-width: 1024px) { .entry-content a.jh-button--tile-red { width: calc(50% - 10px); } }
@media (max-width: 767px) { .entry-content a.jh-button--tile-red { width: 100%; } }
/* Coloured text in formatted text (a transparent WordPress highlight with a text colour) */
mark.jh-mark-color { background: none; padding: 0; }
/* Cards stacking their parts with one fixed gap (location team cards: photo, name, role) */
.jh-sec__col[style*="--c-stack"] .jh-sec__body { display: flex; flex-direction: column; gap: var(--c-stack); }
.jh-sec__col[style*="--c-stack"] .jh-sec__body > * { margin-top: 0; margin-bottom: 0; }
.jh-md-image--square img { aspect-ratio: 1 / 1; object-fit: cover; }
/* A heading that is all link, in a brand colour (a card's name): the link takes the heading's colour */
.jh-sec :is(h2, h3, h4, h5)[class*="-color"] > a:only-child { color: inherit; }
.jh-sec__col--icon-center .jh-sec__icon { margin-inline: auto; }
.jh-md-note.has-text-align-left { text-align: left; }
.jh-feature[style*="--jh-top"] { border-top: var(--jh-top); }
.jh-sec__col[style*="--c-top"] { border-top: var(--c-top); }
.entry-content a.jh-button--round { border-radius: 999px; padding: 14px 30px; }
/* Spectra FAQ look (forensic interviews, preparing for a visit) */
.jh-faq--spectra .jh-faq__item { margin-bottom: 10px; border: var(--faq-border, 0); border-radius: 2px; background: var(--faq-bg, #fff); }
.jh-faq--spectra .jh-faq__question { display: flex; align-items: center; gap: 10px; padding: 10px; list-style: none; color: #222; font-size: 24px; font-weight: 700; line-height: 1.4; }
.jh-faq--spectra .jh-faq__question::-webkit-details-marker { display: none; }
.jh-faq--spectra .jh-faq__question::before { content: "+"; flex: 0 0 auto; width: 12px; font-weight: 400; line-height: 1; text-align: center; }
.jh-faq--spectra .jh-faq__item[open] > .jh-faq__question::before { content: "\2212"; }
.jh-faq--spectra .jh-faq__question:hover { color: #222; } /* live Spectra rows keep their colour on hover */
.jh-faq--icon-right .jh-faq__question { flex-direction: row-reverse; justify-content: space-between; }
.jh-faq--spectra .jh-faq__answer { padding: 0 10px 10px; color: #313131; }
.jh-sec__col[style*="--c-fs"] { font-size: var(--c-fs); }
.jh-md-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.jh-md-buttons.has-text-align-center { justify-content: center; }
.jh-sec__col--start[style*="--c-max"] { justify-self: start; }

.jh-sec--overlap + .jh-band { margin-top: 0; } /* the section carries the net overlap itself */
/* FAQ look "gb": GenerateBlocks accordion rows (company giving, childhood, predators) */
.jh-faq--gb .jh-faq__item { border: var(--faq-border, 0); border-radius: 0; background: var(--faq-bg, transparent); padding: var(--faq-item-pad, 0); margin: 0 0 var(--faq-gap, 0); color: var(--faq-color, inherit); }
.jh-faq--gb .jh-faq__question { display: flex; align-items: center; justify-content: space-between; gap: .5em; list-style: none; padding: var(--faq-head-pad, 0); background: var(--faq-head-bg, transparent); color: var(--faq-head-color, #000); font-size: var(--faq-head-fs, inherit); font-weight: var(--faq-head-fw, inherit); line-height: 1.6; }
.jh-faq--gb .jh-faq__question::-webkit-details-marker { display: none; }
.jh-faq--gb .jh-faq__question::after { content: ""; flex: 0 0 auto; width: .45em; height: .45em; margin: 0 .15em .2em 0; border: solid currentColor; border-width: 0 .14em .14em 0; transform: rotate(45deg); }
.jh-faq--gb .jh-faq__item[open] > .jh-faq__question { background: var(--faq-open-bg, var(--faq-head-bg, transparent)); font-weight: var(--faq-open-fw, var(--faq-head-fw, inherit)); }
.jh-faq--gb .jh-faq__item[open] > .jh-faq__question::after { transform: rotate(-135deg); margin-bottom: -.2em; }
.jh-faq--gb .jh-faq__question:hover { color: var(--faq-head-color, #000); }
.jh-faq--gb .jh-faq__answer { background: var(--faq-body-bg, transparent); padding: var(--faq-body-pad, 0); margin: var(--faq-body-top, 0) 0 var(--faq-body-gap, 0); }
.jh-faq--gb .jh-faq__answer > :last-child { margin-bottom: 0; }
.jh-sec__form--box { background: var(--f-bg, transparent); border: var(--f-border, 0); border-radius: var(--f-radius, 0); padding: var(--f-pad, 0); }
.jh-sec__body > .jh-sec { margin-top: 1.25em; } /* a box grid inside a column */
.jh-sec .jh-sec { --s-grad: initial; --s-align: initial; --s-bg: initial; --s-border: initial; --s-card-bg: initial; --s-card-border: initial; --s-card-pad: initial; --s-card-pad-m: initial; --s-card-radius: initial; --s-color: initial; --s-cols: initial; --s-cols-m: initial; --s-cols-t: initial; --s-gap: initial; --s-grid-justify: initial; --s-grid-pb: initial; --s-img: initial; --s-img-opacity: initial; --s-img-pos: initial; --s-img-repeat: initial; --s-img-size: initial; --s-inner: initial; --s-justify: initial; --s-mb: initial; --s-mb-m: initial; --s-minh: initial; --s-minh-m: initial; --s-mt: initial; --s-overlay: initial; --s-pad: initial; --s-pad-m: initial; --s-pad-t: initial; --s-radius: initial; --s-row-gap: initial; --s-width: initial; } /* a section inside a section starts from its own settings, not its parent's */
/* Section title with an icon above it (home "The latest from Susie's Place" bookmark, live gb-headline-41f5fcf9) */
.jh-section-title--icon { display: flex; flex-direction: column; align-items: center; }
.jh-section-title__icon { display: block; line-height: 0; padding-bottom: .2em; color: #db5461; }
.jh-section-title__icon svg { width: 34px; height: 34px; fill: currentColor; }
/* Home service cards: live text is 1.3em line height with 10px below; the link is regular weight */
.home .jh-features--cards .jh-feature > p:not(.jh-feature__link) { line-height: 1.3em; margin-bottom: 10px; }
.home .jh-features--cards .jh-feature__link a { font-weight: 300; }
.home .jh-features--cards .jh-feature__badge { margin-bottom: 10px; }
@media (max-width: 768px) { .jh-split[style] { grid-template-columns: 1fr !important; } }
.jh-sec { background-image: var(--s-grad, none); }
.jh-sec__body > .jh-sec:first-child { margin-top: 0; }
.sp-embed--fixed iframe { display: block; width: 100%; height: var(--embed-h); border: 0; }
.jh-faq--gb[style*="--faq-color"] .jh-faq__answer a { color: var(--faq-color); text-decoration: underline; }
/* Icon tokens on a formatted heading: colour/size of the icon, or the icon above the words (ways to help heart) */
.jh-md-icon-line > .jh-md-icon { color: var(--md-icon-color, currentColor); }
.jh-md-icon-line[style*="--md-icon-size"] svg { width: var(--md-icon-size); height: var(--md-icon-size); }
.jh-md-icon-line.jh-md-icon-above { flex-direction: column; gap: 0; }
.jh-md-icon-above > :first-child { line-height: 0; padding-bottom: .4em; }
.jh-md-icon-line[style*="--md-icon-size"] > .jh-md-icon { width: var(--md-icon-size); height: var(--md-icon-size); }
.jh-md-icon-above { align-items: center; text-align: center; }
/* five tiles in a row (2027 celebration sponsorship levels): smaller titles and padding so words fit */
[style*="--jh-cols:5"] > .jh-features__grid .jh-feature { padding: 16px; font-size: .72em; line-height: 1.45; }
[style*="--jh-cols:5"] > .jh-features__grid .jh-feature :is(h3, h4) { font-size: 1.45em; overflow-wrap: normal; }
/* front page "latest" loop: GB container padding 60/60/40, 50px gaps, 30px titles (live) */
.home .jh-posts > .jh-inner { padding: 60px 60px 40px; box-sizing: border-box; }
.home .jh-posts .gb-looper-70603c1c { gap: 50px; }
.home .jh-posts .gb-loop-item h3 { font-size: 30px; line-height: 1.3; }
@media (max-width: 767px) { .home .jh-posts > .jh-inner { padding: 30px 0 20px; } .home .jh-posts .gb-loop-item h3 { font-size: 24px; } }
.home .jh-posts .gb-loop-item h3 { margin-bottom: 10px; }
.home .jh-posts .gb-text-efd03fa9 { line-height: 1.4; margin-bottom: 15px; }
.home .jh-posts .gb-loop-item > :last-child { margin-bottom: 0; }
/* buttons with their own icon before the words (company giving "Email John"); GB Pro "primary" size */
.entry-content a.jh-button--lead-icon { display: inline-flex; align-items: center; gap: 0.5em; }
.jh-button--lead-icon .jh-button__icon svg { width: 1em; height: 1em; fill: currentColor; display: block; }
.entry-content a.jh-button--small { padding: 12px 24px; font-size: 16px; }
.entry-content a.jh-button--square { border-radius: 0; }
.jh-sec__media--square img { aspect-ratio: 1; object-fit: cover; } /* WordPress thumbnail crops (classic galleries) */
.jh-sec__col:has(> .jh-sec__media--square) { justify-content: center; }
/* Round 8: background video behind a section (2026 celebration hero), with a pause/play button */
.jh-sec--video { isolation: isolate; overflow: hidden; }
.jh-sec__bgvideo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.jh-sec__vidbtn { position: absolute; z-index: 2; right: 16px; top: 16px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 6px; background: rgba(0, 0, 0, 0.8); color: #fff; font-size: 13px; line-height: 1.2; cursor: pointer; }
.jh-sec__vidbtn:hover { background: rgba(0, 0, 0, 0.8); }
.jh-sec__vidbtn-play, .jh-sec--video.is-paused .jh-sec__vidbtn-pause { display: none; }
.jh-sec--video.is-paused .jh-sec__vidbtn-play { display: inline; }
/* a button in its own colour (converter: GB2 text buttons that weren't the theme red) */
.entry-content a.jh-button[style*="--btn-bg"] { padding: 1rem 2rem; border-color: var(--btn-bg); background: var(--btn-bg); }
.entry-content a.jh-button[style*="--btn-bg"]:is(:hover, :focus) { border-color: color-mix(in srgb, var(--btn-bg) 80%, #000); background: color-mix(in srgb, var(--btn-bg) 80%, #000); }
/* Round 8: post/page picture captions as WordPress had them (13px, 1.3 line height, #222); a floated
   picture's caption is only as wide as the picture (WordPress core: figure as a table, caption below) */
.entry-content figure.emdash-image figcaption { margin-top: 0.5em !important; font-size: 13px !important; line-height: 1.3; color: #222 !important; text-align: center; } /* !important: EmDash scopes its caption style with attribute selectors */
.entry-content figure.emdash-image:is(.emdash-image--align-left, .emdash-image--align-right) { display: table; }
.entry-content figure.emdash-image:is(.emdash-image--align-left, .emdash-image--align-right) figcaption { display: table-caption; caption-side: bottom; }
/* WordPress gallery blocks keep two pictures a row on phones; an odd last picture takes the whole row */
@media (max-width: 768px) {
	.jh-cards--gallery .jh-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.jh-cards--gallery .jh-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* WordPress core buttons (wp-block-button): pill, 10px 20px, bold */
.entry-content a.jh-button--core { border-radius: 9999px; padding: 10px 20px; font-weight: 700; }
/* floated pictures show at their editor width as on WordPress (EmDash caps floats at half the column) */
@media (min-width: 641px) { .entry-content figure.emdash-image:is(.emdash-image--align-left, .emdash-image--align-right) { max-width: 100%; } }
/* Round 8: a clearly visible keyboard focus ring everywhere (WCAG 2.4.7), in the brand palette:
   blue-teel on light backgrounds (5:1 on white), yellow on the teal menu and dark bands. Mouse clicks
   don't show it (:focus-visible). The letters carousel and form step title keep their own rings. */
:where(a, button, summary, input, select, textarea, [tabindex]:not([tabindex="-1"]), .jh-sec__vidbtn):focus-visible { outline: 3px solid var(--blueteel, #29758b); outline-offset: 2px; }
:where(.gb-navigation, .gb-sub-menu, .jh-sec--dark, .jh-sec--video, .gb-element-f53b9dc3) :where(a, button, summary, [tabindex]):focus-visible { outline-color: var(--yellow, #f4ba25); }
.entry-content :where(a, button, summary):focus-visible { outline-style: solid; }
/* GB Pro "primary" buttons (company giving Email John) turn slate on hover, as on WordPress */
.entry-content a.jh-button--small.jh-button--square:not([style*="--btn-bg"]):is(:hover, :focus) { border-color: #425365; background: #425365; }
