.gpsb-badge {
    clear: both !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100% !important;
    margin: 8px auto 14px;
    text-align: center;
}
.gpsb-badge-clear {
    clear: both !important;
    height: 0 !important;
    overflow: hidden !important;
}
.gpsb-badge__text {
    margin: 0;
    margin-bottom: 0!important; /* pour éviter la marge sur Minutes Maison*/
    color: #101528;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
}
.gpsb-badge__link {
    display: inline-grid !important;
    align-items: center;
    grid-template-columns: 28px 1fr;
    gap: 9px;
    min-height: 40px;
    padding: 10px 14px;
    border: 1px solid #101528;
    border-radius: 10px;
    background: #fff;
    box-shadow: 3px 2px 3px rgba(16, 21, 40, 0.25);
    color: #101528;
    text-decoration: none;
}
.gpsb-badge__link:hover,
.gpsb-badge__link:focus {
    color: #101528;
    text-decoration: none;
}
.gpsb-badge__google-mark {
    display: block;
    align-self: center;
    justify-self: center;
    width: 31px;
    height: 40px;
    background-image: var(--gpsb-google-logo);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 300%;
}
.gpsb-badge__button-text {
    display: block;
    font-size: 15px;
    margin-left: 10px;
    text-align: left;
    white-space: nowrap;
    color: black;
    font-weight: normal !important;
}
.gpsb-badge__link.no-adv {
    text-decoration: none !important;
}
p:has(> a.gpsb-badge__link.no-adv) {
    margin-bottom: 0 !important; /* marge JDS */
}

@media (max-width: 600px) {
    .gpsb-badge { gap: 10px; }
    .gpsb-badge__text {
        width: 100%;
        font-size: 17px;
    }
    .gpsb-badge__link {
        max-width: calc(100vw - 32px);
    }
}

/* Boutons « Suivez-nous sur Google » */
.gpsb-follow {
    clear: both;
    container-type: inline-size;
    margin: 14px auto;
}
.gpsb-follow__pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.gpsb-follow .gpsb-follow__pill {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--gpsb-follow-bord, #101528);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    color: var(--gpsb-follow-texte, inherit);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
}
.gpsb-follow .gpsb-follow__pill:hover,
.gpsb-follow .gpsb-follow__pill:focus {
    color: var(--gpsb-follow-texte, inherit);
    filter: brightness(0.97);
}
.gpsb-follow__pill svg {
    flex: none;
    width: 18px;
    height: 18px;
}
.gpsb-follow__court {
    display: none;
}
.gpsb-follow-fin a {
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .gpsb-follow .gpsb-follow__pill {
        height: 32px;
        padding: 0 10px;
        font-size: 13px;
    }
    .gpsb-follow__long {
        display: none;
    }
    .gpsb-follow__court {
        display: inline;
    }
}

/* On ne resserre que si la colonne de l'article est trop étroite pour tenir sur une ligne. */
@container (max-width: 345px) {
    .gpsb-follow__pills {
        gap: 4px;
    }
    .gpsb-follow .gpsb-follow__pill:not(:only-child) {
        gap: 4px;
        padding: 0 7px;
        font-size: 12px;
    }
    .gpsb-follow__pill:not(:only-child) svg {
        width: 15px;
        height: 15px;
    }
}
@container (max-width: 290px) {
    .gpsb-follow .gpsb-follow__pill:not(:only-child) {
        gap: 3px;
        padding: 0 5px;
        font-size: 11.5px;
    }
    .gpsb-follow__pill:not(:only-child) svg {
        width: 14px;
        height: 14px;
    }
}
