/* ==========================================================
   GRENOBLE POKER PONTOIS
   COMPOSANT — TITRE DES PAGES

   Rôle :
   - Présenter le titre principal des pages
   - Harmoniser la typographie
   - Afficher l'accent graphique rouge
   - Conserver la compatibilité avec Bootstrap 3
   ========================================================== */


/* ==========================================================
   1. CONTENEUR DU TITRE
   ========================================================== */

.page-header .page-title {
    padding: 0 0 20px;
}


/* ==========================================================
   2. TITRE PRINCIPAL
   ========================================================== */

.page-header .page-title h2 {
    margin: 0;

    color: var(--gp-text);

    font-family: var(--gp-font-primary);

    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
}

/* ==========================================================
   2.1. PARAGRAPHES DU TITRE
   ========================================================== */

.page-title p {
    margin-bottom: 0;
}

/* ==========================================================
   3. ACCENT GRAPHIQUE ROUGE
   ========================================================== */

.page-header .page-title::after {
    content: "";

    display: block;

    width: 45px;
    height: 3px;

    margin-top: 6px;

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

    border-radius: 2px;
}

/* ==========================================================
   4. RESPONSIVE — TITRES DES PAGES

   Adaptation aux écrans de moins de 768px.

   - Réduction des espacements
   - Réduction de la taille du titre
   - Adaptation de l'accent graphique rouge
   ========================================================== */

@media (max-width: 767px) {

    /* Conteneur du titre */

    .page-header .page-title {
        padding-bottom: 16px;
    }

    /* Titre principal */

    .page-header .page-title h2 {
        font-size: 23px;
    }

    /* Accent graphique rouge */

    .page-header .page-title::after {
        width: 35px;
        margin-top: 5px;
    }

}
