/*
Theme Name: Lighthouse
Theme URI: https://lighthousetechnologies.com
Author: Lighthouse Technologies
Description: Clean, mobile-first block theme for lighthousetechnologies.com. No page builder. Core blocks only. Light and dark modes, a lighthouse beam in the hero, glass header and proof tiles.
Version: 0.8.3
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: lighthouse
*/

/* ------------------------------------------------------------------
   1. Tokens. WordPress writes the palette as --wp--preset--color-* from
   theme.json. Dark mode remaps the same names, so every block that uses
   a preset colour follows the toggle without any extra classes.
   ------------------------------------------------------------------ */
:root {
  --lh-glass-bg: rgba(255, 255, 255, 0.68);
  --lh-glass-border: rgba(255, 255, 255, 0.75);
  --lh-glass-shadow: 0 24px 60px -28px rgba(14, 34, 64, 0.45);
  --lh-header-bg: rgba(255, 255, 255, 0.72);
  --lh-panel-bg: #FFFFFF;
  --lh-dot: rgba(255, 255, 255, 0.10);
  --lh-beam-a: rgba(196, 224, 255, 0.42);
  --lh-beam-b: rgba(156, 199, 243, 0.12);
  --lh-focus: #F68C1F;
  color-scheme: light;
}
:root[data-theme="dark"],
:root[data-theme="dark"] body {
  --wp--preset--color--ground: #0B1A30;
  --wp--preset--color--surface: #12233D;
  --wp--preset--color--ink: #EAF0F8;
  --wp--preset--color--muted: #A3B2C9;
  --wp--preset--color--line: #223A5E;
  --wp--preset--color--blue: #6FA3E0;
  --wp--preset--color--navy: #16294A;
  --lh-glass-bg: rgba(18, 35, 61, 0.58);
  --lh-glass-border: rgba(255, 255, 255, 0.14);
  --lh-glass-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --lh-header-bg: rgba(11, 26, 48, 0.72);
  --lh-panel-bg: #12233D;
  --lh-dot: rgba(255, 255, 255, 0.07);
  --lh-beam-a: rgba(196, 224, 255, 0.36);
  --lh-beam-b: rgba(156, 199, 243, 0.12);
  color-scheme: dark;
}

html { scroll-behavior: smooth; }
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
body { transition: background-color .35s ease, color .35s ease; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 3px solid var(--lh-focus); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; }

/* ------------------------------------------------------------------
   2. Header: sticky, turns to frosted glass once the page moves.
   ------------------------------------------------------------------ */
header.wp-block-template-part {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 60;
}
.lh-header {
  background: var(--wp--preset--color--surface);
  transition: background-color .35s ease, box-shadow .35s ease, border-color .35s ease;
}
/* The blur sits on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed-position mobile menu inside the header's box. */
.lh-header { position: relative; isolation: isolate; }
.lh-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: inherit; transition: background-color .35s ease; }
.lh-header.is-scrolled { background: transparent; box-shadow: 0 10px 30px -20px rgba(14, 34, 64, 0.35); }
.lh-header.is-scrolled::before { background: var(--lh-header-bg); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
body.has-modal-open .lh-header::before { -webkit-backdrop-filter: none; backdrop-filter: none; }
.lh-logo { margin: 0; }
.lh-logo img { display: block; height: auto; }
:root[data-theme="dark"] .lh-logo img { filter: brightness(0) invert(1); opacity: .92; }
.lh-nav .wp-block-navigation-item__content { padding: 6px 2px; font-weight: 600; }
.lh-nav .lh-nav-cta > a { background: var(--wp--preset--color--orange); color: #fff; padding: 9px 16px; border-radius: 8px; font-family: var(--wp--preset--font-family--heading); }
.lh-nav .lh-nav-cta > a:hover { background: var(--wp--preset--color--blue); color: #fff; }
.wp-block-navigation__submenu-container { min-width: 250px; border-radius: 10px; overflow: hidden; }
.lh-nav .wp-block-navigation__submenu-container { background: var(--lh-panel-bg) !important; color: var(--wp--preset--color--ink) !important; border-color: var(--wp--preset--color--line) !important; }
.lh-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { color: var(--wp--preset--color--ink); }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); }

/* Theme toggle: a small glass pill with sun and moon. */
.lh-theme-toggle {
  appearance: none; -webkit-appearance: none;
  width: 42px; height: 42px; border-radius: 999px; padding: 0;
  display: inline-grid; place-items: center; cursor: pointer;
  border: 1px solid var(--wp--preset--color--line);
  background: var(--lh-glass-bg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--wp--preset--color--ink);
  transition: transform .2s ease, background-color .3s ease, border-color .3s ease;
}
.lh-theme-toggle:hover { transform: translateY(-1px); border-color: var(--wp--preset--color--blue); }
.lh-theme-toggle svg { width: 20px; height: 20px; display: block; }
.lh-theme-toggle .lh-icon-moon { display: none; }
:root[data-theme="dark"] .lh-theme-toggle .lh-icon-sun { display: none; }
:root[data-theme="dark"] .lh-theme-toggle .lh-icon-moon { display: block; }

/* ------------------------------------------------------------------
   3. Hero: night at sea. The beam is a conic wedge rotating from a
   lighthouse just off the top-right corner. Layers move at different
   speeds against --lh-scroll, which the script updates on scroll.
   ------------------------------------------------------------------ */
.lh-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --lh-scroll: 0;
  background-image:
    radial-gradient(720px 480px at 100% 0%, rgba(196, 224, 255, 0.20), rgba(196, 224, 255, 0) 70%),
    radial-gradient(1200px 700px at 50% 120%, rgba(52, 114, 174, 0.35), rgba(52, 114, 174, 0) 70%) !important;
}
.lh-hero > * { position: relative; z-index: 1; }
.lh-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 220vmax; height: 220vmax;
  right: -110vmax; top: -170vmax;
  background: conic-gradient(from 0deg at 50% 50%,
    transparent 0deg,
    transparent 286deg,
    var(--lh-beam-b) 300deg,
    var(--lh-beam-a) 318deg,
    var(--lh-beam-b) 336deg,
    transparent 350deg,
    transparent 360deg);
  filter: blur(22px);
  transform-origin: 50% 50%;
  animation: lh-sweep 26s linear infinite;
  pointer-events: none;
}
.lh-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20% 0 -60% 0;
  background: radial-gradient(circle at 1px 1px, var(--lh-dot) 1px, transparent 1.6px) 0 0 / 28px 28px;
  transform: translate3d(0, calc(var(--lh-scroll) * -0.18px), 0);
  pointer-events: none;
}
.lh-hero__content {
  transform: translate3d(0, calc(var(--lh-scroll) * 0.06px), 0);
  will-change: transform;
}
.lh-kicker {
  color: var(--wp--preset--color--beam);
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 14px !important;
}
.lh-hero h1 { margin-top: 0; color: #fff; text-wrap: balance; }
.lh-hero__lede { color: rgba(234, 240, 248, 0.82) !important; max-width: 46ch; margin-top: 18px !important; }
.lh-hero .wp-block-buttons { margin-top: 28px; }
.lh-hero .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.lh-hero .is-style-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }
@keyframes lh-sweep { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------
   4. Proof tiles: glass, straddling the waterline between hero and page.
   Numbers count up once they are in view; tiles rise in sequence.
   ------------------------------------------------------------------ */
.lh-stats-wrap { position: relative; z-index: 2; margin-top: -92px; }
.lh-stats.wp-block-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; }
.lh-stats .wp-block-column { flex: none; width: auto; min-width: 0; }
.lh-stat {
  background: var(--lh-glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--lh-glass-border);
  box-shadow: var(--lh-glass-shadow);
  border-radius: 16px;
  padding: 26px 24px 22px;
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
html.lh-js .lh-stat:not(.is-in) { opacity: 0; transform: translateY(22px); }
.lh-stat-2 { transition-delay: .08s; }
.lh-stat-3 { transition-delay: .16s; }
.lh-stat-4 { transition-delay: .24s; }
.lh-stat h3 {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 300;
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--blue);
  margin: 0 0 10px;
  font-variant-numeric: tabular-nums;
}
.lh-stat p { margin: 0; color: var(--wp--preset--color--muted); }
.lh-stats-note { margin-top: 18px !important; color: var(--wp--preset--color--muted); }

/* ------------------------------------------------------------------
   5. Questions: a signal line draws itself beside the four questions as
   they scroll into view (CSS scroll-driven; browsers without it show the
   line fully drawn).
   ------------------------------------------------------------------ */
