/* Google Reviews – transparent section + speech-bubble review cards */
.psgooglereviews-container {
    background: transparent !important;
    padding: 10px 0 24px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.psgooglereviews-carousel {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    align-items: stretch;
}

/* Each review is styled like a speech/comment bubble. */
.review-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 0;
    padding: 20px 20px 34px;
    flex: 1 1 calc(20% - 20px);
    min-width: 180px;
    max-width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.06));
}

/* Spodný "háčik" zostáva ako pri okne komentára, ale samotné rohy karty sú hranaté. */
.review-card::before {
    content: "";
    position: absolute;
    left: 7%;
    bottom: -13px;
    transform: none;
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-top: 13px solid #e1e1e1;
    z-index: 0;
}

.review-card::after {
    content: "";
    position: absolute;
    left: 7%;
    bottom: -12px;
    transform: none;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #fff;
    z-index: 1;
}

.review-content {
    color: #000;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 12px;
}

.review-stars {
    color: gold;
    margin-bottom: 10px;
    font-size: 16px;
}

.review-author {
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-top: auto;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.review-arrow {
    display: none;
}

.carousel-arrows {
    display: none !important;
}

.google-review-logo {
    max-width: 140px;
    height: auto;
    display: block;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .psgooglereviews-container {
        padding-bottom: 24px;
    }

    .carousel-arrows {
        display: flex !important;
        justify-content: space-between;
        width: 100%;
        position: absolute;
        top: 38%;
        left: 0;
        z-index: 5;
        pointer-events: none;
    }

    .carousel-arrow {
        pointer-events: auto;
        font-size: 55px;
        opacity: 0.45;
        padding: 10px 20px;
        font-weight: bold;
        user-select: none;
        cursor: pointer;
    }

    .psgooglereviews-carousel {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow: hidden !important;
        padding-bottom: 14px !important;
        gap: 0 !important;
    }

    .review-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
}
