/* banner of consent to cookies of statistics: at the bottom of the screen, it never covers the page on a phone for long */
.consent {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    max-width: 760px;
    margin: 0 auto;
    padding: 14px 16px;
    border-radius: 12px;
    background-color: #ffffff;
    color: #1d2733;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .22);
}

.consent[hidden] {
    display: none;
}

.consent p {
    flex: 1 1 320px;
    margin: 0;
}

.consent a {
    color: #0b5caf;
}

.consent-buttons {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.consent-buttons button {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 8px;
    white-space: nowrap;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.consent-yes {
    border: none;
    color: #ffffff;
    background-color: #218838;
}

.consent-no {
    border: 1px solid #b8c4d2;
    color: #1d2733;
    background-color: #ffffff;
}

@media (max-width: 480px) {
    .consent-buttons {
        flex: 1 1 100%;
    }

    .consent-buttons button {
        flex: 1;
    }
}
