.columna-datos-eldiarioes {
    text-align: right;
    padding-bottom: 0px;
    padding-top: 0px;
    border-bottom: 1px solid #ddd;
}

.primeracolumna-eldiarioes {
    border-bottom: 1px solid #ddd;
    padding-bottom: 0px;
    padding-top: 0px;
}

.jets-privados-title {
    font-family: Sanomat-Bold, Georgia;
    font-size: 32px;
    line-height: 32px;
    letter-spacing: 0px;
    text-align: center;
    font-weight: 700;
    color: #000;
    margin: 10px 30px;
    text-wrap: balance;
}

.jets-privados-subtitle {
    color: #4a4a4a;
    text-align: center;
    font-family: "Encode Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin: 10px 0px 30px 0px;
}

.jets-privados-source {
    color: #4a4a4a;
    text-align: left;
    font-family: "Encode Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    margin: 20px 0px 30px 0px;
}

@media (max-width: 600px) {
    .jets-privados-title {
        font-size: 26px;
        line-height: 28px;
        margin: 10px 0px;
    }

    .jets-privados-subtitle {
        font-size: 15px;
        line-height: 18px;
    }
}

.separator-container-jets-privados {
    width: 100%;
    border-top: 1px dashed #9b9b9b;
    margin-top: 40px;
    margin-bottom: 10px;
}

/* MAPA SUELDOS ALCALDES */

#div-container-mapa-jets-privados {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

#container-mapa-jets-privados {
    width: 100%;
    position: relative;
}

#container-legend-mapa-jets-privados {
    position: relative;
    background-color: #fff;
    padding: 10px;
    border-radius: 30px;
    z-index: 3;
    border: 1px solid #d9d9d9;
    box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.12);
    top: 5px;
    left: 5px;
    border-radius: 30px;
    width: 270px;
    margin: 0 auto -160px;
}

.labels-mapa-jets-privados {
    font-family: "Encode Sans", sans-serif;
    pointer-events: none;
    fill: #000;
    stroke: none;
    font-weight: 600;
    font-size: 11px;
}

.shadow-mapa-jets-privados {
    font-family: "Encode Sans", sans-serif;
    pointer-events: none;
    fill: #000;
    stroke: #fff;
    stroke-width: 2px;
    font-weight: 600;
    opacity: 1;
    font-size: 11px;
}

#div-container-mapa-jets-privados .map-text__hand {
    animation: shake 1.5s infinite;
    width: 30px;
    vertical-align: middle;
}

#div-container-mapa-jets-privados .text-click-polygon {
    font-family: "Encode Sans", sans-serif;
    margin-left: 0px;
    text-align: left;
    font-size: 12px;
    position: absolute;
    top: 70px;
    left: 20px;
    width: 130px;
    display: flex;
}

#legend-jets-privados {
    display: flex;
    justify-content: center;
}

.legend-jets-privados {
    font-family: "Encode Sans";
    font-size: 12px;
}

/* BUTTON SLIDER */

.dual-toggle {
    width: 250px;
    font-family: "Encode Sans", sans-serif;
    height: 45px;
    background: #ccc;
    border-radius: 36px;
    position: relative;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
    box-sizing: border-box;
}

.toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.toggle-knob {
    width: 125px;
    height: 35px;
    background: #d0021b;
    border-radius: 30px;
    position: absolute;
    top: 5px;
    left: 5px;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 0;
}

@media (max-width: 600px) {
    #container-mapa-jets-privados {
        width: 100%;
        overflow: scroll;
        overflow-y: hidden;
        position: relative;
    }

    #container-legend-mapa-jets-privados {
        position: relative;
        width: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 5px;
        padding: 10px 15px;
        order: -1;
        z-index: 3;
        margin: 0 auto -160px;
        background: #fff;
        border: 1px solid #d9d9d9;
        border-radius: 30px;
        box-shadow: 2px -2px 8px 0 rgba(0, 0, 0, 0.08);
        width: 270px;
    }

    div#container-mapa-jets-privados::-webkit-scrollbar {
        width: 0px;
        background: transparent;
    }

    #div-container-mapa-jets-privados .text-click-polygon {
        top: 120px;
        left: 10px;
        width: 130px;
        display: flex;
    }
}

#container-barras-vuelos-mensuales {
    width: 100%;
}

#barras-vuelos-mensuales {
    width: 100%;
}

#barras-vuelos-mensuales text {
    font-size: 14px;
    font-family: "Encode Sans", sans-serif;
}

#barras-vuelos-mensuales .eje-vertical-barras-vuelos-mensuales line {
    stroke: #c5c5c5;
    stroke-dasharray: 3;
    stroke-width: 0.5;
}

#barras-vuelos-mensuales .eje-vertical-barras-vuelos-mensuales text {
    fill: #939393;
    font-size: 14px;
}

