*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.6; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; color: var(--heading-color, inherit); }
/* Appearance → Text: heading sizes for headings in page text (classed headings keep their own size) */
h1 { font-size: var(--h1-size, 2em); } h2 { font-size: var(--h2-size, 1.5em); } h3 { font-size: var(--h3-size, 1.17em); }
/* a block the owner gave its own text colour, and a hero over a picture, keep their colour whatever the heading colour is */
.block[style*="--fg"] :is(h1, h2, h3, h4), .hero:has(.hero-bg) :is(h1, h2, h3, h4) { color: inherit; }
img { max-width: 100%; height: auto; }
a { color: var(--color-primary); }

.preview-banner { background: #fff3bf; color: #5c4a00; text-align: center; padding: 8px; font-size: .9rem; }
.site-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; text-decoration: none; color: var(--color-text); }

/* blocks: full-bleed section, constrained inner */
.block { background: var(--bg, transparent); color: var(--fg, inherit); }
.block-inner { margin: 0 auto; padding-left: calc(var(--space) * 2); padding-right: calc(var(--space) * 2); }
.pad-none > .block-inner { padding-top: 0; padding-bottom: 0; }
.pad-sm > .block-inner { padding-top: var(--space); padding-bottom: var(--space); }
.pad-md > .block-inner { padding-top: calc(var(--space) * 3); padding-bottom: calc(var(--space) * 3); }
.pad-lg > .block-inner { padding-top: calc(var(--space) * 6); padding-bottom: calc(var(--space) * 6); }
.width-narrow > .block-inner { max-width: 760px; }
.width-normal > .block-inner { max-width: var(--content-width); }
.width-wide > .block-inner { max-width: 1400px; }
.width-full > .block-inner { max-width: none; padding-left: 0; padding-right: 0; }
.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }

.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }

.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.align-center .hero { align-items: center; }
.align-right .hero { align-items: flex-end; }
.hero-sm { min-height: 220px; } .hero-md { min-height: 360px; } .hero-lg { min-height: 520px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero:has(.hero-bg)::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); z-index: 0; }
.hero-content { position: relative; z-index: 1; max-width: 46rem; }
.hero:has(.hero-bg) .hero-content { color: #fff; }
.hero h1, .hero h2 { font-size: clamp(2rem, 5vw, 3.5rem); margin: 0 0 .5em; }
.hero-sub { font-size: 1.2rem; margin: 0 0 1.5em; white-space: pre-line; }

.btn { display: inline-block; padding: .65em 1.3em; border-radius: var(--radius); text-decoration: none; font-weight: 600; border: 2px solid var(--color-primary); }
.btn-primary { background: var(--color-primary); color: var(--color-primary-text); }
.btn-secondary { background: var(--color-surface); color: var(--color-text); border-color: var(--color-surface); }
.btn-outline { background: transparent; color: var(--color-primary); }

.figure { margin: 0; }
.figure img { border-radius: var(--radius); }
.figure figcaption { color: var(--color-muted); font-size: .9rem; margin-top: .5em; }

.gallery, .columns { display: grid; gap: var(--space); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.col h3 { margin-top: 0; }
.col p { white-space: pre-line; margin: 0; }

.spacer-sm { height: var(--space); } .spacer-md { height: calc(var(--space) * 3); } .spacer-lg { height: calc(var(--space) * 6); }

@media (max-width: 700px) {
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .block-inner { padding-left: var(--space); padding-right: var(--space); }
}

/* blog */
.postgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: calc(var(--space) * 1.5); margin: var(--space) 0; }
.postcard { display: flex; flex-direction: column; background: var(--color-surface); border-radius: var(--radius); overflow: hidden; text-align: left; color: var(--color-text); }
.postcard-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.postcard-body { padding: var(--space); }
.postcard h3 { margin: .2em 0 .4em; font-size: 1.2rem; }
.postcard h3 a { color: inherit; text-decoration: none; }
.postcard h3 a:hover { color: var(--color-primary); }
.postcard p { margin: 0 0 .5em; }
.postmeta { color: var(--color-muted); font-size: .875rem; margin: 0 0 .5em; }
.post-cover { display: block; width: 100%; height: auto; border-radius: var(--radius); margin: var(--space) 0; }
.muted { color: var(--color-muted); }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: calc(var(--space) * 2); }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin: 1em 0; padding-left: 1em; border-left: 4px solid var(--color-primary); color: var(--color-muted); }

/* ---- navigation: top bar, main menu (links, dropdowns, mega menus), footer menu ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* "frozen" sections stay on screen while the page scrolls */
.menu-topbar.is-sticky { position: sticky; top: 0; z-index: 60; }
.site-header.is-sticky { position: sticky; top: var(--topbar-h, 0px); z-index: 50; }
.menu-footer.is-sticky { position: sticky; bottom: 0; z-index: 40; }

.menu-topbar { background: var(--color-surface); font-size: .85rem; }
.menu-topbar-inner { max-width: var(--content-width); margin: 0 auto; padding: .35rem calc(var(--space) * 2); display: flex; align-items: center; justify-content: space-between; gap: var(--space); }
.menu-topbar ul, .menu-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space); }
.menu-topbar a, .menu-footer a { color: var(--color-muted); text-decoration: none; }
.menu-topbar a:hover, .menu-footer a:hover { color: var(--color-text); text-decoration: underline; }
.menu-topbar a[aria-current], .menu-footer a[aria-current] { color: var(--color-primary); }

.menu-footer { background: var(--color-surface); margin-top: calc(var(--space) * 4); }
.menu-footer ul { justify-content: center; padding: .7rem var(--space); }
.menu-footer + .site-footer { margin-top: 0; }

.site-header { position: relative; background: var(--color-bg); }
.site-header-inner { display: flex; flex-wrap: wrap; gap: var(--space); align-items: center; justify-content: space-between; max-width: var(--content-width); margin: 0 auto; padding: var(--space) calc(var(--space) * 2); }
.site-footer { margin-top: calc(var(--space) * 4); border-top: 1px solid var(--color-surface); color: var(--footer-fg, var(--color-muted)); background: var(--footer-bg, transparent); }
.site-footer-inner { text-align: center; max-width: var(--content-width); margin: 0 auto; padding: var(--space) calc(var(--space) * 2); }
.site-footer.footer-pad-sm .site-footer-inner { padding-block: calc(var(--space) * .5); }
.site-footer.footer-pad-lg .site-footer-inner { padding-block: calc(var(--space) * 2.5); }
.site-footer.has-bg { border-top-color: transparent; }

/* header styles the owner can choose (Appearance → Header): "stacked" (logo and banner, menu bar below) and
   "centered" (menu bar on top, a large centred logo or title below). The bar's colours come from --bar-*. */
