/* Horizon Bleu — pages intérieures animées (1.4.0) */

/* Barre de progression de lecture */
.hb-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100000;
  background: linear-gradient(90deg, #2A8FD6, #C9A24D);
  transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none;
}
.admin-bar .hb-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .hb-progress { top: 46px; } }

/* En-tête de page : abstract motion + vague */
.hb-page-hero { position: relative; overflow: hidden; isolation: isolate; padding-bottom: clamp(110px, 12vw, 150px) !important; }
.hb-page-hero > :not(.hb-orbs):not(.hb-wave) { position: relative; z-index: 2; }
.hb-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; transform: translate3d(0, calc(var(--hb-hero-p, 0) * 80px), 0); }
.hb-orbs span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: hb-float 18s ease-in-out infinite alternate; }
.hb-orbs span:nth-child(1) { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; right: -10%; top: -30%; background: radial-gradient(circle, rgba(42,143,214,.75), transparent 65%); }
.hb-orbs span:nth-child(2) { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; left: -8%; bottom: -35%; background: radial-gradient(circle, rgba(201,162,77,.55), transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.hb-orbs span:nth-child(3) { width: 22vw; height: 22vw; max-width: 300px; max-height: 300px; left: 45%; top: 10%; background: radial-gradient(circle, rgba(161,72,50,.4), transparent 65%); animation-duration: 26s; animation-delay: -12s; }
@keyframes hb-float {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-6vw, 4vh, 0) scale(1.12); }
  100% { transform: translate3d(4vw, -3vh, 0) scale(.95); }
}
.hb-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(50px, 6vw, 90px); z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 52 C 260 6 520 10 760 46 S 1220 92 1440 34 V90 H0 Z' fill='%23ffffff'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

/* Titre : mots avec flou de bougé */
.hb-pages-motion .hb-page-hero h1 .hb-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hb-pages-motion .hb-page-hero h1 .hb-w > span {
  display: inline-block; opacity: 0; filter: blur(10px);
  transform: translate3d(0, 70%, 0) skewY(4deg);
  transition: transform 1s cubic-bezier(.16,1,.3,1), opacity .8s ease, filter .9s ease;
}
.hb-pages-motion .hb-page-hero.is-in h1 .hb-w > span { opacity: 1; filter: blur(0); transform: none; }
.hb-pages-motion .hb-page-hero .hb-hero-follow { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity .9s ease, transform 1s cubic-bezier(.16,1,.3,1); }
.hb-pages-motion .hb-page-hero.is-in .hb-hero-follow { opacity: 1; transform: none; }

/* Révélations au défilement (fondu + glissé + léger flou), en cascade */
.hb-pages-motion .hb-r {
  opacity: 0; filter: blur(6px);
  transform: translate3d(0, 30px, 0);
  transition: opacity .9s ease var(--hb-d, 0s), transform 1s cubic-bezier(.16,1,.3,1) var(--hb-d, 0s), filter .9s ease var(--hb-d, 0s);
}
.hb-pages-motion .hb-r.is-in { opacity: 1; filter: none; transform: none; }

/* Images : révélation par masque (rideau) + parallaxe */
.hb-pages-motion .hb-r--mask { filter: none; transform: none; opacity: 1; overflow: hidden; border-radius: 16px; clip-path: inset(0 0 100% 0 round 16px); transition: clip-path 1.3s cubic-bezier(.77,0,.18,1) var(--hb-d, 0s); }
.hb-pages-motion .hb-r--mask.is-in { clip-path: inset(0 0 0 0 round 16px); }
.hb-pages-motion .hb-r--mask img { transform: scale(1.1); transition: transform .2s linear; will-change: transform; }

/* Titres de section : trait doré qui se dessine */
.hb-pages-motion .entry-content h2.hb-r { position: relative; padding-bottom: 14px; }
.hb-pages-motion .entry-content h2.hb-r::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 64px; border-radius: 3px;
  background: linear-gradient(90deg, #C9A24D, #A14832);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 1s cubic-bezier(.16,1,.3,1) calc(var(--hb-d, 0s) + .35s);
}
.hb-pages-motion .entry-content h2.hb-r.is-in::after { transform: scaleX(1); }
.hb-page-hero h2::after { display: none; }

