/*
 * MS — Événements / Actualités / Réseaux sociaux
 * Restauration navigation historique R1
 */

.ms-publication-tabs {
    background: #ffffff;
    border-bottom: 1px solid #dbe4ee;
    position: relative;
    z-index: 4;
}

.ms-publication-tabs-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 0;
}

.ms-publication-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 24px;
    border-radius: 999px;
    color: #0b3156;
    font-weight: 800;
    text-decoration: none;
    transition:
        background .18s ease,
        color .18s ease,
        transform .18s ease;
}

.ms-publication-tabs a:hover,
.ms-publication-tabs a:focus-visible {
    background: #eef5fb;
    transform: translateY(-1px);
}

.ms-publication-tabs a.active {
    background: #0b4f82;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(11,79,130,.18);
}

@media (max-width: 720px) {
    .ms-publication-tabs-inner {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 14px 0;
        scrollbar-width: thin;
    }

    .ms-publication-tabs a {
        flex: 0 0 auto;
        padding: 0 18px;
    }
}
