/* WordPress enqueues this stylesheet; static import analysis cannot see it. */
/* fallow-ignore-file unused-file */
.res-consent {
    --res-consent-navy: #121826;
    --res-consent-navy-hover: #1b2435;
    --res-consent-mint: #32b26b;
    --res-consent-white: #fff;
    --res-consent-warm: #fffcf7;
    --res-consent-text: #121826;
    --res-consent-muted: #475467;
    --res-consent-border: #d0d5dd;
    --res-consent-off: #e5e7eb;
    --res-consent-control-border: #98a2b3;
    color-scheme: light;
    color: var(--res-consent-text);
    font-family: inherit;
    line-height: 1.5;
}

.res-consent *,
.res-consent *::before,
.res-consent *::after {
    box-sizing: border-box;
}

body.res-consent-banner-active {
    padding-bottom: var(--res-consent-banner-height, 60vh) !important;
    padding-bottom: var(--res-consent-banner-height, 60dvh) !important;
}

.res-consent__banner {
    position: fixed;
    z-index: 8900;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: 60vh;
    max-height: 60dvh;
    overflow-y: auto;
    padding: 20px max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    border-top: 1px solid var(--res-consent-border);
    background: var(--res-consent-warm);
    box-shadow: 0 -8px 24px rgba(18, 24, 38, .14);
}

.res-consent__banner[hidden],
.res-consent__status[hidden] {
    display: none;
}

.res-consent__banner-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.res-consent h2,
.res-consent h3,
.res-consent p {
    margin-top: 0;
}

.res-consent__banner h2 {
    margin-bottom: 6px;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.res-consent__banner p {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--res-consent-muted);
}

.res-consent__banner-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 8px;
    align-items: center;
}

.res-consent__banner-actions a {
    grid-column: 1 / -1;
    min-height: 44px;
    justify-self: start;
    padding: 10px 0;
    color: var(--res-consent-navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.res-consent__button,
.res-consent__close,
.res-consent__switch {
    min-height: 44px;
    border: 2px solid var(--res-consent-navy);
    border-radius: 6px;
    background: var(--res-consent-white);
    color: var(--res-consent-navy);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.res-consent__button {
    min-width: 150px;
    padding: 9px 16px;
}

.res-consent__button--filled {
    background: var(--res-consent-navy);
    color: var(--res-consent-white);
}

.res-consent__button:hover,
.res-consent__button:focus-visible {
    border-color: var(--res-consent-navy-hover);
}

.res-consent__button--filled:hover {
    background: var(--res-consent-navy-hover);
}

.res-consent :focus-visible,
.res-consent__reopen:focus-visible {
    outline: 3px solid #e93f31;
    outline-offset: 3px;
}

.res-consent__dialog {
    width: min(672px, calc(100vw - 32px));
    max-width: 672px;
    height: auto;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    background: var(--res-consent-warm);
    color: var(--res-consent-text);
    z-index: 1100001;
}

.res-consent__dialog::backdrop {
    background: rgba(0, 0, 0, .55);
    z-index: 1100000;
}

.res-consent__dialog-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    max-height: inherit;
}

.res-consent__dialog-header,
.res-consent__dialog-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--res-consent-white);
}

.res-consent__dialog-header {
    justify-content: space-between;
    border-bottom: 1px solid var(--res-consent-border);
}

