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

.hero{
    margin-top: -80px;
    background-image: url('/assets/media/barrios/background.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero .title{
    height: 350px;
}

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

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

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

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

img.barrio-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;
}

/*estilos de las cards*/
div.card-footer {
    border-top: none!important;
}

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

a .card-title{
    font-size: 20px;
    font-weight: 700;
    color: #383838;
}
/*fin estilos de las cards*/


/*telefonos*/
@media only screen and (max-width: 600px) {
    .catalogos-title {
        margin-top: 120px !important;
    }

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

    .hero{
        background-image: url('/assets/media/barrios/Banner_prici_mobile.webp');
       
    }

    .h1{
        visibility: hidden;
    }
    .sub-title{
        display: none;
    }
    .description{
        margin-top: 50px;
    }
}