.lh-signal { list-style: none; padding: 0 0 0 34px; margin: 0; position: relative; }
.lh-signal::before {
  content: "";
  position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--wp--preset--color--beam), var(--wp--preset--color--blue));
  transform-origin: top; border-radius: 2px;
}
.lh-signal li {
  position: relative;
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.3;
  padding: 10px 0;
}
.lh-signal li::before {
  content: "";
  position: absolute; left: -31px; top: 20px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--wp--preset--color--surface);
  border: 2px solid var(--wp--preset--color--blue);
  box-sizing: border-box;
}
@supports (animation-timeline: view()) {
  .lh-signal::before { animation: lh-draw linear both; animation-timeline: view(); animation-range: entry 10% cover 55%; }
  .lh-signal li { animation: lh-lit linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
}
@keyframes lh-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes lh-lit { from { opacity: .3; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------
   6. What we measure: eight items on a ruled grid, lit as they pass.
   ------------------------------------------------------------------ */
.lh-measure { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.lh-measure li {
  border-top: 1px solid var(--wp--preset--color--line);
  padding: 16px 0 22px;
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 500;
  font-size: 1.1rem;
}
@supports (animation-timeline: view()) {
  .lh-measure li { animation: lh-lit linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
}

/* ------------------------------------------------------------------
   7. Why, solutions, case studies: quiet panels with one accent each.
   ------------------------------------------------------------------ */
.lh-section { padding-top: 88px; padding-bottom: 88px; }
.lh-section h2 { max-width: 24ch; }
.lh-inner > p { max-width: 62ch; }
.lh-why h3 { margin-top: 0; padding-top: 14px; position: relative; }
.lh-why h3::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 2px; background: var(--wp--preset--color--blue); }
.lh-why .wp-block-column > p { max-width: 42ch; }

.lh-panel {
  background: var(--lh-panel-bg);
  border: 1px solid var(--wp--preset--color--line);
  border-top: 3px solid var(--wp--preset--color--blue);
  border-radius: 14px;
  padding: 26px 26px 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.lh-panel:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(14, 34, 64, 0.5); }
.lh-panel h3 { margin-top: 0; }
.lh-panel ul { padding-left: 0; list-style: none; margin: 14px 0 18px; }
.lh-panel li { padding: 7px 0 7px 18px; position: relative; border-top: 1px dashed var(--wp--preset--color--line); }
.lh-panel li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 2px; background: var(--wp--preset--color--orange); }
.lh-panel p:last-child { margin-bottom: 0; }
.lh-panel p:last-child a { font-weight: 600; text-decoration: none; }
.lh-panel p:last-child a:hover { text-decoration: underline; }

.lh-cases .wp-block-column { border-left: 2px solid var(--wp--preset--color--line); padding-left: 22px; }
.lh-cases h3 { margin-top: 0; font-size: 1.2rem; }
.lh-cases p { color: var(--wp--preset--color--muted); }
.lh-cases a { font-weight: 600; }

/* ------------------------------------------------------------------
   8. Call to action: the beam comes back, still, behind a glass panel.
   ------------------------------------------------------------------ */
.lh-cta { position: relative; overflow: hidden; isolation: isolate; }
.lh-cta::before {
  content: "";
  position: absolute; z-index: -1;
  width: 200vmax; height: 200vmax; left: -120vmax; top: -150vmax;
  background: conic-gradient(from 110deg at 50% 50%, transparent 0deg, var(--lh-beam-b) 10deg, var(--lh-beam-a) 22deg, var(--lh-beam-b) 34deg, transparent 46deg);
  filter: blur(30px);
  pointer-events: none;
}
.lh-cta__panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 44px 40px;
}
.lh-cta__panel h2 { margin-top: 0; color: #fff !important; }
.lh-cta__panel p { color: rgba(234, 240, 248, 0.82); max-width: 52ch; }
.lh-cta__panel .wp-block-buttons { margin-top: 24px; }

/* ------------------------------------------------------------------
   9. Footer.
   ------------------------------------------------------------------ */
.lh-footer { background: var(--wp--preset--color--night) !important; color: rgba(234, 240, 248, 0.8) !important; }
.lh-footer a { color: #fff; }
.lh-footer a:hover { color: var(--wp--preset--color--beam); }
.lh-footer .lh-logo img { filter: brightness(0) invert(1); opacity: .9; }
.lh-footer .wp-block-navigation .wp-block-navigation-item__content { color: rgba(234, 240, 248, 0.85); }
.lh-footer .wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--beam); }

/* ------------------------------------------------------------------
   10. Content pages inherit the same tokens; nothing special needed.
   ------------------------------------------------------------------ */
.wp-block-post-content a { text-decoration: underline; text-underline-offset: 2px; }
.wp-block-post-content img { border-radius: 10px; }
details { border: 1px solid var(--wp--preset--color--line); border-radius: 10px; padding: 12px 16px; margin: 12px 0; }
details summary { cursor: pointer; font-weight: 600; font-family: var(--wp--preset--font-family--heading); }

/* ------------------------------------------------------------------
   11. Small screens.
   ------------------------------------------------------------------ */
@media (max-width: 1000px) {
  .lh-measure { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 781px) {
  .lh-stats.wp-block-columns { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lh-stats-wrap { margin-top: -64px; }
  .lh-stat { padding: 20px 18px 16px; border-radius: 12px; }
  .lh-section { padding-top: 56px; padding-bottom: 56px; }
  .lh-hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .lh-signal li { font-size: 1.15rem; }
  .lh-cta__panel { padding: 28px 22px; }
  .lh-cases .wp-block-column { border-left: 0; border-top: 2px solid var(--wp--preset--color--line); padding-left: 0; padding-top: 16px; }
}
@media (max-width: 520px) {
  .lh-stats.wp-block-columns { grid-template-columns: 1fr; }
  .lh-measure { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   12. Reduced motion: no beam sweep, no parallax, no counters.
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lh-hero::before, .lh-signal::before, .lh-signal li, .lh-measure li { animation: none !important; }
  .lh-hero::after, .lh-hero__content { transform: none !important; }
  html.lh-js .lh-stat:not(.is-in) { opacity: 1; transform: none; }
  .lh-panel, .lh-theme-toggle, .lh-stat { transition: none; }
}

/* ------------------------------------------------------------------
   13. Mobile menu overlay: left-aligned, clear hierarchy, close visible.
   ------------------------------------------------------------------ */
.wp-block-navigation__responsive-container.is-menu-open { padding: 20px 24px 40px !important; background: var(--wp--preset--color--surface) !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; padding-top: 56px !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: flex-start !important; gap: 4px !important; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: flex-start !important; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { font-family: var(--wp--preset--font-family--heading); font-size: 1.2rem; font-weight: 600; padding: 10px 0 !important; color: var(--wp--preset--color--ink) !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { padding: 0 0 8px 14px !important; border-left: 2px solid var(--wp--preset--color--line) !important; margin: 0 0 6px !important; gap: 0 !important; background: transparent !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1rem; font-weight: 500; padding: 7px 0 !important; color: var(--wp--preset--color--muted) !important; }
.wp-block-navigation__responsive-container.is-menu-open .lh-nav-cta { margin-top: 14px; }
.wp-block-navigation__responsive-container.is-menu-open .lh-nav-cta > a { color: #fff !important; padding: 12px 20px !important; font-size: 1rem !important; }
.wp-block-navigation__responsive-container-close { top: 18px !important; right: 18px !important; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--wp--preset--color--line) !important; color: var(--wp--preset--color--ink) !important; }
.wp-block-navigation__responsive-container-open { color: var(--wp--preset--color--ink); }
.wp-block-navigation__responsive-container-open svg, .wp-block-navigation__responsive-container-close svg { width: 26px; height: 26px; }

/* ------------------------------------------------------------------
   14. Imported page content: buttons, stats, spacing.
   ------------------------------------------------------------------ */
.lh-imported-btns { margin: 18px 0 26px; }
.wp-block-post-content svg:not([width]) { max-width: 1.2em; max-height: 1.2em; }
.wp-block-post-content > h2 { margin-top: 2.2em; }
.wp-block-post-content > h1:first-child { margin-top: 0; }
/* Big-number tiles (report figures): count up when they come into view. */
.lh-stat-grid { display: flex; flex-wrap: wrap; gap: 16px; margin: 32px 0 44px !important; }
.lh-stat-cell { position: relative; flex: 1 1 160px; box-sizing: border-box; background: var(--lh-panel-bg); border: 1px solid var(--wp--preset--color--line); border-radius: 16px; padding: 22px 20px 20px; overflow: hidden; box-shadow: 0 18px 40px -34px rgba(14, 34, 64, .5); transition: transform .3s ease, box-shadow .3s ease, opacity .6s ease; }
.lh-stat-cell::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--wp--preset--color--blue), var(--wp--preset--color--beam)); transform-origin: left; transition: transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms + .2s); }
.lh-stat-cell:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(14, 34, 64, .55); }
.lh-stat-num { font-family: var(--wp--preset--font-family--heading); font-weight: 300; font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 1; letter-spacing: -.02em; color: var(--wp--preset--color--blue); margin-bottom: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lh-stat-label { color: var(--wp--preset--color--ink); font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: .95rem; line-height: 1.35; }
.lh-stat-sub { margin-top: 4px; color: var(--wp--preset--color--muted); font-size: .85rem; line-height: 1.4; }
.lh-stat-grid--lead .lh-stat-cell:first-child { flex-basis: 100%; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 28px; padding: 28px 32px; border: 0; color: #fff; background: radial-gradient(520px 220px at 100% 0%, rgba(156, 199, 243, .28), transparent 70%), linear-gradient(135deg, var(--wp--preset--color--navy), var(--wp--preset--color--blue)); box-shadow: var(--lh-glass-shadow); }
.lh-stat-grid--lead .lh-stat-cell:first-child::before { background: linear-gradient(90deg, var(--wp--preset--color--orange), #FFC27A); height: 4px; }
.lh-stat-grid--lead .lh-stat-cell:first-child .lh-stat-num { grid-row: span 2; margin: 0; font-size: clamp(3.2rem, 7vw, 4.6rem); font-weight: 600; color: #fff; }
.lh-stat-grid--lead .lh-stat-cell:first-child .lh-stat-label { color: #fff; font-size: 1.15rem; align-self: end; }
.lh-stat-grid--lead .lh-stat-cell:first-child .lh-stat-sub { color: rgba(234, 240, 248, .82); font-size: .95rem; align-self: start; }
html.lh-js .lh-stat-grid[data-reveal]:not(.is-in) .lh-stat-cell { opacity: 0; transform: translateY(16px); }
html.lh-js .lh-stat-grid[data-reveal]:not(.is-in) .lh-stat-cell::before { transform: scaleX(0); }
.lh-stat-grid[data-reveal].is-in .lh-stat-cell { transition-delay: calc(var(--i, 0) * 90ms); }
@media (max-width: 600px) { .lh-stat-grid--lead .lh-stat-cell:first-child { grid-template-columns: 1fr; } .lh-stat-grid--lead .lh-stat-cell:first-child .lh-stat-num { grid-row: auto; margin-bottom: 10px; } }
@media (max-width: 420px) { .lh-stat-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------
   15. Blog cards.
   ------------------------------------------------------------------ */
.lh-cards .wp-block-post-template.is-layout-grid { gap: 22px; }
@media (max-width: 1000px) { .lh-cards .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .lh-cards .wp-block-post-template.is-layout-grid { grid-template-columns: minmax(0, 1fr) !important; } }
.lh-card-item { height: 100%; display: flex; flex-direction: column; background: var(--lh-panel-bg); border: 1px solid var(--wp--preset--color--line); border-radius: 14px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.lh-card-item:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(14, 34, 64, 0.5); }
.lh-card-img { margin: 0 !important; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--wp--preset--color--navy), var(--wp--preset--color--blue)); }
.lh-card-img img { width: 100%; height: 100% !important; object-fit: cover; display: block; border-radius: 0 !important; }
.lh-card-img--empty a { display: block; width: 100%; height: 100%; }
.lh-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lh-card-date { color: var(--wp--preset--color--muted); margin: 0 !important; }
.lh-card-title { margin: 0 !important; font-size: 1.15rem !important; line-height: 1.3; }
.lh-card-title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.lh-card-title a:hover { color: var(--wp--preset--color--blue); }
.lh-card-excerpt { margin: 0 !important; color: var(--wp--preset--color--muted); font-size: .95rem; }
.lh-card-excerpt .wp-block-post-excerpt__more-link { font-weight: 600; text-decoration: none; }
.lh-pager { margin-top: 36px; }

/* ------------------------------------------------------------------
   16. Interior pages on small screens.
   ------------------------------------------------------------------ */
.lh-page > .wp-block-post-content > :first-child,
.lh-page > .lh-page-title { margin-top: 0 !important; }
.lh-page .wp-block-post-content h1 { font-size: var(--wp--preset--font-size--xx-large); line-height: 1.1; margin: 0 0 18px; }
.wp-block-post-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-collapse: collapse; }
.wp-block-post-content td, .wp-block-post-content th { padding: 8px 10px; vertical-align: top; }
.wp-block-post-content iframe, .wp-block-post-content video, .wp-block-post-content embed { max-width: 100%; }
.wp-block-post-content img { height: auto; }
@media (max-width: 781px) {
  .lh-page { padding-top: 28px !important; padding-bottom: 56px !important; }
  .wp-block-post-content > h2 { margin-top: 1.6em; }
  .wp-block-post-content td, .wp-block-post-content th { min-width: 140px; }
  .wp-block-post-content img.alignleft, .wp-block-post-content img.alignright,
  .wp-block-post-content .alignleft, .wp-block-post-content .alignright { float: none; display: block; margin: 0 0 16px; max-width: 100%; }
}

/* Imported buttons live in classic content, which gets no core layout CSS. */
.lh-imported-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lh-imported-btns .wp-block-button { margin: 0; }
.wp-block-post-content .wp-block-button__link { display: inline-block; text-decoration: none !important; line-height: 1.25; text-align: center; }
.wp-block-post-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--blue); border: 2px solid currentColor; padding: 12px 20px; }
.wp-block-post-content .is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--blue); color: #fff; border-color: var(--wp--preset--color--blue); }
@media (max-width: 520px) { .lh-imported-btns .wp-block-button, .lh-imported-btns .wp-block-button__link { width: 100%; } }
/* "Why Lighthouse" rules: keep clear of the paragraph above when columns stack. */
.lh-why .wp-block-column > h3 { margin-top: 32px; }
.lh-why .wp-block-column > h3:first-child { margin-top: 0; }
@media (max-width: 781px) { .lh-why .wp-block-column + .wp-block-column > h3:first-child { margin-top: 32px; } }
.wp-block-post-content .wp-block-button__link { box-sizing: border-box; max-width: 100%; }
.lh-imported-btns .wp-block-button + .wp-block-button .wp-block-button__link { background: transparent; color: var(--wp--preset--color--blue); border: 2px solid currentColor; padding: 12px 20px; }
.lh-imported-btns .wp-block-button + .wp-block-button .wp-block-button__link:hover { background: var(--wp--preset--color--blue); color: #fff; }


/* ------------------------------------------------------------------
   17. Inline buttons in block content (home, SDI, RA).
   ------------------------------------------------------------------ */
.lh-inline-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.lh-inline-btns .wp-block-button__link, .lh-hero-btns .wp-block-button__link { text-decoration: none; }
.lh-inline-btns .is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--blue); border: 2px solid currentColor; padding: 12px 20px; }
.lh-inline-btns .is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--blue); color: #fff; border-color: var(--wp--preset--color--blue); }
.lh-btn-sm .wp-block-button__link { font-size: .9rem !important; padding: 8px 14px !important; }
.lh-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lh-hero-btns .is-style-outline .wp-block-button__link { color: #fff; border: 2px solid rgba(255,255,255,.55); background: transparent; padding: 12px 20px; }
.lh-hero-btns .is-style-outline .wp-block-button__link:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.lh-panel .lh-inline-btns { margin-top: auto; padding-top: 10px; }
.lh-panel { display: flex; flex-direction: column; }
@media (max-width: 520px) { .lh-hero-btns .wp-block-button, .lh-hero-btns .wp-block-button__link, .lh-inline-btns:not(.lh-btn-sm) .wp-block-button, .lh-inline-btns:not(.lh-btn-sm) .wp-block-button__link { width: 100%; box-sizing: border-box; text-align: center; } }

/* ------------------------------------------------------------------
   18. Product pages: SDI and Risk Assessment.
   ------------------------------------------------------------------ */
.lh-hero--page { padding-top: 96px; padding-bottom: 150px; }
.lh-hero--page h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); max-width: 18ch; text-wrap: balance; }
.lh-terms { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lh-terms li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 12px; padding: 10px 16px; display: flex; flex-direction: column; min-width: 150px; }
.lh-terms b { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.15rem; color: #fff; }
.lh-terms span { color: rgba(234,240,248,.72); font-size: .9rem; }

.lh-intro-band { margin-top: -96px; position: relative; z-index: 2; padding-bottom: 24px; }
.lh-intro-cols { gap: 24px !important; align-items: stretch !important; }
.lh-intro-a { display: flex; align-items: center; }
.lh-intro-lead { font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.35; font-weight: 500; color: #fff; background: linear-gradient(135deg, var(--wp--preset--color--blue), var(--wp--preset--color--navy)); border-radius: 18px; padding: 32px; margin: 0; box-shadow: var(--lh-glass-shadow); }
.lh-glass-card { background: var(--lh-glass-bg); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); border: 1px solid var(--lh-glass-border); box-shadow: var(--lh-glass-shadow); border-radius: 18px; padding: 26px 28px; }
.lh-glass-card h3 { margin-top: 0; }
.lh-ticks { list-style: none; padding: 0; margin: 10px 0 14px; }
.lh-ticks li { position: relative; padding: 6px 0 6px 28px; }
.lh-ticks li::before { content: ""; position: absolute; left: 0; top: 12px; width: 16px; height: 9px; border-left: 2.5px solid var(--wp--preset--color--orange); border-bottom: 2.5px solid var(--wp--preset--color--orange); transform: rotate(-45deg); }
.lh-ticks--lg li { font-size: 1.05rem; padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--wp--preset--color--line); }
.lh-ticks--lg li::before { top: 16px; }

