/* A TRIPLE A SECURITY's consent presentation. Behaviour and protected forms remain package-owned. */
.aaa-consent,
.aaa-consent *,
.aaa-consent-dialog,
.aaa-consent-dialog * {
    box-sizing: border-box;
}

.aaa-consent {
    align-items: center;
    background: #202020;
    border: 1px solid #555;
    bottom: max(20px, env(safe-area-inset-bottom));
    box-shadow: 0 14px 36px rgb(0 0 0 / 45%);
    color: #fff;
    display: flex;
    gap: 28px;
    left: 50%;
    max-width: 1080px;
    padding: 20px 24px;
    position: fixed;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    z-index: 1000;
}

.aaa-consent__copy {
    flex: 1 1 420px;
    min-width: 0;
}

.aaa-consent__eyebrow,
.aaa-consent-dialog__eyebrow {
    color: #a9df9f !important;
    font-family: Lato, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 16px;
    margin: 0 0 6px;
    text-align: left;
    text-transform: uppercase;
}

.aaa-consent__title,
.aaa-consent-dialog__title {
    color: #fff !important;
    font-family: Dosis, Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 32px;
    margin: 0 0 8px;
    text-align: left;
    text-transform: uppercase;
}

.aaa-consent__description {
    color: #f7f7f7 !important;
    font-family: Lato, Arial, sans-serif;
    font-size: 15px;
    line-height: 22px;
    margin: 0;
    text-align: left;
}

.aaa-consent__actions,
.aaa-consent-dialog__actions {
    align-items: center;
    display: flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    gap: 10px;
}

.aaa-consent__actions form,
.aaa-consent-dialog__actions form {
    margin: 0;
}

.aaa-consent__action {
    appearance: none;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 0;
    color: #fff !important;
    cursor: pointer;
    font-family: Dosis, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    min-height: 44px;
    padding: 10px 14px;
    text-align: center;
    text-transform: uppercase;
}

.aaa-consent__action--primary {
    background: #7cc576;
    border-color: #7cc576;
    color: #152614 !important;
}

.aaa-consent__action--link {
    border-color: transparent;
    padding-left: 4px;
    padding-right: 4px;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.aaa-consent__action:hover,
.aaa-consent__action:focus-visible {
    background: #fff;
    border-color: #fff;
    color: #222 !important;
    outline: 3px solid #a9df9f;
    outline-offset: 3px;
}

.aaa-consent__action--primary:hover,
.aaa-consent__action--primary:focus-visible {
    background: #a9df9f;
    border-color: #a9df9f;
}

.aaa-consent-dialog {
    background: #fff;
    border: 3px solid #222;
    box-shadow: 0 18px 52px rgb(0 0 0 / 55%);
    color: #222;
    margin: auto;
    max-height: calc(100dvh - 32px);
    overflow: auto;
    padding: 0;
    width: min(600px, calc(100% - 32px));
}

.aaa-consent-dialog::backdrop {
    background: rgb(0 0 0 / 72%);
}

.aaa-consent-dialog__content {
    padding: 28px;
}

.aaa-consent-dialog__eyebrow {
    color: #477944 !important;
}

.aaa-consent-dialog__title {
    color: #222 !important;
}

.aaa-consent-dialog__description {
    color: #333 !important;
    font-family: Lato, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 22px;
}

.aaa-consent-dialog__actions {
    align-items: stretch;
}

.aaa-consent-dialog .aaa-consent__action {
    border-color: #222;
    color: #222 !important;
}

.aaa-consent-dialog .aaa-consent__action--primary {
    background: #7cc576;
    border-color: #7cc576;
    color: #152614 !important;
}

.aaa-consent-dialog .aaa-consent__action--link {
    border-color: transparent;
}

.aaa-consent-dialog .aaa-consent__action:hover,
.aaa-consent-dialog .aaa-consent__action:focus-visible {
    background: #222;
    border-color: #222;
    color: #fff !important;
}

.aaa-consent-dialog .aaa-consent__action--primary:hover,
.aaa-consent-dialog .aaa-consent__action--primary:focus-visible {
    background: #a9df9f;
    border-color: #a9df9f;
    color: #152614 !important;
}

.site-footer__privacy {
    min-height: 44px;
    padding: 10px;
}

/*
 * The banner is deliberately fixed until a visitor chooses. Reserve room in
 * the dark footer while it is present so the persistent footer trigger stays
 * reachable when the visitor scrolls to the end of the page.
 */
@supports selector(body:has(.aaa-consent--banner)) {
    body:has(.aaa-consent--banner) .footer_section {
        padding-bottom: 190px;
    }
}

@media (max-width: 720px) {
    .aaa-consent {
        align-items: stretch;
        bottom: max(12px, env(safe-area-inset-bottom));
        display: block;
        padding: 18px;
        width: calc(100% - 24px);
    }

    .aaa-consent__title,
    .aaa-consent-dialog__title {
        font-size: 25px;
        line-height: 29px;
    }

    .aaa-consent__actions,
    .aaa-consent-dialog__actions {
        align-items: stretch;
        display: grid;
        margin-top: 18px;
    }

    .aaa-consent__actions form,
    .aaa-consent-dialog__actions form,
    .aaa-consent__action {
        width: 100%;
    }

    .aaa-consent__action--link {
        padding-left: 10px;
        padding-right: 10px;
    }

    .aaa-consent-dialog__content {
        padding: 22px;
    }

    @supports selector(body:has(.aaa-consent--banner)) {
        body:has(.aaa-consent--banner) .footer_section {
            padding-bottom: 390px;
        }
    }
}

@media (forced-colors: active) {
    .aaa-consent,
    .aaa-consent-dialog,
    .aaa-consent__action {
        border-color: CanvasText;
    }
}