#barras-vuelos-mensuales .eje-vertical-barras-vuelos-mensuales path {
    stroke-width: 0;
}

#barras-vuelos-mensuales .eje-horizontal-barras-vuelos-mensuales path {
    stroke-width: 0;
}

#barras-vuelos-mensuales .eje-horizontal-barras-vuelos-mensuales text {
    fill: #939393;
}

#barras-vuelos-mensuales .eje-horizontal-barras-vuelos-mensuales line {
    stroke: #939393;
    stroke-width: 1;
}

#heatmap-vuelos-hora-semana {
    width: 100%;
}

#heatmap-vuelos-hora-semana text {
    font-size: 14px;
    font-family: "Encode Sans", sans-serif;
}

#heatmap-vuelos-hora-semana .eje-vertical-heatmap-vuelos-hora-semana line {
    stroke: #c5c5c5;
    stroke-dasharray: 3;
    stroke-width: 0.5;
}

#heatmap-vuelos-hora-semana .eje-vertical-heatmap-vuelos-hora-semana text {
    fill: #939393;
    font-size: 14px;
}

#heatmap-vuelos-hora-semana .eje-vertical-heatmap-vuelos-hora-semana path {
    stroke-width: 0;
}

#heatmap-vuelos-hora-semana .eje-horizontal-heatmap-vuelos-hora-semana path {
    stroke-width: 0;
}

#heatmap-vuelos-hora-semana .eje-horizontal-heatmap-vuelos-hora-semana text {
    fill: #939393;
}

#heatmap-vuelos-hora-semana .eje-horizontal-heatmap-vuelos-hora-semana line {
    stroke: #939393;
    stroke-width: 1;
}

#legend-heatmap {
    justify-content: center;
    display: flex;
}

.div-legend-heatmap {
    padding: 5px;
    background-color: rgb(255, 255, 255, 0.8);
    border-radius: 5px;
}

.legendheatmap {
    font-family: "Encode Sans";
    font-size: 12px;
}

#barras-duracion-vuelos {
    width: 100%;
}

#barras-duracion-vuelos text {
    font-size: 14px;
    font-family: "Encode Sans", sans-serif;
}

#barras-duracion-vuelos .eje-vertical-barras-duracion-vuelos line {
    stroke: #c5c5c5;
    stroke-dasharray: 3;
    stroke-width: 0.5;
}

#barras-duracion-vuelos .eje-vertical-barras-duracion-vuelos text {
    fill: #939393;
    font-size: 14px;
}

#barras-duracion-vuelos .eje-vertical-barras-duracion-vuelos path {
    stroke-width: 0;
}

#barras-duracion-vuelos .eje-horizontal-barras-duracion-vuelos path {
    stroke-width: 0;
}

#barras-duracion-vuelos .eje-horizontal-barras-duracion-vuelos text {
    fill: #939393;
}

#barras-duracion-vuelos .eje-horizontal-barras-duracion-vuelos line {
    stroke: #939393;
    stroke-dasharray: 3;
    stroke-width: 1;
}

/* =========================================================================
   EMISIONES POR PROPIETARIO (waffle + tarjetas)
   ========================================================================= */

.emisiones-prop-leyenda {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto 15px;
    padding: 6px 12px;
    border: 1px solid #dedede;
    border-radius: 5px;
}

.emisiones-prop-leyenda-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.emisiones-prop-leyenda-texto {
    font-family: "Encode Sans", sans-serif;
    font-size: 12px;
    color: #333;
}

/* ─── Fila: tarjeta + waffle + datos ─── */

.emisiones-prop-fila {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px 4px 20px 4px;
    border-bottom: 0.5px solid #e0e0e0;
}

.emisiones-prop-fila:hover {
    background: #fafafa;
}

/* ─── Tarjeta: propietario + imagen + modelo ─── */

.emisiones-prop-tarjeta {
    display: flex;
    flex-direction: column;
    align-items: left;
    width: 150px;
    min-width: 150px;
    gap: 2px;
}

.emisiones-prop-nombre {
    font-family: "Encode Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #4a4a4a;
    text-align: left;
    line-height: 16px;
    text-wrap: balance;
}

.emisiones-prop-img {
    width: 100px;
    display: block;
}

.emisiones-prop-modelo {
    font-family: "Encode Sans", sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: #939393;
    text-transform: uppercase;
    text-align: left;
}

/* ─── Waffle + datos (bloque junto) ─── */

