/*estilos generales para catalogo de pueblos magicos*/
body{
    font-family: Montserrat !important;
    background-color: #FAFBFF;
}

div.pueblos-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 18px;
}

img.pueblo-img {
    border-radius: 6px 6px 0 0;
}

/* Para la descripción multi línea  */
.card-text {
    display: inline-block;
    height: 76px;
    overflow: hidden;
    text-overflow: clip;
    word-break: break-word;
    text-align: justify;
}

div.card-footer {
    border-top: none!important;
}

.card-footer .card-link {
    color: #DC3545;
}

.hero{
    margin-top: -80px;
    background-image: url('/assets/media/pueblos/Banner_Pueblos_Mágicos.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

.img-logo-pueblo{
    margin-top: 150px;
    margin-bottom: 100px;
    width: 400px;
}

.hero .title{
    height: 350px;
}

.hero .title .h1{
    font-size: 60px;
    color: white;
    margin-top: 300px;
}

.sub-title{
    font-size: 35px;
    font-weight: 700px;
    padding: 50px 30px;
    padding-bottom: 10px;
}

.description{
    text-align: center;
    font-size: 17px;
    padding-bottom: 50px;
}

/*cards*/
.img-card{
    height: 200px;
}

a .card-title{
    font-size: 20px;
    font-weight: 700;
    color: #383838;
}

/*telefonos*/
@media only screen and (max-width: 600px) {


    .pueblos-container{
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .hero{
        background-image: url('/assets/media/pueblos/background_mobile.webp');

    }

    .img-logo-pueblo{
        width: 100% !important;
        visibility: hidden;
    }
}

@media only screen and (min-width:600px) and (max-width: 999px){

    .pueblos-container{
        grid-template-columns: repeat(2, 1fr) !important;
    }

}
