.sgr-widget {
    --sgr-accent: #c1392b;
    --sgr-accent-hover: #a92f24;
    --sgr-star: #f3a91c;
    --sgr-text: #172033;
    --sgr-muted: #6c7687;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    color: var(--sgr-text);
    font-family: Ubuntu, Arial, sans-serif;
}
.sgr-widget *, .sgr-widget *::before, .sgr-widget *::after { box-sizing: border-box; }
.sgr-card {
    width: 100%;
    min-width: 0;
    padding: 15px;
    overflow: hidden;
    border: 1px solid rgba(18, 28, 44, .08);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .10);
}
.sgr-summary {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 7px 10px;
    padding-bottom: 11px;
    border-bottom: 1px solid #e8eaed;
}
.sgr-google-mark {
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #e4e7eb;
    border-radius: 50%;
    color: #4285f4;
    background: #fff;
    font: 800 20px/1 Arial, sans-serif;
}
.sgr-stars {
    min-width: 0;
    color: var(--sgr-star);
    font-size: 18px;
    line-height: 1;
    letter-spacing: .6px;
    white-space: nowrap;
}
.sgr-rating {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.sgr-rating strong {
    color: var(--sgr-text);
    font-size: 14px;
    line-height: 1.2;
}
.sgr-rating span, .sgr-author-meta, .sgr-source {
    color: var(--sgr-muted);
    font-size: 11.5px;
    line-height: 1.35;
}
.sgr-slider { min-width: 0; }
.sgr-slides { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.sgr-review {
    grid-area: 1 / 1;
    min-width: 0;
    margin: 0;
    padding: 13px 0 10px;
    border: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(6px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.sgr-review.is-active { position: relative; visibility: visible; opacity: 1; pointer-events: auto; transform: translateX(0); }
.sgr-review p {
    display: -webkit-box;
    margin: 0 0 5px;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    color: var(--sgr-text);
    font-size: 13.5px;
    font-style: italic;
    line-height: 1.46;
}
.sgr-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 10px;
    color: var(--sgr-accent) !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none !important;
}
.sgr-read-more:hover, .sgr-read-more:focus { color: var(--sgr-accent-hover) !important; }
.sgr-author { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 8px; min-width: 0; }
.sgr-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.sgr-avatar--initial { display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--sgr-accent); font-size: 14px; font-style: normal; font-weight: 700; }
.sgr-author-meta { display: block; min-width: 0; overflow-wrap: anywhere; }
.sgr-author-name { display: inline; color: var(--sgr-text) !important; font-weight: 700; text-decoration: none !important; }
.sgr-author a { text-decoration: none; }
.sgr-author a:hover, .sgr-author a:focus { color: var(--sgr-accent) !important; }
.sgr-controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 10px; }
.sgr-arrow, .sgr-dot { border: 0; padding: 0; cursor: pointer; }
.sgr-arrow { display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; border: 1px solid #dfe3e8; border-radius: 50%; color: var(--sgr-text); background: #fff; font-size: 19px; line-height: 1; transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.sgr-arrow:hover, .sgr-arrow:focus-visible { border-color: var(--sgr-accent); color: #fff; background: var(--sgr-accent); }
.sgr-dots { display: flex; align-items: center; gap: 5px; }
.sgr-dot { width: 6px; height: 6px; border-radius: 50%; background: #cdd2d8; transition: width .2s ease, border-radius .2s ease, background-color .2s ease; }
.sgr-dot.is-active { width: 16px; border-radius: 8px; background: var(--sgr-accent); }
.sgr-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92%;
    min-height: 42px;
    margin: 0 auto;
    padding: 11px 18px;
    border: 2px solid var(--sgr-accent);
    border-radius: 50px;
    color: #fff !important;
    background: var(--sgr-accent);
    box-shadow: none;
    font-family: Ubuntu, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none !important;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.sgr-button:hover, .sgr-button:focus-visible { border-color: var(--sgr-accent-hover); color: #fff !important; background: var(--sgr-accent-hover); transform: translateY(-1px); }
.sgr-source { margin-top: 7px; text-align: center; }
.sgr-source a { color: var(--sgr-accent) !important; text-decoration: none; }

/* Einheitliche Linkfarben im Widget: alle Links ausser dem CTA-Button */
.sgr-widget a:not(.sgr-button),
.sgr-widget a:not(.sgr-button):visited,
.sgr-widget a:not(.sgr-button):hover,
.sgr-widget a:not(.sgr-button):focus,
.sgr-widget a:not(.sgr-button):focus-visible {
    color: var(--sgr-accent) !important;
}

.sgr-admin-hint { padding: 10px; border-left: 4px solid #c1392b; background: #fff; color: #222; }
@media (max-width: 360px) {
    .sgr-card { padding: 13px; }
    .sgr-stars { font-size: 17px; }
    .sgr-rating strong { font-size: 13.5px; }
    .sgr-review p { font-size: 13px; -webkit-line-clamp: 4; }
    .sgr-button { width: 100%; padding-inline: 14px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { .sgr-review, .sgr-button, .sgr-arrow, .sgr-dot { transition: none !important; } }
