/*
Theme Name: Bloom Building
Theme URI: https://bloom-building.co.uk
Author: Bloom Building & Maintenance Ltd
Description: Twenty Twenty-Five child theme for Bloom Building & Maintenance Ltd. Builders and property maintenance across Reigate, Redhill and the RH area. Includes a Projects photo gallery, a built-in quote form, business details in one place, LocalBusiness and FAQ schema, and /llms.txt for AI search.
Template: twentytwentyfive
Version: 2.4.0
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bloom-building
*/

/*
VOICE   Confident local builder: bold, practical, photographic, like a top construction theme.
IDEA    A building site: navy hoardings, site-yellow and safety-orange markings, real photos of finished rooms.
PICTURE Full-width photo hero under a navy overlay; photo cards for every service; a photo banner.
COLOUR  Built on the colour wheel: navy #11283A (206°) against its exact complement, safety orange #F27C21 (26°), with site yellow #FFC20E (45°) beside it. Yellow is the action highlight, orange marks, #A94F0A is orange as text on light grounds, concrete #F4F3EF grounds.
TYPE    Poppins (self-hosted, shared with Claire Lavelle Fitness): 700 for headings, 600 for buttons and labels, 400 for text. Pill buttons, soft and lifted shadows, rounded cards and accent tints reworked from the Claire Lavelle Fitness system.
LAYOUT  Laptop: headline and buttons left over the photo. Phone: headline, text, buttons, photo stays behind.
*/

/* ---------- Base ---------- */

