.main-footer__bottom {
  background-color:#6C639A;
}

.main-footer__top {
  background-color:#62B5D3;
}

.main-navigation .navigation>li>ul {
  background-color:#6C639A;
}

.item-showcase .resource.item img {
    max-height: none !important;
    height: 100% !important;
    width: 100% !important;
    object-fit: contain! important;
}
.faceted-browse-page #section-content table .resource-link {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: 150rem;
}
.faceted-browse-page #section-content table .resource-link img {
    max-height: 4rem;
    margin: 0 .5rem 0 0;
}
.resource-grid .resource__thumbnail img {
    max-height: 324px;
    object-fit: contain;
    width: 100%;
}
.resource-list .resource__thumbnail img {
    height: 100px;
    object-fit: contain;
    width: 100px;
}
.metadata .media-list .resource-link img {
    flex-shrink: 0;
    height: 100px;
    object-fit: contain;
    width: 100px;
}

/* On s'assure que le lien est le parent de référence */
a[href$=".pdf"] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

/* Création du "bouton" via CSS */
a[href$=".pdf"]::after {
    content: "Télécharger le fichier PDF";
    display: inline-block;
    padding: 10px 20px;
    background-color: #6b649b; 
    color: white;
    font-family: sans-serif;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease;
    cursor: pointer;
width:100%;
}

/* Effet au survol */
a[href$=".pdf"]:hover::after {
    background-color: #514a81;
}

@media (min-width: 768px) { .regions-container .main-region {
    order: -1;
    width: 50%;
}}
@media (min-width: 768px) {.regions-container .sidebar-region {
    width: 40%;
}}