/*
 * Hand-written part of the stylesheet. site.css (generated) carries the layout system and the design tokens;
 * this file adapts WordPress core blocks to it and styles everything the theme renders itself.
 */

html { scroll-behavior: smooth; }
body { font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow-x: hidden; }
.screen-reader-text, .sb-screen-only, .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.sb-skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #fff; color: var(--sb-color-secondary); }
:focus-visible { outline: 2px solid var(--sb-color-accent); outline-offset: 2px; }

/* ---------- core blocks inside imported layouts ---------- */
.sb-doc .wp-block-group { box-sizing: border-box; }
.sb-doc p.sb-bare { margin: 0; }
.sb-doc .sb-heading-title { margin: 0; padding: 0; }

/* buttons: core/buttons wrappers are transparent, the link is the button */
.sb-widget-button .wp-block-buttons, .sb-widget-button .wp-block-button { display: contents; }
.sb-doc .wp-block-button__link, .sb-form .wp-block-button__link { text-decoration: none; cursor: pointer; border-width: medium; height: auto; }
.sb-doc .wp-block-buttons .wp-block-button__link { width: auto; } /* core stretches the link; here the wrapper is display:contents, so that would fill the column */
.sb-doc .sb-align-justify .wp-block-buttons .wp-block-button__link { width: 100%; }
@media (max-width: 767px) {
	.sb-doc .sb-mobile-align-center .wp-block-buttons .wp-block-button__link { width: auto; }
	.sb-doc .sb-mobile-align-justify .wp-block-buttons .wp-block-button__link { width: 100%; }
}
.sb-doc .wp-block-button__link:hover, .sb-doc .wp-block-button__link:focus { text-decoration: none; }
.sb-doc .sb-btn-ico > .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.sb-doc .sb-btn-ico > .wp-block-button__link::before { content: ""; flex: 0 0 auto; width: 1em; height: 1em; background-color: currentColor; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

/* divider */
.sb-doc .sb-divider { display: flex; line-height: 0; }
.sb-doc hr.sb-divider-separator { box-sizing: border-box; height: 0; margin: 0; border: 0; border-block-start: var(--divider-border-width, 1px) var(--divider-border-style, solid) var(--divider-color, #0c0d0e); opacity: 1; background: none; max-width: 100%; }
.sb-doc .sb-widget-divider { --divider-border-style: none; --divider-border-width: 1px; --divider-color: #0c0d0e; }

/* images */
.sb-doc .sb-widget-image { text-align: center; }
.sb-doc .sb-widget-image .wp-block-image { margin: 0; }
.sb-doc .sb-widget-image img { display: inline-block; vertical-align: middle; height: auto; max-width: 100%; }

/* price tables */
.sb-doc .sb-table-wrap { margin: 0; overflow-x: visible; /* the old tables spill over a narrow card the same way; phones get a scroller from site.css */ }
.sb-doc .sb-table-wrap table { width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; }
.sb-doc .sb-table-wrap thead { border-bottom: 0; }
.sb-doc .sb-table-wrap td, .sb-doc .sb-table-wrap th { word-break: normal; }
.sb-doc .sb-table-headonly tbody { display: none; }

/* lists with icons */
.sb-doc ul.sb-icon-list-items { list-style: none; margin: 0; padding: 0; }
.sb-doc ul.sb-icon-list-items > li { position: relative; display: flex; align-items: var(--icon-vertical-align, center); gap: 5px; }
.sb-doc ul.sb-icon-list-items[class*="sb-ico-"] > li::before { content: ""; flex: 0 0 auto; width: var(--e-icon-list-icon-size, 14px); height: var(--e-icon-list-icon-size, 14px); background-color: #000; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

/* icon box */
.sb-doc .sb-icon-box-description { margin: 0; }

/* stars */
.sb-stars { margin: 0; color: #f0ad4e; letter-spacing: 2px; font-size: 20px; line-height: 1; }

/* FAQ accordion: core/details */
.sb-doc .sb-acc { width: 100%; }
.sb-doc .sb-acc-item { display: flex; flex-direction: column; position: relative; margin: 0; }
.sb-doc .sb-acc-item:not(:last-child) { margin-block-end: var(--n-accordion-item-title-space-between); }
.sb-doc .sb-acc-item > summary { display: flex; flex-direction: row; align-items: center; justify-content: var(--n-accordion-title-justify-content); gap: var(--n-accordion-icon-gap); padding: var(--n-accordion-padding); border: var(--n-accordion-border-width) var(--n-accordion-border-style) var(--n-accordion-border-color); border-radius: var(--n-accordion-border-radius); color: var(--n-accordion-title-normal-color); font-size: var(--n-accordion-title-font-size); cursor: pointer; list-style: none; }
.sb-doc .sb-acc-item > summary::-webkit-details-marker { display: none; }
.sb-doc .sb-acc-item > summary::after { content: ""; flex: 0 0 auto; order: var(--n-accordion-title-icon-order); width: calc(var(--n-accordion-icon-size) * .875); height: var(--n-accordion-icon-size); background-color: var(--n-accordion-icon-normal-color); -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M313.941 216H12c-6.627 0-12 5.373-12 12v56c0 6.627 5.373 12 12 12h301.941v46.059c0 21.382 25.851 32.09 40.971 16.971l86.059-86.059c9.373-9.373 9.373-24.569 0-33.941l-86.059-86.059c-15.119-15.119-40.971-4.411-40.971 16.971V216z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M313.941 216H12c-6.627 0-12 5.373-12 12v56c0 6.627 5.373 12 12 12h301.941v46.059c0 21.382 25.851 32.09 40.971 16.971l86.059-86.059c9.373-9.373 9.373-24.569 0-33.941l-86.059-86.059c-15.119-15.119-40.971-4.411-40.971 16.971V216z'/%3E%3C/svg%3E"); }
.sb-doc .sb-acc-item[open] > summary { color: var(--n-accordion-title-active-color); margin-block-end: var(--n-accordion-item-title-distance-from-content); }
.sb-doc .sb-acc-item[open] > summary::after { width: calc(var(--n-accordion-icon-size) * .5); background-color: var(--n-accordion-icon-active-color); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'%3E%3Cpath d='M168 345.941V44c0-6.627-5.373-12-12-12h-56c-6.627 0-12 5.373-12 12v301.941H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.569 9.373 33.941 0l86.059-86.059c15.119-15.119 4.411-40.971-16.971-40.971H168z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'%3E%3Cpath d='M168 345.941V44c0-6.627-5.373-12-12-12h-56c-6.627 0-12 5.373-12 12v301.941H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.569 9.373 33.941 0l86.059-86.059c15.119-15.119 4.411-40.971-16.971-40.971H168z'/%3E%3C/svg%3E"); } /* the open state uses its own, narrower arrow – it changes where the title wraps */
.sb-doc .sb-acc-item > summary:has(.sb-acc-icon)::after { content: none; }
.sb-doc .sb-acc-icon { display: flex; flex: 0 0 auto; order: var(--n-accordion-title-icon-order); }
.sb-doc .sb-acc-icon svg { display: block; width: auto; height: var(--n-accordion-icon-size); fill: var(--n-accordion-icon-normal-color); }
.sb-doc .sb-acc-item[open] > summary .sb-acc-closed, .sb-doc .sb-acc-item:not([open]) > summary .sb-acc-opened { display: none; }
.sb-doc .sb-acc-item[open] > summary .sb-acc-icon svg { fill: var(--n-accordion-icon-active-color); }
.sb-doc .sb-acc-item:not([open]):hover > summary .sb-acc-icon svg { fill: var(--n-accordion-icon-hover-color); }
.sb-doc .sb-acc-item:not([open]):hover > summary::after { background-color: var(--n-accordion-icon-hover-color); }
.sb-doc .sb-acc-item:not([open]):hover > summary { color: var(--n-accordion-title-hover-color); }
.sb-doc .sb-acc-item:not([open]) > :not(summary) { display: none; }
.sb-doc .sb-acc-item > .sb-con { border: var(--n-accordion-border-width) var(--n-accordion-border-style) var(--n-accordion-border-color); }

/* tabs (progressive enhancement: without JS panels are simply stacked with their titles) */
.sb-doc .sb-tabs { display: flex; flex-direction: column; gap: var(--n-tabs-gap, 10px); width: 100%; }
.sb-doc .sb-tabs.is-enhanced > .sb-tabs-heading { order: 0; display: flex; flex-wrap: wrap; justify-content: var(--n-tabs-heading-justify-content, center); gap: var(--n-tabs-title-gap, 10px); }
.sb-doc .sb-tabs.is-enhanced > .sb-tabs-content { order: 1; }
.sb-doc .sb-tabs-heading > .sb-tab-title { padding: var(--n-tabs-title-padding-top, 15px) var(--n-tabs-title-padding-right, 35px) var(--n-tabs-title-padding-bottom, 15px) var(--n-tabs-title-padding-left, 35px); border: 0; background: var(--n-tabs-title-background-color, #f1f2f3); color: var(--n-tabs-title-color, var(--sb-color-text)); font-size: var(--n-tabs-title-font-size, 1rem); white-space: normal; cursor: pointer; transition: background .3s, color .3s; }
.sb-widget-n-tabs .sb-tab-title { border-radius: var(--n-tabs-title-border-radius); } /* kept this weak on purpose: the site-wide button:hover/:focus rounding wins over it, as on the old site */
.sb-doc .sb-tabs-heading > .sb-tab-title[aria-selected="true"], .sb-doc .sb-tabs-heading > .sb-tab-title:hover { background: var(--n-tabs-title-background-color-active, var(--sb-color-primary)); color: var(--n-tabs-title-color-active, #fff); }
.sb-doc .sb-tab > h3.sb-tab-title { margin: 0 0 16px; }
@media (max-width: 767px) {
	/* phones: each tab button sits right above its own panel, like an accordion */
	.sb-doc .sb-n-tabs-mobile .sb-tabs.is-enhanced { gap: 0; }
	.sb-doc .sb-n-tabs-mobile .sb-tabs.is-enhanced > .sb-tabs-heading, .sb-doc .sb-n-tabs-mobile .sb-tabs.is-enhanced > .sb-tabs-content { display: contents; }
	.sb-doc .sb-n-tabs-mobile .sb-tabs-heading > .sb-tab-title:not(:first-child) { margin-block-start: var(--n-tabs-title-gap, 10px); }
	.sb-doc .sb-n-tabs-mobile .sb-tabs-heading > .sb-tab-title[aria-selected="true"] { margin-block-end: var(--n-tabs-gap, 10px); }
}

/* gallery */
.sb-doc .sb-gallery { gap: 10px; }
.sb-doc .sb-gallery.has-nested-images figure.wp-block-image { flex-grow: 0; } /* a short last row keeps the column width */

/* embeds */
.sb-custom-embed { line-height: 0; }
.sb-custom-embed iframe { width: 100%; border: 0; }

/* ---------- entrance animations ---------- */
.sb-anim { opacity: 0; }
.sb-anim.is-in { opacity: 1; animation-duration: 1.25s; animation-fill-mode: both; }
.sb-anim.sb-animated-slow.is-in { animation-duration: 2s; }
.sb-anim.sb-animated-fast.is-in { animation-duration: .75s; }
.sb-anim-fadeIn.is-in { animation-name: sbFadeIn; }
.sb-anim-fadeInUp.is-in { animation-name: sbFadeInUp; }
.sb-anim-fadeInDown.is-in { animation-name: sbFadeInDown; }
.sb-anim-fadeInRight.is-in { animation-name: sbFadeInRight; }
.sb-anim-fadeInLeft.is-in { animation-name: sbFadeInLeft; }
@keyframes sbFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sbFadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes sbFadeInDown { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
@keyframes sbFadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes sbFadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sb-anim { opacity: 1; animation: none !important; } html { scroll-behavior: auto; } }
.no-js .sb-anim { opacity: 1; }

/* ---------- header ---------- */
/* only the menu row follows the page, the announcement bar scrolls away: the header itself must not box its rows in */
.sb-location-header { display: contents; }
.sb-sticky-top { position: sticky; top: 0; z-index: 99; }
.admin-bar .sb-sticky-top { top: 32px; }
@media (max-width: 782px) { .admin-bar .sb-sticky-top { top: 46px; } }

.sb-nav-menu, .sb-nav-menu ul, .sb-eael-simple-menu, .sb-eael-simple-menu ul { list-style: none; margin: 0; padding: 0; }
.sb-nav-menu--main .sb-nav-menu { display: flex; flex-wrap: wrap; }
.sb-nav-menu li { position: relative; }
.sb-nav-menu a { display: flex; align-items: center; text-decoration: none; }
.sb-nav-menu .sub-arrow svg { width: 1em; height: 1em; fill: currentColor; }
.sb-nav-menu .sub-menu .sub-arrow svg { transform: rotate(-90deg); }
.sb-nav-menu--main .sb-nav-menu .sub-menu { position: absolute; top: 100%; left: 0; z-index: 100; min-width: 12em; width: max-content; max-width: 22em; display: none; }
.sb-nav-menu--main .sb-nav-menu .sub-menu .sub-menu { top: 0; left: 100%; }
.sb-nav-menu--main .sb-nav-menu li:hover > .sub-menu,
.sb-nav-menu--main .sb-nav-menu li:focus-within > .sub-menu,
.sb-nav-menu--main .sb-nav-menu li.is-open > .sub-menu { display: block; }

/* vertical menus */
.sb-eael-simple-menu li { position: relative; }
.sb-eael-simple-menu li > a { display: block; text-decoration: none; }
.sb-eael-simple-menu .sub-menu { display: none; }
.sb-eael-simple-menu .sub-arrow { display: none; }
.sb-eael-simple-menu li.is-open > .sub-menu { display: block !important; } /* the bundled menu css hides sub-menus with a longer selector */
.sb-eael-simple-menu .sb-eael-simple-menu-indicator { position: absolute; top: 0; right: 0; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; cursor: pointer; }
.sb-eael-simple-menu .sb-eael-simple-menu-indicator svg { display: block; width: 15px; height: 15px; pointer-events: none; }
.sb-eael-simple-menu li ul li .sb-eael-simple-menu-indicator svg { width: 12px; height: 12px; }
.sb-eael-simple-menu .sb-eael-simple-menu-indicator:hover, .sb-eael-simple-menu .sb-eael-simple-menu-indicator:focus { background: none; color: inherit; }

/* marquee line */
.qodef-qi-text-marquee { overflow: hidden; white-space: nowrap; }
.qodef-qi-text-marquee .qodef-m-content { display: flex; width: max-content; animation: sbMarquee 40s linear infinite; }
.qodef-qi-text-marquee .qodef-m-text { display: flex; align-items: center; flex: 0 0 auto; }
.qodef-qi-text-marquee:hover .qodef-m-content { animation-play-state: paused; }
@keyframes sbMarquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .qodef-qi-text-marquee .qodef-m-content { animation: none; } }

/* ---------- popups ---------- */
.sb-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, .8); overflow-y: auto; }
.sb-popup[hidden] { display: none; }
.sb-popup .dialog-widget-content { position: relative; max-width: 100%; max-height: 100%; background: #fff; animation: sbFadeIn .3s both; }
.sb-popup .dialog-widget-content:focus { outline: none; }
.sb-popup .dialog-message { display: flex; width: 640px; max-width: 100vw; max-height: 100vh; padding: 0; overflow: auto; box-sizing: border-box; }
.sb-popup .dialog-message > * { width: 100%; }
.sb-popup .dialog-close-button { position: absolute; top: 20px; right: 20px; z-index: 9999; display: flex; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; font-size: 15px; line-height: 1; cursor: pointer; }
.sb-popup .dialog-close-button svg { width: 1em; height: 1em; fill: #1f2124; pointer-events: none; }
html.sb-popup-open { overflow: hidden; }
#sb-popup-52 { padding: 0; } /* the menu is a full-height panel, not a centred card */
#sb-popup-52 .dialog-close-button { color: var(--sb-color-caf8eff, #fff); }

/* ---------- carousel ---------- */
.sb-carousel { position: relative; width: 100%; }
.sb-carousel-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 12px 4px 20px; }
.sb-carousel-track::-webkit-scrollbar { display: none; }
.sb-carousel-slide { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; }
@media (max-width: 1024px) { .sb-carousel-slide { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 767px) { .sb-carousel-slide { flex-basis: 100%; } }
.sb-carousel-btn { position: absolute; top: 50%; z-index: 2; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--sb-color-primary); box-shadow: 0 1px 6px rgba(0, 0, 0, .15); transform: translateY(-50%); cursor: pointer; }
.sb-carousel-btn::before { content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.sb-carousel-prev { left: -10px; } .sb-carousel-prev::before { transform: translate(-30%, -50%) rotate(135deg); }
.sb-carousel-next { right: -10px; } .sb-carousel-next::before { transform: translate(-70%, -50%) rotate(-45deg); }
.sb-carousel-btn:hover, .sb-carousel-btn:focus { background: #fff; color: var(--sb-color-secondary); }

/* ---------- contact form ---------- */
.sb-form .sb-hp { position: absolute; left: -9999px; }
.sb-form-fields-wrapper { display: flex; flex-wrap: wrap; margin: 0 -5px -10px; }
.sb-form .sb-field-group { box-sizing: border-box; width: 100%; padding: 0 5px; margin-bottom: 10px; }
.sb-form .sb-field-group.sb-col-50 { width: 50%; }
@media (max-width: 767px) { .sb-form .sb-field-group.sb-col-50 { width: 100%; } }
.sb-form .sb-field-textual { width: 100%; box-sizing: border-box; }
.sb-form .sb-form__buttons .wp-block-button__link { width: auto; }
.sb-button-align-stretch .sb-form .sb-form__buttons .wp-block-button__link { flex-basis: 100%; }
.sb-form .sb-field-textual::placeholder { color: inherit; font-family: inherit; opacity: .6; }
.sb-message-danger { color: #b32d2e; }

/* ---------- pages without an imported layout, blog post body ---------- */
.sb-plain { max-width: 900px; margin: 0 auto; padding: 60px 5%; }
.sb-plain-title { margin: 0 0 24px; font-weight: 700; font-size: clamp(32px, 4vw, 48px); line-height: 1.2; }
.sb-widget-theme-post-content img { height: auto; max-width: 100%; }
.sb-widget-theme-post-content .wp-block-image { margin: 0 0 1em; }
.sb-widget-theme-post-featured-image img { display: block; width: 100%; height: auto; }
.sb-loop-item > a { text-decoration: none; }

/* ---------- blog pagination (not on the old site: it showed six posts and hid the rest) ---------- */
.sb-pagination { margin-top: 40px; }
.sb-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sb-pagination .page-numbers { display: inline-block; min-width: 40px; padding: 8px 12px; border-radius: 6px; background: var(--sb-color-caf8eff, #fff); color: var(--sb-color-text); font-weight: 500; font-size: 15px; line-height: 24px; text-align: center; text-decoration: none; }
.sb-pagination a.page-numbers:hover, .sb-pagination a.page-numbers:focus { background: var(--sb-color-primary); color: #fff; }
.sb-pagination .page-numbers.current { background: var(--sb-color-accent); color: #fff; }

/* blog posts are stored as plain HTML, so WordPress does not load its own image-block stylesheet for them */
.sb-widget-theme-post-content .wp-block-image img { max-width: 100%; height: auto; vertical-align: bottom; box-sizing: border-box; }

/* ---------- scroll effects (main.js adds the container/layer and drives them) ---------- */
.sb-motion-effects-element, .sb-motion-effects-layer { transition-property: transform, opacity; transition-timing-function: cubic-bezier(0, .33, .07, 1.03); transition-duration: 1s; }
.sb-motion-effects-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.sb-motion-effects-layer { position: absolute; top: 0; left: 0; background-repeat: no-repeat; background-size: cover; }
[class*="sb-fx-fadein-"] { opacity: 0; }
