.venue-slider-section {
  padding: 60px 0;
  background-color: #000014;
  color: #ffffff;
}

.venue-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 0px;
  width: 100%;
  flex-direction: row;
}

.venue-slider-title {
  font-size: 54px;
  line-height: 56px;
  font-family: "playfair display", serif;
  font-weight: 700;
  margin: 0 0 25px 0;
  color: #ffffff;
  flex: 1;
}

.venue-slider-subtitle {
  font-size: 18px;
  line-height: 25px;
  font-weight: 300;
  color: #FFFFFF;
  margin: 0;
  flex-basis: 100%;
}

.venue-slider-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  justify-content: flex-end;
  margin-bottom: 45px;
}

.venue-nav-btn {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.20);
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transform: rotate(45deg);
  padding: 10px;
}

.venue-nav-btn svg {
  transform: rotate(-45deg);
  /* arrow stays straight */
}


.venue-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.venue-slider-wrapper {
  overflow: hidden;
  margin: 0 -15px;
}

.venue-slider {
  padding: 0 15px;
}

.venue-slider .swiper-wrapper {
  display: flex;
}

.venue-slide {
  height: auto;
  padding: 10px 0px;
}

/* MAIN CARD */

.venue-card {
  display: block;
  position: relative;
  overflow: visible;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  height: 500px;
  background: #1a1a2e;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); */
  /* overflow: hidden; */
  z-index: 1;
  /* needed for ::before/::after stacking */
}

/* “PAPER” LAYERS BEHIND THE CARD (like your Squarespace snippet) */

.venue-card::before,
.venue-card::after {
  content: '';
  position: absolute;
  inset: 20px;
  /* how far inside the card the papers sit */
  border-radius: 0px;
  /* box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); */
  z-index: -1;
  /* stay behind the card */
  pointer-events: none;
  transform-origin: center;
  transition:
    transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.45s ease;
  opacity: 1;
}

.venue-card::before {
  background: #F2E3B9;
  /* like <div class="paper-card" style="background:#F2E3B9"> */
  transform: translate(0px) rotate(0deg);
}

.venue-card::after {
  background: #ffffff;
  /* like the white paper-card */
  transform: translate(0px) rotate(0deg);
}

/* On hover, only the papers rotate / shift a bit more */
.venue-card:hover::before {
  transform: translate(-16px, 16px) rotate(-5deg);
}

.venue-card:hover::after {
  transform: translate(16px, -16px) rotate(4deg);
}

/* IMAGE & CONTENT – no transform animation, just static */

.venue-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  border-radius: 2px;
  overflow: hidden;
}

.venue-card-image:after {
  background-color: rgba(0, 0, 0, 0.1) !important;
  content: "";
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  position: absolute;
}

.venue-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay content like your info-slide */

.venue-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  margin: 24px;
  z-index: 3;
  background: black;
  border-radius: 8px;
  background: rgba(1, 1, 7, 0.27);
  backdrop-filter: blur(10px);


}

.venue-location {
  display: flex;
  align-items: center;
  gap: 12px;

  text-transform: uppercase;
  margin-bottom: 27px;
  color: #FFFFFF;
  font-weight: 500;
}

.venue-location p {
  margin: 0;
  padding: 0%;
  font-size: 15px;
  letter-spacing: 0.5px;
  line-height: 21px;
}

.venue-location svg {
  flex-shrink: 0;
}

.venue-card-title {
  font-size: 25px;
  font-weight: 500;
  margin: 0 0 16px 0;
  color: #ffffff;
  line-height: 27px;

}

.venue-card-subheading {
  font-size: 18px;
  line-height: 25px;
  font-weight: 300;
  color: #fff;
  margin: 0;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .venue-slide {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 991.98px) {
  .venue-slide {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 767.98px) {
  .venue-slider-section {
    padding: 50px 0;
    padding-bottom: 20px;
  }

  .venue-slider-title {
    font-size: 35px;
    line-height: 36px;
    margin-bottom: 15px;
  }

  .venue-slider-header {
    margin-bottom: 30px;
  }



  .venue-card {
    height: 400px;
  }



  .venue-slider-nav {
    gap: 16px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    margin-bottom: 0;
    margin-top: 20px;
  }

  .venue-slider-container {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
  }

  .venue-location p {
    font-size: 12px;
    line-height: 18px;
  }

  .venue-location {
    gap: 7px;
    margin-bottom: 12px;
  }

  .venue-card-title {
    font-size: 20px;
    margin: 0 0 8px 0;
    line-height: 24px;
  }

  .venue-card-subheading {
    font-size: 16px;
    line-height: 22px;
  }

  .venue-card-content {
    padding: 14px;
    margin: 12px;
  }
}

@media (max-width: 540.98px) {

  .venue-slide {
    flex: 0 0 100%;
  }

  .venue-slider-title {
    font-size: 35px;
    line-height: 36px;
    margin-bottom: 15px;
  }

  .venue-slider-header {
    margin-bottom: 30px;
  }

  .venue-location p {
    font-size: 13px;
    line-height: 18px;
  }

  .venue-location {
    gap: 7px;
    margin-bottom: 12px;
  }

  .venue-card-title {
    font-size: 22px;
    margin: 0 0 8px 0;
    line-height: 24px;
  }

  .venue-card-subheading {
    font-size: 16px;
    line-height: 22px;
  }

  .venue-card-content {
    padding: 12px;
    margin: 24px;
  }

}