/* Customer Reviews Block Styles */
.customer-reviews {
    position: relative;
    width: 100%;
    padding: 60px 20px;
}

.customer-reviews__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.customer-reviews__heading {
    font-family: var(--wp--preset--font-family--mindset);
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: center;
    margin: 0 0 60px 0;
    line-height: 1.2;
    color: #394a78;
}

.customer-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

.customer-reviews__item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.customer-reviews__quote {
    font-family: var(--wp--preset--font-family--ptmono);
    font-size: 1rem;
    line-height: 1.6;
    color: #394a78;
    margin: 0 0 20px 0;
    font-style: normal;
    flex-grow: 1;
    quotes: none;
}

.customer-reviews__quote::before,
.customer-reviews__quote::after {
    content: none;
}

.customer-reviews__name-tag {
    background-color: #394a78;
    color: #ffffff;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--wp--preset--font-family--mindset);
    border-radius: 2px;
    width: 100%;
    margin-top: auto;
    box-sizing: border-box;
}

/* Tablet Layout (2 columns) */
@media (max-width: 1024px) and (min-width: 769px) {
    .customer-reviews__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .customer-reviews__heading {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
}

/* Mobile Layout (1 column stacked) */
@media (max-width: 768px) {
    .customer-reviews {
        padding: 40px 15px;
    }
    
    .customer-reviews__heading {
        font-size: 1.75rem;
        margin-bottom: 30px;
        line-height: 1.3;
    }
    
    .customer-reviews__grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .customer-reviews__item {
        width: 100%;
    }
    
    .customer-reviews__quote {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .customer-reviews__name-tag {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
}

/* Extra small mobile */
@media (max-width: 480px) {
    .customer-reviews {
        padding: 30px 10px;
    }
    
    .customer-reviews__heading {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .customer-reviews__grid {
        gap: 25px;
    }
    
    .customer-reviews__quote {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* Editor specific styles */
.wp-block-editor .customer-reviews {
    border: 1px dashed #ddd;
}

.wp-block-editor .customer-reviews__grid {
    min-height: 200px;
}

.wp-block-editor .customer-reviews__item {
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.5);
}
