/* ==========================================================
   GRENOBLE POKER PONTOIS
   COMPOSANT — FIL D'ARIANE

   Rôle :
   - Afficher la navigation hiérarchique
   - Harmoniser les liens et les séparateurs
   - Conserver la compatibilité avec Bootstrap 3
   ========================================================== */


/* ==========================================================
   1. CONTENEUR DU FIL D'ARIANE
   ========================================================== */

.page-header .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin: 0 0 18px;
    padding: 0;

    background-color: transparent;

    border: none;
    border-radius: 0;

    color: #64748b;

    font-family: var(--gp-font-primary);
    font-size: 12px;
    line-height: 1.6;
}


/* ==========================================================
   2. LIENS DU FIL D'ARIANE
   ========================================================== */

.page-header .breadcrumb a {
    color: #64748b;

    text-decoration: none;

    transition: color 0.2s ease;
}

.page-header .breadcrumb a:hover,
.page-header .breadcrumb a:focus {
    color: var(--gp-red);
    text-decoration: none;
}


/* ==========================================================
   3. ICÔNE ACCUEIL
   ========================================================== */

.page-header .breadcrumb .glyphicon-home {
    margin-right: 5px;
    top: 0;

    color: var(--gp-red);
}


/* ==========================================================
   4. SÉPARATEURS
   ========================================================== */

.page-header .breadcrumb .breadcrumb-item:not(:last-child)::after {
    content: "›";

    margin-left: 8px;

    color: #94a3b8;

    pointer-events: none;
}
/* ==========================================================
   PAGE COURANTE DU FIL D'ARIANE
   ========================================================== */

.breadcrumb .breadcrumb-item:last-child:not(:first-child) {
    color: var(--gp-text);
    font-weight: 600;
}
/* ==========================================================
   5. RESPONSIVE — FIL D'ARIANE

   Adaptation aux écrans de moins de 768px.
   ========================================================== */

@media (max-width: 767px) {

    .page-header .breadcrumb {
        margin-bottom: 14px;
        font-size: 11px;
        gap: 6px;
    }

    .page-header .breadcrumb .breadcrumb-item:not(:last-child)::after {
        margin-left: 6px;
    }

}

/* ==========================================================
   6. ACCESSIBILITÉ

   Respect de la préférence utilisateur concernant
   la réduction des animations.
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .page-header .breadcrumb a {
        transition: none;
    }

}
