.hero-directories {
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.featured-tenants-carousel,
.featured-tenants-carousel .carousel-item,
.featured-tenants-carousel .carousel-background {
  height: 100%;
  width: 100%;
}

.carousel-background {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 96px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.carousel-content {
  position: relative;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}

.tenant-details {
  max-width: 640px;
}

.hero-directories .tenant-meta-wrapper {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin-bottom: 12px;
}

.tenant-title {
  margin-bottom: 12px;
}

.tenant-hours {
  display: flex;
  gap: 2rem;
}

/* Slick carousel customization */
.slick-dots {
  bottom: 25px;
  z-index: 10;
}

.slick-dots li button:before {
  color: white;
  font-size: 12px;
  opacity: 0.7;
}

.slick-dots li.slick-active button:before {
  color: white;
  opacity: 1;
}

.slick-prev,
.slick-next {
  z-index: 10;
  width: 50px;
  height: 50px;
}

.slick-prev {
  left: 25px;
}

.slick-next {
  right: 25px;
}

.slick-prev:before,
.slick-next:before {
  font-size: 30px;
  opacity: 0.8;
}

.tenant-featured-product {
  background-color: var(--color-green-light);
  border-radius: 24px;
  padding: 24px;
}

.tenant-featured-product img {
  max-height: 320px;
  border-radius: 16px;
}

.tenant-featured-product .product-title {
  margin-top: 24px;
  margin-bottom: 6px;
  color: var(--color-brown-dark);
}

/* List Tenant Directories ************* */

.tenant-filters {
  margin-bottom: 48px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.filter-title {
  font-weight: 600;
}

.filter-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.filter-btn {
  opacity: 0.7;
  color: var(--color-brown-dark);

  cursor: pointer;
  transition: all 0.3s ease;
  background: unset;
  border: unset;

  font-size: 1.33em;
  font-weight: 600;
}

.filter-btn.active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.no-results-message {
  width: 100%;
  padding: 30px;
  text-align: center;
  background-color: #f8f8f8;
  border-radius: 4px;
}

.tenant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.tenant-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 400px;
  padding: 40px;
}

.tenant-card .tenant-top-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.tenant-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tenant-card .tenant-info .tenant-name {
  font-weight: 600;
  text-transform: uppercase;
}

.tenant-card .tenant-info .operations-day-hours {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 16px;
}

.tenant-card .tenant-term {
  width: fit-content;
}

.tenant-card .tenant-bot-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-end;
}

.tenant-card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.tenant-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.tenant-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.tenant-top-row {
  display: flex;
  justify-content: space-between;
}

.tenant-bot-row {
  margin-top: auto;
}

.operations-day-hours {
  display: flex;
  flex-direction: column;
}

.pagination-container {
  text-align: center;
}

.pagination-container .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 4px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-brown-dark);
}

.pagination-container .current {
  background-color: var(--color-brown-dark);
  color: var(--color-green-light);
}

/* 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) {
  .tenant-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {
  .hero-directories .carousel-content {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .tenant-featured-product {
    padding: 16px;

    width: 60%;
    margin-bottom: 24px;
  }

  .tenant-featured-product img {
    max-width: 100%;
  }

  .tenant-featured-product .product-title {
    margin-top: 12px;
  }

  .hero-directories .tenant-meta-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .carousel-background {
    padding-bottom: 24px;
  }

  #about-directory .directory-wrapper {
    flex-direction: column;
    gap: 24px;
  }
  #about-directory .directory-wrapper .column-left,
  #about-directory .directory-wrapper .column-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  #directory-list .tenant-filters {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .tenant-filters .filter-wrapper {
    gap: 12px;
  }

  .tenant-filters .filter-btn {
    padding: 0;
    font-size: 1.15em;
  }

  .tenant-grid {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }

  #directory-list .tenant-card {
    min-height: 320px;
    padding: 32px 24px;
  }

  .tenant-card .tenant-top-row {
    align-items: flex-start;
  }

  .tenant-card .tenant-info {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .tenant-card .tenant-info .operations-day-hours {
    flex-direction: column;
    gap: 0px;
  }

  #directory-list .tenant-content .tenant-top-row {
    align-items: flex-start;
  }
  #directory-list .tenant-content .tenant-top-row .tenant-info {
    flex-grow: 1;
  }

  #directory-list .tenant-content .tenant-bot-row {
    margin-top: 48px;
  }
}
