/* =========================================
           DON'T MISS OUT CAROUSEL
        ========================================= */
        .events-container {
            width: 100%;
            max-width: 1200px; /* Locks it to the exact width in your screenshot */
            margin: 0 auto;    /* Centers the 1200px box on the screen */
            display: grid;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }

        .mySwiper {
            width: 100%;
            overflow: visible !important;
        }
        
        /* Remove any .swiper-button-prev or .swiper-button-next custom left/right calc() styles you added earlier */   
        .content.swiper-slide {
            width: 600px !important;
            height: auto;
            background: transparent;
            display: flex;
            justify-content: center;
            align-items: center;
            border: none;
            /* UPDATE: Added filter to the transition for smooth blurring */
            transition: opacity 0.4s ease, filter 0.4s ease;
            /* NEW: Apply a blur to all slides by default */
            filter: blur(6px);
        }

            /* NEW: Add this block right below to remove the blur for the center slide */
            .content.swiper-slide.swiper-slide-active {
                filter: blur(0px);
            }

        .content img {
            width: 100%;
            height: auto;
            max-height: 550px;
            object-fit: contain;
            border-radius: 12px;
        }

        @media (max-width: 768px) {
            .content.swiper-slide {
                width: 85% !important;
            }

            .events-container {
                padding: 20px 0;
            }
        }

        /* =========================================
           PREVIOUS EVENTS SECTION
        ========================================= */
        .previous-events-container {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
            font-family: Arial, sans-serif;
        }

        .previous-events-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .year-dropdown {
            padding: 8px 24px;
            font-size: 1rem;
            border-radius: 8px;
            border: none;
            background-color: #111;
            color: white;
            cursor: pointer;
            font-weight: bold;
        }

        .events-title {
            margin: 0;
            font-size: 2.2rem;
            font-weight: bold;
            color: #0b2046;
        }

        .events-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }

        /* Event Cards */
        .event-card {
            background: #f8f9fa;
            border-radius: 12px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
            cursor: pointer;
            border: 1px solid #eee;
        }

            .event-card:hover {
                transform: translateY(-10px);
            }

        .event-thumbnail {
            width: 100%;
            height: auto; /* Allows the thumbnail to follow the photo's actual height */
            max-height: 300px; /* Optional: Keeps super tall EDMs from breaking your grid */
            object-fit: contain; /* Ensures no parts of the image are cut off */
            background-color: #f8f9fa; /* Matches the card background to blend in seamlessly */
        }

        .event-details {
            padding: 15px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .event-brand {
            font-size: 0.85rem;
            color: #555;
            margin-bottom: 5px;
        }

        .event-card-title {
            font-size: 1rem;
            font-weight: bold;
            line-height: 1.3;
            margin-bottom: 10px;
            color: #000;
        }

        .event-date-loc {
            font-size: 0.8rem;
            color: #666;
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
            justify-content: flex-start;
            gap: 8px;
        }

        .view-folder-btn {
            margin-top: auto;
            align-self: flex-start;
            background: transparent;
            border: 1px solid #0b2046;
            color: #0b2046;
            padding: 6px 16px;
            border-radius: 6px;
            font-size: 0.85rem;
            font-weight: bold;
            cursor: pointer;
            transition: 0.2s;
        }

            .view-folder-btn:hover {
                background: #0b2046;
                color: #fff;
            }

        /* Pagination */
        .pagination-controls {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }

        .page-btn {
            background: #fff;
            border: 1px solid #ddd;
            padding: 10px 15px;
            border-radius: 6px;
            cursor: pointer;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 8px;
        }

            .page-btn.next-btn {
                background: #000;
                color: #fff;
                border: none;
            }

            .page-btn:disabled {
                opacity: 0.5;
                cursor: not-allowed;
            }

        /* =========================================
           COLLAGE MODAL & LIGHTBOX VIEWER
        ========================================= */
        .collage-modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.8);
            align-items: center;
            justify-content: center;
        }

        .collage-modal-content {
            background-color: #fefefe;
            padding: 30px;
            border-radius: 12px;
            width: 90%;
            max-width: 1000px;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
        }

        .close-collage {
            position: absolute;
            top: 15px;
            right: 20px;
            color: #aaa;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }

        .collage-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
        }

            .collage-grid img {
                width: 100%;
                height: 150px;
                object-fit: cover;
                border-radius: 8px;
                cursor: pointer;
                transition: transform 0.2s ease, box-shadow 0.2s ease;
            }

                .collage-grid img:hover {
                    transform: scale(1.03);
                    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
                }

        /* Image Lightbox (Enlarger) */
        .image-lightbox {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.9);
            align-items: center;
            justify-content: center;
        }

            .image-lightbox img {
                max-width: 90%;
                max-height: 90vh;
                border-radius: 8px;
                box-shadow: 0 4px 20px rgba(0,0,0,0.5);
            }

        .close-lightbox {
            position: absolute;
            top: 20px;
            right: 30px;
            color: #fff;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.2s;
        }

            .close-lightbox:hover {
                color: #ccc;
            }

        /* Responsive Grid */
        @media (max-width: 992px) {
            .events-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 600px) {
            .events-grid {
                grid-template-columns: 1fr;
            }

            .previous-events-header {
                flex-direction: column;
                gap: 15px;
                align-items: flex-start;
            }
        }