/* Google Reviews — Sidebar Zone (narrow tall).
 * Mirrors gr-main: white card, rainbow border, G-logo badge on top,
 * header (avatar + author + stars/date), body, footer.
 */

.gr-sidebar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gr-sidebar-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: start;
    background-color: #ffffff;
    color: #202124;
    padding: 9cqmin 5cqmin 5cqmin 5cqmin;
    width: 100%;
    height: calc(80% - 9.75cqmin);
    margin-top: 9.75cqmin;
    word-break: break-word;
    box-sizing: border-box;
    border-top: 2.5cqmin solid #4285F4;
    border-right: 2.5cqmin solid #EA4335;
    border-bottom: 2.5cqmin solid #FBBC04;
    border-left: 2.5cqmin solid #34A853;
}

.gr-sidebar-google-badge {
    position: absolute;
    top: -1.25cqmin;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12cqmin;
    height: 12cqmin;
    border-radius: 50%;
    background: #fff;
    border: 2.5cqmin solid #4285F4;
    box-sizing: content-box;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0.2cqmin 0.6cqmin rgba(0, 0, 0, 0.12);
}
.gr-sidebar-google-badge img {
    width: 65% !important;
    height: 65% !important;
    display: block !important;
    margin: 0 !important;
    border-radius: 0 !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
}

.gr-sidebar-header {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5cqmin;
    padding-bottom: 3cqmin;
}

.gr-sidebar-avatar {
    display: block !important;
    width: 14cqmin !important;
    height: 14cqmin !important;
    border-radius: 50% !important;
    object-fit: cover;
    flex-shrink: 0;
    box-sizing: border-box;
    margin: 0 !important;
    max-width: none !important;
    max-height: none !important;
}
.gr-sidebar-avatar-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6cqmin;
    font-weight: 500;
    font-family: 'Roboto', 'Google Sans', sans-serif;
    color: #fff;
    line-height: 1;
}

.gr-sidebar-author-block {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    gap: 0.6cqmin;
}
.gr-sidebar-author {
    font-size: 5cqmin;
    font-weight: 500;
    font-family: 'Roboto', 'Google Sans', sans-serif;
    color: #202124;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.gr-sidebar-stars {
    color: #FBBC04;
    font-size: 4cqmin;
    letter-spacing: 0.05em;
    line-height: 1;
    font-family: 'Roboto', sans-serif;
}
.gr-sidebar-time {
    color: #5F6368;
    font-size: 2.6cqmin;
    line-height: 1;
    font-family: 'Roboto', sans-serif;
}

.gr-sidebar-mid {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    overflow: hidden;
    padding: 0;
}
.gr-sidebar-mid-text {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
}
.gr-sidebar-text {
    font-size: 3.2cqmin;
    font-family: 'Roboto', sans-serif;
    color: #202124;
    line-height: 1.5;
    text-align: start;
    max-width: 100%;
}

.gr-sidebar-bot {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-top: 2.5cqmin;
    margin-top: 2.5cqmin;
    border-top: 1px solid #DADCE0;
}
.gr-sidebar-biz {
    font-size: 3cqmin;
    color: #5F6368;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
