/*
 * COOKIE NOTICE
 * ------------------------------------------------------------------
 * Pairs with assets/scripts/ca-cookies.js, which also does the gating:
 * Google Tag Manager does not load until someone accepts.
 *
 * The notice sits bottom-left, deliberately small and quiet. It is not a
 * modal: it does not block the page, does not trap focus and does not
 * steal focus on load. Nothing behind it is unreachable while it is up.
 */

.ca-ck {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9400;
    width: calc(100% - 48px);
    max-width: 420px;
    padding: 24px 26px 22px;
    border: 1px solid rgba(35, 31, 32, .14);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(35, 31, 32, .13);
    color: #231f20;
    font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
    -webkit-transform: translateY(14px);
    transform: translateY(14px);
    opacity: 0;
    transition: opacity .5s ease, transform .5s cubic-bezier(.4, 0, 0, 1);
}

.ca-ck[hidden] { display: none; }
.ca-ck.is-in { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; }

.ca-ck_title {
    margin: 0 0 10px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.ca-ck_text {
    margin: 0 0 18px;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.65;
    color: #4a4440;
}

.ca-ck_text a { color: #231f20; text-decoration: underline; text-underline-offset: .2em; }

.ca-ck_actions { display: -ms-flexbox; display: flex; gap: 10px; }

.ca-ck_btn {
    -ms-flex: 1 1 0; flex: 1 1 0;
    padding: 13px 10px;
    border: 1px solid #231f20;
    border-radius: 999px;
    background: transparent;
    color: #231f20;
    font-family: inherit;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .3s cubic-bezier(.4, 0, 0, 1), color .3s cubic-bezier(.4, 0, 0, 1);
}

.ca-ck_btn.-accept { background: #231f20; color: #fff; }
.ca-ck_btn.-accept:hover, .ca-ck_btn.-accept:focus-visible { background: #000; border-color: #000; }
.ca-ck_btn.-essential:hover, .ca-ck_btn.-essential:focus-visible { background: #231f20; color: #fff; }

/* The link that brings the notice back, dropped into the footer's
   Policies column by the script. */
.ca-ck_reopen { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }

@media (max-width: 699px) {
    .ca-ck { bottom: 16px; left: 16px; width: calc(100% - 32px); padding: 20px 20px 18px; }
    .ca-ck_actions { display: block; }
    .ca-ck_btn { width: 100%; }
    .ca-ck_btn + .ca-ck_btn { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .ca-ck { transition-duration: .01ms; }
}
