/* Postloop style: sedi — Virgin Active-like location cards */

.wh-carousel--sedi {
  --wh-sedi-gap: 0.5rem;
  padding-inline: 0;
}

.wh-carousel--sedi .wh-carousel__stage {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.wh-carousel--sedi .wh-carousel__swiper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.wh-carousel--sedi .wh-carousel__nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.wh-carousel--sedi .wh-carousel__nav.swiper-button-next,
.wh-carousel--sedi .wh-carousel__nav.swiper-button-prev {
  position: absolute;
  inset: auto;
  margin-top: 0;
}

.wh-carousel--sedi .wh-carousel__nav:hover,
.wh-carousel--sedi .wh-carousel__nav:focus-visible {
  background: rgb(0 0 0 / 35%);
  opacity: 1;
}

.wh-carousel--sedi .wh-carousel__prev {
  left: 0.35rem;
}

.wh-carousel--sedi .wh-carousel__next {
  right: 0.35rem;
}

.wh-carousel--sedi .swiper-slide {
  height: auto;
}

.wh-sedi-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 28rem;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #1a1a1a;
  background-image: var(--wh-card-image);
  background-position: center;
  background-size: cover;
  text-decoration: none;
  color: #fff;
}

.wh-sedi-card--placeholder {
  background-image: none;
}

.wh-sedi-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(0 0 0 / 8%) 35%,
    rgb(0 0 0 / 55%) 68%,
    rgb(0 0 0 / 82%) 100%
  );
  pointer-events: none;
}

.wh-sedi-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  padding: 1.35rem 1.25rem 1.5rem;
}

.wh-sedi-card__tier {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.wh-sedi-card__title {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
}

.wh-sedi-card__address {
  font-size: 0.92rem;
  line-height: 1.4;
  opacity: 0.92;
}

.wh-sedi-card:hover .wh-sedi-card__overlay,
.wh-sedi-card:focus-visible .wh-sedi-card__overlay {
  background: linear-gradient(
    180deg,
    rgb(0 0 0 / 18%) 30%,
    rgb(0 0 0 / 62%) 68%,
    rgb(0 0 0 / 88%) 100%
  );
}

@media (max-width: 767px) {
  .wh-sedi-card {
    min-height: 22rem;
  }

  .wh-carousel--sedi .wh-carousel__nav {
    width: 2.25rem;
    height: 2.25rem;
  }
}
