/* CHANNEL SOFTECH — GOOGLE REVIEWS (home page, #google-reviews) */

.cs-google-feedback {
    --gr-blue: #0b57d0;
    --gr-ink: #202124;
    --gr-muted: #5f6368;
    --gr-surface: #f4f4f6;
    --gr-border: #e8ebf0;
    --gr-star: #e9a700;

    padding: clamp(44px, 6vw, 80px) 0;
    background: linear-gradient(180deg, #fff 60%, #f2f7fc 100%);
}

.cs-google-feedback [hidden] {
    display: none !important;
}

.cs-google-feedback .cs-google-feedback__heading {
    margin: 0 auto 26px;
    text-align: center;
}

/* Google rating bar */

.cs-google-feedback__bar,
.cs-google-feedback__rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.cs-google-feedback__bar {
    gap: 10px 16px;
    min-height: 76px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border-radius: 22px;
    background: var(--gr-surface);
}

.cs-google-feedback__rating {
    gap: 6px 9px;
}

.cs-google-feedback__wordmark {
    display: inline-flex;
    font: 600 28px / 1 Arial, sans-serif;
    letter-spacing: -.07em;
}

.cs-google-feedback__wordmark span:nth-child(1),
.cs-google-feedback__wordmark span:nth-child(4) {
    color: #4285f4;
}

.cs-google-feedback__wordmark span:nth-child(2),
.cs-google-feedback__wordmark span:nth-child(6) {
    color: #ea4335;
}

.cs-google-feedback__wordmark span:nth-child(3) {
    color: #c98500;
}

.cs-google-feedback__wordmark span:nth-child(5) {
    color: #188038;
}

.cs-google-feedback__rating strong {
    color: var(--gr-ink);
    font-size: 23px;
}

.cs-google-feedback__rating small {
    color: var(--gr-muted);
    font-size: 12px;
}

.cs-google-feedback__stars {
    color: var(--gr-star);
    font-size: 18px;
    line-height: 1.2;
    white-space: nowrap;
}

.cs-google-feedback__rating .cs-google-feedback__stars {
    font-size: 23px;
}

/* Slider and review cards */

.cs-google-feedback__stage {
    position: relative;
    padding-inline: 18px;
}

.cs-google-feedback__swiper {
    overflow: hidden;
}

.cs-google-feedback__swiper .swiper-wrapper {
    align-items: stretch;
}

.cs-google-feedback__swiper .swiper-slide {
    display: flex;
    min-width: 0;
    height: auto;
}

.cs-google-feedback__swiper:not(.swiper-initialized) .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 16px;
}

.cs-google-feedback-card {
    flex: 1;
    min-width: 0;
    min-height: 220px;
    padding: clamp(17px, 2vw, 23px);
    border: 1px solid var(--gr-border);
    border-radius: 20px;
    background: linear-gradient(155deg, #f4f4f6 35%, #f8faff);
}

.cs-google-feedback-card__author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 13px;
}

.cs-google-feedback-card__avatar {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: hsl(var(--review-avatar-hue, 218) 64% 35%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.cs-google-feedback-card__author h3 {
    margin: 0;
    color: var(--gr-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.cs-google-feedback-card__author p {
    margin: 3px 0 0;
    color: var(--gr-muted);
    font-size: 12px;
    line-height: 1.4;
}

.cs-google-feedback-card__author p span {
    color: var(--gr-blue);
}

.cs-google-feedback-card__industry {
    width: fit-content;
    max-width: 100%;
    margin: 7px 0 10px;
    padding: 5px 11px;
    border-radius: 50px;
    background: #e6eefb;
    color: #164988;
    font-size: 12px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.cs-google-feedback-card blockquote {
    margin: 0;
    color: var(--gr-ink);
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

/* Carousel arrows and Google links */

.cs-google-feedback__arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid var(--gr-border);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px #2021241f;
    color: var(--gr-blue);
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.cs-google-feedback__prev {
    left: 0;
}

.cs-google-feedback__next {
    right: 0;
}

.cs-google-feedback__arrow:hover {
   
    background: var(--cs-btn-gradient);
    color: #fff;
}

.cs-google-feedback__footer {
    margin-top: 24px;
    text-align: center;
}

.cs-google-feedback :focus-visible {
    outline: 2px solid var(--gr-blue);
    outline-offset: 3px;
}

@media (max-width: 575.98px) {
    .cs-google-feedback__bar {
        gap: 8px 12px;
        padding: 12px;
        border-radius: 16px;
    }

    .cs-google-feedback__stage {
        padding-inline: 16px;
    }

    .cs-google-feedback-card {
        min-height: 190px;
        padding-inline: 24px;
    }
}
