
.page-desafios p:not(:last-of-type){
    margin-bottom: var(--margin-elementos);
}

.introduccion .col_3_4{
    padding-left: calc((2 / 12) * 100%);
    padding-right: 0;
}


.soluciones .col_2_3 {
    padding-left: calc((1 / 12) * 100%);
    padding-right: 0;
}


.fondo_rojo {
    background-color: var(--rojo);
    padding: var(--margin-elementos);
}

.seccion-bloque-final.fondo_rojo {
    padding: var(--margin-bloques) 0 !important ;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.fondo_gris {
    background-color: var(--gris-04-fondo);
}

.banner_video {
    padding-top: 0;
}

.banner_video .imagen {
    aspect-ratio: 2.35 !important;
}

.banner_video .imagen video {
    position: absolute; /* Saca el video del flujo normal y lo posiciona en relación con .imagen */
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    object-fit: cover; 
}

.banner_video .slider .texto {
    color: var(--azul);
    font-size: var(--size-32);
    font-weight: 700;
}

.banner_video .slider .cover {
    width: calc(100% / 3);
}

.perspectiva .col_3_4 {
    display: flex;
    align-items: stretch;
    gap: var(--margin-elementos);
    padding-right: var(--margin-bloques)
}

.perspectiva .col_3_4 .fondo_rojo {
    flex: 1;
    color: var(--second-color);
}

.perspectiva .fondo_rojo p {
    margin-bottom: var(--margin-elementos);
    font-weight: 400;
    font-size: var(--size-16);
    color: var(--second-color);
}

.perspectiva .fondo_rojo p:last-of-type {
    margin-bottom:0;
}

.perspectiva h4 {
    font-weight: 700;
    font-size: var(--size-21);
    margin-bottom: var(--margin-elementos);
    color: var(--second-color);
}

.page-desafios h3 {
    font-weight: 600;
    font-size: var(--size-40);
    padding-bottom: var(--margin-elementos);
    text-transform: initial;
}

.page-desafios h2 {
    font-weight: 600;
}

.soluciones_tarjetas .row {
    display: flex;
    align-items: flex-start;
    gap: var(--margin-elementos);
    flex-wrap: nowrap;
}

.soluciones_tarjetas .row .tarjeta {
    flex: 1;
}

.soluciones_tarjetas .tarjeta:last-of-type .titulo, .soluciones_tarjetas .tarjeta:first-of-type .titulo {
    word-break: break-word; 
    hyphens: auto;  
}

.soluciones_tarjetas .cabecera {
    padding:var(--margin-bloques);
    min-height: 315px;
}

.soluciones_tarjetas .texto {
    font-family: var(--header-family);
    font-weight: 400;
    font-size: var(--size-13);
    text-transform: uppercase;
     color: var(--second-color);
     margin-bottom: var(--margin-elementos);
}

.soluciones_tarjetas .titulo {
    font-family: var(--header-family);
    font-weight: 500;
    font-size: var(--size-60);
    color: var(--second-color);
}

.soluciones_tarjetas .desplegable_item {
    font-family: var(--header-family);
    font-weight: 400;
    font-size: var(--size-21);
    text-transform: uppercase;
    color: var(--second-color);
    padding: 0;
}

.desplegables .desplegable_item:nth-child(3n + 1) {
    background-color: var(--rojo);
}

.desplegables .desplegable_item:nth-child(3n + 2) {
    background-color: #f76d82;
}

.desplegables .desplegable_item:nth-child(3n + 3) {
    background-color: rgb(249, 146, 161);
}

.soluciones_tarjetas .desplegable_contenido {
    display: none;
    padding: var(--margin-elementos);
}

.soluciones_tarjetas .desplegable_item .desplegable_cabecera strong {
    font-weight: 600;
}

.soluciones_tarjetas .desplegable_item .desplegable_cabecera {
    position: relative;
    padding: var(--margin-elementos);
    padding-right: calc(var(--margin-elementos) + var(--margin-elementos-int) + 24px);
}

@media only screen and (min-width: 767px) {
    .soluciones_tarjetas .desplegable_item .desplegable_cabecera:hover {
        background-color: var(--rosa);
        color: var(--rojo);
        cursor: pointer;
    }
}


.soluciones_tarjetas .desplegable_item.active .desplegable_cabecera::after {
    content: '';
    background: var(--second-color);
    width: calc(100% + var(--margin-elementos) * 2);
    height: 1px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.soluciones_tarjetas .desplegable_item .desplegable_cabecera::before {
    content: '';
    background-image: url(../images/mas.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 24px;
    height: 24px;
    position: absolute;
    right: var(--margin-elementos);
    top: 50%;
    transform: translateY(-50%);
}

@media only screen and (min-width: 767px) {
    .soluciones_tarjetas .desplegable_item .desplegable_cabecera:hover::before {
        content: '';
        background-image: url(../images/mas_rojo.svg);
    }
}

.soluciones_tarjetas .desplegable_item.active .desplegable_cabecera::before {
    content: '';
    background-image: url(../images/menos.svg);
}

@media only screen and (min-width: 767px) {
    .soluciones_tarjetas .desplegable_item.active .desplegable_cabecera:hover::before {
        content: '';
        background-image: url(../images/menos_rojo.svg);
    }
}

.soluciones_tarjetas .desplegable_contenido p {
    font-weight: 400;
    font-size: var(--size-14);
    text-transform: initial;

}

.soluciones_tarjetas .desplegable_contenido .cabecera_desplegable {
    font-family: var(--header-family);
    font-weight: 600;
    font-size: var(--size-21);
    text-transform: uppercase;
    margin-bottom: var(--margin-elementos);
}

.seccion-bloque-final h2 {
    text-decoration: underline;
    color: var(--second-color);
    margin-bottom: 0;
} 

.seccion-bloque-final .col_7_12 {
    padding-left: calc(100% / 12);
    
}

.seccion-bloque-final .row {
    align-items: center;
}

.seccion-bloque-final .texto p {
    font-weight: 500;
    font-size: var(--size-28);
    color: var(--second-color);
    width: 70%;
}

.seccion-bloque-final .col_2_4:first-of-type { 
     padding-right: calc((1 / 12) * 100%);
}

.seccion-bloque-final .col_1_2 { 
     padding-left: calc((1 / 12) * 100%);
}

.seccion-bloque-final .cta {
    text-align: right;
}

.seccion-bloque-final .cta.claro a:hover {
    background-color: var(--second-color);
    color: var(--rojo);
}

/* Articulos */
.listado_tendencias .etiqueta {
    border:none;
    font-family: var(--header-family);
    font-weight: 400;
    font-size: var(--size-21);
    text-transform: uppercase;
    padding-left:0;
    pointer-events: none;
    margin-bottom: 0;
}

.bloque-tendencias .imagen, .bloque-tendencias .imagen img {
    aspect-ratio: 67 / 50;
}

.bloque-tendencias .listado_tendencias .imagen {
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.bloque-tendencias .listado_tendencias .imagen img {
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.bloque-tendencias .listado_tendencias:hover, .load_more:hover {
    cursor: pointer;
}

.bloque-tendencias .listado_tendencias:hover .imagen img {
    transform: scale(1.2);
}

.bloque-tendencias .listado_tendencias:hover .titulo, 
.bloque-tendencias .listado_tendencias:hover .titulo span {
    text-decoration: underline;
}

.bloque-tendencias .listado_tendencias a:hover h3 {
    text-decoration: none;
}

.bloque-tendencias .listado_tendencias .contenedor_titulo {
    flex:1;
    height: 100%;
    width: 100%;
}

.bloque-tendencias .listado_tendencias .contenido {
    display: flex;
    flex-direction: column;
    flex:1;
    min-height: 0;
}

.bloque-tendencias .col {
     display: flex;
    flex-direction: column;
    height: 100%;
}

.listado_tendencias .titulo {
    font-family: var(--header-family);
    font-weight: 600;
    font-size: var(--size-18);
    text-transform: uppercase;
    color: var(--header-color);
    min-height: auto;
    padding-right: 30px;
    position: relative;
    padding-bottom:0;
    height: 100%;
    flex: 1;
}

.listado_tendencias .titulo::after {
    bottom: 0 !important;
}

.bloque-tendencias .listado_tendencias {
    align-content: flex-start;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tendencia_oculta {
    display: none;
}

.bloque-tendencias h2 {
    font-weight: 600;
    font-size: var(--size-50);
    text-transform: uppercase;
}



@media only screen and (max-width: 1250px) {  
    .seccion-bloque-final .col_2_4:first-of-type {
        padding-right: 0;
    }

    .seccion-bloque-final .col_2_4 {
        width: 100% !important;
        padding-right: 0;
        padding-left: 0;
    }

    .seccion-bloque-final h2 {
        margin-bottom: var(--margin-bloques);
    }

    .seccion-bloque-final .col_1_2:first-of-type {
        padding-left: 0;
    }
}


@media only screen and (max-width: 1024px) { 

    .slider .imagen {
        aspect-ratio: 1.75 !important;
    }

    .banner_video .slider .cover {
        width: auto;
    }

    .perspectiva .col_3_4, .perspectiva .col_1_4 {
        width: 100% !important;
        padding-right: 0;
        flex-wrap: wrap;
    }

    .perspectiva .row{
        display: flex;
        flex-direction: column-reverse;
    }

    .perspectiva .col_3_4 {
        margin-top: var(--margin-elementos);
    }

    .perspectiva .col_3_4 .fondo_rojo {
        width: calc(50% - var(--margin-elementos));
        flex: auto;
    }

    .introduccion .col_3_4{
        padding-left: calc((1 / 12) * 100%);
    }

    .soluciones .col_2_3 {
         padding-left: calc((1 / 12) * 100% / 2);
    }

    .soluciones .col_1_3 {
         padding-right: calc((1 / 12) * 100% / 2);
    }


    .fondo_gris.soluciones .col_1_4, .fondo_gris.soluciones .col_3_4{
        width: 50% !important;
    }

    .soluciones_tarjetas .row {
        flex-direction: column;
    }

    .soluciones_tarjetas .row .tarjeta {
        width: 100%;
        flex: auto;
    }

    .soluciones_tarjetas .cabecera {
        min-height: 226px;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    
}

@media only screen and (max-width: 767px) {
    .banner_video .slider .imagen {
        aspect-ratio: 3 / 5 !important;
    }

     .introduccion .col_3_4{
        padding-left: 0;
    }

    .perspectiva .col_3_4 .fondo_rojo {
        width: 100%;
    }

    .fondo_gris.soluciones .col_1_3, .fondo_gris.soluciones .col_2_3 {
        padding: 0;
        width: 100% !important;
    }

    .soluciones_tarjetas .row .tarjeta {
        min-height: auto
    }

    .seccion-bloque-final .cta {
        padding: 0;
        margin-top: var(--margin-elementos);
    }

    .seccion-bloque-final .col_2_4:first-of-type {
        padding-right: 0;
    }
}