#footer .rfLegalFooter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 22px;
    padding-top: 20px;
}

#footer .rfLegalFooter a,
#footer .rfCookieSettings {
    color: #e0ebf9;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.rfCookieSettings {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.rfCookieSettings[hidden],
.rfCookieConsent[hidden] {
    display: none;
}

.rfCookieSettings--document {
    color: #1c54aa;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.rfCookieConsent[data-tracking-enabled] {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 10050;
    opacity: 1;
    transform: none;
}

.rfCookieConsent__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 1060px;
    margin: 0 auto;
    padding: 18px 22px;
    border: 1px solid #dbe5f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(7, 27, 52, .22);
}

.rfCookieConsent__card h2 {
    margin: 0 0 6px;
    color: #13233e;
    font-size: 20px;
    line-height: 1.2;
}

.rfCookieConsent__card p {
    margin: 0;
    color: #43546d;
    font-size: 14px;
    line-height: 1.5;
}

.rfCookieConsent__card a {
    color: #1c54aa;
    text-decoration: underline;
}

.rfCookieConsent__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.rfCookieConsent__actions button {
    min-height: 44px;
    padding: 8px 13px;
    border: 1px solid #1c54aa;
    border-radius: 8px;
    background: #fff;
    color: #17458b;
    font-weight: 700;
    cursor: pointer;
}

.rfCookieConsent__actions button:hover {
    background: #edf5ff;
}

@media (max-width: 767px) {
    .rfCookieConsent__card { display: block; padding: 14px; }
    .rfCookieConsent__actions { flex-wrap: wrap; margin-top: 10px; }
    .rfCookieConsent__actions button { flex: 1 1 135px; }
}
