/* Small progressive enhancement styles for the static copy. */
.elementor-invisible {
  visibility: visible !important;
}

header[data-elementor-type="header"] .ww-static-menu {
  width: 100%;
}

header[data-elementor-type="header"] nav.ww-static-menu a {
  color: #fff;
  font-weight: 500;
  text-shadow: 0 1px 5px rgb(0 0 0 / 72%);
}

.ww-menu-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.8rem, 1.8vw, 1.8rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ww-menu-list a {
  display: inline-block;
  color: inherit;
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: none;
  transition: opacity 160ms ease;
}

.ww-menu-list a:hover,
.ww-menu-list a:focus-visible {
  opacity: 0.68;
}

.ww-menu-list a:focus-visible,
.ww-menu-toggle:focus-visible,
.ww-slide-dot:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.elementor-widget-slides,
.elementor-widget-slides .elementor-widget-container,
.elementor-widget-slides .elementor-swiper,
.elementor-widget-slides .elementor-slides-wrapper {
  width: 100%;
  max-width: 100%;
}

.elementor-widget-slides .elementor-slides-wrapper {
  position: relative;
  min-height: clamp(28rem, 72vh, 50rem);
  overflow: hidden;
}

.elementor-widget-slides .elementor-slides,
.elementor-widget-slides .swiper-wrapper {
  display: grid !important;
  width: 100% !important;
  min-height: inherit;
  transform: none !important;
  transition: none !important;
}

.elementor-widget-slides .swiper-slide {
  grid-area: 1 / 1;
  width: 100% !important;
  height: 100%;
  min-height: inherit;
  min-width: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
  visibility: hidden;
  z-index: 0;
}

.elementor-widget-slides .swiper-slide.ww-slide-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  z-index: 1;
}

.elementor-widget-slides .swiper-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.elementor-widget-slides .swiper-slide-inner {
  position: relative;
  display: flex;
  width: 100%;
  min-height: inherit;
}

.elementor-widget-slides .swiper-pagination {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
}

.ww-slide-dot {
  width: 0.7rem;
  height: 0.7rem;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.ww-slide-dot[aria-current="true"] {
  background: currentColor;
}

.ww-carousel-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.ww-carousel-track {
  display: flex !important;
  width: 100%;
  gap: var(--ww-carousel-gap, 0px);
  transform: translate3d(var(--ww-carousel-offset, 0px), 0, 0) !important;
  transition: transform 500ms ease !important;
  will-change: transform;
}

.ww-carousel-slide {
  min-width: 0;
}

.ww-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.ww-carousel-controls[hidden],
.ww-carousel-pagination[hidden] {
  display: none !important;
}

.ww-carousel-arrow {
  min-height: 2.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.ww-carousel-arrow:disabled {
  opacity: 0.5;
  cursor: default;
}

.ww-carousel-pagination {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}

.ww-menu-toggle,
.ww-mobile-navigation {
  display: none;
}

.site-static-form-message,
.site-static-form-notice,
.site-transaction-note {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid #252525;
  background: #f2f2f2;
  color: #202020;
  font-size: 1rem;
  line-height: 1.6;
}

.site-transaction-note {
  border-left-color: #8f3d62;
  background: #fff5f8;
}

.site-newsletter-status:not([hidden]) {
  display: block;
  width: 100%;
  margin: 0.75rem 0 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid #8f3d62;
  background: #fff5f8;
  color: #202020;
  font-size: 0.95rem;
  line-height: 1.5;
}

.site-newsletter-status[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  header[data-elementor-type="header"] .elementor-element-962619c {
    position: relative;
    z-index: 20;
  }

  header[data-elementor-type="header"] .elementor-element-20900a1 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 2.75rem;
  }

  .ww-menu-toggle {
    display: flex;
    width: 2.75rem;
    height: 2.75rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    padding: 0.5rem;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }

  .ww-menu-toggle {
    color: #171717;
  }

  .ww-menu-toggle span {
    display: block;
    width: 1.4rem;
    height: 2px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .ww-menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(0.43rem) rotate(45deg);
  }

  .ww-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .ww-menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-0.43rem) rotate(-45deg);
  }

  .ww-mobile-navigation:not([hidden]) {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: block;
    padding: 0.75rem 1.25rem 1rem;
    background: #fff;
    color: #171717;
    box-shadow: 0 0.75rem 1.5rem rgb(0 0 0 / 12%);
  }

  .ww-sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .ww-mobile-navigation .ww-menu-list {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .ww-mobile-navigation .ww-menu-list a {
    display: block;
    padding: 0.75rem 0.25rem;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ww-menu-list a,
  .elementor-widget-slides .swiper-slide,
  .ww-menu-toggle span {
    transition: none;
  }

  .ww-carousel-track {
    transition: none !important;
  }
}

/* The static desktop navigation occupies the former two-menu row. */
@media (min-width: 768px) {
  header[data-elementor-type="header"] .elementor-widget-ekit-nav-menu:has(.ww-static-menu) {
    width: 100%;
    flex: 1 1 100%;
  }

  .ww-static-menu .ww-menu-list {
    justify-content: center;
  }

  .ww-static-menu a {
    white-space: nowrap;
  }
}

.elementor-background-video-container {
  container-type: size;
}

.elementor-background-video-container > iframe.elementor-background-video-embed {
  width: max(100cqw, calc(100cqh * 16 / 9));
  height: max(100cqh, calc(100cqw * 9 / 16));
  border: 0;
}

/* The original home cover shows only the brand and account link on desktop. */
@media (min-width: 768px) {
  body.home .elementor-location-header .elementor-element-4461862 {
    visibility: hidden;
    height: 40px;
  }
}

/* The home cover is one viewport high. Fit a centered 16:9 player to it. */
body.home .elementor-background-video-container > iframe {
  width: max(100%, 177.77778vh);
  height: max(100%, 56.25vw);
  max-width: none;
}

.ww-posts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ww-posts a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.ww-posts img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ww-posts svg { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; }
@media (max-width: 767px) {
  .ww-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ww-posts a:nth-child(n+7) { display: none; }
}
