/* =========================================================
   Cookie consent banner (includes/class-zea-consent.php).
   Self-contained: literal colours (matching the site's dark magenta/
   blue palette) rather than theme custom properties, since this
   loads on every page whether or not the theme's stylesheets do.
   ========================================================= */
.zea-consent[hidden] {
    display: none !important;
}
.zea-consent {
    position: fixed;
    left: 1.25em;
    bottom: 1.25em;
    z-index: 10000; /* above the floating contact buttons (9998) */
    width: calc(100% - 2.5em);
    max-width: 440px;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.zea-consent__panel {
    box-sizing: border-box;
    padding: 1.4em 1.4em 1.2em;
    border: 1px solid #A502A8;
    border-radius: 12px;
    background-color: #101010;
    color: #FAFAFA;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(165, 2, 168, 0.18);
}
.zea-consent__title {
    margin: 0 0 0.5em;
    font-family: 'Mulish', 'Inter', system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: #FFFFFF;
}
.zea-consent__title:focus {
    outline: none;
}
.zea-consent__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #FAFAFA;
    opacity: 0.9;
}
.zea-consent__text a {
    color: #FFFFFF;
    text-decoration: underline;
}

.zea-consent__options {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
    margin-top: 1em;
    padding-top: 1em;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.zea-consent__option {
    display: flex;
    align-items: flex-start;
    gap: 0.7em;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.4;
}
.zea-consent__option input {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #A502A8;
}
.zea-consent__option small {
    display: block;
    margin-top: 0.15em;
    font-size: 0.78rem;
    color: #FAFAFA;
    opacity: 0.7;
}

.zea-consent__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6em;
    margin-top: 1.1em;
}
/* Accept and Reject are deliberately the same size, weight and prominence -
   refusing must be as easy as agreeing. */
.zea-consent .zea-consent__btn {
    flex: 1 1 auto;
    min-width: 110px;
    padding: 0.65em 1em;
    border: 1px solid #A502A8;
    border-radius: 8px;
    background-color: #A502A8;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.zea-consent .zea-consent__btn:hover,
.zea-consent .zea-consent__btn:focus-visible {
    background-color: #2F4A9D;
    border-color: #2F4A9D;
}
.zea-consent .zea-consent__btn:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}
.zea-consent .zea-consent__btn--link {
    flex: 0 0 auto;
    border-color: transparent;
    background-color: transparent;
    text-decoration: underline;
}
.zea-consent .zea-consent__btn--link:hover,
.zea-consent .zea-consent__btn--link:focus-visible {
    background-color: transparent;
    border-color: transparent;
    color: #FFFFFF;
}
.zea-consent .zea-consent__btn[hidden] {
    display: none;
}

/* Footer / privacy-page "Cookie settings" button. */
.zea-consent-open {
    padding: 0;
    border: none;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.hec-site-footer__cookie-sep {
    margin: 0 0.5em;
}

@media (max-width: 575px) {
    .zea-consent {
        left: 0.75em;
        bottom: 0.75em;
        width: calc(100% - 1.5em);
    }
    .zea-consent__panel {
        padding: 1.1em 1.1em 1em;
    }
}
@media (prefers-reduced-motion: reduce) {
    .zea-consent .zea-consent__btn {
        transition: none;
    }
}
