.ag-sidebar-wrapper {
    background: #fff;
}

/* Mode chevauchement : overflow visible pour que le bouton dépasse en bas */
.ag-sidebar-wrapper--overlap {
    overflow: visible;
}

/* Titre de la colonne */
.ag-sidebar-heading {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

/* Liste */
.ag-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ag-sidebar-item {
    padding: 12px 0;
    border-top: 1px solid #e2e4e7;
}

.ag-sidebar-item:first-child { border-top: none; }

.ag-sidebar-title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.ag-sidebar-title a {
    text-decoration: none;
    color: inherit;
    transition: opacity .15s ease;
}

.ag-sidebar-title a:hover { opacity: .75; }

.ag-sidebar-date {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

.ag-sidebar-empty {
    margin: 0;
    font-size: 14px;
    opacity: .7;
}

/* Bouton */
.ag-sidebar-btn-wrap {
    margin-top: 20px;
    text-align: center;
}

.ag-sidebar-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background-color: #e85d4a;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color .2s ease;
    /* overflow:hidden pour que la flèche ne déborde pas avant le survol */
    overflow: hidden;
}

/* Flèche slide-in : masquée par défaut, glisse depuis la droite au survol */
.ag-sidebar-btn--arrow::after {
    content: '→';
    display: inline-block;
    /* Largeur 0 + opacity 0 au repos */
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    /* Transition sur max-width ET opacity + un léger décalage pour le slide */
    transition: max-width .3s ease, opacity .25s ease, margin-left .3s ease;
    margin-left: 0;
}

.ag-sidebar-btn--arrow:hover::after {
    max-width: 2em;
    opacity: 1;
    margin-left: 8px;
}
