.kl-footer-link-button {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.kl-cookie-banner[hidden],
.kl-cookie-modal[hidden] {
    display: none !important;
}

.kl-cookie-banner {
    position: fixed;
    z-index: 1090;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px;
    border: 1px solid #d8dce7;
    border-radius: 8px;
    background: #fff;
    color: #201b29;
    box-shadow: 0 16px 48px rgba(33, 25, 45, .2);
}

.kl-cookie-banner-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: #d8f3ea;
    color: #087f66;
    font-size: 1.25rem;
}

.kl-cookie-banner-copy h2,
.kl-cookie-dialog h2,
.kl-cookie-choice h3 {
    margin: 0;
    letter-spacing: 0;
}

.kl-cookie-banner-copy h2 {
    font-size: 1rem;
    font-weight: 800;
}

.kl-cookie-banner-copy p {
    margin: 4px 0 0;
    color: #625b6e;
    font-size: .84rem;
    line-height: 1.45;
}

.kl-cookie-banner-copy a,
.kl-cookie-dialog-links a {
    color: #7b3bb2;
    font-weight: 750;
    text-underline-offset: 3px;
}

.kl-cookie-banner-actions,
.kl-cookie-dialog-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kl-cookie-action {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #aeb4c2;
    border-radius: 6px;
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.kl-cookie-action:hover {
    transform: translateY(-1px);
}

.kl-cookie-action:focus-visible,
.kl-cookie-close:focus-visible,
.kl-cookie-switch input:focus-visible + span {
    outline: 3px solid rgba(70, 104, 226, .28);
    outline-offset: 2px;
}

.kl-cookie-action-primary {
    border-color: #7850b9;
    background: #7850b9;
    color: #fff;
}

.kl-cookie-action-secondary {
    background: #fff;
    color: #30293a;
}

.kl-cookie-modal {
    position: fixed;
    z-index: 1100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.kl-cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(17, 14, 22, .58);
    cursor: default;
}

.kl-cookie-dialog {
    position: relative;
    width: min(100%, 620px);
    max-height: min(760px, calc(100vh - 40px));
    overflow: auto;
    padding: 24px;
    border: 1px solid #d9dce5;
    border-radius: 8px;
    background: #fff;
    color: #211c2a;
    box-shadow: 0 24px 70px rgba(21, 16, 30, .34);
}

.kl-cookie-dialog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.kl-cookie-eyebrow {
    color: #9b3db0;
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.kl-cookie-dialog h2 {
    margin-top: 2px;
    font-size: 1.4rem;
    font-weight: 850;
}

.kl-cookie-close {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #d9dce5;
    border-radius: 50%;
    background: #f6f7fa;
    color: #342c3e;
    cursor: pointer;
}

.kl-cookie-dialog-intro {
    margin: 14px 0 20px;
    color: #686171;
    font-size: .9rem;
    line-height: 1.55;
}

.kl-cookie-choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 10px;
    padding: 16px;
    border: 1px solid #e0e2e9;
    border-radius: 7px;
    background: #fafbfc;
}

.kl-cookie-choice h3 {
    color: #292231;
    font-size: .92rem;
    font-weight: 850;
}

.kl-cookie-choice h3 i {
    margin-right: 6px;
    color: #7652ae;
}

.kl-cookie-choice p {
    margin: 5px 0 0;
    color: #756e7e;
    font-size: .78rem;
    line-height: 1.4;
}

.kl-cookie-required {
    flex: 0 0 auto;
    color: #087f66;
    font-size: .72rem;
    font-weight: 850;
}

.kl-cookie-switch {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
}

.kl-cookie-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.kl-cookie-switch span {
    position: relative;
    width: 48px;
    height: 28px;
    border: 1px solid #b9bdc8;
    border-radius: 20px;
    background: #d8dbe2;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease;
}

.kl-cookie-switch span::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    content: '';
    transition: transform .16s ease;
}

.kl-cookie-switch input:checked + span {
    border-color: #148e72;
    background: #19a987;
}

.kl-cookie-switch input:checked + span::after {
    transform: translateX(20px);
}

.kl-cookie-dialog-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 18px 0;
    font-size: .78rem;
}

.kl-cookie-dialog-actions {
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid #e4e5eb;
}