.lh-qgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.lh-q { border-radius: 16px; padding: 24px 24px 20px; background: var(--wp--preset--color--ground); border: 1px solid var(--wp--preset--color--line); position: relative; overflow: hidden; }
.lh-q::after { content: "?"; position: absolute; right: 14px; bottom: -28px; font-family: var(--wp--preset--font-family--heading); font-size: 7rem; font-weight: 700; color: var(--wp--preset--color--blue); opacity: .08; line-height: 1; }
.lh-q h3 { margin: 0 0 6px; font-size: 1.25rem; }
.lh-q p { margin: 0; color: var(--wp--preset--color--muted); }

.lh-band-quotes { position: relative; overflow: hidden; isolation: isolate; }
.lh-band-quotes::before { content: ""; position: absolute; z-index: -1; width: 200vmax; height: 200vmax; right: -140vmax; top: -150vmax; background: conic-gradient(from 200deg at 50% 50%, transparent 0deg, var(--lh-beam-b) 10deg, var(--lh-beam-a) 22deg, var(--lh-beam-b) 34deg, transparent 46deg); filter: blur(30px); pointer-events: none; }
.lh-band-quotes h2 { max-width: 26ch; }
.lh-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.lh-quote { margin: 0; padding: 22px 22px 22px 54px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); position: relative; }
.lh-quote::before { content: "“"; position: absolute; left: 16px; top: 4px; font-family: Georgia, serif; font-size: 3.4rem; color: var(--wp--preset--color--beam); line-height: 1; }
.lh-quote p { margin: 0; font-family: var(--wp--preset--font-family--heading); font-size: 1.1rem; line-height: 1.4; color: #fff; }

.lh-measure-cols { gap: 32px !important; margin-top: 18px; }
.lh-measure--3 { grid-template-columns: repeat(3, 1fr) !important; margin-top: 8px; }
.lh-m-b { align-self: flex-start; }

.lh-why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin-top: 18px; }
.lh-why-item { padding: 20px 0; border-top: 1px solid var(--wp--preset--color--line); }
.lh-why-item h3 { margin: 0 0 6px; font-size: 1.2rem; color: var(--wp--preset--color--blue); }
.lh-why-item p { margin: 0; }

.lh-steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: none; position: relative; }
.lh-steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: linear-gradient(90deg, var(--wp--preset--color--beam), var(--wp--preset--color--blue)); }
.lh-step { position: relative; padding-top: 62px; }
.lh-step-n { position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--wp--preset--color--surface); border: 2px solid var(--wp--preset--color--blue); color: var(--wp--preset--color--blue); font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.1rem; }
.lh-step-title { margin: 0 0 6px; font-size: 1.1rem !important; }
.lh-step p { margin: 0; color: var(--wp--preset--color--muted); font-size: .97rem; }
.lh-ra-steps .lh-steps { grid-template-columns: 1fr; gap: 0; max-width: 820px; }
.lh-ra-steps .lh-steps::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; background: linear-gradient(180deg, var(--wp--preset--color--beam), var(--wp--preset--color--blue)); }
.lh-ra-steps .lh-step { padding: 0 0 28px 72px; }
.lh-ra-steps .lh-step-title { padding-top: 10px; font-size: 1.25rem !important; }

.lh-roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.lh-role { background: var(--lh-panel-bg); border: 1px solid var(--wp--preset--color--line); border-radius: 16px; padding: 22px; }
.lh-role-t { display: block; font-family: var(--wp--preset--font-family--heading); font-weight: 300; font-size: 2.4rem; line-height: 1; color: var(--wp--preset--color--blue); margin-bottom: 10px; }
.lh-role p { margin: 0; color: var(--wp--preset--color--muted); }

