.svj-cookie-banner {
    --thecore-cc-panel-background: #fff;
    --thecore-cc-panel-color: #234e54;
    --thecore-cc-container-width: min(90%, 1480px);
    --thecore-cc-viewport-gap: 0px;
    --thecore-cc-container-radius: 14px;
    --thecore-cc-container-padding: 24px 28px;
    --thecore-cc-container-shadow: 0 8px 42px rgb(20 61 66 / 20%);
    --thecore-cc-container-max-height: calc(100dvh - 32px);
    inset: auto 0 16px;
    padding: 0;
    background: transparent;
    font-family: "SVJ DM Sans", sans-serif;
    pointer-events: none;
}

.svj-cookie-banner .thecore-cc__container {
    pointer-events: auto;
    overscroll-behavior: contain;
}

.svj-cookie-banner h2 {
    margin: 0 0 8px;
    color: #215f68;
    font: 400 26px / 1.2 "SVJ DM Serif", Georgia, serif;
}

.svj-cookie-banner p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.svj-cookie-banner .thecore-cc__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 0;
}

.svj-cookie-banner .thecore-cc__button {
    min-height: 44px;
    margin: 0;
    padding: 10px 18px;
    border: 1px solid #286871;
    border-radius: 6px;
    background: #286871;
    color: #fff;
    font: 600 15px / 1.4 "SVJ DM Sans", sans-serif;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.svj-cookie-banner .thecore-cc__reject-button { order: 1; }
.svj-cookie-banner .thecore-cc__accept-button { order: 2; }
.svj-cookie-banner .thecore-cc__customize-button,
.svj-cookie-banner .thecore-cc__confirm-button { order: 3; }
.svj-cookie-banner .thecore-cc__privacy-button { order: 4; }
.svj-cookie-banner .thecore-cc__close-button { order: 5; }

.svj-cookie-banner .thecore-cc__customize-button,
.svj-cookie-banner .thecore-cc__close-button,
.svj-cookie-banner .thecore-cc__privacy-button {
    background: #fff;
    color: #286871;
}

.svj-cookie-banner .thecore-cc__button:active { transform: scale(.98); }

.svj-cookie-banner :focus-visible,
.svj-cookie-access :focus-visible,
.thecore-cc__embed-message :focus-visible {
    outline: 3px solid #9b4c0a;
    outline-offset: 4px;
}

.svj-cookie-banner:not(.thecore-cc--customizing) .thecore-cc__categories,
.svj-cookie-banner:not(.thecore-cc--preferences) .thecore-cc__close-button,
.svj-cookie-banner:not(.thecore-cc--customizing) .thecore-cc__confirm-button,
.svj-cookie-banner.thecore-cc--customizing .thecore-cc__customize-button {
    display: none;
}

.svj-cookie-banner .thecore-cc__categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid #c9dcde;
}

.svj-cookie-banner .thecore-cc__category {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-content: start;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
}

.svj-cookie-banner .thecore-cc__category input {
    position: static;
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #286871;
    opacity: 1;
    pointer-events: auto;
}

.svj-cookie-banner .thecore-cc__category label {
    padding: 0;
    font-size: 16px;
    font-weight: 600;
}

.svj-cookie-banner .thecore-cc__category label::before,
.svj-cookie-banner .thecore-cc__category label::after { content: none; }

.svj-cookie-banner .thecore-cc__category-description {
    grid-column: 2;
    margin: 0;
    color: #365b61;
    opacity: 1;
    font-size: 14px;
    line-height: 1.45;
}

.svj-cookie-access {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 24px;
    padding: 12px 24px;
    background: #fff;
    color: #215f68;
    font: 400 14px / 1.5 "SVJ DM Sans", sans-serif;
}

.svj-cookie-access button,
.svj-cookie-access a {
    min-height: 36px;
    padding: 6px 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.thecore-cc__embed--atomic {
    display: grid;
    place-items: center;
    min-height: 280px;
    aspect-ratio: 16 / 9;
    padding: 28px;
    background: #eef5f3;
    color: #234e54;
    text-align: center;
}

.thecore-cc__embed-message { max-width: 54ch; }
.thecore-cc__embed-message strong { font-size: 22px; }
.thecore-cc__embed-message p { margin: 12px 0; font-size: 16px; line-height: 1.5; }
.thecore-cc__embed-message a { color: #215f68; text-decoration: underline; text-underline-offset: 3px; }

.thecore-cc__embed-message button {
    min-height: 44px;
    margin: 5px;
    padding: 10px 16px;
    border: 1px solid #286871;
    border-radius: 6px;
    background: #286871;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.thecore-cc__embed-message [data-thecore-cc-open] { background: #fff; color: #286871; }

.svj-cookie-information {
    max-width: 76ch;
    margin: clamp(36px, 6vw, 72px) auto;
    padding: 0 24px;
    color: #234e54;
    font: 400 18px / 1.65 "SVJ DM Sans", sans-serif;
}

.svj-cookie-information h1,
.svj-cookie-information h2 {
    color: #215f68;
    font-family: "SVJ DM Serif", Georgia, serif;
    font-weight: 400;
}

.svj-cookie-information h1 { margin: 0 0 24px; font-size: clamp(32px, 4vw, 44px); line-height: 1.15; }
.svj-cookie-information h2 { margin: 36px 0 12px; font-size: 27px; line-height: 1.25; scroll-margin-top: 110px; }
.svj-cookie-information p { margin: 0 0 20px; }
.svj-cookie-information a { color: #215f68; text-decoration: underline; text-underline-offset: 3px; }
.svj-cookie-information button {
    min-height: 44px;
    padding: 12px 18px;
    border: 0;
    border-radius: 6px;
    background: #286871;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

@media (max-width: 767px) {
    .svj-cookie-banner { --thecore-cc-container-width: calc(100% - 24px); }
}

@media (max-width: 640px) {
    .svj-cookie-banner {
        --thecore-cc-container-padding: 20px;
        --thecore-cc-container-max-height: calc(100dvh - 16px);
        inset-block-end: 8px;
    }
    .svj-cookie-banner h2 { font-size: 23px; }
    .svj-cookie-banner .thecore-cc__categories { grid-template-columns: 1fr; gap: 16px; }
    .svj-cookie-banner .thecore-cc__buttons { gap: 8px; }
    .svj-cookie-banner .thecore-cc__button { flex: 1 1 calc(50% - 8px); padding-inline: 10px; }
    .thecore-cc__embed--atomic { padding: 20px 16px; aspect-ratio: auto; }
}

@media print {
    .svj-cookie-banner,
    .svj-cookie-access { display: none !important; }
}
