.facilities-opendoor-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  /* margin-bottom: 3rem; */
}

.facility-gallery-card {
  background-color: var(--color-brown-medium);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  padding: 32px;
  height: auto;
}

.facility-gallery-card .facility-header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.facility-gallery-card .facility-header .carousel-arrow {
  background-color: transparent;
  border: unset;
}

.facility-gallery-card .facility-header .carousel-arrows {
  width: unset;
}

.facility-gallery-card .facility-gallery-slider {
  margin-bottom: unset !important;
}

.facility-gallery-card .facility-gallery-slider .slick-dots {
  position: relative;
  bottom: unset !important;
  margin-top: 12px;
}

.facility-gallery-card .gallery-item {
  border-radius: 16px;
}

.facility-gallery-container {
  position: relative;
}

.facility-gallery-slider {
  width: 100%;
}

.facility-gallery-card .facility-gallery-slider .slick-dots li.slick-active button {
  background: var(--color-green-medium);
}

.facility-gallery-card .facility-gallery-slider .slick-dots li button {
  background: var(--color-green-light);
}

.gallery-item {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.no-gallery {
  padding: 2rem;
  text-align: center;
  color: #666;
}

/* Slick customization */
.facility-gallery-slider .slick-dots {
  bottom: 15px;
  position: absolute;
  text-align: center;
  width: 100%;
  padding: 0;
  margin: 0;
}

.facility-gallery-slider .slick-dots li {
  display: inline-block;
  margin: 0 4px;
}

.facility-gallery-slider .slick-dots li button {
  background: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  padding: 0;
  text-indent: -9999px;
  cursor: pointer;
  transition: background 0.2s;
}

.facility-gallery-slider .slick-dots li.slick-active button {
  background: #ffffff;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

/* XXL Screens (1800px and up) */
@media (min-width: 1800px) {
}

/* XL Screens (1600px-1799px) */
@media (min-width: 1600px) and (max-width: 1799px) {
}

/* Large Screens (1400px-1599px) */
@media (min-width: 1400px) and (max-width: 1599px) {
}

/* Medium-Large Screens (1200px-1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
}

/* Small-Medium Screens (max-width: 1199px) */
@media (max-width: 1199px) {
}

/* Small Screens (max-width: 992px) */
@media (max-width: 992px) {
}

/* Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {
  .facilities-opendoor-wrapper {
    grid-template-columns: 1fr;
  }

  .facility-gallery-card {
    padding: 24px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .carousel-arrow img {
    width: 40px;
    height: 40px;
  }

  .facilities-opendoor-wrapper .text-3xl {
    font-size: 1.777em;
  }

  .facility-gallery-card .facility-header {
    display: flex;
    margin-bottom: 8px;
  }
}
