/* RA-GAS consent interface. Klaro itself and all styles are hosted locally. */
#klaro {
    --font-family: 'Lato', Arial, sans-serif;
    --font-size: 16px;
    --dark1: #fff;
    --dark2: #e5e5e5;
    --dark3: #595959;
    --light1: #212121;
    --light2: #c7c7c7;
    --light3: #595959;
    --green1: #142d5a;
    --green2: #142d5a;
    --green3: #102448;
    --blue1: #142d5a;
    --button-text-color: #fff;
    --border-radius: 8px;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    hyphens: none;
    overflow-wrap: break-word;
}

#klaro *, #klaro *::before, #klaro *::after { box-sizing: border-box; }
#klaro p { margin: 0 0 16px; font-size: 16px; line-height: 1.5; color: #595959; }
#klaro a { color: #142d5a; text-decoration: underline; text-underline-offset: 3px; }
#klaro button { font: inherit; }
#klaro :is(a, button):focus-visible {
    outline: 3px solid #142d5a;
    outline-offset: 3px;
}
#klaro .cm-list-input:focus-visible + .cm-list-label .slider {
    outline: 3px solid #142d5a;
    outline-offset: 3px;
}

#klaro .cookie-notice:not(.cookie-modal-notice) {
    position: fixed;
    z-index: 11000;
    left: 50%;
    right: auto;
    bottom: 24px;
    width: calc(100% - 48px);
    max-width: 1312px;
    min-width: 0;
    max-height: calc(100dvh - 48px);
    overflow: auto;
    transform: translateX(-50%);
    padding: 28px 32px;
    border: 1px solid #c7c7c7;
    border-top: 4px solid #e33e36;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 40px rgb(20 45 90 / 18%);
    color: #212121;
}
#klaro .cookie-notice:not(.cookie-modal-notice) .cn-body { padding: 0; }
#klaro .cookie-notice .cn-body > h2,
#klaro .cookie-notice .cn-body > h1,
#klaro .cookie-notice .cn-body > .cn-title {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
    color: #142d5a;
}
#klaro .cookie-notice .cn-body > p { max-width: 1080px; }
#klaro .cookie-notice .cn-ok { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
#klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}
#klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-learn-more {
    flex: 1 1 auto;
    margin: 0;
    padding: 12px 0;
    font-weight: 700;
}

#klaro :is(.cookie-notice, .cookie-modal) .cm-btn {
    min-height: 48px;
    margin: 0;
    padding: 12px 20px;
    border: 1px solid #142d5a;
    border-radius: 3px;
    background: #142d5a;
    color: #fff;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    cursor: pointer;
}
#klaro :is(.cookie-notice, .cookie-modal) .cm-btn:hover { background: #102448; color: #fff; }

#klaro .cookie-modal { z-index: 12000; }
#klaro .cookie-modal .cm-bg { background: rgb(20 45 90 / 48%); opacity: 1; }
#klaro .cookie-modal .cm-modal.cm-klaro {
    position: relative;
    width: calc(100% - 40px);
    max-width: 880px;
    max-height: calc(100dvh - 40px);
    margin: 0 auto;
    overflow: auto;
    border-radius: 8px;
    border: 1px solid #c7c7c7;
    border-top: 4px solid #e33e36;
    background: #fff;
    box-shadow: 0 12px 64px rgb(0 0 0 / 20%);
}
#klaro .cookie-modal .cm-modal .cm-header { padding: 28px 32px 24px; border-color: #e5e5e5; }
#klaro .cookie-modal .cm-modal .cm-header h1.title {
    margin: 0 0 16px;
    padding-right: 40px;
    color: #142d5a;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 800;
}
#klaro .cookie-modal .cm-modal .cm-header p:last-child { margin-bottom: 0; }
#klaro .cookie-modal .cm-modal .hide {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 4px;
    color: #142d5a;
}
#klaro .cookie-modal .cm-modal .hide svg { stroke: #142d5a; }
#klaro .cookie-modal .cm-modal .cm-body { padding: 24px 32px; }
#klaro .cookie-modal .cm-modal .cm-body .cm-service { padding-top: 4px; padding-bottom: 16px; }
#klaro .cookie-modal .cm-modal .cm-body .cm-list-title { color: #142d5a; font-size: 17px; font-weight: 800; line-height: 1.4; }
#klaro .cookie-modal .cm-modal .cm-body .cm-required { color: #595959; }
#klaro .cookie-modal .cm-modal .cm-body .cm-list-description { margin: 8px 0; padding: 0; color: #595959; font-size: 15px; line-height: 1.5; white-space: pre-line; }
#klaro .cookie-modal .slider { box-shadow: none; }
#klaro .cookie-modal .cm-modal .cm-footer { position: sticky; bottom: 0; z-index: 1; padding: 24px 32px; border-color: #e5e5e5; background: #f7f7f7; }
#klaro .cookie-modal .cm-modal .cm-footer-buttons { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
#klaro .cookie-modal .cm-modal .cm-footer-buttons > div { display: contents; }
#klaro .cookie-modal .cm-modal .cm-footer-buttons .cm-btn { width: 100%; height: 100%; text-align: center; }
#klaro .cookie-modal .cm-modal .cm-footer .cm-powered-by { display: none; }

.footer-consent-settings {
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: inherit;
    cursor: pointer;
}
.footer-consent-settings[hidden] { display: none; }
.footer-consent-settings:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-consent-settings:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

@media (max-width: 600px) {
    #klaro .cookie-notice:not(.cookie-modal-notice) {
        bottom: 12px;
        width: calc(100% - 24px);
        max-height: calc(100dvh - 24px);
        padding: 20px;
    }
    #klaro .cookie-notice .cn-ok { gap: 4px; }
    #klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-buttons { width: 100%; gap: 10px; }
    #klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-buttons .cm-btn { flex: 1 1 100%; width: 100%; margin: 0; }
    #klaro .cookie-modal .cm-modal.cm-klaro { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
    #klaro .cookie-modal .cm-modal .cm-header { padding: 24px 20px 20px; }
    #klaro .cookie-modal .cm-modal .cm-header h1.title { font-size: 24px; padding-right: 32px; }
    #klaro .cookie-modal .cm-modal .cm-body { padding: 20px; }
    #klaro .cookie-modal .cm-modal .cm-footer { padding: 20px; }
    #klaro .cookie-modal .cm-modal .cm-footer-buttons { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; width: 100%; }
    #klaro .cookie-modal .cm-modal .cm-footer-buttons .cm-btn { width: 100%; }
    #klaro .cookie-modal .cm-modal .hide { top: 12px; right: 8px; }
}

#klaro .cookie-notice .consent-policy-links { display: flex; gap: 16px; margin: 16px 0 0; font-size: 14px; }
#klaro .cookie-notice .consent-policy-links a { font-size: inherit; }
