/* =====================================================
   BLOG BANNER
===================================================== */

.blog-banner {
    position: relative;
    width: 100%;
    min-height: 40vh;
    padding: 35px 0;
    overflow: hidden;

    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 42%,
        #f6fbf8 72%,
        #eef7f4 100%
    );
}


/* CONTENEDOR */

.blog-banner-inner {
    position: relative;

    min-height: 40vh;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =====================================================
   TEXTO
===================================================== */

.blog-banner-text {
    position: relative;
    z-index: 5;

    width: 48%;

    padding-left: 25px;
}


.blog-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 18px;

    margin-bottom: 18px;

    border-radius: 50px;

    background: #eef7f1;

    color: #2e8068;

    font-size: 14px;
    font-weight: 600;
}


.blog-banner-tag i {
    color: #58bdb7;
}


/* TITULO */

.blog-banner-text h1 {
    margin: 0;

    max-width: 500px;

    color: #23463d;

    font-size: 56px;
    line-height: 1.05;

    font-weight: 700;
}


.blog-banner-text h1 span {
    display: block;

    color: #58bdb7;
}


/* DESCRIPCIÓN */

.blog-banner-text p {
    max-width: 430px;

    margin: 22px 0 0;

    color: #5e6763;

    font-size: 16px;
    line-height: 1.7;
}


/* =====================================================
   IMAGEN
===================================================== */

.blog-banner-image {
    position: relative;

    width: 52%;
    min-height: 340px;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* Mancha acuarela */

.blog-banner-image::before {
    content: "";

    position: absolute;

    width: 480px;
    height: 360px;

    top: 50%;
    right: -30px;

    transform: translateY(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(88, 189, 183, 0.25) 0%,
            rgba(88, 189, 183, 0.10) 45%,
            transparent 72%
        );

    filter: blur(5px);
}


/* IMAGEN */

.blog-banner-image img {
    position: relative;

    z-index: 2;

    display: block;

    width: 100%;
    max-width: 600px;

    height: auto;
    max-height: 380px;

    object-fit: contain;
}


/* =====================================================
   DECORACIÓN
===================================================== */

.blog-banner::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    left: -120px;
    bottom: -130px;

    border-radius: 50%;

    background: rgba(88, 189, 183, 0.08);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .blog-banner {
        min-height: auto;

        padding: 50px 0;
    }

    .blog-banner-inner {
        min-height: auto;

        display: flex;
        align-items: center;
    }

    .blog-banner-text {
        width: 50%;

        padding-left: 10px;
    }

    .blog-banner-text h1 {
        font-size: 42px;
    }

    .blog-banner-text p {
        font-size: 15px;
    }

    .blog-banner-image {
        width: 50%;

        min-height: 300px;
    }

    .blog-banner-image img {
        max-width: 480px;
    }

}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 576px) {

    .blog-banner {
        padding: 40px 0 20px;
    }

    .blog-banner-inner {
        flex-direction: column;

        text-align: center;
    }

    .blog-banner-text {
        width: 100%;

        padding: 0 15px;
    }

    .blog-banner-tag {
        margin-bottom: 15px;

        font-size: 12px;
    }

    .blog-banner-text h1 {
        font-size: 36px;
    }

    .blog-banner-text h1 span {
        display: inline;
    }

    .blog-banner-text p {
        max-width: 350px;

        margin: 18px auto 0;

        font-size: 14px;
    }

    .blog-banner-image {
        width: 100%;

        min-height: 240px;

        margin-top: 10px;
    }

    .blog-banner-image::before {
        width: 320px;
        height: 250px;

        right: 50%;

        transform:
            translate(50%, -50%);
    }

    .blog-banner-image img {
        width: 90%;

        max-height: 280px;
    }

}

