/* Loaded after Klaro's bundled CSS so the consent UI follows the site theme. */
.klaro {
    --green1: #247a52;
    --green2: #165d3b;
    --light1: #ffffff;
    --light2: #dbe3e0;
    --light3: #62717b;
    --dark1: #14222b;
    --dark2: #263640;
    --button-text-color: #ffffff;
    --font-family: "Segoe UI", Aptos, system-ui, sans-serif;
    --border-radius: 0.5rem;
    --button-border-radius: 0.5rem;
    --modal-max-width: 42rem;
    --notice-max-width: 33rem;
}

.klaro .cookie-notice,
.klaro .cookie-modal .cm-modal.cm-klaro {
    background: #ffffff !important;
    border: 1px solid #b8c6c1 !important;
    border-radius: 0.85rem !important;
    box-shadow: 0 1.5rem 4rem rgba(9, 37, 28, 0.28) !important;
    color: #263640 !important;
    overflow: hidden !important;
}

.klaro .cookie-modal .cm-bg {
    background: rgba(20, 34, 43, 0.58) !important;
}

.klaro .cookie-modal .cm-modal.cm-klaro {
    max-width: min(42rem, calc(100vw - 2rem)) !important;
}

.klaro .cookie-notice {
    max-width: min(33rem, calc(100vw - 2rem)) !important;
}

.klaro .cookie-modal .cm-header {
    background: #ffffff !important;
    border-bottom: 1px solid #dbe3e0 !important;
    padding: 1.5rem 1.65rem 1.2rem !important;
}

.klaro .cookie-modal .cm-header h1,
.klaro .cookie-notice .cn-body p:first-child {
    color: #14222b !important;
}

.klaro .cookie-modal .cm-header h1 {
    font-size: clamp(1.35rem, 3vw, 1.7rem) !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
}

.klaro .cookie-modal .cm-header p,
.klaro .cookie-notice .cn-body p {
    color: #62717b !important;
    font-size: 0.96rem !important;
    line-height: 1.55 !important;
}

.klaro .cookie-notice .cn-body {
    padding: 1.35rem !important;
}

.klaro .cookie-notice .cn-body p:first-child {
    font-size: 1rem !important;
    margin-bottom: 0.9rem !important;
}

.klaro .cookie-notice .cn-learn-more {
    color: #165d3b !important;
    font-weight: 800 !important;
}

.klaro .cookie-modal .cm-body {
    padding: 1.15rem 1.65rem !important;
}

.klaro .cookie-modal .cm-purpose,
.klaro .cookie-modal .cm-service {
    background: #f8fbf9 !important;
    border: 1px solid #dbe3e0 !important;
    border-radius: 0.65rem !important;
}

.klaro .cookie-modal .cm-list-title,
.klaro .cookie-modal .cm-list-label {
    color: #14222b !important;
    font-weight: 800 !important;
}

.klaro .cookie-modal .cm-list-description,
.klaro .cookie-modal .cm-required,
.klaro .cookie-modal .purposes {
    color: #62717b !important;
    line-height: 1.5 !important;
}

.klaro .cookie-modal .cm-list-input:checked + .cm-list-label .slider {
    background: #247a52 !important;
}

.klaro .cookie-modal .cm-footer {
    background: #fbfcfb !important;
    border-top: 1px solid #dbe3e0 !important;
    padding: 1rem 1.65rem 1.2rem !important;
}

.klaro .cookie-modal .cm-footer-buttons,
.klaro .cookie-notice .cn-buttons {
    gap: 0.65rem !important;
}

.klaro .cm-btn {
    background: #247a52 !important;
    border: 1px solid #247a52 !important;
    border-radius: 0.5rem !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    min-height: 2.85rem !important;
    padding: 0.7rem 1rem !important;
}

.klaro .cm-btn:hover,
.klaro .cm-btn:focus-visible {
    background: #165d3b !important;
    border-color: #165d3b !important;
}

.klaro .cm-btn:focus-visible,
.klaro .cm-list-label:focus-visible,
.klaro .cn-learn-more:focus-visible {
    outline: 3px solid #0d5c91 !important;
    outline-offset: 3px !important;
}

.klaro .cookie-modal .hide svg {
    stroke: #14222b !important;
}

@media (max-width: 520px) {
    .klaro .cookie-notice,
    .klaro .cookie-modal .cm-modal.cm-klaro {
        border-radius: 0.7rem !important;
        max-width: calc(100vw - 1rem) !important;
    }

    .klaro .cookie-modal .cm-header,
    .klaro .cookie-modal .cm-body,
    .klaro .cookie-modal .cm-footer,
    .klaro .cookie-notice .cn-body {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .klaro .cookie-modal .cm-footer-buttons,
    .klaro .cookie-modal .cm-footer-buttons .cm-btn,
    .klaro .cookie-notice .cn-buttons,
    .klaro .cookie-notice .cn-buttons .cm-btn {
        width: 100% !important;
    }
}
