/* The site's apps (booking, forms, blog lists, video library, TikTok, music, shop, pop-up,
   cookie banner, viewer) and entrance animations. Styled to sit with the events calendar:
   black panels with white lines on the dark pages, or white panels (theme "light"). */
.kb-app, .kb-bk, .kb-form, .kb-bl, .kb-vl, .kb-tt, .kb-sp, .kb-pn, .kb-ls, .kb-lock, .kb-gate, .kb-pg,
.kb-popup, .kb-cookie, .kb-lb, .kb-cart, .kb-cart-btn, .kb-app-ph {
  --a-bg: #000; --a-fg: #fff; --a-soft: rgba(255, 255, 255, .72); --a-line: rgba(255, 255, 255, .85); --a-faint: rgba(255, 255, 255, .16);
  --a-btn: #fff; --a-btn-fg: #000; --a-accent: #00e5ff; --a-bad: #ff8a8a; --a-ok: #7dffb0;
  font: 16px/1.5 "Open Sans", Arial, Helvetica, sans-serif; color: var(--a-fg);
}
.kb-theme-light, .kb-popup.kb-theme-light {
  --a-bg: #fff; --a-fg: #1d1d1d; --a-soft: #555; --a-line: #d4d4d4; --a-faint: #eee; --a-btn: #1d1d1d; --a-btn-fg: #fff; --a-accent: #00707f; --a-bad: #b3261e; --a-ok: #146c2e;
}
.kb-el :is(.kb-app, .kb-bk, .kb-form, .kb-bl, .kb-vl, .kb-tt, .kb-sp, .kb-pn, .kb-ls, .kb-lock, .kb-gate, .kb-pg, .kb-app-ph),
.kb-el :is(.kb-app, .kb-bk, .kb-form, .kb-bl, .kb-vl, .kb-tt, .kb-sp, .kb-pn, .kb-ls, .kb-lock, .kb-gate, .kb-pg) *,
.kb-popup, .kb-popup *, .kb-cookie, .kb-cookie *, .kb-lb, .kb-lb *, .kb-cart, .kb-cart * { box-sizing: border-box; }
.kb-el :is(.kb-app, .kb-bk, .kb-form, .kb-bl, .kb-vl, .kb-tt, .kb-sp, .kb-lock) :is(h1, h2, h3, h4, b, strong) { font-weight: 700; }
.kb-el :is(.kb-bk, .kb-form, .kb-vl, .kb-tt, .kb-sp, .kb-lock) a { color: var(--a-accent); text-decoration: underline; }
.kb-el :is(.kb-bk, .kb-form, .kb-lock, .kb-sp) :is(input, select, textarea, button) { border-style: solid; }

/* panels that take the height of what they show (site.js moves the page below them) */
.kb-autoh-in { display: block; width: 100%; }
.kb-bk, .kb-form, .kb-tt, .kb-sp, .kb-lock, .kb-app { background: var(--a-bg); border: 1px solid var(--a-line); padding: 24px; }
.kb-el .kb-app-h, .kb-app-h { margin: 0 0 16px; font: 700 26px/1.2 "open sans condensed", "Arial Narrow", Arial, sans-serif; letter-spacing: .02em; }
.kb-app-empty, .kb-app-ph { color: var(--a-soft); font-style: italic; }
.kb-app-ph { display: grid; place-items: center; min-height: 100%; padding: 16px; text-align: center; background: repeating-linear-gradient(45deg, rgba(0, 0, 0, .55) 0 12px, rgba(30, 30, 30, .55) 12px 24px); border: 1px dashed var(--a-line); }
.kb-autoh-in > .kb-app-ph { min-height: 160px; }

/* buttons, links, messages */
.kb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 22px; margin: 4px 8px 4px 0;
  background: var(--a-btn); color: var(--a-btn-fg) !important; border: 1px solid var(--a-btn) !important; border-radius: 0; font: 600 16px/1.2 "Open Sans", Arial, sans-serif;
  text-decoration: none !important; cursor: pointer; transition: background .2s, color .2s; }
.kb-btn:hover { background: transparent; color: var(--a-btn) !important; }
.kb-btn:disabled { opacity: .55; cursor: progress; }
.kb-btn-ghost { background: transparent; color: var(--a-fg) !important; border-color: var(--a-line) !important; }
.kb-btn-ghost:hover { background: var(--a-faint); color: var(--a-fg) !important; }
.kb-link { background: none; border: 0 !important; padding: 0; color: var(--a-accent); font: inherit; text-decoration: underline; cursor: pointer; }
:is(.kb-btn, .kb-link, .kb-bk-day, .kb-bk-time, .kb-bk-person, .kb-bk-mon, .kb-bl-link, .kb-vl-link, .kb-tt-v, .kb-pn a, .kb-ls a, .kb-sp-link, .kb-cart-btn, .kb-popup-x, .kb-lb button, .kb-cart button):focus-visible,
.kb-form :is(input, select, textarea):focus-visible, .kb-lock input:focus-visible, [data-lightbox] img[role="button"]:focus-visible { outline: 3px solid var(--a-accent, #00e5ff); outline-offset: 2px; }
.kb-bad { color: var(--a-bad); }
.kb-ok { color: var(--a-ok); }
.kb-f-msg, .kb-lock-msg { min-height: 1.5em; margin: 8px 0 0; }
.kb-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* forms */
.kb-f-row { display: block; margin: 0 0 14px; }
.kb-f-label { display: block; margin-bottom: 4px; font-weight: 600; }
.kb-f-label b { color: var(--a-accent); }
.kb-form :is(input, select, textarea), .kb-lock input { width: 100%; min-height: 44px; padding: 10px 12px; background: transparent; color: var(--a-fg);
  border: 1px solid var(--a-line) !important; border-radius: 0; font: 16px/1.4 "Open Sans", Arial, sans-serif; }
.kb-form select option { color: #000; }
.kb-form textarea { resize: vertical; min-height: 110px; }
.kb-f-check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; cursor: pointer; }
.kb-f-check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--a-accent); }
.kb-f-check .kb-f-label { display: inline; font-weight: 400; }

/* booking */
.kb-bk-intro { margin: 0 0 18px; padding: 10px 14px; border: 1px solid var(--a-faint); color: var(--a-soft); }
.kb-bk-intro summary, .kb-bk-more summary { cursor: pointer; color: var(--a-fg); font-weight: 600; }
.kb-bk-intro p { margin: 4px 0; }
.kb-bk-intro[open] summary { margin-bottom: 8px; }
.kb-bk-cats { display: flex; flex-direction: column; gap: 10px; }
.kb-bk-cat { border: 1px solid var(--a-line); }
.kb-bk-cat > summary { display: flex; align-items: center; gap: 14px; padding: 10px 44px 10px 10px; cursor: pointer; list-style: none; position: relative; }
.kb-bk-cat > summary::-webkit-details-marker { display: none; }
.kb-bk-cat > summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border: solid var(--a-fg); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.kb-bk-cat[open] > summary::after { transform: rotate(225deg); margin-top: -2px; }
.kb-bk-cat > summary:hover { background: var(--a-faint); }
.kb-bk-cat > summary:focus-visible { outline: 3px solid var(--a-accent); outline-offset: 2px; }
.kb-bk-cat > summary img, .kb-bk-cat-ph { flex: none; width: 72px; height: 72px; object-fit: cover; background: var(--a-faint); }
.kb-bk-cat-t b { display: block; font-size: 18px; line-height: 1.3; }
.kb-bk-cat-t small { color: var(--a-soft); }
.kb-bk-cat .kb-bk-list { padding: 0 14px; border-top: 1px solid var(--a-faint); }
.kb-bk-list, .kb-bk-staff, .kb-bk-times ul, .kb-bl, .kb-vl-grid, .kb-tt-grid, .kb-sp-grid, .kb-cart-list { list-style: none; margin: 0; padding: 0; }
.kb-bk-svc { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--a-faint); }
.kb-bk-svc:last-child { border-bottom: 0; }
.kb-bk-img { flex: none; width: 110px; aspect-ratio: 1; overflow: hidden; }
.kb-bk-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kb-bk-svc-t { flex: 1; min-width: 0; }
.kb-el .kb-bk-svc h3 { margin: 0 0 2px; font-size: 18px; line-height: 1.3; }
.kb-bk-meta { margin: 0 0 6px; color: var(--a-accent); font-weight: 600; }
.kb-bk-more { margin: 0 0 8px; font-size: 14px; }
.kb-bk-more p { margin: 6px 0 0; color: var(--a-soft); }
.kb-bk-steps { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 16px; font-size: 14px; }
.kb-bk-steps ol { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--a-soft); flex-wrap: wrap; }
.kb-bk-steps li + li::before { content: "›"; margin-right: 6px; }
.kb-bk-steps li[aria-current] { color: var(--a-fg); font-weight: 700; }
.kb-bk-sum { margin: 0 0 16px; padding: 12px 16px; border-left: 3px solid var(--a-accent); background: var(--a-faint); }
.kb-bk-sum p { margin: 0 0 2px; }
.kb-bk-sum-name { font-weight: 700; font-size: 18px; }
.kb-el .kb-bk h3 { margin: 0 0 12px; font-size: 20px; }
.kb-bk-person { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 8px; padding: 10px 12px; text-align: left; background: transparent; color: var(--a-fg);
  border: 1px solid var(--a-line) !important; font: inherit; cursor: pointer; }
