/* ===================================
   4-Grid Card Layout
   =================================== */

.cardgrid-4grid {
  color: white;
  padding-block: 0px 80px;
}

.cardgrid-4grid .textContent {
  height: 100%;
  align-items: center;
}

.cardgrid-4grid .textContent .title {
  margin-bottom: auto;
  margin-top: auto;
  text-align: center;
  text-shadow: 0px 0px 9px #000000;
  font-weight: 500;
  font-size: 26px;
  line-height: 34px;
}


.cardgrid-4grid .cardgrid-tile {
  width:calc(50% - 20px)!important;
  height: auto !important;
  margin-bottom: 0px !important;
}

.cardgrid-4grid .cardgrid-flex {
  max-width: var(--container);
  /* margin: -24px auto 0 !important; */
  gap: 16px;
  row-gap: 40px;
}
@media(min-width: 1221px){
  div .cardgrid-4grid .cardgrid-flex {
    margin-right: -50px;
    max-width: calc(var(--container) + 50px);
  }
}

/* ===================================
   Card Grid Whole Image Styles
   =================================== */

.cardGridWholeImage {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: none;
}

.cardGridWholeImage img.backgroundImage {
  object-fit: cover;
  position: relative !important;
}

.cardGridWholeImage .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.cardGridWholeImage .content {
  position: absolute;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 40px;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 66.45%);
}

.cardGridWholeImage .textContent {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left !important;
  position: relative;
}

.cardGridWholeImage .logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #fef3c7;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: -70px;
}

.cardGridWholeImage .description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 22px;
  margin: 0;
  text-align: left !important;
}
div .cardgrid-4grid.cardgrid-bg{
  padding-bottom: 50px;
}

/* ===================================
   Desktop Styles (min-width: 1201px)
   =================================== */

@media (min-width: 1201px) {
  .amenity-container {
    position: relative;
  }
  
}


/* ===================================
   Mobile Styles
   =================================== */

@media (max-width: 992px) {
  div .cardgrid-4grid.cardgrid-bg{
    padding-bottom: 40px;
  }
  .cardgrid-4grid .cardgrid-tile {
    width: 100vw !important;
    /* height: 105vw !important; */
    padding-inline: 0px !important;
  }

  .cardgrid-4grid .cardgrid-tile .cardGridWholeImage {
    height: 100%;
  }

  div.cardgrid-4grid div.cardgrid-flex {
    gap: 10px !important;
    max-width: unset !important;
    margin: -60px 0 0 !important;
  }

  div.cardgrid-4grid {
    padding-bottom: 40px !important;
  }
}