.lh-stats-head { margin: 0 0 18px; padding: 26px 28px; border-radius: 18px; background: var(--lh-glass-bg); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); border: 1px solid var(--lh-glass-border); box-shadow: var(--lh-glass-shadow); }
.lh-stats-head h2 { margin: 0 0 6px; }
.lh-stats-head p { margin: 0; color: var(--wp--preset--color--muted); max-width: 62ch; }

.lh-fit-cols { gap: 40px !important; }
.lh-fit-b { align-self: center; }
.lh-get-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px; }
.lh-get { background: var(--lh-panel-bg); border: 1px solid var(--wp--preset--color--line); border-left: 3px solid var(--wp--preset--color--orange); border-radius: 12px; padding: 16px 18px; }
.lh-get p { margin: 0; }

.lh-guarantee { position: relative; overflow: hidden; isolation: isolate; }
.lh-guarantee::before { content: ""; position: absolute; z-index: -1; width: 200vmax; height: 200vmax; left: -120vmax; top: -150vmax; background: conic-gradient(from 110deg at 50% 50%, transparent 0deg, var(--lh-beam-b) 10deg, var(--lh-beam-a) 22deg, var(--lh-beam-b) 34deg, transparent 46deg); filter: blur(30px); pointer-events: none; }
.lh-guarantee p { color: rgba(234,240,248,.85); }
.lh-g-cols { gap: 40px !important; align-items: center !important; }
.lh-promise { margin: 0; padding: 0 0 0 4px; list-style: none; counter-reset: p; }
.lh-promise li { counter-increment: p; position: relative; padding: 12px 0 12px 46px; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(234,240,248,.88); }
.lh-promise li:last-child { border-bottom: 0; }
.lh-promise li::before { content: counter(p); position: absolute; left: 0; top: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--wp--preset--color--orange); color: #fff; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: .95rem; }
.lh-promise b { color: #fff; }
.lh-after-cols { gap: 40px !important; }
.lh-ra-isnt a, .lh-guarantee a { color: inherit; }

@media (max-width: 1000px) {
  .lh-steps { grid-template-columns: 1fr; gap: 0; }
  .lh-steps::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; background: linear-gradient(180deg, var(--wp--preset--color--beam), var(--wp--preset--color--blue)); }
  .lh-step { padding: 0 0 24px 68px; }
  .lh-step-title { padding-top: 10px; }
  .lh-roles { grid-template-columns: repeat(2, 1fr); }
  .lh-quotes { grid-template-columns: repeat(2, 1fr); }
  .lh-measure--3 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 781px) {
  .lh-hero--page { padding-top: 64px; padding-bottom: 120px; }
  .lh-intro-band { margin-top: -80px; }
  .lh-intro-lead { padding: 24px; }
  .lh-qgrid, .lh-why-grid, .lh-get-grid, .lh-quotes { grid-template-columns: 1fr; }
  .lh-terms li { min-width: 0; flex: 1 1 140px; }
}
@media (max-width: 520px) { .lh-roles, .lh-measure--3 { grid-template-columns: 1fr !important; } }

/* Product page refinements */
.lh-panel ul.lh-ticks { margin: 10px 0 14px; }
.lh-panel ul.lh-ticks li { border-top: 0; padding: 6px 0 6px 28px; border-bottom: 1px dashed var(--wp--preset--color--line); }
.lh-panel ul.lh-ticks li::before { top: 12px; width: 16px; height: 9px; background: none; border-left: 2.5px solid var(--wp--preset--color--orange); border-bottom: 2.5px solid var(--wp--preset--color--orange); transform: rotate(-45deg); }
.lh-steps::before { right: calc(20% - 8px); }
.lh-ra-steps .lh-steps::before, .lh-steps--v::before { bottom: 70px; }
@media (max-width: 1000px) { .lh-steps::before { bottom: 70px; } }
.lh-stats-head { box-sizing: border-box; }
.lh-hero--page .lh-hero__lede { max-width: 58ch; }
.lh-guarantee h2 { font-size: clamp(2rem, 4.2vw, 3rem); }

/* CTA band breathing room (product pages have no inline padding). */
.lh-cta { padding-top: 88px; padding-bottom: 88px; }
@media (max-width: 781px) {
  .lh-cta { padding-top: 56px !important; padding-bottom: 56px !important; }
  .lh-cta__panel { padding: 30px 22px; }
  .lh-terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .lh-terms li { min-width: 0; padding: 10px 10px; }
  .lh-terms b { font-size: 1rem; }
  .lh-terms span { font-size: .8rem; }
}

