/* Statistiques : section editoriale independante du CSS existant. */
.stats-editorial-section {
    background: #eaf4f8;
    padding: 54px 0 64px;
    border-bottom: 1px solid #dbe7ee;
}

.stats-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
    gap: 28px;
    align-items: stretch;
}

.stats-editorial-feature,
.stats-editorial-side-card {
    background: #fff;
    border: 1px solid #dce8ee;
    border-radius: 7px;
    padding: 28px;
}

.stats-editorial-feature {
    min-width: 0;
}

.stats-editorial-period {
    color: #587789;
    font-weight: 700;
    font-size: 14px;
    margin: 14px 0 2px;
}

.stats-editorial-feature h2 {
    color: #17394c;
    font-size: clamp(25px, 2.7vw, 39px);
    line-height: 1.18;
    margin: 7px 0 22px;
    letter-spacing: -.03em;
}

.stats-editorial-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 26px;
}

.stats-editorial-copy {
    min-width: 0;
}

.stats-editorial-copy p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.8;
    color: #3e6173;
}

.stats-editorial-more {
    color: var(--blue, #007fbd);
    font-weight: 750;
    font-size: 14px;
    text-decoration: none;
}

.stats-editorial-more:hover {
    text-decoration: underline;
}

.stats-editorial-chart {
    margin: 0;
    min-width: 0;
}

.stats-editorial-chart img {
    width: 100%;
    height: auto;
    border: 1px solid #e3ebef;
    border-radius: 5px;
    background: #fff;
}

.stats-editorial-sidebar {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 16px;
    min-width: 0;
    min-height: 0;
}

.stats-editorial-sidebar>.stats-editorial-side-card {
    min-height: 0;
}

.stats-editorial-sidebar>.stats-editorial-side-card:last-child {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.stats-editorial-sidebar>.stats-editorial-side-card:last-child .stats-editorial-calendar {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 8px;
    scrollbar-gutter: stable;
}

.stats-editorial-side-card .eyebrow {
    margin-bottom: 14px;
    font-size: 12px;
}

.stats-editorial-next {
    font-size: 25px;
    color: #163e54;
}

.stats-editorial-calendar {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.stats-editorial-calendar li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #e5eef2;
    padding-bottom: 9px;
    font-size: 14px;
}

.stats-editorial-calendar li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.stats-editorial-calendar time {
    color: #345c73;
    font-weight: 750;
    white-space: nowrap;
}


/* Statistiques mondiales */
.stats-world-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.stats-world-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.stats-world-item strong {
    font-size: 15px;
    font-weight: 700;
}

.stats-world-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stats-world-languages a {
    padding: 8px 12px;
    background: var(--sky);
    color: var(--blue);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

/* Avertissement */
.stats-warning-section {
    padding: 0 0 75px;
    background: var(--back);
}

.stats-warning {
    padding: 30px 36px;
    background: #e8f4f9;
    border-left: 4px solid var(--blue);
    border-radius: 6px;
}

.stats-warning h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

.stats-warning p {
    margin: 0;
    color: #446779;
    font-size: 14px;
    line-height: 1.8;
}


@media(max-width: 1020px) {
    .stats-editorial-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .stats-editorial-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .stats-editorial-sidebar>.stats-editorial-side-card:last-child {
        overflow: visible;
    }

    .stats-editorial-sidebar>.stats-editorial-side-card:last-child .stats-editorial-calendar {
        overflow-y: visible;
        max-height: none;
    }
}

@media(max-width: 690px) {
    .stats-editorial-section {
        padding: 35px 0 45px;
    }

    .stats-editorial-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .stats-editorial-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .stats-editorial-feature,
    .stats-editorial-side-card {
        padding: 20px;
    }

        .stats-world-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-warning {
        padding: 24px;
    }
}