.key-figures-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--primary);
    padding-bottom: var(--padding-int);
    margin-bottom: var(--margin-section);
}

.key-figures-year {
    color: var(--primary);
    font-family: var(--font-title);
    font-size: var(--size-30);
    font-style: normal;
    font-weight: 400;
    line-height:1.2em;
    letter-spacing: -0.334px;
}

.section-esg h3.key-figures-year::after,
.section-esg h3.key-figure-card__title::after  {
    display: none;
    height: 0;
    width: 0;
}

.key-figure-card__title {
    color: var(--primary);
    font-family: var(--font-title);
    font-size: var(--size-45);
    font-style: normal;
    font-weight: 400;
    line-height: 1.2em;
    letter-spacing: 0.422px;
}

.key-figure-card__subtitle {
    font-size: var(--size-30);
}

.key-figure-card__text.text-body {
    font-size: var(--size-18);
}

.key-figures-header .splide__arrows {
    display: flex;
    align-items: center;
    gap: var(--padding-small);
}

/* Tarjeta Estilo Captura */
.key-figure-card {
    width: 294px;
    height: 294px;
    border-radius: 15px;
    border: 1px solid var(--primary);
    background: var(--primary-claro);
    border-radius: var(--radius);
    padding: var(--margin-section);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title {
    font-size: var(--size-50);
    color: var(--primary);
    font-family: var(--font-title);
    margin: 0;
}

.card-subtitle {
    font-size: var(--size-24);
    color: var(--primary);
    font-family: var(--font-title);
    font-weight: 300;
    margin-bottom: var(--padding-int);
}

.card-text {
    font-size: var(--size-16);
    color: var(--text-color);
    line-height: 1.4;
}

/* 2. Reposicionamiento de las flechas de Splide */
/* Contenedor del año y controles */

.key-figures-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--primary); /* La línea azul de la imagen */
    padding-bottom: 15px;
    margin-bottom: 30px;
    position: relative;
}


.key-figures-nav .splide__arrow {
    background-color: transparent;
    position: relative;
    left: inherit;
    right: inherit;
    top: inherit;
    transform: none;
    border: none;
    height: 38px;
    width: 38px;
}

.key-figures-nav {
    height: 38px;
}

#key-figures-splide .splide__arrow img {
    width: 38px; /* Ajusta según el tamaño de tus SVG */
    height: 38px;
    object-fit: contain;
    display: block;
}

/* Quitamos el SVG que Splide pone por defecto */
#key-figures-splide .splide__arrow svg {
    display: none;
}

.key-figures-wrapper{
    margin-bottom: var(--margin-section);
    margin-top: var(--margin-section);
}

.key-figures-year_  {
     position: absolute;
     top: 0;
     margin-top: var(--margin-section);
}

.key-figures-year_ h3::after {
    display: none;
}

/* Media query 980px */
@media (max-width: 980px) {
    #key-figures-splide-list {
        display: flex;
        flex-direction: column;
    }

    .key-figures-year {
        display: none;
    }

    .key-figures-wrapper{
        margin-top: var(--padding-int);
    }

    .key-figures-year_ h3::after {
    display: block;
    }

    .key-figures-year_ {
        position: relative;
        text-align: center;
        margin-top: var(--margin-section) !important;
    }

    .key-figures-header {
        align-items: center;
        justify-content: center !important;
        border-bottom: none;
        display: none;
    }

    h3.key-figures-year::after {
        display: block !important;
        margin-top: 10px;
        content: "";
        width: 50px !important;
        height: 2px !important;
        background-color: var(--primary);
        content: '';
        margin: 10px 0;
    }

    h3.key-figures-year {
        text-align: center;
    }

    #key-figures-splide .splide__slide {
        margin-right: 0 !important;
        margin-bottom: var(--padding-int);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #key-figures-splide  h3, .key-figure-card__text.text-body, 
    h4.key-figure-card__subtitle {
        text-align: left;
    }

    .key-figures-header {
        margin-bottom: var(--padding-small);
    }

}