.lh-linkedin { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; color: #0A66C2 !important; background: rgba(10, 102, 194, .08); border: 1px solid rgba(10, 102, 194, .2); text-decoration: none !important; transition: background-color .2s ease, color .2s ease; }
.lh-linkedin:hover { background: #0A66C2; color: #fff !important; }
:root[data-theme="dark"] .lh-linkedin { color: #7FB5EA !important; background: rgba(127, 181, 234, .1); border-color: rgba(127, 181, 234, .25); }
.wp-block-post-content svg:not([width]) { max-width: 1.2em; max-height: 1.2em; }

/* Imported pages that use more than one H1: later ones read as section headings. */
.wp-block-post-content h1 ~ h1 { font-size: var(--wp--preset--font-size--x-large); margin-top: 2.2em; line-height: 1.15; }
/* Team members on Who We Are. */
.lh-person { display: grid; grid-template-columns: 120px 1fr; gap: 6px 24px; align-items: start; padding: 26px 0; border-top: 1px solid var(--wp--preset--color--line); }
.lh-person img { width: 120px; height: 120px; object-fit: cover; border-radius: 50% !important; grid-row: span 3; border: 3px solid var(--wp--preset--color--surface); box-shadow: 0 10px 30px -14px rgba(14,34,64,.45); }
.lh-person h2 { margin: 4px 0 0 !important; font-size: 1.5rem; }
.lh-person .lh-role-title { margin: 0; color: var(--wp--preset--color--blue); font-weight: 600; }
.lh-person p { margin: 8px 0 0; }
@media (max-width: 600px) { .lh-person { grid-template-columns: 1fr; } .lh-person img { grid-row: auto; width: 104px; height: 104px; } }
.lh-page .wp-block-post-content h1 ~ h1 { margin-top: 2.2em; margin-bottom: 12px; font-size: var(--wp--preset--font-size--x-large); }

/* ------------------------------------------------------------------
   Forms (Contact Form 7, WPForms, and any plain form in page content)
   ------------------------------------------------------------------ */
.wpcf7-form, .wpforms-container .wpforms-form, .wp-block-post-content form { max-width: 560px; }
.wpcf7-form p, .wpforms-field { margin: 0 0 18px; }
.wpcf7-form label, .wpforms-field-label, .wp-block-post-content form label {
  display: block; font-family: var(--wp--preset--font-family--heading); font-weight: 500; font-size: .95rem;
  color: var(--wp--preset--color--ink); margin-bottom: 6px; line-height: 1.4;
}
.wpcf7-form br { display: none; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wp-block-post-content form input[type="text"], .wp-block-post-content form input[type="email"], .wp-block-post-content form input[type="tel"],
.wp-block-post-content form input[type="url"], .wp-block-post-content form input[type="number"], .wp-block-post-content form input[type="date"],
.wp-block-post-content form select, .wp-block-post-content form textarea,
.wpcf7-form .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-checkbox):not(.wpcf7-radio):not(.wpcf7-acceptance),
.wpforms-container .wpforms-form input[type="text"], .wpforms-container .wpforms-form input[type="email"], .wpforms-container .wpforms-form input[type="tel"],
.wpforms-container .wpforms-form select, .wpforms-container .wpforms-form textarea {
  box-sizing: border-box; width: 100% !important; max-width: 100% !important; min-height: 48px;
  padding: 12px 14px; font: inherit; font-size: 1rem; line-height: 1.4;
  color: var(--wp--preset--color--ink); background: var(--lh-panel-bg);
  border: 1px solid var(--wp--preset--color--line); border-radius: 10px;
  box-shadow: none; transition: border-color .15s ease, box-shadow .15s ease; -webkit-appearance: none; appearance: none;
}
.wp-block-post-content form textarea, .wpcf7-form textarea, .wpforms-container textarea { min-height: 140px; resize: vertical; }
.wp-block-post-content form input:focus, .wp-block-post-content form select:focus, .wp-block-post-content form textarea:focus,
.wpcf7-form .wpcf7-form-control:focus, .wpforms-container .wpforms-form input:focus, .wpforms-container .wpforms-form textarea:focus, .wpforms-container .wpforms-form select:focus {
  outline: none; border-color: var(--wp--preset--color--blue); box-shadow: 0 0 0 3px rgba(52, 114, 174, .25);
}
.wp-block-post-content form ::placeholder { color: var(--wp--preset--color--muted); opacity: 1; }
.wp-block-post-content form input[type="submit"], .wp-block-post-content form button[type="submit"],
.wpcf7-form .wpcf7-submit, .wpforms-container .wpforms-submit {
  -webkit-appearance: none; appearance: none; cursor: pointer; display: inline-block; width: auto; max-width: 100%;
  margin-top: 6px; padding: 14px 24px; border: 0; border-radius: 10px;
  background: var(--wp--preset--color--orange); color: #fff !important;
  font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1rem; line-height: 1.25;
  transition: background-color .15s ease, transform .15s ease;
}
.wp-block-post-content form input[type="submit"]:hover, .wp-block-post-content form button[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover, .wpforms-container .wpforms-submit:hover { background: var(--wp--preset--color--blue); transform: translateY(-1px); }
/* WPForms "modern" styling sets its own variables and strong selectors; point them at the theme. */
.wpforms-container, div.wpforms-container-full {
  --wpforms-button-background-color: var(--wp--preset--color--orange) !important;
  --wpforms-button-background-color-alt: var(--wp--preset--color--blue) !important;
  --wpforms-button-text-color: #fff !important;
  --wpforms-button-border-radius: 10px !important;
  --wpforms-button-border-size: 0px !important;
  --wpforms-button-size-font-size: 1rem !important;
  --wpforms-button-size-height: 50px !important;
  --wpforms-button-size-padding-h: 26px !important;
  --wpforms-field-border-radius: 10px !important;
  --wpforms-field-border-color: var(--wp--preset--color--line) !important;
  --wpforms-field-size-input-height: 48px !important;
}
div.wpforms-container-full .wpforms-form button[type="submit"], div.wpforms-container-full .wpforms-form .wpforms-submit,
div.wpforms-container .wpforms-form button[type="submit"], div.wpforms-container .wpforms-form .wpforms-submit,
.wpcf7 form .wpcf7-submit, .wpcf7 form .wpcf7-submit:disabled {
  background: var(--wp--preset--color--orange) !important; background-color: var(--wp--preset--color--orange) !important;
  color: #fff !important; border: 0 !important; border-radius: 10px !important; opacity: 1 !important;
  height: auto !important; min-height: 48px; padding: 14px 26px !important; box-shadow: none !important;
  font-family: var(--wp--preset--font-family--heading) !important; font-weight: 600 !important; font-size: 1rem !important; line-height: 1.25 !important;
  cursor: pointer; transition: background-color .15s ease, transform .15s ease;
}
div.wpforms-container-full .wpforms-form button[type="submit"]:hover, div.wpforms-container .wpforms-form .wpforms-submit:hover, .wpcf7 form .wpcf7-submit:not(:disabled):hover {
  background: var(--wp--preset--color--blue) !important; background-color: var(--wp--preset--color--blue) !important; transform: translateY(-1px);
}
div.wpforms-container .wpforms-form .wpforms-submit:disabled, .wpcf7 form .wpcf7-submit:disabled { opacity: .6 !important; cursor: not-allowed; transform: none; }
div.wpforms-container .wpforms-form input[type="text"], div.wpforms-container .wpforms-form input[type="email"], div.wpforms-container .wpforms-form input[type="tel"],
div.wpforms-container .wpforms-form input[type="url"], div.wpforms-container .wpforms-form input[type="number"], div.wpforms-container .wpforms-form select, div.wpforms-container .wpforms-form textarea {
  border-radius: 10px !important; border-color: var(--wp--preset--color--line) !important;
}
div.wpforms-container .wpforms-form input[type="checkbox"], div.wpforms-container .wpforms-form input[type="radio"], .wpcf7-form input[type="checkbox"], .wpcf7-form input[type="radio"] { accent-color: var(--wp--preset--color--orange); }
.wpcf7-form .wpcf7-spinner { vertical-align: middle; }
.wpcf7-form .wpcf7-list-item { margin: 0 16px 0 0; }
.wpcf7-form .wpcf7-list-item label { display: inline-flex; gap: 8px; align-items: center; font-weight: 400; font-family: inherit; }
.wpcf7-not-valid-tip, .wpforms-error { color: #E5484D; font-size: .875rem; margin-top: 6px; display: block; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; border-width: 1px; font-size: .95rem; }
@media (max-width: 520px) {
  .wp-block-post-content form input[type="submit"], .wp-block-post-content form button[type="submit"], .wpcf7-form .wpcf7-submit, .wpforms-container .wpforms-submit { width: 100%; }
}

/* Product-page heroes: cards overlap the bottom of the hero, so the hero text
   stays put instead of drifting down toward them on scroll. */
.lh-hero--page .lh-hero__content { transform: none !important; }
/* Dark mode: the hero and the page below are both dark, so a hard edge between
   them reads as a glitch behind the overlapping cards. Fade the hero into the page. */
:root[data-theme="dark"] .lh-hero {
  background-image:
    linear-gradient(180deg, rgba(11, 26, 48, 0) 55%, var(--wp--preset--color--ground) 100%),
    radial-gradient(720px 480px at 100% 0%, rgba(196, 224, 255, 0.20), rgba(196, 224, 255, 0) 70%),
    radial-gradient(1200px 700px at 50% 120%, rgba(52, 114, 174, 0.22), rgba(52, 114, 174, 0) 70%) !important;
}
/* Intro cards: the blue lead card fills the full height of its column so both
   cards line up top and bottom. */
.lh-intro-a { align-items: stretch !important; }
.lh-intro-a .lh-intro-lead { display: flex; align-items: center; width: 100%; box-sizing: border-box; }

/* ------------------------------------------------------------------
   Listing pages (Case Studies, Resources): cards like the blog
   ------------------------------------------------------------------ */
.wp-block-post-content .lh-card-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
  margin-top: 28px !important; margin-bottom: 48px !important;
}
/* A page with cards uses the blog's full width, so headings, text and cards
   share one left edge. Text keeps a readable line length. */
.lh-page:has(.lh-card-grid, .lh-team, .lh-testimonials) > .wp-block-post-title,
.lh-page:has(.lh-card-grid, .lh-team, .lh-testimonials) > .wp-block-post-content { max-width: 1120px !important; }
.lh-page:has(.lh-card-grid, .lh-team, .lh-testimonials) > .wp-block-post-content > *:not(.lh-auto-hero) { max-width: 1120px !important; }
.lh-page:has(.lh-card-grid, .lh-team, .lh-testimonials) > .wp-block-post-content > :is(p:not(.lh-callout__cta), ul:not(.lh-chips):not(.lh-benefits):not(.lh-icon-grid), ol:not(.lh-process), blockquote, figure:not(.lh-card-img)) {
  box-sizing: border-box; padding-right: max(0px, calc(100% - 760px));
}
@media (max-width: 1000px) { .wp-block-post-content .lh-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .wp-block-post-content .lh-card-grid { grid-template-columns: minmax(0, 1fr); } }
.lh-card-static .lh-card-img a { display: block; width: 100%; height: 100%; }
.lh-card-static .lh-card-img img { margin: 0 !important; max-width: none; box-shadow: none !important; }
.lh-card-static .lh-card-title { font-size: 1.1rem !important; }
.lh-card-static .lh-card-excerpt p { margin: 0 0 8px; font-size: .95rem; line-height: 1.55; }
.lh-card-static .lh-card-excerpt p:last-child { margin-bottom: 0; }
.lh-card-static .lh-card-more { margin: auto 0 0 !important; padding-top: 6px; }
.lh-card-static .lh-card-more a { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: .95rem; color: var(--wp--preset--color--blue); text-decoration: none; }
.lh-card-static .lh-card-more a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------
   Pages that open with an image: split hero under the header
   ------------------------------------------------------------------ */
html, body { overflow-x: clip; }
.lh-page:has(.lh-auto-hero) { padding-top: 0 !important; }
.lh-page:has(.lh-auto-hero) > .wp-block-post-title { display: none; }
.wp-block-post-content > .lh-auto-hero {
  box-sizing: border-box; width: 100vw; max-width: 100vw !important;
  margin: 0 0 56px calc(50% - 50vw) !important; padding: 76px 20px 84px; color: #fff;
}
.lh-auto-hero__inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.lh-auto-hero h1 { color: #fff; margin: 0; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.1; text-wrap: balance; }
.lh-auto-hero__lede { color: rgba(234, 240, 248, .84); font-size: 1.15rem; line-height: 1.55; margin: 18px 0 0 !important; max-width: 46ch; }
.lh-auto-hero__media { margin: 0; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(135deg, var(--wp--preset--color--navy), var(--wp--preset--color--blue)); }
.lh-auto-hero__media img { width: 100%; height: 100% !important; object-fit: cover; display: block; border-radius: 0 !important; margin: 0 !important; }
@media (max-width: 820px) {
  .wp-block-post-content > .lh-auto-hero { padding: 44px 20px 52px; margin-bottom: 40px !important; }
  .lh-auto-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lh-auto-hero__media { aspect-ratio: 16 / 9; }
}

/* Thumbnails with captions -> photo grid */
.lh-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; margin: 28px 0 40px !important; }
.lh-photo { margin: 0; background: var(--lh-panel-bg); border: 1px solid var(--wp--preset--color--line); border-radius: 14px; overflow: hidden; }
.lh-photo img { width: 100%; aspect-ratio: 4 / 3; height: auto !important; object-fit: cover; display: block; border-radius: 0 !important; margin: 0 !important; }
.lh-photo figcaption { padding: 12px 14px 14px; font-size: .9rem; line-height: 1.45; color: var(--wp--preset--color--ink); margin: 0; }

/* Date / title / type runs -> events list */
.lh-events { list-style: none; padding: 0 !important; margin: 24px 0 40px !important; display: grid; gap: 12px; }
.lh-events li { display: flex; gap: 18px; align-items: center; padding: 16px 18px; background: var(--lh-panel-bg); border: 1px solid var(--wp--preset--color--line); border-radius: 14px; margin: 0; }
.lh-ev-date { flex: 0 0 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px 6px; border-radius: 10px; background: linear-gradient(135deg, var(--wp--preset--color--navy), var(--wp--preset--color--blue)); color: #fff; }
.lh-ev-date b { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1rem; line-height: 1.2; }
.lh-ev-date i { font-style: normal; font-size: .8rem; opacity: .8; }
.lh-ev-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lh-ev-title { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.05rem; line-height: 1.35; }
.lh-ev-title a { text-decoration: none; }
.lh-ev-title a:hover { text-decoration: underline; }
.lh-ev-type { color: var(--wp--preset--color--muted); font-size: .9rem; }
@media (max-width: 520px) { .lh-events li { align-items: flex-start; } .lh-ev-date { flex-basis: 78px; } }

/* Tables */
.lh-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0 40px; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; background: var(--lh-panel-bg); }
.wp-block-post-content .lh-table-wrap table { display: table; width: 100%; max-width: none; border-collapse: collapse; margin: 0; font-size: .95rem; }
.lh-table-wrap td, .lh-table-wrap th { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--wp--preset--color--line); text-align: left; vertical-align: top; }
.lh-table-wrap tr:last-child td { border-bottom: 0; }
.lh-table-wrap tr:nth-child(even) td { background: rgba(52, 114, 174, .04); }
.lh-table-wrap td:first-child { white-space: nowrap; color: var(--wp--preset--color--muted); }

/* Old pages use H1 for section titles further down the page; size them as sections. */
.wp-block-post-content > h1:not(:first-child) { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-top: 1.6em; }
/* Photos without captions in a row are usually logos: show them whole. */
.lh-photo:not(:has(figcaption)) img { object-fit: contain; aspect-ratio: 3 / 2; padding: 18px; box-sizing: border-box; background: #fff; }
/* Pages with no image: same hero, text only. */
.lh-auto-hero--text .lh-auto-hero__inner { grid-template-columns: minmax(0, 1fr); }
.lh-auto-hero--text h1 { max-width: 22ch; }
.lh-auto-hero--text .lh-auto-hero__lede { max-width: 60ch; }
.wp-block-post-content > .lh-auto-hero--text { padding-top: 72px; padding-bottom: 76px; }

/* ------------------------------------------------------------------
   Hero carousel (page opened with several images)
   ------------------------------------------------------------------ */
.lh-carousel { position: relative; }
.lh-carousel .lh-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 1.1s ease, transform 6s ease; }
.lh-carousel .lh-slide.is-active { opacity: 1; transform: scale(1); }
.lh-carousel .lh-slide img { width: 100%; height: 100% !important; object-fit: cover; display: block; border-radius: 0 !important; margin: 0 !important; }
.lh-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.lh-dot { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .3s ease, background .3s ease; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.lh-dot.is-active { width: 26px; background: #fff; }
.lh-dot:focus-visible { outline: 2px solid var(--lh-focus); outline-offset: 2px; }

/* Cards without a link (e.g. Defects / Delays / Dollars) */
.lh-card-static--plain .lh-card-img { aspect-ratio: 16 / 10; }

/* ------------------------------------------------------------------
   Icon grid ("What We Test"): tiles rise in one after another, each icon
   sits in a lighthouse-beam ring that sweeps slowly; hover speeds it up.
   ------------------------------------------------------------------ */
.wp-block-post-content .lh-icon-grid { list-style: none; padding: 0 !important; margin: 28px 0 48px !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .wp-block-post-content .lh-icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lh-icon-grid li {
  position: relative; margin: 0; padding: 26px 14px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  background: var(--lh-panel-bg); border: 1px solid var(--wp--preset--color--line); border-radius: 16px; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease, opacity .6s ease;
}
.lh-icon-grid li::before {
  content: ""; position: absolute; inset: -40% -40% auto auto; width: 120%; height: 120%;
  background: radial-gradient(closest-side, rgba(156, 199, 243, .22), transparent 70%);
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.lh-icon-chip { position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 10px 24px -14px rgba(14, 34, 64, .55); animation: lh-float 5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.6s); }
.lh-icon-chip::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(52, 114, 174, .15) 70%, var(--wp--preset--color--blue) 86%, var(--wp--preset--color--orange) 92%, transparent 96%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: lh-spin 7s linear infinite; animation-delay: calc(var(--i, 0) * -0.9s);
}
.lh-icon-chip img { width: 54px !important; height: 54px !important; object-fit: contain; margin: 0 !important; border-radius: 0 !important; position: relative; }
.lh-icon-label { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1rem; line-height: 1.3; color: var(--wp--preset--color--ink); }
.lh-icon-grid li:hover { transform: translateY(-6px); border-color: var(--wp--preset--color--blue); box-shadow: 0 24px 50px -28px rgba(14, 34, 64, .55); }
.lh-icon-grid li:hover::before { opacity: 1; }
.lh-icon-grid li:hover .lh-icon-chip::before { animation-duration: 1.6s; }
.lh-icon-grid li:hover .lh-icon-label { color: var(--wp--preset--color--blue); }
/* Rise in, one after another, when the grid scrolls into view. */
html.lh-js .lh-icon-grid:not(.is-in) li { opacity: 0; transform: translateY(26px) scale(.96); }
html.lh-js .lh-icon-grid.is-in li { transition-delay: calc(var(--i, 0) * 90ms); }
html.lh-js .lh-icon-grid.is-in li:hover { transition-delay: 0ms; }
@keyframes lh-spin { to { transform: rotate(360deg); } }
@keyframes lh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) {
  .lh-icon-chip, .lh-icon-chip::before { animation: none; }
  html.lh-js .lh-icon-grid:not(.is-in) li { opacity: 1; transform: none; }
  .lh-carousel .lh-slide { transition: opacity .01s; transform: none; }
}

/* Mobile menu: Contact Us keeps its button shape (the menu-item rule above was flattening it). */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item.lh-nav-cta > .wp-block-navigation-item__content {
  display: inline-block; padding: 12px 22px !important; color: #fff !important; background: var(--wp--preset--color--orange);
  border-radius: 10px; font-size: 1rem; line-height: 1.2;
}

/* ------------------------------------------------------------------
   Service-page sections
   ------------------------------------------------------------------ */
.lh-section-kicker { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: .85rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--orange); margin: 2.6em 0 -.4em !important; }
.lh-section-kicker + h2 { margin-top: .5em !important; }
.wp-block-post-content .lh-lead { font-size: 1.12rem; line-height: 1.65; color: var(--wp--preset--color--ink); }
.wp-block-post-content .lh-lead + .lh-lead { margin-top: .8em; }

/* Benefits grid: numbered tiles that rise in, with a beam line across the top on hover. */
.wp-block-post-content .lh-benefits { list-style: none; padding: 0 !important; margin: 32px 0 48px !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
@media (max-width: 900px) { .wp-block-post-content .lh-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .wp-block-post-content .lh-benefits { grid-template-columns: minmax(0, 1fr); } }
.lh-benefits li { position: relative; margin: 0; padding: 24px 22px 22px; background: var(--lh-panel-bg); border: 1px solid var(--wp--preset--color--line); border-radius: 16px; overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, opacity .6s ease; }
.lh-benefits li::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--wp--preset--color--blue), var(--wp--preset--color--beam), var(--wp--preset--color--orange)); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.lh-benefits li:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -30px rgba(14, 34, 64, .55); }
.lh-benefits li:hover::after, .lh-benefits.is-in li::after { transform: scaleX(1); }
.lh-benefits.is-in li::after { transition-delay: calc(var(--i, 0) * 120ms + 300ms); }
.lh-benefit-num { display: inline-block; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: .85rem; letter-spacing: .08em; color: var(--wp--preset--color--orange); margin-bottom: 10px; }
.wp-block-post-content .lh-benefit-title { margin: 0 0 8px !important; font-size: 1.15rem !important; line-height: 1.3; }
.lh-benefits li p { margin: 0; color: var(--wp--preset--color--muted); font-size: .97rem; line-height: 1.6; }
html.lh-js .lh-benefits:not(.is-in) li { opacity: 0; transform: translateY(24px); }
html.lh-js .lh-benefits.is-in li { transition-delay: calc(var(--i, 0) * 90ms); }
html.lh-js .lh-benefits.is-in li:hover { transition-delay: 0ms; }

/* Numbered steps with a line that draws down as the section comes into view. */
.wp-block-post-content .lh-process { list-style: none; padding: 0 !important; margin: 32px 0 48px !important; position: relative; }
.lh-process::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--wp--preset--color--blue), var(--wp--preset--color--orange)); transform: scaleY(0); transform-origin: top; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.lh-process.is-in::before { transform: scaleY(1); }
.lh-process li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; margin: 0 0 22px; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.lh-process-num { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.1rem; color: #fff; background: linear-gradient(135deg, var(--wp--preset--color--navy), var(--wp--preset--color--blue)); box-shadow: 0 0 0 6px var(--wp--preset--color--ground); }
.lh-process-body { padding: 18px 22px; background: var(--lh-panel-bg); border: 1px solid var(--wp--preset--color--line); border-radius: 14px; }
.wp-block-post-content .lh-process-title { margin: 0 0 6px !important; font-size: 1.1rem !important; }
.lh-process-body p { margin: 0; color: var(--wp--preset--color--muted); font-size: .97rem; line-height: 1.6; }
html.lh-js .lh-process:not(.is-in) li { opacity: 0; transform: translateX(-18px); }
html.lh-js .lh-process.is-in li { transition-delay: calc(var(--i, 0) * 180ms + 150ms); }

/* Call-to-action band */
.wp-block-post-content .lh-callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 36px 0 48px !important; padding: 30px 32px; border-radius: 18px; color: #fff; background: radial-gradient(600px 240px at 100% 0%, rgba(156, 199, 243, .28), transparent 70%), linear-gradient(135deg, var(--wp--preset--color--navy), var(--wp--preset--color--blue)); box-shadow: var(--lh-glass-shadow); transition: opacity .6s ease, transform .6s ease; }
.lh-callout h3 { color: #fff !important; margin: 0 0 6px !important; font-size: 1.45rem !important; }
.lh-callout__text p { margin: 0; color: rgba(234, 240, 248, .86); }
.lh-callout__cta { margin: 0 !important; }
.lh-callout__cta .wp-block-button__link { display: inline-block; text-decoration: none; }
html.lh-js .lh-callout:not(.is-in) { opacity: 0; transform: translateY(20px); }

@media (prefers-reduced-motion: reduce) {
  html.lh-js .lh-benefits:not(.is-in) li, html.lh-js .lh-process:not(.is-in) li, html.lh-js .lh-callout:not(.is-in) { opacity: 1; transform: none; }
  .lh-process::before { transform: none; transition: none; }
}

/* Carousel heroes: give the banners the wider column and their own shape, shown whole. */
.lh-auto-hero--carousel .lh-auto-hero__inner { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 44px; }
.lh-auto-hero--carousel .lh-auto-hero__media { aspect-ratio: 16 / 7; }
.lh-auto-hero--carousel .lh-slide img { object-fit: contain; background: #0E1E36; }
@media (max-width: 820px) { .lh-auto-hero--carousel .lh-auto-hero__inner { grid-template-columns: minmax(0, 1fr); } }

/* Desktop dropdowns: one rounded panel, items inset so no square corners show. */
.lh-nav .wp-block-navigation__submenu-container { overflow: hidden !important; padding: 8px !important; border-radius: 12px !important; box-shadow: 0 22px 44px -22px rgba(14, 34, 64, .45) !important; }
.lh-nav .wp-block-navigation__submenu-container > .wp-block-navigation-item { background: transparent !important; }
.lh-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { border-radius: 8px; padding: 10px 14px !important; transition: background-color .15s ease, color .15s ease; }
.lh-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: rgba(52, 114, 174, .12); color: var(--wp--preset--color--blue); }

/* ------------------------------------------------------------------
   Team cards: photo or initials in a beam ring, name, role, one-line
   summary, and experience behind a toggle. Cards rise in one by one.
   ------------------------------------------------------------------ */
.wp-block-post-content .lh-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 32px 0 48px !important; align-items: start; }
@media (max-width: 960px) { .wp-block-post-content .lh-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .wp-block-post-content .lh-team { grid-template-columns: minmax(0, 1fr); } }
.lh-person-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 18px; background: var(--lh-panel-bg); border: 1px solid var(--wp--preset--color--line); border-radius: 18px; overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease, opacity .6s ease; }
.lh-person-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 84px; background: linear-gradient(135deg, rgba(27, 57, 107, .10), rgba(52, 114, 174, .16)); pointer-events: none; }
.lh-person-card:hover { transform: translateY(-5px); box-shadow: 0 26px 54px -30px rgba(14, 34, 64, .55); border-color: rgba(52, 114, 174, .5); }
.lh-pc-top { position: relative; display: flex; align-items: center; gap: 16px; }
.lh-avatar { position: relative; flex: 0 0 76px; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--wp--preset--color--navy), var(--wp--preset--color--blue)); color: #fff; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.5rem; letter-spacing: .02em; box-shadow: 0 0 0 4px var(--lh-panel-bg), 0 12px 26px -14px rgba(14, 34, 64, .6); }
.lh-avatar img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; object-position: 50% 22%; border-radius: 50% !important; margin: 0 !important; display: block; }
.lh-avatar::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 64%, rgba(52, 114, 174, .2) 72%, var(--wp--preset--color--blue) 86%, var(--wp--preset--color--orange) 92%, transparent 96%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  animation: lh-spin 8s linear infinite; animation-delay: calc(var(--i, 0) * -1.1s);
}
.lh-person-card:hover .lh-avatar::after { animation-duration: 1.8s; }
.lh-pc-id { min-width: 0; }
.wp-block-post-content .lh-pc-name { margin: 0 !important; font-size: 1.2rem !important; line-height: 1.2; }
.lh-pc-role { margin: 4px 0 0 !important; font-family: var(--wp--preset--font-family--heading); font-weight: 500; font-size: .92rem; color: var(--wp--preset--color--blue); }
.lh-pc-tag { margin: 0 !important; font-size: .98rem; line-height: 1.5; color: var(--wp--preset--color--ink); padding-left: 12px; border-left: 3px solid var(--wp--preset--color--orange); }
.lh-pc-more { margin: 2px 0 0; border-top: 1px solid var(--wp--preset--color--line); padding-top: 10px; }
.lh-pc-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: .92rem; color: var(--wp--preset--color--blue); padding: 4px 0; }
.lh-pc-more summary::-webkit-details-marker { display: none; }
.lh-pc-more summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .3s ease; }
.lh-pc-more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.lh-pc-more[open] summary { color: var(--wp--preset--color--orange); }
.lh-pc-points { list-style: none; padding: 0 !important; margin: 10px 0 4px !important; display: grid; gap: 10px; }
.lh-pc-points li { position: relative; padding-left: 18px; font-size: .93rem; line-height: 1.55; color: var(--wp--preset--color--muted); margin: 0; animation: lh-fade-in .45s ease both; }
.lh-pc-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--wp--preset--color--blue); }
@keyframes lh-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
html.lh-js .lh-team:not(.is-in) .lh-person-card { opacity: 0; transform: translateY(26px); }
html.lh-js .lh-team.is-in .lh-person-card { transition-delay: calc(var(--i, 0) * 90ms); }
html.lh-js .lh-team.is-in .lh-person-card:hover { transition-delay: 0ms; }

