:root {
    --primary-color: #4a90e2;
    --secondary-color: #f5f5f5;
    --text-color: #333;
    --spacing: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
    padding: var(--spacing);
}

header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.events-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.event-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.event-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.event-times {
    margin-bottom: 1rem;
    order: 1;
}

.event-times h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.event-times ul {
    list-style: none;
}

.event-times li {
    background: var(--secondary-color);
    padding: 0.5rem;
    margin: 0.5rem 0;
    border-radius: 4px;
    display: inline-block;
    margin-right: 0.5rem;
}

.description {
    margin-bottom: 1.5rem;
    order: 2;
}

.description p {
    margin-bottom: 1rem;
}

.description ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.event-details {
    margin: 1rem 0;
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: 4px;
    order: 3;
}

.location, .price {
    margin: 0.5rem 0;
}

.book-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-align: center;
    margin-top: auto;
    order: 4;
}

.book-button:hover {
    background-color: #357abd;
}

/* Desktop styles */
@media (min-width: 768px) {
    .events-container {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }

    .event-card h2 {
        font-size: 1.75rem;
    }
}