/* local-enhance.css — restores interactivity lost when Google Sites JS was stripped.
   Scoped to .le-* classes added by local-enhance.js so it can't disturb the captured layout. */

/* ---- Carousel / slideshow ---- */
.le-carousel { position: relative; overflow: hidden; }
.le-carousel .le-slide {
  display: block !important;           /* override Google's default display:none on slides */
  position: absolute !important; inset: 0 !important;
  opacity: 0; visibility: hidden; transition: opacity .5s ease; pointer-events: none;
}
.le-carousel .le-slide.le-active { opacity: 1; visibility: visible; pointer-events: auto; }
.le-carousel [jsname="VfNHU"], .le-carousel [jsname="OCpkoe"] { cursor: pointer; z-index: 6; opacity: 1 !important; }
.le-dot { cursor: pointer; opacity: .35; filter: grayscale(1); transition: opacity .25s, filter .25s; }
.le-dot.le-active { opacity: 1; filter: none; }

/* ---- Navigation: replicate the live site's sidebar/hamburger breakpoint (1280px) ----
   Google's JS normally manages this; we reproduce it in pure CSS so the side tabs
   show on desktop and collapse to a hamburger drawer on narrow screens. */
@media (min-width: 1280px) {
  nav#yuynLe { display: block !important; left: 0 !important; }
  #s9iPrd { display: none !important; }
}
@media (max-width: 1279px) {
  nav#yuynLe { display: none !important; }
  nav#yuynLe.le-open-drawer { display: block !important; left: 0 !important; z-index: 1000; }
  #s9iPrd { display: block !important; }
}

/* ---- Expandable nav submenus (Archives) ---- */
.le-submenu { display: none !important; }
.le-submenu.le-submenu-open { display: block !important; }
.le-exp-open [jsname="ix0Hvc"] svg { transform: rotate(180deg); transition: transform .2s; }

/* ---- Lightbox (click image to expand) ---- */
.le-lb {
  position: fixed; inset: 0; background: rgba(0,0,0,.9);
  display: none; align-items: center; justify-content: center;
  z-index: 100000; cursor: zoom-out;
}
.le-lb.le-open { display: flex; }
.le-lb img { max-width: 92vw; max-height: 92vh; box-shadow: 0 0 50px rgba(0,0,0,.6); border-radius: 2px; }
.le-lb-close {
  position: absolute; top: 14px; right: 26px; color: #fff; font: 42px/1 Arial, sans-serif;
  cursor: pointer; opacity: .85;
}
.le-lb-close:hover { opacity: 1; }

/* ---- Search overlay (Pagefind) ---- */
.le-search {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  display: none; z-index: 100001; padding: 8vh 16px 16px;
}
.le-search.le-open { display: block; }
.le-search-box {
  max-width: 680px; margin: 0 auto; background: #fff; border-radius: 10px;
  padding: 22px 22px 28px; box-shadow: 0 20px 60px rgba(0,0,0,.4); position: relative;
  max-height: 80vh; overflow: auto;
}
.le-search-close { position: absolute; top: 8px; right: 16px; font: 30px/1 Arial, sans-serif; color: #555; cursor: pointer; }
.le-search-close:hover { color: #000; }
:root { --pagefind-ui-primary: #1a7a4c; --pagefind-ui-scale: .9; }
