/**
 * Bandeau d’appel vers /soutenir, tout en haut du site.
 * Charte : noir #202020, jaune #ffcc0d.
 */

html.gallo-appel-off .gallo-appel {
    display: none;
}

.gallo-appel {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: #ffcc0d;
    color: #202020;
    margin: 0;
    padding: 0.55rem 2.75rem;
    position: relative;
    z-index: 30;
}

.gallo-appel__link,
.gallo-appel__link:hover,
.gallo-appel__link:focus {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.2rem 0.85rem;
    max-width: 60rem;
    color: #202020;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
}

.gallo-appel__cta {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.gallo-appel__link:hover .gallo-appel__cta,
.gallo-appel__link:focus .gallo-appel__cta {
    text-decoration-thickness: 2px;
}

.gallo-appel__link:focus-visible {
    outline: 2px solid #202020;
    outline-offset: 3px;
}

.gallo-appel__close {
    position: absolute;
    top: 50%;
    right: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #202020;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.gallo-appel__close:hover,
.gallo-appel__close:focus-visible {
    background: #202020;
    color: #ffcc0d;
}

@media (max-width: 640px) {
    .gallo-appel {
        padding: 0.6rem 2.5rem 0.6rem 0.85rem;
    }

    .gallo-appel__link {
        font-size: 0.875rem;
    }
}

@media print {
    .gallo-appel {
        display: none;
    }
}
