/* Base layout */
body {
    background-color: #f0f2f5;
    color: #333;
    font-family: "Segoe UI", sans-serif;
    padding: 1rem;
}

h1 {
    text-align: center;
    font-size: 2rem;
    margin: 2rem 0 1rem;
}

/* Responsive event container */
#events-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Event card layout */
.event-card {
    width: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    gap: 1rem;
    transition: transform 0.2s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-title {
    font-size: 1.2rem;
    margin: 0;
    color: #1a1a1a;
}

.event-content {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
}

/* Styled date block */
.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f0f4ff;
    border-radius: 8px;
    padding: 0.5rem;
    font-family: monospace;
    text-align: center;
}

.event-date .month {
    font-size: 0.75rem;
    font-weight: bold;
    color: #4a61b3;
    text-transform: uppercase;
}

.event-date .day {
    font-size: 2rem;
    font-weight: bold;
    color: #1a1a1a;
    line-height: 1;
}

.event-date .weekday {
    font-size: 0.75rem;
    color: #777;
}

/* Event details (right side) */
.event-details p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.meta-list {
    margin-top: 0.5rem;
    padding-left: 1rem;
}
