.cookie-banner {
    position: fixed;
    z-index: 80;
    right: 1.25rem;
    bottom: 1.25rem;
    left: 1.25rem;
    margin: auto;
    max-width: 72rem;
    overflow: hidden;
    border: 2px solid rgb(255 255 255 / 24%);
    border-radius: 1.125rem;
    background: #082b62;
    box-shadow: 0 0 0 1px #082b62, 0 1.5rem 4rem rgb(3 22 50 / 42%);
    color: #fff;
    padding: 1.55rem 1.65rem;
}

.cookie-banner::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: .35rem;
    background: #e60000;
    content: '';
}

.cookie-banner[hidden] { display: none; }

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-banner-copy { flex: 1 1 auto; min-width: 0; max-width: 47rem; }
.cookie-banner-copy h2 { color: #fff; font-size: 1.5rem; font-weight: 750; line-height: 1.2; margin: 0 0 .55rem; }
.cookie-banner-copy p { font-size: 1rem; line-height: 1.55; margin: 0; color: #e1e9f5; }
.cookie-actions { display: flex; flex: 0 0 auto; flex-wrap: nowrap; justify-content: flex-end; gap: .6rem; }
.cookie-button {
    appearance: none;
    min-height: 3rem;
    border: 1px solid #082b62;
    border-radius: .55rem;
    background: #fff;
    color: #082b62;
    cursor: pointer;
    font: inherit;
    font-size: .95rem;
    font-weight: 700;
    padding: .75rem 1.1rem;
}
.cookie-button:hover { background: #edf3f9; }
.cookie-button:focus-visible { outline: 3px solid #082b62; outline-offset: 3px; }
.cookie-button.primary { border-color: #e60000; background: #e60000; color: #fff; box-shadow: 0 .45rem 1.2rem rgb(0 0 0 / 22%); }
.cookie-button.primary:hover { background: #c90000; }
.cookie-banner .cookie-button { border: 2px solid rgb(255 255 255 / 72%); background: transparent; color: #fff; }
.cookie-banner .cookie-button:hover { border-color: #fff; background: #fff; color: #082b62; }
.cookie-banner .cookie-button:focus-visible { outline-color: #fff; }
.cookie-banner .cookie-button.primary { border-color: #e60000; background: #e60000; color: #fff; }
.cookie-banner .cookie-button.primary:hover { border-color: #fff; background: #c90000; color: #fff; }
.cookie-settings-link { appearance: none; border: 0; background: transparent; padding: 0; text-align: left; cursor: pointer; }

.cookie-dialog {
    width: min(34rem, calc(100% - 2rem));
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 1rem 4rem rgb(8 43 98 / 28%);
    color: #082b62;
    padding: 0;
}
.cookie-dialog::backdrop { background: rgb(9 20 33 / 62%); }
.cookie-dialog-inner { padding: 1.5rem; }
.cookie-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-dialog h2 { font-size: 1.4rem; font-weight: 700; margin: 0; }
.cookie-dialog-close { border: 0; background: transparent; cursor: pointer; font-size: 1.7rem; line-height: 1; color: #34445d; }
.cookie-option { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid #e4eaf1; }
.cookie-option:first-of-type { margin-top: 1rem; }
.cookie-option strong { display: block; }
.cookie-option small { display: block; color: #526277; line-height: 1.45; margin-top: .2rem; }
.cookie-option input { width: 1.2rem; height: 1.2rem; flex: 0 0 auto; }

@media (max-width: 760px) {
    .cookie-banner { right: .65rem; bottom: .65rem; left: .65rem; padding: 1.3rem 1.1rem 1.1rem; }
    .cookie-banner-content { align-items: stretch; flex-direction: column; gap: 1rem; }
    .cookie-banner-copy h2 { font-size: 1.3rem; }
    .cookie-banner-copy p { font-size: .9rem; }
    .cookie-actions { flex-wrap: wrap; justify-content: stretch; }
    .cookie-actions .cookie-button { flex: 1 1 auto; }
}
