.drak-google-reviews {
    background: #f4f8fb;
    color: #102033;
    padding: 34px 18px;
}

.drak-google-reviews *,
.drak-google-reviews *::before,
.drak-google-reviews *::after {
    box-sizing: border-box;
}

.drak-google-reviews__panel {
    background: #fff;
    border: 1px solid #dbe5ec;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(15, 63, 105, 0.1);
    display: grid;
    gap: 0;
    grid-template-columns: minmax(240px, 30%) minmax(0, 70%);
    margin: 0 auto;
    max-width: 1180px;
    overflow: hidden;
}

.drak-google-reviews__summary {
    background: #0f3f69;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 310px;
    padding: 28px;
}

.drak-google-reviews__google-mark {
    background: #fff;
    border-radius: 4px;
    display: inline-flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 800;
    gap: 0;
    letter-spacing: 0;
    line-height: 1;
    margin: 0 0 18px;
    padding: 9px 11px;
    width: fit-content;
}

.drak-google-reviews__google-blue {
    color: #4285f4;
}

.drak-google-reviews__google-red {
    color: #ea4335;
}

.drak-google-reviews__google-yellow {
    color: #fbbc05;
}

.drak-google-reviews__google-green {
    color: #34a853;
}

.drak-google-reviews__eyebrow {
    color: #0f766e;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.drak-google-reviews__score {
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 9px;
}

.drak-google-reviews__summary-copy {
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    margin: 13px 0 0;
    max-width: 230px;
}

.drak-google-reviews__button {
    background: #fff;
    border-radius: 4px;
    color: #0f3f69;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    min-height: 42px;
    padding: 14px 16px;
    text-decoration: none;
    width: fit-content;
}

.drak-google-reviews__button:hover,
.drak-google-reviews__button:focus {
    color: #0f3f69;
    filter: brightness(0.94);
}

.drak-google-reviews__slider {
    min-width: 0;
    padding: 24px 0 24px 24px;
}

.drak-google-reviews__slider-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 24px 10px 0;
    min-height: 40px;
}

.drak-google-reviews__slider-spacer {
    display: block;
}

.drak-google-reviews__controls {
    display: flex;
    gap: 8px;
}

.drak-google-reviews__controls button {
    align-items: center;
    background: #e8f0f7;
    border: 1px solid #cfdae5;
    border-radius: 4px;
    color: #0f3f69;
    cursor: pointer;
    display: inline-flex;
    font-size: 26px;
    font-weight: 800;
    height: 40px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 40px;
}

.drak-google-reviews__controls button:hover,
.drak-google-reviews__controls button:focus {
    background: #0f3f69;
    color: #fff;
}

.drak-google-reviews__track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 24px 6px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.drak-google-reviews__card {
    background: #fff;
    border: 1px solid #dbe5ec;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(15, 63, 105, 0.08);
    display: flex;
    flex-direction: column;
    flex: 0 0 310px;
    min-height: 230px;
    padding: 18px;
    scroll-snap-align: start;
}

.drak-google-reviews__reviewer {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
}

.drak-google-reviews__avatar {
    align-items: center;
    background: #0f3f69;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 46px;
    font-size: 15px;
    font-weight: 800;
    height: 46px;
    justify-content: center;
    letter-spacing: 0;
    width: 46px;
}

.drak-google-reviews__person {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.drak-google-reviews__person strong {
    color: #0f3f69;
    font-size: 15px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drak-google-reviews__person span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.35;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drak-google-reviews__rating-row {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.drak-google-reviews__stars {
    color: #f59e0b;
    font-size: 17px;
    line-height: 1;
    white-space: nowrap;
}

.drak-google-reviews__verified {
    align-items: center;
    background: #1a73e8;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    height: 18px;
    justify-content: center;
    line-height: 1;
    width: 18px;
}

.drak-google-reviews__text-wrap {
    flex: 1;
    min-height: 0;
}

.drak-google-reviews__text {
    color: #26384b;
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    margin: 13px 0 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.drak-google-reviews__card.is-expanded .drak-google-reviews__text {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
}

.drak-google-reviews__read-more {
    background: transparent;
    border: 0;
    color: #1558d6;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    margin: 10px 0 0;
    padding: 0;
    text-decoration: none;
}

.drak-google-reviews__read-more:hover,
.drak-google-reviews__read-more:focus {
    color: #0f3f69;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .drak-google-reviews__panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .drak-google-reviews__summary {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .drak-google-reviews {
        padding: 26px 14px;
    }

    .drak-google-reviews__summary {
        padding: 22px;
    }

    .drak-google-reviews__slider {
        padding: 20px 0 20px 16px;
    }

    .drak-google-reviews__slider-head {
        margin-right: 16px;
    }

    .drak-google-reviews__card {
        flex-basis: 280px;
        min-height: 0;
    }
}
