/*!
Theme Name: Kadence
Theme URI: https://www.kadencewp.com/kadence-theme/
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: Kadence Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.
Version: 1.4.5
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence
Requires at least: 6.3
Tested up to: 6.9.1
Tags: translation-ready, accessibility-ready, two-columns, right-sidebar, left-sidebar, footer-widgets, blog, custom-logo, custom-background, custom-menu, rtl-language-support, editor-style, threaded-comments, custom-colors, featured-images, wide-blocks, full-width-template, theme-options, e-commerce
Requires PHP: 7.4

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share
what you've learned with others.
*/


/* Horizontal event list container */
.ecs-event-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Individual event card */
.ecs-event {
    flex: 1 1 300px;
    max-width: 350px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.ecs-event:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Images inside event cards */
.ecs-event img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Event title styling */
.ecs-event .entry-title {
    margin: 1rem 1rem 0.5rem;
    font-size: 1.25rem;
    line-height: 1.4;
}

.ecs-event .entry-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ecs-event .entry-title a:hover {
    color: #e67e22;
}

/* Date/time styling */
.ecs-event .duration.time {
    padding: 0 1rem 1rem;
    color: #7f8c8d;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Optional: add a calendar icon before the date */
.ecs-event .duration.time::before {
    content: "📅";
    font-size: 0.9rem;
}

/* Featured event special styling */
.ecs-event.ecs-featured-event {
    border-left: 4px solid #e67e22;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ecs-event-list {
        gap: 1.5rem;
    }

    .ecs-event {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
