/* Xcelacore Cookie Notice. Colours come from --xc-cc-* variables so each site can match its own brand
   (set per site in the xc_cc_css_vars option); the fallbacks are neutral. Type inherits from the site. */
.xc-cc {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2147483000;               /* above sticky buttons and the reCAPTCHA badge while it is open */
    background: var(--xc-cc-bg, #ffffff);
    color: var(--xc-cc-text, #2b3340);
    border-top: 3px solid var(--xc-cc-rule, #2b3340);
    box-shadow: 0 -6px 24px rgba(20, 30, 50, 0.12);
}

.xc-cc[hidden] { display: none; }

.xc-cc__inner {
    box-sizing: border-box;
    max-width: var(--xc-cc-width, 1280px);
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 16px 32px;
}

.xc-cc__body { flex: 1 1 auto; min-width: 0; }

.xc-cc .xc-cc__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 400;
    letter-spacing: normal;
    color: inherit;
}

.xc-cc .xc-cc__text[hidden] { display: none; }

.xc-cc .xc-cc__text a,
.xc-cc .xc-cc__link {
    color: var(--xc-cc-link, inherit);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.xc-cc .xc-cc__link {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 600;
    letter-spacing: inherit;
    text-transform: none;
    text-align: left;
    white-space: normal;
    cursor: pointer;
}

.xc-cc .xc-cc__text a:hover,
.xc-cc .xc-cc__link:hover { text-decoration-thickness: 2px; }

.xc-cc__actions { flex: 0 0 auto; }

.xc-cc .xc-cc__ok {
    min-width: 96px;
    padding: 11px 22px;
    border: 0;
    border-radius: var(--xc-cc-radius, 5px);
    background: var(--xc-cc-accent, #2b3340);
    color: var(--xc-cc-accent-text, #ffffff);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 17px;
    letter-spacing: 0.65px;
    text-transform: uppercase;
    cursor: pointer;
}

.xc-cc .xc-cc__ok:hover { filter: brightness(0.95); }

.xc-cc .xc-cc__ok:focus-visible,
.xc-cc .xc-cc__link:focus-visible,
.xc-cc .xc-cc__text a:focus-visible,
.xc-cc-reopen__btn:focus-visible {
    outline: 3px solid var(--xc-cc-rule, #2b3340);
    outline-offset: 2px;
}

/* Quiet link under the footer so a visitor can reopen the notice and change their choice. */
.xc-cc-reopen {
    padding: 10px 16px;
    text-align: center;
    background: var(--xc-cc-reopen-bg, transparent);
}

.xc-cc-reopen__btn {
    margin: 0;
    padding: 4px 6px;
    border: 0;
    background: none;
    color: var(--xc-cc-reopen-text, #5b6675);
    font: inherit;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

@media (max-width: 782px) {
    .xc-cc__inner {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 18px;
    }
    .xc-cc .xc-cc__text { font-size: 14px; }
    .xc-cc .xc-cc__ok { width: 100%; }
}

/* Theme-proofing: many themes style every <button> (borders, hover fills, shadows, min sizes).
   Pin the notice's own controls in every state so they look the same on any site. */
.xc-cc .xc-cc__link,
.xc-cc .xc-cc__link:hover,
.xc-cc .xc-cc__link:focus,
.xc-cc .xc-cc__link:active,
.xc-cc-reopen .xc-cc-reopen__btn,
.xc-cc-reopen .xc-cc-reopen__btn:hover,
.xc-cc-reopen .xc-cc-reopen__btn:focus,
.xc-cc-reopen .xc-cc-reopen__btn:active {
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-width: 0;
    min-height: 0;
    width: auto;
    height: auto;
    text-shadow: none;
    transform: none;
}

.xc-cc .xc-cc__link,
.xc-cc .xc-cc__link:hover,
.xc-cc .xc-cc__link:focus,
.xc-cc .xc-cc__link:active,
.xc-cc .xc-cc__text a,
.xc-cc .xc-cc__text a:hover,
.xc-cc .xc-cc__text a:focus {
    color: var(--xc-cc-link, inherit);
    font-size: inherit;
    line-height: inherit;
}

.xc-cc-reopen .xc-cc-reopen__btn,
.xc-cc-reopen .xc-cc-reopen__btn:hover,
.xc-cc-reopen .xc-cc-reopen__btn:focus,
.xc-cc-reopen .xc-cc-reopen__btn:active {
    color: var(--xc-cc-reopen-text, #5b6675);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: normal;
    text-transform: none;
    padding: 4px 6px;
}

.xc-cc .xc-cc__ok,
.xc-cc .xc-cc__ok:hover,
.xc-cc .xc-cc__ok:focus,
.xc-cc .xc-cc__ok:active {
    background: var(--xc-cc-accent, #2b3340);
    color: var(--xc-cc-accent-text, #ffffff);
    border: 0;
    box-shadow: none;
    text-shadow: none;
    transform: none;
    height: auto;
}

.xc-cc .xc-cc__text { font-family: inherit; text-transform: none; text-align: left; padding: 0; }