.header-top { position: relative; display: flex; align-items: stretch; min-height: var(--banner-h, 0px); max-width: var(--content-width); margin: 0 auto; }
.header-top.banner-behind { max-width: none; }
.header-brand { position: relative; z-index: 1; flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; gap: .25rem; padding: var(--space) calc(var(--space) * 2); }
.banner-behind .header-brand { width: 100%; max-width: var(--content-width); margin: 0 auto; }
.banner-behind.has-banner .site-title, .banner-behind.has-banner .header-tagline { color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .65); }
.header-tagline { margin: 0; color: var(--color-muted); font-size: 1rem; }
.header-banner { position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.banner-behind .header-banner { position: absolute; inset: 0; z-index: 0; }
.header-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.5s ease; }
.header-banner img.is-on { opacity: 1; }
.header-bar { position: relative; background: var(--bar-bg, var(--color-surface)); }
.header-bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space); max-width: var(--content-width); margin: 0 auto; padding: .25rem calc(var(--space) * 2); }
.header-bar-inner .menu-main { flex: 1 1 auto; }
.header-bar .menu-item > a, .header-bar .menu-toggle { color: var(--bar-fg, var(--color-text)); font-weight: 600; border-radius: 0; }
.header-bar .menu-item > a:hover, .header-bar .menu-toggle:hover, .header-bar .menu-item.open > .menu-toggle { background: color-mix(in srgb, currentColor 14%, transparent); }
.header-bar .menu-item > a[aria-current], .header-bar .menu-item.is-current > .menu-toggle { background: var(--bar-active, transparent); color: var(--bar-fg, var(--color-primary)); }
.header-bar .menu-burger { color: var(--bar-fg, var(--color-text)); border-color: color-mix(in srgb, currentColor 35%, transparent); }
.header-bar .color-toggle, .header-bar .site-search-btn { color: var(--bar-fg, var(--color-text)); }
.header-brand-center { align-items: center; text-align: center; padding: calc(var(--space) * 2.5) calc(var(--space) * 2) calc(var(--space) * 2); }
.header-brand-center .site-title { font-size: 2.4rem; }
.header-brand-center .header-tagline { font-size: 1.15rem; }
@media (max-width: 700px) {
  .header-top.banner-beside { flex-direction: column; }
  .banner-beside .header-banner { flex: 0 0 auto; height: calc(var(--banner-h, 0px) * .6); }
  .header-brand-center .site-title { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) { .header-banner img { transition: none; } }

.menu-main { display: flex; align-items: center; }
.menu-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: calc(var(--space) * .25); }
.menu-item > a, .menu-toggle { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .8rem; color: var(--color-text); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; border-radius: var(--radius); }
.menu-item > a:hover, .menu-toggle:hover, .menu-item.open > .menu-toggle { background: var(--color-surface); }
.menu-item > a[aria-current], .menu-item.is-current > .menu-toggle { color: var(--color-primary); font-weight: 600; }
.menu-toggle:focus-visible, .menu-item a:focus-visible, .menu-burger:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.caret { width: .45rem; height: .45rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.menu-item.open > .menu-toggle .caret { transform: rotate(225deg) translateY(-2px); }

/* panels: a dropdown hangs under its item; a mega menu spans the whole header */
.has-panel { position: relative; }
.has-mega { position: static; }
.menu-panel { display: none; position: absolute; z-index: 70; background: var(--color-bg); border: 1px solid var(--color-surface); box-shadow: 0 14px 34px rgba(0, 0, 0, .14); }
.menu-panel a { color: var(--color-text); text-decoration: none; }
.menu-panel a:hover { color: var(--color-primary); text-decoration: underline; }
.menu-panel a[aria-current] { color: var(--color-primary); font-weight: 600; }
.menu-dropdown { top: 100%; left: 0; min-width: 14rem; margin: 0; padding: .4rem; list-style: none; border-radius: var(--radius); }
.menu-dropdown a { display: block; padding: .5rem .7rem; border-radius: calc(var(--radius) / 2); }
.menu-dropdown a:hover { background: var(--color-surface); text-decoration: none; }
.menu-mega { top: 100%; left: 0; right: 0; border-left: 0; border-right: 0; }
.menu-mega-grid { display: grid; gap: calc(var(--space) * 2); max-width: var(--content-width); margin: 0 auto; padding: calc(var(--space) * 1.5) calc(var(--space) * 2); }
.mega-cols-1 { grid-template-columns: minmax(0, 28rem); }
.mega-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mega-cols-5, .mega-cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.menu-col ul { list-style: none; margin: 0; padding: 0; }
.menu-col li { margin: 0 0 .55rem; }
.menu-col-heading { margin: 0 0 .6rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); }
.menu-col-heading a { color: inherit; text-decoration: none; }
.menu-figure { margin: 0; }
.menu-figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.menu-figure figcaption { margin-top: .5rem; font-size: .9rem; color: var(--color-muted); }
.menu-col-text { font-size: .95rem; }
.menu-col-text > :first-child { margin-top: 0; }
.menu-col-text > :last-child { margin-bottom: 0; }
.menu-col-heading a:hover, .menu-col-heading a[aria-current="page"] { color: var(--color-primary); text-decoration: underline; }
.menu-desc { display: block; font-size: .85rem; color: var(--color-muted); }

/* without JavaScript, panels open on hover and keyboard focus; with it, the script manages them */
html:not(.js) .has-panel:hover > .menu-panel, html:not(.js) .has-panel:focus-within > .menu-panel, .has-panel.open > .menu-panel { display: block; }

.menu-burger { display: none; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; background: none; border: 1px solid var(--color-surface); border-radius: var(--radius); color: var(--color-text); cursor: pointer; }
.burger-bars { display: block; width: 1.2rem; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }

@media (max-width: 800px) {
  .menu-main { width: 100%; flex-wrap: wrap; justify-content: flex-end; }
  .js .menu-burger { display: inline-flex; }
  .site-header-inner { gap: calc(var(--space) * .5); }
  .menu-list { flex-direction: column; align-items: stretch; width: 100%; max-height: 70vh; overflow-y: auto; }
  .js .menu-list { display: none; }
  .js .menu-main.is-open .menu-list { display: flex; }
  .menu-item > a, .menu-toggle { width: 100%; justify-content: space-between; }
  /* panels become in-page accordions instead of floating */
  .menu-panel { position: static; box-shadow: none; border: 0; border-left: 3px solid var(--color-surface); border-radius: 0; margin-left: .8rem; }
  html:not(.js) .menu-panel { display: block; }
  .menu-mega-grid { grid-template-columns: 1fr !important; gap: var(--space); padding: .5rem .8rem; }
  .menu-topbar-inner { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .caret { transition: none; } }

/* contact form */
.contact-form { display: grid; gap: calc(var(--space) * 1.25); max-width: 38rem; margin: 0 auto; text-align: left; }
.align-left .contact-form { margin-left: 0; }
.contact-form label { display: grid; gap: .3em; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; padding: .6em .75em; font: inherit; color: var(--color-text); background: var(--color-bg); border: 1px solid color-mix(in srgb, var(--color-text) 30%, transparent); border-radius: var(--radius); }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.contact-form button { justify-self: start; cursor: pointer; font: inherit; font-weight: 600; }
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { max-width: 38rem; margin: 0 auto; padding: var(--space); background: var(--color-surface); border-left: 4px solid var(--color-primary); border-radius: var(--radius); }

/* newsletter signup */
.newsletter-form { display: flex; flex-wrap: wrap; gap: var(--space); max-width: 32rem; margin: 0 auto; }
.align-left .newsletter-form { margin-left: 0; }
.newsletter-form input[type=email] { flex: 1 1 14rem; min-width: 0; padding: .65em .8em; font: inherit; color: var(--color-text); background: var(--color-bg); border: 1px solid color-mix(in srgb, var(--color-text) 30%, transparent); border-radius: var(--radius); }
.newsletter-form input[type=email]:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.newsletter-form button { cursor: pointer; font: inherit; font-weight: 600; }
.newsletter-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* search: the header box and the results page */
.site-search { display: flex; align-items: center; gap: .25rem; }
.site-search input[type=search] { width: 9.5rem; padding: .4em .7em; font: inherit; font-size: .92rem; color: var(--color-text); background: var(--color-bg); border: 1px solid color-mix(in srgb, var(--color-text) 30%, transparent); border-radius: var(--radius); }
.site-search input[type=search]:focus { width: 12rem; }
.site-search input[type=search]:focus-visible, .search-form input:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.site-search-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; padding: 0; color: var(--color-text); background: none; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; }
.site-search-btn:hover { color: var(--color-primary); }
.search-form { display: flex; flex-wrap: wrap; gap: var(--space); max-width: 36rem; }
.search-form input { flex: 1 1 14rem; min-width: 0; padding: .65em .8em; font: inherit; color: var(--color-text); background: var(--color-bg); border: 1px solid color-mix(in srgb, var(--color-text) 30%, transparent); border-radius: var(--radius); }
.search-form button { cursor: pointer; font: inherit; font-weight: 600; }
.search-note { color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.search-results { list-style: none; margin: calc(var(--space) * 2) 0 0; padding: 0; }
.search-results li { margin: 0 0 calc(var(--space) * 2); }
.search-results p { margin: .2em 0; }
.search-title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; }
.search-kind { margin-left: .4em; padding: .1em .5em; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--color-text); background: var(--color-surface); border-radius: 99px; vertical-align: middle; }
.search-url { font-size: .85rem; color: color-mix(in srgb, var(--color-text) 60%, transparent); overflow-wrap: anywhere; }
.search-snippet mark { color: inherit; background: color-mix(in srgb, var(--color-primary) 22%, transparent); border-radius: 2px; padding: 0 .1em; }

