/* Layout engine for pages rebuilt from the original Wix site.
   Desktop: 980px stage centred in the window (like Wix). Mobile (<=750px):
   320px stage, which vp.js scales to the phone's width. */
:root { --stage: 980px; --vw: 100vw; }
*, *::before, *::after { box-sizing: border-box; }
/* Copied Wix content keeps the browser's own box model: the capture only wrote down box-sizing
   where Wix differed from the browser default, so border-box here shrank padded boxes (and cut
   off what they hold). The copy's own widgets below keep border-box. */
.kb-el *, .kb-el *::before, .kb-el *::after { box-sizing: revert; }
.kb-el :is(.kb-play, .kb-gal, .kb-gal *, .kb-vwrap, .kb-video, .kb-embed, .kb-embed-ph, .kb-v, .kb-anchor-target),
.kb-el .kb-gal-btn::before { box-sizing: border-box; }
/* set by site.js on one-line labels while the page is shrunk to fit the window */
.kb-el .kb-loose { overflow: visible !important; }
html, body { margin: 0; padding: 0; }
body { min-width: var(--stage); font-family: Arial, Helvetica, sans-serif; font-size: 10px; color: #000; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { max-width: none; }
/* Captured styles assume links look like their surroundings unless styled */
.kb-el a { color: inherit; text-decoration: none; }
/* captured buttons/fields only carry a border when the original had one */
.kb-el button, .kb-el input, .kb-el select, .kb-el textarea, .kb-el fieldset { border-style: none; }
.kb-video-frame { box-sizing: content-box; }
.kb-video-frame .kb-vwrap { position: relative; }
.kb-vwrap { position: relative; width: 100%; height: 100%; }
/* like the original's video cover: the poster dimmed 25% with an outlined play icon in the middle */
.kb-el .kb-play, .kb-play { display: none; position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; background: rgba(0, 0, 0, .25); cursor: pointer; padding: 0; }
.kb-play svg { position: absolute; left: 50%; top: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; overflow: visible; }
.kb-play:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.kb-js .kb-vwrap:not(.kb-playing) .kb-play { display: block; }
/* slideshow element */
.kb-gal { position: relative; width: 100%; height: 100%; overflow: hidden; }
.kb-gal-track { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
.kb-gal-track::-webkit-scrollbar { display: none; }
.kb-gal-slide { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; }
.kb-gal-slide a { display: block; width: 100%; height: 100%; }
.kb-gal-slide img { display: block; width: 100%; height: 100%; }
.kb-el .kb-gal-btn { position: absolute; top: 50%; width: 36px; height: 56px; margin-top: -28px; border: 0; background: none; cursor: pointer; opacity: .85; filter: drop-shadow(0 0 3px rgba(0, 0, 0, .8)); }
.kb-gal-btn::before { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; border: solid #fff; border-width: 3px 3px 0 0; }
.kb-gal-prev { left: 4px; }
.kb-gal-next { right: 4px; }
.kb-gal-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.kb-gal-next::before { transform: translate(-70%, -50%) rotate(45deg); }
.kb-el .kb-gal-btn:hover, .kb-el .kb-gal-btn:focus-visible { opacity: 1; }
.kb-gal-count { position: absolute; right: 10px; bottom: 8px; color: #fff; font: 13px/1 Arial, sans-serif; text-shadow: 0 0 3px #000; pointer-events: none; }
/* scroll strips inside copied Wix galleries: hide the scrollbar like the original */
.kb-el [style*="overflow-x:scroll"] { scrollbar-width: none; }
.kb-el [style*="overflow-x:scroll"]::-webkit-scrollbar { display: none; }
/* headings, bold and italic tags only differ from their parent when the capture says so */
.kb-el :is(h1, h2, h3, h4, h5, h6, b, strong, th) { font-weight: inherit; }
.kb-el :is(h1, h2, h3, h4, h5, h6, small, big, sub, sup) { font-size: inherit; }
.kb-el :is(em, i, cite, var, dfn, address) { font-style: inherit; }

.kb-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; color: #000; padding: 8px 12px; font-size: 14px; }
.kb-skip:focus { left: 8px; top: 8px; }

.kb-sitebg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
body { position: relative; }
.kb-sitebg.kb-sitebg-scroll { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
/* the page is always at least as tall as the window, so a background that scrolls with the page
   still reaches the bottom when the page is short (as on Wix); not in the editor's canvas */
body:not(.kb-editing) { min-height: 100vh; min-height: 100dvh; }
.kb-sitebg-inner { position: absolute; inset: 0; }
.kb-site { position: relative; overflow-x: clip; }

.kb-area { position: relative; height: var(--hd); }
.kb-area-bg { position: absolute; inset: 0; overflow: hidden; }
.kb-area-bg > * { width: 100% !important; }
.kb-header { z-index: 30; }
.kb-page { z-index: 10; }
.kb-footer { z-index: 20; }
.kb-fixed-d { position: sticky; top: var(--kb-top-hz, var(--kb-top-h, 0px)); }
.kb-stage { position: relative; width: var(--stage); height: 100%; margin: 0 auto; }

.kb-el { position: absolute; left: var(--dx); top: var(--dy); width: var(--dw); height: var(--dh); transform: rotate(var(--dr, 0deg)); }
.kb-el.kb-full-d { left: min(0px, calc((var(--stage) - var(--vw)) / 2)); width: max(var(--stage), var(--vw)); }
/* stretched/docked like the original: grows or moves with the window (measured at 1280 and 1920px) */
.kb-el.kb-sx { left: calc(var(--dx) + (max(var(--vw), var(--stage)) - 1280px) * var(--dkx, 0)); width: calc(var(--dw) + (max(var(--vw), var(--stage)) - 1280px) * var(--dkw, 0)); }
/* docked: follows the page until it reaches its 1920px spot in the window, then stays put there
   (the original's 404 page holds still from a 1360px window up; the 1920px spot is dx + 640 * dkx) */
.kb-el.kb-sx.kb-dock { left: min(var(--dx), calc(var(--dx) + 640px * var(--dkx, 0) - (max(var(--vw), var(--stage)) - 1920px) / 2)); }
.kb-hide-d { display: none; }
.kb-v.kb-vm, .kb-vm { display: none; }
.kb-v { width: 100%; height: 100%; }
.kb-t-text { overflow-wrap: break-word; }
.kb-t-anchor { pointer-events: none; height: 0 !important; }
.kb-anchor-target { position: absolute; top: 0; }
.kb-video, .kb-embed { display: block; width: 100%; height: 100%; border: 0; background: #000; object-fit: cover; }
.kb-embed { background: transparent; }
/* frame around a player, drawn outside its box like the original's (inset is set per player) */
.kb-el .kb-embed-border { position: absolute; box-sizing: border-box; overflow: hidden; }
.kb-t-search { cursor: pointer; }

.kb-preview-banner { position: sticky; top: 0; z-index: 9999; background: #ffd400; color: #000; font: 600 14px/1.2 system-ui, sans-serif; text-align: center; padding: 8px; }

/* announcement bar: stays at the top of the window while scrolling, above the header */
html { scroll-padding-top: var(--kb-top-h, 0px); }
.kb-top { position: sticky; top: 0; z-index: 900; }
.kb-top .kb-preview-banner { position: static; }
.kb-bar { position: relative; background: var(--kb-bar-0); color: var(--kb-bar-1); padding: 10px 28px 10px 20px; animation: kb-bar-in .4s ease-out; }
.kb-bar[hidden] { display: none; }
.kb-bars[data-after-scroll] { display: none; } /* until the first scroll, like the original */
.kb-bar-in { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 28px; }
.kb-bar-msg { flex: 1; margin: 0; text-align: center; font: 700 18px/1.35 "open sans condensed", "Arial Narrow", Arial, sans-serif; overflow-wrap: anywhere; }
.kb-bar-btn { flex: none; background: var(--kb-bar-2); color: var(--kb-bar-3); font: 16px/18px Arial, Helvetica, sans-serif; padding: 5px 12px; border-radius: 1px; text-decoration: none; white-space: nowrap; transition: opacity .2s; }
.kb-bar-btn:hover { opacity: .8; }
.kb-bar-btn:focus-visible, .kb-bar-x:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.kb-bar-x { position: absolute; top: 1px; right: 1px; width: 26px; height: 26px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; display: grid; place-items: center; }
.kb-bar-x svg { width: 15px; height: 15px; }
@keyframes kb-bar-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .kb-bar { animation: none; } }
@media (max-width: 750px) {
  .kb-bar-in { gap: 9px; }
  .kb-bar-msg { font-size: 12px; }
  .kb-bar-btn { font-size: 12px; line-height: 14px; }
}

@media (max-width: 750px) {
  :root { --stage: 320px; }
  body { min-width: 0; }
  .kb-area { height: var(--hm); }
  .kb-fixed-m { position: sticky; top: var(--kb-top-hz, var(--kb-top-h, 0px)); }
  .kb-fixed-d:not(.kb-fixed-m) { position: relative; }
  .kb-el { left: var(--mx); top: var(--my); width: var(--mw); height: var(--mh); transform: rotate(var(--mr, 0deg)); }
  .kb-el.kb-full-d, .kb-el.kb-sx, .kb-el.kb-sx.kb-dock { left: var(--mx); width: var(--mw); }
  .kb-el.kb-full-m { left: min(0px, calc((var(--stage) - var(--vw)) / 2)); width: max(var(--stage), var(--vw)); }
  .kb-hide-d { display: block; }
  .kb-hide-m { display: none !important; }
  .kb-v.kb-vd, .kb-vd { display: none; }
  .kb-v.kb-vm, .kb-vm { display: block; }
  .kb-play svg { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
}

/* Site search */
.kb-search-dlg { position: fixed; inset: 0; z-index: 10000; background: rgba(0, 0, 0, .7); display: flex; align-items: flex-start; justify-content: center; padding: 8vh 16px; font: 16px/1.4 system-ui, sans-serif; }
.kb-search-box { background: #fff; color: #111; width: min(640px, 100%); border-radius: 10px; padding: 16px; max-height: 80vh; overflow: auto; }
.kb-search-box input { width: 100%; font-size: 18px; padding: 10px 12px; border: 1px solid #bbb; border-radius: 6px; }
.kb-search-box ul { list-style: none; margin: 12px 0 0; padding: 0; }
.kb-search-box li a { display: block; padding: 10px 6px; border-bottom: 1px solid #eee; text-decoration: none; color: #222; }
.kb-search-box li a:hover, .kb-search-box li a:focus { background: #f2f2f7; }
.kb-search-box small { color: #666; display: block; }
.kb-search-close { float: right; border: 0; background: none; font-size: 22px; cursor: pointer; }

/* ---- events calendar (own list; sizes measured from the calendar app on the original) ---- */
.kb-events { --ev-bg: #000; --ev-fg: #fff; --ev-line: #fff; --ev-menu: #1c1c1c; --ev-hover: #333; --ev-btn-bg: #fff; --ev-btn-fg: #000;
  box-sizing: border-box; display: flex; flex-direction: column; width: 100%; height: 100%;
  padding-bottom: 45px; /* the original keeps this much free space under its box */
  color: var(--ev-fg); font: 14px/21px 'Open Sans', Arial, sans-serif; text-align: left; }
.kb-events.kb-ev-light { --ev-bg: #fff; --ev-fg: #1d1d1d; --ev-line: #d4d4d4; --ev-menu: #fff; --ev-hover: #eee; --ev-btn-bg: #1d1d1d; --ev-btn-fg: #fff; }
.kb-events *, .kb-events *::before { box-sizing: border-box; }
.kb-events button { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; }
.kb-events svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.kb-ev-box { display: flex; flex-direction: column; flex: 0 1 auto; min-height: 0; border: 1px solid var(--ev-line); background: var(--ev-bg); }
/* header: title, Today, month arrows, list-view sign */
.kb-ev-head { flex: none; display: flex; flex-direction: column; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--ev-line); }
.kb-events .kb-ev-heading { margin: 0; font-size: 16px; font-weight: 500; line-height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-ev-bar { display: flex; align-items: center; min-height: 27.33px; }
.kb-ev-today { display: inline-flex; align-items: center; margin: -2px !important; padding: 5px !important; border-radius: 6px; opacity: .5; }
.kb-ev-todaynum { width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 5px; font-size: 11px; line-height: 16px; text-align: center; }
.kb-ev-todaylabel { margin-left: 9.6px; font-size: 16px; font-weight: 500; line-height: 16px; text-transform: uppercase; }
.kb-ev-nav { display: flex; margin-left: 10px; }
.kb-ev-nav button { width: 24px; height: 24px; opacity: .6; }
.kb-ev-nav svg { width: 24px; height: 24px; stroke-width: 1.5; }
.kb-ev-today:hover, .kb-ev-nav button:hover { opacity: 1; }
.kb-ev-today:focus-visible, .kb-ev-nav button:focus-visible { opacity: 1; outline: 2px solid #4da3ff; outline-offset: 1px; }
.kb-ev-view { display: flex; align-items: center; height: 24px; margin: 3.33px 0 0 auto; padding: 4px 8px; }
.kb-ev-view svg:first-child { width: 16px; height: 16px; }
.kb-ev-view svg + svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }
/* the list */
.kb-ev-list { flex: 0 1 auto; min-height: 0; overflow-y: auto; padding: 12px 16px; scrollbar-width: thin; }
.kb-ev-fit .kb-ev-list { overflow-y: hidden; } /* the page script has fitted the box to the list */
.kb-ev { display: flex; align-items: flex-start; gap: 20px; margin: 0 0 18px; }
.kb-ev-badge { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 50px; height: 62.5px; margin-top: 4px; border-radius: 3px; box-shadow: 0 0 1px #fff; color: #fff; }
.kb-ev-badge::before { content: ''; position: absolute; inset: 0; border-radius: 3px; background: var(--ev); opacity: .8; }
.kb-ev-day { position: relative; font-size: 25px; font-weight: 500; line-height: 25px; }
.kb-ev-mon { position: relative; font-size: 12.5px; line-height: 12.5px; text-transform: uppercase; }
.kb-ev-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--ev-line); }
.kb-ev-list > .kb-ev:last-child .kb-ev-body { padding-bottom: 0; border-bottom: 0; } /* the footer's line takes over */
.kb-events .kb-ev-title { margin: 0; font-size: 16px; font-weight: 600; line-height: 24px; }
.kb-ev-title a { color: inherit; text-decoration: none; }
.kb-ev-title a:hover, .kb-ev-title a:focus-visible { text-decoration: underline; }
.kb-ev-meta { list-style: none; margin: 0; padding: 0; opacity: .7; line-height: 23.8px; }
.kb-ev-meta li { display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 8px; overflow-wrap: anywhere; }
.kb-ev-meta li > svg { flex: none; width: 16px; height: 16px; margin-top: 3.9px; }
.kb-ev-meta li > :not(svg) { flex: 1 1 0; min-width: 0; }
.kb-ev-meta a { color: inherit; text-decoration: underline; }
.kb-ev-meta .kb-ev-local:not([hidden]) { flex-basis: 100%; padding-left: 24px; font-size: 12px; line-height: 18px; }
.kb-events details > summary { list-style: none; cursor: pointer; user-select: none; }
.kb-events details > summary::-webkit-details-marker { display: none; }
.kb-ev-more > summary { display: flex; align-items: center; gap: 8px; width: max-content; line-height: 21px; }
.kb-ev-more > summary svg { width: 16px; height: 16px; }
.kb-ev-more[open] > summary svg { transform: rotate(180deg); }
.kb-ev-more .kb-ev-hide, .kb-ev-more[open] .kb-ev-show { display: none; }
.kb-ev-more[open] .kb-ev-hide { display: inline; }
.kb-ev-more img { display: block; width: 100%; height: auto; margin-top: 10px; border-radius: 7px; background: rgba(0, 0, 0, .03); }
.kb-ev-desc { margin-top: 5px; }
.kb-ev-desc p { margin: 0 0 21px; }
.kb-ev-desc p:last-child { margin: 0; }
.kb-ev-more > summary:focus-visible, .kb-ev-menuwrap > summary:focus-visible, .kb-ev-menu a:focus-visible { outline: 2px solid #4da3ff; outline-offset: 2px; }
.kb-ev-btns { display: flex; margin-top: 5px; }
.kb-ev-menuwrap { position: relative; display: inline-block; }
.kb-ev-save > summary { display: inline-flex; align-items: center; gap: 8px; padding: 4px 16px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--ev-fg);
  font-size: 12px; line-height: 18px; white-space: nowrap; }
.kb-ev-save > summary svg { width: 14px; height: 14px; }
.kb-ev-save > summary:hover, .kb-ev-save[open] > summary { background: var(--ev-hover); }
.kb-ev-menu { position: absolute; z-index: 5; left: 0; top: calc(100% + 4px); min-width: 230px; padding: 6px 0; background: var(--ev-menu); border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .5); }
.kb-ev-menu a { display: block; padding: 8px 16px; color: var(--ev-fg); font-size: 13px; line-height: 18px; text-decoration: none; white-space: nowrap; }
.kb-ev-menu a:hover { background: var(--ev-hover); }
.kb-ev-empty { margin: 0; padding: 30px 0; opacity: .7; text-align: center; }
.kb-ev-past { display: none; }
/* footer: Subscribe */
.kb-ev-foot { flex: none; display: flex; justify-content: center; padding: 12px 16px; border-top: 1px solid var(--ev-line); }
.kb-ev-sub > summary { padding: 4px 16px; border-radius: 6px; background: var(--ev-btn-bg); color: var(--ev-btn-fg); font-size: 14px; line-height: 21px; }
.kb-ev-sub > summary:hover, .kb-ev-sub[open] > summary { opacity: .85; }
.kb-ev-sub .kb-ev-menu { top: auto; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); }
@media (max-width: 750px) {
  .kb-ev { gap: 17px; }
  .kb-ev-badge { width: 40px; height: 50px; }
  .kb-ev-day { font-size: 20px; line-height: 20px; }
  .kb-ev-mon { font-size: 10px; line-height: 10px; }
  .kb-ev-bar { min-height: 31.33px; }
  .kb-ev-view { height: 28px; }
  .kb-ev-view svg:first-child { width: 20px; height: 20px; }
  .kb-ev-menu { min-width: 200px; }
}