.kl-cookie-modal-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .kl-cookie-banner {
        right: 10px;
        bottom: 10px;
        left: 10px;
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 10px;
        padding: 13px;
    }

    .kl-cookie-banner-icon {
        width: 38px;
        height: 38px;
    }

    .kl-cookie-banner-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .kl-cookie-action {
        padding-inline: 8px;
        white-space: normal;
    }

    .kl-cookie-modal {
        align-items: end;
        padding: 0;
    }

    .kl-cookie-dialog {
        width: 100%;
        max-height: 88vh;
        padding: 20px 16px max(20px, env(safe-area-inset-bottom));
        border-radius: 8px 8px 0 0;
    }
}

@media (max-width: 420px) {
    .kl-cookie-banner-actions {
        grid-template-columns: 1fr 1fr;
    }

    .kl-cookie-banner-actions .kl-cookie-action-primary {
        grid-column: 1 / -1;
    }

    .kl-cookie-choice {
        align-items: flex-start;
    }
}

.kl-policy-page {
    width: min(1180px, calc(100% - 32px));
    margin: 38px auto 80px;
    color: #26202e;
}

.kl-policy-hero {
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid #dcdde5;
    border-left: 7px solid #8a4dc0;
    border-radius: 8px;
    background: #f7f2fb;
}

.kl-policy-hero-cookies {
    border-left-color: #16997b;
    background: #eef9f6;
}

.kl-policy-kicker {
    color: #8739a9;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.kl-policy-hero h1 {
    margin: 7px 0 10px;
    color: #251e2d;
    font-size: clamp(2rem, 5vw, 3.7rem);
    font-weight: 900;
    letter-spacing: 0;
}

.kl-policy-hero p {
    max-width: 760px;
    margin: 0;
    color: #62596a;
    font-size: clamp(.95rem, 2vw, 1.15rem);
    line-height: 1.55;
}

.kl-policy-updated {
    display: block;
    margin-top: 18px;
    color: #7e7486;
    font-size: .74rem;
    font-weight: 700;
}

.kl-policy-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: clamp(30px, 5vw, 72px);
    margin-top: 38px;
}

.kl-policy-nav {
    position: sticky;
    top: 92px;
    align-self: start;
    display: grid;
    gap: 4px;
}

.kl-policy-nav a {
    padding: 9px 11px;
    border-left: 3px solid #e1dce6;
    color: #665d6e;
    font-size: .8rem;
    font-weight: 750;
    text-decoration: none;
}

.kl-policy-nav a:hover,
.kl-policy-nav a:focus-visible {
    border-left-color: #8a4dc0;
    color: #6d3198;
    background: #f8f4fa;
}

.kl-policy-content section {
    scroll-margin-top: 90px;
    padding: 0 0 30px;
    border-bottom: 1px solid #e7e4e9;
}

.kl-policy-content section + section {
    padding-top: 30px;
}

.kl-policy-content h2 {
    margin: 0 0 12px;
    color: #292132;
    font-size: 1.22rem;
    font-weight: 850;
    letter-spacing: 0;
}

.kl-policy-content p,
.kl-policy-content li {
    color: #625b69;
    font-size: .92rem;
    line-height: 1.7;
}

.kl-policy-content ul {
    padding-left: 20px;
}

.kl-cookie-table-wrap {
    overflow-x: auto;
    margin-top: 18px;
    border: 1px solid #dddfe6;
}

.kl-cookie-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: #fff;
    font-size: .78rem;
}

.kl-cookie-table th,
.kl-cookie-table td {
    padding: 12px;
    border-bottom: 1px solid #e7e8ed;
    color: #554e5c;
    text-align: left;
    vertical-align: top;
}

.kl-cookie-table th {
    background: #f4f5f8;
    color: #332c3a;
    font-weight: 850;
}

.kl-cookie-table tr:last-child td {
    border-bottom: 0;
}

.kl-cookie-table code {
    color: #773899;
    white-space: nowrap;
}

.kl-policy-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 14px;
    border-left: 4px solid #1aa07f;
    background: #edf8f5;
    color: #396258;
    font-size: .84rem;
    line-height: 1.5;
}

.kl-policy-settings-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    margin-top: 20px;
    padding: 9px 15px;
    border: 1px solid #7650aa;
    border-radius: 6px;
    background: #7650aa;
    color: #fff;
    font: inherit;
    font-size: .82rem;
    font-weight: 850;
    cursor: pointer;
}

@media (max-width: 760px) {
    .kl-policy-page {
        width: min(100% - 20px, 680px);
        margin-top: 16px;
    }

    .kl-policy-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .kl-policy-nav {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