/* Chips: tools and certifications */
.wp-block-post-content .lh-chips { list-style: none; padding: 0 !important; margin: 20px 0 44px !important; display: flex; flex-wrap: wrap; gap: 10px; }
.lh-chips li { margin: 0; display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--lh-panel-bg); border: 1px solid var(--wp--preset--color--line); font-family: var(--wp--preset--font-family--heading); font-weight: 500; font-size: .95rem; color: var(--wp--preset--color--ink); transition: transform .3s ease, border-color .3s ease, background-color .3s ease, opacity .5s ease; }
.lh-chips li::before { content: ""; flex: 0 0 18px; height: 18px; border-radius: 50%; background: var(--wp--preset--color--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.6 2.5L12 5.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.lh-chips li:hover { transform: translateY(-2px); border-color: var(--wp--preset--color--blue); }
html.lh-js .lh-chips:not(.is-in) li { opacity: 0; transform: translateY(12px) scale(.96); }
html.lh-js .lh-chips.is-in li { transition-delay: calc(var(--i, 0) * 50ms); }
html.lh-js .lh-chips.is-in li:hover { transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
  .lh-avatar::after { animation: none; }
  .lh-pc-points li { animation: none; }
  html.lh-js .lh-team:not(.is-in) .lh-person-card, html.lh-js .lh-chips:not(.is-in) li { opacity: 1; transform: none; }
}

/* Hero headings written as "Title | details": details sit on their own line, lighter. */
.lh-auto-hero .lh-hero-sub { margin: 10px 0 0 !important; font-family: var(--wp--preset--font-family--heading); font-weight: 500; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.3; color: var(--wp--preset--color--beam); }

/* reCAPTCHA: no floating badge anywhere; the notice under each form replaces it. */
.grecaptcha-badge { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.lh-recaptcha-note { margin: 12px 0 0 !important; font-size: .78rem !important; line-height: 1.5; color: var(--wp--preset--color--muted); }
.lh-recaptcha-note a { color: inherit !important; text-decoration: underline; }

/* Video cards (Video Guides, Resources): the blog card, with the video playing in place of the photo. */
.lh-video-frame { background: #0b1830 !important; }
.lh-video-frame iframe { display: block; width: 100% !important; height: 100% !important; border: 0; }
.lh-video-card:hover { transform: none; }

/* Testimonials: quote cards. */
.lh-testimonials { columns: 2 340px; column-gap: 24px; margin: 28px 0 48px !important; }
.lh-quote-card { position: relative; break-inside: avoid; margin: 0 0 24px !important; padding: 30px 28px 24px; background: var(--lh-panel-bg); border: 1px solid var(--wp--preset--color--line); border-radius: 18px; box-shadow: 0 18px 40px -32px rgba(14, 34, 64, .45); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, opacity .6s ease; }
.lh-quote-card:hover { transform: translateY(-4px); border-color: rgba(52, 114, 174, .45); box-shadow: 0 26px 50px -30px rgba(14, 34, 64, .55); }
.lh-quote-mark { position: absolute; top: 6px; right: 22px; font-family: Georgia, "Times New Roman", serif; font-size: 5.5rem; line-height: 1; color: var(--wp--preset--color--orange); opacity: .22; pointer-events: none; }
.wp-block-post-content .lh-quote-title { margin: 0 0 12px !important; padding-right: 48px; font-size: 1.12rem !important; line-height: 1.3; }
.lh-quote-text { margin: 0 !important; padding: 0 !important; border: 0 !important; font-style: normal; }
.lh-quote-text p { margin: 0 0 10px !important; font-size: 1rem !important; line-height: 1.65 !important; color: var(--wp--preset--color--ink); }
.lh-quote-text p:last-child { margin-bottom: 0 !important; }
.lh-quote-by { display: flex; align-items: center; gap: 14px; margin: 18px 0 0 !important; padding-top: 16px; border-top: 1px solid var(--wp--preset--color--line); }
.lh-quote-logo { flex: 0 0 auto; display: grid; place-items: center; width: 92px; height: 52px; padding: 6px 10px; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 10px; box-sizing: border-box; }
.lh-quote-logo img { max-width: 100% !important; max-height: 100% !important; width: auto !important; height: auto !important; object-fit: contain; margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.lh-quote-who { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: .9rem; line-height: 1.4; color: var(--wp--preset--color--blue); }
.lh-testimonials[data-reveal] .lh-quote-card { opacity: 0; transform: translateY(14px); }
.lh-testimonials[data-reveal].is-in .lh-quote-card { opacity: 1; transform: none; transition-delay: calc(min(var(--i, 0), 6) * 70ms); }
.lh-testimonials[data-reveal].is-in .lh-quote-card:hover { transform: translateY(-4px); transition-delay: 0s; }

/* Trusted By logos and award badges: one tidy row. */
.lh-photo-grid.lh-logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 22px; }
.lh-logo-row .lh-photo { flex: 1 1 140px; max-width: 200px; display: grid; place-items: center; height: 96px; padding: 14px 18px; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; box-sizing: border-box; transition: transform .25s ease, box-shadow .25s ease; }
.lh-logo-row .lh-photo:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -24px rgba(14, 34, 64, .5); }
.lh-logo-row .lh-photo img, .lh-logo-row .lh-photo:not(:has(figcaption)) img { width: auto !important; height: auto !important; max-width: 100% !important; max-height: 100% !important; aspect-ratio: auto; padding: 0; background: transparent; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s ease, opacity .25s ease; }
.lh-logo-row .lh-photo:hover img { filter: none; opacity: 1; }
.lh-logo-row .lh-photo figcaption { display: none; }
@media (prefers-reduced-motion: reduce) { .lh-testimonials[data-reveal] .lh-quote-card { opacity: 1; transform: none; } }
.lh-badge-row .lh-photo { height: 150px; flex-basis: 160px; }
.lh-badge-row .lh-photo img, .lh-badge-row .lh-photo:not(:has(figcaption)) img { filter: none; opacity: 1; }

/* Past events: a button that opens the full table. */
.lh-past { margin: 24px 0 40px !important; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; background: var(--lh-panel-bg); overflow: hidden; }
.lh-past__toggle { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.05rem; color: var(--wp--preset--color--ink); transition: background-color .2s ease; }
.lh-past__toggle::-webkit-details-marker { display: none; }
.lh-past__toggle:hover { background: rgba(52, 114, 174, .06); }
.lh-past__toggle:focus-visible { outline: 2px solid var(--wp--preset--color--blue); outline-offset: -2px; }
.lh-past__count { font-size: .8rem; font-weight: 600; line-height: 1; padding: 5px 9px; border-radius: 999px; color: var(--wp--preset--color--blue); background: rgba(52, 114, 174, .1); }
.lh-past__chev { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: var(--wp--preset--color--orange); position: relative; flex: 0 0 34px; transition: transform .3s ease; }
.lh-past__chev::before { content: ""; position: absolute; left: 50%; top: 46%; width: 9px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: translate(-50%, -50%) rotate(45deg); }
.lh-past[open] .lh-past__chev { transform: rotate(180deg); }
.lh-past__body { padding: 0 20px 20px; animation: lh-past-in .35s ease; }
.lh-past__body .lh-table-wrap { margin: 0 !important; }
@keyframes lh-past-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lh-past__body { animation: none; } .lh-past__chev { transition: none; } }

/* Blog listing: blue banner like the other resource pages. */
.lh-archive-hero { box-sizing: border-box; margin: 0 !important; padding: 72px 20px 76px; color: #fff; }
.lh-archive-hero .wp-block-query-title { color: #fff; margin: 0; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.1; }
.lh-archive-hero .lh-auto-hero__lede p { margin: 0 !important; }
.lh-archive-hero .lh-kicker { margin: 0 0 12px !important; }

/* Blog listing: page numbers and newer / older as buttons. */
.lh-pager.wp-block-query-pagination { margin-top: 44px !important; align-items: center; gap: 12px; flex-wrap: wrap; }
.lh-pager .wp-block-query-pagination-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto !important; }
.lh-pager .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; box-sizing: border-box; border-radius: 12px; border: 1px solid var(--wp--preset--color--line); background: var(--lh-panel-bg); font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: .95rem; color: var(--wp--preset--color--ink) !important; text-decoration: none !important; transition: background-color .2s ease, border-color .2s ease, transform .2s ease, color .2s ease; }
.lh-pager a.page-numbers:hover { border-color: var(--wp--preset--color--blue); color: var(--wp--preset--color--blue) !important; transform: translateY(-2px); }
.lh-pager .page-numbers.current { background: var(--wp--preset--color--orange); border-color: var(--wp--preset--color--orange); color: #fff !important; box-shadow: 0 10px 22px -12px rgba(242, 140, 40, .8); }
.lh-pager .page-numbers.dots { border-color: transparent; background: transparent; min-width: 24px; padding: 0; }
.lh-pager .wp-block-query-pagination-previous, .lh-pager .wp-block-query-pagination-next {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; box-sizing: border-box;
  background: var(--wp--preset--color--navy); color: #fff !important; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: .95rem; text-decoration: none !important; transition: background-color .2s ease, transform .2s ease;
}
.lh-pager .wp-block-query-pagination-previous:hover, .lh-pager .wp-block-query-pagination-next:hover { background: var(--wp--preset--color--blue); transform: translateY(-2px); }
.lh-pager .wp-block-query-pagination-previous-arrow, .lh-pager .wp-block-query-pagination-next-arrow { margin: 0 !important; }
@media (max-width: 640px) { .lh-pager .wp-block-query-pagination-numbers { order: -1; width: 100%; } }

/* Blog posts: the category link as a button. */
.lh-post-terms { margin-top: 40px !important; font-size: .95rem; color: var(--wp--preset--color--muted); }
.lh-post-terms a { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; margin-left: 6px; border-radius: 10px; background: var(--wp--preset--color--orange); color: #fff !important; font-family: var(--wp--preset--font-family--heading); font-weight: 600; text-decoration: none !important; transition: background-color .2s ease, transform .2s ease; }
.lh-post-terms a:hover { background: var(--wp--preset--color--blue); transform: translateY(-2px); }
.lh-post-terms .wp-block-post-terms__separator { display: none; }
/* An empty social links block shows nothing. */
.wp-block-social-links:not(:has(.wp-social-link a[href])) { display: none !important; }

/* Report pages: numbered takeaways. */
.wp-block-post-content ol.lh-numbered { list-style: none; counter-reset: lh-n; margin: 28px 0 44px !important; padding: 0 !important; display: grid; gap: 14px; }
.lh-numbered > li { counter-increment: lh-n; position: relative; margin: 0 !important; padding: 20px 22px 20px 92px; min-height: 56px; background: var(--lh-panel-bg); border: 1px solid var(--wp--preset--color--line); border-radius: 16px; line-height: 1.6; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, opacity .6s ease; }
.lh-numbered > li::before { content: counter(lh-n, decimal-leading-zero); position: absolute; left: 22px; top: 18px; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; color: #fff; background: linear-gradient(135deg, var(--wp--preset--color--navy), var(--wp--preset--color--blue)); box-shadow: 0 12px 24px -14px rgba(14, 34, 64, .7); }
.lh-numbered > li:hover { transform: translateX(4px); border-color: rgba(52, 114, 174, .45); box-shadow: 0 20px 40px -32px rgba(14, 34, 64, .5); }
.lh-numbered > li:hover::before { background: linear-gradient(135deg, var(--wp--preset--color--orange), #F7A64B); }
.lh-numbered > li > strong:first-child, .lh-numbered > li > b:first-child { display: block; margin-bottom: 4px; font-family: var(--wp--preset--font-family--heading); font-size: 1.05rem; color: var(--wp--preset--color--ink); }
html.lh-js .lh-numbered[data-reveal]:not(.is-in) > li { opacity: 0; transform: translateY(14px); }
.lh-numbered[data-reveal].is-in > li { transition-delay: calc(min(var(--i, 0), 8) * 80ms); }
.lh-numbered[data-reveal].is-in > li:hover { transition-delay: 0s; }
@media (max-width: 600px) { .lh-numbered > li { padding: 76px 18px 18px; } .lh-numbered > li::before { left: 18px; top: 16px; } }

/* Report pages: numbered contents list. */
.wp-block-post-content ol.lh-toc { list-style: none; margin: 18px 0 32px !important; padding: 0 !important; columns: 2 260px; column-gap: 28px; }
.lh-toc > li { break-inside: avoid; display: flex; align-items: center; gap: 12px; margin: 0 0 8px !important; padding: 8px 10px; border-radius: 10px; transition: background-color .2s ease, opacity .5s ease, transform .5s ease; }
.lh-toc > li:hover { background: rgba(52, 114, 174, .07); }
.lh-toc__n { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: .85rem; color: var(--wp--preset--color--blue); background: rgba(52, 114, 174, .1); border: 1px solid rgba(52, 114, 174, .22); font-variant-numeric: tabular-nums; }
.lh-toc > li:first-child .lh-toc__n { color: #fff; background: var(--wp--preset--color--orange); border-color: var(--wp--preset--color--orange); }
.lh-toc__t { font-size: .97rem; line-height: 1.35; color: var(--wp--preset--color--ink); }
html.lh-js .lh-toc[data-reveal]:not(.is-in) > li { opacity: 0; transform: translateY(8px); }
.lh-toc[data-reveal].is-in > li { transition-delay: calc(min(var(--i, 0), 19) * 35ms); }

/* Report pages: the sample-report notice. */
.wp-block-post-content p.lh-notice { position: relative; margin: 18px 0 26px !important; padding: 12px 16px 12px 46px !important; border-radius: 12px; font-size: .9rem; line-height: 1.5; color: var(--wp--preset--color--ink); background: rgba(242, 140, 40, .08); border: 1px dashed rgba(242, 140, 40, .55); }
.lh-notice::before { content: "!"; position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-weight: 700; font-size: .8rem; color: #fff; background: var(--wp--preset--color--orange); }

/* Report pages: "What is working" highlight. */
.wp-block-post-content .lh-highlight { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; margin: 36px 0 40px !important; padding: 26px 28px; border-radius: 18px; background: linear-gradient(135deg, rgba(46, 158, 107, .10), rgba(46, 158, 107, .03)); border: 1px solid rgba(46, 158, 107, .35); transition: opacity .6s ease, transform .6s ease; }
.lh-highlight__icon { width: 44px; height: 44px; border-radius: 50%; background: #2E9E6B; position: relative; box-shadow: 0 10px 22px -12px rgba(46, 158, 107, .9); }
.lh-highlight__icon::after { content: ""; position: absolute; left: 15px; top: 11px; width: 10px; height: 18px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.lh-highlight h2 { margin: 4px 0 10px !important; font-size: 1.5rem !important; }
.lh-highlight p { margin: 0 !important; line-height: 1.7; }
html.lh-js .lh-highlight[data-reveal]:not(.is-in) { opacity: 0; transform: translateY(16px); }
@media (max-width: 600px) { .wp-block-post-content .lh-highlight { grid-template-columns: 1fr; } }

/* Report pages: call-to-action band from a heading, a sentence and a button. */
.lh-callout--report .lh-callout__text { flex: 1 1 360px; }
.lh-callout--report .lh-callout__cta .wp-block-button__link { background: var(--wp--preset--color--orange); color: #fff !important; white-space: nowrap; }
.lh-callout--report .lh-callout__cta .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--navy) !important; }

/* Request page: form in a card beside the contents list. */
.wp-block-post-content .lh-form-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: start; margin: 8px 0 32px !important; }
.lh-form-card { padding: 28px 28px 24px; background: var(--lh-panel-bg); border: 1px solid var(--wp--preset--color--line); border-radius: 18px; box-shadow: 0 26px 60px -40px rgba(14, 34, 64, .55); }
.lh-form-card .wpcf7 form > p:first-of-type, .lh-form-card .wpcf7 { margin-top: 0 !important; }
.lh-form-aside > h2, .lh-form-aside > h3, .lh-form-aside > h4 { margin-top: 4px !important; }
.lh-form-aside .lh-toc { columns: 1; }
@media (max-width: 860px) { .wp-block-post-content .lh-form-split { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  html.lh-js .lh-numbered[data-reveal]:not(.is-in) > li, html.lh-js .lh-toc[data-reveal]:not(.is-in) > li, html.lh-js .lh-highlight[data-reveal]:not(.is-in), html.lh-js .lh-stat-grid[data-reveal]:not(.is-in) .lh-stat-cell { opacity: 1; transform: none; }
  html.lh-js .lh-stat-grid[data-reveal]:not(.is-in) .lh-stat-cell::before { transform: none; }
}
.wpcf7 .hidden-fields-container { display: none !important; }
