/* Minification failed. Returning unminified contents.
(9,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(11,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(12,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(13,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(14,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(22,22): run-time error CSS1039: Token not allowed after unary operator: '-cookie-bg'
(23,17): run-time error CSS1039: Token not allowed after unary operator: '-cookie-text'
(48,17): run-time error CSS1039: Token not allowed after unary operator: '-cookie-link'
(63,22): run-time error CSS1039: Token not allowed after unary operator: '-cookie-btn-bg'
(64,17): run-time error CSS1039: Token not allowed after unary operator: '-cookie-btn-text'
(71,22): run-time error CSS1039: Token not allowed after unary operator: '-cookie-btn-hover'
 */
/* ==========================================================
   cookieBanner.css  -  cookie notice bar shown at the bottom
   of every page until the visitor clicks OK.
   Everything is prefixed .cookie-banner so it cannot clash
   with other site styles.
   ========================================================== */

.cookie-banner {
    --cookie-bg: #0b1f3a;
    --cookie-text: #ffffff;
    --cookie-link: #ffd777;
    --cookie-btn-bg: #d4a847;
    --cookie-btn-text: #0b1f3a;
    --cookie-btn-hover: #e3bb63;

    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040; /* above page content, below Bootstrap modals (1050) so popups stay on top */
    padding: 0.9rem 1rem;
    background: var(--cookie-bg);
    color: var(--cookie-text);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* the [hidden] attribute keeps it invisible until the script decides to show it */
.cookie-banner[hidden] {
    display: none;
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    max-width: 1140px;
    margin: 0 auto;
}

.cookie-banner-text {
    margin: 0;
}

.cookie-banner a {
    color: var(--cookie-link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner a:hover {
    color: #ffffff;
}

.cookie-banner-btn {
    flex: 0 0 auto;
    min-width: 96px;
    padding: 0.55rem 1.5rem;
    border: 0;
    border-radius: 4px;
    background: var(--cookie-btn-bg);
    color: var(--cookie-btn-text);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.cookie-banner-btn:hover {
    background: var(--cookie-btn-hover);
}

.cookie-banner a:focus-visible,
.cookie-banner-btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

/* gentle slide-up, only for people who have not asked for reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .cookie-banner.is-visible {
        animation: cookie-slide-up 0.35s ease-out;
    }
}

@keyframes cookie-slide-up {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* phones: stack text above a full-width button */
@media (max-width: 767.98px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        text-align: left;
    }

    .cookie-banner-btn {
        width: 100%;
    }
}

@media print {
    .cookie-banner {
        display: none !important;
    }
}

