.elementor-49602 .elementor-element.elementor-element-77ca501{margin-top:22px;margin-bottom:0px;}/* Start custom CSS for shortcode, class: .elementor-element-014099a */.mec-wrap .row {
    display: flex !important;
    flex-wrap: wrap !important;
}

.mec-wrap .col-md-4, 
.mec-wrap .mec-event-col4 {
    display: flex !important;
    flex-direction: column !important;
}

.mec-wrap .mec-event-article {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important; /* Centers content horizontally */
    text-align: center !important;  /* Centers all nested text */
    flex: 1 1 auto !important;
    position: relative !important; /* Required for the bottom button positioning */
    
    background: #ffffff !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
    
    /* Added generous bottom padding (80px) to prevent text from hitting the button */
    padding: 30px 25px 80px 25px !important;
    margin-bottom: 30px !important;
}

/* Hover lift effect */
.mec-wrap .mec-event-article:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}
/* ==========================================
   2. ELIMINATE LOCATION / ADDRESS COMPLETELY
   ========================================== */
.mec-wrap .mec-venue-details,
.mec-wrap .mec-event-location,
.mec-wrap .mec-event-loc-place,
.mec-wrap .mec-event-detail,
.mec-wrap [class*="venue"],
.mec-wrap [class*="location"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* ==========================================
   3. DATE FORMATTING: ONE LINE, 22PX, BLACK, CENTERED
   ========================================== */
/* Set parent wrapper to flex-center elements horizontally */
.mec-wrap .event-grid-modern-head {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important; 
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important; /* Clean space between "Tuesday August" and "11" */
    margin: 0 auto 15px auto !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
}

/* Force inner containers to act as simple inline text wrappers */
.mec-wrap .mec-event-month,
.mec-wrap .mec-event-day {
    display: inline-block !important;
    vertical-align: middle !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Style the text elements with Montserrat, 22px, Weight 800, Solid Black */
.mec-wrap .mec-start-date-label,
.mec-wrap .mec-event-day {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 22px !important;
    color: #000000 !important;
    font-weight: 800 !important;
    text-transform: capitalize !important;
    opacity: 1 !important;
    line-height: 1 !important;
    letter-spacing: 0px !important;
}

/* Remove duplicate background layout shapes */
.mec-wrap .mec-event-date span:not(.mec-start-date-label) {
    display: none !important;
}
/* ==========================================
   4. TITLE TWEAKS & CENTER ALIGNMENT
   ========================================== */
.mec-wrap .mec-event-content {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    text-align: center !important;
    width: 100% !important;
}

.mec-wrap .mec-event-title,
.mec-wrap .mec-event-title h3,
.mec-wrap .mec-event-title h4,
.mec-wrap .mec-event-title a {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    display: block !important;
}

.mec-wrap .mec-event-title a:hover {
    color: #1a1a1a !important;
    text-decoration: underline !important;
}
/* ==========================================
   5. BUTTON: STRETCH FOOTER & PERFECT HORIZONTAL CENTERING
   ========================================== */
/* We stretch the absolute-positioned footer 100% wide and use flex to center the button */
.mec-wrap .mec-event-footer {
    position: absolute !important;
    bottom: 25px !important; /* Anchors it exactly 25px from bottom of card */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important; /* Centers button horizontally */
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Force the button inside the footer to center align */
.mec-wrap .mec-event-footer a,
.mec-wrap .mec-booking-button {
    display: inline-block !important;
    float: none !important;
    margin: 0 auto !important;
    position: relative !important;
}
/* ==========================================
   6. HIDE SHARE BUTTON & CLEAN PAGINATION WRAPPERS
   ========================================== */
.mec-wrap .mec-event-sharing,
.mec-wrap .mec-event-sharing-wrap,
.mec-wrap .mec-event-share-icon,
.mec-wrap [class*="sharing"],
.mec-wrap [class*="share-icon"] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mec-wrap .mec-load-more-wrap {
    margin-top: 15px !important;
    padding-top: 0 !important;
}

/* Hide the total event count block */
.mec-wrap .mec-total-events {
    display: none !important;
}
/* ==========================================
   7. PAGINATION BUTTONS: FORCE LIGHT GREY & BLACK TEXT/ARROWS
   ========================================== */
/* Targets the exact classes found in your HTML snippet */
html body .mec-wrap .mec-nextprev-wrap span,
html body .mec-wrap .mec-nextprev-wrap a,
html body .mec-wrap .mec-nextprev-prev-button,
html body .mec-wrap .mec-nextprev-next-button {
    background-color: #f2f2f2 !important; /* Light grey background */
    background: #f2f2f2 !important;
    border: 1px solid #e0e0e0 !important;
    color: #000000 !important; /* Force text to black */
    transition: all 0.2s ease-in-out !important;
}

/* Force icons, svg, and arrow symbols inside these buttons to be pure black */
html body .mec-wrap .mec-nextprev-wrap span *,
html body .mec-wrap .mec-nextprev-wrap a *,
html body .mec-wrap .mec-nextprev-wrap a::before,
html body .mec-wrap .mec-nextprev-wrap a::after,
html body .mec-wrap .mec-nextprev-wrap span::before,
html body .mec-wrap .mec-nextprev-wrap span::after {
    color: #000000 !important;
    fill: #000000 !important;
}

/* Hover States */
html body .mec-wrap .mec-nextprev-wrap a:hover,
html body .mec-wrap .mec-nextprev-next-button:hover,
html body .mec-wrap .mec-nextprev-prev-button:hover {
    background-color: #e6e6e6 !important; /* Slightly darker grey on hover */
    background: #e6e6e6 !important;
    border-color: #d1d1d1 !important;
    color: #000000 !important;
}/* End custom CSS */