/* Gallery Contest specific styles */
    .gallery-content {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        padding: 2rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .gallery-intro {
        text-align: center;
        margin-bottom: 3rem;
        padding: 1.5rem;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        border-left: 4px solid #FFF600;
    }

    .gallery-intro p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin: 0;
    }

    .gallery-intro strong {
        color: #FFF600;
    }

    .contest-entries {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        justify-items: center;
        margin-bottom: 2rem;
    }

    .entry-card {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 12px;
        padding: 2rem;
        text-align: center;
        border: 2px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        max-width: 350px;
        width: 100%;
    }

    .entry-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        border-color: rgba(255, 246, 0, 0.3);
    }

    .entrant-name {
        color: #FFF600;
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        font-weight: 700;
    }

    .entry-image {
        margin: 0;
    }

    .entry-thumbnail {
        width: 200px;
        height: 200px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        cursor: pointer;
        margin: 0 auto;
    }

    .entry-thumbnail:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    }

    .entry-details {
        margin-top: 1.5rem;
        padding-top: 1rem;
        border-top: 2px solid rgba(255, 255, 255, 0.2);
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .location {
        color: #ffffff;
        font-weight: 600;
        font-size: 1rem;
    }

    .age {
        color: #FFA500;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .gallery-instructions {
        text-align: center;
        padding: 1.5rem;
        background: rgba(255, 246, 0, 0.1);
        border-radius: 8px;
        border: 2px solid rgba(255, 246, 0, 0.3);
    }

    .gallery-instructions p {
        color: #ffffff;
        font-size: 0.95rem;
        margin: 0;
        font-style: italic;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .gallery-content {
            padding: 1rem;
        }
        
        .contest-entries {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        
        .entry-card {
            padding: 1.5rem;
            max-width: none;
        }
        
        .entry-thumbnail {
            width: 150px;
            height: 150px;
        }
        
        .entrant-name {
            font-size: 1.1rem;
        }
        
        .gallery-intro {
            padding: 1rem;
        }
        
        .gallery-intro p {
            font-size: 1rem;
        }
    }

    @media (max-width: 480px) {
        .entry-card {
            padding: 1rem;
        }
        
        .entry-thumbnail {
            width: 120px;
            height: 120px;
        }
        
        .entrant-name {
            font-size: 1rem;
        }
        
        .location {
            font-size: 0.9rem;
        }
        
        .age {
            font-size: 0.8rem;
        }
    }

    /* Lightbox compatibility */
    .entry-image a {
        display: block;
        text-decoration: none;
    }

    .entry-image a:hover {
        text-decoration: none;
    }

    /* Additional styling to match site theme */
    .entry-card:nth-child(1) {
        border-left: 4px solid #FF6600;
    }

    .entry-card:nth-child(2) {
        border-left: 4px solid #4CAF50;
    }