.cookie-consent {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 1040;
    box-sizing: border-box;
    color: #424767;
    background: #fff;
    border: .0625rem solid #efefef;
    border-radius: .5rem;
    box-shadow: 0 .25rem 1.875rem rgba(43, 53, 79, .1);
    font-family: Roboto, sans-serif;
    font-size: .875rem;
    line-height: 1.5;
}

.cookie-consent[hidden],
.cookie-consent-settings[hidden] {
    display: none;
}

.cookie-consent {
    width: 24rem;
    max-width: calc(100% - 3rem);
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    padding: 1.5rem;
}

.cookie-consent__title {
    margin: 0 0 1rem;
    color: #1c2540;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5;
}

.cookie-consent__description {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

.cookie-consent__policy {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #424767;
    text-decoration: underline;
}

.cookie-consent__policy:hover {
    color: #1c2540;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: .75rem;
}

.cookie-consent__button {
    min-height: 44px;
    padding: .625rem .75rem;
    cursor: pointer;
    font: inherit;
    font-weight: 500;
}

.cookie-consent__button {
    flex: 1 1 auto;
    color: #424767;
    background: #fff;
    border: .0625rem solid #8e9297;
    border-radius: .5rem;
}

.cookie-consent__button:hover {
    color: #1c2540;
    background: #f9f7f2;
}

.cookie-consent__button--accept {
    color: #1c2540;
    background: #ea755e;
    border-color: #d2513d;
}

.cookie-consent__button--accept:hover {
    background: #ee604b;
}

.cookie-consent-settings {
    display: inline-block;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #696a8a;
    font: inherit;
    cursor: pointer;
}

.footer-links.text-white .cookie-consent-settings {
    color: inherit;
}

.cookie-consent-settings:hover {
    text-decoration: underline;
}

.cookie-consent:focus-visible,
.cookie-consent a:focus-visible,
.cookie-consent button:focus-visible {
    outline: 2px solid #1c2540;
    outline-offset: 3px;
}

.cookie-consent-settings:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 575.98px) {
    .cookie-consent {
        bottom: max(1rem, env(safe-area-inset-bottom));
        left: 1rem;
    }

    .cookie-consent {
        max-width: calc(100% - 2rem);
        max-height: calc(100vh - 2rem);
        padding: 1.25rem;
    }
}

@media print {
    .cookie-consent,
    .cookie-consent-settings {
        display: none;
    }
}