/* Listes : puces qui glissent */
.hb-pages-motion ul.hb-r li, .hb-pages-motion ol.hb-r li { opacity: 0; transform: translate3d(-14px, 0, 0); transition: opacity .6s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.hb-pages-motion ul.hb-r.is-in li, .hb-pages-motion ol.hb-r.is-in li { opacity: 1; transform: none; }
.hb-pages-motion .hb-r.is-in li:nth-child(1) { transition-delay: .15s; }
.hb-pages-motion .hb-r.is-in li:nth-child(2) { transition-delay: .25s; }
.hb-pages-motion .hb-r.is-in li:nth-child(3) { transition-delay: .35s; }
.hb-pages-motion .hb-r.is-in li:nth-child(4) { transition-delay: .45s; }
.hb-pages-motion .hb-r.is-in li:nth-child(5) { transition-delay: .55s; }
.hb-pages-motion .hb-r.is-in li:nth-child(n+6) { transition-delay: .65s; }
.entry-content ul.hb-r li::marker { color: #C9A24D; }

/* Cartes : calque 3D + reflet qui suit la souris */
.hb-tilt3d {
  position: relative;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .4s ease !important;
}
.hb-pages-motion .hb-tilt3d.hb-r { transform: perspective(900px) translate3d(0, 30px, 0); }
.hb-pages-motion .hb-tilt3d.hb-r.is-in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.hb-tilt3d::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.55), transparent 45%);
  opacity: 0; transition: opacity .4s ease;
}
.hb-tilt3d:hover::after { opacity: 1; }
.hb-tilt3d:hover { box-shadow: 0 26px 56px rgba(20, 50, 92, .16) !important; }

/* Boutons : légère respiration de la couleur d'action */
.entry-content .wp-block-button__link { transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease !important; }
.entry-content .wp-block-button__link:hover { transform: translateY(-3px); }

