/* Styles for published pages. Also loaded in the editor canvas so it matches. */
*, *::before, *::after { box-sizing: border-box; }
/* Site-wide style comes in as --site-* variables (see theme_head() in lib.php). */
body { margin: 0; background: var(--site-bg, #fff); }
.site {
  max-width: 1040px; margin: 0 auto; padding: 0 16px 48px;
  font: 17px/1.6 var(--site-font, system-ui, -apple-system, "Segoe UI", sans-serif);
  color: var(--site-text, #1f2933); background: var(--site-bg, #fff);
}
.site > * { margin: 0 0 20px; }

.b-heading { line-height: 1.2; margin-top: 8px; font-family: var(--site-heading-font, inherit); color: var(--site-headings, inherit); }
.b-hero h1 { font-family: var(--site-heading-font, inherit); }
.site a:not(.btn) { color: var(--site-accent, #3a59d1); }
.b-text { white-space: normal; }
.b-image { margin: 0; }
.b-image img { display: block; max-width: 100%; height: auto; border-radius: 6px; margin: 0 auto; }
.b-image figcaption { font-size: 14px; opacity: .75; margin-top: 6px; text-align: center; }

/* 48px tall so thumbs don't miss; feedback within 100ms and done well under 300ms. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 8px;
  background: var(--site-accent, #3a59d1); color: var(--site-on-accent, #fff);
  border: 2px solid var(--site-accent, #3a59d1);
  font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: filter .15s ease-out, background-color .15s ease-out, translate .1s ease-out, box-shadow .1s ease-out;
}
.btn:hover { filter: brightness(.88); }
.btn:active { translate: 0 1px; }
.btn:disabled { cursor: default; }

/* Shape is separate from the look: rectangle (8px corners) or pill (radius = height ÷ 2).
   A button's own .is-pill / .is-rect wins; otherwise it follows data-shape on .site. */
.site[data-shape="pill"] .btn:not(.is-rect), .btn.is-pill { border-radius: 999px; }
.btn.is-rect { border-radius: 8px; }

/* Focus is always visible for keyboard users: 2px ring, offset from the edge. */
.site :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--site-accent, #3a59d1); outline-offset: 3px;
}
.b-hero :is(a, button):focus-visible { outline-color: currentColor; }
/* A button with its own style has a .btn-<style> class; one without (hero buttons, buttons set
   to "Site default") follows the site's choice, set as data-buttons on .site. Solid is plain .btn. */
.btn-outline,
.site[data-buttons="outline"] .btn:not([class*="btn-"]) {
  background: transparent; color: var(--site-accent, #3a59d1);
}
.btn-outline:hover,
.site[data-buttons="outline"] .btn:not([class*="btn-"]):hover {
  filter: none; background: color-mix(in srgb, var(--site-accent, #3a59d1) 12%, transparent);
}

/* Raised: four shadows (light on the top edge, shade on the bottom edge, a contact shadow
   and a glow in the button's colour) over a gentle top-to-bottom gradient. */
.btn-raised,
.site[data-buttons="raised"] .btn:not([class*="btn-"]) {
  border-color: transparent;
  background: linear-gradient(color-mix(in srgb, var(--site-accent, #3a59d1) 78%, #fff), var(--site-accent, #3a59d1)) border-box;
  box-shadow:
    inset 0 1px 0 #ffffff59,
    inset 0 -2px 0 #0003,
    0 1px 2px #0006,
    0 8px 24px -6px color-mix(in srgb, var(--site-accent, #3a59d1) 60%, transparent);
}
.btn-raised:hover,
.site[data-buttons="raised"] .btn:not([class*="btn-"]):hover { filter: brightness(1.06); }
.btn-raised:active,
.site[data-buttons="raised"] .btn:not([class*="btn-"]):active {
  translate: 0 1px; box-shadow: inset 0 2px 4px #0004;
}

/* Premium ("look expensive", @motion_ui_interface): lit from above — a bright top edge, a darker
   1px rim for 3:1 edge contrast, the button sitting in a faint recessed track, and a shadow that
   falls straight down. Two versions share the look:
     .btn-premium         still: hover and press change instantly, nothing moves
     .btn-premium-motion  motion: a light runs round the edge all the time; it lifts on hover and
                          presses in on click (feedback in 100ms). Per button only, never a site
                          default: one moving button draws the eye, several compete. */
.btn-premium, .btn-premium-motion,
.site[data-buttons="premium"] .btn:not([class*="btn-"]) {
  --p: var(--site-accent, #3a59d1);
  --track: color-mix(in srgb, var(--site-text, #1f2933) 7%, transparent);
  --fall: color-mix(in srgb, var(--p) 75%, #000);
  border: 1px solid color-mix(in srgb, var(--p) 62%, #000);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--p) 84%, #fff) 0%,
    var(--p) 52%,
    color-mix(in srgb, var(--p) 88%, #000) 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .38),
    inset 0 -1px 0 rgb(0 0 0 / .2),
    0 0 0 4px var(--track),
    0 1px 1px rgb(0 0 0 / .16),
    0 8px 16px -8px var(--fall);
}

/* Still: no transitions and no movement; the states are there, they just don't animate. */
.btn-premium,
.site[data-buttons="premium"] .btn:not([class*="btn-"]) { transition: none; }
.btn-premium .btn-icon,
.site[data-buttons="premium"] .btn:not([class*="btn-"]) .btn-icon { transition: none; translate: none; }
.btn-premium:hover,
.site[data-buttons="premium"] .btn:not([class*="btn-"]):hover { filter: brightness(1.05); }
.btn-premium:active,
.site[data-buttons="premium"] .btn:not([class*="btn-"]):active {
  translate: none; filter: brightness(.97);
  box-shadow: inset 0 2px 4px rgb(0 0 0 / .28), 0 0 0 4px var(--track);
}

/* Motion */
.btn-premium-motion {
  position: relative;
  transition: translate .1s ease-out, box-shadow .2s ease-out, filter .2s ease-out;
}

/* The shine border (Frontend Hero's mask technique, https://www.youtube.com/watch?v=WnIC9Khdd9Q):
   a conic gradient — transparent, a white streak, a dark tail, transparent — is cut down to a
   thin ring by masking out the content box (mask-composite: exclude keeps only the padding,
   i.e. the ring). Rotating the gradient sends the light round the edge.
   Unlike the tutorial there are no extra elements and no oversized rotating box: one
   pseudo-element, whose gradient start angle is animated through a registered custom property. */
@property --shine-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.btn-premium-motion::before {
  /* Per-button settings arrive as --shine-speed (s per lap), --shine-width (ring px),
     --shine-strength (0–1), --shine-color (the light, white by default) and, for a second light,
     --shine-two: 1, --shine-color-2 (the first light's colour by default) and --shine-gap (how far
     it runs behind the first, half a lap by default); see shine_style() in lib.php. The second
     light is its own gradient layer turned by the gap; without --shine-two it is fully transparent. */
  --shine-tail: color-mix(in srgb, var(--p) 55%, #000);
  --shine-on: calc(var(--shine-strength, .95) * 100%);
  --shine-on-2: calc(var(--shine-two, 0) * var(--shine-strength, .95) * 100%);
  content: ""; position: absolute; inset: -1px; z-index: 1; pointer-events: none;
  border-radius: inherit; padding: var(--shine-width, 1.5px);
  background:
    conic-gradient(from var(--shine-angle),
      transparent 0%,
      color-mix(in srgb, var(--shine-color, #fff) var(--shine-on), transparent) 10%,
      color-mix(in srgb, var(--shine-tail) var(--shine-on), transparent) 15%,
      transparent 22%),
    conic-gradient(from calc(var(--shine-angle) - var(--shine-gap, 180deg)),
      transparent 0%,
      color-mix(in srgb, var(--shine-color-2, var(--shine-color, #fff)) var(--shine-on-2), transparent) 10%,
      color-mix(in srgb, var(--shine-tail) var(--shine-on-2), transparent) 15%,
      transparent 22%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: btn-shine var(--shine-speed, 3s) linear infinite;
}
@keyframes btn-shine { to { --shine-angle: 360deg; } }

.btn-premium-motion:hover {
  filter: brightness(1.05);
  translate: 0 -2px;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .42),
    inset 0 -1px 0 rgb(0 0 0 / .2),
    0 0 0 4px var(--track),
    0 2px 2px rgb(0 0 0 / .14),
    0 14px 22px -8px var(--fall);
}
.btn-premium-motion:active {
  translate: 0 1px; filter: brightness(.97);
  transition-duration: .08s;
  box-shadow: inset 0 2px 4px rgb(0 0 0 / .28), 0 0 0 4px var(--track);
}

/* One icon, 10px after the label (the .btn gap). Arrows nudge the way they point on hover. */
.btn-icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: translate .15s ease-out; }
.btn:hover .btn-icon--arrow { translate: 3px 0; }
.btn:hover .btn-icon--external { translate: 2px -2px; }
.btn:hover .btn-icon--download { translate: 0 2px; }

/* ---------- Nav bar ----------
   Text links (never icon-only), 44px targets, the current page marked, and on phones a Menu
   button that says what it is. */
.b-nav { margin-left: -16px !important; margin-right: -16px !important; background: var(--site-bg, #fff);
  border-bottom: 1px solid color-mix(in srgb, var(--site-text, #1f2933) 12%, transparent); }
/* Header and footer pages around the page. A sticky nav in the header makes the whole header
   stick (a sticky element can only stick inside its own parent). */
.site-header { padding-bottom: 0; }
.site-header > :last-child { margin-bottom: 0; }
.site-header:has(.b-nav.is-sticky:not(.is-vertical)) { position: sticky; top: 0; z-index: 20; }
.site-header .b-nav.is-sticky:not(.is-vertical) { position: static; }
.site-header + .site-main { padding-top: 20px; }
.site-header + .site-main:has(> .b-hero:first-child) { padding-top: 0; }
.site-footer { padding-top: 32px; border-top: 1px solid color-mix(in srgb, var(--site-text, #1f2933) 12%, transparent); }
.site-main + .site-footer { margin-top: 24px; }

/* A hero straight after the nav sits flush against it. */
.site > .b-nav:has(+ .b-hero), .site > .eb:has(> .b-nav):has(+ .eb > .b-hero) { margin-bottom: 0; }
.b-nav.is-sticky { position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 8px rgb(0 0 0 / .06); }
.b-nav-inner { display: flex; align-items: center; gap: 8px 24px; flex-wrap: wrap; min-height: 64px; padding: 8px 16px; }
.b-nav-brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; min-height: 44px;
  color: inherit !important; text-decoration: none; font-family: var(--site-heading-font, inherit); font-weight: 700; font-size: 19px; }
.b-nav-logo { display: block; height: 36px; width: auto; }
.b-nav-links { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.b-nav.links-center .b-nav-links { flex: 1; justify-content: center; }
.b-nav.links-center .b-nav-brand { margin-right: 0; }
.b-nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 6px;
  color: inherit !important; text-decoration: none; font-weight: 500; transition: background-color .15s ease-out; }
.b-nav-links a:hover { background: color-mix(in srgb, var(--site-text, #1f2933) 7%, transparent); }
.b-nav-links a[aria-current="page"] { color: var(--site-accent, #3a59d1) !important; font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--site-accent, #3a59d1); border-radius: 6px 6px 0 0; }
.b-nav-cta .btn { min-height: 44px; padding: 0 18px; font-size: 16px; }
.b-nav-toggle { display: none; }

@media (max-width: 700px) {
  .b-nav.js-ready .b-nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; order: 1;
    border: 1.5px solid color-mix(in srgb, var(--site-text, #1f2933) 25%, transparent); border-radius: 8px;
    background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer;
  }
  .b-nav-burger, .b-nav-burger::before, .b-nav-burger::after { display: block; width: 16px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .15s ease-out; }
  .b-nav-burger { position: relative; }
  .b-nav-burger::before, .b-nav-burger::after { content: ""; position: absolute; left: 0; }
  .b-nav-burger::before { top: -5px; }
  .b-nav-burger::after { top: 5px; }
  .b-nav.open .b-nav-burger { background: transparent; }
  .b-nav.open .b-nav-burger::before { transform: translateY(5px) rotate(45deg); }
  .b-nav.open .b-nav-burger::after { transform: translateY(-5px) rotate(-45deg); }
  /* One row on phones: name and Menu. The main button leads the open menu, full width. */
  .b-nav.js-ready .b-nav-cta { display: none; order: 3; flex-basis: 100%; padding-top: 4px; }
  .b-nav.js-ready.open .b-nav-cta { display: block; }
  .b-nav.js-ready .b-nav-cta .btn { width: 100%; min-height: 48px; }
  .b-nav.js-ready .b-nav-links { display: none; order: 5; flex-basis: 100%; flex-direction: column; padding: 4px 0 8px; }
  .b-nav.js-ready.open .b-nav-links { display: flex; }
  .b-nav.js-ready .b-nav-links a { width: 100%; padding: 0 8px; }
  .b-nav.links-center .b-nav-links { justify-content: flex-start; }
}

/* Vertical nav: for a sidebar or a column. Not full-bleed, links stacked, current page marked
   with a bar on the left. It never folds behind Menu. */
.b-nav.is-vertical { margin-left: 0 !important; margin-right: 0 !important; border: 1px solid color-mix(in srgb, var(--site-text, #1f2933) 12%, transparent); border-radius: 10px; }
.b-nav.is-vertical .b-nav-inner { flex-direction: column; align-items: stretch; gap: 12px; min-height: 0; padding: 16px; }
.b-nav.is-vertical .b-nav-brand { margin-right: 0; }
.b-nav.is-vertical .b-nav-links { flex-direction: column; gap: 2px; }
.b-nav.is-vertical .b-nav-links a { width: 100%; padding: 0 12px; }
.b-nav.is-vertical .b-nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--site-accent, #3a59d1); border-radius: 0 6px 6px 0;
  background: color-mix(in srgb, var(--site-accent, #3a59d1) 8%, transparent); }
.b-nav.is-vertical .b-nav-cta .btn { width: 100%; }
.b-nav.is-vertical.is-sticky { top: 16px; }
.b-nav-social { gap: 2px; }

/* Phone number in the nav: tap to call. On phones it keeps its place in the top row as a
   44px call button (the number is still its accessible name). */
.b-nav-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border-radius: 6px;
  color: inherit !important; text-decoration: none; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums;
  transition: background-color .15s ease-out; }
.b-nav-phone:hover { background: color-mix(in srgb, var(--site-text, #1f2933) 7%, transparent); }
.b-phone-icon { flex: none; fill: none; stroke: var(--site-accent, #3a59d1); stroke-width: 2; stroke-linejoin: round; }
/* Wide screens: brand … links, social, phone, main button. */
.b-nav:not(.is-vertical) .b-nav-phone { order: 3; }
.b-nav:not(.is-vertical) .b-nav-cta { order: 4; }
.b-nav.is-vertical .b-nav-phone { padding: 0 12px; }
@media (max-width: 700px) {
  .b-nav.js-ready:not(.is-vertical) .b-nav-phone.is-main { order: 1; width: 44px; padding: 0; justify-content: center;
    border: 1.5px solid color-mix(in srgb, var(--site-text, #1f2933) 25%, transparent); border-radius: 8px; }
  .b-nav.js-ready:not(.is-vertical) .b-nav-phone.is-main :is(.b-phone-number, .b-phone-label) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .b-nav.js-ready:not(.is-vertical) .b-nav-toggle { order: 2; }
  .b-nav.js-ready:not(.is-vertical) .b-nav-cta { order: 3; }
  /* Extra numbers live in the open menu, after the main button: full-width rows. */
  .b-nav.js-ready:not(.is-vertical) .b-nav-phone.is-extra { display: none; order: 4; flex-basis: 100%; }
  .b-nav.js-ready.open:not(.is-vertical) .b-nav-phone.is-extra { display: flex; }
}
.b-phone-label { font-weight: 400; font-size: .85em; opacity: .75; }
@media (max-width: 700px) {
  .b-nav.js-ready:not(.is-vertical) .b-nav-social { display: none; order: 6; flex-basis: 100%; padding-bottom: 8px; }
  .b-nav.js-ready.open:not(.is-vertical) .b-nav-social { display: flex; }
}

/* ---------- Social links ----------
   Icon-only links, each named for screen readers, 44px targets. Colour: brand colours, the
   site's accent, or the text colour; shape: plain, circle or rounded square. */
.b-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.b-social-wrap[style*="text-align:center"] .b-social, .b-social-wrap[style*="text-align: center"] .b-social { justify-content: center; }
.b-social-wrap[style*="text-align:right"] .b-social, .b-social-wrap[style*="text-align: right"] .b-social { justify-content: flex-end; }
.b-social-link { --size: 44px; --glyph: 20px; display: inline-grid; place-items: center; width: var(--size); height: var(--size);
  color: inherit !important; text-decoration: none; border-radius: 50%; font-size: var(--glyph);
  transition: background-color .15s ease-out, color .15s ease-out, translate .1s ease-out; }
.b-social.size-s .b-social-link { --size: 36px; --glyph: 16px; }
.b-social.size-l .b-social-link { --size: 56px; --glyph: 26px; }
.b-social.shape-rounded .b-social-link { border-radius: 12px; }
.b-social.colour-brand .b-social-link { color: var(--brand, var(--site-text, #1f2933)) !important; }
.b-social.colour-accent .b-social-link { color: var(--site-accent, #3a59d1) !important; }
.b-social:is(.shape-circle, .shape-rounded) .b-social-link { background: color-mix(in srgb, currentColor 10%, transparent); }
.b-social:is(.shape-circle, .shape-rounded) .b-social-link:hover { background: currentColor; }
.b-social:is(.shape-circle, .shape-rounded) .b-social-link:hover i { color: var(--site-bg, #fff); }
.b-social.shape-plain .b-social-link:hover, .b-nav-social .b-social-link:hover { translate: 0 -2px; }
.b-nav-social .b-social-link { --size: 40px; --glyph: 18px; }

/* Heading with an inline icon: the icon is sized with the heading's own text and sits beside the
   first line; long headings wrap beside it rather than under it. */
.b-heading.has-icon { display: flex; align-items: baseline; gap: .45em; }
.b-heading-icon { flex: none; color: var(--site-accent, #3a59d1); font-size: .9em; line-height: 1; }
.b-heading-icon i { display: inline-block; width: 1.15em; text-align: center; }
.b-heading.has-icon[style*="text-align:center"], .b-heading.has-icon[style*="text-align: center"] { justify-content: center; }
.b-heading.has-icon[style*="text-align:right"], .b-heading.has-icon[style*="text-align: right"] { justify-content: flex-end; }

/* ---------- Map ---------- */
.b-map-frame { position: relative; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, var(--site-text, #1f2933) 6%, var(--site-bg, #fff)); }
.b-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.b-map-load { position: absolute; inset: 0; width: 100%; display: grid; place-content: center; justify-items: center; gap: 4px;
  border: 1.5px dashed color-mix(in srgb, var(--site-text, #1f2933) 25%, transparent); border-radius: 12px; background: transparent;
  color: inherit; font: inherit; cursor: pointer; transition: background-color .15s ease-out; }
.b-map-load:hover { background: color-mix(in srgb, var(--site-accent, #3a59d1) 7%, transparent); }
.b-map-load strong { font-size: 18px; color: var(--site-accent, #3a59d1); }
.b-map-load span:last-child { font-size: 14px; opacity: .75; }
.b-map-pin { font-size: 34px; line-height: 1; color: var(--site-accent, #3a59d1); }
.b-map-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 10px 0 0; }
.b-map-address { font-weight: 600; }
.b-map-meta a { font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Audio ---------- */
.b-audio { margin: 0; display: grid; gap: 8px; }
.b-audio .au-title { font-weight: 600; font-family: var(--site-heading-font, inherit); color: var(--site-headings, inherit); }
.b-audio audio { width: 100%; }
.b-audio .au-download { justify-self: start; color: var(--site-accent, #3a59d1); font-size: 14px; }
.b-audio .au-transcript summary { cursor: pointer; color: var(--site-accent, #3a59d1); font-size: 14px; min-height: 32px; display: flex; align-items: center; }
.b-audio .au-transcript > div { padding: 8px 0 0; }

/* ---------- Anchor: a named spot for #links, below any sticky nav bar ---------- */
.b-anchor { height: 0; scroll-margin-top: 90px; }

/* ---------- Rating ---------- */
/* Alignment (Style → Alignment) comes as text-align, which a flex row doesn't follow by itself. */
.b-rating, .b-rating .rt-link { display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; justify-content: var(--rt-justify, flex-start); }
.b-rating[style*="text-align:center"] { --rt-justify: center; }
.b-rating[style*="text-align:right"] { --rt-justify: flex-end; }
.b-rating .rt-link { color: inherit; text-decoration: none; }
.b-rating .rt-link:hover .rt-count, .b-rating .rt-link:focus-visible .rt-count { text-decoration: underline; }
.rt-stars { position: relative; display: inline-block; line-height: 1; white-space: nowrap; letter-spacing: .06em; }
.rt-off { color: color-mix(in srgb, var(--site-text, #1f2933) 18%, transparent); }
.rt-on { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--star, #e8a317); }
.b-rating.size-s .rt-stars { font-size: 16px; }
.b-rating.size-m .rt-stars { font-size: 22px; }
.b-rating.size-l .rt-stars { font-size: 32px; }
.rt-label { font-weight: 600; }
.rt-num, .rt-count { font-size: 15px; }
.rt-count { opacity: .75; }

/* ---------- Table ---------- */
.b-table { margin: 0; }
.b-table .tbl-scroll { overflow-x: auto; border: 1px solid color-mix(in srgb, var(--site-text, #1f2933) 14%, transparent); border-radius: 8px; }
.b-table .tbl-scroll:focus-visible { outline: 2px solid var(--site-accent, #3a59d1); outline-offset: 2px; }
.b-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.b-table.is-fit table { width: auto; }
.b-table caption { caption-side: top; text-align: left; padding: 10px 14px 6px; font-weight: 600; }
.b-table th, .b-table td { padding: 9px 14px; text-align: left; vertical-align: top; border-top: 1px solid color-mix(in srgb, var(--site-text, #1f2933) 10%, transparent); }
.b-table thead th { border-top: 0; font-family: var(--site-heading-font, inherit); color: var(--site-headings, inherit); background: color-mix(in srgb, var(--site-text, #1f2933) 6%, transparent); white-space: nowrap; }
.b-table tbody th { font-weight: 600; }
.b-table.is-striped tbody tr:nth-child(even) { background: color-mix(in srgb, var(--site-text, #1f2933) 3.5%, transparent); }
.b-table a { color: var(--site-accent, #3a59d1); }

/* ---------- Gallery ---------- */
.b-gallery { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.b-gallery.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b-gallery.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b-gallery.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.b-gallery.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 700px) { .b-gallery:is(.cols-3, .cols-4, .cols-5) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.b-gallery figure { margin: 0; display: grid; gap: 6px; }
.b-gallery img { display: block; width: 100%; height: auto; border-radius: 8px; background: color-mix(in srgb, var(--site-text, #1f2933) 6%, transparent); }
.b-gallery.ratio-square img { aspect-ratio: 1; object-fit: cover; }
.b-gallery.ratio-landscape img { aspect-ratio: 4 / 3; object-fit: cover; }
.b-gallery figcaption { display: grid; gap: 2px; font-size: 14px; }
.b-gallery .g-caption { font-weight: 600; }
.b-gallery .g-caption a { color: inherit; }
.b-gallery .g-desc { opacity: .8; line-height: 1.45; }
:is(.g-link, .g-out) { display: block; border-radius: 8px; overflow: hidden; }
:is(.g-link, .g-out) img { transition: transform .25s ease-out, opacity .2s ease-out; }
:is(.g-link, .g-out):hover img { transform: scale(1.03); }

.g-lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 56px 64px 40px; border: 0;
  background: rgb(10 12 16 / .94); color: #fff; }
.g-lightbox::backdrop { background: rgb(10 12 16 / .6); }
.g-lightbox[open] { display: grid; place-items: center; }
.g-lightbox figure { margin: 0; display: grid; gap: 10px; justify-items: center; max-width: 100%; max-height: 100%; }
.g-lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 6px; }
.g-lightbox figcaption { display: grid; gap: 2px; text-align: center; font-size: 15px; opacity: .9; }
.g-lightbox figcaption .g-desc { opacity: .85; white-space: pre-line; }
.g-lightbox button { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / .35); background: rgb(255 255 255 / .08); color: #fff; font-size: 20px; cursor: pointer; }
.g-lightbox button:hover { background: rgb(255 255 255 / .2); }
.g-lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.g-lightbox button[hidden] { display: none; }
.g-close { top: 14px; right: 14px; }
.g-prev { left: 14px; top: 50%; translate: 0 -50%; }
.g-next { right: 14px; top: 50%; translate: 0 -50%; }
.g-count { position: fixed; bottom: 12px; left: 0; right: 0; margin: 0; text-align: center; font-size: 14px; opacity: .8; }
@media (max-width: 600px) { .g-lightbox { padding: 56px 8px 48px; } .g-prev, .g-next { top: auto; bottom: 8px; translate: none; } }

/* ---------- Testimonials carousel ----------
   A native scroll-snap row: swipe and trackpad scrolling just work, and with no JavaScript every
   card is still reachable. assets/carousel.js adds the buttons, dots and optional autoplay. */
.b-testimonials { --gap: 20px; position: relative; }
.tm-track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 4px 2px 8px; overscroll-behavior-x: contain; }
.tm-track::-webkit-scrollbar { display: none; }
.tm-track:focus-visible { outline-offset: 4px; border-radius: 12px; }
.tm-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; gap: 16px;
  padding: 28px; border-radius: 14px; background: color-mix(in srgb, var(--site-text, #1f2933) 4%, var(--site-bg, #fff));
  border: 1px solid color-mix(in srgb, var(--site-text, #1f2933) 10%, transparent); }
.b-testimonials.per-2 .tm-slide { flex-basis: calc((100% - var(--gap)) / 2); }
.b-testimonials.per-3 .tm-slide { flex-basis: calc((100% - 2 * var(--gap)) / 3); }
@media (max-width: 760px) { .b-testimonials .tm-slide { flex-basis: 100% !important; } }
.b-testimonials.per-1 .tm-slide { text-align: center; align-items: center; padding: 36px 28px; }
.tm-stars { color: #e8a317; letter-spacing: 2px; font-size: 18px; line-height: 1; }
.tm-stars-off { color: color-mix(in srgb, var(--site-text, #1f2933) 18%, transparent); }
.tm-quote { margin: 0; font-size: 19px; line-height: 1.55; font-family: var(--site-heading-font, inherit); color: var(--site-headings, inherit); flex: 1; }
.b-testimonials.per-1 .tm-quote { font-size: clamp(19px, 2.4vw, 24px); max-width: 720px; }
.tm-quote p { margin: 0; }
.tm-quote p::before { content: "“"; } .tm-quote p::after { content: "”"; }
.tm-person { display: flex; align-items: center; gap: 12px; }
.tm-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.tm-who { display: grid; text-align: left; line-height: 1.3; }
.tm-who span { font-size: 14px; opacity: .75; }

.tm-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; }
.tm-controls button { min-width: 44px; min-height: 44px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--site-text, #1f2933) 22%, transparent);
  background: transparent; color: inherit; font: inherit; font-size: 18px; cursor: pointer; transition: background-color .15s ease-out, border-color .15s ease-out; }
.tm-controls button:hover:not(:disabled) { border-color: var(--site-accent, #3a59d1); color: var(--site-accent, #3a59d1); }
.tm-controls button:disabled { opacity: .35; cursor: default; }
.tm-controls .tm-pause { border-radius: 22px; padding: 0 16px; font-size: 14px; font-weight: 600; }
.tm-dots { display: flex; gap: 2px; }
.tm-controls .tm-dot { min-width: 28px; min-height: 44px; border: 0; border-radius: 0; padding: 0; position: relative; }
.tm-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; translate: -50% -50%; border-radius: 5px;
  background: color-mix(in srgb, var(--site-text, #1f2933) 25%, transparent); transition: width .2s ease-out, background-color .2s ease-out; }
.tm-dot.on::after { background: var(--site-accent, #3a59d1); }
.tm-dot[aria-current="true"]::after { width: 20px; }
.tm-dot[hidden] { display: none; }

/* Icon block: one icon on its own. */
.b-solo-icon { line-height: 0; }
.b-solo-inner { --icon-colour: var(--site-accent, #3a59d1); display: inline-block; }
.b-solo-icon .b-icon { --s: 64px; display: inline-grid; place-items: center; width: var(--s); height: var(--s); color: var(--icon-colour); font-size: calc(var(--s) * .45); line-height: 1; }
.b-solo-icon.size-s .b-icon { --s: 40px; }
.b-solo-icon.size-m .b-icon { --s: 52px; }
.b-solo-icon.size-xl .b-icon { --s: 96px; }
.b-solo-icon.icon-plain .b-icon { font-size: calc(var(--s) * .7); }
.b-solo-icon.icon-circle .b-icon { border-radius: 50%; background: color-mix(in srgb, var(--icon-colour) 12%, transparent); }
.b-solo-icon.icon-square .b-icon { border-radius: 22%; background: color-mix(in srgb, var(--icon-colour) 12%, transparent); }
.b-solo-icon a { display: inline-block; border-radius: 50%; color: inherit !important; text-decoration: none; transition: translate .15s ease-out; }
.b-solo-icon.icon-square a { border-radius: 22%; }
.b-solo-icon a:hover { translate: 0 -2px; }
.b-solo-icon a:hover .b-icon { background: color-mix(in srgb, var(--icon-colour) 20%, transparent); }

/* With the icon pack off, social links show their names instead of an empty circle, and the
   Icons block drops its empty icon spaces. */
.site[data-icons="off"] .b-social-link { width: auto; padding: 0 14px; font-size: 15px; font-weight: 600; }
.site[data-icons="off"] .b-social-link::after { content: attr(title); }
.site[data-icons="off"] .b-social-link i, .site[data-icons="off"] .b-icon,
.site[data-icons="off"] .b-heading-icon, .site[data-icons="off"] .b-solo-icon { display: none; }

/* ---------- Icons block ----------
   Icon above (or beside) a title and a line of text, in 1–4 columns. */
.b-icons { --icon-colour: var(--site-accent, #3a59d1); display: grid; gap: 28px 24px; margin: 0; padding: 0; list-style: none; }
.b-icons.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b-icons.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b-icons.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.b-icon-item { display: flex; flex-direction: column; align-items: inherit; gap: 12px; height: 100%; color: inherit !important; text-decoration: none; }
.b-icons-wrap { text-align: center; }
.b-icons-wrap .b-icon-item { align-items: center; }
.b-icons-wrap[style*="text-align:left"] .b-icon-item, .b-icons-wrap[style*="text-align: left"] .b-icon-item { align-items: flex-start; }
.b-icons.is-side .b-icon-item { flex-direction: row; align-items: flex-start; text-align: left; gap: 16px; }
a.b-icon-item { border-radius: 10px; padding: 8px; margin: -8px; transition: background-color .15s ease-out; }
a.b-icon-item:hover { background: color-mix(in srgb, var(--icon-colour) 7%, transparent); }
a.b-icon-item:hover .b-icon-title { text-decoration: underline; }
.b-icon { --s: 56px; flex: none; display: inline-grid; place-items: center; width: var(--s); height: var(--s); color: var(--icon-colour); font-size: calc(var(--s) * .45); }
.b-icons.icon-s .b-icon { --s: 40px; }
.b-icons.icon-m .b-icon { --s: 48px; }
.b-icons.icon-xl .b-icon { --s: 72px; }
.b-icons.icon-plain .b-icon { width: auto; height: auto; font-size: calc(var(--s) * .62); }
.b-icons.icon-circle .b-icon { border-radius: 50%; background: color-mix(in srgb, var(--icon-colour) 12%, transparent); }
.b-icons.icon-square .b-icon { border-radius: 14px; background: color-mix(in srgb, var(--icon-colour) 12%, transparent); }
.b-icon-body { display: grid; gap: 4px; }
.b-icon-title { font-family: var(--site-heading-font, inherit); color: var(--site-headings, inherit); font-size: 18px; line-height: 1.3; }
.b-icon-text { opacity: .85; font-size: 16px; }
@media (max-width: 700px) {
  .b-icons.cols-3, .b-icons.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
  .b-icons { grid-template-columns: minmax(0, 1fr) !important; }
}

.b-divider { border: 0; border-top: 1px solid color-mix(in srgb, var(--site-text, #1f2933) 18%, transparent); }

.b-hero { margin-left: -16px !important; margin-right: -16px !important; background: #1f2a44 center/cover no-repeat; color: #fff; }
.b-hero-inner { padding: 96px 24px; text-align: center; }
.b-hero.has-image { color: #fff; }
.b-hero.has-image .b-hero-inner { background: rgba(15, 23, 42, .45); }
.b-hero h1 { font-size: clamp(32px, 5vw, 54px); margin: 0 0 12px; line-height: 1.1; }
.b-hero p { font-size: 20px; margin: 0 auto 28px; max-width: 640px; opacity: .9; }

.b-video { position: relative; aspect-ratio: 16 / 9; }
.b-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 6px; }
/* A video file keeps its own shape. */
.b-video.is-file { aspect-ratio: auto; margin: 0; }
.b-video.is-file video { display: block; width: 100%; height: auto; border-radius: 6px; background: #000; }

.b-columns { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 24px; }
.b-col > * { margin: 0 0 16px; }
@media (max-width: 700px) {
  .b-columns { grid-auto-flow: row; }
}

/* ---------- Forms ----------
   Labels sit above their field (the placeholder is only a hint), fields are 48px+ with
   16px between them and 32px before the button, and errors say what to do in plain words. */
.b-form-wrap { max-width: 640px; }
.b-form { --ff-line: color-mix(in srgb, var(--site-text, #1f2933) 28%, transparent); --ff-error: #c62828; }
.form-fields { display: grid; gap: 16px; }
.ff { display: grid; gap: 6px; }
.ff > label, .ff legend { font-weight: 600; font-size: 15px; line-height: 1.3; padding: 0; }
.ff-optional { font-weight: 400; opacity: .7; }
.ff-help { margin: -2px 0 2px; font-size: 14px; opacity: .75; }
.ff fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; min-width: 0; }

.ff input:not([type=checkbox]):not([type=radio]), .ff textarea, .ff select {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 8px;
  border: 1.5px solid var(--ff-line); background: var(--site-bg, #fff); color: inherit;
  font: inherit; font-size: 17px;
  transition: border-color .15s ease-out, box-shadow .15s ease-out;
}
.ff textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.ff select { appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.ff :is(input, textarea, select)::placeholder { color: inherit; opacity: .5; }
.ff :is(input, textarea, select):hover { border-color: color-mix(in srgb, var(--site-text, #1f2933) 50%, transparent); }
.site .ff :is(input, textarea, select):focus-visible {
  outline: none; border-color: var(--site-accent, #3a59d1);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--site-accent, #3a59d1) 30%, transparent);
}

.ff-choices { display: grid; gap: 4px; }
.ff-choice { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; cursor: pointer; font-weight: 400; }
.ff-choice input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--site-accent, #3a59d1); cursor: pointer; }
.ff-single { font-weight: 400; }

.ff-echo { margin: 0; font-size: 14px; opacity: .75; min-height: 0; }
.ff-echo:empty { display: none; }
.ff-error { margin: 0; color: var(--ff-error); font-size: 15px; font-weight: 600; display: flex; gap: 6px; align-items: flex-start; }
.ff-error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--ff-error); color: #fff; font-size: 12px; }
.ff-error[hidden], .form-alert[hidden], .form-success[hidden], .form-fields[hidden] { display: none; }
.ff.has-error :is(input:not([type=checkbox]):not([type=radio]), textarea, select) { border-color: var(--ff-error); }

.form-submit { justify-self: start; margin-top: 16px; min-width: 160px; }
.form-submit[data-state="sending"] .btn-label::before {
  content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -2px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ff-spin .7s linear infinite;
}
.form-submit[data-state="sent"] .btn-label::before { content: "✓ "; }
.form-submit:disabled { filter: none; opacity: .85; }
@keyframes ff-spin { to { rotate: 360deg; } }

.form-alert { margin-bottom: 16px; padding: 12px 16px; border-radius: 8px; font-weight: 600;
  background: color-mix(in srgb, var(--ff-error) 10%, var(--site-bg, #fff)); color: var(--ff-error); border: 1px solid color-mix(in srgb, var(--ff-error) 35%, transparent); }
.form-retry { margin-left: 8px; min-height: 36px; padding: 0 14px; border-radius: 6px; border: 1.5px solid currentColor; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.ff-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* The last screen is designed on purpose: a clear "done", not a blank form. */
.form-success { text-align: center; padding: 40px 24px; border-radius: 12px; outline: none;
  background: color-mix(in srgb, var(--site-accent, #3a59d1) 8%, var(--site-bg, #fff)); animation: ff-in .25s ease-out; }
.form-success h3 { margin: 12px 0 6px; font-family: var(--site-heading-font, inherit); color: var(--site-headings, inherit); font-size: 24px; }
.form-success p { margin: 0; }
.form-success-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--site-accent, #3a59d1); color: var(--site-on-accent, #fff); font-size: 28px; font-weight: 700; }
@keyframes ff-in { from { opacity: 0; transform: translateY(6px); } }

/* Respect the reduced-motion setting: fades and instant changes, no movement. */
@media (prefers-reduced-motion: reduce) {
  .site *, .site *::before { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .btn:active, .btn:hover { translate: none !important; }
  /* Premium + motion falls back to the still look: no running light, no lift. */
  .btn-premium-motion::before { display: none; }
}

/* ================= Blocks drawn by widgets.php ================= */
/* Shared: a light tint of the text colour, and card edges. */
.site { --w-tint: color-mix(in srgb, var(--site-text, #1f2933) 5%, transparent); --w-line: color-mix(in srgb, var(--site-text, #1f2933) 13%, transparent); }
.w-icon { flex: none; width: 1.15em; height: 1.15em; }
:is(.b-pagesgrid, .b-cards, .b-team, .b-counter, .b-pricing) { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
:is(.b-pagesgrid, .b-cards, .b-team, .b-counter).cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:is(.b-pagesgrid, .b-cards, .b-team, .b-counter).cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
:is(.b-pagesgrid, .b-cards, .b-team, .b-counter).cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { :is(.b-pagesgrid, .b-cards, .b-team).cols-3, :is(.b-pagesgrid, .b-cards, .b-team).cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { :is(.b-pagesgrid, .b-cards, .b-team)[class*="cols-"] { grid-template-columns: 1fr; } .b-counter[class*="cols-"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ----- Accordion ----- */
.b-accordion { border-top: 1px solid var(--w-line); }
.ac-item { border-bottom: 1px solid var(--w-line); }
.ac-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 4px; min-height: 44px; cursor: pointer; font-weight: 600; }
.ac-item summary::-webkit-details-marker { display: none; }
.ac-item summary:focus-visible { outline: 2px solid var(--site-accent, #3a59d1); outline-offset: 2px; border-radius: 4px; }
.ac-mark { flex: none; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -3px; transition: rotate .2s ease-out; opacity: .7; }
.ac-item[open] .ac-mark { rotate: -135deg; translate: 0 3px; }
.ac-a { padding: 0 4px 16px; }

/* ----- Tabs (stacked sections until blocks.js makes them tabs) ----- */
.tb-panel + .tb-panel { margin-top: 18px; }
.tb-title { margin: 0 0 6px; font-size: 1.1em; }
.b-tabs.js-ready .tb-title { display: none; }
.tb-list { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--w-line); margin-bottom: 16px; }
.tb-tab { min-height: 44px; padding: 8px 16px; border: 0; border-bottom: 3px solid transparent; background: none; color: inherit; font: inherit; font-weight: 600; cursor: pointer; opacity: .75; margin-bottom: -1px; }
.tb-tab[aria-selected="true"] { opacity: 1; border-bottom-color: var(--site-accent, #3a59d1); color: var(--site-accent, #3a59d1); }
.tb-tab:focus-visible { outline: 2px solid var(--site-accent, #3a59d1); outline-offset: -2px; border-radius: 4px; }
.b-tabs.js-ready .tb-panel { margin: 0; }
.b-tabs.js-ready .tb-panel[hidden] { display: none; }

/* ----- Table of contents ----- */
.b-toc { padding: 16px 20px; border: 1px solid var(--w-line); border-radius: 10px; background: var(--w-tint); }
.toc-title { margin: 0 0 8px; font-weight: 700; }
.b-toc :is(ul, ol) { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.b-toc ul { list-style: none; padding-left: 0; }
.b-toc .toc-l3 { margin-left: 1.1em; font-size: .95em; }
.b-toc .toc-l4 { margin-left: 2.2em; font-size: .92em; }
.toc-empty { margin: 0; opacity: .7; }
.b-heading[id] { scroll-margin-top: 90px; }

/* ----- Alert ----- */
.b-alert { --al: #2563eb; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--al) 35%, transparent); border-left-width: 4px; background: color-mix(in srgb, var(--al) 8%, var(--site-bg, #fff)); }
.b-alert.is-success { --al: #15803d; } .b-alert.is-warning { --al: #b45309; } .b-alert.is-danger { --al: #b91c1c; }
.al-icon { flex: none; width: 22px; height: 22px; color: var(--al); margin-top: 1px; }
.al-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.al-title { color: color-mix(in srgb, var(--al) 70%, var(--site-text, #1f2933)); }
.al-close { flex: none; width: 36px; height: 36px; margin: -6px -6px 0 0; border: 0; border-radius: 6px; background: none; color: inherit; cursor: pointer; opacity: .7; display: grid; place-items: center; }
.al-close:hover, .al-close:focus-visible { opacity: 1; background: color-mix(in srgb, var(--al) 12%, transparent); }

/* ----- Quote ----- */
.b-quote { margin: 0; display: grid; gap: 12px; }
.b-quote blockquote { margin: 0; font-size: 1.25em; line-height: 1.45; }
.b-quote blockquote p { margin: 0; }
.b-quote.is-line blockquote { padding-left: 18px; border-left: 4px solid var(--site-accent, #3a59d1); }
.b-quote.is-big blockquote::before { content: "“"; display: block; font-size: 3.2em; line-height: .6; height: .45em; color: var(--site-accent, #3a59d1); font-family: Georgia, serif; }
.b-quote figcaption { display: flex; align-items: center; gap: 10px; }
.b-quote figcaption > span { display: grid; }
.qt-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.qt-source { opacity: .75; font-size: .92em; }

/* ----- Price table ----- */
.b-pricing { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: stretch; }
.pr-plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 20px; border: 1px solid var(--w-line); border-radius: 14px; background: var(--site-bg, #fff); }
.pr-plan.is-featured { border: 2px solid var(--site-accent, #3a59d1); box-shadow: 0 12px 30px color-mix(in srgb, var(--site-accent, #3a59d1) 18%, transparent); }
.pr-badge { position: absolute; top: -12px; left: 20px; padding: 3px 10px; border-radius: 999px; background: var(--site-accent, #3a59d1); color: var(--site-on-accent, #fff); font-size: 12px; font-weight: 700; }
.pr-name { margin: 0; font-size: 1.15em; }
.pr-price { margin: 0; }
.pr-price strong { font-size: 2.2em; line-height: 1; font-family: var(--site-heading-font, inherit); }
.pr-price span { opacity: .7; }
.pr-note { margin: 0; opacity: .75; font-size: .92em; }
.pr-features { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; flex: 1; }
.pr-features li { display: flex; gap: 8px; align-items: flex-start; }
.pr-features .is-yes .w-icon { color: #15803d; }
.pr-features .is-no { opacity: .55; }
.pr-cta .btn { width: 100%; justify-content: center; }

/* ----- Price list ----- */
.b-pricelist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 32px; }
.b-pricelist.cols-2 ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .b-pricelist.cols-2 ul { grid-template-columns: 1fr; } }
.pl-title { margin: 0 0 12px; }
.pl-item { display: flex; gap: 12px; align-items: flex-start; }
.pl-img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex: none; }
.pl-main { flex: 1; min-width: 0; }
.pl-row { display: flex; align-items: baseline; gap: 8px; }
.pl-name { font-weight: 600; }
.pl-tag { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px; border: 1px solid var(--w-line); }
.pl-dots { flex: 1; border-bottom: 2px dotted var(--w-line); translate: 0 -4px; min-width: 16px; }
.pl-price { font-weight: 700; white-space: nowrap; }
.pl-desc { margin: 2px 0 0; opacity: .75; font-size: .93em; }

/* ----- Business hours ----- */
.b-hours { max-width: 420px; }
.hr-title { margin: 0 0 8px; }
.hr-now { margin: 0 0 8px; font-weight: 700; }
.hr-now.is-open { color: #15803d; } .hr-now.is-closed { color: #b91c1c; }
.b-hours table { width: 100%; border-collapse: collapse; }
.b-hours th, .b-hours td { padding: 7px 4px; text-align: left; border-bottom: 1px solid var(--w-line); font-weight: 400; }
.b-hours td { text-align: right; font-variant-numeric: tabular-nums; }
.b-hours tr.is-today { font-weight: 700; background: var(--w-tint); }
.b-hours tr.is-today th { font-weight: 700; }
.hr-note { margin: 8px 0 0; opacity: .75; font-size: .93em; }

/* ----- Counter ----- */
.b-counter li { display: grid; gap: 4px; text-align: center; }
.ct-num { font-size: 2.6em; font-weight: 800; line-height: 1.05; font-family: var(--site-heading-font, inherit); color: var(--site-headings, inherit); font-variant-numeric: tabular-nums; }
.ct-label { opacity: .8; }

/* ----- Pages grid and Cards ----- */
.pg-card, .cd-card { display: flex; flex-direction: column; gap: 8px; }
.pg-pic img, .cd-img { display: block; width: 100%; border-radius: 10px; background: var(--w-tint); }
.pg-pic img { aspect-ratio: 1200 / 630; object-fit: cover; }
.b-cards.ratio-landscape .cd-img { aspect-ratio: 4 / 3; object-fit: cover; }
.b-cards.ratio-square .cd-img { aspect-ratio: 1; object-fit: cover; }
.pg-title, .cd-title { margin: 0; font-size: 1.1em; }
.pg-title a, .cd-title a { color: inherit; text-decoration: none; }
.pg-title a:hover, .cd-title a:hover { text-decoration: underline; }
.pg-desc { margin: 0; opacity: .8; font-size: .95em; }
.cd-body { display: grid; gap: 6px; }
.cd-more { font-weight: 600; }
.b-pagesgrid.is-empty p { opacity: .7; }

/* ----- Icon list ----- */
.b-iconlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.b-iconlist.is-inline { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.b-iconlist li { display: flex; gap: 10px; align-items: flex-start; }
.il-icon { flex: none; color: var(--site-accent, #3a59d1); display: inline-flex; margin-top: 2px; }
.il-icon .w-icon, .il-icon svg { width: 1.15em; height: 1.15em; }

/* ----- Call to action ----- */
.b-cta { border-radius: 14px; background: var(--w-tint); background-size: cover; background-position: center; }
.b-cta.has-image { color: #fff; }
.cta-inner { padding: 32px; display: flex; gap: 20px 32px; align-items: center; }
.b-cta.is-split .cta-inner { justify-content: space-between; flex-wrap: wrap; }
.b-cta.is-center .cta-inner { flex-direction: column; text-align: center; }
.cta-words { display: grid; gap: 6px; max-width: 60ch; }
.cta-title { margin: 0; color: inherit; }
.cta-text { margin: 0; opacity: .9; }
.b-cta.has-image a:not(.btn) { color: inherit; }

/* ----- Progress bars ----- */
.b-progress { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pb-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.pb-label { font-weight: 600; }
.pb-value { font-variant-numeric: tabular-nums; opacity: .8; }
.pb-track { display: block; height: 10px; border-radius: 999px; background: var(--w-line); overflow: hidden; }
.pb-bar { display: block; height: 100%; border-radius: inherit; background: var(--site-accent, #3a59d1); transition: width 1s ease-out; }
.b-progress.is-waiting .pb-bar { width: 0 !important; }

/* ----- Countdown ----- */
.b-countdown { text-align: center; }
.cdn-title { margin: 0 0 10px; font-weight: 600; }
.cdn-units { display: flex; justify-content: center; gap: 12px; margin: 0; flex-wrap: wrap; }
.cdn-unit { display: grid; min-width: 72px; padding: 10px 8px; border-radius: 10px; background: var(--w-tint); border: 1px solid var(--w-line); }
.cdn-n { font-size: 2em; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; font-family: var(--site-heading-font, inherit); }
.cdn-l { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.cdn-said { margin: 10px 0 0; opacity: .8; }
.b-countdown.is-ticking .cdn-said { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.b-countdown.is-unset p { opacity: .7; }

/* ----- Share ----- */
.b-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.b-share ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.sh-label { font-weight: 600; }
.sh-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--w-line); background: var(--site-bg, #fff); color: inherit; font: inherit; font-size: 14px; text-decoration: none; cursor: pointer; }
.site a.sh-link { color: inherit; }
.sh-link:hover, .sh-link:focus-visible { border-color: var(--site-accent, #3a59d1); color: var(--site-accent, #3a59d1); }

/* ----- Before / after ----- */
.b-compare { margin: 0; }
.cmp-frame { position: relative; overflow: hidden; border-radius: 10px; line-height: 0; user-select: none; }
.cmp-frame img { display: block; width: 100%; height: auto; }
.cmp-top { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.cmp-top img { width: 100%; height: 100%; object-fit: cover; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; translate: -50% 0; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .2); pointer-events: none; }
.cmp-handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-size: 18px; line-height: 1; box-shadow: 0 2px 8px rgb(0 0 0 / .3); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp-range:focus-visible + .cmp-handle, .cmp-frame:focus-within .cmp-handle { box-shadow: 0 0 0 3px var(--site-accent, #3a59d1); }
.cmp-tag { position: absolute; bottom: 10px; padding: 3px 8px; border-radius: 4px; background: rgb(0 0 0 / .6); color: #fff; font-size: 12px; line-height: 1.4; }
.cmp-tag.is-before { left: 10px; } .cmp-tag.is-after { right: 10px; }
.b-compare figcaption { margin-top: 6px; font-size: 14px; opacity: .75; text-align: center; }
.b-compare.is-unset p { opacity: .7; }

/* ----- Steps / timeline ----- */
.b-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.b-steps li { display: flex; gap: 14px; align-items: flex-start; position: relative; }
.st-mark { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--site-accent, #3a59d1); color: var(--site-on-accent, #fff); }
.st-body { display: grid; gap: 4px; padding-top: 5px; }
.st-title { margin: 0; font-size: 1.05em; }
.st-when { font-size: 13px; font-weight: 700; color: var(--site-accent, #3a59d1); }
.b-steps.is-timeline { padding-left: 18px; border-left: 2px solid var(--w-line); gap: 22px; }
.b-steps.is-timeline .st-mark { width: 14px; height: 14px; margin-left: -26px; margin-top: 8px; box-shadow: 0 0 0 4px var(--site-bg, #fff); }
@media (min-width: 761px) { .b-steps.is-across { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } .b-steps.is-across li { flex-direction: column; } }

/* ----- Team ----- */
.tm-member { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.tmb-photo, .tmb-initials { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.tmb-initials { display: grid; place-items: center; background: var(--w-tint); border: 1px solid var(--w-line); font-size: 36px; font-weight: 700; }
.tmb-name { margin: 6px 0 0; font-size: 1.1em; }
.tmb-role { margin: 0; opacity: .75; }
.tmb-bio { margin: 0; font-size: .95em; }
.tmb-links { margin: 4px 0 0; display: flex; gap: 6px; }
.tmb-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--w-line); }

/* ----- Logo strip ----- */
.lg-title { margin: 0 0 12px; text-align: center; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.lg-viewport { overflow: hidden; }
.b-logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 48px; }
.b-logos img { display: block; max-height: 48px; max-width: 160px; width: auto; height: auto; }
.b-logos.is-grey img { filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.b-logos.is-grey a:hover img, .b-logos.is-grey a:focus-visible img, .b-logos.is-grey li:hover img { filter: none; opacity: 1; }
.b-logos.is-scrolling ul { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: lg-scroll 40s linear infinite; }
.b-logos.is-scrolling:hover ul, .b-logos.is-scrolling:focus-within ul { animation-play-state: paused; }
@keyframes lg-scroll { to { translate: -50% 0; } }

/* ----- Code ----- */
.b-code { margin: 0; border-radius: 10px; overflow: hidden; background: #1f2933; color: #e6edf3; }
.b-code figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; background: #111827; font: 12px ui-monospace, Consolas, monospace; color: #9fb1c5; }
.b-code pre { margin: 0; padding: 14px; overflow-x: auto; font: 14px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; tab-size: 4; }
.b-code.is-wrapped pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.b-code pre:focus-visible { outline: 2px solid var(--site-accent, #3a59d1); outline-offset: -2px; }
.code-copy { min-height: 30px; padding: 3px 10px; border: 1px solid #374151; border-radius: 6px; background: #1f2933; color: #e6edf3; font: 12px system-ui, sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.code-copy:hover, .code-copy:focus-visible { border-color: #9fb1c5; }

/* ----- Popup (a disclosure until blocks.js makes it a dialog) ----- */
.b-popup > summary { list-style: none; display: inline-flex; }
.b-popup > summary::-webkit-details-marker { display: none; }
.b-popup .pp-body { margin-top: 12px; padding: 16px; border: 1px solid var(--w-line); border-radius: 10px; }
.pp-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border: 0; border-radius: 14px; padding: 28px 24px 24px; background: var(--site-bg, #fff); color: var(--site-text, #1f2933); box-shadow: 0 24px 60px rgb(0 0 0 / .3); }
.pp-dialog::backdrop { background: rgb(15 23 42 / .55); }
.pp-dialog .pp-body { margin: 0; padding: 0; border: 0; display: grid; gap: 12px; }
.pp-title { margin: 0; padding-right: 32px; }
.pp-img { width: 100%; border-radius: 8px; }
.pp-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; color: inherit; font-size: 20px; cursor: pointer; }
.pp-close:hover, .pp-close:focus-visible { background: var(--w-tint); }

@media (prefers-reduced-motion: reduce) {
  .b-logos.is-scrolling ul { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .b-logos.is-scrolling li[aria-hidden="true"] { display: none; }
  .pb-bar, .ac-mark { transition: none; }
}

/* Anything marked hidden stays hidden, whatever display a block's styles give it. */
.site [hidden] { display: none !important; }

/* ----- Gallery as a carousel (the Testimonials carousel's track, with plain image slides) ----- */
.b-carousel { --gap: 16px; position: relative; }
.b-gallery-carousel .tm-slide { padding: 0; border: 0; background: none; border-radius: 0; gap: 6px; }
.b-gallery-carousel figure { margin: 0; display: grid; gap: 6px; }
.b-gallery-carousel img { display: block; width: 100%; height: auto; border-radius: 10px; }
.b-gallery-carousel.ratio-square img { aspect-ratio: 1; object-fit: cover; }
.b-gallery-carousel.ratio-landscape img { aspect-ratio: 4 / 3; object-fit: cover; }
.b-carousel.per-2 .tm-slide { flex-basis: calc((100% - var(--gap)) / 2); }
.b-carousel.per-3 .tm-slide { flex-basis: calc((100% - 2 * var(--gap)) / 3); }
@media (max-width: 760px) { .b-carousel .tm-slide { flex-basis: 100% !important; } }

/* ================= Second batch (Essential Addons / Crocoblock analysis) ================= */
/* Two-way switches (Price table, Content switcher): radio buttons styled as a toggle, CSS shows the chosen content. */
:is(.pr-switch, .sw-choice) { display: inline-flex; gap: 0; margin: 0 0 18px; padding: 4px; border: 1px solid var(--w-line); border-radius: 999px; background: var(--w-tint); }
:is(.pr-switch, .sw-choice) label { position: relative; }
:is(.pr-switch, .sw-choice) input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
:is(.pr-switch, .sw-choice) label span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 18px; border-radius: 999px; font-weight: 600; }
:is(.pr-switch, .sw-choice) input:checked + span { background: var(--site-accent, #3a59d1); color: var(--site-on-accent, #fff); }
:is(.pr-switch, .sw-choice) input:focus-visible + span { outline: 2px solid var(--site-accent, #3a59d1); outline-offset: 2px; }
.pr-save { font-style: normal; font-size: 12px; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, #15803d 15%, transparent); color: #15803d; }
input:checked + span .pr-save { background: rgb(255 255 255 / .25); color: inherit; }
.b-pricing-switch { text-align: center; }
.b-pricing-switch .b-pricing { text-align: left; }
.b-pricing-switch .pr-price.is-b { display: none; }
.b-pricing-switch:has(input[value="b"]:checked) .pr-price.is-a { display: none; }
.b-pricing-switch:has(input[value="b"]:checked) .pr-price.is-b { display: block; }
.sw-panel.is-b { display: none; }
.b-switcher:has(input[value="b"]:checked) .sw-panel.is-a { display: none; }
.b-switcher:has(input[value="b"]:checked) .sw-panel.is-b { display: block; }

/* ----- Pages grid heading; related with nothing in common shows nothing on the page ----- */
.pg-heading { margin: 0 0 14px; }
body:not(.editor) .b-pagesgrid.is-empty.is-related { display: none; }

/* ----- Previous / next post ----- */
.b-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pn-link { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--w-line); border-radius: 12px; text-decoration: none; color: inherit; }
.site a.pn-link { color: inherit; }
.pn-link:hover, .pn-link:focus-visible { border-color: var(--site-accent, #3a59d1); }
.pn-link.is-next { justify-content: flex-end; text-align: right; flex-direction: row-reverse; }
.pn-text { display: grid; gap: 2px; min-width: 0; }
.pn-dir { font-size: 13px; font-weight: 700; color: var(--site-accent, #3a59d1); }
.pn-title { font-weight: 600; }
.pn-img { width: 72px; height: 48px; object-fit: cover; border-radius: 6px; flex: none; }
@media (max-width: 600px) { .b-postnav { grid-template-columns: 1fr; } .pn-gap { display: none; } }
.b-postnav.is-empty p, .b-dotnav.is-empty p, .b-hotspots.is-unset p, .b-download.is-unset p, .b-chart.is-unset p, .b-newsletter.is-unset p { opacity: .7; margin: 0; }

/* ----- Image hotspots ----- */
.b-hotspots { margin: 0; }
.hs-frame { position: relative; line-height: 0; }
.hs-img { display: block; width: 100%; height: auto; border-radius: 10px; }
.hs-mark { position: absolute; translate: -50% -50%; width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; background: var(--site-accent, #3a59d1); color: var(--site-on-accent, #fff);
  font: 700 14px/1 system-ui, sans-serif; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgb(0 0 0 / .35); padding: 0; }
.hs-mark[aria-expanded="true"] { background: #111; color: #fff; }
.hs-mark:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.hs-bubble { position: absolute; z-index: 5; width: min(280px, 80%); padding: 12px 14px; border-radius: 10px; background: var(--site-bg, #fff); color: var(--site-text, #1f2933);
  box-shadow: 0 10px 30px rgb(0 0 0 / .25); line-height: 1.45; font-size: 15px; }
.hs-bubble strong { display: block; margin-bottom: 2px; }
.hs-notes { margin: 12px 0 0; padding-left: 1.4em; display: grid; gap: 6px; line-height: 1.5; }
.b-hotspots figcaption { margin-top: 6px; opacity: .75; font-size: 14px; }

/* ----- Dot navigation (fixed at the side; in the editor it sits in the page) ----- */
.b-dotnav { position: fixed; z-index: 30; top: 50%; right: 18px; translate: 0 -50%; }
.b-dotnav.is-left { right: auto; left: 18px; }
.b-dotnav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.b-dotnav a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 28px; text-decoration: none; color: inherit; }
.b-dotnav.is-left a { flex-direction: row-reverse; }
.dn-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--site-accent, #3a59d1); background: var(--site-bg, #fff); flex: none; transition: transform .15s; }
.b-dotnav a[aria-current="true"] .dn-dot { background: var(--site-accent, #3a59d1); transform: scale(1.25); }
.dn-label { padding: 3px 8px; border-radius: 6px; background: var(--site-bg, #fff); box-shadow: 0 2px 8px rgb(0 0 0 / .15); font-size: 13px; white-space: nowrap; opacity: 0; transition: opacity .15s; pointer-events: none; }
.b-dotnav a:hover .dn-label, .b-dotnav a:focus-visible .dn-label, .b-dotnav.show-labels .dn-label { opacity: 1; }
@media (max-width: 900px) { .b-dotnav { display: none; } }
.editor .b-dotnav { position: static; translate: none; display: block; }
.editor .b-dotnav .dn-label { opacity: 1; }

/* ----- Download button ----- */
.b-download { display: grid; gap: 6px; justify-items: start; }
.dl-meta { font-weight: 400; opacity: .85; }
.dl-note { margin: 0; font-size: 14px; opacity: .75; }

/* ----- Chart ----- */
.b-chart { margin: 0; display: grid; gap: 10px; }
.ch-title { font-weight: 700; font-size: 1.1em; }
.ch-draw { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.ch-svg { width: 100%; height: auto; overflow: visible; }
.ch-svg.is-round { width: min(260px, 100%); }
.ch-grid { stroke: var(--w-line); stroke-width: 1; }
.ch-tick { fill: currentColor; opacity: .7; font-size: 12px; font-family: inherit; }
.ch-val { fill: currentColor; font-size: 12px; font-weight: 700; font-family: inherit; }
.ch-bar { fill: var(--site-accent, #3a59d1); }
.ch-line { fill: none; stroke: var(--site-accent, #3a59d1); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.ch-point { fill: var(--site-bg, #fff); stroke: var(--site-accent, #3a59d1); stroke-width: 3; }
.ch-hole { fill: var(--site-bg, #fff); }
.ch-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ch-legend li { display: flex; align-items: center; gap: 8px; }
.ch-key { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.ch-pc { opacity: .7; }
.ch-data summary { cursor: pointer; color: var(--site-accent, #3a59d1); font-size: 14px; min-height: 32px; display: flex; align-items: center; }
.ch-table { border-collapse: collapse; margin-top: 6px; font-size: 14px; }
.ch-table caption { text-align: left; font-weight: 600; padding-bottom: 4px; }
.ch-table th, .ch-table td { padding: 5px 12px 5px 0; text-align: left; border-bottom: 1px solid var(--w-line); }
.ch-table td { text-align: right; font-variant-numeric: tabular-nums; }

/* ----- Events list ----- */
.b-events ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ev-item { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--w-line); }
.ev-date { flex: none; width: 64px; padding: 8px 0; border-radius: 10px; text-align: center; background: var(--site-accent, #3a59d1); color: var(--site-on-accent, #fff); display: grid; line-height: 1.1; }
.ev-day { font-size: 26px; font-weight: 800; }
.ev-mon { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.ev-body { display: grid; gap: 4px; min-width: 0; }
.ev-title { margin: 0; font-size: 1.1em; }
.ev-when { margin: 0; font-size: 14px; opacity: .8; }
.ev-text { margin: 0; }
.ev-ics { font-size: 14px; font-weight: 600; justify-self: start; }
.b-events.hide-past .ev-item.is-past { display: none; }
.b-events.is-empty p, .ev-none { opacity: .7; }

/* ----- Newsletter signup ----- */
.b-newsletter { display: grid; gap: 10px; padding: 24px; border-radius: 14px; background: var(--w-tint); border: 1px solid var(--w-line); }
.nl-title { margin: 0; }
.nl-text, .nl-note { margin: 0; }
.nl-note { font-size: 13px; opacity: .75; }
.nl-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.nl-field { display: grid; gap: 4px; flex: 1 1 200px; font-size: 14px; font-weight: 600; }
.nl-field input { min-height: 46px; padding: 10px 12px; border: 1.5px solid color-mix(in srgb, var(--site-text, #1f2933) 25%, transparent); border-radius: 8px; font: inherit; font-weight: 400; background: var(--site-bg, #fff); color: inherit; }
.nl-field input:focus-visible { outline: none; border-color: var(--site-accent, #3a59d1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--site-accent, #3a59d1) 30%, transparent); }
.nl-form .btn { min-height: 46px; }

/* ----- Highlighted words in headings ----- */
.b-heading.hl-colour mark.hl { background: none; color: var(--site-accent, #3a59d1); }
.b-heading.hl-marker mark.hl { background: linear-gradient(transparent 55%, color-mix(in srgb, var(--site-accent, #3a59d1) 30%, transparent) 55%); color: inherit; padding: 0 .05em; }

/* ----- Read more (Text) ----- */
.b-text.is-folded { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--fold, 4); overflow: hidden; }
.fold-btn { margin-top: 6px; padding: 0; min-height: 32px; border: 0; background: none; color: var(--site-accent, #3a59d1); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }

/* ----- Table: sorting and filter ----- */
.tbl-filter { margin: 0 0 10px; display: flex; gap: 8px; align-items: center; }
.tbl-filter input { flex: 1 1 220px; max-width: 360px; min-height: 40px; padding: 8px 12px; border: 1.5px solid var(--w-line); border-radius: 8px; font: inherit; background: var(--site-bg, #fff); color: inherit; }
.tbl-filter output { font-size: 13px; opacity: .7; }
.tbl-sort { all: unset; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.tbl-sort:focus-visible { outline: 2px solid var(--site-accent, #3a59d1); outline-offset: 2px; border-radius: 3px; }
.tbl-sort::after { content: "↕"; opacity: .4; font-size: .9em; }
th[aria-sort="ascending"] .tbl-sort::after { content: "↑"; opacity: 1; }
th[aria-sort="descending"] .tbl-sort::after { content: "↓"; opacity: 1; }

/* ----- Gallery: masonry and category buttons ----- */
.b-gallery.is-masonry { display: block; columns: 3 220px; column-gap: 12px; }
.b-gallery.is-masonry.cols-2 { columns: 2 220px; } .b-gallery.is-masonry.cols-4 { columns: 4 180px; } .b-gallery.is-masonry.cols-5 { columns: 5 160px; }
.b-gallery.is-masonry li { break-inside: avoid; margin-bottom: 12px; }
.g-filters { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.g-filters button { min-height: 38px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--w-line); background: var(--site-bg, #fff); color: inherit; font: inherit; font-size: 14px; cursor: pointer; }
.g-filters button[aria-pressed="true"] { background: var(--site-accent, #3a59d1); border-color: var(--site-accent, #3a59d1); color: var(--site-on-accent, #fff); }

/* ----- Reading progress and back to top (Site style) ----- */
.reading-bar { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 4px; background: transparent; pointer-events: none; }
.reading-bar span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--site-accent, #3a59d1); }
.to-top { position: fixed; z-index: 60; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border-radius: 999px;
  background: var(--site-accent, #3a59d1); color: var(--site-on-accent, #fff) !important; text-decoration: none; font-weight: 600; box-shadow: 0 6px 18px rgb(0 0 0 / .2); }
.to-top:focus-visible { outline: 3px solid var(--site-text, #1f2933); outline-offset: 3px; }

.to-top[hidden] { display: none; }

/* ================= Third batch ================= */
/* ----- Media + text ----- */
.b-mediatext { display: grid; grid-template-columns: var(--mt-w, 50%) minmax(0, 1fr); gap: 32px; align-items: center; }
.b-mediatext.is-top { align-items: start; }
.b-mediatext.is-right { grid-template-columns: minmax(0, 1fr) var(--mt-w, 50%); }
.b-mediatext.is-right .mt-media { order: 2; }
.mt-img { display: block; width: 100%; height: auto; border-radius: 12px; }
.mt-words { display: grid; gap: 10px; }
.mt-title { margin: 0; }
.mt-cta { margin: 6px 0 0; }
.b-mediatext .mark, .mt-title mark.hl { background: none; color: var(--site-accent, #3a59d1); }
@media (max-width: 720px) { .b-mediatext, .b-mediatext.is-right { grid-template-columns: 1fr; gap: 16px; } .b-mediatext.is-right .mt-media { order: 0; } }

/* ----- Contact card ----- */
.b-contact { display: grid; gap: 12px; padding: 22px; border: 1px solid var(--w-line); border-radius: 14px; max-width: 520px; }
.cc-name { margin: 0; }
.cc-note { margin: -6px 0 0; opacity: .75; }
.cc-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cc-rows li { display: grid; grid-template-columns: 24px 110px minmax(0, 1fr); gap: 4px 10px; align-items: start; }
.cc-icon { color: var(--site-accent, #3a59d1); display: inline-flex; padding-top: 2px; }
.cc-what { font-weight: 600; }
.cc-value address { font-style: normal; }
.cc-value a { overflow-wrap: anywhere; }
@media (max-width: 480px) { .cc-rows li { grid-template-columns: 24px minmax(0, 1fr); } .cc-what { display: none; } }
.cc-save { justify-self: start; }

/* ----- Post info ----- */
.b-postinfo { display: grid; gap: 8px; font-size: 14px; }
.pi-line { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; opacity: .8; }
.pi-sep { opacity: .6; }
.pi-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pi-tags li { padding: 2px 10px; border-radius: 999px; background: var(--w-tint); border: 1px solid var(--w-line); font-size: 13px; }
.b-postinfo.is-empty p { margin: 0; opacity: .7; }

/* ----- Author box ----- */
.b-author { display: flex; gap: 18px; align-items: flex-start; padding: 20px; border-radius: 14px; background: var(--w-tint); border: 1px solid var(--w-line); }
.au-photo, .au-initials { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.au-initials { display: grid; place-items: center; background: var(--site-bg, #fff); border: 1px solid var(--w-line); font-size: 28px; font-weight: 700; }
.au-body { display: grid; gap: 4px; min-width: 0; }
.au-kicker { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.au-name { margin: 0; }
.au-role { margin: 0; opacity: .75; }
.au-bio { margin: 4px 0 0; }
.au-links { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.au-links a { display: inline-flex; align-items: center; gap: 5px; }
@media (max-width: 520px) { .b-author { flex-direction: column; } }

/* ----- Trusted embed ----- */
.emb-frame { position: relative; border-radius: 10px; overflow: hidden; background: var(--w-tint); }
.emb-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.emb-load { position: absolute; inset: 0; width: 100%; display: grid; place-content: center; gap: 4px; padding: 16px; border: 1px dashed var(--w-line); background: var(--w-tint); color: inherit; font: inherit; cursor: pointer; text-align: center; }
.emb-load strong { font-size: 1.05em; }
.emb-load span { font-size: 13px; opacity: .75; }
.emb-load:hover strong, .emb-load:focus-visible strong { color: var(--site-accent, #3a59d1); }
.emb-caption { margin: 6px 0 0; font-size: 14px; opacity: .75; }
.b-embed.is-unset p, .b-videopopup.is-unset p { margin: 0; opacity: .7; }

/* ----- Video popup ----- */
.vp-open { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; font-weight: 600; }
.site a.vp-open { color: inherit; }
.vp-play { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--site-accent, #3a59d1); color: var(--site-on-accent, #fff); box-shadow: 0 6px 20px color-mix(in srgb, var(--site-accent, #3a59d1) 35%, transparent); transition: transform .15s; }
.vp-open:hover .vp-play, .vp-open:focus-visible .vp-play { transform: scale(1.08); }
.vp-open:focus-visible { outline: 2px solid var(--site-accent, #3a59d1); outline-offset: 4px; border-radius: 10px; }
.b-videopopup.has-thumb .vp-open { position: relative; display: block; border-radius: 12px; overflow: hidden; }
.vp-thumb { display: block; width: 100%; height: auto; }
.b-videopopup.has-thumb .vp-play { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 76px; height: 76px; }
.b-videopopup.has-thumb .vp-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 16px 12px; background: linear-gradient(transparent, rgb(0 0 0 / .65)); color: #fff; }
.vp-dialog { width: min(960px, calc(100vw - 24px)); padding: 0; border: 0; border-radius: 12px; background: #000; overflow: visible; }
.vp-dialog::backdrop { background: rgb(0 0 0 / .8); }
.vp-dialog .vp-box { position: relative; aspect-ratio: 16 / 9; }
.vp-dialog iframe, .vp-dialog video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; background: #000; }
.vp-close { position: absolute; top: -48px; right: 0; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .15); color: #fff; font-size: 20px; cursor: pointer; }
.vp-close:hover, .vp-close:focus-visible { background: rgb(255 255 255 / .3); }

/* ----- Shape divider ----- */
.b-shape { line-height: 0; margin: 0 calc(var(--edge-bleed, 0px) * -1); }
.b-shape svg { display: block; width: 100%; }
.b-shape.is-flip-x svg { transform: scaleX(-1); }
.b-shape.is-flip-y svg { transform: scaleY(-1); }
.b-shape.is-flip-x.is-flip-y svg { transform: scale(-1, -1); }

/* ----- Comparison ticks (Table) ----- */
.tbl-tick { display: inline-flex; vertical-align: middle; }
.tbl-tick.is-yes { color: #15803d; }
.tbl-tick.is-no { color: color-mix(in srgb, var(--site-text, #1f2933) 40%, transparent); }

/* ----- Special dates (Business hours) ----- */
.hr-specials { margin-top: 12px; }
.hr-stitle { margin: 0 0 4px; font-weight: 700; }
.hr-specials ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hr-specials li.is-today { font-weight: 700; }
.hr-sdate { font-variant-numeric: tabular-nums; display: inline-block; min-width: 92px; }
.hr-snote { opacity: .7; }

/* ----- Floating call / WhatsApp button (phones only unless "everywhere") ----- */
.float-btn { position: fixed; z-index: 61; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px 0 14px; border-radius: 999px;
  background: var(--site-accent, #3a59d1); color: var(--site-on-accent, #fff) !important; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgb(0 0 0 / .25); }
.float-btn.is-whatsapp { background: #128c4a; color: #fff !important; }
.float-btn:focus-visible { outline: 3px solid var(--site-text, #1f2933); outline-offset: 3px; }
@media (min-width: 761px) { .float-btn:not(.is-everywhere) { display: none; } }

/* ----- Announcement bar ----- */
.announce { position: relative; display: flex; justify-content: center; align-items: center; gap: 12px; padding: 9px 48px; text-align: center; font-size: 15px;
  background: var(--site-accent, #3a59d1); color: var(--site-on-accent, #fff); }
.announce.is-dark { background: #111827; color: #fff; }
.announce.is-warning { background: #fcd34d; color: #3b2a00; }
.announce.is-light { background: var(--w-tint, #f3f4f6); color: inherit; border-bottom: 1px solid var(--w-line); }
.announce[hidden] { display: none; }
.an-text { margin: 0; }
.announce a { color: inherit !important; font-weight: 700; }
.an-close { position: absolute; right: 8px; top: 50%; translate: 0 -50%; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: inherit; font-size: 16px; cursor: pointer; }
.an-close:hover, .an-close:focus-visible { background: rgb(255 255 255 / .2); }

/* ----- Search box (php-search) ----- */
.b-search { position: relative; max-width: 640px; --srch-h: 48px; --srch-fs: 17px; --srch-pad: 24px; }
/* Size (Small / Large) and width (Narrow / Wide / Full) from the block's settings. */
.b-search.srch-sm { --srch-h: 38px; --srch-fs: 15px; --srch-pad: 16px; }
.b-search.srch-lg { --srch-h: 60px; --srch-fs: 20px; --srch-pad: 32px; }
.b-search.srch-w-narrow { max-width: 400px; }
.b-search.srch-w-wide { max-width: 900px; }
.b-search.srch-w-full { max-width: none; }
.srch-label { display: block; margin-bottom: 6px; font-weight: 600; }
.srch-row { display: flex; gap: 8px; }
.srch-row input { flex: 1; min-width: 0; min-height: var(--srch-h); padding: 0 14px; border: 1.5px solid color-mix(in srgb, var(--site-text, #1f2933) 25%, transparent); border-radius: 8px;
  font: inherit; font-size: var(--srch-fs); background: var(--site-bg, #fff); color: inherit; }
.srch-row input:focus-visible { outline: none; border-color: var(--site-accent, #3a59d1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--site-accent, #3a59d1) 30%, transparent); }
.srch-row .btn { min-height: var(--srch-h); padding-inline: var(--srch-pad); font-size: var(--srch-fs); }
.srch-results { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); max-height: min(70vh, 520px); overflow: auto; padding: 8px 14px;
  border: 1px solid var(--w-line); border-radius: 10px; background: var(--site-bg, #fff); box-shadow: 0 14px 40px rgb(0 0 0 / .15); }
.srch-results ol { list-style: none; margin: 0; padding: 0; }
.srch-results li { padding: 10px 0; border-top: 1px solid var(--w-line); }
.srch-results li a { font-weight: 600; }
.srch-results li a:focus-visible { outline: 2px solid var(--site-accent, #3a59d1); outline-offset: 2px; border-radius: 3px; }
.srch-results li p { margin: 2px 0 0; font-size: 14px; opacity: .85; }
.srch-results mark { background: color-mix(in srgb, #facc15 45%, transparent); color: inherit; border-radius: 2px; padding: 0 1px; }
.srch-count, .srch-note { margin: 4px 0 8px; font-size: 13px; opacity: .75; }
.srch-all { margin: 8px 0 4px; font-size: 14px; font-weight: 600; }
