/* EC-CAROUSEL-033: converted Weebly slideshow.
   Weebly's own slideshow.css is served from a CDN that no longer resolves, so
   the deck arrives with no geometry at all. These rules restore the three
   things it supplied — the aspect box, the overlapping layers, and the meaning
   of the runtime's opacity classes. Scoped to .wslide so nothing leaks. */
.wslide {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.wslide .wslide-main {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.wslide .wslide-main td {
  padding: 0;
}
.wslide .wslide-content {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.wslide .wslide-content-inner,
.wslide .wslide-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wslide .wslide-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 600ms ease-in-out;
}
.wslide .wslide-slide.opacity-0 {
  opacity: 0;
}
.wslide .wslide-slide.opacity-100 {
  opacity: 1;
}
.wslide .wslide-slide.pointer-events-none {
  pointer-events: none;
}
.wslide .wslide-slide-inner1,
.wslide .wslide-slide-inner2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wslide .wslide-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.wslide .wslide-overlay-left,
.wslide .wslide-overlay-right {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  z-index: 5;
}
.wslide .wslide-overlay-left {
  left: 0;
  padding-left: 12px;
}
.wslide .wslide-overlay-right {
  right: 0;
  padding-right: 12px;
}
.wslide .wslide-overlay-top-left {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
}
.wslide .wslide-button {
  position: relative;
  display: inline-block;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  text-indent: -9999px;
  overflow: hidden;
}
.wslide .wslide-button:hover {
  background: rgba(0, 0, 0, 0.7);
}
.wslide .wslide-button-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
.wslide .wslide-prev .wslide-button-icon {
  transform: translate(-40%, -50%) rotate(-135deg);
}
.wslide .wslide-next .wslide-button-icon {
  transform: translate(-60%, -50%) rotate(45deg);
}
.wslide .wslide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 16px 20px;
  color: #fff;
}
.wslide .wslide-caption-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}
.wslide .wslide-caption-text {
  position: relative;
  z-index: 1;
}
@media (max-width: 767px) {
  .wslide .wslide-content {
    aspect-ratio: 4 / 3;
  }
  .wslide .wslide-button {
    width: 34px;
    height: 34px;
  }
}

/* EC-BTN-104 + EC-NAV-121: Re-assert hero / CTA text-white on buttons & links.
   Uses class~= (word match) not class*= (substring) to avoid matching hover:text-white etc. */
button[class~='text-white/90'],
a[class~='text-white/90'] {
  color: rgba(255, 255, 255, 0.9);
}
button[class~='text-white/80'],
a[class~='text-white/80'] {
  color: rgba(255, 255, 255, 0.8);
}
button[class~='text-white/70'],
a[class~='text-white/70'] {
  color: rgba(255, 255, 255, 0.7);
}
button[class~='text-white/60'],
a[class~='text-white/60'] {
  color: rgba(255, 255, 255, 0.6);
}
button[class~='text-white/50'],
a[class~='text-white/50'] {
  color: rgba(255, 255, 255, 0.5);
}
button[class~='text-white/40'],
a[class~='text-white/40'] {
  color: rgba(255, 255, 255, 0.4);
}
button[class~='text-white'],
a[class~='text-white'] {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* EC-ANIM-008b / EC-ANIM-009: carousel-only override — scroll-reveal elements animate via IO in functions.php */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}