.res-consent__dialog-header h2 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.res-consent__dialog-footer {
    justify-content: flex-end;
    flex-wrap: wrap;
    border-top: 1px solid var(--res-consent-border);
    padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.res-consent__close {
    width: 44px;
    min-width: 44px;
    padding: 0;
    border-color: transparent;
    font-size: 2rem;
    line-height: 1;
}

.res-consent__dialog-content {
    overflow-y: auto;
    padding: 20px;
    overscroll-behavior: contain;
}

.res-consent__dialog-content > p {
    color: var(--res-consent-muted);
}

.res-consent__preference {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid var(--res-consent-border);
}

.res-consent__preference h3 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.res-consent__preference p {
    margin-bottom: 0;
    color: var(--res-consent-muted);
}

.res-consent__switch {
    position: relative;
    width: 48px;
    min-width: 48px;
    padding: 0;
    border-color: var(--res-consent-control-border);
    border-radius: 999px;
    background: var(--res-consent-off);
}

.res-consent__switch span {
    position: absolute;
    top: 50%;
    left: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--res-consent-navy);
    transform: translateY(-50%);
    transition: left .15s ease;
}

.res-consent__switch[aria-checked="true"] {
    border-color: var(--res-consent-mint);
    background: var(--res-consent-mint);
}

.res-consent__switch[aria-checked="true"] span {
    left: 22px;
    background: var(--res-consent-white);
}

.res-consent__switch:disabled {
    cursor: default;
    opacity: .8;
}

.res-consent__dependency,
.res-consent__timing {
    padding: 12px;
    border-left: 4px solid var(--res-consent-border);
    background: var(--res-consent-white);
}

.res-consent__dependency-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.res-consent__status {
    position: fixed;
    z-index: 1100020;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: min(420px, calc(100vw - 32px));
    padding: 14px 16px;
    border: 2px solid var(--res-consent-navy);
    border-radius: 6px;
    background: var(--res-consent-white);
    color: var(--res-consent-text);
    box-shadow: 0 8px 24px rgba(18, 24, 38, .2);
}

.res-consent__reopen {
    min-height: 44px;
    margin: 4px 12px;
    padding: 8px 4px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.res-consent__reopen--fallback {
    display: block;
    width: fit-content;
    margin: 16px;
    padding: 10px 14px;
    border: 2px solid #121826;
    border-radius: 6px;
    background: #121826;
    color: #fff;
}

.res-consent__reopen--astra {
    padding: 8px 12px;
    border: 2px solid #121826;
    border-radius: 6px;
    background: #fff;
    color: #121826;
}

.res-consent__reopen--astra:hover {
    border-color: #121826;
    background: #121826;
    color: #fff;
}

.res-consent__reopen--astra:focus-visible {
    border-color: #121826;
    background: #fff;
    color: #121826;
    outline: 3px solid #121826;
    outline-offset: 3px;
}

.res-consent__no-script {
    display: none;
    margin: 16px;
    padding: 16px;
    border: 2px solid #121826;
    border-radius: 6px;
    background: #fffcf7;
    color: #121826;
}

.res-consent__no-script a {
    color: #121826;
    text-decoration: underline;
}

@media (max-width: 782px) {

    .res-consent__banner-inner,
    .res-consent__banner-actions {
        grid-template-columns: 1fr;
    }

    .res-consent__banner-actions a {
        grid-column: auto;
    }

    .res-consent__button {
        width: 100%;
    }

    .res-consent__dialog {
        width: calc(100vw - 8px);
        max-width: none;
        height: calc(100vh - 8px);
        height: calc(100dvh - 8px);
        max-height: calc(100vh - 8px);
        max-height: calc(100dvh - 8px);
        margin: 8px 4px 0;
        border-radius: 10px 10px 0 0;
    }

    .res-consent__dialog-panel {
        height: 100%;
    }
}

@media (max-width: 480px) {
    .res-consent__dialog-footer {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .res-consent__dialog-footer .res-consent__button {
        width: 100%;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .res-consent__switch span {
        transition: none;
    }
}

@media (forced-colors: active) {
    .res-consent__banner,
    .res-consent__dialog,
    .res-consent__status,
    .res-consent__button,
    .res-consent__switch,
    .res-consent__reopen {
        border: 2px solid CanvasText;
        forced-color-adjust: auto;
    }

    .res-consent :focus-visible,
    .res-consent__reopen:focus-visible {
        outline: 3px solid Highlight;
    }
}
