/* Homepage deals section, staggered two-column layout. Typography stays on Balivana tokens. */
.bv-home-editorial .home-deals {
  height: auto;
  padding: calc(96 / var(--base-size) * 100vw) calc(80 / var(--base-size) * 100vw) calc(140 / var(--base-size) * 100vw);
  overflow: visible;
}

.bv-home-editorial .home-deals .header-listing {
  position: relative;
  max-width: calc(760 / var(--base-size) * 100vw);
  margin: 0 auto calc(88 / var(--base-size) * 100vw);
  text-align: center;
}

.bv-home-editorial .home-deals .header-listing .title-wrapper,
.bv-home-editorial .home-deals .header-listing .description {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  width: auto;
}

.bv-home-editorial .home-deals .header-listing .description {
  margin: calc(18 / var(--base-size) * 100vw) 0 0;
  font-family: "Averia Serif Libre", Georgia, serif;
  font-size: calc(36 / var(--base-size) * 100vw);
  line-height: 1.15;
  letter-spacing: -0.018em;
}

.bv-home-editorial .home-deals .listing .swiper,
.bv-home-editorial .home-deals .listing .swiper-wrapper {
  position: static;
  height: auto;
}

.bv-home-editorial .home-deals .listing .swiper-wrapper {
  display: grid;
  grid-template-columns: calc(480 / var(--base-size) * 100vw) calc(440 / var(--base-size) * 100vw);
  justify-content: center;
  column-gap: calc(96 / var(--base-size) * 100vw);
  row-gap: calc(56 / var(--base-size) * 100vw);
  transform: none !important;
}

.bv-home-editorial .home-deals .activity-card-global,
.bv-home-editorial .home-deals .activity-card-global:nth-child(1),
.bv-home-editorial .home-deals .activity-card-global:nth-child(2),
.bv-home-editorial .home-deals .activity-card-global:nth-child(3),
.bv-home-editorial .home-deals .activity-card-global:nth-child(4),
.bv-home-editorial .home-deals .activity-card-global:nth-child(5) {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  width: 100%;
  margin: 0;
}

.bv-home-editorial .home-deals .activity-card-global:nth-child(even) {
  margin-top: calc(88 / var(--base-size) * 100vw);
}

.bv-home-editorial .home-deals .activity-card-global .thumbnail,
.bv-home-editorial .home-deals .activity-card-global:nth-child(1) .thumbnail,
.bv-home-editorial .home-deals .activity-card-global:nth-child(2) .thumbnail,
.bv-home-editorial .home-deals .activity-card-global:nth-child(3) .thumbnail,
.bv-home-editorial .home-deals .activity-card-global:nth-child(4) .thumbnail,
.bv-home-editorial .home-deals .activity-card-global:nth-child(5) .thumbnail {
  width: 100%;
  height: calc(320 / var(--base-size) * 100vw);
}

.bv-home-editorial .home-deals .activity-card-global:nth-child(1) .thumbnail,
.bv-home-editorial .home-deals .activity-card-global:nth-child(4) .thumbnail {
  height: calc(520 / var(--base-size) * 100vw);
}

.bv-home-editorial .home-deals .detail-footer {
  display: block;
  padding-top: calc(16 / var(--base-size) * 100vw);
  text-align: left;
}

.bv-home-editorial .home-deals .detail-footer .activity-price-container,
.bv-home-editorial .home-deals .detail-footer .button-action {
  display: none;
}

.bv-home-editorial .home-deals .home-deal-copy {
  margin: calc(10 / var(--base-size) * 100vw) 0 0;
  font-family: "DM Sans", sans-serif;
  font-size: calc(14 / var(--base-size) * 100vw);
  line-height: 1.45;
}

.bv-home-editorial .home-deals .home-deal-link {
  display: inline-block;
  margin-top: calc(12 / var(--base-size) * 100vw);
  color: inherit;
  font-family: "DM Sans", sans-serif;
  font-size: calc(13 / var(--base-size) * 100vw);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.bv-home-editorial .home-deals__note {
  position: relative;
  right: auto;
  bottom: auto;
  width: auto;
  max-width: calc(520 / var(--base-size) * 100vw);
  margin: calc(72 / var(--base-size) * 100vw) auto 0;
  text-align: center;
}

@media (max-width: 879px) {
  .bv-home-editorial .home-deals {
    padding: calc(48 / var(--base-size) * 100vw) calc(16 / var(--base-size) * 100vw) calc(72 / var(--base-size) * 100vw);
  }

  .bv-home-editorial .home-deals .header-listing .description {
    font-size: calc(22 / var(--base-size) * 100vw);
  }

  .bv-home-editorial .home-deals .listing .swiper-wrapper {
    grid-template-columns: 1fr;
  }

  .bv-home-editorial .home-deals .activity-card-global:nth-child(even) {
    margin-top: 0;
  }

  .bv-home-editorial .home-deals .activity-card-global .thumbnail,
  .bv-home-editorial .home-deals .activity-card-global:nth-child(1) .thumbnail,
  .bv-home-editorial .home-deals .activity-card-global:nth-child(4) .thumbnail {
    height: calc(240 / var(--base-size) * 100vw);
  }
}

/* Keep homepage deal copy in one vertical flow over the base editorial grid. */
.bv-home-editorial .home-deals .activity-card-global .detail-footer {
  display: block;
  grid-template-columns: none;
  align-items: initial;
}

.bv-home-editorial .home-deals .activity-card-global .detail-footer .header,
.bv-home-editorial .home-deals .activity-card-global .home-deal-copy,
.bv-home-editorial .home-deals .activity-card-global .home-deal-link {
  width: 100%;
}

/* Keep the uploaded 16:9 private-driver source sharp instead of stretching it into the editorial card heights. */
.bv-home-editorial .home-deals .home-deal-card--private-driver-booking .thumbnail {
  height: auto;
  aspect-ratio: 16 / 9;
}

.bv-home-editorial .home-deals .home-deal-card--private-driver-booking .thumbnail figure {
  width: 100%;
  height: 100%;
  margin: 0;
}

.bv-home-editorial .home-deals .home-deal-card--private-driver-booking .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
