@import url(./variables.css
);

.blog-section {
    background-image: url('../svg/gradiente-verde.svg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    min-height: 100vh;
    /* Mejor que height: 100vh para que crezca si hay más contenido */
    position: relative;
    overflow: hidden;
}

.blog-title {
    margin-top: 30px;
    font-size: 4rem;
    color: #fff;
    letter-spacing: 2px;
}

.blog-subtitle {
    color: #efefef;
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1;
}

.title-notion {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 15px;
    color: #ffffff;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;

    /* Fondo con degradado diagonal (esquina a esquina) */
    /* background: linear-gradient(135deg, rgba(126,193,31,0.20) 0%, rgba(11,45,24,0.20) 100%); */

    /* Borde blanco visible y suave */
    border: 1px solid rgba(255, 255, 255, 0.95);
    /* Mejora renderizado de la tipografía */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Opcional: efecto de vidrio si quieres un poco de difuminado detrás */
    /* backdrop-filter: blur(4px); */
}


.text-green {
    color: #7ec11f;
    font-weight: 600;
}

.blog-card {

    border-radius: 18px;
    padding: 1.5rem 1rem 1.5rem 1rem;

    width: 100%;
    max-width: 340px;
    justify-content: flex-start;
}

.blog-card-header {
    width: 100%;
    min-height: 48px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0.5rem;
    justify-content: center;
}

.coworking-bg {
    background: none;
    color: #fff;
}

.rental-bg {
    background: none;
    color: #fff;
}

.investments-bg {
    background: none;
    color: #fff;
}

.blog-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tag2 {
    width: 75% !important;
}

.blog-img {
    width: 100%;
    max-width: 260px;
    object-fit: cover;
    border-radius: 12px;
    /* filter: grayscale(0.8); */
    margin-bottom: 0.5rem;
}


.blog-card-text {
    line-height: 0.9;
    color: #efefef;
    font-size: 1.05rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.blog-btn {
    text-decoration: none;
    display: inline-block;
    background: transparent;
    color: #fff;
    border: 2px solid #7ec11f;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s, color 0.2s;
    margin-top: 15px;
    margin-bottom: auto;
}

.blog-btn:hover {
    background: #7ec11f;
    color: #232323;
}


.blog-img1,
.blog-img3 {
    width: 200px;
    margin-bottom: 15px;
}

.blog-img2 {
    width: 150px;
    margin-bottom: 15px;

}

.blog-card {
    transition:
        transform 0.3s cubic-bezier(.4, 2, .6, 1),
        background 0.3s,
        box-shadow 0.3s;
    will-change: transform, background, box-shadow;
}

/* Efecto de deslizar hacia arriba */
.blog-card:hover {
    transform: translateY(-12px) scale(1.03);
}


.esfera-izq,
.esfera-der1,
.esfera-der2 {
    position: absolute;
    width: 420px;
    height: 400px;
    z-index: 0;
    pointer-events: none;
    background-size: cover;
    background-repeat: no-repeat;

}

/* Esfera izquierda inferior */
.esfera-izq {
    display: none;
    right: 150px;
    bottom: -40px;
    /* background-image: url('../svg/gradiente-verde.svg');
    background-size: 30rem;
    width: 50rem; */
}

/* Esfera derecha superior */
.esfera-der1 {
    display: none;
    left: -175px;
    top: 15%;
    /* background-image: url('../svg/gradiente-amarillo.svg');
    background-size: 30rem;
       width: 50rem;
    height: 40rem */
}

/* Esfera derecha inferior */
.esfera-der2 {
    display: none;
    right: -205px;
    bottom: 100px;
    height: 510px !important;
    background-image: url('../svg/gradiente-gris.svg');
    background-size: 30rem;
}

.unidad-sub-2 {
    display: none;
}

.img1-2,
.img2-2,
.img3-2 {
    display: none;
}

@media (max-width: 991.98px) {}

@media (max-width: 990.98px) {
    .blog-subtitle {
        font-size: 1.2rem !important;
    }

    .title-notion {
        font-size: 1.2rem;
    }

    .esfera-der1,
    .esfera-der2,
    .esfera-izq {
        display: block;
    }

    body .img1,
    body .img2,
    body .img3 {
        display: none !important;
    }

    .img1-2,
    .img2-2,
    .img3-2 {
        display: block;
    }

    .blog-section {
        background-image: url('../img/unidades/BG_UNITS.png');
        background-size: cover;
        background-repeat: no-repeat;
        min-height: 100vh;
        /* Mejor que height: 100vh para que crezca si hay más contenido */
        position: relative;
        overflow: hidden;

    }

    .view .blog-section {
        background-image: url();
        padding-top: 60px !important;
        padding-bottom: 0 !important;
    }

    .blog-subtitle.unidad-sub-2 {
        display: block;
        font-weight: 200;
        margin-bottom: 55px !important;
        width: 374px;
    }

    .unidad-sub-1 {
        display: none;
    }

    .blog-card {
        max-width: 100%;
    }

    .blog-img {
        max-width: 100%;
        height: 118px;
    }

    .blog-title {
        font-size: 2rem;
    }

    .content-blog {
        height: 100vh;
        align-items: center;
        justify-content: center;
        display: flex;
        flex-direction: column;

    }

    .content-total {
        margin-top: 0px !important;
    }

    .blog-card-text {
        margin-top: 20px;
        width: 85% !important;
        text-align: center;
        font-size: 1.4rem;
    }

    .tag3 {
        margin-top: 0 !important;
    }

    .blog-subtitle {
        line-height: 0.9;
    }
}

@media (max-width: 767.98px) {
    .blog-title {
        margin-top: 0px !important;
    }

    .blog-card {
        min-height: 0px;
        padding: 1rem 0.5rem;
    }

    .blog-img {
        height: 118px;
    }


}

@media (max-width: 390px) {
    .blog-title {
        /* margin-top: 120px !important; */
        padding-top: 80px !important;
    }

    .blog-card {
        min-height: 0px;
        padding: 1rem 0.5rem;
    }

    .blog-img {
        height: 85px;
    }

    .title-notion {
        padding: 10px !important;
        margin-bottom: 90px;
    }

    .esfera-izq,
    .esfera-der1,
    .esfera-der2 {
        width: 340px;
        height: 322px;

    }

    .esfera-der2 {
        right: -150px;
        bottom: 27px;
    }
}