.elementor-2245 .elementor-element.elementor-element-30ae20a{--display:flex;}/* Start custom CSS *//* 1. Grid Container Setup */
.event-grid-container {
    display: grid;
    /* Forces exactly 3 columns on desktop screens */
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 20px 0;
}

/* 2. Card Styling (Identical in Normal and Hover States) */
.event-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.08); /* Static card shadow */
    text-decoration: none !important; /* Forces underline removal in normal state */
}

.event-card:hover {
    /* Keeps all box properties identical on hover (no lifting or scaling animations) */
    box-shadow: 0 4px 6px rgba(0,0,0,0.08); 
    text-decoration: none !important; /* Forces underline removal on hover */
}

/* 3. Image Area Styling */
.event-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f7f7f7;
}

/* 4. Text Area Styling */
.event-card-title {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.event-card-title h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #2c3e50; /* Normal text color */
    line-height: 1.4;
    font-weight: 600;
    text-decoration: none !important;
}

/* Keeps the text color exactly the same when the link is hovered */
.event-card:hover .event-card-title h3 {
    color: #2c3e50; 
    text-decoration: none !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet View (Screens smaller than 992px) */
@media (max-width: 992px) {
    .event-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .event-card-image {
        height: 180px;
    }
}

/* Mobile View (Screens smaller than 600px) */
@media (max-width: 600px) {
    .event-grid-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .event-card-image {
        height: 160px;
    }
}/* End custom CSS */