/* Moments Gallery Plugin Styles */

/* General Styles */
.moments-gallery * {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Button Styles */
.moments-gallery .btn {
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.moments-gallery .slider-control{
    display: flex !important; /* Show slider controls */
}

.moments-gallery .btn-outline {
    background-color: transparent;
    border: 1px solid #ccc;
    color: #333;
}

.moments-gallery .btn-outline:hover {
    background-color: #f0f0f0;
}

.moments-gallery .btn-primary {
    background-color: #0a6e31;
    color: white;
}

.moments-gallery .btn-primary:hover {
    background-color: #085526;
}

/* Guides Section */
.moments-gallery.guides-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 50px 20px;
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 70%, #c1e6d7 100%);
}

.moments-gallery .guides-header {
    text-align: center;
    margin-bottom: 40px;
}

.moments-gallery .guides-header h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 600;
}

.moments-gallery .guides-header p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 20px;
}

.moments-gallery .guides-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* Guides Container */
.moments-gallery .guides-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    transform-style: preserve-3d;
}

.moments-gallery .guides-wrapper::before,
.moments-gallery .guides-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.moments-gallery .guides-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.moments-gallery .guides-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.moments-gallery .guides-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-bottom: 2rem;
    margin-top: 4rem;
    position: relative;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    perspective: 1200px;
    will-change: transform;
    padding-left: 10%;
    transition: transform 0.5s ease-out;
}

/* Animation for infinite loop */
@keyframes slideCards {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-350px * 6)); /* Slide by the width of all cards */
    }
}

/* Infinite loop animation class */
.moments-gallery .guides-container.infinite-loop {
    animation: slideCards 30s linear infinite;
}

/* Clone cards for infinite effect */
.moments-gallery .guide-card.clone {
    opacity: 1;
}

/* Card animations */
.moments-gallery .guide-card {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.5s ease,
                border-color 0.5s ease;
    margin-right: 20px;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 3px solid white;
    z-index: 1;
    transform-origin: center bottom;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    flex: 0 0 350px; /* Fixed width for cards to ensure consistent sliding */
    animation: cardFloat 8s infinite ease-in-out;
    animation-delay: calc(var(--card-index, 0) * 1.2s);
    will-change: transform;
}

/* Pause the floating animation when hovering */
.moments-gallery .guide-card.hovering {
    animation-play-state: paused !important;
    z-index: 50 !important;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(10, 110, 49, 0.3);
}

/* Override default hover styles to avoid conflicts with JS tilt */
.moments-gallery .guide-card:hover:not(.hovering) {
    transform: translateY(-8px) rotate(3deg) translateZ(30px);
    z-index: 10;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(10, 110, 49, 0.3);
    animation-play-state: paused;
}

/* Different rotation angles only apply when not using JS tilt */
.moments-gallery .guide-card:nth-child(even):hover:not(.hovering) {
    transform: translateY(-8px) rotate(-3deg) translateZ(30px);
}

.moments-gallery .guide-card:nth-child(3n):hover:not(.hovering) {
    transform: translateY(-8px) rotate(5deg) translateZ(40px);
}

.moments-gallery .guide-card:nth-child(3n+1):hover:not(.hovering) {
    transform: translateY(-8px) rotate(-5deg) translateZ(40px);
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.moments-gallery .guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
    transform: translateZ(1px);
}

.moments-gallery .guide-card:hover::before {
    opacity: 1;
}

.moments-gallery .guide-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform-style: preserve-3d; /* Enables 3D space for children */
    position: relative;
}

.moments-gallery .guide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.moments-gallery .guide-card.hovering .guide-image::before {
    opacity: 1;
}

.moments-gallery .guide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.moments-gallery .guide-card:hover .guide-image::after {
    opacity: 1;
}

.moments-gallery .guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    transform: translateZ(0); /* Initial position in 3D space */
}

.moments-gallery .guide-card:hover .guide-image img {
    transform: scale(1.05) translateZ(10px);
}

