.dwk-consent {
    position: fixed;
    z-index: 99998;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    color: #172033;
    background: #fff;
    border-top: 3px solid #b4233a;
    box-shadow: 0 -4px 20px rgb(23 32 51 / 12%);
}

.dwk-consent[hidden] {
    display: none;
}

.dwk-consent__inner {
    display: grid;
    gap: 1rem;
    max-width: 72rem;
    margin: 0 auto;
}

.dwk-consent h2 {
    margin: 0 0 .35rem;
    font-size: 1.25rem;
}

.dwk-consent p {
    max-width: 68ch;
    margin: 0 0 .35rem;
}

.dwk-consent a {
    color: #174fb8;
    text-decoration-thickness: .12em;
    text-underline-offset: .15em;
}

.dwk-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
}

.dwk-consent button,
.dwk-consent-manage {
    min-height: 44px;
    border-radius: .65rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.dwk-consent .dwk-button {
    padding: .7rem 1rem;
    border: 2px solid #b4233a;
}

.dwk-consent .dwk-button--primary {
    color: #fff;
    background: #b4233a;
}

.dwk-consent .dwk-button--secondary {
    color: #172033;
    background: #fff;
}

.dwk-consent-manage {
    position: fixed;
    z-index: 99997;
    right: .75rem;
    bottom: .75rem;
    padding: .5rem .75rem;
    color: #172033;
    background: #fff;
    border: 2px solid #172033;
    font-size: .8rem;
}

.dwk-consent button:focus-visible,
.dwk-consent a:focus-visible,
.dwk-consent-manage:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}

@media (min-width: 52rem) {
    .dwk-consent__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dwk-consent *,
    .dwk-consent-manage {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
