#features-list li {
  font-size: 1rem;
  line-height: 1.4;
}

.sala-form {
  box-shadow: 0 5px 20px -10px rgba(0,0,0,0.5);
  border-radius: 1rem;
  overflow: hidden;
  padding: 1rem;
}

.sala-form img.bg {
  width: calc( 100% + 2rem);
  height: auto;
  object-fit: cover;
  aspect-ratio: 2 / 1;
  margin: -1rem;
  filter: grayscale(1);
  margin-bottom: 1rem;
}

.card {
  position: relative;  
  margin-bottom: var(--bs-gutter-x);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 20px -10px rgba(0,0,0,0.5);
}
  .card > img {
    filter: grayscale(1);
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  .card > div {
    width: 100%;
    z-index: 1;
    padding: 1rem;    
  }
    .card > div > h2 {
      color: black;
      font-weight: 600;
      font-size: calc( 0.7vw + 1.3vh );
      text-align: center;
      margin: 1rem auto;
    }
    .card > div > p {      
      min-height: 100px;
    }
    .card > div > a {
      margin: 2rem auto 1rem auto;
      font-size: 0.8rem;
      max-width: 120px;
      padding: 0.4rem 0.8rem;
      font-weight: 600;
      background: #f2f2f2;
    }

@media screen and (max-width: 767px) {  
  .card > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .card > div {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-direction: column;
    width: calc(70vw - 3rem);
    aspect-ratio: 1 / 1.6;
  }
  .card > div > h2 {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: white;
  }
  .card > div > p {
    display: none;
  }  
  .card > div > a {
    margin: 0;    
  }
}

#modal-espacio {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 99;
}
  #modal-espacio > div {
    width: 1100px;
    max-width: calc( 100vw - 20px );
    height: auto;
    max-height: calc( 100vh - 20px );
    background: white;
    border-radius: 1rem;    
    position: relative;
    overflow: hidden;
  }
  #modal-espacio > div a {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    font-weight: 600;
  }
  #modal-espacio > div .close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: black;
    background: white;
    border-radius: 50%;
    border: none;
    box-shadow: 2px 2px 10px -5px rgba(0,0,0,0.5);    
    width:30px;
    height:30px;
    padding: 0;
    margin: 0;
    line-height: 1;
    z-index: 1;
    transition-duration: 0.3s;
  }
    #modal-espacio > div .close-modal > i {
      margin: 0;
      line-height: 1;
      vertical-align: middle;
    }
    #modal-espacio > div .close-modal:hover {
      color: white;
      background: black;
    }
  #modal-espacio > div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1)
  }
  #modal-espacio > div h3 {
    font-weight: 600;;
  }
  #modal-espacio > div ul > li {
    font-size: 1rem;
    line-height: 1.2;
  }  

@media screen and (max-width: 767px) {
  #modal-espacio > div img {
    object-fit: 1 / 1;
    aspect-ratio: 2 / 1;
    height: auto;
  }
  #modal-espacio > div ul {
    max-height: 67%;
    overflow-y: auto;
    padding-right: 0.5rem;
  }
}


#modal-espacio > div ul::-webkit-scrollbar {
  width: 2px;  
}

#modal-espacio > div ul::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
#modal-espacio > div ul::-webkit-scrollbar-thumb {
  background: #666; 
}

#modal-espacio > div ul::-webkit-scrollbar-thumb:hover {
  background: #777; 
}