/* 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;
}


/* Container de grille */
.roadtrips-container .rt-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

/* La Carte */
.rt-card {
    flex: 1;
    min-width: 280px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header : Relais + Ville */
.rt-header {
    padding: 12px 15px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.rt-relais-name {
    margin: 0 0 5px 0;
    font-size: 0.95em;
    color: #333;
}

.rt-badge {
    display: inline-block;
    font-size: 0.8em;
    color: #666;
    font-style: italic;
}

/* Body : Titre + Infos bar */
.rt-body {
    padding: 15px;
    flex-grow: 1; /* Permet d'aligner les pieds de carte même si les titres font 2 lignes */
}

.rt-body h4 {
    margin: 0 0 10px 0;
    color: #d9534f;
    font-size: 1.1em;
}

.rt-info-bar {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    background: #f1f1f1;
    padding: 8px;
    border-radius: 4px;
}

/* Footer : Bouton */
.rt-footer {
    padding: 15px;
    border-top: 1px solid #eee;
}

.btn-rt-view {
    display: block;
    text-align: center;
    background: #d9534f;
    color: #fff !important;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-rt-view:hover {
    background: #c9302c;
    text-decoration: none;
}