.med-ancre a span{
    color: var(--color-macif--1);
}

.med-ancre a:hover{
    text-decoration: none;
}
sup:has(a) {
    top: auto;
}

/* REMOVE AFTER RESET MDS */
.med-ancre {
    list-style: none;
}
button.scroll-to-top {
    position: fixed!important;
    right: 0;
    bottom: 0;
    z-index: 10;
    margin-right: 32px;
    margin-bottom: 32px;
    opacity: 0;
    transition: all 200ms cubic-bezier(0.2, 0, 0, 1);
    border: 2px solid #0a2d82;
    background-color: var(--color-white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
}

button.scroll-to-top:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.15);
}

button.scroll-to-top:focus {
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1), 0 0 0 1px #fff;
}

button.scroll-to-top:disabled {
    cursor: default;
}

@media screen and (max-width: 767px){
    button.scroll-to-top {
        margin-bottom: 76px;
        margin-right: 16px;
    }
}
ul.med-list {
    padding: 0;
}

footer ul.med-list {
  margin-left: 0;
}

ul.med-list .med-list__fleche{
    display: flex;
}

.med-footer__accordion-link > ul.med-list .med-list__fleche:not(:first-child),
.med-accordion__liste ul.med-list .med-list__fleche:not(:first-child){
    padding-top: 1rem;
}

.med-footer__accordion-link > ul > li:first-child,
.med-accordion__liste ul.med-list .med-list__fleche:first-child {
    padding-top: 0;
}

.med-accordion__liste ul.med-list .med-list__fleche .med-link{
    line-height: 1.2rem;
}

ul.med-list.med-list__clair .med-list__fleche > span:before{
    color: var(--color-white);
}

ul.med-list .med-list__fleche > span:before{
    color: var(--color-use--9);
}

ul.med-list .med-list__aucune::marker {
    content: none;
}

/* Gestion des espacements pour les listes */

ul.mds-list--styled.med-list,
ol.mds-list--styled.med-list {
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}
