/* Conteneur principal en bas de page */
.dept-extra-content {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 3px solid #FFCC00; /* La ligne de signature Relais Motards */
}

/* Titres de sections */
.extra-section-title {
    font-family: 'Oswald', sans-serif; /* Si tu as une police typée "moto" */
    text-transform: uppercase;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #222;
}

/* Grille flexible : 3 colonnes sur PC, 1 sur mobile */
.extra-blocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
	margin-top: 50px;
}

/* Style commun aux cartes */
.extra-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.avis-relais-info .openModalLink.compact-link {
    display: inline-flex;
    align-items: center;
    background-color: #333; /* Gris très foncé (asphalte) */
    color: #fff;
    padding: 6px 15px;
    border-radius: 4px; /* Coins légèrement arrondis pour un look plus moderne */
    text-decoration: none !important;
    font-size: 0.85em;
    border-left: 4px solid #FFCC00; /* Rappel du jaune Relais Motards */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 100%;
    transition: all 0.2s ease-in-out;
}

.avis-relais-info .openModalLink.compact-link:hover {
    background-color: #444;
    transform: translateX(5px); /* Petit effet de mouvement au survol */
    color: #FFCC00; /* Le texte vire au jaune au survol */
}

.relais-details {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.relais-name {
    font-weight: bold;
    text-transform: uppercase;
}

.relais-sep {
    padding: 0 6px;
    color: #FFCC00;
}

.relais-loc {
    font-weight: normal;
    opacity: 0.8;
}

.btn-anchor {
    display: inline-block;
    padding: 5px 12px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 0.85em;
    margin: 0 5px;
    transition: all 0.2s;
}
.btn-anchor:hover {
    background: #FFCC00;
    border-color: #e6b800;
}
/* Décalage pour ne pas que le titre soit collé au bord haut */
.relais-extra-section {
    scroll-margin-top: 100px;
}
html {
    scroll-behavior: smooth;
}