.moments-gallery .guide-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 12px;
    text-align: center;
    transform: translateY(100%) translateZ(0);
    transition: transform 0.35s ease-out;
    font-weight: 500;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
}

.moments-gallery .guide-card:hover .guide-hover {
    transform: translateY(0) translateZ(15px);
}

.moments-gallery .guide-hover span {
    display: inline-block;
    transform: translateY(5px);
    opacity: 0;
    transition: all 0.3s 0.1s ease-out;
}

.moments-gallery .guide-card:hover .guide-hover span {
    transform: translateY(0);
    opacity: 1;
}

.moments-gallery .guides-cta {
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 5;
}

.moments-gallery .guides-cta .btn-primary {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(10, 110, 49, 0.2);
}

/* Modal Styles */
.moments-gallery .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.moments-gallery .modal.active {
    display: flex;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.moments-gallery .modal-content {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: auto;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: scale(0);
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scaleOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.moments-gallery .close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f5f5f5;
    transition: all 0.2s ease;
    opacity: 0;
    animation: fadeIn 0.3s 0.3s forwards;
}

.moments-gallery .close-modal:hover {
    background-color: #e0e0e0;
}

.moments-gallery .modal-body {
    display: flex;
    flex-direction: row;
}

.moments-gallery .guide-modal-image {
    flex: 0 0 40%;
    max-height: 500px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.5s 0.2s forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.moments-gallery .guide-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.moments-gallery .guide-modal-info {
    flex: 0 0 60%;
    padding: 30px;
    opacity: 0;
    transform: translateX(20px);
    animation: slideInRight 0.5s 0.3s forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.moments-gallery .guide-modal-info h3 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #222;
}

.moments-gallery .guide-modal-info p:first-of-type {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.moments-gallery .guide-modal-info p:nth-of-type(2) {
    line-height: 1.6;
    font-size: 15px;
    color: #444;
}

.moments-gallery .guide-specialties {
    margin: 25px 0;
    opacity: 0;
    animation: fadeIn 0.5s 0.5s forwards;
}

.moments-gallery .specialty-tag {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 14px;
}

.moments-gallery .specialty-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(10px);
    animation: slideInUp 0.3s forwards;
}

.moments-gallery .specialty-item:nth-child(2) {
    animation-delay: 0.6s;
}

.moments-gallery .specialty-item:nth-child(3) {
    animation-delay: 0.7s;
}

.moments-gallery .specialty-item:nth-child(4) {
    animation-delay: 0.8s;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.moments-gallery .specialty-icon {
    color: #0a6e31;
    margin-right: 10px;
    font-weight: bold;
}

.moments-gallery .modal-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
    opacity: 0;
    animation: fadeIn 0.5s 0.9s forwards;
}

/* Add spotlight effect */
.moments-gallery .guide-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.moments-gallery .guide-card:hover::after {
    opacity: 1;
}

/* Gallery Modal Styles */
.moments-gallery .gallery-main-image {
    position: relative;
    width: 100%;
}

.moments-gallery .gallery-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
}

.moments-gallery .gallery-nav {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    z-index: 10;
}

.moments-gallery .gallery-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.moments-gallery .gallery-nav .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.moments-gallery .gallery-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}

.moments-gallery .gallery-thumbnails {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    overflow-x: auto;
    max-width: 100%;
}

.moments-gallery .gallery-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.moments-gallery .gallery-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.moments-gallery .gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #0a6e31;
    border-radius: 2px;
}

.moments-gallery .gallery-thumbnail {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.moments-gallery .gallery-thumbnail:hover {
    border-color: #0a6e31;
    transform: scale(1.05);
}

.moments-gallery .gallery-thumbnail.active {
    border-color: #0a6e31;
    box-shadow: 0 0 0 2px rgba(10, 110, 49, 0.2);
}

.moments-gallery .gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.moments-gallery .gallery-thumbnail:hover img {
    transform: scale(1.1);
}

.moments-gallery .gallery-description {
    margin-bottom: 15px;
}

.moments-gallery .gallery-description p {
    margin-bottom: 10px;
}

.moments-gallery #modalImageDescription {
    background: #f8f9fa;
    padding: 10px;
    border-left: 4px solid #0a6e31;
    border-radius: 0 5px 5px 0;
    font-style: italic;
    color: #666;
    margin-top: 10px;
}

