.grs-swiper-wrap {
    --grs-bg: #0a0a0a;
    --grs-card: #111111;
    --grs-border: #1f1f1f;
    --grs-text: #f5f5f5;
    --grs-muted: #737373;
    --grs-star: #ffffff;
    --grs-star-empty: #333333;

    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 0 24px;
    color: var(--grs-text);
    font-family: inherit;
}

.grs-swiper-wrap .grs-swiper {
    overflow: hidden;
    padding-bottom: 8px;
}

.grs-swiper-wrap .swiper-slide {
    height: auto;
    display: flex;
}

.grs-slide {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 300px;
    padding: 28px 24px 24px;
    background: var(--grs-card);
    border: 1px solid var(--grs-border);
    border-radius: 2px;
    box-sizing: border-box;
}

.grs-slide-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.grs-slide-quote {
    font-size: 40px;
    line-height: 1;
    color: var(--grs-muted);
    opacity: 0.35;
    margin-bottom: 4px;
    font-family: Georgia, "Times New Roman", serif;
    user-select: none;
    flex-shrink: 0;
}

.grs-slide-text {
    flex: 1;
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: var(--grs-text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.grs-read-more {
    align-self: flex-start;
    margin-top: 10px;
    padding: 0;
    border: none;
    background: none;
    color: var(--grs-text);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.grs-read-more:hover,
.grs-read-more:focus {
    opacity: 1;
    outline: none;
    text-decoration: underline;
}

.grs-slide-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    margin-top: auto;
    border-top: 1px solid var(--grs-border);
    flex-shrink: 0;
}

.grs-slide-author {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.grs-swiper-wrap img.grs-slide-avatar {
    flex-shrink: 0 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1px solid var(--grs-border) !important;
}

.grs-slide-avatar--placeholder {
    flex-shrink: 0 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background: #1a1a1a;
    color: var(--grs-muted);
    font-size: 16px;
    font-weight: 500;
    border: 1px solid var(--grs-border) !important;
    box-sizing: border-box !important;
}

.grs-slide-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.grs-slide-name {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--grs-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
}

.grs-slide-google {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grs-muted);
    text-decoration: none !important;
    opacity: 0.45;
    transition: opacity 0.2s ease, color 0.2s ease;
    position: relative;
    z-index: 2;
}

.grs-slide-google:hover {
    opacity: 1;
    color: var(--grs-text);
}

.grs-slide-stars {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--grs-star);
}

.grs-slide-stars::after {
    content: none;
}

.grs-slide-date {
    font-size: 12px;
    color: var(--grs-muted);
    letter-spacing: 0.02em;
}

/* Footer: nav + pagination */
.grs-swiper-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 28px;
    position: relative;
}

.grs-swiper-wrap .swiper-pagination {
    position: static;
    width: auto !important;
    display: flex;
    gap: 8px;
}

.grs-swiper-wrap .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 !important;
    background: #333;
    opacity: 1;
    border-radius: 50%;
    transition: background 0.25s ease, transform 0.25s ease;
}

.grs-swiper-wrap .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.3);
}

.grs-swiper-wrap .swiper-button-prev,
.grs-swiper-wrap .swiper-button-next {
    position: static;
    width: 36px;
    height: 36px;
    margin: 0;
    flex-shrink: 0;
    color: var(--grs-text);
    border: 1px solid var(--grs-border);
    border-radius: 50%;
    background: transparent;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.grs-swiper-wrap .swiper-button-prev::after,
.grs-swiper-wrap .swiper-button-next::after {
    font-size: 13px;
    font-weight: 700;
}

.grs-swiper-wrap .swiper-button-prev:hover,
.grs-swiper-wrap .swiper-button-next:hover {
    border-color: #444;
    background: #141414;
}

.grs-swiper-wrap .swiper-button-disabled {
    opacity: 0.25;
    pointer-events: none;
}

/* Modal */
body.grs-modal-open {
    overflow: hidden;
}

.grs-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.grs-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.grs-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.grs-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 2px;
    padding: 36px 32px 28px;
    box-sizing: border-box;
    color: #f5f5f5;
    transform: translateY(12px);
    transition: transform 0.25s ease;
}

.grs-modal.is-open .grs-modal-dialog {
    transform: translateY(0);
}

.grs-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: none;
    color: #888;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.grs-modal-close:hover {
    color: #fff;
}

.grs-modal-quote {
    font-size: 44px;
    line-height: 1;
    color: #555;
    margin-bottom: 8px;
    font-family: Georgia, "Times New Roman", serif;
}

.grs-modal-text {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 300;
    color: #f5f5f5;
    white-space: pre-line;
}

.grs-modal-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #2a2a2a;
    margin-bottom: 20px;
}

.grs-modal-avatar-wrap {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    position: relative;
}

.grs-modal-avatar-wrap img.grs-modal-avatar-img {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1px solid #2a2a2a !important;
    display: block;
}

.grs-modal-avatar-wrap img.grs-modal-avatar-img[hidden] {
    display: none !important;
}

.grs-modal-avatar-placeholder {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background: #1a1a1a;
    color: #737373;
    font-size: 18px;
    font-weight: 500;
    border: 1px solid #2a2a2a !important;
    box-sizing: border-box !important;
}

.grs-modal-avatar-placeholder[hidden] {
    display: none !important;
}

.grs-modal-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.grs-modal-name {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.grs-modal-stars {
    font-size: 12px;
    letter-spacing: 2px;
    color: #fff;
}

.grs-modal-date {
    font-size: 12px;
    color: #737373;
}

.grs-modal-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid #444;
    border-radius: 2px;
    color: #f5f5f5 !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.grs-modal-google[hidden] {
    display: none !important;
}

.grs-modal-google:hover {
    border-color: #666;
    background: #1a1a1a;
    color: #fff;
}

/* Admin preview (unchanged layout) */
.grs-review--admin {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
}

.grs-review--admin .grs-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.grs-review--admin .grs-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.grs-review--admin .grs-review-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.grs-review--admin .grs-review-name {
    font-size: 15px;
    line-height: 1.3;
}

.grs-review--admin .grs-review-stars {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 1px;
}

.grs-review--admin .grs-review-date {
    color: #6b7280;
    font-size: 13px;
}

.grs-review--admin .grs-review-text {
    margin: 0;
    color: #374151;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .grs-slide {
        height: 280px;
        padding: 22px 18px 18px;
    }

    .grs-slide-text {
        font-size: 13px;
        -webkit-line-clamp: 4;
    }

    .grs-slide-quote {
        font-size: 32px;
    }

    .grs-modal-dialog {
        padding: 28px 20px 22px;
    }
}
