.doctor-reviews {
    min-width: 0;
}

/* ── Font family ── */
.doctor-reviews .wp-gr,
.doctor-reviews .wp-gr div,
.doctor-reviews .wp-gr span,
.doctor-reviews .wp-gr a {
    font-family: var(--font-family-base) !important;
    font-weight: 400 !important;
}

/* ── Review card: page bg, themed border, 16px radius ── */
.doctor-reviews .wp-gr .grw-review-inner.grw-backgnd.grw-round {
    background: var(--color-page-background) !important;
    border: 1px solid var(--color-border);
    border-radius: 16px !important;
    margin: 0 !important;
    position: relative !important;
}

/* ── Google icon — top-right aligned with name row ── */
.doctor-reviews .wp-gr .grw-review-inner > svg {
    width: 22px !important;
    height: 22px !important;
}

/* ── Star colour ── */
.doctor-reviews .rpi-stars {
    --star-color: #f6bb03;
    color: #f6bb03;
}

.doctor-reviews .rpi-stars::before {
    color: #f6bb03 !important;
}

/* ── Review text: primary text colour ── */
.doctor-reviews .wp-gr .wp-google-text {
    color: var(--color-primary-text) !important;
    font-size: var(--font-size-base) !important;
}

.doctor-reviews .wp-gr.rpi a.wp-google-name {
    color: var(--color-primary-text) !important;
    font-weight: 600 !important;
}

/* ── Hide the "14 days ago" timestamp ── */
.doctor-reviews .wp-google-time {
    display: none;
}

/* ── Center reviewer name without time below it ── */
.doctor-reviews .rpi-row12-center {
    align-items: center;
}

/* ── "Read more": secondary colour ── */
.doctor-reviews .wp-gr .wp-more-toggle {
    color: var(--color-secondary) !important;
}

/* ── Pagination dots — match gallery__dot style ── */
.doctor-reviews .rpi .rpi-dots-wrap {
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    justify-content: center !important;
}

.doctor-reviews .rpi .rpi-dots-wrap .rpi-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.doctor-reviews .rpi .rpi-dots-wrap button.rpi-dot {
    width: 8px !important;
    height: 8px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background-color: #cfd3d9 !important;
    transition:
        width 0.2s ease,
        background-color 0.2s ease !important;
}

.doctor-reviews .rpi .rpi-dots-wrap button.rpi-dot.active,
.doctor-reviews .rpi .rpi-dots-wrap button.rpi-dot.s1 {
    width: 22px !important;
    background-color: var(--color-primary) !important;
}

/* Remove widget bottom padding */
.doctor-reviews .grw-row {
    padding-bottom: 0 !important;
}
