   .inner-container { max-width: 1000px; margin: 0 auto; padding: 20px; font-family: Arial, sans-serif; }
        .back-link { margin-bottom: 20px; display: inline-block; color: #0097e6; text-decoration: none; font-size: 14px; }
        .back-link:hover { text-decoration: underline; }
        .photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 25px; }
        .photo-item { border: 1px solid #ddd; padding: 5px; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
        .photo-item img { width: 100%; height: 160px; object-fit: cover; display: block; cursor: pointer; transition: transform 0.2s; }
        .photo-item img:hover { transform: scale(1.02); }
        .caption { font-size: 12px; padding: 8px 4px 4px 4px; color: #555; text-align: center; }

        /* --- GALLERY LIGHTBOX MODAL --- */
        .gallery-modal {
            display: none; 
            position: fixed; 
            z-index: 99999; 
            padding-top: 60px; 
            left: 0; 
            top: 0; 
            width: 100%; 
            height: 100%; 
            overflow: auto; 
            background-color: rgba(0, 0, 0, 0.9);
        }
        .modal-content {
            margin: auto;
            display: block;
            max-width: 85%;
            max-height: 75vh;
            object-fit: contain;
            border: 3px solid #fff;
            border-radius: 4px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.8);
        }
        #modal-caption {
            margin: auto;
            display: block;
            width: 80%;
            max-width: 700px;
            text-align: center;
            color: #ccc;
            padding: 15px 0;
            font-size: 16px;
        }
        .modal-close {
            position: absolute;
            top: 20px;
            right: 35px;
            color: #f1f1f1;
            font-size: 40px;
            font-weight: bold;
            transition: 0.3s;
            cursor: pointer;
        }
        .modal-close:hover, .modal-close:focus {
            color: #bbb;
            text-decoration: none;
        }
        @media only screen and (max-width: 700px){
            .modal-content { width: 95%; }
            .modal-close { right: 20px; top: 15px; }
        }