/*------------------------------------*\
    COMMUNITY QUOTES BLOCK
\*------------------------------------*/

.community-quotes-block {
    position: relative;
    width: 100%;
    background-color: var(--wp--preset--color--color-1, #2F2951);
}

.community-quotes-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Quote mark */
.community-quotes-decoration {
    position: absolute;
    top: -106px;
    left: -115px;
    z-index: 1;
}

.community-quotes-decoration .quote-mark {
    font-family: 'Times New Roman', Times, serif;
    font-size: 300px;
    font-weight: 700;
    line-height: 1;
    color: #E5E4E9;
    opacity: 0.22;
    font-style: normal;
    display: block;
}

/* Header */
.community-quotes-header {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.community-quotes-header .section-title {
    font-family: var(--wp--preset--font-family--body, Raleway, sans-serif);
    font-size: 18px;
    font-style: italic;
    font-weight: 600;
    text-transform: none;
    color: var(--wp--preset--color--color-white, #ffffff);
}

/* Slider */
.community-quotes-slider {
    width: 100%;
    position: relative;
    z-index: 2;
    margin-bottom: 5px!important;
}

.community-quotes-slider .slick-slide {
    outline: none;
}

/* Quote content */
.quote-slide {
    padding: 0 10px;
}

.quote-content {
    margin: 0;
    padding: 0;
    border: none;
}

.quote-text {
    font-family: var(--wp--preset--font-family--heading, 'Times New Roman', Times, serif);
    font-size: 35px;
    line-height: 45px;
    font-style: italic;
    font-weight: 400;
    color: var(--wp--preset--color--color-white, #ffffff);
    margin: 0 0 30px 0;
}

.quote-author {
    font-family: var(--wp--preset--font-family--body, Raleway, sans-serif);
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    color: var(--wp--preset--color--color-white, #ffffff);
    display: block;
    text-align: right;
}

/* Nav dots */
.community-quotes-nav {
    position: relative;
    z-index: 2;
    border-top: 2px solid #ffffff;
    padding-top: 20px;
}

.community-quotes-dots {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.community-quotes-dots .slick-dots {
    position: static;
    display: flex !important;
    flex-direction: row;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.community-quotes-dots .slick-dots li {
    margin: 0;
    width: auto;
    height: auto;
}

.community-quotes-dots .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    font-size: 0;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.community-quotes-dots .slick-dots li button::before {
    display: none;
}

.community-quotes-dots .slick-dots li.slick-active button {
    background: var(--wp--preset--color--color-white, #ffffff);
}

.community-quotes-dots .slick-dots li button:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Editor placeholder */
.community-quotes-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background-color: var(--wp--preset--color--color-1, #2F2951);
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.community-quotes-placeholder p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .community-quotes-block {
        padding: 50px 30px;
    }
    
    .community-quotes-decoration {
        left: -20px;
    }
    
    .community-quotes-decoration .quote-mark {
        font-size: 100px;
    }
}

@media (max-width: 768px) {
    .community-quotes-block {
        padding: 40px 25px;
    }
    
    .community-quotes-wrapper {
        max-width: 100%;
    }
    
    .community-quotes-decoration {
        top: -10px;
        left: -10px;
    }
    
    .community-quotes-decoration .quote-mark {
        font-size: 80px;
    }
    
    .quote-text {
        font-size: 20px;
        line-height: 1.5;
    }
    
    .quote-author {
        font-size: 14px;
    }
    
    .community-quotes-dots .slick-dots li button {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .community-quotes-block {
        padding: 35px 20px;
    }
    
    .community-quotes-decoration .quote-mark {
        font-size: 60px;
    }
    
    .quote-text {
        font-size: 18px;
    }
    
    .community-quotes-dots {
        gap: 10px;
    }
    
    .community-quotes-dots .slick-dots {
        gap: 10px;
    }
}

/*------------------------------------*\
    NO BACKGROUND VARIANT
\*------------------------------------*/
.community-quotes-block.no-background {
    background-color: transparent;
}

.community-quotes-block.no-background .community-quotes-placeholder {
    background-color: transparent;
}

