/* Informational notice: no optional cookies are implemented. */
.cookie-notice[hidden] {
    display: none;
}

.cookie-notice {
    position: fixed;
    z-index: 100;
    bottom: 24px;
    right: 24px;
    width: min(460px, calc(100% - 48px));
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 12px 40px #082c4626;
    max-height: calc(100dvh - 48px);
    overflow: auto;
}

.cookie-notice h2 {
    font-size: 19px;
    margin-bottom: 8px;
    letter-spacing: -.02em;
}

.cookie-notice p {
    color: var(--body);
    font-size: 14px;
    line-height: 1.6;
}

.cookie-notice-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.cookie-notice-actions a {
    color: #164e80;
    text-decoration: underline;
    font-size: 14px;
}

.cookie-notice-actions .button {
    min-height: 42px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
}

.footer-links .cookie-footer-link {
    font: inherit;
    font-size: 14px;
    color: var(--muted);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-align: left;
    overflow-wrap: anywhere;
}

.footer-links .cookie-footer-link:hover {
    color: #2168ad;
}

@media (max-width: 600px) {
    .cookie-notice {
        right: 12px;
        bottom: 12px;
        width: calc(100% - 24px);
        padding: 17px;
    }
}
