.cookie-consent[hidden],
.cookie-consent__settings[hidden] {
    display: none !important;
}

.cookie-consent {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    background: rgba(8, 18, 28, 0.42);
}

.cookie-consent__panel {
    width: min(100%, 920px);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(9, 28, 42, 0.26);
}

.cookie-consent__content {
    max-width: 720px;
}

.cookie-consent__eyebrow {
    margin: 0 0 8px;
    color: #2b3990;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.cookie-consent h2 {
    margin: 0 0 10px;
    color: #14212b;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.cookie-consent p {
    margin: 0;
    color: #435260;
    font-size: 15px;
    line-height: 1.55;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 22px;
}

.cookie-consent__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #2b3990;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.cookie-consent__btn--primary {
    background: #2b3990;
    color: #fff;
}

.cookie-consent__btn--secondary {
    background: #fff;
    color: #2b3990;
}

.cookie-consent__btn--ghost {
    border-color: #cad1d8;
    background: #fff;
    color: #263642;
}

.cookie-consent__btn:hover,
.cookie-consent__btn:focus {
    border-color: #1f2a72;
    outline: 0;
}

.cookie-consent__btn--primary:hover,
.cookie-consent__btn--primary:focus {
    background: #1f2a72;
    color: #fff;
}

.cookie-consent__settings {
    margin-top: 22px;
}

.cookie-consent__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 0;
    border-top: 1px solid #e5e9ed;
    color: #14212b;
}

.cookie-consent__option strong,
.cookie-consent__option span {
    display: block;
}

.cookie-consent__option span span {
    margin-top: 4px;
    color: #5d6a75;
    font-size: 14px;
    line-height: 1.45;
}

.cookie-consent__option input {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    accent-color: #2b3990;
}

@media (min-width: 768px) {
    .cookie-consent__panel {
        display: grid;
        grid-template-columns: 1fr auto;
        column-gap: 28px;
        align-items: center;
    }

    .cookie-consent__settings {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .cookie-consent {
        padding: 12px;
    }

    .cookie-consent__panel {
        max-height: calc(100vh - 24px);
        overflow-y: auto;
        padding: 18px;
    }

    .cookie-consent h2 {
        font-size: 21px;
    }

    .cookie-consent__actions {
        justify-content: stretch;
    }

    .cookie-consent__btn {
        width: 100%;
    }
}

.cookie-consent p a {
    color: #2b3990;
    font-weight: 700;
    text-decoration: underline;
}

.cookie-consent__btn--choice {
    min-width: 148px;
}

.footer-cookie-link a {
    color: inherit;
    text-decoration: underline;
}

.cookie-policy {
    padding: 72px 0;
    color: #263642;
}

.cookie-policy__content {
    max-width: 960px;
}

.cookie-policy h1,
.cookie-policy h2 {
    color: #14212b;
}

.cookie-policy h1 {
    margin-bottom: 18px;
    font-size: 38px;
}

.cookie-policy h2 {
    margin: 36px 0 12px;
    font-size: 24px;
}

.cookie-policy p,
.cookie-policy li {
    font-size: 16px;
    line-height: 1.65;
}

.cookie-policy__table-wrap {
    overflow-x: auto;
}

.cookie-policy table {
    width: 100%;
    border-collapse: collapse;
}

.cookie-policy th,
.cookie-policy td {
    padding: 14px;
    border: 1px solid #dce2e7;
    text-align: left;
    vertical-align: top;
}

.cookie-policy th {
    background: #f3f5f7;
    color: #14212b;
}

.cookie-policy__manage {
    margin-top: 24px;
}

@media (max-width: 767px) {
    .cookie-policy {
        padding: 48px 0;
    }

    .cookie-policy h1 {
        font-size: 30px;
    }
}