/* dark mode switch: the moon shows in light mode, the sun in dark mode */
.color-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; padding: 0; color: var(--color-text); background: none; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; }
.color-toggle:hover { color: var(--color-primary); }
.color-toggle:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.color-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .color-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .color-toggle .icon-sun { display: inline; }

/* cookie notice */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space) calc(var(--space) * 2); padding: var(--space) calc(var(--space) * 2); color: var(--color-text); background: var(--color-surface); border-top: 1px solid color-mix(in srgb, var(--color-text) 20%, transparent); box-shadow: 0 -6px 24px rgba(0, 0, 0, .12); }
.consent[hidden], .consent-reopen[hidden] { display: none; }
.consent-text { flex: 1 1 24rem; max-width: 46rem; margin: 0; font-size: .95rem; }
.consent-actions { display: flex; gap: .6rem; }
.consent-actions .btn { cursor: pointer; font: inherit; font-weight: 600; }
.consent-reopen-wrap { margin: .5rem 0 0; }
.consent-reopen { padding: 0; font: inherit; font-size: .875rem; color: var(--color-muted); background: none; border: 0; text-decoration: underline; cursor: pointer; }
.consent-reopen:hover { color: var(--color-primary); }
@media print { .consent, .consent-reopen-wrap { display: none; } }

/* pricing, testimonials, FAQ, tabs, video, map */
.cols-1 { grid-template-columns: minmax(0, 28rem); justify-content: center; }
.pricing, .testimonials { display: grid; gap: calc(var(--space) * 1.5); margin-top: var(--space); align-items: stretch; }
.pricing-intro { max-width: 40rem; }
.align-center .pricing-intro { margin-left: auto; margin-right: auto; }
.plan { position: relative; display: flex; flex-direction: column; gap: var(--space); padding: calc(var(--space) * 2); text-align: left; background: var(--color-surface); color: var(--color-text); border: 2px solid transparent; border-radius: var(--radius); }
.plan-featured { border-color: var(--color-primary); }
.plan h3 { margin: 0; }
.plan-badge { position: absolute; top: 0; left: calc(var(--space) * 2); transform: translateY(-50%); margin: 0; padding: .15em .8em; font-size: .8rem; font-weight: 700; background: var(--color-primary); color: var(--color-primary-text); border-radius: 999px; }
.plan-price { margin: 0; }
.plan-amount { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.plan-period { color: var(--color-muted); }
.plan-features { flex: 1; margin: 0; padding: 0; list-style: none; }
.plan-features li { padding: .35em 0 .35em 1.6em; position: relative; border-top: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent); }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }
.plan .btn { text-align: center; }

.testimonial { margin: 0; padding: calc(var(--space) * 2); text-align: left; background: var(--color-surface); color: var(--color-text); border-radius: var(--radius); display: flex; flex-direction: column; gap: var(--space); }
.testimonial blockquote { margin: 0; flex: 1; font-size: 1.05rem; }
.testimonial blockquote p { margin: 0; white-space: pre-line; }
.testimonial blockquote p::before { content: "\201C"; }
.testimonial blockquote p::after { content: "\201D"; }
.testimonial figcaption { display: flex; align-items: center; gap: .75em; }
.testimonial-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-role { display: block; color: var(--color-muted); font-size: .9rem; }