.kb-bk-person:hover { background: var(--a-faint); }
.kb-bk-person small { display: block; color: var(--a-soft); font-size: 13px; }
.kb-bk-av { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--a-faint); font-size: 20px; }
.kb-bk-zone, .kb-bk-note { margin: 0 0 12px; color: var(--a-soft); font-size: 14px; }
.kb-bk-pick { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 24px; align-items: start; }
.kb-bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.kb-el .kb-bk-cal-head h4, .kb-el .kb-bk-times h4 { margin: 0; font-size: 17px; }
.kb-bk-times h4 { margin-bottom: 10px; }
.kb-bk-mon { width: 44px; height: 44px; background: transparent; color: var(--a-fg); border: 1px solid var(--a-line) !important; font-size: 22px; cursor: pointer; }
.kb-bk-mon:disabled { opacity: .3; cursor: default; }
.kb-bk-week, .kb-bk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.kb-bk-week { color: var(--a-soft); font-size: 13px; margin-bottom: 4px; }
.kb-bk-day { display: grid; place-items: center; aspect-ratio: 1; min-height: 40px; font: 15px/1 "Open Sans", Arial, sans-serif; }
button.kb-bk-day { background: transparent; color: var(--a-fg); border: 1px solid var(--a-line) !important; cursor: pointer; font-weight: 700; }
button.kb-bk-day:hover { background: var(--a-faint); }
button.kb-bk-day.kb-on { background: var(--a-btn); color: var(--a-btn-fg); }
.kb-bk-day.kb-off { color: var(--a-soft); opacity: .45; }
.kb-bk-times ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.kb-bk-time { width: 100%; min-height: 44px; padding: 8px; background: transparent; color: var(--a-fg); border: 1px solid var(--a-line) !important; font: 600 15px/1.2 "Open Sans", Arial, sans-serif; cursor: pointer; }
.kb-bk-time:hover { background: var(--a-btn); color: var(--a-btn-fg); }
.kb-bk-time small { display: block; font-weight: 400; font-size: 12px; opacity: .8; }
.kb-bk-wait { color: var(--a-soft); }
.kb-el .kb-bk-done h3 { font-size: 24px; }
.kb-bk-cal-links { margin: 16px 0; }
.kb-bk-cal-links p { margin: 0 0 6px; font-weight: 600; }
.kb-bk-cal-links .kb-btn { min-height: 38px; padding: 6px 12px; font-size: 14px; }
.kb-bk-badge { display: inline-block; margin-bottom: 6px !important; padding: 2px 10px; border: 1px solid currentColor; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.kb-st-confirmed { color: var(--a-ok); }
.kb-st-pending { color: var(--a-accent); }
.kb-st-cancelled { color: var(--a-bad); }
.kb-bk-actions { margin-top: 12px; }

/* blog post list, previous / next, category header */
.kb-bl { display: grid; gap: 20px; }
.kb-bl-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.kb-bl > .kb-app-h, .kb-bl > .kb-app-empty { grid-column: 1 / -1; }
.kb-bl-item { display: flex; flex-direction: column; background: var(--a-bg); border: 1px solid var(--a-line); }
.kb-bl-link { display: flex; flex-direction: column; flex: 1; color: inherit !important; text-decoration: none !important; }
.kb-bl-list .kb-bl-link { flex-direction: row; }
.kb-bl-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.kb-bl-list .kb-bl-img { flex: none; width: 34%; aspect-ratio: auto; }
.kb-bl-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.kb-bl-link:hover .kb-bl-img img { transform: scale(1.04); }
.kb-bl-text { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; }
.kb-bl-text time { color: var(--a-soft); font-size: 13px; }
.kb-bl-title { font: 700 19px/1.3 "Open Sans", Arial, sans-serif; }
.kb-bl-link:hover .kb-bl-title { text-decoration: underline; }
.kb-bl-ex { color: var(--a-soft); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kb-bl-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 14px; }
.kb-bl-tags a { padding: 2px 8px; border: 1px solid var(--a-line); color: var(--a-fg) !important; font-size: 12px; text-decoration: none !important; }
.kb-bl-tags a:hover { background: var(--a-faint); }
.kb-pn { display: flex; justify-content: space-between; gap: 16px; height: 100%; align-items: stretch; }
.kb-pn > * { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 10px 16px; min-width: 0; }
.kb-pn a { background: var(--a-bg); border: 1px solid var(--a-line); color: var(--a-fg) !important; text-decoration: none !important; }
.kb-pn a:hover { background: var(--a-faint); }
.kb-pn-next { text-align: right; }
.kb-pn small { color: var(--a-soft); font-size: 13px; }
.kb-pn span span, .kb-pn a span { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-cathead { position: relative; height: 100%; display: flex; align-items: flex-end; padding: 28px; color: #fff; background: #000 var(--kb-cat-img, none) center / cover no-repeat; border: 1px solid #fff; font: 16px/1.5 "Open Sans", Arial, sans-serif; }
.kb-cathead-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 20%, rgba(0, 0, 0, .8)); }
.kb-cathead-in { position: relative; }
.kb-cathead h1 { margin: 0 0 6px; font: 700 40px/1.1 "open sans condensed", "Arial Narrow", Arial, sans-serif !important; }
.kb-cathead p { margin: 0 0 4px; }
.kb-cathead-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: #00e5ff; }
.kb-cathead-n { color: rgba(255, 255, 255, .75); font-size: 14px; }

/* language switch */
.kb-ls { display: flex; align-items: center; justify-content: center; gap: 4px; height: 100%; font-size: 14px; }
.kb-ls-opt { padding: 4px 10px; border: 1px solid transparent; color: var(--a-fg) !important; text-decoration: none !important; }
.kb-ls-cur { border-color: var(--a-line); font-weight: 700; }
.kb-ls a:hover { text-decoration: underline !important; }

/* video library, TikTok profile */
.kb-vl-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 18px; }
.kb-vl-link, .kb-tt-v { display: block; color: var(--a-fg) !important; text-decoration: none !important; }
.kb-vl-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.kb-vl-thumb img, .kb-tt-v img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kb-vl-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; border: 2px solid #fff; background: rgba(0, 0, 0, .45); }
.kb-vl-play::after { content: ""; position: absolute; left: 22px; top: 16px; border-style: solid; border-width: 12px 0 12px 18px; border-color: transparent transparent transparent #fff; }
.kb-vl-link:hover .kb-vl-play, .kb-tt-v:hover .kb-vl-play { background: rgba(0, 0, 0, .75); }
.kb-vl-title { display: block; padding: 8px 2px 0; font-weight: 600; }
.kb-tt-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.kb-tt-av { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--a-faint); display: block; }
.kb-tt-who { flex: 1; min-width: 0; }
.kb-el .kb-tt-name { margin: 0; font-weight: 700; font-size: 18px; }
.kb-tt-handle { margin: 0; color: var(--a-soft); }
.kb-tt-bio { margin: 0 0 14px; color: var(--a-soft); }
.kb-tt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.kb-tt-v { position: relative; aspect-ratio: 9 / 16; background: #111; overflow: hidden; }
.kb-tt-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); color: #fff; }
.kb-music { border-radius: 12px; }