/* Gallery Modal Responsive */
@media (max-width: 768px) {
    .moments-gallery .gallery-thumbnails {
        justify-content: center;
        padding: 5px;
    }
    
    .moments-gallery .gallery-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .moments-gallery .gallery-nav {
        width: 35px;
        height: 35px;
    }
    
    .moments-gallery .gallery-nav .dashicons {
        font-size: 14px;
        width: 14px;
        height: 14px;
    }
    
    .moments-gallery .gallery-counter {
        bottom: 5px;
        right: 5px;
        padding: 3px 8px;
        font-size: 11px;
    }
    
    .moments-gallery .gallery-navigation {
        padding: 0 5px;
    }
}

/* Gallery animations */
.moments-gallery .gallery-main-image img {
    transition: opacity 0.3s ease;
}

.moments-gallery .gallery-main-image img.changing {
    opacity: 0.7;
}

/* Hide gallery elements for single image modals */
.moments-gallery .modal-body.single-image .gallery-navigation,
.moments-gallery .modal-body.single-image .gallery-counter,
.moments-gallery .modal-body.single-image .gallery-thumbnails,
.moments-gallery .modal-body.single-image #modalImageDescription {
    display: none !important;
}

/* Enhanced modal styles for better gallery experience */
.moments-gallery .guide-modal-image {
    flex: 0 0 50%;
    max-height: 600px;
}

.moments-gallery .guide-modal-info {
    flex: 0 0 50%;
    max-height: 600px;
    overflow-y: auto;
}

/* Loading state for images */
.moments-gallery .gallery-main-image.loading {
    position: relative;
}

.moments-gallery .gallery-main-image.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0a6e31;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 20;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Improved accessibility */
.moments-gallery .gallery-nav:focus,
.moments-gallery .gallery-thumbnail:focus {
    outline: 2px solid #0a6e31;
    outline-offset: 2px;
}

/* Smooth transitions for gallery navigation */
.moments-gallery .gallery-nav {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.moments-gallery .gallery-thumbnail {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .moments-gallery .modal-body {
        flex-direction: column;
    }
    
    .moments-gallery .guide-modal-image, .moments-gallery .guide-modal-info {
        flex: 0 0 100%;
    }
    
    .moments-gallery .guide-modal-image {
        height: 300px;
    }
    
    .moments-gallery .modal-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .moments-gallery .guides-container {
        overflow-x: auto;
        padding: 10px 30px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    
    .moments-gallery .guide-card {
        flex-shrink: 0;
        width: 150px;
        height: 150px;
        margin-right: -20px; /* Less overlap on mobile */
    }
}

/* Slider Controls */
.moments-gallery .slider-control {
    display: flex !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #333;
}

.moments-gallery .slider-control:hover {
    background-color: #0a6e31;
    color: white;
    box-shadow: 0 4px 15px rgba(10, 110, 49, 0.3);
}

.moments-gallery .prev-btn {
    left: 20px;
}

.moments-gallery .next-btn {
    right: 20px;
}

.moments-gallery .slider-indicators {
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 5;
}

.moments-gallery .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.moments-gallery .indicator.active {
    background-color: #0a6e31;
    transform: scale(1.2);
}

/* Slider animation states */
.moments-gallery .guides-container.paused {
    animation-play-state: paused;
}

.moments-gallery .guides-container.no-animation {
    animation: none;
}

/* Enhanced transitions for slider */
.moments-gallery .guides-container.sliding {
    transition: transform 0.5s ease-out;
}

/* Fix for 3D card hover effect during animation */
.moments-gallery .guides-container.infinite-loop .guide-card.hovering {
    animation-play-state: paused;
} 

/* Single Moment Template Styles */
.single-moment-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
}

.single-moment .moment-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.single-moment .moment-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #222;
    font-weight: 700;
}

