/* ===== MARABEL GOOGLE REVIEWS ===== */
/* Reset - kad tema neperrasytu */
.mgr-wrap, .mgr-wrap *{
    box-sizing:border-box !important;
}
.mgr-wrap p{
    margin:0;
    padding:0;
}
.mgr-wrap img{
    max-width:none;
    display:block;
}
.mgr-wrap button{
    font-family:inherit;
}

.mgr-wrap{
    --mgr-ink:#202124;
    --mgr-soft:#5f6368;
    --mgr-line:#dadce0;
    --mgr-card:#f8f9fa;
    --mgr-blue:#4285F4;
    max-width:1200px;
    margin:0 auto;
    font-family:'Montserrat',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
    color:var(--mgr-ink);
}
.mgr-wrap *{box-sizing:border-box;}

/* HEADER */
.mgr-header{
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    background:var(--mgr-card);
    border-radius:10px;
    padding:16px 24px;
    margin-bottom:18px;
    flex-wrap:wrap;
}
.mgr-header-left{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}
.mgr-logo{
    font-family:'Product Sans',Arial,sans-serif;
    font-size:22px;
    font-weight:700;
    letter-spacing:-.5px;
}
.mgr-label{font-size:15px;font-weight:600;}
.mgr-stars{display:inline-flex;gap:1px;}
.mgr-rating{font-size:15px;font-weight:700;}
.mgr-divider{color:var(--mgr-line);}
.mgr-count{font-size:14px;font-weight:500;color:var(--mgr-ink);}
.mgr-write-btn{
    display:inline-block;
    padding:10px 20px;
    border:1px solid var(--mgr-line);
    border-radius:6px;
    background:#fff;
    font-size:14px;
    font-weight:600;
    color:var(--mgr-ink);
    text-decoration:none;
    white-space:nowrap;
    transition:background .2s,border-color .2s;
}
.mgr-write-btn:hover{background:#f1f3f4;border-color:#bdc1c6;color:var(--mgr-ink);}

/* SLIDER */
.mgr-slider-wrap{position:relative;}
.mgr-track{
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:16px;
    overflow-x:auto;
    scroll-behavior:smooth;
    scroll-snap-type:x mandatory;
    padding:4px 0;
    -ms-overflow-style:none;
    scrollbar-width:none;
}
.mgr-track::-webkit-scrollbar{display:none;}

.mgr-card{
    flex:0 0 calc(33.333% - 11px) !important;
    min-width:280px;
    max-width:none;
    scroll-snap-align:start;
    background:var(--mgr-card);
    border-radius:10px;
    padding:20px;
    display:flex;
    flex-direction:column;
}
.mgr-card-top{
    display:flex !important;
    align-items:flex-start;
    gap:12px;
    margin-bottom:12px;
}
.mgr-avatar{
    width:42px !important;
    height:42px !important;
    max-width:42px !important;
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;
}
.mgr-avatar-letter{
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--mgr-blue);
    color:#fff;
    font-size:18px;
    font-weight:600;
    text-transform:uppercase;
}
.mgr-author-info{flex:1;min-width:0;}
.mgr-author{
    margin:0 0 2px;
    font-size:15px;
    font-weight:600;
    line-height:1.3;
    color:var(--mgr-ink);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.mgr-time{
    margin:0;
    font-size:13px;
    color:var(--mgr-soft);
    line-height:1.3;
}
.mgr-g-icon{flex-shrink:0;line-height:1;}

.mgr-card-stars{
    display:flex;
    align-items:center;
    gap:6px;
    margin-bottom:10px;
}
.mgr-verified{flex-shrink:0;}

.mgr-text-wrap{flex:1;display:flex;flex-direction:column;}
.mgr-text{
    margin:0;
    font-size:14px;
    line-height:1.6;
    color:var(--mgr-ink);
    display:-webkit-box;
    -webkit-line-clamp:4;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.mgr-text.expanded{
    -webkit-line-clamp:unset;
    display:block;
}
.mgr-more{
    margin-top:8px;
    padding:0;
    border:none;
    background:none;
    font-family:inherit;
    font-size:13px;
    font-weight:600;
    color:var(--mgr-soft);
    cursor:pointer;
    text-align:left;
    align-self:flex-start;
}
.mgr-more:hover{color:var(--mgr-ink);text-decoration:underline;}

/* NAV */
.mgr-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:38px;height:38px;
    border-radius:50%;
    border:1px solid var(--mgr-line);
    background:#fff;
    color:var(--mgr-ink);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:2;
    box-shadow:0 1px 4px rgba(0,0,0,.12);
    transition:background .2s,opacity .2s;
    padding:0;
}
.mgr-nav svg{width:20px;height:20px;}
.mgr-nav:hover{background:#f1f3f4;}
.mgr-nav:disabled{opacity:0;pointer-events:none;}
.mgr-prev{left:-19px;}
.mgr-next{right:-19px;}

/* RESPONSIVE */
@media(max-width:1024px){
    .mgr-card{flex:0 0 calc(50% - 8px) !important;}
    .mgr-prev{left:6px;}
    .mgr-next{right:6px;}
}

@media(max-width:767px){
    .mgr-header{
        padding:14px 16px;
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }
    .mgr-header-left{gap:7px;width:100%;}
    .mgr-logo{font-size:18px;}
    .mgr-label{font-size:13px;}
    .mgr-rating{font-size:14px;}
    .mgr-count{font-size:12px;}
    .mgr-stars svg{width:14px;height:14px;}
    .mgr-write-btn{
        width:100%;
        text-align:center;
        padding:11px 16px;
        font-size:13px;
    }

    /* Viena kortele per ekrana */
    .mgr-slider-wrap{
        margin-left:-16px;
        margin-right:-16px;
        padding-left:16px;
        padding-right:16px;
    }
    .mgr-track{
        gap:12px;
        scroll-padding-left:16px;
    }
    .mgr-card{
        flex:0 0 100% !important;
        min-width:0 !important;
        padding:18px 16px;
    }
    .mgr-avatar{
        width:38px !important;
        height:38px !important;
        max-width:38px !important;
    }
    .mgr-avatar-letter{font-size:16px;}
    .mgr-author{font-size:14px;}
    .mgr-time{font-size:12px;}
    .mgr-text{
        font-size:13px;
        -webkit-line-clamp:6;
    }

    /* Rodykles apacioje, ne ant korteliu */
    .mgr-nav{
        position:static;
        transform:none;
        width:36px;
        height:36px;
    }
    .mgr-slider-wrap{
        display:flex;
        flex-direction:column;
    }
    .mgr-track{order:1;}
    .mgr-prev{order:2;}
    .mgr-next{order:3;}
    .mgr-nav-mobile-row{
        order:2;
        display:flex;
        justify-content:center;
        gap:12px;
        margin-top:14px;
    }
}

@media(max-width:400px){
    .mgr-card{padding:16px 14px;}
    .mgr-logo{font-size:17px;}
    .mgr-label{font-size:12px;}
    .mgr-count{font-size:11px;}
}


/* TASKELIAI */
.mgr-dots{
    display:none;
    justify-content:center;
    gap:7px;
    margin-top:16px;
}
.mgr-dot{
    width:7px;
    height:7px;
    padding:0;
    border:none;
    border-radius:50%;
    background:var(--mgr-line);
    cursor:pointer;
    transition:background .25s,width .25s;
}
.mgr-dot.active{
    background:var(--mgr-ink);
    width:20px;
    border-radius:4px;
}

@media(max-width:767px){
    .mgr-dots{display:flex;}
    .mgr-nav{display:none !important;}
}
