/**
* Theme Name: Espresso Child
* Template: espresso-ai
* Version: 1.0.11
* Description: adjustments and additions to the main theme
* Tags:
* Text Domain: espresso-ai
*
* Author: Daniël Schermer
* Theme URI: https://halte13.nl
*
* License: GNU General Public License version 3
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
*
* Tested up to: 6.5
* Requires at least: 6.5
* Requires PHP: 7.1
*
*/
/* --- EVENTS TICKET LAYOUT --- */

.event-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px 0;
}

.event-card {
    display: grid;
    grid-template-columns: 90px 1fr 220px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
}

.event-date {
    background: #f5f5f5;
    padding: 16px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ---------------------------------------------------------
   EVENT DATE KLEURVARIANTEN
--------------------------------------------------------- */

.event-date {
    color: #1f2933; /* donkergrijs → goed contrast */
}

/* Grijs (default) */
.event-date--gray {
    background: #f5f5f5;
}

/* Groen */
.event-date--green {
    background: #e6f4ea;
    color: #1e4620;
}

/* Blauw */
.event-date--blue {
    background: #e8f0fe;
    color: #1a3d7c;
}

/* Rood */
.event-date--red {
    background: #fdecea;
    color: #7a1c16;
}

/* Geel */
.event-date--yellow {
    background: #fff6e0;
    color: #6b4e00;
}

/* Paars */
.event-date--purple {
    background: #f3e8fd;
    color: #4a217a;
}

/* Oranje */
.event-date--orange {
    background: #fff0e6;
    color: #7a3a00;
}


.event-day {
    font-size: 32px;
    font-weight: 700;
}

.event-month {
    font-size: 14px;
    text-transform: capitalize;
}

.event-weekday {
    font-size: 12px;
    color: #777;
}

.event-content {
    padding: 20px 24px;
}

.event-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
}

.event-location,
.event-time,
.event-subtitle {
    font-size: 14px;
    color: #555;
}

.event-price {
    margin-top: 12px;
    font-weight: 700;
}

.event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .event-card {
        grid-template-columns: 1fr;
    }

    .event-media {
        order: -1;
        height: 180px;
    }

    .event-date {
        flex-direction: row;
        justify-content: space-around;
    }
}
