/* Shared public section headings and event-carousel controls. */
:is(.wf-discovery, .wf-event-community) .section-title {
  margin-bottom: 0px;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 1000;
  color: var(--wf-ink);
  font-family: "Archivo Black", "Arial Black", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
}

:is(.wf-discovery, .wf-event-community) .wf-carousel-nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 40;
}

:is(.wf-discovery, .wf-event-community) .wf-carousel-nav.is-hidden {
  visibility: hidden;
}

:is(.wf-discovery, .wf-event-community) .wf-carousel-navBtn {
  position: absolute;
  top: 50%;
  width: 21px;
  height: 21px;
  border: 3px solid #000;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms ease, transform 150ms ease;
}

:is(.wf-discovery, .wf-event-community) .wf-carousel-navBtn--prev {
  left: 8px;
  transform: translate(-3px, -50%);
}

:is(.wf-discovery, .wf-event-community) .wf-carousel-navBtn--next {
  right: 8px;
  transform: translate(3px, -50%);
}

:is(.wf-discovery, .wf-event-community) .wf-carousel-navBtn.is-visible {
  opacity: 1;
  visibility: visible;
}

:is(.wf-discovery, .wf-event-community) .wf-carousel-navBtn.is-visible.wf-carousel-navBtn--prev,
:is(.wf-discovery, .wf-event-community) .wf-carousel-navBtn.is-visible.wf-carousel-navBtn--next {
  transform: translate(0, -50%);
}

:is(.wf-discovery, .wf-event-community) .wf-carousel-nav.is-swiping .wf-carousel-navBtn.is-visible {
  opacity: 0;
}

:is(.wf-discovery, .wf-event-community) .wf-carousel-navBtn:disabled {
  pointer-events: none;
}

:is(.wf-discovery, .wf-event-community) .wf-carousel-navBtn:focus-visible,
:is(.wf-discovery, .wf-event-community) .wf-carousel-navBtn:hover {
  outline: none;
  background: #fff;
  color: #000;
  border-color: #000;
  box-shadow: none;
}

:is(.wf-discovery, .wf-event-community) .wf-carousel-navIcon {
  width: 12px;
  height: 12px;
  line-height: 0;
  display: inline-flex;
}

:is(.wf-discovery, .wf-event-community) .wf-carousel-navIcon svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (min-width: 768px) {
  :is(.wf-discovery, .wf-event-community) .wf-carousel-navBtn {
    width: 34px;
    height: 34px;
  }

  :is(.wf-discovery, .wf-event-community) .wf-carousel-navIcon {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 767px) {
  :is(.wf-discovery, .wf-event-community) .wf-carousel-nav {
    display: none !important;
  }

  :is(.wf-discovery, .wf-event-community) .wf-carousel-navBtn {
    width: 34px;
    height: 34px;
  }

  :is(.wf-discovery, .wf-event-community) .wf-carousel-navIcon {
    width: 16px;
    height: 16px;
  }
}
