/***** Cookie banner *****/
#cookie-banner {
    position: sticky; /* Sticks to top when scrolling (optional; remove if not desired) */
    top: 0;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap; /* Allows stacking on small screens */
    align-items: center;
    background-color: #004e6f; /* Teal/blue similar to Draper brand feel */
    color: #ffffff;
    padding: 16px 5vw;
    /* font-family: "Proxima Nova", "Helvetica Neue", Arial, sans-serif; */
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* Text block centered */
.cookie-banner-text {
    flex: 1 1 auto;
    max-width: 900px;
    margin: 0 auto; /* Centers the text block within the banner */
    text-align: center;
}

/* Button container on the right on wider viewports */
.cookie-banner-button {
    flex: 0 0 auto;
    margin-left: auto; /* Pushes button group to the right edge */
}

/* Headline: larger and bolder than body text */
#cookie-banner h3 {
    margin: 0 0 8px 0;
    font-weight: 700; /* Stronger than your original 500 */
    font-size: clamp(1.25rem, 2vw + 0.5rem, 1.6rem); /* Responsive size */
    letter-spacing: 0.03em;
}

/* Body text: smaller than H3, good line-height */
#cookie-banner p {
    margin: 0;
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Link styling (e.g. Privacy Policy) */
#cookie-banner a {
    color: #ffce07;
    text-decoration: underline;
}

/* Button styles */
.cookie-button {
    background-color: #e5582b; /* Orange button */
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 999px; /* Pill shape */
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

    /* Hover: invert & subtle lift, fix hex code */
    .cookie-button:hover {
        background-color: #ffffff;
        color: #e5582b;
        transform: translateY(-1px);
    }

    /* Focus state for accessibility */
    .cookie-button:focus-visible {
        outline: 2px solid #ffce07;
        outline-offset: 2px;
    }

/* --------- Mobile / narrow view --------- */
@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column; /* Stack elements vertically */
        text-align: center;
        padding: 12px 16px;
    }

    .cookie-banner-text {
        margin: 0 0 12px 0;
    }

    .cookie-banner-button {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .cookie-button {
        width: 90%; /* Nice wide, tap-friendly button */
        max-width: 260px;
    }

    #cookie-banner h3 {
        font-size: 1.2rem;
    }

    #cookie-banner p {
        font-size: 0.9rem;
    }
}
