.event-layout {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.event-thumbnail img {
    max-width: 500px;
    border-radius: 10px;
}

.event-info {
    flex: 1;
}

.event-date,
.event-address {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 10px;
}

.event-description {
    margin-top: 20px;
    line-height: 1.6;
}

.event-gallery-section {
    margin-top: 40px;
}

.event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.event-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    background-color: #000;
    transition: transform 0.3s ease;
    height: 180px;
}

.event-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-gallery-item:hover img {
    transform: scale(1.05);
}

.event-gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

.event-gallery-item:hover::after {
    background: rgba(0, 0, 0, 0);
}

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

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