/* KingStart local-cache reviews. Fully scoped; native scroll, no JS/fonts. */
.ks-google-reviews,
.ks-google-reviews * { box-sizing: border-box; }

.ks-google-reviews {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-width: 0;
    padding: 64px clamp(20px, 3vw, 48px);
    border-top: 2px solid #ed111a;
    background: #f7f5f2;
    color: #171719;
    font-family: inherit;
    text-align: left;
}
/* Paint-only bleed: spans boxed parents without widening the page/scroll area. */
.ks-google-reviews::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: #f7f5f2;
    box-shadow: 0 0 0 100vmax #f7f5f2;
    clip-path: inset(0 -100vmax);
}
.ks-google-reviews .ks-google-reviews__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 1360px;
    min-height: 278px;
    margin: 0 auto;
}
.ks-google-reviews p,
.ks-google-reviews h2,
.ks-google-reviews h3 { margin: 0; padding: 0; font-family: inherit; }
.ks-google-reviews__trust,
.ks-google-reviews__content { min-width: 0; }
.ks-google-reviews .ks-google-reviews__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 10px;
    line-height: 14px;
    font-weight: 800;
    letter-spacing: .09em;
    color: #67676a;
}
.ks-google-reviews__eyebrow > span { padding-left: 10px; border-left: 2px solid #ed111a; color: #ed111a; }
.ks-google-reviews__metrics { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.ks-google-reviews .ks-google-reviews__rating {
    font-size: 60px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.065em;
    font-variant-numeric: tabular-nums;
    color: #171719;
}
.ks-google-reviews__score { display: grid; gap: 5px; }
.ks-google-reviews .ks-google-reviews__stars { display: block; color: #9a6b00; font-size: 14px; line-height: 18px; letter-spacing: .1em; white-space: nowrap; }
.ks-google-reviews .ks-google-reviews__count { color: #67676a; font-size: 11px; line-height: 21px; font-weight: 800; letter-spacing: .04em; }
.ks-google-reviews__count > strong { color: #171719; font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.ks-google-reviews .ks-google-reviews__title { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.08; font-weight: 900; letter-spacing: -.035em; color: #171719; }
.ks-google-reviews__title > span { color: #171719; }
.ks-google-reviews .ks-google-reviews__copy { max-width: 330px; margin-top: 10px; color: #67676a; font-size: 13px; line-height: 1.45; }
.ks-google-reviews__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ks-google-reviews .ks-google-reviews__cta,
.ks-google-reviews .ks-google-reviews__all {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 40px;
    padding: 10px 12px;
    border: 1px solid #ed111a;
    border-radius: 0;
    box-shadow: none;
    background: #ed111a;
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    font-weight: 900;
    letter-spacing: .025em;
    text-decoration: none;
}
.ks-google-reviews .ks-google-reviews__all { border-color: rgba(23,23,25,.3); background: transparent; color: #171719; }
.ks-google-reviews .ks-google-reviews__cta:hover { background: #c80e16; border-color: #c80e16; color: #fff; }
.ks-google-reviews .ks-google-reviews__all:hover { border-color: #ed111a; color: #171719; }
.ks-google-reviews .ks-google-reviews__icon { display: inline-block; flex: 0 0 14px; width: 14px; height: 14px; vertical-align: middle; }
.ks-google-reviews__cta:focus-visible,
.ks-google-reviews__all:focus-visible,
.ks-google-reviews__scroller:focus-visible { outline: 2px solid #171719; outline-offset: 3px; }
.ks-google-reviews__rail { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; color: #67676a; font-size: 9px; line-height: 14px; font-weight: 800; letter-spacing: .09em; }
.ks-google-reviews__rail > span:last-child { color: #707074; }
.ks-google-reviews__scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 24px) / 3);
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #777 #e5e2de;
    padding: 0 0 10px;
}
.ks-google-reviews .ks-google-reviews__card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 228px;
    min-width: 0;
    margin: 0;
    padding: 20px 16px 16px;
    border: 1px solid rgba(23,23,25,.15);
    border-top: 2px solid #ed111a;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    scroll-snap-align: start;
}
.ks-google-reviews__person { display: flex; align-items: center; gap: 9px; min-height: 39px; }
.ks-google-reviews .ks-google-reviews__photo { flex: 0 0 32px; display: block; width: 32px; height: 32px; min-width: 32px; margin: 0; border-radius: 0; object-fit: cover; }
.ks-google-reviews__identity { flex: 1; min-width: 0; }
.ks-google-reviews .ks-google-reviews__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #171719; font-size: 13px; line-height: 19px; font-weight: 800; text-transform: none; letter-spacing: 0; }
.ks-google-reviews__identity .ks-google-reviews__stars { font-size: 11px; line-height: 16px; }
.ks-google-reviews__number { align-self: flex-start; color: #707074; font-size: 10px; line-height: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ks-google-reviews .ks-google-reviews__quote {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    max-height: 4.35em;
    color: #171719;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 400;
    overflow-wrap: anywhere;
}
.ks-google-reviews__meta { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(23,23,25,.12); color: #707074; font-size: 10px; line-height: 15px; }
.ks-google-reviews__meta > span { margin-left: auto; font-size: 9px; letter-spacing: .08em; }
.ks-google-reviews .ks-google-reviews__hint { margin-top: 4px; color: #67676a; text-align: right; font-size: 10px; line-height: 14px; }
.ks-google-reviews__hint > .ks-google-reviews__icon { margin-left: 8px; color: #ed111a; }
.ks-google-reviews__empty { display: grid; align-content: center; gap: 10px; min-height: 228px; padding: 24px; border: 1px solid rgba(23,23,25,.15); background: #fff; }
.ks-google-reviews__empty > span { color: #ed111a; }
.ks-google-reviews__empty > p { color: #67676a; font-size: 15px; }
.ks-google-reviews .ks-google-reviews__sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (min-width: 768px) and (max-width: 1100px) {
    .ks-google-reviews .ks-google-reviews__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 22px; }
    .ks-google-reviews__scroller { grid-auto-columns: calc((100% - 12px) / 2); }
    .ks-google-reviews__rail > span:last-child { display: none; }
    .ks-google-reviews__actions { gap: 6px; }
    .ks-google-reviews .ks-google-reviews__cta,
    .ks-google-reviews .ks-google-reviews__all { padding: 10px; gap: 6px; }
}
@media (max-width: 767px) {
    .ks-google-reviews { padding: 22px 20px 20px; }
    .ks-google-reviews .ks-google-reviews__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; min-height: 0; }
    .ks-google-reviews__trust { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; }
    .ks-google-reviews .ks-google-reviews__eyebrow { grid-column: 1 / -1; margin-bottom: 12px; }
    .ks-google-reviews__metrics { grid-column: 1; grid-row: 2 / 4; display: grid; gap: 5px; align-content: center; margin: 0; }
    .ks-google-reviews .ks-google-reviews__rating { font-size: 52px; }
    .ks-google-reviews__score { gap: 2px; }
    .ks-google-reviews .ks-google-reviews__count { font-size: 9px; line-height: 18px; }
    .ks-google-reviews__count > strong { font-size: 18px; }
    .ks-google-reviews .ks-google-reviews__title { grid-column: 2; align-self: end; font-size: 21px; }
    .ks-google-reviews .ks-google-reviews__copy { grid-column: 2; margin-top: 8px; font-size: 12px; line-height: 1.45; }
    .ks-google-reviews__trust--neutral .ks-google-reviews__title,
    .ks-google-reviews__trust--neutral .ks-google-reviews__copy { grid-column: 1 / -1; }
    .ks-google-reviews__actions { grid-column: 1 / -1; margin-top: 14px; }
    .ks-google-reviews .ks-google-reviews__cta,
    .ks-google-reviews .ks-google-reviews__all { min-height: 40px; padding: 10px 14px; }
    .ks-google-reviews__scroller { grid-auto-columns: 86%; scroll-padding-inline: 0 12px; }
    .ks-google-reviews .ks-google-reviews__card { height: 220px; padding: 18px; gap: 16px; }
    .ks-google-reviews .ks-google-reviews__quote { -webkit-line-clamp: 4; line-clamp: 4; max-height: 5.8em; }
    .ks-google-reviews__rail { font-size: 8px; }
    .ks-google-reviews__rail > span:last-child { display: none; }
    .ks-google-reviews__empty { min-height: 190px; }
}
@media (max-width: 359px) {
    .ks-google-reviews { padding-inline: 16px; }
    .ks-google-reviews__trust { column-gap: 12px; }
    .ks-google-reviews .ks-google-reviews__title { font-size: 19px; }
    .ks-google-reviews .ks-google-reviews__cta,
    .ks-google-reviews .ks-google-reviews__all { padding-inline: 10px; gap: 8px; }
}
@media (forced-colors: active) {
    .ks-google-reviews__card,
    .ks-google-reviews__cta,
    .ks-google-reviews__all { border: 1px solid CanvasText; }
}
