/**** PLACES-CONTAINER ****/
.places-container{
    width: 100%;
    min-width: 460px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
}

.best-place{
    margin: 0 auto;
}
.best-place__title{
    font-family: "Inter";
    font-size: 1.2rem;
    text-align: center;
    color: rgb(46, 46, 46);
    font-weight: normal;
}

/** CARDS **/
.best-place__content{
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.best-place__card{
    width: 350px;
    border: 1px solid #eceeeb;
    border-radius: 5px;
}
.card__img{
    width: 100%;
    height: 100%;
    border-radius: 5px;
}
/** CARD-HEADER **/
.card__header{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Inter";
    border-bottom: 1px solid #eceeeb;
}
.icon__cont{
    display: none;
}
.card__title{
    font-size: 1rem;
    font-weight: normal;
    color: #2c3e50;
    margin-bottom: 5px;
}
.card__subtitle{
    font-size: 0.875rem;
    margin-top: 0;
    color: #a5a4a4;
    font-weight: normal;
    font-family: "Monserrat";
    font-style: italic;
}

/** CARD-MAIN **/
.card__main{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}
.card__texts{
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Inter";
    font-size: 0.9rem;
}
.card__icon{
    color: #c82b2b;
    font-weight: normal;
}
.card__text{
    color: #087dc2;
}

/* BOTON con Efecto Zoom */
.card__btn {
    position: relative;
    padding: 10px 5px;
    background-color: #7cb342;
    border: none;
    border-radius: 5px;
    font-size: 0.8rem;
    font-family: "Inter";
    transition: color 0.4s;
    overflow: hidden;
}

.card__btn:hover {
    color: #fff;
}

.card__btn::before {
    content: 'Ver más detalles';
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(5);
    color: #fff;
    background-color: #087dc2;
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
    z-index: 2;
}

.card__btn:hover::before {
    opacity: 1;
    transform: scale(1);
}

.card__link {
    position: relative;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.4s;
}

.card__btn:hover .card__link {
    opacity: 0;
}