/* Container & Overalls */
.grs-container {
    width: 100%;
    margin: 20px auto;
    position: relative;
    box-sizing: border-box;
    font-family: inherit;
}

.grs-track-wrap {
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
    background: #fdfdfd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.grs-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.grs-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Typography & Elements */
.grs-stars { color: #f5b50a; font-size: 22px; margin-bottom: 12px; }
.grs-text { font-style: italic; color: #444; line-height: 1.6; margin-bottom: 15px; max-width: 800px; }
.grs-author { font-weight: 700; color: #111; margin: 0; }
.grs-time { font-size: 12px; color: #888; margin-top: 5px; }
.grs-avatar { width: 60px; height: 60px; border-radius: 50%; margin-bottom: 15px; object-fit: cover; }

/* Grid Layout (Overrides default slider behavior visually) */
.grs-container.style-grid-layout .grs-track-wrap { overflow: visible; background: transparent; box-shadow: none; }
.grs-container.style-grid-layout .grs-track { flex-wrap: wrap; gap: 20px; transform: none !important; }
.grs-container.style-grid-layout .grs-slide { min-width: calc(50% - 10px); background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border-radius: 8px; }
.grs-container.style-grid-layout .grs-controls { display: none; }

@media (max-width: 768px) {
    .grs-container.style-grid-layout .grs-slide { min-width: 100%; }
}

/* Card Designs */
.grs-slide.card-minimalist .grs-avatar, 
.grs-slide.card-minimalist .grs-time { display: none; }

/* Controls & Buttons */
.grs-controls { text-align: center; margin-top: 15px; }
.grs-controls button {
    background: #222; color: #fff; border: none; padding: 10px 15px; border-radius: 4px; cursor: pointer; margin: 0 5px; font-size: 16px; transition: background 0.2s;
}
.grs-controls button:hover { background: #555; }
.grs-action { text-align: center; margin-top: 25px; }
.grs-btn {
    display: inline-block; background: #4285F4; color: #fff; padding: 10px 24px; text-decoration: none; border-radius: 50px; font-weight: 600; transition: background 0.2s;
}
.grs-btn:hover { background: #3367D6; color: #fff; }