/* Modern Event Card Styles */
.latest-events-wrapper {
    margin: 20px 0;
}

.event-card {
    display: flex;
    align-items: stretch;
    margin: 20px 0;
    
    overflow: hidden;
    background: transparent;
    
    min-height: 300px;
    position: relative;
}

.event-card-left {
    position: relative;
    width: 60%;
    height: 440px;
    border-radius: 12px;

    overflow: hidden;
}

.event-card-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Gradient overlay on image */
.event-card-left::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
     background: linear-gradient(268.99deg, #FFA300 0.87%, rgba(0, 27, 60, 0) 65.4%);
    z-index: 1;
}

/* Date Card */
.event-date-card {
    position: relative;
    top: 0;
    left: 0;
    background: #fff;
    border-radius: 12px;
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 2;
    min-width: 80px;
}
.event-card-left-content {
    margin-left: 20px;
}

.event-date-month {
    font-size: 18px;
    color: #2F2E2E;
    margin: 0;
    font-weight: 800;
    text-transform: capitalize;
    letter-spacing: 0;
    font-family: "Figtree", Sans-serif;
    line-height: 18px;
}

.event-date-day {
    font-size: 24px;
    color: #2F2E2E;
    margin: 5px 0 0 0;
    font-weight: 800;
    line-height: 1;
    font-family: "Figtree", Sans-serif;
}

/* Event Meta Overlay */
.event-meta {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2;
    color: #fff;
    display: flex;
        align-items: center;
}

.event-title {
    font-family: "Figtree", Sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0 ;
    color: #fff;
    line-height: 1.2;
}

.event-location {
    font-family: "Figtree", Sans-serif;
    font-size: 13px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

/* Right Content Area */
.event-card-right {
    width: 30%;
   
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

.event-card-right h2 {
    color: #ff9800;
    margin: 0 0 15px 0;
    font-size: 43px;
    line-height: 43px;
    font-family: "Figtree", Sans-serif;
    font-weight: 800;
}

.event-excerpt {
    color: #000000;
    margin-bottom: 25px;
    font-weight: 400;
    font-size: 13.56px;
    line-height: 20px;
    vertical-align: middle;
    font-family: "Figtree", Sans-serif;
}

.event-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: #ff9800;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    align-self: flex-start;
    gap: 8px;
}

.event-btn:hover {
    background: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
    color: #fff;
    text-decoration: none;
}
.event-card-right-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    margin-left: -150px;
    z-index: 9;
}

/* No events found */
.no-events-found {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .event-card-left,
    .event-card-right {
        width: 100%;
    }
    
    .event-card-left {
        min-height: 250px;
                height: 100%;
    }
    
    .event-card-right {
        padding: 25px 20px;
    }
    
    .event-card-right-content{
        padding: 20px;
    border-radius: 12px;
    margin-left: 0;
    }
        .event-card-right {
        padding: 0;
    }
    
    .event-meta {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    
    .event-title {
        font-size: 20px;
    }
    
    .event-card-right h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    
    
    .event-card-right h2 {
        font-size: 22px;
    }
    
    .event-excerpt {
        font-size: 14px;
    }
}