/* Mobile-only event cover banner for guest QR login.
   Copy/layout mirrors desktop .event-overlay; does not restyle the login form. */

.guest-event-banner {
    display: none;
}

@media (max-width: 991.98px) {
    .guest-event-banner {
        display: block;
        position: relative;
        overflow: hidden;
        border-radius: 14px;
        margin: 0 0 clamp(14px, 2dvh, 20px);
        min-height: 160px;
        background-color: #0f172b;
        color: #fff;
    }

    .guest-event-banner__cover {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .guest-event-banner__shade {
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.3) 70%,
            transparent 100%
        );
        pointer-events: none;
    }

    .guest-event-banner--no-cover .guest-event-banner__shade {
        background: linear-gradient(to top, rgba(15, 23, 43, 0.92) 0%, rgba(15, 23, 43, 0.75) 100%);
    }

    .guest-event-banner__content {
        position: relative;
        z-index: 1;
        padding: 20px 16px 16px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        min-height: 160px;
    }

    .guest-event-banner__title {
        margin: 0 0 8px;
        font-size: clamp(18px, 5vw, 22px);
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: -0.3px;
        color: #fff;
        overflow-wrap: anywhere;
    }

    .guest-event-banner__meta {
        margin: 0 0 12px;
        font-size: 14px;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.9);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .guest-event-banner__meta i {
        font-size: 12px;
        opacity: 0.85;
    }

    .guest-event-banner__divider {
        border: none;
        border-top: 1.5px solid rgba(255, 255, 255, 0.35);
        margin: 0;
        width: 100%;
    }

    .guest-event-banner__tagline {
        margin: 10px 0 0;
        font-size: 13px;
        font-style: italic;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.8);
        letter-spacing: 0.2px;
        line-height: 1.5;
    }
}

@media (min-width: 992px) {
    .guest-event-banner {
        display: none !important;
    }
}
