﻿/* ===== EVENT CARD MOBILE FIX =====
   Подключи в champagner-events.html:
   <link rel="stylesheet" href="./events-mobile.css">
   (добавь ПОСЛЕ main.min.css)
*/

@media (max-width: 768px) {

    /* Prevent body horizontal scroll */
    body {
        overflow-x: hidden;
    }

    /* ---- Event section container ---- */
    .hup-event-section {
        overflow: hidden !important;
    }

    /* ---- Outer flex wrapper: stack vertically ---- */
    .hup-event-card-wrap {
        flex-direction: column !important;
        gap: 0 !important;
        overflow: hidden !important;
        width: 100% !important;
    }

    /* ---- Image + info block: full width ---- */
    .hup-event-card-media {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    /* ---- Show image on mobile (override hup-display-none-small) ---- */
    .hup-event-card-media img.hup-event-img-mobile {
        display: block !important;
        width: 100% !important;
        max-height: 220px !important;
        object-fit: cover !important;
    }

    /* ---- Info bar: stack columns ---- */
    .hup-event-card-info {
        flex-direction: column !important;
        padding: 0 16px 16px !important;
    }

    .hup-event-card-info > div {
        width: 100% !important;
        padding-left: 0 !important;
    }

    /* Smaller date on mobile */
    .hup-event-card-info h2 {
        font-size: 48px !important;
    }

    /* ---- Form: full width + gap above ---- */
    .hup-event-card-form {
        flex: 1 1 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-top: 30px !important;
    }

    .hup-event-card-form .hup-formular {
        width: 100% !important;
        padding-inline: 24px !important;
        box-sizing: border-box !important;
    }
}

/* â”€â”€ Success Banner â”€â”€ */
.hup-success-banner {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background-color: #D9B88F;
    color: #002E2E;
    font-family: "BellotaText", sans-serif;
    font-size: 16px;
    letter-spacing: 1.5px;
    text-align: center;
    margin-top: 16px;
    opacity: 1;
    transition: opacity 0.6s ease;
    box-sizing: border-box;
}