/* Case descriptions belong to us; the review body stays verbatim. */
.voices-viewport { scroll-snap-type: x mandatory; scroll-padding-inline: 36px; }
.voice-card { scroll-snap-align: start; }
.voice-card h3 { font-size: 18px; line-height: 1.7; margin: 13px 0 18px; min-height: 61px; }
.voice-card blockquote {
    margin: 0 0 25px;
    padding: 0 0 0 14px;
    border-left: 3px solid #9acbb0;
    color: #254839;
    font-size: 14px;
    line-height: 1.95;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    flex: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    overflow: hidden;
    height: 164px;
}
.voice-read-more { align-self: flex-start; margin: 0 0 22px; padding: 6px 0; border: 0; border-bottom: 1px solid #83b79a; background: transparent; color: #175738; font-size: 13px; font-weight: 700; }
.voice-read-more:hover { color: #0b3f27; border-bottom-color: #175738; }
.voice-action-icon { width: 12px; height: 12px; vertical-align: -1px; margin-left: 4px; }
.voice-card footer { margin-top: auto; }
.voice-dialog { width: min(660px, calc(100% - 40px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid #cfe3d7; border-radius: 22px; background: #fffefa; color: #254839; box-shadow: 0 24px 80px #25483930; }
.voice-dialog[open] { display: flex; flex-direction: column; }
.voice-dialog::backdrop { background: #25483940; backdrop-filter: blur(4px); }
.voice-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 25px 28px 21px; border-bottom: 1px solid #d7e9de; background: #eff8f2; }
.voice-dialog-header small { font-size: 11px; color: #26724d; }
.voice-dialog-header h2 { margin: 6px 0 0; color: #254839; font-size: 21px; line-height: 1.65; }
#voice-dialog-close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; padding: 0; border: 1px solid #a9cbb7; border-radius: 50%; background: #fffefa; color: #175738; }
#voice-dialog-close .voice-action-icon { width: 16px; height: 16px; margin: 0; }
#voice-dialog-close:hover { background: #e1f1e7; }
.voice-dialog-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px 28px 28px; scrollbar-color: #8bb59d #eff8f2; }
.voice-dialog-content blockquote { margin: 0 0 24px; padding-left: 17px; border-left: 3px solid #80bd99; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16px; line-height: 2; color: #254839; }
#voice-dialog-author { margin: 0 0 3px; font-size: 13px; font-weight: 700; }
.voice-dialog-content > small { color: #c3d8cb; font-size: 11px; }
body.voice-dialog-open { overflow: hidden; }
@media (max-width: 760px) {
    .voices-viewport { scroll-padding-inline: 18px; }
    .voice-card h3 { font-size: 17px; min-height: 58px; }
    .voice-card blockquote { font-size: 14px; padding-left: 12px; }
    .voice-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 32px); border-radius: 17px; }
    .voice-dialog-header { gap: 12px; padding: 19px 18px 17px; }
    .voice-dialog-header h2 { font-size: 18px; }
    .voice-dialog-content { padding: 20px 18px 23px; }
    .voice-dialog-content blockquote { font-size: 15px; padding-left: 13px; }
}