/* players that wait for the visitor's OK (cookie banner switched on) */
.kb-gate { display: grid; place-items: center; width: 100%; height: 100%; background: #000; border: 1px solid var(--a-line); text-align: center; padding: 12px; }
.kb-gate iframe:not([hidden]) { position: absolute; inset: 0; width: 100%; height: 100%; }
.kb-gate-ask p { margin: 6px 0 0; color: var(--a-soft); font-size: 13px; }

/* Pro Gallery layouts */
.kb-pg-grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap); }
.kb-pg-grid .kb-pg-item { aspect-ratio: 1; }
.kb-pg-masonry { columns: var(--cols); column-gap: var(--gap); }
.kb-pg-masonry .kb-pg-item { break-inside: avoid; margin-bottom: var(--gap); }
.kb-pg-item { margin: 0; overflow: hidden; }
.kb-pg-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .2s; }
.kb-pg-masonry .kb-pg-item img { height: auto; }
.kb-pg[data-lightbox] .kb-pg-item img { cursor: zoom-in; }
.kb-pg-item:hover img { transform: scale(1.03); }
.kb-pg-slider { position: relative; width: 100%; height: 100%; }
.kb-pg-track { display: flex; gap: var(--gap); width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.kb-pg-track::-webkit-scrollbar { display: none; }
.kb-pg-slider .kb-pg-item { flex: 0 0 auto; height: 100%; scroll-snap-align: start; }
.kb-pg-slider .kb-pg-item img { width: auto; max-width: none; }
.kb-gal[data-lightbox] img { cursor: zoom-in; }
[data-lightbox] > img, .kb-el[data-lightbox] img { cursor: zoom-in; }

/* shop (like Wix Stores: product grid with ribbons and category buttons, a product page with a
   picture gallery, options, quantity, Add to Cart / Buy Now and fold-out info, a side cart) */
.kb-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kb-sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
.kb-sp-item { display: flex; flex-direction: column; gap: 8px; }
.kb-sp-item[hidden] { display: none; }
.kb-sp-item .kb-btn { margin: 0; width: 100%; }
.kb-sp-link { display: flex; flex-direction: column; gap: 4px; color: var(--a-fg) !important; text-decoration: none !important; }
.kb-sp-img { position: relative; display: block; aspect-ratio: 1; background: var(--a-faint); overflow: hidden; }
.kb-sp-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.kb-sp-link:hover .kb-sp-img img { transform: scale(1.04); }
.kb-sp-ribbon { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 3px 10px; background: var(--a-btn); color: var(--a-btn-fg); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.kb-sp-ribbon + .kb-sp-ribbon { top: 40px; }
.kb-sp-soldout { background: var(--a-bg); color: var(--a-fg); border: 1px solid var(--a-line); }
.kb-sp-name { font-weight: 700; margin-top: 6px; }
.kb-sp-price s { color: var(--a-soft); }
.kb-sp-out { color: var(--a-soft); font-style: italic; margin: 8px 0; }
.kb-sp-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.kb-sp-cats button { min-height: 40px; padding: 6px 16px; background: transparent; color: var(--a-fg); border: 1px solid var(--a-line); font: 600 15px/1.2 "Open Sans", Arial, sans-serif; cursor: pointer; }
.kb-sp-cats button[aria-pressed="true"] { background: var(--a-btn); color: var(--a-btn-fg); border-color: var(--a-btn); }
.kb-sp-cats button:focus-visible { outline: 3px solid var(--a-accent); outline-offset: 2px; }
.kb-sp-free { margin: 22px 0 0; color: var(--a-soft); text-align: center; }
.kb-sp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; font-size: 14px; color: var(--a-soft); }
.kb-el .kb-sp-crumbs a { color: var(--a-soft); }
.kb-sp-crumbs [aria-current] { color: var(--a-fg); }
.kb-sp-cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.kb-sp-gal { display: grid; gap: 10px; }
.kb-sp-main { position: relative; aspect-ratio: 1; background: var(--a-faint); overflow: hidden; }
.kb-sp-main img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.kb-sp-noimg { display: block; width: 100%; height: 100%; }
.kb-sp-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.kb-sp-th { padding: 0; aspect-ratio: 1; background: none; border: 2px solid transparent !important; cursor: pointer; overflow: hidden; opacity: .7; }
.kb-sp-th[aria-pressed="true"] { border-color: var(--a-fg) !important; opacity: 1; }
.kb-sp-th:hover { opacity: 1; }
.kb-sp-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kb-sp-th:focus-visible { outline: 3px solid var(--a-accent); outline-offset: 2px; }
.kb-el .kb-sp-info h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.2; }
.kb-sp-info .kb-sp-price { display: inline-block; margin: 0 10px 14px 0; font-size: 22px; }
.kb-sp-save { display: inline-block; padding: 2px 8px; border: 1px solid var(--a-line); font-size: 13px; font-weight: 700; vertical-align: 4px; }
.kb-sp-desc { margin: 0 0 18px; color: var(--a-soft); }
.kb-sp-buy { display: grid; gap: 14px; margin: 0 0 18px; }
.kb-sp-opt span, .kb-sp-qtyl label { display: block; margin: 0 0 6px; font-weight: 600; font-size: 14px; }
.kb-sp-opt select { width: 100%; min-height: 44px; padding: 8px 10px; background: var(--a-bg); color: var(--a-fg); border: 1px solid var(--a-line); font: inherit; }
.kb-sp-opt select[aria-invalid="true"] { border-color: var(--a-bad); }
.kb-sp-opt select:focus-visible { outline: 3px solid var(--a-accent); outline-offset: 2px; }
.kb-sp-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--a-line); }
.kb-sp-qty button { width: 44px; min-height: 44px; background: transparent; color: var(--a-fg); border: 0 !important; font-size: 20px; cursor: pointer; }
.kb-sp-qty input { width: 54px; text-align: center; background: transparent; color: var(--a-fg); border: 0 !important; border-left: 1px solid var(--a-faint) !important; border-right: 1px solid var(--a-faint) !important; font: inherit; -moz-appearance: textfield; }
.kb-sp-qty input::-webkit-inner-spin-button, .kb-sp-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.kb-sp-qty :focus-visible { outline: 3px solid var(--a-accent); outline-offset: -3px; }
.kb-sp-btns { display: grid; gap: 10px; }
.kb-sp-btns .kb-btn { margin: 0; width: 100%; }
.kb-sp-left { margin: 0; color: var(--a-accent); font-weight: 600; font-size: 14px; }
.kb-sp-buy .kb-f-msg { margin: 0; min-height: 0; }
.kb-sp-buy .kb-f-msg:empty { display: none; }
.kb-sp-notes { margin: 0 0 14px; padding: 0 0 0 18px; color: var(--a-soft); font-size: 14px; }
.kb-sp-more { border-top: 1px solid var(--a-faint); }
.kb-sp-more:last-child { border-bottom: 1px solid var(--a-faint); }
.kb-sp-more summary { padding: 14px 0; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.kb-sp-more summary::-webkit-details-marker { display: none; }
.kb-sp-more summary::after { content: '+'; font-size: 20px; line-height: 1; }
.kb-sp-more[open] summary::after { content: '−'; }
.kb-sp-more summary:focus-visible { outline: 3px solid var(--a-accent); outline-offset: 2px; }
.kb-sp-more > div { padding: 0 0 16px; color: var(--a-soft); }
.kb-sp-thanks { text-align: center; }
.kb-sp-ono { font-size: 18px; }
.kb-cart-btn { position: fixed; right: 18px; bottom: 18px; z-index: 950; min-height: 48px; padding: 10px 20px; background: #fff; color: #000; border: 2px solid #000; font: 700 16px/1 "Open Sans", Arial, sans-serif; cursor: pointer; box-shadow: 0 4px 18px rgba(0, 0, 0, .5); }
.kb-cart { padding: 0; background: var(--a-bg); color: var(--a-fg); border: 0; }
dialog.kb-cart.kb-cart-side { margin: 0 0 0 auto; width: min(420px, 100vw); height: 100%; max-height: none; max-width: 100vw; border-left: 1px solid var(--a-line); }
.kb-cart-side[open] { display: flex; flex-direction: column; animation: kb-cart-in .25s ease-out; }
@keyframes kb-cart-in { from { transform: translateX(100%); } to { transform: none; } }
.kb-cart-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--a-faint); }
.kb-cart h2 { margin: 0; font-size: 22px; }
.kb-cart .kb-cart-x { position: static; background: transparent; color: var(--a-fg); }
.kb-cart-empty { padding: 24px 20px; display: grid; gap: 12px; justify-items: start; }
.kb-cart-empty p { margin: 0; }
.kb-cart-list { flex: 1; overflow-y: auto; padding: 0 20px !important; }
.kb-cart-list li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--a-faint); }
.kb-cart-list img, .kb-cart-noimg { width: 72px; height: 72px; object-fit: cover; display: block; background: var(--a-faint); }
.kb-cart-info { display: grid; gap: 3px; justify-items: start; font-size: 14px; }
.kb-cart-name { font-weight: 700; font-size: 15px; }
.kb-cart-opts, .kb-cart-each { color: var(--a-soft); }
.kb-cart-q { display: inline-flex; align-items: center; gap: 0; margin-top: 6px; border: 1px solid var(--a-line); }
.kb-cart-q button { width: 34px; height: 34px; background: transparent; color: var(--a-fg); border: 0 !important; cursor: pointer; font-size: 18px; }
.kb-cart-q span { min-width: 28px; text-align: center; }
.kb-cart-rm { font-size: 13px; margin-top: 4px; }
.kb-cart-sum { font-weight: 600; white-space: nowrap; }
.kb-cart-foot { padding: 16px 20px 20px; border-top: 1px solid var(--a-faint); display: grid; gap: 8px; }
.kb-cart-total { display: flex; justify-content: space-between; margin: 0; font-weight: 700; font-size: 18px; }
.kb-cart-small { margin: 0; color: var(--a-soft); font-size: 13px; }
.kb-cart-foot .kb-btn { width: 100%; margin: 6px 0 0; }
.kb-cart-foot .kb-f-msg { margin: 0; }

