/*
Theme Name: Concord
Theme URI:  https://www.wpserveur.net
Author:     Intersmart
Author URI: https://www.wpserveur.net
Template:   twentyseventeen
Version:    1.0
License:    GNU General Public License v2 or later
*/


.testimonial-loader {
    display: none;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}

.testimonial-loader.active {
    display: flex;
}

.testimonial-loader .spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e5e5e5;
    border-top: 4px solid #000; /* change color if needed */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Optional: fade content while loading */
#testimonial-results.loading, #testimonial-results-video.loading {
    opacity: 0.4;
    pointer-events: none;
}

.blog-pagination.loading {
    opacity: 0.5;
    pointer-events: none;
}

.blog-pagination .disabled {
    pointer-events: none;
    opacity: 0.4;
}


/* Make gallery container relative so loader overlays correctly */
.popup-gallery {
    position: relative;
}

/* Blur gallery while loading */
.popup-gallery.loading {
    filter: blur(6px);
    pointer-events: none;
}

/* Loader overlay */
.gallery-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6); /* semi-transparent */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99; /* make sure it’s on top */
}

.d-none {
    display: none;
}

/* Optional: smooth blur transition */
.popup-gallery {
    transition: filter 0.3s ease;
}


.page-template-template-about .founder-section p, .page-template-front-page .about-section p{ display: block; overflow: visible; -webkit-line-clamp: unset; -webkit-box-orient: unset;}
