/* easy-events-frontend.css */

.easy-events-list-container {
    max-width: 100%; /* Adjust as needed */
    margin: 20px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.easy-event-item {
    display: flex;
    align-items: flex-start; /* Align items to the top */
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.easy-event-item:last-child {
    border-bottom: none;
}

.easy-event-image {
    flex-shrink: 0; /* Prevent image from shrinking */
    width: 200px;
    height: 200px;
    overflow: hidden; /* Ensure image doesn't overflow its container */
    margin-right: 20px;
    border-radius: 4px; /* Optional: slight rounded corners for the image */
}

.easy-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, cropping if necessary */
    display: block;
}

.easy-event-details {
    flex-grow: 1; /* Allow details to take remaining space */
}

.easy-event-date-time {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.easy-event-day {
    font-weight: bold;
    color: #333;
    margin-right: 5px;
}

.easy-event-date,
.easy-event-time {
    display: inline-block; /* Keep them inline */
    margin-right: 10px;
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif !important;
    font-size: 1em;
}

.easy-event-title {
    font-size: 1.7em;
    font-weight: bold;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.2;
    font-family: 'Abril Fatface',Helvetica,Arial,Lucida,sans-serif !important;
}

.easy-event-description {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif !important;
}

.easy-event-location {
    font-size: 0.95em;
    color: #444;
    margin-bottom: 15px;
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif !important;
}

.easy-events-add-to-calendar-btn {
    display: inline-block;
    background-color: #0073aa; /* WordPress primary blue */
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif !important;
}

.easy-events-add-to-calendar-btn:hover {
    background-color: #005177;
}

/* Responsive adjustments */
@media (max-width: 100%) {
    .easy-event-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .easy-event-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .easy-event-date-time,
    .easy-event-location {
        text-align: center;
    }
    .easy-event-title {
        text-align: center;
    }
}