/* page password */
.kb-el .kb-lock h1 { margin: 0 0 8px; font-size: 28px; }
.kb-lock label span { display: block; margin: 12px 0 4px; font-weight: 600; }
.kb-lock .kb-btn { margin-top: 14px; }

/* pop-up, viewer, cart: native dialogs */
dialog.kb-popup, dialog.kb-lb { margin: auto; }
.kb-popup { width: min(560px, calc(100vw - 32px)); padding: 0; background: var(--a-bg); color: var(--a-fg); border: 1px solid var(--a-line); }
.kb-popup::backdrop, .kb-cart::backdrop { background: rgba(0, 0, 0, .7); }
.kb-popup[open] { animation: kb-pop-in .35s ease-out; }
.kb-popup-img { display: block; width: 100%; max-height: 300px; object-fit: cover; }
.kb-popup-body { padding: 26px 28px 24px; }
.kb-popup h2 { margin: 0 0 10px; font: 700 28px/1.2 "open sans condensed", "Arial Narrow", Arial, sans-serif; }
.kb-popup p { margin: 0 0 16px; }
.kb-popup-x, .kb-lb-x { position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; background: rgba(0, 0, 0, .55); color: #fff; border: 0; border-radius: 50%; cursor: pointer; }
.kb-popup-x svg, .kb-lb-x svg { width: 16px; height: 16px; }
@keyframes kb-pop-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.kb-lb { width: 100vw; height: 100vh; max-width: none; max-height: none; padding: 0; background: rgba(0, 0, 0, .94); border: 0; color: #fff; }
.kb-lb::backdrop { background: rgba(0, 0, 0, .9); }
.kb-lb-stage { position: absolute; inset: 60px 70px 70px; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; } /* one cell the size of the stage, so big pictures shrink to fit */
.kb-lb-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.kb-lb-wide .kb-lb-media { width: min(100%, calc((100vh - 130px) * 16 / 9)); aspect-ratio: 16 / 9; border: 0; background: #000; }
.kb-lb-tall .kb-lb-media { height: 100%; aspect-ratio: 9 / 16; max-width: 100%; border: 0; background: #000; }
.kb-lb-stage .kb-gate-ask { text-align: center; }
.kb-lb-stage .kb-gate-ask a { color: #00e5ff; }
.kb-lb-cap { position: absolute; left: 70px; right: 70px; bottom: 16px; margin: 0; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .85); }
.kb-lb-count { position: absolute; left: 16px; top: 18px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.kb-lb-nav { position: absolute; top: 50%; width: 54px; height: 80px; margin-top: -40px; background: none; border: 0; cursor: pointer; }
.kb-lb-nav::before { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; border: solid #fff; border-width: 3px 3px 0 0; }
.kb-lb-prev { left: 8px; }
.kb-lb-next { right: 8px; }
.kb-lb-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.kb-lb-next::before { transform: translate(-70%, -50%) rotate(45deg); }

/* cookie banner */
.kb-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 960; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 860px; margin: 0 auto;
  padding: 16px 20px; background: #000; color: #fff; border: 1px solid #fff; box-shadow: 0 6px 30px rgba(0, 0, 0, .6); font-size: 15px; }
.kb-cookie[hidden] { display: none; }
.kb-cookie p { flex: 1 1 300px; margin: 0; }
.kb-cookie a { color: #00e5ff; }
.kb-cookie-btns { display: flex; gap: 4px; flex-wrap: wrap; }

/* entrance animations (see vp.js and features.js) */
@keyframes kb-a-hold { from, to { opacity: 0; } }
@keyframes kb-a-fade { from { opacity: 0; } }
@keyframes kb-a-spin { from { opacity: 0; scale: .6; rotate: -360deg; } }
@keyframes kb-a-arc { from { opacity: 0; translate: 0 var(--a-y); rotate: x 60deg; } }
@keyframes kb-a-slide { from { opacity: 0; translate: var(--a-x) var(--a-y); } }
@keyframes kb-a-zoom { from { opacity: 0; scale: .4; } }
@keyframes kb-a-float { from { opacity: 0; translate: calc(var(--a-x) / 2) calc(var(--a-y) / 2); } }
@keyframes kb-a-bounce { 0% { opacity: 0; scale: .3; } 50% { opacity: 1; scale: 1.06; } 72% { scale: .94; } 100% { scale: 1; } }
@keyframes kb-a-flip { from { opacity: 0; rotate: y 90deg; } }
@keyframes kb-a-reveal { from { clip-path: var(--a-clip); } to { clip-path: inset(0 0 0 0); } }
/* waiting for features.js; if it never runs, everything shows after a few seconds anyway */
html.kb-anim-on:not(.kb-anim-js) .kb-anim { animation: kb-a-hold 0s 3s backwards; }
html.kb-anim-on.kb-anim-js .kb-anim:not(.kb-in) { animation: kb-a-hold 1s both paused; }
html.kb-anim-on .kb-anim.kb-in { animation-duration: var(--a-dur, 1s); animation-timing-function: var(--a-ease, ease); animation-delay: var(--a-delay, 0s); animation-fill-mode: backwards; }
html.kb-anim-on .kb-anim.kb-in[data-anim="fade"] { animation-name: kb-a-fade; }
html.kb-anim-on .kb-anim.kb-in[data-anim="spin"] { animation-name: kb-a-spin; }
html.kb-anim-on .kb-anim.kb-in[data-anim="arc"] { animation-name: kb-a-arc; }
html.kb-anim-on .kb-anim.kb-in[data-anim="slide"] { animation-name: kb-a-slide; }
html.kb-anim-on .kb-anim.kb-in[data-anim="zoom"] { animation-name: kb-a-zoom; }
html.kb-anim-on .kb-anim.kb-in[data-anim="float"] { animation-name: kb-a-float; }
html.kb-anim-on .kb-anim.kb-in[data-anim="bounce"] { animation-name: kb-a-bounce; }
html.kb-anim-on .kb-anim.kb-in[data-anim="flip"] { animation-name: kb-a-flip; }
html.kb-anim-on .kb-anim.kb-in[data-anim="reveal"] { animation-name: kb-a-reveal; }
@media (prefers-reduced-motion: reduce) {
  html .kb-anim, html .kb-anim.kb-in { animation: none !important; }
  .kb-popup[open], .kb-cart-side[open] { animation: none; }
  .kb-sp-img img { transition: none; }
  .kb-pg-item img, .kb-bl-img img { transition: none; }
}

/* phones (the 320px layout) */
@media (max-width: 750px) {
  .kb-bk, .kb-form, .kb-tt, .kb-sp, .kb-lock, .kb-app { padding: 14px; }
  .kb-app-h { font-size: 22px; }
  .kb-bk-svc { flex-direction: column; gap: 8px; }
  .kb-bk-img { width: 100%; aspect-ratio: 16 / 9; }
  .kb-bk-pick { grid-template-columns: 1fr; gap: 16px; }
  .kb-bk-steps ol { display: none; }
  .kb-bl-grid { grid-template-columns: 1fr; }
  .kb-bl-list .kb-bl-link { flex-direction: column; }
  .kb-bl-list .kb-bl-img { width: 100%; aspect-ratio: 16 / 10; }
  .kb-vl-grid { grid-template-columns: repeat(var(--colsm, 1), minmax(0, 1fr)); }
  .kb-pg-grid { grid-template-columns: repeat(var(--colsm, 2), minmax(0, 1fr)); }
  .kb-pg-masonry { columns: var(--colsm, 2); }
  .kb-sp-grid { grid-template-columns: 1fr; }
  .kb-sp-cols { grid-template-columns: 1fr; gap: 20px; }
  .kb-el .kb-sp-info h1 { font-size: 24px; }
  .kb-sp-cats { margin-bottom: 16px; }
  .kb-cathead { padding: 16px; }
  .kb-cathead h1 { font-size: 30px !important; }
  .kb-pn { flex-direction: column; gap: 8px; }
  .kb-lb-stage { inset: 56px 8px 60px; }
  .kb-lb-nav { top: auto; bottom: 4px; margin-top: 0; }
  .kb-lb-cap { left: 60px; right: 60px; }
}

/* repeater (our own): cards with a picture and a short line on one side, words and a button on the other.
   A card narrower than 480px (or the "above" layout) puts the picture on top. Phones: one column. */
.kb-rp { display: grid; justify-content: center; align-items: start; font-family: var(--rp-font); font-size: var(--rp-size); line-height: 1.75; color: var(--rp-color); }
.kb-rp, .kb-rp * { box-sizing: border-box; }
.kb-rp-card { container-type: inline-size; min-width: 0; background: var(--rp-bg); border-radius: var(--rp-r); overflow: hidden; }
.kb-rp-in { display: flex; min-height: 100%; }
.kb-rp-side { flex: 0 0 55%; display: flex; flex-direction: column; }
.kb-rp-pic img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.kb-el .kb-rp-line { margin: 0; padding: .25em .75em .6em; text-align: center; color: var(--rp-line); }
.kb-rp-body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: .9em; padding: 3em 1.5em .9em; text-align: center; }
.kb-el .kb-rp-title { margin: 0; font: 700 1.25em/1.3 var(--rp-font); color: var(--rp-color); }
.kb-rp-text { width: 100%; overflow-wrap: break-word; }
.kb-el .kb-rp-text p { margin: 0; }
.kb-rp-text a { color: inherit; text-decoration: underline; }
.kb-el .kb-rp-btn { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; min-width: 137px; min-height: 45px; padding: 6px 18px;
  background: var(--rp-btn-bg); color: var(--rp-btn-color); border: 4px double var(--rp-btn-line, transparent); border-radius: var(--rp-btn-r);
  font: 17px/1.2 var(--rp-btn-font); letter-spacing: .15em; text-decoration: none; transition: filter .2s; }
.kb-rp-btn:hover { filter: brightness(1.25); }
.kb-rp-btn:focus-visible { outline: 2px solid var(--rp-btn-bg); outline-offset: 3px; }
.kb-rp--top .kb-rp-in { flex-direction: column; }
.kb-rp--top .kb-rp-side { flex-basis: auto; }
.kb-rp--top .kb-rp-body { padding: .9em 1.25em 1.25em; }
@container (max-width: 479px) {
  .kb-rp-in { flex-direction: column; }
  .kb-rp-side { flex-basis: auto; }
  .kb-rp-body { padding: .9em 1.25em 1.25em; }
}
@media (max-width: 750px) {
  .kb-rp { grid-template-columns: minmax(0, 1fr) !important; }
}

/* the details form inside the booking panel needs no second frame */
.kb-bk .kb-form { background: none; border: 0; padding: 0; }

/* blog comments and product reviews (own spam check; shown after the owner approves them) */
.kb-el .kb-cm :is(h1, h2, h3, h4, b, strong) { font-weight: 700; }
.kb-el .kb-cm a { color: var(--a-accent); }
.kb-cm-n { font-weight: 400; color: var(--a-soft); font-size: .8em; }
.kb-cm-list { list-style: none; margin: 0 0 24px; padding: 0; }
.kb-cm-item { padding: 16px 0; border-top: 1px solid var(--a-faint); }
.kb-cm-item:last-child { border-bottom: 1px solid var(--a-faint); }
.kb-cm-who { margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.kb-cm-who time, .kb-cm-by { color: var(--a-soft); font-size: 14px; }
.kb-cm-by { margin: 0 0 6px; }
.kb-cm-text { overflow-wrap: anywhere; }
.kb-cm-reply { margin: 12px 0 0 18px; padding: 10px 14px; border-left: 3px solid var(--a-accent); background: var(--a-faint); }
.kb-cm-reply small { color: var(--a-soft); }
.kb-cm-none { margin: 0 0 20px; }
.kb-cm-h { margin: 0 0 12px; font-size: 20px; }
.kb-cm-small { margin: 8px 0 0; color: var(--a-soft); font-size: 13px; }
.kb-cm-form .kb-f-msg:empty { min-height: 0; }
.kb-sp .kb-sp-reviews { grid-column: 1 / -1; margin-top: 36px; padding: 28px 0 0; background: none; border: 0; border-top: 1px solid var(--a-faint); }
.kb-rv-avg { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.kb-rv-top { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14px; color: var(--a-soft) !important; text-decoration: none !important; }
.kb-rv-top:hover span { text-decoration: underline; }
.kb-rv-write { margin-top: 8px; }
.kb-rv-write > summary { list-style: none; margin: 0 0 16px; }
.kb-rv-write > summary::-webkit-details-marker { display: none; }
.kb-rv-write[open] > summary { display: none; }
/* stars: the filled part is as wide as the rating */
.kb-stars { --s: 18px; display: inline-block; position: relative; width: calc(var(--s) * 5); height: var(--s); flex: none; vertical-align: middle;
  background: linear-gradient(90deg, #f5b301 calc(var(--r) / 5 * 100%), var(--a-faint) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") 0 0 / var(--s) var(--s) repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") 0 0 / var(--s) var(--s) repeat-x; }
.kb-sp-item .kb-stars { --s: 15px; margin-top: 4px; }
@media (forced-colors: active) { .kb-stars { forced-color-adjust: none; } }
/* the rating picker: five radio buttons drawn as stars (highest first, so the ones before light up) */
.kb-rv-rate { margin: 0 0 14px; padding: 0; border: 0; }
.kb-rv-stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.kb-rv-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kb-rv-stars label { width: 36px; height: 36px; cursor: pointer; background: var(--a-faint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") center / 30px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") center / 30px no-repeat; }
.kb-rv-stars label:hover, .kb-rv-stars label:hover ~ label, .kb-rv-stars input:checked ~ label { background: #f5b301; }
.kb-rv-stars input:focus-visible + label { outline: 3px solid var(--a-accent); outline-offset: 1px; }
.kb-sp-digital { margin: 0 0 14px; color: var(--a-soft); font-size: 14px; }
/* cart: coupon code, discount and tax */
.kb-cart-sums { display: grid; gap: 4px; }
.kb-cart-line { display: flex; justify-content: space-between; gap: 10px; margin: 0; color: var(--a-soft); }
.kb-cart-save span:last-child { color: var(--a-ok); }
.kb-cart-coupon { display: grid; gap: 4px; }
.kb-cart-coupon p { margin: 0; }
.kb-cart-cline { display: flex; gap: 8px; }
.kb-cart-cline input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 10px; background: transparent; color: var(--a-fg); border: 1px solid var(--a-line); border-radius: 0; font: 16px/1.4 "Open Sans", Arial, sans-serif; text-transform: uppercase; }
.kb-cart-cline input:focus-visible { outline: 3px solid var(--a-accent); outline-offset: 2px; }
.kb-cart-foot .kb-cart-cline .kb-btn { width: auto; margin: 0; }
@media (max-width: 750px) { .kb-cm-reply { margin-left: 8px; } }

/* ---------------------------------------------------------------- collection list (cms.js) */
/* the blog list's cards; a set number of columns when the owner picks one */
.kb-cl.kb-bl-grid[style*="--cl-cols"] { grid-template-columns: repeat(var(--cl-cols), minmax(0, 1fr)); }
.kb-cl-meta { color: var(--a-soft); font-size: 13px; }
.kb-cl .kb-bl-text { flex: 1; }
.kb-cl-more { margin-top: auto; padding-top: 4px; font-weight: 700; font-size: 14px; }
.kb-cl-more::after { content: " →"; }
.kb-cl-plain:hover .kb-bl-title { text-decoration: none; }
.kb-cl-plain:hover .kb-bl-img img { transform: none; }
@media (max-width: 750px) {
  .kb-cl.kb-bl-grid[style*="--cl-cols"] { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ Pro gallery (gallery.js)
   Nine layouts. Galleries that grow downwards (grid, masonry, collage, strip, bricks) take the height
   of their pictures; the sideways ones (slider, column, slide show, thumbnails, sideways grid and
   collage) fill the element's box. Moving parts and the viewer: features.js. */
.kb-el .kb-pg2, .kb-el .kb-pg2 *, .kb-pg2-menu, .kb-pg2-menu * { box-sizing: border-box; }
.kb-pg2 { position: relative; width: 100%; }
.kb-pg2-side { height: 100%; display: flex; flex-direction: column; }
/* a sideways gallery with a fixed ratio: its height comes from its width */
.kb-pg2-side.kb-pg2-gr { display: flex; height: auto; aspect-ratio: var(--gr); }
.kb-pg2-empty { margin: 0; padding: 28px 12px; text-align: center; color: #888; font: 14px/1.4 system-ui, sans-serif; border: 1px dashed #bbb; }
.kb-pg2-it { position: relative; margin: 0; min-width: 0; }
.kb-pg2-it[hidden] { display: none; }
.kb-pg2-m { position: relative; overflow: hidden; background: var(--ph); border: var(--bw) solid var(--bc); border-radius: var(--rad); box-shadow: var(--sh); }
.kb-pg2-fit .kb-pg2-m { background: transparent; }
.kb-pg2-m > a { display: block; width: 100%; height: 100%; }
.kb-pg2-m img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s ease, opacity .45s ease; }
.kb-pg2-pb { isolation: isolate; } /* a blurred copy of the picture shows while it loads */
.kb-pg2-pb::before { content: ''; position: absolute; inset: -18px; z-index: -1; background: var(--pcb); filter: blur(16px); }
.kb-pg2-fit .kb-pg2-pb::before { display: none; }
.kb-pg2-fit .kb-pg2-m img { object-fit: contain; object-position: 50% 50% !important; } /* a focal point only moves cropped pictures */
.kb-pg2:is([data-click="full"], [data-click="expand"]) .kb-pg2-m img { cursor: pointer; }
.kb-pg2[data-protect] img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
/* titles and words */
.kb-pg2-info { display: flex; flex-direction: column; gap: 4px; padding: var(--tpv) var(--tph); text-align: var(--al); overflow: hidden; }
.kb-pg2-side .kb-pg2-info { height: var(--ih); flex: 0 0 var(--ih); }
.kb-pg2-t { display: block; font-size: var(--ts); line-height: 1.35; font-family: var(--tf, inherit); color: var(--tc); font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.kb-pg2-d { display: block; font-size: var(--ds); line-height: 1.4; font-family: var(--df, inherit); color: var(--dc); white-space: pre-line; overflow: hidden; }
.kb-pg2-side .kb-pg2-t, .kb-pg2-side .kb-pg2-d { white-space: nowrap; text-overflow: ellipsis; }
/* the overlay on hover, with the titles (on the picture) and the icons */
.kb-pg2-ov { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; background: var(--ovc); opacity: 0; transition: opacity .3s ease, transform .35s ease; pointer-events: none; }
.kb-pg2-ov > * { pointer-events: auto; }
.kb-pg2-ov .kb-pg2-info { height: auto; }
.kb-pg2-it:is(:hover, :focus-within) .kb-pg2-ov { opacity: 1; }
.kb-pg2-ov-none .kb-pg2-ov { transition: none; }
.kb-pg2-ov-expand .kb-pg2-ov { transform: scale(.85); }
.kb-pg2-ov-slideup .kb-pg2-ov { transform: translateY(100%); opacity: 1; }
.kb-pg2-ov-slideright .kb-pg2-ov { transform: translateX(-100%); opacity: 1; }
.kb-pg2-ov-slidedown .kb-pg2-ov { transform: translateY(-100%); opacity: 1; }
.kb-pg2-ov-slideleft .kb-pg2-ov { transform: translateX(100%); opacity: 1; }
.kb-pg2:is(.kb-pg2-ov-expand, .kb-pg2-ov-slideup, .kb-pg2-ov-slideright, .kb-pg2-ov-slidedown, .kb-pg2-ov-slideleft) .kb-pg2-it:is(:hover, :focus-within) .kb-pg2-ov { transform: none; }
/* a gradient overlay: the colour fades out from one side */
.kb-pg2-grad-bottom .kb-pg2-ov { background: linear-gradient(to top, var(--ovc), transparent); }
.kb-pg2-grad-top .kb-pg2-ov { background: linear-gradient(to bottom, var(--ovc), transparent); }
.kb-pg2-grad-left .kb-pg2-ov { background: linear-gradient(to right, var(--ovc), transparent); }
.kb-pg2-grad-right .kb-pg2-ov { background: linear-gradient(to left, var(--ovc), transparent); }
.kb-pg2-part .kb-pg2-ov { inset: auto 0 0 0; height: var(--ovs); }
.kb-pg2-part.kb-pg2-from-top .kb-pg2-ov { inset: 0 0 auto 0; }
.kb-pg2-part.kb-pg2-from-left .kb-pg2-ov { inset: 0 auto 0 0; width: var(--ovs); height: auto; }
.kb-pg2-part.kb-pg2-from-right .kb-pg2-ov { inset: 0 0 0 auto; width: var(--ovs); height: auto; }
.kb-pg2-ip-on.kb-pg2-ih-none .kb-pg2-ov, .kb-pg2-ip-on.kb-pg2-ih-disappear .kb-pg2-ov { opacity: 1; transform: none; }
.kb-pg2-ip-on.kb-pg2-ih-disappear .kb-pg2-it:is(:hover, :focus-within) .kb-pg2-ov { opacity: 0; }
.kb-pg2-ic { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; }
.kb-pg2[dir="rtl"] .kb-pg2-ic { right: auto; left: 8px; }
.kb-pg2-ic :is(button, a) { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .28); color: var(--ic); cursor: pointer; }
.kb-pg2-ic svg, .kb-lb-tools svg { width: 18px; height: 18px; fill: currentColor; }
.kb-pg2-heart[aria-pressed="true"] { color: #ff3b5c !important; }
/* hover effects on the pictures */
.kb-pg2-hv-zoom .kb-pg2-it:hover .kb-pg2-m img { transform: scale(1.1); }
.kb-pg2-hv-shrink .kb-pg2-it:hover .kb-pg2-m img { transform: scale(.9); }
.kb-pg2-hv-blur .kb-pg2-it:hover .kb-pg2-m img { filter: blur(3px); }
.kb-pg2-hv-gray .kb-pg2-it:hover .kb-pg2-m img { filter: grayscale(1); }
.kb-pg2-hv-invert .kb-pg2-it:hover .kb-pg2-m img { filter: invert(1); }
.kb-pg2-hv-colorin .kb-pg2-m img { filter: grayscale(1); }
.kb-pg2-hv-colorin .kb-pg2-it:hover .kb-pg2-m img { filter: none; }
.kb-pg2-hv-darken .kb-pg2-it:hover .kb-pg2-m img { filter: brightness(.55); }
/* layouts that grow downwards */
.kb-pg2-wall { display: grid; gap: var(--gap); }
.kb-pg2-grid .kb-pg2-wall, .kb-pg2-collage .kb-pg2-wall { grid-template-columns: repeat(var(--per), minmax(0, 1fr)); }
.kb-pg2-grid.kb-pg2-bysize .kb-pg2-wall { grid-template-columns: repeat(auto-fill, minmax(min(var(--size), 100%), 1fr)); }
.kb-pg2-grid .kb-pg2-wall .kb-pg2-m { aspect-ratio: var(--ratio); }
.kb-pg2-masonry .kb-pg2-wall { display: block; columns: var(--per); column-gap: var(--gap); }
.kb-pg2-masonry.kb-pg2-bysize .kb-pg2-wall { columns: var(--size) auto; }
.kb-pg2-masonry .kb-pg2-it { break-inside: avoid; margin-bottom: var(--gap); }
.kb-pg2-masonry .kb-pg2-m img, .kb-pg2-strip .kb-pg2-m img { height: auto; }
.kb-pg2-rows .kb-pg2-wall { display: flex; flex-wrap: wrap; columns: auto; gap: var(--gap); }
.kb-pg2-rows .kb-pg2-wall::after { content: ""; flex: 1000 1 0; }
.kb-pg2-rows .kb-pg2-it { flex: 1 1 auto; margin: 0; }
.kb-pg2-rows .kb-pg2-m img { height: var(--size); width: auto; min-width: 100%; object-fit: cover; }
.kb-pg2-collage .kb-pg2-wall { grid-auto-flow: dense; }
.kb-pg2-collage .kb-pg2-wall .kb-pg2-m, .kb-pg2-bricks .kb-pg2-m { aspect-ratio: 1; }
.kb-pg2-bricks .kb-pg2-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; }
.kb-pg2-wall .kb-pg2-big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.kb-pg2-wall .kb-pg2-big .kb-pg2-m { flex: 1 1 0; min-height: 0; aspect-ratio: auto; }
.kb-pg2-strip .kb-pg2-wall { grid-template-columns: minmax(0, 1fr); }
.kb-pg2-morebox { text-align: var(--bta); margin-top: max(var(--gap), 16px); }
.kb-pg2-more { font-size: var(--bts); font-family: var(--btf, inherit); color: var(--btc); background: var(--btb); border: var(--btw) solid var(--btbc); border-radius: var(--btr); padding: .7em 2.2em; cursor: pointer; }
.kb-pg2-more:hover { filter: brightness(.94); }
/* the custom button on each picture (under its words, or on the picture with them) */
.kb-pg2-cbw { display: flex; justify-content: var(--cba); margin-top: 8px; flex: 0 0 auto; }
.kb-pg2-info > .kb-pg2-cbw:first-child { margin-top: 0; }
.kb-pg2-cb { display: inline-flex; align-items: center; height: var(--cbh); padding: 0 1.3em; font-size: var(--cbs); font-family: var(--cbf, inherit); font-weight: 400; line-height: 1.25; color: var(--cbc); background: var(--cbb); border: var(--cbw) solid var(--cbbc); border-radius: var(--cbr); text-decoration: none; white-space: nowrap; cursor: pointer; }
.kb-pg2-cb:hover { filter: brightness(1.12); }
.kb-pg2-cb:focus-visible { outline: 2px solid var(--cbc); outline-offset: 2px; }
/* sideways layouts: a strip that scrolls (swipe, the arrows, or by itself) */
.kb-pg2-vp { position: relative; flex: 1 1 auto; min-height: 0; min-width: 0; container-type: size; }
.kb-pg2-track { display: flex; gap: var(--gap); height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.kb-pg2-track::-webkit-scrollbar { display: none; }
.kb-pg2-side .kb-pg2-it { flex: 0 0 auto; display: flex; flex-direction: column; scroll-snap-align: start; }
.kb-pg2-side { --cell: 100cqh; }
.kb-pg2-side .kb-pg2-m { height: calc(var(--cell) - var(--ih)); aspect-ratio: var(--ratio); flex: 0 0 auto; }
.kb-pg2-side:is(.kb-pg2-grid, .kb-pg2-collage) .kb-pg2-track { display: grid; grid-auto-flow: column; grid-auto-columns: max-content; grid-template-rows: repeat(var(--rows), max-content); align-content: start; }
.kb-pg2-side:is(.kb-pg2-grid, .kb-pg2-collage) .kb-pg2-it { --cell: calc((100cqh - (var(--rows) - 1) * var(--gap)) / var(--rows)); }
.kb-pg2-side.kb-pg2-collage .kb-pg2-track { grid-auto-flow: column dense; grid-template-rows: repeat(var(--rows), calc((100cqh - (var(--rows) - 1) * var(--gap)) / var(--rows))); grid-auto-columns: calc((100cqh - (var(--rows) - 1) * var(--gap)) / var(--rows)); }
.kb-pg2-side.kb-pg2-collage .kb-pg2-m { aspect-ratio: 1; height: calc(var(--cell) - var(--ih)); }
.kb-pg2-side.kb-pg2-collage .kb-pg2-big { grid-column: span 2; grid-row: span 2; }
.kb-pg2-side.kb-pg2-collage .kb-pg2-big .kb-pg2-m { height: auto; flex: 1 1 0; min-height: 0; aspect-ratio: auto; }
.kb-pg2-pv .kb-pg2-it { flex: 0 0 calc((100cqw - (var(--pv) - 1) * var(--gap)) / var(--pv)); }
.kb-pg2-pv .kb-pg2-m, .kb-pg2:is(.kb-pg2-slideshow, .kb-pg2-thumbnails) .kb-pg2-m { aspect-ratio: auto; width: 100%; }
.kb-pg2:is(.kb-pg2-slideshow, .kb-pg2-thumbnails) .kb-pg2-track { gap: 0; }
.kb-pg2:is(.kb-pg2-slideshow, .kb-pg2-thumbnails) .kb-pg2-it { flex: 0 0 100%; }
.kb-pg2-bar { flex: 0 0 var(--ib); height: var(--ib); overflow: hidden; padding: var(--tpv) var(--tph); text-align: var(--al); display: flex; flex-direction: column; gap: 4px; }
.kb-pg2-thumbnails { gap: var(--tg); }
.kb-pg2-tp-top { flex-direction: column-reverse; }
.kb-pg2-tp-left { flex-direction: row-reverse; }
.kb-pg2-tp-right { flex-direction: row; }
.kb-pg2-thumbs { display: flex; gap: var(--tg); flex: 0 0 var(--th); overflow: auto; scrollbar-width: none; }
.kb-pg2-thumbs::-webkit-scrollbar { display: none; }
.kb-pg2:is(.kb-pg2-tp-left, .kb-pg2-tp-right) .kb-pg2-thumbs { flex-direction: column; }
.kb-pg2-th { flex: 0 0 var(--th); width: var(--th); height: var(--th); padding: 0; border: 0; background: var(--ph); cursor: pointer; opacity: .55; transition: opacity .2s; }
.kb-pg2-th[aria-current="true"], .kb-pg2-th:hover, .kb-pg2-th:focus-visible { opacity: 1; }
.kb-pg2-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* arrows, counter, play button */
.kb-pg2-arw { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: calc(var(--asz) + 14px); height: calc(var(--asz) * 1.67 + 14px); margin-top: calc((var(--asz) * 1.67 + 14px) / -2); padding: 0; border: 0; background: none; color: var(--acol); cursor: pointer; }
.kb-pg2-arw svg { display: block; width: var(--asz); height: calc(var(--asz) * 1.67); }
.kb-pg2-arw:disabled { opacity: .3; cursor: default; }
.kb-pg2-prev { left: var(--apad); }
.kb-pg2-next { right: var(--apad); }
.kb-pg2[dir="rtl"] .kb-pg2-prev { left: auto; right: var(--apad); transform: scaleX(-1); }
.kb-pg2[dir="rtl"] .kb-pg2-next { right: auto; left: var(--apad); transform: scaleX(-1); }
.kb-pg2-ab-shadow .kb-pg2-arw svg { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .55)); }
.kb-pg2-ab-box .kb-pg2-arw { background: var(--abox); border-radius: var(--arad); }
.kb-pg2-aout { padding: 0 calc(var(--asz) + 14px + var(--apad)); }
.kb-pg2-aout .kb-pg2-vp { position: static; }
.kb-pg2-count { position: absolute; right: 10px; bottom: calc(var(--ih) + 8px); z-index: 3; color: #fff; font: 13px/1 Arial, sans-serif; text-shadow: 0 0 3px #000; pointer-events: none; }
.kb-pg2-play { position: absolute; left: 10px; bottom: calc(var(--ih) + 8px); z-index: 3; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; cursor: pointer; }
.kb-pg2-play svg { width: 16px; height: 16px; fill: currentColor; }
.kb-pg2-play[aria-pressed="true"] .kb-pg2-i-play, .kb-pg2-play[aria-pressed="false"] .kb-pg2-i-pause { display: none; }
/* scroll animations (only once features.js runs, so the pictures never stay hidden) */
.kb-pg2-live.kb-pg2-sfx .kb-pg2-it { transition: opacity var(--sdur) var(--sease, ease), transform var(--sdur) var(--sease, ease), filter var(--sdur) var(--sease, ease); }
.kb-pg2-live.kb-pg2-sfx .kb-pg2-it .kb-pg2-m img { transition: transform var(--sdur) var(--sease, ease), filter var(--sdur) var(--sease, ease), opacity var(--sdur) var(--sease, ease); }
.kb-pg2-live.kb-pg2-sfx-slidein .kb-pg2-it:not(.kb-in) { opacity: 0; transform: translateX(60px); }
.kb-pg2-live.kb-pg2-sfx-slidein[dir="rtl"] .kb-pg2-it:not(.kb-in) { transform: translateX(-60px); }
.kb-pg2-live.kb-pg2-sfx-fade .kb-pg2-it:not(.kb-in) { opacity: 0; }
.kb-pg2-live.kb-pg2-sfx-gray .kb-pg2-it:not(.kb-in) { filter: grayscale(1); }
.kb-pg2-live.kb-pg2-sfx-slideup .kb-pg2-it:not(.kb-in) { opacity: 0; transform: translateY(48px); }
.kb-pg2-live.kb-pg2-sfx-expand .kb-pg2-it:not(.kb-in) { opacity: 0; transform: scale(.85); }
.kb-pg2-live.kb-pg2-sfx-shrink .kb-pg2-it:not(.kb-in) { opacity: 0; transform: scale(1.12); }
.kb-pg2-live.kb-pg2-sfx-zoomout .kb-pg2-it:not(.kb-in) .kb-pg2-m img { transform: scale(1.3); }
.kb-pg2-live.kb-pg2-sfx-onecolor .kb-pg2-it:not(.kb-in) .kb-pg2-m img { opacity: 0; }
/* share menu */
.kb-pg2-menu { position: fixed; z-index: 2147483000; display: flex; flex-direction: column; min-width: 170px; padding: 6px; background: #fff; color: #222; border-radius: 8px; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); font: 14px/1.3 system-ui, sans-serif; }
.kb-pg2-menu :is(a, button) { display: block; padding: 8px 10px; border: 0; background: none; color: inherit; text-align: left; text-decoration: none; border-radius: 6px; cursor: pointer; font: inherit; }
.kb-pg2-menu :is(a, button):is(:hover, :focus-visible) { background: #eef2f7; }
/* the viewer's tools and its expand mode (the gallery's colours, with the title and words beside or under the picture) */
.kb-lb-tools { position: absolute; top: 10px; right: 60px; z-index: 2; display: flex; gap: 6px; }
.kb-lb-tools :is(button, a) { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.kb-lb.kb-lb-x2 { --xbg: #fff; --xc: #222; background: var(--xbg); color: var(--xc); }
.kb-lb-x2 .kb-lb-x { background: transparent; color: var(--xc); }
.kb-lb-x2 .kb-lb-nav::before { border-color: var(--xc); }
.kb-lb-x2 :is(.kb-lb-count, .kb-lb-cap) { color: var(--xc); }
.kb-lb-side:not(.kb-lb-noinfo) .kb-lb-stage { right: 400px; }
.kb-lb-side:not(.kb-lb-noinfo) .kb-lb-next { right: 340px; }
.kb-lb-info { position: absolute; z-index: 1; display: flex; flex-direction: column; gap: 12px; overflow: auto; font: 16px/1.5 "Open Sans", Arial, Helvetica, sans-serif; }
.kb-lb-info[hidden], .kb-lb-ibtn[hidden] { display: none; }
.kb-lb-side .kb-lb-info { top: 70px; right: 28px; bottom: 70px; width: 300px; }
.kb-lb-bottom:not(.kb-lb-noinfo) .kb-lb-stage { bottom: 160px; }
.kb-lb-bottom .kb-lb-info { left: 70px; right: 70px; bottom: 18px; height: 128px; align-items: center; text-align: center; }
.kb-lb-info h2 { margin: 0; font-size: 22px; line-height: 1.3; }
.kb-lb-info p { margin: 0; white-space: pre-line; }
.kb-lb-info a { color: inherit; text-decoration: underline; }
.kb-lb-ibtn { position: absolute; top: 18px; left: 70px; z-index: 2; padding: 6px 14px; border: 1px solid currentColor; border-radius: 16px; background: transparent; color: inherit; font: 600 13px/1 system-ui, sans-serif; cursor: pointer; }
@media (max-width: 750px) {
  .kb-pg2-grid .kb-pg2-wall, .kb-pg2-collage .kb-pg2-wall { grid-template-columns: repeat(var(--perm), minmax(0, 1fr)); }
  .kb-pg2-masonry .kb-pg2-wall { columns: var(--perm); }
  .kb-pg2-bricks .kb-pg2-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kb-lb-side:not(.kb-lb-noinfo) .kb-lb-stage { right: 8px; bottom: 180px; }
  .kb-lb-side:not(.kb-lb-noinfo) .kb-lb-next { right: 8px; }
  .kb-lb-side .kb-lb-info, .kb-lb-bottom .kb-lb-info { top: auto; left: 16px; right: 16px; bottom: 14px; width: auto; height: 150px; }
  .kb-lb-tools { right: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .kb-pg2, .kb-pg2 * { transition: none !important; }
}
