/* editor */
body.wp-admin .meta-box-sortables textarea {
    color: black !important;    
}

/* OBJETIVOS */
.objetivos-frontend {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;

    .objetivo-item {
        width: 32%;
        background-color: var(--c-blanco);
        border-radius: 10px;
        border: 1px solid var(--c-gris);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
        padding: 30px;

        img {
            width: 60px;
            margin-bottom: 20px;
        }

        h3, h4, h5, h6 {
            color: var(--c-azul-oscuro);
            position: relative;
            padding-bottom: 20px;

            &::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 80%;
                height: 2%;
                background-color: var(--c-lila);
            }
        }

        p {
            color: var(--c-negro);
        }
    }

    @media screen and (max-width: 1024px) {
        .objetivo-item {
            width: 47%;
        }
    }
    
    @media screen and (max-width: 768px) {
        .objetivo-item {
            width: 100%;
            padding: 20px;
        }
    }
}

/* SOLUCIONES */
.soluciones-frontend {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 50px 20px;
    justify-content: center;
    align-items: stretch;

    .solucion-item {
        width: 32%;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 10px;
        border: 1px solid var(--c-azul);
        padding: 50px 30px 30px;
        position: relative;

        .solucion-image {
            position: absolute;
            top: -35px;
            right: 35px;
            background-color: rgba(255, 255, 255, 0.5);
            border-radius: 100px;
            width: 70px;
            height: 70px;
            z-index: 1;
            display: flex;
            justify-content: center;
            align-items: center;

            &::after {
                content: "";
                position: absolute;
                width: calc(100% - 10px);
                height: calc(100% - 10px);
                background: linear-gradient(110deg, var(--c-azul) 0%, var(--c-azul-oscuro) 100%);
                border-radius: 100px;
                z-index: -1;
                inset: 0;
                margin: auto;
                transition: all 0.4s ease;
            }

            img {
                width: 30px;
            }
        }

        h3, h4, h5, h6 {
            color: var(--c-azul-oscuro);
        }

        p {
            color: var(--c-negro);
        }
    }

    @media screen and (max-width: 1024px) {
        .solucion-item {
            width: 47%;
        }
    }
    
    @media screen and (max-width: 768px) {
        gap: 20px 20px;

        .solucion-item {
            width: 100%;
            padding: 20px;

            .solucion-image {
                position: initial;
                margin-bottom: 20px;
            }
        }
    }
}

/* BENEFICIOS */
.beneficios-frontend {
    .beneficio-item {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 30px;
        padding-top: 30px;
        padding-bottom: 30px;
        border-bottom: 2px solid var(--c-azul-claro);

        .beneficio-header {
            width: 32%;

            h3 {
                margin-bottom: 0;
            }

            img {
                width: 48px;
                margin-bottom: 10px;
            }
        }

        .beneficio-text {
            width: 68%;
        }

        &:first-child {
            padding-top: 0;
        }

        &:last-child {
            padding-bottom: 0;
            border-bottom: none;
        }
    }

    @media screen and (max-width: 768px) {
        .beneficio-item {
            gap: 20px;

            .beneficio-header,
            .beneficio-text {
                width: 100%;
            }
        }
    }
}

/* DATOS DE INTERÉS */
.datos_interes-frontend {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;

    .datos_interes-item {
        width: 32%;
        background-color: var(--c-blanco);
        border-radius: 10px;
        border: 1px solid var(--c-gris);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
        padding: 30px;
        position: relative;

        &::after {
            content: "";
            position: absolute;
            width: 100%;
            height: 10px;
            background: linear-gradient(90deg, var(--c-azul) 0%, #6caff7 50%, #9592fb 100%);
            top: 0;
            left: 0;
            border-radius: 10px 10px 0 0;
        }

        .datos_interes-number {
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 100px;
            background-color: var(--c-azul-extra-claro);
            color: var(--c-azul);
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        &:nth-child(2n) {
            .datos_interes-number {
                background-color: var(--c-lila);
                color: var(--c-azul-links);
            }
        }

        h3, h4, h5, h6 {
            color: var(--c-azul-oscuro);
            position: relative;
            padding-bottom: 20px;

            &::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 80%;
                height: 2%;
                background-color: var(--c-lila);
            }
        }

        p {
            color: var(--c-negro);
        }
    }

    @media screen and (max-width: 1024px) {
        .datos_interes-item {
            width: 47%;
        }
    }
    
    @media screen and (max-width: 768px) {
        .datos_interes-item {
            width: 100%;
            padding: 20px;
        }
    }
}