.elementor-4905 .elementor-element.elementor-element-d59c42d{--display:flex;}/* Start custom CSS for MEC, class: .elementor-element-e9f5ffe *//* =========================
   Event Card Container
========================= */
.mec-wrap .mec-event-article {
    border: 1px solid #ddd !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08) !important;
    padding: 16px !important;
    text-align: center;
    transition: all 0.3s ease-in-out;
}
.mec-wrap .mec-event-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

/* =========================
   Image Styling
========================= */
.mec-wrap .mec-event-image {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 12px !important;
    border: 3px solid #000 !important;
    overflow: hidden !important;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}
.mec-wrap .mec-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%);
}

/* =========================
   Date Badge
========================= */
.mec-wrap .mec-event-date {
    background: #000 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 10px;
}

/* =========================
   Title Styling
========================= */
.mec-wrap h4.mec-event-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 10px 0;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================
   Footer Layout
========================= */
.mec-wrap .mec-event-footer {
    margin-top: 12px;
    padding: 0;
    border: none;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* =========================
   Booking Button (Default)
========================= */
.mec-wrap .mec-booking-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff !important;
    padding: 10px 28px;
    border-radius: 8px;
    background: #000;
    border: 2px solid #000;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: normal;
    text-decoration: none !important;
}

/* Booking Hover */
.mec-wrap .mec-booking-button:hover {
    background: #fff !important;
    color: #000 !important;
    border-color: #000 !important;
    transform: translateY(-2px);
}

/* =========================
   View Detail Button (Targeted via URL)
========================= */
.mec-wrap .mec-event-footer a.mec-booking-button[href*="trade-show"] {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
}

/* =========================
   View Detail Hover (FINAL FIX)
========================= */
.mec-wrap .mec-event-footer a.mec-booking-button[href*="trade-show"]:hover,
.mec-wrap .mec-event-footer a.mec-booking-button[href*="trade-show"].mec-bg-color-hover:hover {
    background: #1DD09D !important;
    color: #000 !important;
    border-color: #1DD09D !important;
    transform: translateY(-2px) !important;
}/* End custom CSS */