.elementor-413 .elementor-element.elementor-element-4d26a99{margin-top:0px;margin-bottom:0px;padding:0px 0px 0px 0px;}/* Start custom CSS for section, class: .elementor-element-4d26a99 *//* Ensure the container maintains a consistent width */
.elementor-widget-html .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Style the event card for consistent structure */
.elementor-widget-html .event-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 500px !important;
    height: 100% !important;
    position: relative !important;
}

/* Create a container for the image with a fixed aspect ratio */
.elementor-widget-html .event-image {
    width: 100% !important;
    height: 200px !important; /* Fixed height for uniformity */
    object-fit: cover !important; /* Fill the container, may crop */
    object-position: center !important; /* Center the image */
    display: block !important;
}

/* Ensure the event content starts after the image */
.elementor-widget-html .event-content {
    padding: 20px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

/* Fix the featured event layout */
.elementor-widget-html .featured-event {
    min-height: 500px !important;
}

/* Adjust the featured event image for desktop */
@media (min-width: 1024px) {
    .elementor-widget-html .featured-event {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
    }
    
    .elementor-widget-html .featured-event .event-image {
        width: 40% !important;
        height: auto !important; /* Allow natural height for featured event */
        object-fit: cover !important;
    }
    
    .elementor-widget-html .featured-event .event-content {
        width: 60% !important;
        min-height: 500px !important;
    }
}

/* Responsive adjustments for Elementor */
@media (min-width: 768px) {
    .elementor-widget-html .event-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .elementor-widget-html .event-card {
        margin-bottom: 0 !important;
        height: 100% !important;
    }
    
    .elementor-widget-html .featured-event {
        grid-column: span 2 !important;
    }
}

@media (min-width: 1024px) {
    .elementor-widget-html .event-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .elementor-widget-html .featured-event {
        grid-column: span 3 !important;
    }
}

@media (max-width: 767px) {
    .elementor-widget-html .event-card {
        min-height: 450px !important;
    }
    
    .elementor-widget-html .featured-event {
        min-height: 450px !important;
    }
    
    .elementor-widget-html .event-image {
        height: 150px !important; /* Smaller height for mobile */
    }
}/* End custom CSS */