/**
 * Google Business Reviews Frontend Styles
 */

.gbr-reviews-wrapper {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.gbr-header {
    text-align: center;
    margin-bottom: 2rem;
}

.gbr-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.gbr-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.gbr-stars {
    display: inline-flex;
    gap: 0.25rem;
    font-size: 1.5rem;
    line-height: 1;
}

.gbr-star-full {
    color: #fbbf24;
}

.gbr-star-half {
    color: #fbbf24;
    opacity: 0.5;
}

.gbr-star-empty {
    color: #d1d5db;
}

.gbr-count {
    font-size: 0.95rem;
    color: #3a3d43;
}

.gbr-all-reviews-button {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.625rem 1.5rem;
    background: rgb(26,115,232);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.gbr-all-reviews-button:hover {
    background: #0238ad;
    color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

.gbr-all-reviews-button:active {
    transform: translateY(0);
}

.gbr-review-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gbr-review-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gbr-review-author {
    font-size: 1.1rem;
    color: #1a1a1a;
}

.gbr-review-rating .gbr-stars {
    font-size: 1.25rem;
}

.gbr-review-date {
    font-size: 0.875rem;
    color: #9ca3af;
}

.gbr-review-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #374151;
}

.gbr-review-text p:last-child {
    margin-bottom: 0;
}

.gbr-text-content p {
    margin: 0 0 0.5rem 0;
}

.gbr-text-content p:last-child {
    margin-bottom: 0;
}

.gbr-read-more {
    background: none;
    border: none;
    color: rgb(26,115,232);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 0 0 0;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.gbr-read-more:hover {
    background-color: unset;
    color: #2563eb;
    text-decoration: underline;
}

.gbr-read-more:focus {
    outline: 2px solid rgb(26, 115, 232);
    outline-offset: 2px;
    border-radius: 2px;
}

.gbr-no-reviews {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
    font-size: 1.1rem;
}

/* Splide Carousel Anpassungen */
.gbr-carousel {
    padding: 0 2.5rem;
}

.gbr-carousel .splide__arrow {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
}

.gbr-carousel .splide__arrow:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.gbr-carousel .splide__arrow svg {
    fill: #374151;
}

.gbr-carousel .splide__arrow--prev {
    left: -18px;
}

.gbr-carousel .splide__arrow--next {
    right: -18px;
}

.gbr-carousel .splide__pagination {
    bottom: -3.5rem;
}

.gbr-carousel .splide__pagination__page {
    background: #d1d5db;
    opacity: 1;
    transition: background 0.3s ease;
}

.gbr-carousel .splide__pagination__page.is-active {
    background: rgb(26, 115, 232);
    transform: scale(1.2);
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .gbr-carousel {
        padding: 0 1.5rem;
    }

    .gbr-title {
        font-size: 1.5rem;
    }

    .gbr-review-card {
        padding: 1.25rem;
    }

    .gbr-all-reviews-button {
        font-size: 0.875rem;
        padding: 0.5rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .gbr-carousel {
        padding: 0;
    }

    .gbr-carousel .splide__arrow {
        width: 2.5rem;
        height: 2.5rem;
    }

    .gbr-all-reviews-button {
        font-size: 0.8125rem;
        padding: 0.5rem 1rem;
    }
}