.single-moment .moment-subtitle {
    font-size: 1.2rem;
    color: #0a6e31;
    margin-bottom: 15px;
    font-weight: 500;
}

.single-moment .moment-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    color: #666;
    font-size: 0.9rem;
}

.single-moment .moment-categories {
    display: flex;
    gap: 10px;
}

.single-moment .moment-category {
    background: #f0f8ff;
    color: #0a6e31;
    padding: 4px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.single-moment .moment-category:hover {
    background: #0a6e31;
    color: white;
}

/* Single Moment Gallery Styles */
.single-moment-gallery {
    margin-bottom: 40px;
}

.single-moment .gallery-main-display {
    margin-bottom: 30px;
}

.single-moment .main-image-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.single-moment .main-gallery-image {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.single-moment .gallery-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.single-moment .gallery-nav {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    z-index: 10;
}

.single-moment .gallery-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.single-moment .gallery-nav .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.single-moment .gallery-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
}

.single-moment .current-image-description {
    max-width: 800px;
    margin: 20px auto 0;
    text-align: center;
}

.single-moment .current-image-description p {
    background: #f8f9fa;
    padding: 15px 20px;
    border-left: 4px solid #0a6e31;
    border-radius: 0 5px 5px 0;
    color: #666;
    font-style: italic;
    margin: 0;
    display: none;
}

.single-moment .current-image-description p:not(:empty) {
    display: block;
}

/* Thumbnail Navigation */
.single-moment .gallery-thumbnails-nav {
    max-width: 800px;
    margin: 0 auto;
}

.single-moment .gallery-thumbnails-nav h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.3rem;
}

.single-moment .thumbnails-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.single-moment .gallery-thumbnail {
    position: relative;
    width: 80px;
    height: 80px;
    border: 3px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    background: white;
}

.single-moment .gallery-thumbnail:hover {
    border-color: #0a6e31;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(10, 110, 49, 0.3);
}

.single-moment .gallery-thumbnail.active {
    border-color: #0a6e31;
    box-shadow: 0 0 0 3px rgba(10, 110, 49, 0.2);
    transform: scale(1.1);
}

.single-moment .gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.single-moment .gallery-thumbnail:hover img {
    transform: scale(1.1);
}

.single-moment .thumbnail-number {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Content Sections */
.single-moment .moment-content-section,
.single-moment .moment-navigation {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.single-moment .moment-description h3,
.single-moment .moment-specialties h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
    border-bottom: 2px solid #0a6e31;
    padding-bottom: 5px;
    display: inline-block;
}

.single-moment .moment-text {
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.single-moment .specialties-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.single-moment .specialty-tag {
    background: linear-gradient(135deg, #0a6e31, #0d8540);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.single-moment .specialty-tag:hover {
    transform: translateY(-2px);
}

/* Moment Navigation */
.single-moment .moment-nav-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 20px;
}

.single-moment .moment-nav-link {
    display: block;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 300px;
}

.single-moment .moment-nav-link:hover {
    background: #0a6e31;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 110, 49, 0.3);
}

.single-moment .nav-direction {
    display: block;
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 5px;
}

.single-moment .nav-title {
    display: block;
    font-weight: 600;
    font-size: 1rem;
}

.single-moment .nav-next {
    text-align: right;
}

.single-moment .back-to-gallery {
    text-align: center;
}

.single-moment .btn {
    display: inline-block;
    padding: 12px 30px;
    background: #0a6e31;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.single-moment .btn:hover {
    background: #085526;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 110, 49, 0.3);
}

.single-moment .no-gallery-message {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #666;
}

/* Responsive Design for Single Moment */
@media (max-width: 768px) {
    .single-moment-wrapper {
        padding: 15px;
    }
    
    .single-moment .moment-title {
        font-size: 2rem;
    }
    
    .single-moment .moment-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .single-moment .main-image-container {
        margin: 0;
    }
    
    .single-moment .gallery-navigation {
        padding: 0 10px;
    }
    
    .single-moment .gallery-nav {
        width: 40px;
        height: 40px;
    }
    
    .single-moment .gallery-nav .dashicons {
        font-size: 16px;
        width: 16px;
        height: 16px;
    }
    
    .single-moment .gallery-counter {
        bottom: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .single-moment .thumbnails-container {
        gap: 10px;
        padding: 15px;
    }
    
    .single-moment .gallery-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .single-moment .moment-nav-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .single-moment .nav-next {
        text-align: left;
    }
    
    .single-moment .specialties-list {
        justify-content: center;
    }
} 

/* Single Moment Full-Width Auto-Slide Gallery Styles */
.single-moment-fullwidth {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    overflow-x: hidden;
}

/* Gallery Section */
.single-moment-gallery-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.single-moment-gallery-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    padding: 40px 0 80px;
    text-align: center;
}

.moment-header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
}

.moment-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeInUp 1s 0.5s forwards;
}

