/* Homepage only. Inherits the site's existing Noto typography and palette. */
.google-reviews [hidden] { display: none !important; }
.google-reviews .eg-gr__intro {
    max-width: 680px;
    margin: -18px auto 28px;
    text-align: center;
    color: #666;
    font-size: 16px;
}
.google-reviews .eg-gr__summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    color: #2b2a29;
}
.google-reviews .eg-gr__score { font-size: 26px; font-weight: 700; line-height: 1; }
.google-reviews .eg-gr__count { font-size: 14px; color: #666; }
.google-reviews .eg-gr__stars {
    display: inline-block;
    position: relative;
    font-family: Arial, sans-serif;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 2px;
    white-space: nowrap;
    color: #d8dce3;
}
.google-reviews .eg-gr__stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    color: #ff5b55;
}
.google-reviews .eg-gr__feed { position: relative; min-height: 160px; }
.google-reviews .eg-gr__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 48px) / 3);
    gap: 24px;
    align-items: start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    scrollbar-width: thin;
    scrollbar-color: #a4b9dd transparent;
    list-style: none;
    margin: 0;
    padding: 6px 4px 16px;
}
.google-reviews .eg-gr__track:focus-visible,
.google-reviews a:focus-visible,
.google-reviews button:focus-visible { outline: 3px solid #4c6eaa; outline-offset: 4px; }
.google-reviews .eg-gr__item { scroll-snap-align: start; min-width: 0; list-style: none; }
.google-reviews .eg-gr__card {
    min-height: 340px;
    padding: 24px;
    border: 1px solid #e8edf4;
    border-radius: 24px 10px 10px 10px;
    background: #fff;
    box-shadow: -4px 5px 15px rgb(0 0 0 / 4%);
    color: #2b2a29;
}
.google-reviews .eg-gr__author {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}
.google-reviews .eg-gr__avatar {
    flex: 0 0 52px;
    position: relative;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border-radius: 22px 8px 8px 8px;
    background: #edf2fb;
    color: #4c6eaa;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.google-reviews .eg-gr__avatar img { position: absolute; inset: 0; width: 52px; height: 52px; object-fit: cover; }
.google-reviews .eg-gr__author-meta { min-width: 0; }
.google-reviews .eg-gr__name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
    color: #2b2a29;
}
.google-reviews .eg-gr__name:hover { color: #4c6eaa; }
.google-reviews .eg-gr__date { display: block; font-size: 12px; color: #6b6b6b; margin-top: 3px; }
.google-reviews .eg-gr__card .eg-gr__stars { font-size: 17px; margin-bottom: 14px; }
.google-reviews .eg-gr__text {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    overflow-wrap: anywhere;
    white-space: pre-line;
}
.google-reviews .eg-gr__text--collapsed { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.google-reviews .eg-gr__more {
    display: inline-block;
    border: 0;
    border-bottom: 1px dotted currentColor;
    background: transparent;
    padding: 0;
    margin-top: 8px;
    font: inherit;
    font-size: 13px;
    color: #4c6eaa;
    cursor: pointer;
}
.google-reviews .eg-gr__source {
    display: block;
    width: fit-content;
    margin-top: 18px;
    font-size: 12px;
    color: #4c6eaa;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.google-reviews .eg-gr__translation { margin: 10px 0 0; font-size: 12px; color: #666; }
.google-reviews .eg-gr__controls { display: flex; gap: 12px; justify-content: center; margin: 8px 0 18px; }
.google-reviews .eg-gr__arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid transparent;
    border-radius: 50%;
    background: linear-gradient(97deg, #719ae2, #4c6eaa);
    color: #fff;
    box-shadow: -3px 3px 10px rgb(0 0 0 / 8%);
    cursor: pointer;
}
.google-reviews .eg-gr__arrow:disabled { background: #fff; border-color: #dce4f1; color: #8495b3; cursor: default; }
.google-reviews .eg-gr__arrow svg { width: 18px; height: 18px; }
.google-reviews .eg-gr__empty {
    padding: 34px 24px;
    border: 1px solid #e5ebf4;
    border-radius: 24px 10px 10px 10px;
    background: #f8faff;
    text-align: center;
    color: #666;
    font-size: 14px;
}
.google-reviews .eg-gr__empty p { margin: 0; }
.google-reviews .eg-gr__footer { text-align: center; margin-top: 22px; }
.google-reviews .eg-gr__cta { width: 300px; max-width: 100%; height: 54px; margin: 0 auto; font-size: 14px; }
.google-reviews .eg-gr__ordering { margin: 16px 0 0; font-size: 12px; line-height: 1.6; color: #666; }
.google-reviews .eg-gr__attribution { display: inline-flex; align-items: center; padding: 14px 10px 5px; }
.google-reviews .eg-gr__attribution img { display: block; height: 18px; width: auto; max-width: none; }
.google-reviews .eg-gr__providers { font-size: 12px; color: #666; }
@media (max-width: 1199px) {
    .google-reviews .eg-gr__intro { margin-top: 18px; }
}
@media (max-width: 991px) {
    .google-reviews .eg-gr__track { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 599px) {
    .google-reviews .eg-gr__intro { font-size: 14px; margin: 16px auto 24px; }
    .google-reviews .eg-gr__track { grid-auto-columns: 88%; gap: 16px; padding: 4px 4px 14px; }
    .google-reviews .eg-gr__card { padding: 20px; min-height: 340px; }
    .google-reviews .eg-gr__summary { gap: 9px; }
    .google-reviews .eg-gr__count { flex-basis: 100%; text-align: center; }
    .google-reviews .eg-gr__empty { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .google-reviews .eg-gr__track { scroll-behavior: auto; }
}