@media (max-width: 767px) {
  .hb-orbs span { filter: blur(40px); }
  .hb-page-hero { padding-bottom: 90px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-orbs span { animation: none; }
}

/* 1.4.1 — formes abstraites plus visibles */
.hb-orbs span { opacity: .95; filter: blur(42px); }
.hb-orbs span:nth-child(1) { background: radial-gradient(circle, rgba(42,143,214,.95), rgba(42,143,214,0) 62%); }
.hb-orbs span:nth-child(2) { background: radial-gradient(circle, rgba(201,162,77,.75), rgba(201,162,77,0) 62%); }
.hb-orbs span:nth-child(3) { background: radial-gradient(circle, rgba(161,72,50,.6), rgba(161,72,50,0) 62%); }

/* =====================================================================
   PAGE RÉALISATION / LOGEMENT (1.5.0) — classe .hb-listing sur les blocs
   ===================================================================== */
.hb-listing-page { background: #FBF8F2; }
/* Hero photo plein écran */
.hb-listing-hero.wp-block-cover { min-height: min(88vh, 820px) !important; border-radius: 0 0 32px 32px; overflow: hidden; }
.hb-listing-hero .wp-block-cover__image-background { animation: hb-kenburns 14s ease-out both; }
@keyframes hb-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hb-listing-hero .wp-block-cover__inner-container > * { animation: hb-rise 1.1s cubic-bezier(.16,1,.3,1) both; }
.hb-listing-hero .wp-block-cover__inner-container > *:nth-child(2) { animation-delay: .15s; }
.hb-listing-hero .wp-block-cover__inner-container > *:nth-child(3) { animation-delay: .3s; }
.hb-listing-hero .wp-block-cover__inner-container > *:nth-child(4) { animation-delay: .45s; }
@keyframes hb-rise { from { opacity: 0; transform: translate3d(0, 30px, 0); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hb-listing-hero h1 { font-size: clamp(2.1rem, 4.6vw, 4.2rem) !important; line-height: 1.05 !important; max-width: 900px; text-shadow: 0 4px 30px rgba(10, 30, 55, .35); }
.hb-listing-hero .hb-eyebrow-pill { display: inline-block; padding: .5rem 1rem; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); font-size: .72rem !important; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

/* Bandeau de chiffres clés */
.hb-keyfacts { margin-top: -54px !important; position: relative; z-index: 3; }
.hb-keyfacts .hb-facts {
  display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 0 !important;
  background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(20,50,92,.12); overflow: hidden;
}
.hb-keyfacts .hb-facts > * { margin: 0 !important; padding: 22px 16px !important; text-align: center; border-right: 1px solid #EFE7DA; }
.hb-keyfacts .hb-facts > *:last-child { border-right: 0; }
.hb-keyfacts .hb-fact-num { display: block; font-family: var(--hb-font-display); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; color: #14325C; line-height: 1.1; }
.hb-keyfacts .hb-fact-label { display: block; margin-top: 4px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #8A7A62; }

/* Galerie mosaïque */
.hb-listing-gallery.wp-block-gallery { display: grid !important; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px !important; }
.hb-listing-gallery.wp-block-gallery > figure { width: 100% !important; height: 100% !important; margin: 0 !important; border-radius: 16px; overflow: hidden; }
.hb-listing-gallery.wp-block-gallery > figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.hb-listing-gallery.wp-block-gallery > figure:nth-child(6) { grid-column: span 2; }
.hb-listing-gallery.wp-block-gallery > figure:nth-child(9) { grid-row: span 2; }
.hb-listing-gallery.wp-block-gallery figure img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .9s cubic-bezier(.16,1,.3,1), filter .5s ease; }
.hb-listing-gallery.wp-block-gallery figure:hover img { transform: scale(1.06); filter: saturate(1.08); }
.hb-listing-gallery.wp-block-gallery figure { cursor: zoom-in; }

/* Espaces (média + texte) */
.hb-space.wp-block-media-text { gap: 0; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 48px rgba(20,50,92,.08); margin-bottom: 34px !important; }
.hb-space .wp-block-media-text__media img { height: 100%; min-height: 380px; object-fit: cover; }
.hb-space .wp-block-media-text__content { padding: clamp(28px, 4vw, 60px) !important; }
.hb-space .wp-block-media-text__content h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem) !important; margin-bottom: 12px; }
.hb-space-tag { display: inline-block; margin-bottom: 10px; color: #A14832; font-size: .72rem !important; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }

/* Équipements en pastilles */
.hb-amenities { display: flex !important; flex-wrap: wrap; gap: 10px; padding: 0 !important; list-style: none; }
.hb-amenities li { padding: 10px 16px; background: #fff; border: 1px solid #EBE2D3; border-radius: 999px; font-weight: 600; color: #14325C; box-shadow: 0 6px 16px rgba(20,50,92,.05); }
.hb-amenities li::marker { content: ""; }
.hb-amenities li::before { content: "✓"; margin-right: 8px; color: #C9A24D; font-weight: 700; }

/* Quartier */
.hb-nearby { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; padding: 0 !important; list-style: none; }
.hb-nearby li { padding: 18px; background: #fff; border-radius: 16px; border: 1px solid #EBE2D3; }
.hb-nearby li strong { display: block; font-family: var(--hb-font-display); font-size: 1.5rem; color: #2A8FD6; }
.hb-nearby li::marker { content: ""; }

.hb-registration { font-size: .85rem !important; opacity: .75; }

@media (max-width: 900px) {
  .hb-keyfacts .hb-facts { grid-template-columns: repeat(3, 1fr); }
  .hb-keyfacts .hb-facts > *:nth-child(3) { border-right: 0; }
  .hb-keyfacts .hb-facts > *:nth-child(n+4) { border-top: 1px solid #EFE7DA; }
  .hb-listing-gallery.wp-block-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .hb-listing-gallery.wp-block-gallery > figure:nth-child(9) { grid-row: span 1; }
}
@media (max-width: 600px) {
  .hb-listing-hero.wp-block-cover { min-height: 82svh !important; border-radius: 0 0 24px 24px; }
  .hb-keyfacts { margin-top: -36px !important; }
  .hb-keyfacts .hb-facts { grid-template-columns: repeat(2, 1fr); }
  .hb-keyfacts .hb-facts > * { border-right: 0 !important; border-top: 1px solid #EFE7DA; }
  .hb-keyfacts .hb-facts > *:first-child { grid-column: span 2; border-top: 0; }
  .hb-space .wp-block-media-text__media img { min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-listing-hero .wp-block-cover__image-background, .hb-listing-hero .wp-block-cover__inner-container > * { animation: none; }
}

/* =========================================================
   PAGE RÉALISATION — mise en page "agence" claire (1.6.0)
   ========================================================= */
.hb-gold { color: #C9A24D; }
/* Hero split */
.hb-split-hero { background: radial-gradient(1200px 500px at 85% 10%, #EAF4FC 0%, rgba(234,244,252,0) 60%), linear-gradient(180deg, #FBF8F2, #F6EFE3) !important; overflow: hidden; position: relative; }
.hb-split-hero::after { content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border: 1px solid rgba(201,162,77,.35); border-radius: 50%; pointer-events: none; }
.hb-split-hero .wp-block-columns { gap: clamp(28px, 5vw, 72px) !important; position: relative; z-index: 1; }
.hb-split-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.9rem) !important; line-height: 1.06 !important; color: #14325C; margin: 14px 0 18px !important; }
.hb-split-hero .hb-lede { font-size: 1.15rem !important; color: #3E5675; max-width: 520px; }
.hb-pill-tag { display: inline-block; padding: .45rem 1rem; border-radius: 999px; background: #fff; border: 1px solid #EBDDBF; color: #A14832; font-size: .72rem !important; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; box-shadow: 0 6px 18px rgba(20,50,92,.06); }
.hb-split-hero .wp-block-column > * { animation: hb-rise 1s cubic-bezier(.16,1,.3,1) both; }
.hb-split-hero .wp-block-column > *:nth-child(2) { animation-delay: .12s; }
.hb-split-hero .wp-block-column > *:nth-child(3) { animation-delay: .24s; }
.hb-split-hero .wp-block-column > *:nth-child(4) { animation-delay: .36s; }
.hb-hero-visual { position: relative; }
.hb-hero-visual::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border: 2px solid #C9A24D; border-radius: 28px; z-index: 0; }
.hb-hero-visual .wp-block-image { position: relative; z-index: 1; margin: 0 !important; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 70px rgba(20,50,92,.18); }
.hb-hero-visual .wp-block-image img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; animation: hb-kenburns 14s ease-out both; }
.hb-hero-badge { position: absolute; z-index: 2; right: 18px; bottom: 18px; margin: 0 !important; padding: 14px 20px !important; background: #C9A24D; color: #14325C !important; border-radius: 16px; font-weight: 700; font-size: .95rem !important; line-height: 1.35; box-shadow: 0 14px 34px rgba(20,50,92,.25); }
.hb-hero-badge small { display: block; font-weight: 500; font-size: .8rem; opacity: .85; }
/* Stats "agence" */
.hb-stat-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 170px)); gap: 14px !important; justify-content: center; position: relative; }
.hb-stat-grid::before { content: ""; position: absolute; width: 150px; height: 150px; right: -30px; top: -34px; border: 2px solid rgba(201,162,77,.55); border-radius: 26px; transform: rotate(12deg); z-index: 0; }
.hb-stat-grid > div > p { position: relative; z-index: 1; margin: 0 !important; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #fff; border: 1px solid #EBE2D3; border-radius: 20px; box-shadow: 0 14px 34px rgba(20,50,92,.07); transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s; }
.hb-stat-grid > div > p:nth-child(even) { transform: translateY(26px); }
.hb-stat-grid > div > p:hover { box-shadow: 0 22px 44px rgba(20,50,92,.13); }
.hb-stat-grid .hb-fact-num { display: block; font-family: var(--hb-font-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); color: #14325C; line-height: 1; }
.hb-stat-grid .hb-fact-label { display: block; margin-top: 8px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #8A7A62; padding: 0 10px; }
/* Étapes 01 02 03 */
.hb-steps { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 18px !important; }
.hb-step { position: relative; overflow: hidden; margin: 0 !important; background: #fff; border-radius: 22px; padding: 104px 24px 26px !important; border: 1px solid #EBE2D3; transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s; }
.hb-step:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20,50,92,.12); }
.hb-step:first-child { background: linear-gradient(160deg, #E7C980, #C9A24D); border-color: transparent; }
.hb-step:first-child h3, .hb-step:first-child p { color: #14325C !important; }
.hb-step .hb-step-num { position: absolute; top: 10px; left: 18px; margin: 0 !important; font-family: var(--hb-font-display); font-size: 5.6rem !important; font-weight: 600; line-height: 1; color: rgba(20,50,92,.09); }
.hb-step:first-child p.hb-step-num { color: rgba(255,255,255,.5) !important; }
.hb-step h3 { font-size: 1.25rem !important; margin: 0 0 8px !important; }
.hb-step p { font-size: .97rem !important; margin: 0 !important; }
/* Cartes photos */
.hb-photo-cards { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 20px !important; }
.hb-photo-cards figure { margin: 0 !important; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 36px rgba(20,50,92,.08); transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s; cursor: zoom-in; }
.hb-photo-cards figure:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20,50,92,.14); }
.hb-photo-cards figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .9s cubic-bezier(.16,1,.3,1); }
.hb-photo-cards figure:hover img { transform: scale(1.05); }
.hb-photo-cards figcaption { margin: 0 !important; padding: 14px 18px !important; text-align: left !important; font-family: var(--hb-font-display); font-size: 1.05rem !important; color: #14325C; display: flex; justify-content: space-between; align-items: center; }
.hb-photo-cards figcaption::after { content: "↗"; color: #C9A24D; font-weight: 700; }
/* Services / espaces */
.hb-services-img .wp-block-image { margin: 0 !important; border-radius: 26px; overflow: hidden; box-shadow: 0 26px 60px rgba(20,50,92,.15); }
.hb-services-img .wp-block-image img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; }
.hb-services-img { position: relative; }
.hb-services-img::before { content: ""; position: absolute; inset: -18px 22px 22px -18px; border: 2px solid rgba(42,143,214,.35); border-radius: 30px; }
.hb-arrow-list { list-style: none; padding: 0 !important; margin: 0 !important; }
.hb-arrow-list li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid #EBE2D3; color: #3E5675; }
.hb-arrow-list li::marker { content: ""; }
.hb-arrow-list li::before { content: "›"; position: absolute; left: 4px; top: 9px; width: 22px; height: 22px; font-size: 1.4rem; color: #C9A24D; font-weight: 700; }
.hb-arrow-list li strong { display: block; font-family: var(--hb-font-display); color: #14325C; font-size: 1.12rem; margin-bottom: 2px; }
.hb-head-row { display: flex !important; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.hb-head-row h2, .hb-head-row p { margin: 0 !important; }
@media (max-width: 1024px) { .hb-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 781px) {
  .hb-split-hero .wp-block-column:last-child { margin-top: 10px; }
  .hb-hero-visual::before { inset: 14px -10px -10px 14px; }
  .hb-photo-cards { grid-template-columns: repeat(2, 1fr); gap: 12px !important; }
  .hb-photo-cards figcaption { font-size: .9rem !important; padding: 10px 12px !important; }
  .hb-stat-grid { grid-template-columns: repeat(2, 1fr); margin-top: 18px; padding-bottom: 26px; }
  .hb-stat-grid::before { right: -6px; }
}
@media (max-width: 600px) {
  .hb-steps { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -24px !important; padding: 20px 24px 10px 0 !important; scrollbar-width: none; }
  .hb-steps::-webkit-scrollbar { display: none; }
  .hb-step { flex: 0 0 78%; scroll-snap-align: start; }
  .hb-hero-badge { right: 10px; bottom: 10px; padding: 10px 14px !important; font-size: .85rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-split-hero .wp-block-column > *, .hb-hero-visual .wp-block-image img { animation: none; }
}
.hb-steps > .wp-block-group__inner-container, .hb-stat-grid > .wp-block-group__inner-container, .hb-photo-cards > .wp-block-group__inner-container, .hb-head-row > .wp-block-group__inner-container { display: contents; }
.hb-split-hero .wp-block-buttons { gap: 12px; flex-wrap: wrap; }

.hb-photo-cards figure.hb-r--mask { transition: clip-path 1.3s cubic-bezier(.77,0,.18,1) var(--hb-d, 0s), transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s; border-radius: 20px; }
.hb-photo-cards figure.hb-r--mask.is-in { clip-path: inset(0 0 -40px 0 round 20px); }
.is-layout-constrained > .hb-pill-tag { display: block; width: fit-content; margin-left: max(0px, calc((100% - 1180px) / 2)) !important; margin-right: 0 !important; }
.hb-pill-tag + h2, .hb-pill-tag + h1 { margin-top: 16px !important; }
.hb-photo-cards figcaption { position: relative; z-index: 2; background: #fff; }
.hb-photo-cards figure > img, .hb-photo-cards figure .wp-lightbox-container img { display: block; }