.moment-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeInUp 1s 0.7s forwards;
}

.moment-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s 0.9s forwards;
}

.moment-category {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.moment-category:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Gallery Wrapper */
.single-moment-gallery-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.single-moment-gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gallery Slides */
.single-moment-gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    transform: scale(1.1);
    z-index: 1;
}

.single-moment-gallery-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.single-moment-gallery-slide.next {
    opacity: 0;
    transform: scale(0.9);
    z-index: 1;
}

.gallery-slide-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 10s ease-out;
}

.single-moment-gallery-slide.active .gallery-slide-image img {
    transform: scale(1.05);
}

/* Ensure images are properly centered and responsive on all devices */
.gallery-slide-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

/* Video element mobile support */
.gallery-slide-video {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.gallery-slide-video video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.gallery-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 2;
    opacity: 0;
    transition: opacity 1s ease;
}

.single-moment-gallery-slide.active .gallery-slide-overlay {
    opacity: 1;
}

.gallery-slide-description {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    text-align: center;
    z-index: 15;
    opacity: 0;
    animation: fadeInUp 1s 1.5s forwards;
}

.gallery-slide-description p {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Auto-slide Animation */
@keyframes slideTransition {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.single-moment-gallery-slide.slide-in {
    animation: slideTransition 1.5s ease-out forwards;
}

/* Gallery Navigation */
.single-gallery-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 10;
    pointer-events: none;
}

.single-gallery-nav {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    opacity: 0;
    animation: fadeIn 1s 2s forwards;
}

.single-gallery-nav:hover {
    background: rgba(10, 110, 49, 0.9);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(10, 110, 49, 0.5);
}

.single-gallery-nav .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* Gallery Counter */
.single-gallery-counter {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    animation: fadeIn 1s 2.5s forwards;
}

/* Gallery Indicators */
.single-gallery-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1s 2.2s forwards;
}

.gallery-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.gallery-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.gallery-indicator.active {
    background: #0a6e31;
    border-color: #0a6e31;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(10, 110, 49, 0.5);
}

/* Gallery Controls */
.gallery-controls {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1s 2.8s forwards;
}