:root {
	--b-navy: var(--wp--preset--color--contrast);
	--b-deep: var(--wp--preset--color--navy-deep);
	--b-yellow: var(--wp--preset--color--accent-1);
	--b-orange: var(--wp--preset--color--accent-2);
	--b-orange-text: var(--wp--preset--color--orange-deep);
	--b-slate: var(--wp--preset--color--accent-3);
	--b-text2: var(--wp--preset--color--accent-4);
	--b-concrete: var(--wp--preset--color--accent-5);
	--b-line: color-mix(in srgb, var(--wp--preset--color--contrast) 14%, transparent);
	--b-radius: 16px;
	--b-shadow: var(--wp--preset--shadow--soft);
	--b-lift: var(--wp--preset--shadow--lifted);
	--b-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23F27C21'/%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='%2311283A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--b-check-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23FFC20E'/%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='%2311283A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

html { scroll-padding-top: 110px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {  overflow-x: clip; }
h1, h2, h3, h4, .wp-block-post-title {  text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--b-yellow); color: var(--b-navy); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--b-orange-text); outline-offset: 2px; }
:is(.has-contrast-background-color, .has-navy-deep-background-color, .wp-block-cover, .bloom-footer, .bloom-topbar) :where(a, button, input, select, textarea, summary):focus-visible { outline-color: var(--b-yellow); }
:where(.wp-site-blocks) a:where(:not(.wp-element-button)) { text-decoration-color: var(--b-orange-text); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
p:empty { display: none; }

.wp-site-blocks > * { margin-block: 0; }
.bloom-main > *,
.bloom-main > .alignfull,
.bloom-main .wp-block-post-content > .alignfull { margin-block: 0 !important; }

.wp-element-button, .wp-block-button__link {  letter-spacing: 0.01em; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.wp-block-button.is-style-outline > .wp-block-button__link { border: 2px solid currentColor; background: transparent; color: var(--b-navy); padding: calc(0.95rem - 2px) calc(1.75rem - 2px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--b-navy); border-color: var(--b-navy); color: #fff; }

/* Dark bands and photo covers: white text, outline buttons in white */
:is(.has-contrast-background-color, .has-navy-deep-background-color, .wp-block-cover) :is(h1, h2, h3, h4) { color: #fff; }
:is(.has-contrast-background-color, .has-navy-deep-background-color, .wp-block-cover) a:not(.wp-element-button) { color: inherit; }
:is(.has-contrast-background-color, .has-navy-deep-background-color, .wp-block-cover) .is-style-outline > .wp-block-button__link { color: #fff; }
:is(.has-contrast-background-color, .has-navy-deep-background-color, .wp-block-cover) .is-style-outline > .wp-block-button__link:hover { background: #fff; border-color: #fff; color: var(--b-navy); }
/* Yellow bands: navy buttons */
.has-accent-1-background-color .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: var(--b-navy); color: #fff; }
.has-accent-1-background-color .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { background: var(--b-deep); }

/* Kicker above headings */
.bloom-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 12px !important; font-size: 0.9375rem; font-weight: 700;  color: var(--b-orange-text); }
.bloom-kicker::before { content: ""; flex: none; width: 32px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--b-yellow), var(--b-orange)); }
:is(.has-contrast-background-color, .has-navy-deep-background-color, .wp-block-cover) .bloom-kicker { color: var(--b-yellow); }
.has-accent-1-background-color .bloom-kicker { color: var(--b-navy); }

/* Check lists */
.bloom-checks { list-style: none; padding: 0; margin: 0; }
.bloom-checks > li { position: relative; padding-left: 32px; margin: 0 0 10px; font-weight: 600; }
.bloom-checks > li::before { content: ""; position: absolute; left: 0; top: 0.18em; width: 20px; height: 20px; background: var(--b-check) center / contain no-repeat; }
.bloom-checks--light > li { color: #fff; }
.bloom-checks--light > li::before,
:is(.has-contrast-background-color, .has-navy-deep-background-color) .bloom-checks > li::before { background-image: var(--b-check-light); }
.is-style-bloom-tiles { list-style: none; padding-left: 0; }
.is-style-bloom-tiles > li { position: relative; padding-left: 32px; margin-block: 0.55em; }
.is-style-bloom-tiles > li::before { content: ""; position: absolute; left: 0; top: 0.18em; width: 20px; height: 20px; background: var(--b-check) center / contain no-repeat; }

/* ---------- Header ---------- */

header.wp-block-template-part { position: sticky; top: -44px; z-index: 50; }
body.admin-bar header.wp-block-template-part { top: -12px; }
.bloom-topbar { padding-block: 0; font-size: 0.875rem; }
.bloom-topbar__row { min-height: 44px; gap: 24px; }
.bloom-topbar__row p { margin: 0; color: #D6DDE1; }
.bloom-topbar__end { gap: 22px; }
.bloom-topbar__phone a { color: #fff; font-weight: 700; text-decoration: none; }
.bloom-topbar__phone a::before { content: "☎ "; color: var(--b-yellow); }
.bloom-header { background: #fff; padding-block: 14px; box-shadow: 0 1px 0 var(--b-line), 0 10px 24px -20px rgb(11 28 42 / 0.4); }
.bloom-header__row { gap: 24px; min-height: 62px; }
.bloom-header__end { gap: 28px; }
.bloom-brand { gap: 12px; align-items: center; }
.bloom-brand .wp-block-image { margin: 0; flex: none; }
.bloom-brand__mark img { display: block; height: 60px; width: auto; }
.bloom-brand__text > * { margin: 0; }
.bloom-brand__name { font-size: 1.5rem; font-weight: 700;  letter-spacing: 0.14em; line-height: 1; text-transform: uppercase; text-shadow: 2px 2px 0 var(--wp--preset--color--sand); }
.bloom-brand__name a { color: var(--b-navy); text-decoration: none; }
.bloom-brand__sub { margin-top: 6px !important; font-size: 0.8125rem; font-weight: 700;  letter-spacing: 0.12em; line-height: 1.2; text-transform: uppercase; color: var(--b-navy); white-space: nowrap; }
.bloom-brand--light .bloom-brand__name { color: #fff; text-shadow: 2px 2px 0 rgb(212 198 171 / 0.5); }
.bloom-brand--light .bloom-brand__sub { color: #fff; }
.bloom-nav { gap: 26px; }
.bloom-nav .wp-block-navigation-item__content { color: var(--b-navy); font-weight: 700; text-decoration: none; }
.bloom-nav .wp-block-navigation-item__content:hover { color: var(--b-orange); }
.bloom-nav .wp-block-navigation__submenu-container { border: 0 !important; border-top: 3px solid var(--b-yellow) !important; padding: 8px !important; min-width: 270px !important; box-shadow: var(--b-shadow); }
.bloom-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 9px 12px !important; }
.bloom-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px max(5vw, 16px); }
.bloom-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.25rem; }
.bloom-header__cta .wp-block-button__link { white-space: nowrap; }
.bloom-social--top { gap: 6px !important; }
@media (max-width: 1180px) { .bloom-brand__sub { display: none; } .bloom-nav { gap: 18px; } .bloom-header__end { gap: 18px; } .bloom-topbar__area { display: none; } }
@media (max-width: 781px) {
	header.wp-block-template-part,
	body.admin-bar header.wp-block-template-part { top: 0; }
	.bloom-topbar { display: none; }
	.bloom-header .bloom-header__cta { display: none; }
	.bloom-brand__mark img { height: 48px; }
	.bloom-brand__sub { display: block; font-size: 0.8125rem; letter-spacing: 0.08em; }
}

/* ---------- Sections ---------- */

.bloom-section { padding-block: clamp(56px, 7.5vw, 112px); }
.bloom-head { gap: 16px 56px; margin-bottom: clamp(32px, 4vw, 52px); }
.bloom-head > * { margin: 0; }
.bloom-head__titles > * { margin: 0; }
.bloom-head h2 { max-width: 16em; font-size: clamp(2rem, 3.6vw, 2.875rem); }
.bloom-head__intro { max-width: 46ch; color: var(--b-text2); font-size: 1.0625rem; }
:is(.has-contrast-background-color, .has-navy-deep-background-color) .bloom-head__intro { color: #D6DDE1; }
.bloom-lede { font-size: 1.1875rem; line-height: 1.55; color: var(--b-text2); max-width: 50ch; }
.wp-block-cover .bloom-lede, :is(.has-contrast-background-color, .has-navy-deep-background-color) .bloom-lede { color: #E4E9EC; }
.bloom-crumb { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.75em !important; }
.bloom-crumb a { color: var(--b-yellow) !important; text-decoration: none; }
.bloom-more { margin-top: clamp(28px, 4vw, 48px) !important; }

/* ---------- Covers (hero, page heroes, banner) ---------- */

.wp-block-cover.bloom-hero,
.wp-block-cover.bloom-pagehero,
.wp-block-cover.bloom-banner { padding-block: clamp(64px, 9vw, 130px); align-items: center; }
.wp-block-cover.bloom-hero .wp-block-cover__background,
.wp-block-cover.bloom-pagehero .wp-block-cover__background {
	background: linear-gradient(90deg, rgb(11 28 42 / 0.94) 0%, rgb(11 28 42 / 0.78) 45%, rgb(11 28 42 / 0.32) 100%) !important;
	opacity: 1 !important;
}
.wp-block-cover.bloom-banner .wp-block-cover__background { background: linear-gradient(90deg, rgb(17 40 58 / 0.95), rgb(17 40 58 / 0.6)) !important; opacity: 1 !important; }
.bloom-hero__content, .bloom-pagehero__content, .bloom-banner__content { max-width: var(--wp--style--global--wide-size); }
.bloom-hero__content > *, .bloom-pagehero__content > *, .bloom-banner__content > * { max-width: 760px; }
.bloom-hero__title { font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 20px; }
.bloom-pagehero__title { font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.05; margin: 0 0 16px; }
.bloom-banner__title { font-size: clamp(2.125rem, 4vw, 3.25rem); margin: 0 0 14px; }
.wp-block-cover .wp-block-buttons { margin-top: 28px; }
.bloom-hero .bloom-checks { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px 28px; max-width: none; }
.bloom-hero .bloom-checks > li { margin: 0; }
@media (max-width: 600px) {
	.wp-block-cover.bloom-hero { min-height: 0 !important; }
	.wp-block-cover.bloom-hero .wp-block-cover__background,
	.wp-block-cover.bloom-pagehero .wp-block-cover__background { background: rgb(11 28 42 / 0.82) !important; }
}

/* ---------- Yellow prompt band ---------- */

.bloom-prompt { padding-block: clamp(28px, 3.5vw, 40px); }
.bloom-prompt__row { gap: 16px 40px; }
.bloom-prompt__text > * { margin: 0; }
.bloom-prompt__title { font-size: clamp(1.5rem, 2.4vw, 1.875rem); margin-bottom: 4px !important; }
.bloom-prompt .is-style-outline > .wp-block-button__link { color: var(--b-navy); }

/* ---------- About introduction with photo collage ---------- */

.bloom-intro__cols { gap: clamp(32px, 6vw, 88px); }
.bloom-collage { position: relative; padding: 0 12% 14% 0; }
.bloom-collage > * { margin: 0 !important; }
.bloom-collage__main img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--b-radius); }
.bloom-collage__inset { position: absolute; right: 0; bottom: 0; width: 52%; }
.bloom-collage__inset img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--b-radius); border: 8px solid #fff; box-shadow: var(--b-shadow); }
.bloom-collage__badge { position: absolute; left: -12px; top: 24px; padding: 18px 20px; background: var(--b-yellow); color: var(--b-navy); font-weight: 700;  font-size: 1.125rem; line-height: 1.2; border-radius: 4px; box-shadow: var(--b-shadow); }
.bloom-intro h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); }
.bloom-intro p { color: var(--b-text2); }
.bloom-intro .bloom-checks { margin: 24px 0 28px; }
@media (max-width: 600px) { .bloom-collage__badge { left: 8px; top: 8px; font-size: 1rem; padding: 12px 14px; } }

/* ---------- Service cards ---------- */

.bloom-cards.bloom-cards,
.bloom-features.bloom-features,
.bloom-projects__query .wp-block-post-template.wp-block-post-template,
.bloom-guides__query .wp-block-post-template.wp-block-post-template { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
@media (max-width: 1000px) {
	.bloom-cards.bloom-cards, .bloom-features.bloom-features,
	.bloom-projects__query .wp-block-post-template.wp-block-post-template,
	.bloom-guides__query .wp-block-post-template.wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.bloom-cards.bloom-cards, .bloom-features.bloom-features,
	.bloom-projects__query .wp-block-post-template.wp-block-post-template,
	.bloom-guides__query .wp-block-post-template.wp-block-post-template { grid-template-columns: minmax(0, 1fr); }
}
.bloom-card { background: #fff; border-radius: var(--b-radius); overflow: hidden; box-shadow: var(--b-shadow); display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.bloom-card:hover { transform: translateY(-4px); box-shadow: var(--b-lift); }
@media (prefers-reduced-motion: reduce) { .bloom-card, .bloom-card:hover { transition: none; transform: none; } }
.bloom-card > * { margin: 0 !important; }
.bloom-card__img a { display: block; }
.bloom-card__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--b-concrete); }
.bloom-card__body { padding: 24px 26px 26px; border-top: 4px solid var(--b-yellow); flex: 1; }
.bloom-card__body > * { margin: 0; }
.bloom-card__body > * + * { margin-top: 10px; }
.bloom-card__title { font-size: 1.3125rem; }
.bloom-card__title a { color: var(--b-navy); text-decoration: none; }
.bloom-card__body p { color: var(--b-text2); }
.bloom-card__more { padding-top: 6px; }
.bloom-card__more a { color: var(--b-orange-text) !important; font-weight: 700; text-decoration: none; }
.bloom-card__more a:hover { text-decoration: underline; }

/* ---------- Figures band ---------- */

.bloom-stats { padding-block: clamp(36px, 5vw, 60px); }
.bloom-stats__grid.bloom-stats__grid { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 24px; }
.bloom-stat > * { margin: 0; }
.bloom-stat__value { font-size: clamp(2.5rem, 4.6vw, 3.5rem); font-weight: 700;  line-height: 1; }
.bloom-stat__label { margin-top: 8px !important; font-weight: 700; }

/* ---------- Steps ---------- */

.bloom-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.bloom-steps > li { counter-increment: step; margin: 0; color: var(--b-text2); position: relative; }
.bloom-steps > li::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; background: var(--b-orange); color: var(--b-navy); font-weight: 700;  font-size: 1.25rem; border-radius: 50%; box-shadow: 0 0 0 6px color-mix(in srgb, var(--b-orange) 18%, transparent); }
.bloom-steps strong { display: block; color: var(--b-navy); font-size: 1.125rem;  margin-bottom: 6px; }
.bloom-steps--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) {
	.bloom-steps, .bloom-steps--three { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.bloom-steps > li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; }
	.bloom-steps > li::before { grid-row: span 2; margin: 0; }
}

/* ---------- Extensions spotlight ---------- */

.bloom-spot__cols { gap: clamp(32px, 6vw, 80px); }
.bloom-spot__img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--b-radius); }
.bloom-spot h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); }
.bloom-spot p { color: #D6DDE1; }
.bloom-ext__types.bloom-ext__types { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block: 28px !important; }
.bloom-ext__type > * { margin: 0; }
.bloom-ext__type h3 { font-size: 1.0625rem; margin-top: 12px; }
.bloom-ext__type p { font-size: 0.9375rem; margin-top: 6px; }
.bloom-ext__art img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #fff; border-radius: 4px; padding: 6px; }
.bloom-ext__types--light .bloom-ext__art img { background: var(--b-concrete); }
.bloom-ext__types--light p { color: var(--b-text2); }
@media (max-width: 700px) { .bloom-ext__types.bloom-ext__types { grid-template-columns: minmax(0, 1fr); } .bloom-ext__art img { aspect-ratio: 2 / 1; } }

/* ---------- Features ---------- */

.bloom-feature { padding: 30px; border-radius: var(--b-radius); background: #fff; box-shadow: var(--b-shadow); }
.bloom-feature > * { margin: 0; }
.bloom-feature__icon img { display: block; width: 56px; height: 56px; padding: 11px; border-radius: 50%; background: var(--wp--preset--color--orange-30); }
.bloom-feature__title { font-size: 1.1875rem; margin-top: 18px; }
.bloom-feature p { margin-top: 8px; color: var(--b-text2); }

/* ---------- Projects and guides ---------- */

.bloom-project-card > *, .bloom-guide-card > * { margin-block: 0; }
.bloom-project-card .wp-block-post-featured-image,
.bloom-guide-card .wp-block-post-featured-image { margin-bottom: 14px; overflow: hidden; border-radius: var(--b-radius); background: var(--b-concrete); }
.bloom-project-card .wp-block-post-featured-image img,
.bloom-guide-card .wp-block-post-featured-image img { transition: transform 0.5s ease; }
.bloom-project-card:hover .wp-block-post-featured-image img,
.bloom-guide-card:hover .wp-block-post-featured-image img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .bloom-project-card img, .bloom-guide-card img { transition: none !important; transform: none !important; } }
.bloom-project-card .wp-block-post-title, .bloom-guide-card .wp-block-post-title { font-size: 1.1875rem; line-height: 1.25; }
.bloom-project-card .wp-block-post-title a, .bloom-guide-card .wp-block-post-title a { color: var(--b-navy); text-decoration: none; }
.bloom-project-card__meta { margin-top: 4px; font-size: 0.9375rem; color: var(--b-orange-text); font-weight: 700; }
.bloom-project-card__meta a { color: inherit; text-decoration: none; }
.bloom-guide-card__date { font-size: 0.875rem; color: var(--b-orange-text); font-weight: 700; margin-bottom: 6px !important; }
.bloom-guide-card .wp-block-post-excerpt { margin-top: 8px; color: var(--b-text2); font-size: 1rem; }
.bloom-guide-card .wp-block-post-excerpt__more-text { display: none; }
.bloom-filter { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.bloom-filter li { margin: 0; }
.bloom-filter a { display: inline-block; padding: 8px 16px; border: 2px solid currentColor; border-radius: 999px; font-weight: 700; text-decoration: none !important; line-height: 1.3; }
.bloom-filter a:hover, .bloom-filter .current-cat > a { background: var(--b-yellow); border-color: var(--b-yellow); color: var(--b-navy) !important; }
.bloom-project-meta { gap: 8px 28px; font-weight: 700; }
.bloom-project-meta > * { margin: 0; }
.bloom-project .wp-block-post-featured-image { margin-bottom: clamp(28px, 4vw, 48px); }
.bloom-project .wp-block-post-featured-image img { border-radius: var(--b-radius); }
.bloom-project .wp-block-post-content > .wp-block-gallery { max-width: var(--wp--style--global--wide-size) !important; margin-block: 32px; }
.bloom-project .wp-block-gallery img { border-radius: 4px; }

/* ---------- Areas: arched tiles ---------- */

.bloom-areas__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.bloom-areas__tiles > li { margin: 0; padding: 62px 14px 20px; background: #fff; border: 2px solid var(--b-navy); border-radius: 50% 50% 4px 4px / 60px 60px 4px 4px; text-align: center; font-size: 0.9375rem; line-height: 1.4; color: var(--b-text2); }
.bloom-areas__tiles > li:nth-child(odd) { background: var(--b-yellow); border-color: var(--b-yellow); color: var(--b-navy); }
.bloom-areas__tiles strong { display: block; margin-bottom: 6px; font-size: 1.625rem; font-weight: 700;  color: var(--b-navy); line-height: 1; }
@media (max-width: 1100px) { .bloom-areas__tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .bloom-areas__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Reviews ---------- */

.bloom-reviews { padding-block: clamp(36px, 5vw, 56px); }
.bloom-reviews__row { gap: 20px 48px; }
.bloom-reviews__text > * { margin: 0; }
.bloom-reviews__text > * + * { margin-top: 8px; }
.bloom-reviews__title { font-size: clamp(1.625rem, 2.6vw, 2.125rem); }
.bloom-reviews__text p { color: #D6DDE1; max-width: 56ch; }

/* ---------- FAQ ---------- */

.bloom-faq__cols { gap: clamp(28px, 5vw, 80px); }
.bloom-faq { background: #fff; border-radius: var(--b-radius); margin: 0 0 12px !important; padding: 0 22px; box-shadow: 0 1px 0 var(--b-line); }
.bloom-faq summary { position: relative; list-style: none; cursor: pointer; padding: 20px 52px 20px 0; font-weight: 700;  font-size: 1.125rem; line-height: 1.35; color: var(--b-navy); }
.bloom-faq summary::-webkit-details-marker { display: none; }
.bloom-faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: linear-gradient(var(--b-navy) 0 0) center / 12px 2.5px no-repeat, linear-gradient(var(--b-navy) 0 0) center / 2.5px 12px no-repeat, var(--b-yellow); }
.bloom-faq[open] summary::after { background: linear-gradient(#fff 0 0) center / 12px 2.5px no-repeat, var(--b-orange); }
.bloom-faq > p { margin: 0 0 20px; color: var(--b-text2); max-width: 66ch; }
.bloom-faq > p + p { margin-top: -8px; }
.bloom-faqs h2 { font-size: clamp(2rem, 3.4vw, 2.625rem); }
.bloom-faqs:not(.has-background) .bloom-faq { background: var(--b-concrete); }

/* ---------- Panels and body copy ---------- */

.bloom-body__cols { gap: clamp(28px, 5vw, 80px); }
.bloom-body h2 { font-size: clamp(1.625rem, 2.6vw, 2rem); margin-top: 2em; }
.bloom-body .wp-block-column > h2:first-child, .bloom-body .wp-block-column > .bloom-kicker + h2 { margin-top: 0; }
.bloom-body p { max-width: 68ch; }
.bloom-body .bloom-checks > li { font-weight: 500; }
.bloom-panel { background: var(--b-concrete); padding: clamp(24px, 3vw, 34px); border-radius: var(--b-radius); border-top: 5px solid var(--b-yellow); }
.bloom-panel + .bloom-panel { margin-top: 20px; }
.bloom-panel > * { margin-block: 0; }
.bloom-panel > * + * { margin-top: 14px; }
.bloom-panel__title { font-size: 1.3125rem; }
.bloom-panel--navy { border-top-color: var(--b-orange); }
.bloom-panel--navy p { color: #D6DDE1; }
.bloom-panel--navy .wp-block-buttons { flex-direction: column; align-items: stretch; }
.bloom-panel--navy .wp-block-button { width: 100%; }
.bloom-panel--navy .wp-block-button__link { width: 100%; text-align: center; }
@media (min-width: 782px) { .bloom-sticky { position: sticky; top: 110px; align-self: flex-start; } }

/* Simple page headers in templates */
.bloom-pagehero--simple.has-background { background-color: var(--b-navy) !important; color: #fff; padding-block: clamp(48px, 6vw, 84px); }
.bloom-pagehero--simple :is(h1, .wp-block-post-title, .wp-block-query-title) { color: #fff; }
.bloom-pagehero--simple .bloom-lede { color: #E4E9EC; }
.bloom-pagehero--simple a { color: #fff; }

/* ---------- Quote band and booking form ---------- */

.bloom-quote h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); }
.bloom-quote p { color: #D6DDE1; }
.bloom-quote__cols { gap: clamp(28px, 5vw, 72px); }
.bloom-quote__contact { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 0.18); }
.bloom-quote__contact p { margin: 0 0 8px; color: #fff; font-weight: 700; }
.bloom-quote__buttons { margin-top: 24px; }
.bloom-quote__panel { background: #fff; color: var(--b-navy); padding: clamp(22px, 3vw, 40px); border-radius: var(--b-radius); border-top: 6px solid var(--b-yellow); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.6); }
.bloom-quote__panel p { color: inherit; }
.bloom-form { margin: 0; }
.bloom-form p { margin: 0; }
.bloom-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bloom-form__field { margin-bottom: 16px !important; }
.bloom-form__field label { display: block; margin-bottom: 6px; font-size: 0.9375rem; font-weight: 700; color: var(--b-navy); }
.bloom-form__opt { font-weight: 400; color: var(--b-text2); }
.bloom-form :is(input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea) {
	display: block; box-sizing: border-box; width: 100%; min-height: 50px; padding: 12px 14px;
	font: inherit; font-size: 16px; color: var(--b-navy); background: #fff; border: 1.5px solid #A9B4B9; border-radius: 4px;
}
.bloom-form select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--b-navy) 50%), linear-gradient(135deg, var(--b-navy) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.bloom-form textarea { min-height: 128px; resize: vertical; }
.bloom-form :is(input, select, textarea):hover { border-color: var(--b-slate); }
.bloom-form :is(input, select, textarea):focus { outline: 3px solid var(--b-yellow); outline-offset: 0; border-color: var(--b-navy); }
.bloom-form input[type="file"] { display: block; width: 100%; box-sizing: border-box; padding: 14px; font: inherit; font-size: 15px; color: var(--b-text2); background: var(--b-concrete); border: 2px dashed #A9B4B9; border-radius: 4px; }
.bloom-form input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; font: inherit; font-weight: 700; color: var(--b-navy); background: var(--b-yellow); border: 0; border-radius: 4px; cursor: pointer; }
.bloom-form__hint { display: block; margin-top: 6px; font-size: 0.875rem; color: var(--b-orange-text); font-weight: 700; }
.bloom-form__privacy { font-size: 0.875rem; color: var(--b-text2) !important; margin: 4px 0 18px !important; }
.bloom-form__submit .wp-element-button { min-height: 54px; padding-inline: 30px; cursor: pointer; border: 0; font-size: 1.0625rem; }
.bloom-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.bloom-form__error { margin-bottom: 18px !important; padding: 12px 14px; background: #FBEDEB; color: #8A1F14 !important; border-radius: 4px; font-weight: 700; }
.bloom-form--done { padding: 8px 0; }
.bloom-form__done-title { font-size: 1.375rem; font-weight: 700;  margin-bottom: 8px !important; }
@media (max-width: 600px) { .bloom-form__row { grid-template-columns: minmax(0, 1fr); gap: 0; } .bloom-form__submit .wp-element-button { width: 100%; } }

/* ---------- Articles ---------- */

.bloom-article { padding-block: clamp(36px, 5vw, 72px); }
.bloom-article__head { margin-bottom: clamp(24px, 3vw, 40px); }
.bloom-article__title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; margin: 0; }
.bloom-article__meta { margin-top: 12px; color: var(--b-orange-text); font-weight: 700; font-size: 0.9375rem; }
.bloom-article .bloom-crumb a { color: var(--b-orange-text) !important; }
.bloom-article .wp-block-post-content > h2 { margin-top: 2em; font-size: clamp(1.5rem, 2.4vw, 1.875rem); }

/* ---------- Footer ---------- */

.bloom-footer { padding-block: clamp(56px, 6vw, 88px) 28px; font-size: 0.9375rem; border-top: 6px solid var(--b-yellow); }
.bloom-footer p { color: #C9D2D7; }
.bloom-footer a { color: #fff; text-decoration: none; }
.bloom-footer a:hover { color: var(--b-yellow); }
.bloom-footer .bloom-brand { margin-bottom: 18px; }
.bloom-footer .bloom-brand__mark img { height: 52px; }
.bloom-footer__tagline { color: var(--b-yellow) !important; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;  }
.bloom-footer__small { font-size: 0.875rem; color: #9FADB4 !important; }
.bloom-footer__title { font-size: 1.0625rem; color: #fff; margin: 0 0 16px; }
.bloom-footer__links { list-style: none; padding: 0; margin: 0; }
.bloom-footer__links li { margin: 0 0 9px; color: #C9D2D7; }
.bloom-footer__cols { gap: 32px 48px; }
.bloom-footer__buttons { margin-top: 18px; }
.bloom-footer__base { margin-top: 48px !important; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 0.14); gap: 8px 24px; }
.bloom-footer__base p { margin: 0; font-size: 0.875rem; }

/* Social icons */
.bloom-social { gap: 8px !important; margin: 18px 0 0 !important; }
.bloom-social--top { margin: 0 !important; }
.bloom-social .wp-social-link { background: rgb(255 255 255 / 0.12) !important; color: #fff !important; transition: background-color 0.15s; }
.bloom-social .wp-social-link:hover { background: var(--b-yellow) !important; color: var(--b-navy) !important; transform: none; }
.bloom-social--top .wp-social-link { background: transparent !important; }
.bloom-social--top .wp-social-link a { padding: 4px !important; }

/* WhatsApp buttons */
.bloom-wa > .wp-block-button__link::before { content: ""; display: inline-block; width: 1.1em; height: 1.1em; margin-right: 8px; vertical-align: -0.18em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3a13 13 0 0 0-11.2 19.6L3 29l6.6-1.7A13 13 0 1 0 16 3zm5.8 15.7c-.3-.2-1.9-.9-2.2-1s-.5-.2-.7.2l-1 1.2c-.2.2-.4.2-.7.1a8.7 8.7 0 0 1-4.3-3.8c-.3-.6.3-.5.9-1.7.1-.2 0-.4 0-.6l-1-2.4c-.3-.6-.5-.5-.7-.5h-.6c-.2 0-.6.1-.9.4-.3.3-1.2 1.2-1.2 2.9s1.2 3.4 1.4 3.6c.2.2 2.4 3.7 5.9 5.2 2.2.9 3 1 4.1.8.7-.1 1.9-.8 2.2-1.5.3-.7.3-1.4.2-1.5-.1-.2-.3-.2-.6-.4z'/%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 32 32'%3E%3Cpath d='M16 3a13 13 0 0 0-11.2 19.6L3 29l6.6-1.7A13 13 0 1 0 16 3zm5.8 15.7c-.3-.2-1.9-.9-2.2-1s-.5-.2-.7.2l-1 1.2c-.2.2-.4.2-.7.1a8.7 8.7 0 0 1-4.3-3.8c-.3-.6.3-.5.9-1.7.1-.2 0-.4 0-.6l-1-2.4c-.3-.6-.5-.5-.7-.5h-.6c-.2 0-.6.1-.9.4-.3.3-1.2 1.2-1.2 2.9s1.2 3.4 1.4 3.6c.2.2 2.4 3.7 5.9 5.2 2.2.9 3 1 4.1.8.7-.1 1.9-.8 2.2-1.5.3-.7.3-1.4.2-1.5-.1-.2-.3-.2-.6-.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Floating contact buttons: fixed to the right-hand side on every screen */
.bloom-float { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.bloom-float__btn { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; text-decoration: none !important; box-shadow: 0 10px 24px -8px rgb(11 28 42 / 0.55), 0 0 0 3px #fff; transition: transform 0.15s ease; }
.bloom-float__btn:hover, .bloom-float__btn:focus-visible { transform: scale(1.06); }
.bloom-float__btn--call { background: var(--b-yellow); color: var(--b-navy) !important; }
.bloom-float__btn--wa { background: #25D366; color: var(--b-navy) !important; }
.bloom-float__btn--book { background: var(--b-navy); color: #fff !important; }
.bloom-float__label { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); padding: 8px 14px; white-space: nowrap; background: var(--b-deep); color: #fff; font-size: 0.9375rem; font-weight: 700; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity 0.15s ease; }
.bloom-float__btn:hover .bloom-float__label, .bloom-float__btn:focus-visible .bloom-float__label { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .bloom-float__btn { transition: none; } .bloom-float__btn:hover { transform: none; } }
@media (max-width: 781px) {
	.bloom-float { gap: 10px; right: 12px; bottom: max(14px, env(safe-area-inset-bottom, 0px)); }
	.bloom-float__btn { width: 52px; height: 52px; }
	.bloom-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 1; padding: 0; }
}
@media print { .bloom-float { display: none; } }

/* Trust badges: Green Web Foundation (live check) and Cloudflare */
.bloom-footer__trust { margin-top: 40px !important; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / 0.14); gap: 20px 32px; }
.bloom-greenweb { margin: 0 !important; }
.bloom-greenweb img { display: block; width: 200px; height: auto; border-radius: 8px; background: #fff; }
.bloom-trust-badge { gap: 12px; align-items: center; padding: 12px 18px 12px 14px; border: 1px solid rgb(255 255 255 / 0.2); border-radius: 12px; }
.bloom-trust-badge > * { margin: 0 !important; }
.bloom-trust-badge__icon img { display: block; width: 36px; height: 36px; }
.bloom-trust-badge__text { font-size: 0.875rem; line-height: 1.35; color: #C9D2D7; }
.bloom-trust-badge__text strong { color: #fff; }

/* Footer credit line, as on Claire Lavelle Fitness */
.bloom-footer__legal > * { margin: 0; }
.bloom-footer__legal > * + * { margin-top: 4px; }
.bloom-footer__credit a { text-decoration: underline !important; text-decoration-color: var(--b-yellow) !important; }

.bloom-legal { padding-block: clamp(36px, 5vw, 64px); }
.bloom-legal h2 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); margin-top: 1.8em; }
/* Keep the footer's last lines clear of the floating Call, WhatsApp and Book buttons on phones */
@media (max-width: 781px) { .bloom-footer__base { padding-right: 76px; } }

/* =====================================================================
   2.3 Lighter look: Poppins Medium headings, softer ink, light hero and
   bands, refined buttons, footer partner logos
   ===================================================================== */
:root { --b-ink: var(--wp--preset--color--ink); --b-hero-veil: 247 246 242; }
body { color: var(--b-ink); }
h1, h2, .bloom-hero__title, .bloom-pagehero__title, .bloom-banner__title, .bloom-spot h2, .bloom-reviews__title { font-weight: 500; }
.bloom-hero__title { letter-spacing: -0.022em; line-height: 1.06; }
h3, h4, .bloom-faq summary, .bloom-steps strong { font-weight: 600; }
.bloom-nav .wp-block-navigation-item__content { font-weight: 500; }
:is(.bloom-kicker, .bloom-crumb, .bloom-card__more a, .bloom-stat__label, .bloom-project-card__meta, .bloom-guide-card__date, .bloom-filter a, .bloom-project-meta, .bloom-form__field label, .bloom-form__hint, .bloom-article__meta, .bloom-quote__contact p, .bloom-topbar__phone a, .bloom-collage__badge, .bloom-form__done-title) { font-weight: 600; }
:is(.bloom-stat__value, .bloom-areas__tiles strong) { font-weight: 500; }
.bloom-lede { color: var(--b-ink); }

/* Buttons: one height, icon + label, no wrapping */
.wp-element-button, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 52px; font-weight: 600; font-size: 1rem; line-height: 1.2; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s; }
.wp-block-button:not(.is-style-outline) > .wp-block-button__link { box-shadow: 0 1px 1px rgb(17 40 58 / .08), 0 10px 20px -12px rgb(17 40 58 / .45); }
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 1px 1px rgb(17 40 58 / .08), 0 14px 26px -12px rgb(17 40 58 / .5); }
.wp-block-button.is-style-outline > .wp-block-button__link { border-width: 1.5px; padding: calc(0.95rem - 1.5px) calc(1.75rem - 1.5px); }
.wp-block-button__link::before { flex: none; }
.wp-block-button__link[href$="#quote"]::before, .wp-block-button__link[href^="tel:"]::before { content: ""; width: 1.1em; height: 1.1em; background: currentColor; -webkit-mask: var(--b-ico) center / contain no-repeat; mask: var(--b-ico) center / contain no-repeat; }
.wp-block-button__link[href$="#quote"] { --b-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18M9 15l2 2 4-4'/%3E%3C/svg%3E"); }
.wp-block-button__link[href^="tel:"] { --b-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.bloom-wa > .wp-block-button__link::before { margin-right: 0; vertical-align: 0; }
.bloom-header__cta .wp-block-button__link::before { display: none; }

/* Footer contact buttons: compact, full width, stacked */
.bloom-footer .wp-block-buttons { flex-direction: column; align-items: stretch; gap: 10px; max-width: 250px; }
.bloom-footer .wp-block-button { width: 100%; }
.bloom-footer .wp-block-button__link { width: 100%; min-height: 46px; padding: 0.7rem 1.25rem; font-size: 0.9375rem; }
.bloom-footer .wp-block-button.is-style-outline > .wp-block-button__link { padding: calc(0.7rem - 1.5px) calc(1.25rem - 1.5px); border-color: rgb(255 255 255 / .55); }
.bloom-footer .bloom-wa > .wp-block-button__link::before { background: #25D366; }
.bloom-footer .wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: #fff; background: rgb(255 255 255 / .08); color: #fff; }

/* Light hero and page heroes */
.wp-site-blocks .wp-block-cover:is(.bloom-hero, .bloom-pagehero) { color: var(--b-navy); }
.wp-site-blocks .wp-block-cover:is(.bloom-hero, .bloom-pagehero) .wp-block-cover__background { background: linear-gradient(90deg, rgb(var(--b-hero-veil) / .98) 0%, rgb(var(--b-hero-veil) / .93) 42%, rgb(var(--b-hero-veil) / .5) 66%, rgb(var(--b-hero-veil) / 0) 88%) !important; opacity: 1 !important; }
.wp-site-blocks .wp-block-cover:is(.bloom-hero, .bloom-pagehero) :is(h1, h2, p, li) { color: var(--b-navy); }
.wp-site-blocks .wp-block-cover:is(.bloom-hero, .bloom-pagehero) .bloom-lede { color: var(--b-ink); }
.wp-site-blocks .wp-block-cover:is(.bloom-hero, .bloom-pagehero) :is(.bloom-kicker, .bloom-crumb, .bloom-crumb a) { color: var(--b-orange-text); }
.wp-site-blocks .wp-block-cover:is(.bloom-hero, .bloom-pagehero) .is-style-outline > .wp-block-button__link { color: var(--b-navy); border-color: var(--b-navy); }
.wp-site-blocks .wp-block-cover:is(.bloom-hero, .bloom-pagehero) .is-style-outline > .wp-block-button__link:hover { background: var(--b-navy); color: #fff; }
.wp-site-blocks .wp-block-cover:is(.bloom-hero, .bloom-pagehero) :where(a, button):focus-visible { outline-color: var(--b-orange-text); }
.bloom-hero .bloom-checks--light > li { color: var(--b-navy); font-weight: 500; }
.bloom-hero .bloom-checks--light > li::before { background-image: var(--b-check); }
@media (max-width: 900px) {
	.wp-site-blocks .wp-block-cover:is(.bloom-hero, .bloom-pagehero) .wp-block-cover__background { background: rgb(var(--b-hero-veil) / .9) !important; }
}
.bloom-pagehero--simple.has-background { background-color: var(--b-concrete) !important; color: var(--b-navy); }
.bloom-pagehero--simple :is(h1, .wp-block-post-title, .wp-block-query-title), .bloom-pagehero--simple a { color: var(--b-navy); }
.bloom-pagehero--simple .bloom-lede { color: var(--b-ink); }

/* Photo banner: lighter veil */
.wp-block-cover.bloom-banner .wp-block-cover__background { background: linear-gradient(90deg, rgb(17 40 58 / .88), rgb(17 40 58 / .42)) !important; }

/* Light top bar */
.bloom-topbar { border-bottom: 1px solid var(--b-line); }
.bloom-topbar__row p { color: var(--b-ink); }
.bloom-topbar__phone a { color: var(--b-navy); }
.bloom-topbar__phone a::before { color: var(--b-orange-text); }
.bloom-topbar .wp-block-social-links .wp-social-link, .bloom-topbar .wp-block-social-links .wp-social-link a { color: var(--b-navy) !important; background: transparent !important; fill: currentColor; }
.bloom-topbar :where(a, button):focus-visible { outline-color: var(--b-orange-text); }

/* Spotlight, reviews and side panels on light grounds */
.bloom-spot p { color: var(--b-ink); }
.bloom-spot .bloom-ext__type { background: #fff; border-radius: 12px; padding: 12px; box-shadow: var(--b-shadow); }
.bloom-reviews__text p { color: var(--b-ink); }
:is(.bloom-reviews, .bloom-panel--tint) .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: var(--b-navy); color: #fff; }
:is(.bloom-reviews, .bloom-panel--tint) .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { background: var(--b-deep); }
.bloom-panel--tint { border-top-color: var(--b-orange); }
.bloom-panel--tint p { color: var(--b-ink); }
.bloom-panel--tint .is-style-outline > .wp-block-button__link { color: var(--b-navy); }

/* Grids: three, two, one column (no container-type, W3C-valid CSS) */
:is(.bloom-cards, .bloom-features, .bloom-projects__query .wp-block-post-template).is-layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { :is(.bloom-cards, .bloom-features, .bloom-projects__query .wp-block-post-template).is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { :is(.bloom-cards, .bloom-features, .bloom-projects__query .wp-block-post-template).is-layout-grid { grid-template-columns: minmax(0, 1fr); } }

/* Footer: Green Web, Cloudflare and the makers' logos, small and quiet */
.bloom-footer__trust { gap: 20px 40px; align-items: flex-end; }
.bloom-greenweb img { width: 150px; }
.bloom-trust-item { display: flex; flex-direction: column; gap: 8px; }
.bloom-trust-item > * { margin: 0 !important; }
.bloom-trust-item__label { font-size: 0.75rem; line-height: 1; letter-spacing: 0.02em; color: #9FB0BA !important; }
.bloom-trust-logo img { display: block; width: auto; height: 26px; }
.bloom-trust-logo--dww img { height: 34px; }
.bloom-trust-logo--ho img { height: 30px; }
.bloom-trust-logo a { display: block; opacity: .88; transition: opacity .15s; }
.bloom-trust-logo a:hover, .bloom-trust-logo a:focus-visible { opacity: 1; }
.bloom-trust-credit-dww { margin-left: auto !important; }
@media (max-width: 700px) { .bloom-trust-credit-dww { margin-left: 0 !important; } .bloom-footer__trust { gap: 22px 28px; } }
.wp-block-post-title, .bloom-article__title { font-weight: 500; }
.bloom-guide-summary { padding: 18px 22px; background: var(--wp--preset--color--yellow-30); border-radius: 12px; }
.bloom-guide-cta { margin-top: 2em !important; padding: 18px 22px; background: var(--b-concrete); border-radius: 12px; }
.bloom-guide-checked { font-size: 0.875rem; color: var(--b-text2); }
.wp-block-post-featured-image img { border-radius: var(--b-radius); }

/* Service page galleries: one large photo and up to four small, one consistent treatment */
.bloom-gallery { padding-block: clamp(48px, 6vw, 88px); background: var(--b-concrete); }
.bloom-gallery__inner { max-width: var(--wp--style--global--wide-size); margin-inline: auto; padding-inline: var(--wp--style--root--padding-right, 24px); }
.bloom-gallery__title { margin: 0 0 clamp(20px, 3vw, 32px); font-size: clamp(1.75rem, 3vw, 2.375rem); }
.bloom-gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 230px); }
.bloom-gallery__item { margin: 0; overflow: hidden; border-radius: var(--b-radius); background: #E6E3DA; }
.bloom-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.bloom-gallery__grid--2 .bloom-gallery__item, .bloom-gallery__grid--3 .bloom-gallery__item:first-child { grid-row: span 2; }
.bloom-gallery__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bloom-gallery__grid--3 { grid-template-columns: 2fr 1fr; }
.bloom-gallery__grid--3 .bloom-gallery__item:first-child { grid-column: auto; }
.bloom-gallery__grid--4 .bloom-gallery__item:nth-child(4) { grid-column: span 2; }
.bloom-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.03); transition: transform .4s ease; }
.bloom-gallery__item:hover img { transform: scale(1.03); }
.bloom-gallery__note { margin: 14px 0 0; font-size: .875rem; color: var(--b-text2); }
@media (max-width: 700px) {
	.bloom-gallery__grid, .bloom-gallery__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 38vw; }
	.bloom-gallery__grid--3 .bloom-gallery__item:first-child { grid-column: span 2; grid-row: span 1; }
	.bloom-gallery__grid--4 .bloom-gallery__item:nth-child(4) { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { .bloom-gallery__item img { transition: none; } }

/* Mobile menu: full width, left aligned, large tap targets, services listed under Services */
.wp-block-navigation__responsive-container.is-menu-open { padding: 20px 24px 32px !important; background: #fff !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 48px !important; align-items: stretch !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container { align-items: stretch !important; gap: 0 !important; width: 100%; }
.is-menu-open .bloom-nav .wp-block-navigation-item { width: 100%; align-items: stretch !important; border-bottom: 1px solid var(--b-line); }
.is-menu-open .bloom-nav .wp-block-navigation-item__content { display: block; width: 100%; padding: 14px 0 !important; font-size: 1.25rem; font-weight: 500; text-align: left; color: var(--b-navy); }
.is-menu-open .bloom-nav .wp-block-navigation__submenu-icon { display: none !important; }
.is-menu-open .bloom-nav .wp-block-navigation__submenu-container { position: static !important; width: 100% !important; min-width: 0 !important; padding: 0 0 10px 16px !important; border: 0 !important; box-shadow: none !important; background: transparent !important; opacity: 1 !important; visibility: visible !important; height: auto !important; }
.is-menu-open .bloom-nav .wp-block-navigation__submenu-container .wp-block-navigation-item { border-bottom: 0; }
.is-menu-open .bloom-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 9px 0 !important; font-size: 1.0625rem; font-weight: 400; color: var(--b-ink); }
html.has-modal-open .bloom-float { display: none; }
.wp-site-blocks .wp-block-cover:is(.bloom-hero, .bloom-pagehero) .bloom-crumb a { color: var(--b-orange-text) !important; }
.bloom-footer .wp-block-button:not(.is-style-outline) > .wp-block-button__link { color: var(--b-navy) !important; }
.bloom-collage__badge { color: var(--b-navy) !important; }

/* 2.4: headline photos on phones. The photo sits as a clear strip above the headline instead of fading behind it. */
@media (max-width: 781px) {
	.wp-site-blocks .wp-block-cover:is(.bloom-hero, .bloom-pagehero) { padding-top: calc(58vw + 32px) !important; min-height: 0 !important; }
	.wp-site-blocks .wp-block-cover:is(.bloom-hero, .bloom-pagehero) > .wp-block-cover__image-background { height: 58vw !important; bottom: auto !important; object-position: 50% 50%; }
	.wp-site-blocks .wp-block-cover:is(.bloom-hero, .bloom-pagehero) > img[src$=".svg"] { object-position: 82% 62%; }
	.wp-site-blocks .wp-block-cover:is(.bloom-hero, .bloom-pagehero) > .wp-block-cover__background { top: 58vw !important; background: rgb(var(--b-hero-veil)) !important; opacity: 1 !important; }
}

/* 2.4: projects as case studies */
.bloom-project-card { display: flex; flex-direction: column; }
.bloom-project-card .wp-block-post-terms.bloom-project-card__meta { margin-bottom: 4px; font-size: 0.875rem; }
.bloom-project-facts { list-style: none; margin: 0; padding: 0; }
.bloom-project-facts--card { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 10px; }
.bloom-project-facts--card li { margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--b-concrete); font-size: 0.875rem; color: var(--b-ink); }
.bloom-project-facts--card .bloom-project-facts__place { flex-basis: 100%; padding: 0; background: none; font-weight: 600; color: var(--b-ink); }
.bloom-project-card__more { margin-top: 14px !important; font-weight: 600; color: var(--b-navy); text-decoration: underline; text-underline-offset: 3px; }
.bloom-project-card__more:hover { color: var(--b-orange-text); }
.bloom-projects__query .wp-block-post-template { row-gap: clamp(32px, 4vw, 48px) !important; }

.bloom-project__layout { gap: clamp(28px, 4vw, 64px) !important; }
.bloom-project__main .wp-block-post-featured-image { margin: 0 0 clamp(24px, 3vw, 36px); }
.bloom-project__main .wp-block-post-featured-image img { border-radius: var(--b-radius); }
.bloom-project__main .wp-block-post-content > * { max-width: 70ch; }
.bloom-project__main .wp-block-post-content > .wp-block-gallery { max-width: none; }
.bloom-project__aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 24px; }
.bloom-project__aside > * { margin: 0 !important; }
.bloom-project-facts--panel { padding: clamp(22px, 2.4vw, 30px); border-radius: var(--b-radius); background: var(--b-concrete); border-top: 4px solid var(--b-yellow); }
.bloom-project-facts__title { margin: 0 0 12px; font-size: 1.1875rem; }
.bloom-project-facts--panel dl { margin: 0; }
.bloom-project-facts--panel dl > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--b-line); }
.bloom-project-facts--panel dl > div:first-child { border-top: 0; }
.bloom-project-facts--panel dt { font-size: 0.875rem; color: var(--b-text2); }
.bloom-project-facts--panel dd { margin: 0; font-weight: 600; color: var(--b-navy); }
.bloom-project-quote { margin: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--b-orange); }
.bloom-project-quote blockquote { margin: 0; }
.bloom-project-quote p { margin: 0; font-size: 1.125rem; line-height: 1.5; color: var(--b-navy); }
.bloom-project-quote figcaption { margin-top: 10px; font-size: 0.9375rem; font-weight: 600; color: var(--b-ink); }
.bloom-project__cta-title { font-size: 1.1875rem; }
@media (max-width: 781px) { .bloom-project__aside { position: static; } }

.bloom-projects-empty { padding: clamp(28px, 4vw, 56px); border-radius: var(--b-radius); background: var(--b-concrete); }
.bloom-projects-empty h2 { margin-top: 0; }
.bloom-projects-empty .bloom-checks { margin-block: 20px; }
.bloom-projects-empty__cols { gap: clamp(24px, 4vw, 56px) !important; }
.bloom-projects-empty__card { padding: clamp(22px, 2.4vw, 30px); border-radius: var(--b-radius); background: #fff; border-top: 4px solid var(--b-yellow); }
.bloom-projects-empty__card h3 { margin-top: 0; }
.bloom-projects-empty__card .wp-block-buttons { flex-direction: column; align-items: stretch; }
.bloom-projects-empty__card .wp-block-button { width: 100%; }
.bloom-projects-empty__card .wp-block-button__link { width: 100%; justify-content: center; }
.bloom-pagehero--simple .bloom-crumb a { color: var(--b-orange-text) !important; }

/* 2.4: tablets use the menu button up to 1080px, so the menu never wraps onto two lines */
@media (min-width: 600px) and (max-width: 1080px) {
	header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
}
