/**
 * Testimonial Block - Frontend Styles
 */

.testimonial-block {
    padding: 40px 20px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: background-color 0.3s ease;
    position: relative;
    border: none;
    margin-top: -8px;
}

.testimonial-separator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #E5E5E5;
    margin: 0;
}

.testimonial-style-none {
    padding-top: 50px;
}

.testimonial-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 200px;
}

.testimonial-slider-nav {
    width: 48px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.testimonial-slider-nav.right {
    order: 3;
}

.nav-arrow {
    background: none;
    border: none;
    padding: 0;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    width: 36px;
    height: 36px;
    transition: background 0.15s, opacity 0.15s;
    opacity: 0.7;
}

.nav-arrow:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.testimonial-slider-wrapper {
    order: 2;
    width: 100%;
    max-width: 800px;
    min-height: 200px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}

.testimonial-slide {
    display: none;
    width: 100%;
    padding: 0;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.testimonial-quote-icon {
    font-size: 80px;
    font-weight: 700;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
    flex-shrink: 0;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: -30px;
    position:relative; 
    top:-30px;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.testimonial-text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-block blockquote {
    margin: 0;
    padding: 0;
    border: none;
    text-align: left;
    transition: color 0.3s ease;
}

.testimonial-block blockquote p {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0;
    margin: 0 0 16px 0;
    padding: 0;
    transition: color 0.3s ease;
    text-align: left;
}

.testimonial-block cite {
    display: flex;
    flex-direction: column;
    font-family: 'Outfit', sans-serif;
    font-style: normal;
    transition: color 0.3s ease;
    text-align: left;
}

.testimonial-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0;
    margin-bottom: 4px;
}

.testimonial-title {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
}


.testimonial-empty {
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* Block Alignment Support */
.testimonial-block.alignwide {
    max-width: 1200px;
}

.testimonial-block.alignfull {
    max-width: 100%;
}

/* Pagination dots - mobile only */
.testimonial-pagination.mobile-pagination {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.pagination-dot {
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    height: 8px;
    width: 8px;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    margin: 0;
    padding: 0;
    opacity: 0.5;
}

.pagination-dot.active {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-block {
        padding: 30px 16px;
    }
    
    .testimonial-style-none {
        padding-top: 40px;
    }
    
    .testimonial-slider {
        flex-direction: column;
        min-height: unset;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    .testimonial-slider-wrapper {
        max-width: 100%;
        width: 100%;
        min-height: unset;
        padding: 10px;
        display: block;
    }
    
    .testimonial-content-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 0;
        align-items: flex-start;
    }
    
    .testimonial-quote-icon {
        font-size: 60px;
        margin-top: 0;
        padding-top: 0;
        margin-bottom: 0;
        flex-shrink: 0;
        align-self: flex-start;
        order: -1;
        width: 100%;
    }
    
    .testimonial-text-wrapper {
        width: 100%;
        flex: 1;
    }
    
    .testimonial-slide {
        padding: 0;
    }
    
    .testimonial-block blockquote {
        text-align: left;
    }
    
    .testimonial-block blockquote p {
        font-family: 'Outfit', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 32px;
        line-height: 40px;
        letter-spacing: 0;
        text-align: left;
        letter-spacing: 0%;
    }
    
    .testimonial-block cite {
        text-align: left;
        align-items: flex-start;
    }
    
    .testimonial-name {
        font-size: 20px;
        line-height: 28px;
    }
    
    .testimonial-title {
        font-size: 18px;
        line-height: 26px;
    }
    
    .testimonial-pagination.mobile-pagination {
        display: flex;
    }
}

