/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f6f3;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.event-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.event-item-content {
    display: flex;
    flex-direction: column;
}

.event-item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-item-info {
    padding: 20px;
}

.event-item-title {
    font-size: 18px;
    font-weight: bold;
    color: #8b4513;
    margin-bottom: 10px;
}

.event-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-item-title a:hover {
    color: #4a9b8e;
}

.event-item-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.event-item-date {
    color: #4a9b8e;
    font-size: 12px;
    font-weight: 600;
}

/* Responsive styles */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}