.gallery-control {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-control:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.gallery-control .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.gallery-control.playing .dashicons-controls-pause {
    display: block;
}

.gallery-control.paused .dashicons-controls-play {
    display: block;
}

/* No Gallery Section */
.single-moment-no-gallery {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
    padding: 40px 20px;
}

.no-gallery-content {
    max-width: 600px;
    margin: 0 auto;
}

.no-gallery-message {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.no-gallery-message p {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

/* Moment Details Section */
.single-moment-details {
    background: white;
    padding: 80px 0;
    position: relative;
    z-index: 5;
}

.moment-details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.moment-details-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.moment-description,
.moment-specialties,
.moment-thumbnails {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.moment-description:hover,
.moment-specialties:hover,
.moment-thumbnails:hover {
    transform: translateY(-5px);
}

.moment-description h2,
.moment-specialties h2,
.moment-thumbnails h2 {
    color: #0a6e31;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.moment-description h2::after,
.moment-specialties h2::after,
.moment-thumbnails h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0a6e31, #0d8540);
    border-radius: 2px;
}

.moment-text {
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

.specialties-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.specialty-tag {
    background: linear-gradient(135deg, #0a6e31, #0d8540);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(10, 110, 49, 0.2);
}

.specialty-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 110, 49, 0.3);
}

/* Thumbnails Grid */
.moment-thumbnails {
    grid-column: 1 / -1;
    margin-top: 20px;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.thumbnail-item {
    position: relative;
    aspect-ratio: 1;
    border: 3px solid transparent;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.thumbnail-item:hover {
    border-color: #0a6e31;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(10, 110, 49, 0.3);
}

.thumbnail-item.active {
    border-color: #0a6e31;
    transform: scale(1.05);
    box-shadow: 0 0 0 3px rgba(10, 110, 49, 0.2);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover img {
    transform: scale(1.1);
}

.thumbnail-number {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    backdrop-filter: blur(5px);
}

/* Moment Navigation */
.single-moment-navigation {
    background: linear-gradient(135deg, #0a6e31, #0d8540);
    padding: 60px 0;
    color: white;
}

.moment-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.moment-nav-links {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.moment-nav-link {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.moment-nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-direction {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 8px;
    font-weight: 300;
}

.nav-title {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
}

.nav-next {
    text-align: right;
}

.back-to-gallery {
    text-align: center;
}

.back-to-gallery .btn {
    background: white;
    color: #0a6e31;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-gallery .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .moment-main-title {
        font-size: 2.5rem;
    }
    
    .moment-subtitle {
        font-size: 1.1rem;
    }
    
    .moment-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .single-gallery-navigation {
        padding: 0 20px;
    }
    
    .single-gallery-nav {
        width: 50px;
        height: 50px;
    }
    
    .single-gallery-counter {
        bottom: 20px;
        right: 20px;
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .single-gallery-indicators {
        bottom: 20px;
        gap: 10px;
    }
    
    .gallery-controls {
        bottom: 20px;
        left: 20px;
    }
    
    .gallery-control {
        width: 45px;
        height: 45px;
    }
    
    .moment-details-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .moment-description,
    .moment-specialties,
    .moment-thumbnails {
        padding: 30px 20px;
    }
    
    .thumbnails-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 15px;
    }
    
    .moment-nav-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .gallery-slide-description {
        bottom: 60px;
        left: 20px;
        right: 20px;
        transform: none;
        max-width: none;
    }
    
    .gallery-slide-description p {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .single-moment-gallery-header {
        padding: 30px 0 60px;
    }
    
    /* Mobile-specific gallery image adjustments */
    .gallery-slide-image {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #000;
    }
    
    .gallery-slide-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center;
    }
    
    .single-moment-gallery-slide.active .gallery-slide-image img {
        transform: none; /* Disable zoom on mobile */
    }
    
    /* Video container mobile adjustments */
    .gallery-slide-video {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #000;
    }
    
    .gallery-slide-video video {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center;
    }
}

@media (max-width: 480px) {
    .moment-main-title {
        font-size: 2rem;
    }
    
    .moment-subtitle {
        font-size: 1rem;
    }
    
    .single-gallery-nav {
        width: 40px;
        height: 40px;
    }
    
    .single-gallery-nav .dashicons {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }
    
    .gallery-indicator {
        width: 10px;
        height: 10px;
    }
    
    .thumbnails-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 10px;
    }
    
    .moment-description,
    .moment-specialties,
    .moment-thumbnails {
        padding: 20px 15px;
    }
    
    .moment-description h2,
    .moment-specialties h2,
    .moment-thumbnails h2 {
        font-size: 1.5rem;
    }
    
    /* Ultra-mobile gallery image adjustments */
    .gallery-slide-image {
        padding: 10px;
    }
    
    .gallery-slide-image img {
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    
    .gallery-slide-description {
        bottom: 80px;
        left: 15px;
        right: 15px;
    }
    
    .gallery-slide-description p {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
} 