.faq { margin-top: var(--space); border-top: 1px solid color-mix(in srgb, var(--color-text) 20%, transparent); text-align: left; }
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-text) 20%, transparent); }
.faq-item summary { cursor: pointer; padding: .9em 2em .9em 0; font-weight: 600; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: .25em; top: .8em; font-size: 1.3em; line-height: 1; color: var(--color-primary); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.faq-answer { padding: 0 0 1em; }

.tabs { margin-top: var(--space); text-align: left; }
.tab-panel + .tab-panel { margin-top: var(--space); }
.tab-title { margin: 0 0 .4em; }
.js .tabs.is-tabbed .tab-title { display: none; }
.tablist { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid color-mix(in srgb, var(--color-text) 20%, transparent); margin-bottom: var(--space); }
.tab { cursor: pointer; font: inherit; font-weight: 600; padding: .6em 1.1em; color: var(--color-muted); background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tab:hover { color: var(--color-text); }
.tab[aria-selected="true"] { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.tab:focus-visible { outline: 2px solid var(--color-primary); outline-offset: -2px; }
.tab-panel:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 4px; }

.video, .map { margin: var(--space) 0 0; }
.video-frame { position: relative; width: 100%; background: #000; border-radius: var(--radius); overflow: hidden; }
.ratio-16-9 { aspect-ratio: 16 / 9; } .ratio-4-3 { aspect-ratio: 4 / 3; } .ratio-1-1 { aspect-ratio: 1 / 1; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame { display: block; width: 100%; border: 0; border-radius: var(--radius); }
.map-sm { height: 240px; } .map-md { height: 380px; } .map-lg { height: 540px; }
.video figcaption, .map figcaption { margin-top: .5em; color: var(--color-muted); font-size: .9rem; }
@media (max-width: 700px) { .cols-1 { grid-template-columns: 1fr; } }

/* layout: columns that hold other blocks */
.layout { display: grid; gap: calc(var(--space) * 2); }
.layout.gap-sm { gap: var(--space); } .layout.gap-lg { gap: calc(var(--space) * 4); }
.layout-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.layout-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.layout-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.layout-2.ratio-wide-left { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.layout-2.ratio-wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.layout-3.ratio-wide-left { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
.layout-3.ratio-wide-middle { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); }
.layout-3.ratio-wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); }
.layout.valign-top { align-items: start; } .layout.valign-center { align-items: center; }
.layout.valign-bottom { align-items: end; } .layout.valign-stretch { align-items: stretch; }
.layout-col { min-width: 0; }
/* a block inside a column fills the column: it has no page-width margins of its own */
.layout .nested > .block-inner { max-width: none; padding-left: 0; padding-right: 0; }
@media (max-width: 800px) {
  .layout { grid-template-columns: 1fr !important; }
  .layout.reverse-mobile { display: flex; flex-direction: column-reverse; }
}

/* Hero with the picture beside the text */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; overflow: visible; }
.hero-split .hero-content { max-width: none; }
.hero-split.hero-image-left .hero-pic { order: -1; }
.hero-pic { width: 100%; height: auto; max-height: 34rem; object-fit: cover; border-radius: 8px; display: block; }
@media (max-width: 800px) { .hero-split { grid-template-columns: 1fr; } .hero-split.hero-image-left .hero-pic { order: 0; } }

/* feature cards */
.features { display: grid; gap: calc(var(--space) * 1.5); margin-top: var(--space); align-items: stretch; }
.features-intro { max-width: 40rem; white-space: pre-line; }
.align-center .features-intro { margin-left: auto; margin-right: auto; }
.feature { display: flex; flex-direction: column; gap: .5em; text-align: left; }
.align-center .feature { text-align: center; align-items: center; }
.features-boxed .feature { padding: calc(var(--space) * 2); background: var(--color-surface); color: var(--color-text); border-radius: var(--radius); }
.feature h3 { margin: 0; }
.feature p { margin: 0; flex: 1; white-space: pre-line; }
.feature-icon { font-size: 2rem; line-height: 1; color: var(--color-primary); }
.feature-pic { width: 100%; height: 11rem; object-fit: cover; border-radius: calc(var(--radius) / 1.5); }
.feature-link { font-weight: 600; }
@media (max-width: 800px) { .features.cols-3, .features.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .features.cols-2, .features.cols-3, .features.cols-4 { grid-template-columns: 1fr; } }

/* team */
.team { display: grid; gap: calc(var(--space) * 2); margin-top: var(--space); align-items: start; }
.team-intro { max-width: 40rem; white-space: pre-line; }
.align-center .team-intro { margin-left: auto; margin-right: auto; }
.member { display: flex; flex-direction: column; gap: .35em; text-align: left; }
.align-center .member { text-align: center; align-items: center; }
.member h3, .member p { margin: 0; }
.member-photo { width: 100%; max-width: 14rem; aspect-ratio: 1; object-fit: cover; margin-bottom: .5em; border-radius: var(--radius); }
.team-round .member-photo { border-radius: 50%; }
.member-role { color: var(--color-muted); font-weight: 600; }
.member-bio { white-space: pre-line; }
.member-link { font-weight: 600; }
@media (max-width: 800px) { .team.cols-3, .team.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team.cols-2, .team.cols-3, .team.cols-4 { grid-template-columns: 1fr; } }

/* the sidebar the owner builds: a column of widgets beside <main>; the content comes first in the page, so phones
   (and screen readers) get it before the sidebar */
.with-sidebar { display: grid; gap: calc(var(--space) * 2); grid-template-columns: minmax(0, 1fr) var(--sidebar-w); grid-template-areas: "main side"; max-width: var(--content-width); margin: 0 auto; padding: 0 var(--space); }
.with-sidebar.sidebar-left { grid-template-columns: var(--sidebar-w) minmax(0, 1fr); grid-template-areas: "side main"; }
.with-sidebar.has-two { grid-template-columns: var(--sidebar-w) minmax(0, 1fr) var(--sidebar2-w); grid-template-areas: "side main side2"; }
.with-sidebar.has-two.sidebar-right { grid-template-columns: var(--sidebar2-w) minmax(0, 1fr) var(--sidebar-w); grid-template-areas: "side2 main side"; }
.sidebar2-narrow { --sidebar2-w: 14rem; } .sidebar2-wide { --sidebar2-w: 20rem; }
.site-sidebar2 { grid-area: side2; }
.sidebar-narrow { --sidebar-w: 14rem; }
.sidebar-wide { --sidebar-w: 20rem; }
.with-sidebar > main { grid-area: main; min-width: 0; }
.with-sidebar > main .block-inner { padding-left: var(--space); padding-right: var(--space); }
.site-sidebar { grid-area: side; display: grid; gap: calc(var(--space) * 1.5); align-content: start; padding: calc(var(--space) * 2) 0; min-width: 0; }
.sidebar-widget h2 { margin: 0 0 .5em; font-size: 1.05rem; }
.sidebar-widget h2 a { color: inherit; text-decoration: none; }
.sidebar-widget .prose > :first-child { margin-top: 0; }
.sidebar-widget .prose > :last-child { margin-bottom: 0; }
.sidebar-links { list-style: none; margin: 0; padding: 0; }
.sidebar-links li { border-bottom: 1px dotted color-mix(in srgb, var(--color-text) 25%, transparent); }
.sidebar-links a { display: block; padding: .45em 0; color: var(--color-text); text-decoration: none; }
.sidebar-links a:hover { color: var(--color-primary); }
.sidebar-links a[aria-current], .sidebar-widget h2 a[aria-current] { font-weight: 700; color: var(--color-primary); }
.sidebar-links.is-inline { display: flex; flex-wrap: wrap; gap: .4em var(--space); }
.sidebar-links.is-inline li { border: 0; }
.sidebar-figure, .footer-figure { margin: 0; }
.sidebar-figure img, .footer-figure img { display: block; width: 100%; max-width: 20rem; height: auto; border-radius: var(--radius); }
.sidebar-figure figcaption, .footer-figure figcaption { margin-top: .4rem; font-size: .9rem; color: var(--color-muted); }
.sidebar-search, .footer-search { display: flex; flex-wrap: wrap; gap: .4rem; }
.sidebar-search input[type=search], .footer-search input[type=search] { flex: 1 1 8rem; min-width: 0; padding: .5em .7em; font: inherit; color: var(--color-text); background: var(--color-bg); border: 1px solid color-mix(in srgb, var(--color-text) 30%, transparent); border-radius: var(--radius); }
.sidebar-search button, .footer-search button { cursor: pointer; font: inherit; font-weight: 600; }
.sidebar-logo { display: inline-block; text-decoration: none; color: var(--color-text); }
.sidebar-logo img { display: block; width: auto; max-width: 100%; }
.sidebar-logo-title { font-size: 1.25rem; font-weight: 700; }
.sidebar-newsletter .newsletter-form { margin: 0; }
@media (max-width: 800px) {
  .with-sidebar, .with-sidebar.sidebar-left, .with-sidebar.has-two, .with-sidebar.has-two.sidebar-right { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "side" "side2"; }
  .site-sidebar { padding-top: 0; }
}

/* the footer the owner builds: rows of columns of widgets */
.footer-row { display: grid; gap: calc(var(--space) * 2); margin-bottom: calc(var(--space) * 2); }
.footer-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.footer-cols-2.footer-ratio-wide-left { grid-template-columns: 2fr 1fr; }
.footer-cols-2.footer-ratio-wide-right { grid-template-columns: 1fr 2fr; }
.footer-cols-3.footer-ratio-wide-left { grid-template-columns: 2fr 1fr 1fr; }
.footer-cols-3.footer-ratio-wide-middle { grid-template-columns: 1fr 2fr 1fr; }
.footer-cols-3.footer-ratio-wide-right { grid-template-columns: 1fr 1fr 2fr; }
.footer-cols-4.footer-ratio-wide-left { grid-template-columns: 2fr 1fr 1fr 1fr; }
.footer-cols-4.footer-ratio-wide-right { grid-template-columns: 1fr 1fr 1fr 2fr; }
.footer-align-left { text-align: left; }
.footer-align-center { text-align: center; }
.footer-align-right { text-align: right; }
.footer-col { display: grid; gap: var(--space); align-content: start; min-width: 0; }
.footer-widget h2 { margin: 0 0 .5em; font-size: 1.05rem; color: var(--footer-fg, var(--color-text)); }
.footer-widget .prose > :first-child { margin-top: 0; }
.footer-widget .prose > :last-child { margin-bottom: 0; }
.site-footer.has-fg a { color: inherit; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .35em; }
.sidebar-links.has-divider li + li::before, .footer-links.has-divider li + li::before { content: "|"; margin-right: var(--space); opacity: .55; }
.footer-links.is-inline { display: flex; flex-wrap: wrap; gap: .4em var(--space); }
.footer-align-center .footer-links.is-inline { justify-content: center; }
.footer-align-right .footer-links.is-inline { justify-content: flex-end; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current] { text-decoration: underline; }
.site-footer:not(.has-fg) .footer-links a[aria-current] { color: var(--color-primary); }
.footer-logo { display: inline-block; text-decoration: none; color: var(--footer-fg, var(--color-text)); }
.footer-logo img { display: block; width: auto; max-width: min(100%, 20rem); object-fit: contain; object-position: left center; }
.sidebar-logo img.logo-sm { height: 32px; }
.sidebar-logo img.logo-md { height: 44px; }
.sidebar-logo img.logo-lg { height: 64px; }
.footer-logo-title { font-size: 1.25rem; font-weight: 700; }
.footer-tagline { margin: .5em 0 0; }
.footer-newsletter .newsletter-form { margin: 0; }
.footer-align-center .footer-newsletter .newsletter-form { margin: 0 auto; }
.footer-align-right .footer-newsletter .newsletter-form { margin-left: auto; }
.footer-bottom { margin: 0; }
.footer-row + .footer-bottom { padding-top: var(--space); border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
@media (max-width: 800px) { .footer-row.footer-cols-3, .footer-row.footer-cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-row.footer-cols-2, .footer-row.footer-cols-3, .footer-row.footer-cols-4 { grid-template-columns: 1fr; } }

/* logo, menu buttons, contact details */
.site-brand { display: inline-flex; align-items: center; gap: .6rem; }
.site-logo { display: block; width: auto; max-width: min(100%, 20rem); object-fit: contain; object-position: left center; }
/* the owner's "Logo size" (Appearance), for the header and footer logos; the general img rule would otherwise
   let a logo grow to its own size */
.site-logo.logo-sm, .footer-logo img.logo-sm { height: 32px; }
.site-logo.logo-md, .footer-logo img.logo-md { height: 44px; }
.site-logo.logo-lg, .footer-logo img.logo-lg { height: 64px; }
.menu-list a.btn, .menu-topbar a.btn, .menu-footer a.btn { padding: .4em 1em; color: var(--color-primary-text); background: var(--color-primary); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.menu-list a.btn:hover, .menu-topbar a.btn:hover, .menu-footer a.btn:hover { text-decoration: none; filter: brightness(1.1); }
.details { list-style: none; margin: 0; padding: 0; display: grid; gap: .6em; }
.details-label { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--color-muted); }
.details-lines { white-space: pre-line; }
.details-links a { margin-right: .75em; }
.footer-details .details { gap: .35em; }

/* top bar: items on the left and on the right; social icons; the search icon and its popup */
.menu-topbar-inner { flex-wrap: wrap; }
.menu-topbar-left:empty, .menu-topbar-right:empty { display: none; }
.menu-topbar-right { margin-left: auto; }
.menu-topbar li { display: flex; align-items: center; }
.social-icons { display: inline-flex; align-items: center; gap: .25rem; }
.social-link, .menu-search-btn { display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; padding: 0; color: var(--color-muted); background: none; border: 0; border-radius: var(--radius); text-decoration: none; cursor: pointer; }
.menu-topbar a.social-link, .menu-topbar a.menu-search-btn { color: var(--color-muted); text-decoration: none; }
.social-link:hover, .menu-search-btn:hover, .menu-topbar a.social-link:hover, .menu-topbar a.menu-search-btn:hover { color: var(--color-primary); text-decoration: none; background: color-mix(in srgb, var(--color-text) 8%, transparent); }
.social-link:focus-visible, .menu-search-btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.menu-item.menu-item-icon > .menu-search-btn { width: 2.2rem; height: 2.2rem; padding: 0; color: var(--color-text); }
.site-search { display: flex; align-items: center; }
.site-search .menu-search-btn { width: 2.2rem; height: 2.2rem; color: var(--color-text); }

.search-dialog { width: min(36rem, calc(100vw - 2rem)); margin: 12vh auto auto; padding: 1rem; color: var(--color-text); background: var(--color-bg); border: 0; border-radius: calc(var(--radius) * 2); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.search-dialog::backdrop { background: rgba(0, 0, 0, .5); }
.search-popup-form { display: flex; align-items: center; gap: .5rem; }
.search-popup-form input[type=search] { flex: 1 1 auto; min-width: 0; padding: .7em .9em; font: inherit; font-size: 1.05rem; color: var(--color-text); background: var(--color-bg); border: 1px solid color-mix(in srgb, var(--color-text) 30%, transparent); border-radius: var(--radius); }
.search-popup-form input[type=search]:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.search-popup-form .btn { cursor: pointer; font: inherit; font-weight: 600; }
.search-dialog-close { width: 2.2rem; height: 2.2rem; padding: 0; font-size: 1.5rem; line-height: 1; color: var(--color-muted); background: none; border: 0; border-radius: var(--radius); cursor: pointer; }
.search-dialog-close:hover { color: var(--color-text); }
@media (max-width: 800px) {
  .menu-topbar-inner { justify-content: space-between; }
  .menu-item.menu-item-icon > .menu-search-btn { width: 100%; justify-content: flex-start; padding: .5rem .8rem; }
}

/* the top bar's own colours and size (Menus → Top bar); without them it keeps the theme's look */
.menu-topbar { background: var(--bar-bg, var(--color-surface)); color: var(--bar-text, var(--color-muted)); }
.menu-topbar a, .menu-topbar a:hover, .menu-topbar a[aria-current], .menu-topbar a.social-link, .menu-topbar a.menu-search-btn,
.menu-topbar a.social-link:hover, .menu-topbar a.menu-search-btn:hover { color: var(--bar-text, var(--color-muted)); }
.menu-topbar a:hover { color: var(--bar-text, var(--color-text)); }
.menu-topbar a.btn { color: var(--color-primary-text); }
.menu-topbar.bar-sm { font-size: .75rem; }
.menu-topbar.bar-sm .menu-topbar-inner { padding-top: .15rem; padding-bottom: .15rem; }
.menu-topbar.bar-sm .social-link, .menu-topbar.bar-sm .menu-search-btn { width: 1.5rem; height: 1.5rem; }
.menu-topbar.bar-sm svg { width: 14px; height: 14px; }
.menu-topbar.bar-lg { font-size: 1.05rem; }
.menu-topbar.bar-lg .menu-topbar-inner { padding-top: .7rem; padding-bottom: .7rem; }
.menu-topbar.bar-lg .social-link, .menu-topbar.bar-lg .menu-search-btn { width: 2.4rem; height: 2.4rem; }
.menu-topbar.bar-lg svg { width: 22px; height: 22px; }

/* the dark mode switch: floating at the side of the page, or a link in the footer (Appearance → Dark mode) */
.color-float { position: fixed; right: 0; top: 50%; z-index: 80; transform: translateY(-50%); }
.color-float .color-toggle { width: 2.6rem; height: 2.6rem; background: var(--color-surface); border: 1px solid color-mix(in srgb, var(--color-text) 20%, transparent); border-right: 0; border-radius: 999px 0 0 999px; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.color-float .color-toggle:hover { background: var(--color-bg); }
.color-footer { margin: .6rem 0 0; }
.color-link { padding: 0; font: inherit; color: var(--color-muted); background: none; border: 0; text-decoration: underline; cursor: pointer; }
.color-link:hover { color: var(--color-text); }
.color-link:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
@media print { .color-float { display: none; } }

/* site-wide elements: notice bars, alerts, popups, contact button (shown by elements.js inside their time window) */
.el[hidden], .el-popup[hidden], .el-contact[hidden] { display: none; }
.el { position: relative; display: flex; align-items: center; justify-content: center; gap: .75rem; padding: .6rem 3rem .6rem 1rem; text-align: center; font-size: .95rem; }
.el-text { margin: 0; max-width: 60rem; }
.el a { color: inherit; font-weight: 700; text-decoration: underline; }
.el-bar.el-info { background: var(--color-primary); color: var(--color-primary-text); }
.el-bar.el-accent { background: var(--color-text); color: var(--color-bg); }
.el-bar.el-light { background: var(--color-surface); color: var(--color-text); border-bottom: 1px solid color-mix(in srgb, var(--color-text) 15%, transparent); }
.el-alert { position: sticky; top: 0; z-index: 150; background: #b3261e; color: #fff; font-weight: 600; }
.el-close { position: absolute; top: 50%; right: .5rem; transform: translateY(-50%); width: 2.25rem; height: 2.25rem; padding: 0; font: inherit; font-size: 1.5rem; line-height: 1; color: inherit; background: none; border: 0; border-radius: var(--radius); cursor: pointer; opacity: .85; }
.el-close:hover { opacity: 1; background: rgba(127, 127, 127, .25); }
.el-popup { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.el-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.el-dialog { position: relative; width: min(32rem, 100%); max-height: 90vh; overflow: auto; padding: 2rem 1.75rem 1.5rem; color: var(--color-text); background: var(--color-bg); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.el-dialog:focus { outline: none; }
.el-dialog h2 { margin-top: 0; }
.el-dialog .el-close { top: .75rem; right: .75rem; transform: none; }
.el-dialog .newsletter-form { display: flex; flex-wrap: wrap; gap: .5rem; }
.el-dialog .newsletter-form input[type="email"] { flex: 1 1 14rem; padding: .65rem .8rem; font: inherit; border: 1px solid color-mix(in srgb, var(--color-text) 30%, transparent); border-radius: var(--radius); background: var(--color-bg); color: var(--color-text); }
.el-dialog .newsletter-form button { cursor: pointer; font: inherit; font-weight: 600; }
.el-contact { position: fixed; bottom: 1rem; z-index: 140; padding: .8rem 1.25rem; font-weight: 700; color: var(--color-primary-text); background: var(--color-primary); border-radius: 999px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); text-decoration: none; }
.el-contact.el-side-right { right: 1rem; }
.el-contact.el-side-left { left: 1rem; }
.el-contact:hover { filter: brightness(1.08); }
html.el-popup-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { .el-dialog { animation: el-pop .18s ease-out; } @keyframes el-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } } }
@media print { .el, .el-popup, .el-contact { display: none; } }

/* block style options (Style tab): spacing, picture behind, border, text, visibility. Every one is a choice, never free CSS. */
.block-anchor { display: block; height: 0; scroll-margin-top: 5rem; }
.px-none > .block-inner, .layout .nested.px-none > .block-inner { padding-left: 0; padding-right: 0; }
.px-sm > .block-inner, .layout .nested.px-sm > .block-inner { padding-left: min(calc(var(--space) * 2), 4vw); padding-right: min(calc(var(--space) * 2), 4vw); }
.px-md > .block-inner, .layout .nested.px-md > .block-inner { padding-left: min(calc(var(--space) * 4), 8vw); padding-right: min(calc(var(--space) * 4), 8vw); }
.px-lg > .block-inner, .layout .nested.px-lg > .block-inner { padding-left: min(calc(var(--space) * 8), 14vw); padding-right: min(calc(var(--space) * 8), 14vw); }
.pt-none > .block-inner { padding-top: 0; }
.pt-sm > .block-inner { padding-top: var(--space); }
.pt-md > .block-inner { padding-top: calc(var(--space) * 3); }
.pt-lg > .block-inner { padding-top: calc(var(--space) * 6); }
.pb-none > .block-inner { padding-bottom: 0; }
.pb-sm > .block-inner { padding-bottom: var(--space); }
.pb-md > .block-inner { padding-bottom: calc(var(--space) * 3); }
.pb-lg > .block-inner { padding-bottom: calc(var(--space) * 6); }
.mt-sm { margin-top: var(--space); } .mt-md { margin-top: calc(var(--space) * 3); } .mt-lg { margin-top: calc(var(--space) * 6); }
.mb-sm { margin-bottom: var(--space); } .mb-md { margin-bottom: calc(var(--space) * 3); } .mb-lg { margin-bottom: calc(var(--space) * 6); }
.inset-sm { margin-left: min(calc(var(--space) * 2), 4vw); margin-right: min(calc(var(--space) * 2), 4vw); }
.inset-md { margin-left: min(calc(var(--space) * 4), 8vw); margin-right: min(calc(var(--space) * 4), 8vw); }
.inset-lg { margin-left: min(calc(var(--space) * 8), 14vw); margin-right: min(calc(var(--space) * 8), 14vw); }

.has-bgimg { position: relative; background-image: var(--bgimg); background-size: cover; background-position: center; background-repeat: no-repeat; }
.has-bgimg.bgmode-tile { background-size: auto; background-repeat: repeat; }
.has-bgimg.bgmode-fixed { background-attachment: fixed; }
.has-bgimg.bgpos-top { background-position: top; }
.has-bgimg.bgpos-bottom { background-position: bottom; }
.has-bgimg > .block-inner { position: relative; }
.has-bgimg[class*="overlay-"]::before { content: ""; position: absolute; inset: 0; background: var(--ov); pointer-events: none; }
.block.has-bgimg.overlay-dark-30 { --ov: rgba(0, 0, 0, .3); color: var(--fg, #fff); }
.block.has-bgimg.overlay-dark-50 { --ov: rgba(0, 0, 0, .5); color: var(--fg, #fff); }
.block.has-bgimg.overlay-dark-70 { --ov: rgba(0, 0, 0, .7); color: var(--fg, #fff); }
.block.has-bgimg.overlay-light-50 { --ov: rgba(255, 255, 255, .5); color: var(--fg, #111); }
.block.has-bgimg.overlay-light-80 { --ov: rgba(255, 255, 255, .8); color: var(--fg, #111); }
.overlay-dark-30 a:not(.btn), .overlay-dark-50 a:not(.btn), .overlay-dark-70 a:not(.btn), .overlay-light-50 a:not(.btn), .overlay-light-80 a:not(.btn) { color: inherit; }

.border-thin { border: 1px solid var(--bc, color-mix(in srgb, currentColor 25%, transparent)); }
.border-medium { border: 3px solid var(--bc, color-mix(in srgb, currentColor 25%, transparent)); }
.border-thick { border: 6px solid var(--bc, color-mix(in srgb, currentColor 25%, transparent)); }
.radius-sm { border-radius: 6px; overflow: hidden; } .radius-md { border-radius: 14px; overflow: hidden; } .radius-lg { border-radius: 28px; overflow: hidden; }
.shadow-sm { box-shadow: 0 1px 4px rgba(0, 0, 0, .12); } .shadow-md { box-shadow: 0 6px 18px rgba(0, 0, 0, .15); } .shadow-lg { box-shadow: 0 14px 40px rgba(0, 0, 0, .22); }

.hs-sm :is(h1, h2, h3, h4) { zoom: .85; } .hs-lg :is(h1, h2, h3, h4) { zoom: 1.25; } .hs-xl :is(h1, h2, h3, h4) { zoom: 1.5; }
.ts-sm { font-size: .9em; } .ts-lg { font-size: 1.15em; }
.hfont-sans :is(h1, h2, h3, h4) { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.hfont-humanist :is(h1, h2, h3, h4) { font-family: Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", sans-serif; }
.hfont-rounded :is(h1, h2, h3, h4) { font-family: ui-rounded, "Hiragino Maru Gothic ProN", Quicksand, Nunito, Calibri, sans-serif; }
.hfont-serif :is(h1, h2, h3, h4) { font-family: Georgia, "Times New Roman", serif; }
.hfont-classical :is(h1, h2, h3, h4) { font-family: Palatino, "Palatino Linotype", "Book Antiqua", "URW Palladio L", serif; }
.hfont-mono :is(h1, h2, h3, h4) { font-family: ui-monospace, Menlo, Consolas, monospace; }
.hfont-arial :is(h1, h2, h3, h4) { font-family: Arial, "Helvetica Neue", Helvetica, "Liberation Sans", sans-serif; }
.hfont-verdana :is(h1, h2, h3, h4) { font-family: Verdana, "DejaVu Sans", "Bitstream Vera Sans", sans-serif; }
.hfont-tahoma :is(h1, h2, h3, h4) { font-family: Tahoma, Verdana, "DejaVu Sans", sans-serif; }
.hfont-trebuchet :is(h1, h2, h3, h4) { font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", sans-serif; }
.hfont-times :is(h1, h2, h3, h4) { font-family: "Times New Roman", Times, "Liberation Serif", serif; }
.hfont-impact :is(h1, h2, h3, h4) { font-family: Impact, "Arial Black", Haettenschweiler, sans-serif; }

@media (max-width: 700px) { .hide-mobile { display: none !important; } }
@media (min-width: 701px) { .hide-desktop { display: none !important; } }

/* skip link: first thing a keyboard user reaches, only visible when it has focus */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; padding: .6rem 1rem; color: var(--color-text); background: var(--color-bg); border: 2px solid var(--color-primary); border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 8px; }
main:focus { outline: none; }

/* phones: the small links in the top bar, footer and cards get room to be pressed */
@media (max-width: 700px) {
  .menu-topbar-inner { column-gap: .5rem; row-gap: 0; padding-left: var(--space); padding-right: var(--space); }
  .menu-topbar ul { gap: .25rem; }
  .menu-topbar a, .menu-topbar a.social-link, .menu-topbar a.menu-search-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 40px; }
  .menu-topbar a:not(.social-link):not(.menu-search-btn):not(.btn) { padding: 0 .25rem; min-width: 0; }
  .menu-footer a, .site-footer li > a { display: inline-block; padding: .5rem 0; }
  .feature-link, .member a, .postcard a { display: inline-block; padding: .5rem 0; }
  .details-phone a, .details-email a, .details-whatsapp a, .details-links a, .details-social a { display: inline-block; padding: .55rem .15rem; }
  .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
}

.consent { display: flex; gap: .5em; align-items: flex-start; margin: .5em 0; font-size: .9em; }
.consent input { margin-top: .25em; }

/* ---- slideshow ---- */
.slideshow { position: relative; overflow: hidden; --ss-h: 360px; }
.ss-h-sm { --ss-h: 220px; } .ss-h-lg { --ss-h: 520px; }
.ss-slide { position: relative; margin: 0; }
.ss-img { display: block; width: 100%; height: var(--ss-h); object-fit: cover; }
.ss-h-auto .ss-img { height: auto; }
.ss-link { display: block; }
.ss-caption { color: #fff; padding: .6rem 1rem; }
.ss-heading { margin: 0 0 .2em; font-weight: 700; font-size: 1.3em; }
.ss-text { margin: 0 0 .5em; white-space: pre-line; }
.ss-caption .btn { margin-top: .3em; }
.ss-cap-bar .ss-caption { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, .6); }
.ss-cap-overlay .ss-caption { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: rgba(0, 0, 0, .3); text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.ss-cap-overlay .ss-heading { font-size: clamp(1.5rem, 4vw, 2.6rem); }
.ss-cap-below .ss-caption { color: inherit; background: none; padding-inline: 0; }
/* no JavaScript: the slides one under another */
.slideshow:not(.is-live) .ss-slide + .ss-slide { margin-top: var(--space); }
/* with it: one at a time (fading) or in a row that moves (sliding) */
.slideshow.is-live .ss-track { display: flex; transition: transform .6s ease; }
.slideshow.is-live .ss-slide { flex: 0 0 calc(100% / var(--per, 1)); min-width: 0; }
.slideshow.is-live.ss-fade .ss-track { display: grid; transition: none; transform: none !important; }
.slideshow.is-live.ss-fade .ss-slide { grid-area: 1 / 1; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.slideshow.is-live.ss-fade .ss-slide.is-on { opacity: 1; pointer-events: auto; z-index: 1; }
.ss-arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .5); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s; }
.ss-prev { left: .6rem; } .ss-next { right: .6rem; }
.slideshow:hover .ss-arrow, .ss-arrow:focus-visible { opacity: 1; }
@media (hover: none) { .ss-arrow { opacity: 1; } }
.ss-dots { position: absolute; left: 0; right: 0; bottom: .5rem; z-index: 2; display: flex; justify-content: center; gap: .45rem; }
.ss-cap-bar .ss-dots { bottom: auto; top: .6rem; }
.ss-dot { width: .8rem; height: .8rem; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; box-shadow: 0 0 3px rgba(0, 0, 0, .6); }
.ss-dot[aria-current="true"] { background: #fff; }
.ss-arrow:focus-visible, .ss-dot:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
@media (max-width: 700px) { .slideshow { --ss-h: 240px; } .ss-h-lg { --ss-h: 320px; } .slideshow.is-live { --per: 1 !important; } }
@media (prefers-reduced-motion: reduce) { .slideshow.is-live .ss-track, .slideshow.is-live.ss-fade .ss-slide { transition: none; } }

/* ---- page title band and content card (their colours, sizes and picture come from Appearance, see site.css) ---- */
.page-band { position: relative; display: flex; align-items: center; background-color: var(--color-surface); }
.page-band-inner { position: relative; width: 100%; max-width: var(--content-width); margin: 0 auto; padding: var(--space) calc(var(--space) * 2); box-sizing: border-box; }
.page-band-title { margin: 0; font-size: clamp(1.5rem, 5vw, 2.4rem); color: inherit; }
.page-band-sub { margin: .3em 0 0; font-size: 1.1rem; opacity: .85; }

/* ---- what the rich text editor can add: wrapped pictures, tables, bullets, columns ---- */
.prose { display: flow-root; }
.prose img.img-left { float: left; margin: .2em 1.2em .6em 0; max-width: 45%; }
.prose img.img-right { float: right; margin: .2em 0 .6em 1.2em; max-width: 45%; }
.prose img.img-center { display: block; margin: 1em auto; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.prose th, .prose td { border: 1px solid color-mix(in srgb, currentColor 22%, transparent); padding: .45em .7em; text-align: left; vertical-align: top; }
.prose th { background: color-mix(in srgb, currentColor 8%, transparent); }
.prose ul.list-square { list-style: square; }
.prose ul.list-none, .prose ol.list-none { list-style: none; padding-left: 0; }
.prose ul.list-check, .prose ul.list-arrow { list-style: none; padding-left: 1.5em; }
.prose ul.list-check > li, .prose ul.list-arrow > li { position: relative; }
.prose ul.list-check > li::before, .prose ul.list-arrow > li::before { position: absolute; left: -1.5em; color: var(--color-primary); font-weight: 700; }
.prose ul.list-check > li::before { content: "\2713"; }
.prose ul.list-arrow > li::before { content: "\203A"; }
.prose ul.list-cols-2, .prose ol.list-cols-2 { columns: 2; column-gap: 2rem; }
.prose ul.list-cols-3, .prose ol.list-cols-3 { columns: 3; column-gap: 2rem; }
.prose .list-cols-2 > li, .prose .list-cols-3 > li { break-inside: avoid; }
@media (max-width: 700px) {
  .prose img.img-left, .prose img.img-right { float: none; display: block; max-width: 100%; margin: 1em auto; }
  .prose ul.list-cols-2, .prose ol.list-cols-2, .prose ul.list-cols-3, .prose ol.list-cols-3 { columns: 1; }
  .prose table { display: block; overflow-x: auto; }
}

/* ---- downloads ---- */
.downloads { list-style: none; margin: 0; padding: 0; }
.download { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .8em; padding: .55em 0; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
.download-link { font-weight: 600; }
.download-meta { font-size: .8em; opacity: .7; white-space: nowrap; }
.download-note { flex-basis: 100%; font-size: .9em; opacity: .85; }

.form-callout { margin: 0 0 1em; padding: .7em 1em; border-left: 4px solid var(--color-primary); background: color-mix(in srgb, var(--color-primary) 10%, transparent); }

/* ---- breadcrumbs ---- */
.breadcrumbs { font-size: .9rem; color: var(--color-muted); }
.breadcrumbs-inner { list-style: none; display: flex; flex-wrap: wrap; gap: .1em .5em; max-width: var(--content-width); margin: 0 auto; padding: .55rem calc(var(--space) * 2); box-sizing: border-box; }
.breadcrumbs li + li::before { content: "\00bb"; margin-right: .5em; opacity: .6; }
.breadcrumbs-label + li::before { content: none; }
.breadcrumbs a { color: inherit; }
.breadcrumbs [aria-current] { font-weight: 600; }

/* ---- extras in the header (Appearance → Header): a picture that links, a call to phone, a box, words ---- */
.header-slots { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--space); margin-left: auto; padding: var(--space) calc(var(--space) * 2); box-sizing: border-box; }
.site-header > .header-slots { max-width: var(--content-width); margin: 0 auto; }
.header-brand-center + .header-slots { justify-content: center; margin: 0 auto; }
.hslot-image img { display: block; max-width: min(240px, 100%); height: auto; }
.hslot-box { padding: .6rem 1rem; text-align: center; background: var(--color-primary); color: var(--color-primary-text); }
.hslot-call { text-align: center; }
.hslot-heading { margin: 0; font-size: .85em; text-transform: uppercase; letter-spacing: .04em; opacity: .9; }
.hslot-big { display: block; font-size: 1.6em; font-weight: 700; line-height: 1.2; color: inherit; text-decoration: none; }
a.hslot-big:hover { text-decoration: underline; }
.hslot-text { margin: .25em 0 0; font-size: .9em; white-space: pre-line; }
@media (max-width: 700px) { .header-slots { justify-content: center; margin: 0 auto; padding: var(--space); } }

/* alert, divider and reviews blocks */
.alert { --alert: #2563eb; position: relative; display: flex; gap: .75em; align-items: flex-start; padding: var(--space) calc(var(--space) * 1.25); text-align: left; color: var(--color-text); background: color-mix(in srgb, var(--alert) 12%, var(--color-bg)); border: 1px solid color-mix(in srgb, var(--alert) 40%, var(--color-bg)); border-left: 5px solid var(--alert); border-radius: var(--radius); }
.alert[hidden] { display: none; }
.alert-success { --alert: #15803d; } .alert-warning { --alert: #b45309; } .alert-important { --alert: #b91c1c; }
.alert.has-icon::before { content: "i"; flex: none; display: grid; place-items: center; width: 1.6em; height: 1.6em; margin-top: .05em; border-radius: 50%; background: var(--alert); color: #fff; font: italic 700 .95rem Georgia, serif; }
.alert-success.has-icon::before { content: "\2713"; font-style: normal; }
.alert-warning.has-icon::before, .alert-important.has-icon::before { content: "!"; font-style: normal; font-family: inherit; }
.alert-body { flex: 1; min-width: 0; }
.alert-title { margin: 0 0 .25em; font-weight: 700; }
.alert-text > :first-child { margin-top: 0; } .alert-text > :last-child { margin-bottom: 0; }
.alert-action { margin: .75em 0 0; }
.alert-close { flex: none; align-self: flex-start; margin: -.2em -.4em 0 0; padding: 0 .35em; font: inherit; font-size: 1.5rem; line-height: 1.2; color: inherit; background: none; border: 0; border-radius: var(--radius); opacity: .7; cursor: pointer; }
.alert-close:hover { opacity: 1; }
.alert-close[hidden] { display: none; }

.divider { --d-color: var(--color-muted); --d-w: 40%; --d-t: 2px; --d-s: solid; display: block; width: var(--d-w); height: 0; margin: 0 auto; border: 0; border-top: var(--d-t) var(--d-s) var(--d-color); }
.divider-tone-text { --d-color: var(--color-text); } .divider-tone-primary { --d-color: var(--color-primary); }
.divider-width-short { --d-w: 4rem; } .divider-width-medium { --d-w: 40%; } .divider-width-full { --d-w: 100%; }
.divider-thickness-thin { --d-t: 1px; } .divider-thickness-medium { --d-t: 2px; } .divider-thickness-thick { --d-t: 4px; }
.divider-dashed { --d-s: dashed; } .divider-dotted { --d-s: dotted; } .divider-double { --d-s: double; --d-t: 4px; }
.divider-ornament { height: auto; border: 0; text-align: center; color: var(--d-color); line-height: 1; }
.divider-ornament::before { content: "\2022\00a0\00a0\2022\00a0\00a0\2022"; font-size: 1.4rem; letter-spacing: .2em; }
.divider-labelled { display: flex; align-items: center; gap: 1em; height: auto; border: 0; color: var(--color-muted); }
.divider-labelled::before, .divider-labelled::after { content: ""; flex: 1; border-top: var(--d-t) var(--d-s) var(--d-color); }

.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: .15em .6em; margin: .25em 0 0; color: var(--color-muted); }
.reviews-summary strong { color: var(--color-text); }
.reviews-list { display: grid; gap: calc(var(--space) * 1.5); margin-top: var(--space); align-items: stretch; }
.review { display: flex; flex-direction: column; gap: .6em; margin: 0; padding: calc(var(--space) * 1.5); text-align: left; color: var(--color-text); background: var(--color-surface); border-radius: var(--radius); }
.stars { display: inline-flex; gap: .05em; font-size: 1.15rem; line-height: 1; }
.star { color: color-mix(in srgb, var(--color-muted) 45%, transparent); }
.star.on { color: #f59e0b; }
.review-text { flex: 1; margin: 0; } .review-text p { margin: 0; white-space: pre-line; }
.review-meta { display: flex; flex-wrap: wrap; gap: .15em .75em; color: var(--color-muted); font-size: .9rem; }
.review-meta strong { color: var(--color-text); }