.emisiones-prop-waffle-bloque {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.emisiones-prop-waffle {
    flex: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 2px;
    align-content: start;
}

.emisiones-prop-seg {
    display: inline-block;
    background: #d0021b;
}

/* ─── Datos en línea (km + CO₂ + vuelos) ─── */

.emisiones-prop-datos {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
}

.emisiones-prop-dato {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0 12px;
    border-right: 1px solid #d9d9d9;
}

.emisiones-prop-dato:last-child {
    border-right: none;
}

.emisiones-prop-dato-km {
    padding: 0 12px 0px 0px;
}
.emisiones-prop-dato-km .emisiones-prop-valor {
    color: #d0021b;
    font-size: 20px;
}

.emisiones-prop-dato-km .emisiones-prop-label {
    color: #d0021b;
}

.emisiones-prop-valor {
    font-family: "Encode Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    line-height: 20px;
}

.emisiones-prop-label {
    font-family: "Encode Sans", sans-serif;
    font-size: 10px;
    color: #939393;
    text-transform: uppercase;
}

/* ─── Botón ver más / ver menos ─── */

.emisiones-prop-toggle {
    display: block;
    margin: 15px auto 0;
    padding: 8px 24px;
    font-family: "Encode Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #d0021b;
    background: none;
    border: 1px solid #d0021b;
    border-radius: 20px;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s;
}

.emisiones-prop-toggle:hover {
    background: #d0021b;
    color: #fff;
}

/* ─── Mobile ─── */

@media (max-width: 600px) {
    .emisiones-prop-fila {
        flex-wrap: wrap;
        gap: 6px 12px;
    }

    .emisiones-prop-tarjeta {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        column-gap: 10px;
        row-gap: 2px;
        width: 100%;
        min-width: unset;
        align-items: center;
    }

    .emisiones-prop-img {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 80px;
    }

    .emisiones-prop-nombre {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
    }

    .emisiones-prop-modelo {
        grid-column: 2;
        grid-row: 2;
        text-align: left;
    }

    .emisiones-prop-waffle-bloque {
        width: 100%;
        flex: unset;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .emisiones-prop-waffle {
        width: 100%;
    }

    .emisiones-prop-datos {
        width: 100%;
        justify-content: left;
    }
}

/* =========================================================================
   EQUIVALENTE PASAJEROS (avión vs muñecos)
   ========================================================================= */

.equiv-pasajeros-tarjeta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 10px 15px;
    margin-bottom: 10px;
    border: 1px solid #dedede;
    border-radius: 5px;
    width: fit-content;
    margin: 10px auto;
}

.equiv-pasajeros-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.equiv-pasajeros-propietario {
    font-family: "Encode Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #4a4a4a;
    text-align: left;
}

.equiv-pasajeros-img {
    width: 100px;
    display: block;
}

.equiv-pasajeros-modelo {
    font-family: "Encode Sans", sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #939393;
    text-transform: uppercase;
    text-align: left;
}

.equiv-pasajeros-stats {
    display: flex;
    gap: 15px;
    border-left: 1px solid #d9d9d9;
    padding-left: 20px;
}

.equiv-pasajeros-stat {
    text-align: left;
}

.equiv-pasajeros-stat-valor {
    font-family: "Encode Sans", sans-serif;
    font-size: 23px;
    font-weight: 400;
    color: #d0021b;
}

.equiv-pasajeros-stat-label {
    font-family: "Encode Sans", sans-serif;
    font-size: 10px;
    color: #d0021b;
    text-transform: uppercase;
}

.equiv-pasajeros-texto {
    font-family: "Encode Sans", sans-serif;
    font-size: 14px;
    color: #333;
    text-align: center;
    margin: 30px 0px 10px 0px;
}

.equiv-pasajeros-canvas {
    display: block;
    width: 100%;
}

@media (max-width: 600px) {
    .equiv-pasajeros-tarjeta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .equiv-pasajeros-img {
        width: 60px;
    }

    .equiv-pasajeros-stats {
        width: 100%;
        border-left: none;
        border-top: 1px solid #d9d9d9;
        padding-left: 0;
        padding-top: 8px;
        justify-content: space-around;
    }
}

/* =========================================================================
   MAPA MAPLIBRE (vuelos animados por avión)
   ========================================================================= */

.jets-maplibre-wrapper {
    width: 100%;
    position: relative;
    font-family: "Encode Sans", sans-serif;
}

.jets-maplibre-map {
    width: 100%;
    background-color: white;
    border-radius: 5px;
}

/* ─── Botones de avión (pestañas sobre el mapa) ─── */

.jets-maplibre-buttons {
    display: flex;
    flex-direction: row;
    height: 120px;
    gap: 20px;
    justify-content: center;
    align-items: start;
    font-family: "Encode Sans", sans-serif;
}

.jets-maplibre-btn {
    display: flex;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    width: 220px;
    gap: 5px;
    opacity: 0.3;
    padding: 10px;
    border-radius: 15px;
    text-align: center;
    transition: opacity 0.2s ease;
}

.jets-maplibre-btn-active {
    opacity: 1;
    z-index: 2;
    position: relative;
    border: 1px solid #d9d9d9;
    background: #fff;
    box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.12);
}

