       :root {
            --text-color: #000000;
            --meta-color: #6c757d;
            --border-color: #e2e8f0;
            --bg-color: #ffffff;
        }
        
        [data-bs-theme="dark"] {
            --text-color: #ffffff;
            --meta-color: #adb5bd;
            --border-color: #2d3748;
            --bg-color: #0a0c10;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .photo-card {
            background: transparent !important;
            border: none !important;
            border-bottom: 1px solid var(--border-color) !important;
            padding: 3rem 0;
            margin: 0;
        }
        
        .photo-card:last-child {
            border-bottom: none !important;
        }
        
        .photo-card .row {
            align-items: center;
            margin: 0;
        }
        
        /* Style pour image à gauche (par défaut) */
        .photo-card .row {
            flex-direction: row;
        }
        
        /* Style pour image à droite */
        .photo-card.image-right .row {
            flex-direction: row-reverse;
        }
        
        .photo-thumbnail-container {
            position: relative;
            cursor: pointer;
            padding: 0 1rem;
        }
        
        .thumbnail-wrapper {
            position: relative;
            aspect-ratio: 16/9;
            border-radius: 8px;
            overflow: hidden;
            background: transparent;
            border: none;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        }
        
        [data-bs-theme="dark"] .thumbnail-wrapper {
            box-shadow: 0 4px 20px rgba(0,0,0,0.4);
        }
        
        .photo-thumbnail {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .photo-card:hover .photo-thumbnail {
            transform: scale(1.02);
        }
        
        /* PADDING UNIFORME POUR TOUTES LES CARTES - CORRIGÉ */
        .photo-content-wrapper { 
            color: var(--text-color); 
            padding: 0 2rem;  /* Padding uniforme pour toutes */
        }
        
        /* Supprimer la redondance - une seule règle suffit */
        .photo-card .photo-content-wrapper {
            padding-left: 2rem;
            padding-right: 2rem;
        }
        
        .photo-date {
            color: var(--meta-color);
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .entry-title { 
            font-size: 2.2rem; 
            font-weight: 700; 
            line-height: 1.2; 
            margin: 0 0 1rem 0; 
            color: var(--text-color);
        }
        
        .entry-description { 
            font-size: 1.1rem; 
            line-height: 1.6; 
            margin: 0 0 1.2rem 0;
            color: var(--meta-color); 
        }
        
        .metadata-grid {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }
        
        .metadata-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: var(--meta-color);
            font-size: 1rem;
        }
        
        .metadata-item i {
            font-size: 1.2rem;
            width: 1.5rem;
            opacity: 0.8;
        }

        /* Lightbox */
        .lightbox { 
            position: fixed; 
            top: 0; 
            left: 0; 
            width: 100%; 
            height: 100%; 
            background: rgba(0,0,0,0.98); 
            z-index: 9999; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }
        
        .lightbox.active {
            opacity: 1;
            pointer-events: auto;
        }
        
        .lightbox-img { 
            max-width: 90%; 
            max-height: 90%; 
            border-radius: 4px; 
        }
        
        .lightbox-close, .lightbox-prev, .lightbox-next {
            position: absolute;
            color: white;
            cursor: pointer;
            opacity: 0.6;
            transition: opacity 0.2s ease;
            z-index: 10000;
        }
        
        .lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
            opacity: 1;
        }
        
        .lightbox-close { 
            top: 20px; 
            right: 30px; 
            font-size: 2.5rem; 
        }
        
        .lightbox-prev, .lightbox-next {
            top: 50%;
            transform: translateY(-50%);
            font-size: 3rem;
            padding: 1rem;
        }
        
        .lightbox-prev { left: 20px; }
        .lightbox-next { right: 20px; }

        /* Version mobile */
        @media (max-width: 768px) {
            .photo-card {
                padding: 2rem 0;
            }
            
            .photo-card .row,
            .photo-card.image-right .row {
                flex-direction: column !important;
            }
            
            .photo-thumbnail-container {
                padding: 0 0.5rem;
                margin-bottom: 1rem;
                width: 100%;
            }
            
            .thumbnail-wrapper {
                width: 100%;
                max-width: 500px;
                margin: 0 auto;
            }
            
            /* Padding uniforme en mobile */
            .photo-card .photo-content-wrapper { 
                padding: 0 1.5rem !important;
                width: 100%;
                max-width: 500px;
                margin: 0 auto;
                text-align: left;
            }
            
            .entry-title { 
                font-size: 1.8rem; 
                text-align: left;
            }
            
            .entry-description {
                text-align: left;
            }
            
            .metadata-grid {
                align-items: flex-start;
            }
            
            .metadata-item {
                justify-content: flex-start;
            }
        }

        /* Très petits écrans */
        @media (max-width: 480px) {
            .photo-card .photo-content-wrapper { 
                padding: 0 1rem !important; 
            }
            
            .entry-title { 
                font-size: 1.5rem; 
            }
            
            .entry-description { 
                font-size: 1rem; 
            }
            
            .metadata-item {
                font-size: 0.9rem;
            }
        }