/* ================================================
   Reviews Grid - Section Styles
   Flexible grid of customer testimonials
   ================================================ */

/* ------------------------------------------------
   Base Section
   ------------------------------------------------ */
.reviews-grid {
    padding: 6rem 0;
    position: relative;
}

.reviews-grid--inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ------------------------------------------------
   Section Header
   ------------------------------------------------ */
.reviews-header {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-header .feature_block_heading {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.316;
    color: #1e1e23;
    margin-bottom: 1rem;
}

.reviews-section-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #1e1e23;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-header-button {
    margin-top: 1.5rem;
}

/* Button Override - Green Style */
.reviews-header .button,
.reviews-header .button.button-secondary {
    background-color: #00e65f !important;
    color: #1e1e23 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0.625rem 1.25rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    transition: background-color 0.3s ease !important;
	text-transform: none !important;
    letter-spacing: normal !important;
}

.reviews-header .button:hover,
.reviews-header .button.button-secondary:hover {
    background-color: #00a843 !important;
    color: #1e1e23 !important;
}

/* SVG icon inside button - force black */
.reviews-header .button svg,
.reviews-header .button svg path,
.reviews-header .button svg polygon {
    fill: #1e1e23 !important;
}

.reviews-header .button:hover svg,
.reviews-header .button:hover svg path,
.reviews-header .button:hover svg polygon {
    fill: #1e1e23 !important;
}

/* ------------------------------------------------
   Reviews Grid (Using data-columns pattern)
   ------------------------------------------------ */
.reviews-grid-container {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* 1 Column */
.reviews-grid-container[data-columns="1"] {
    grid-template-columns: 1fr;
}

/* 2 Columns */
.reviews-grid-container[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

/* 3 Columns */
.reviews-grid-container[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

/* ------------------------------------------------
   Individual Review Card
   ------------------------------------------------ */
.review-card {
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border: 1px solid #e5e5e5;
}

/* ------------------------------------------------
   Star Rating
   ------------------------------------------------ */
.review-stars {
    display: flex;
    gap: 0.25rem;
}

.review-stars .star {
    font-size: 1.25rem;
    line-height: 1;
}

.review-stars .star.filled {
    color: #00e65f;
}

.review-stars .star.empty {
    color: #e5e5e5;
}

/* ------------------------------------------------
   Quote
   ------------------------------------------------ */
.review-quote {
    font-size: 1rem;
    line-height: 1.6;
    color: #1e1e23;
    margin: 0;
    font-style: italic;
}

/* ------------------------------------------------
   Customer Info
   ------------------------------------------------ */
.review-customer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.customer-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.customer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.customer-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1e1e23;
    margin: 0;
}

.customer-title {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

.customer-company {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

/* ------------------------------------------------
   CTA Button (Wide, Centered)
   ------------------------------------------------ */
.reviews-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.button.button-wide {
    min-width: 300px;
    text-align: center;
    justify-content: center;
}

/* Green Secondary Button Style */
.button.button-secondary {
    background-color: #00e65f;
    color: #1e1e23;
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.button.button-secondary:hover {
    background-color: #00a843;
    color: #1e1e23;
}

/* ------------------------------------------------
   Responsive
   ------------------------------------------------ */
@media (max-width: 1024px) {
    .reviews-grid {
        padding: 4rem 0;
    }

    .reviews-header {
        margin-bottom: 3rem;
    }

    .reviews-section-description {
        font-size: 1rem;
    }

    .reviews-grid-container {
        gap: 1.75rem;
        margin-bottom: 2.5rem;
    }

    .review-card {
        padding: 1.75rem;
        gap: 1.25rem;
    }

    .review-quote {
        font-size: 0.95rem;
    }

    .customer-avatar {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        padding: 3rem 0;
    }

    .reviews-header {
        margin-bottom: 2.5rem;
    }

    .reviews-section-description {
        font-size: 0.95rem;
    }

    /* All grids become 1 column on mobile */
    .reviews-grid-container[data-columns="2"],
    .reviews-grid-container[data-columns="3"] {
        grid-template-columns: 1fr;
    }

    .reviews-grid-container {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .review-card {
        padding: 1.5rem;
        gap: 1rem;
    }

    .review-quote {
        font-size: 0.9rem;
    }

    .customer-avatar {
        width: 48px;
        height: 48px;
    }

    .customer-name {
        font-size: 0.875rem;
    }

    .customer-title,
    .customer-company {
        font-size: 0.8125rem;
    }

    .button.button-wide {
        min-width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .reviews-grid {
        padding: 2.5rem 0;
    }

    .reviews-header {
        margin-bottom: 2rem;
    }

    .reviews-section-description {
        font-size: 0.9rem;
    }

    .reviews-grid-container {
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .review-card {
        padding: 1.25rem;
    }

    .review-stars .star {
        font-size: 1.125rem;
    }

    .review-quote {
        font-size: 0.85rem;
    }

    .customer-avatar {
        width: 44px;
        height: 44px;
    }

    .button.button-secondary {
        padding: 0.625rem 1.5rem;
        font-size: 0.8125rem;
    }
}