:root {
    --cc-font-family: inherit;
    --cc-modal-border-radius: 18px;
    --cc-btn-border-radius: 999px;
    --cc-primary-color: #000229;
    --cc-secondary-color: #4d5368;
    --cc-btn-primary-bg: #2e3190;
    --cc-btn-primary-color: #ffffff;
    --cc-btn-primary-hover-bg: #20236f;
    --cc-btn-secondary-bg: #eef0f8;
    --cc-btn-secondary-color: #000229;
    --cc-btn-secondary-hover-bg: #dfe2f1;
    --cc-toggle-on-bg: #2e3190;
    --cc-toggle-readonly-bg: #9ba0b4;
    --cc-link-color: #2e3190;
    --cc-separator-border-color: #e5e7ef;
}

#cc-main .cm,
#cc-main .pm {
    box-shadow: 0 18px 55px rgba(0, 2, 41, 0.2);
}

#cc-main .cm__title,
#cc-main .pm__title {
    color: #000229;
    font-weight: 700;
}

#cc-main .cm__desc,
#cc-main .pm__section-desc {
    line-height: 1.6;
}

#cc-main .pm__section--toggle.is-expanded .pm__section-desc-wrapper {
    height: auto;
    max-height: none;
    overflow: visible;
}

#cc-main .pm__section--toggle.is-expanded .pm__section-desc {
    overflow: visible;
    overflow-wrap: anywhere;
    padding-bottom: calc(1em + 0.2rem);
}

#cc-main .pm__body {
    min-height: 0;
    padding-bottom: 1.5rem;
    scroll-padding-bottom: 1.5rem;
}

@media (min-width: 641px) {
    #cc-main .pm--box {
        height: min(43rem, calc(100dvh - 2rem));
        max-height: none;
    }
}

#cc-main .cm__footer a,
#cc-main .pm a {
    color: #2e3190;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#cws-cookie-preferences {
    position: fixed;
    z-index: 2147483000;
    left: 16px;
    bottom: 16px;
    min-height: 42px;
    padding: 9px 16px;
    border: 2px solid #2e3190;
    border-radius: 999px;
    background: #ffffff;
    color: #2e3190;
    box-shadow: 0 8px 24px rgba(0, 2, 41, 0.16);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

#cws-cookie-preferences:hover,
#cws-cookie-preferences:focus-visible {
    background: #2e3190;
    color: #ffffff;
}

#cws-cookie-preferences:focus-visible {
    outline: 3px solid #fea05f;
    outline-offset: 3px;
}

body.show--consent #cws-cookie-preferences {
    display: none;
}

.cws-privacy-tracking-notice {
    max-width: 1140px;
    margin: 32px auto;
    padding: 28px;
    border: 1px solid #e5e7ef;
    border-radius: 18px;
    background: #ffffff;
    color: #23263a;
}

.cws-privacy-tracking-notice h2 {
    margin-top: 0;
    color: #000229;
}

@media (max-width: 640px) {
    #cws-cookie-preferences {
        left: 10px;
        bottom: 10px;
        min-height: 40px;
        padding: 8px 13px;
        font-size: 13px;
    }
}
