/* event-details.css: Styles for event details and gallery */
.event-details-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.event-date, .event-location {
    color: #1976d2;
    font-size: 1.1em;
    margin-bottom: 0.5rem;
}
.event-description {
    margin: 1.2rem 0 0 0;
    font-size: 1.1em;
    color: #333;
}
.event-gallery-section {
    max-width: 700px;
    margin: 0 auto;
    background: #fafbfc;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 1.5rem 1rem 2rem 1rem;
    margin-bottom: 2.5rem;
}
.gallery-slider {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-slide {
    display: none;
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: 10px;
    background: #f4f6fb;
}
.gallery-slide.active {
    display: block;
}
.gallery-controls {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}
.gallery-controls button {
    background: rgba(30,41,59,0.7);
    color: #fff;
    border: none;
    font-size: 2rem;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    pointer-events: all;
    transition: background 0.2s;
}
.gallery-controls button:hover {
    background: #1976d2;
}
@media (max-width: 900px) {
    .event-details-section, .event-gallery-section {
        max-width: 98vw;
        padding: 1rem 0.3rem 1.5rem 0.3rem;
    }
    .gallery-slider {
        min-height: 140px;
    }
    .gallery-slide {
        max-height: 140px;
    }
}
@media (max-width: 700px) {
    .event-details-section, .event-gallery-section {
        max-width: 98vw;
        padding: 1rem 0.3rem 1.5rem 0.3rem;
    }
    .gallery-slider {
        min-height: 180px;
    }
    .gallery-slide {
        max-height: 180px;
    }
}
@media (max-width: 600px) {
    .event-details-section, .event-gallery-section {
        padding: 0.5rem 0.1rem 1rem 0.1rem;
    }
    .gallery-slider {
        min-height: 80px;
    }
    .gallery-slide {
        max-height: 80px;
    }
    .section-title {
        font-size: 1.1rem;
    }
}
