/* Latest Events Display Styles v2.2 */
.latest-events-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Event Card */
.event-card {
    display: flex;
    gap: 24px;
    background-color: #f5f5f5;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Thumbnail */
.event-thumbnail {
    flex-shrink: 0;
    width: 220px;
    height: 208px;
    border-radius: 8px;
    overflow: hidden;
}

.event-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Event Details */
.event-details {
    flex: 1;
}

/* Title */
.event-title {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

/* Location */
.event-location {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    font-weight: 500;
}

/* Excerpt */
.event-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
}

/* Read More Button */
.event-readmore {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #0066cc;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.event-readmore:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Dark Background Styles */
.event-card.dark-bg .event-title,
.event-card.dark-bg .event-location,
.event-card.dark-bg .event-excerpt,
.event-card.dark-bg .event-readmore {
    color: #ffffff !important;
}

.event-card.dark-bg .event-excerpt {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* No Posts Message */
.events-no-posts {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    color: #888;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 640px) {
    .event-card {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    
    .event-thumbnail {
        width: 100%;
        height: 180px;
    }
    
    .event-title {
        font-size: 18px;
    }
}