.jets-maplibre-map-container {
    position: relative;
    width: 100%;
    z-index: 1;
}

.jets-maplibre-btn-propietario {
    display: flex;
    flex-direction: column;
    height: 35px;
}

.jets-maplibre-btn-label {
    color: #4a4a4a;
    text-align: center;
    font-size: 11px;
    font-weight: 400;
    line-height: 12px;
    text-transform: uppercase;
}

.jets-maplibre-btn-empresa {
    color: #4a4a4a;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
}

.jets-maplibre-btn-modelo {
    color: #4a4a4a;
    text-align: center;
    font-size: 11px;
    font-weight: 400;
    line-height: 12px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.jets-maplibre-btn-modelo img {
    width: 120px;
}

.jets-maplibre-btn-desc {
    color: #d0021b;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    border-top: 1px solid #d9d9d9;
    padding: 10px 0 0 0;
}

/* ─── Flechas carousel ─── */

.jets-maplibre-arrow {
    display: none;
}

@media (max-width: 900px) {
    .jets-maplibre-buttons {
        gap: 10px;
        height: 120px;
    }

    /* Solo mostrar el primer botón por defecto (evita scroll horizontal
       antes de que el JS del carousel se inicialice con lazy loading) */
    .jets-maplibre-btn:not(:first-child) {
        display: none;
    }

    .jets-maplibre-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: 1px solid #cccccc;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        font-size: 20px;
        color: #333333;
        cursor: pointer;
        flex-shrink: 0;
        padding: 0;
        line-height: 1;
        margin-top: 50px;
    }

    .jets-maplibre-arrow:active {
        background: #f0f0f0;
    }
}

/* ─── Slider + Play (absolute dentro del mapa) ─── */

.jets-maplibre-slider-container {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.jets-maplibre-slider-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    border-radius: 50px;
    border: 1px solid #d9d9d9;
    background: #fff;
    box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.12);
    padding: 5px 0 5px 10px;
    pointer-events: auto;
}

.jets-maplibre-player-row {
    display: flex;
    align-items: center;
    gap: 0px;
}

.jets-maplibre-play-btn {
    background: #d0021b;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    min-width: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    padding: 0;
    transition: background 0.2s ease;
}

/* Slider tracks */

.jets-maplibre-slider-box .track,
.jets-maplibre-slider-box .track-inset {
    stroke-width: 6px;
}

.jets-maplibre-slider-box .track {
    stroke: #e8e8e8;
}

.jets-maplibre-slider-box .track-inset {
    stroke: #e8e8e8;
}

.jets-maplibre-slider-box .track-overlay {
    stroke-width: 20px;
    cursor: pointer;
}

.jets-maplibre-slider-box .track-fill {
    stroke-width: 6px;
}

.jets-maplibre-slider-box .handle {
    fill: #d0021b;
    stroke: #fff;
    stroke-width: 2px;
}

.jets-maplibre-slider-box .handle:focus {
    outline: none;
}

.jets-maplibre-slider-box .tick text {
    font-family: "Encode Sans", sans-serif;
    font-size: 11px;
    fill: #c4c4c4;
    text-transform: uppercase;
}

.jets-maplibre-slider-box .tick line {
    stroke: #cccccc;
}

.jets-maplibre-slider-box .parameter-value path {
    fill: #ffffff;
    stroke: #d0021b;
}

.jets-maplibre-slider-box .parameter-value text {
    font-size: 11px;
    font-family: "Encode Sans", sans-serif;
    font-weight: 700;
    color: #4a4a4a;
    text-transform: uppercase;
}

.jets-maplibre-slider-box .axis {
    font-size: 12px;
    font-family: "Encode Sans", sans-serif;
}

/* =========================================================================
   MAPA MAPLIBRE SCROLL (scrollytelling)
   ========================================================================= */

.jets-scroll-wrapper {
    position: relative;
    width: 100%;
}

.jets-scroll-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 0;
}

.jets-scroll-map {
    width: 100%;
    height: 100%;
}

.jets-scroll-steps {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.jets-scroll-step {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.jets-scroll-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #d9d9d9;
    border-radius: 15px;
    box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.12);
    padding: 15px 20px;
    max-width: 350px;
    font-family: "Encode Sans", sans-serif;
    font-size: 15px;
    line-height: 22px;
    color: #333;
    pointer-events: auto;
    text-align: left;
}

@media (max-width: 600px) {
    .jets-scroll-step {
        min-height: 100vh;
        padding: 15px;
    }

    .jets-scroll-card {
        max-width: 280px;
        font-size: 14px;
        padding: 15px 18px;
    }
}
