.dgr-review-card{
    background:#fff;
    border:1px solid #ececec;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
    padding:22px 30px;
    margin:35px auto;
    transition:.35s;
    cursor:pointer;
    overflow:hidden;
    position:relative;
}

.dgr-review-card:hover{
    transform:translateY(-3px);
    box-shadow:0 16px 35px rgba(0,0,0,.08);
}

/*==================================================
LAYOUT
==================================================*/

.dgr-top-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.dgr-left{
    flex:1;
    min-width:0;
}

.dgr-right{
    width:420px;
    flex-shrink:0;
}

.dgr-review-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:35px;
}

.dgr-stars-wrap{
    flex:1;
    text-align:center;
}

/*==================================================
HEADER
==================================================*/

.dgr-review-header{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:8px;
}

.dgr-google-icon{
    width:28px;
    flex-shrink:0;
}

.dgr-google-logo{
    width:100%;
    display:block;
}

.dgr-powered{
    display:block;
    font-size:11px;
    color:#80868b;
    margin-bottom:2px;
}

.dgr-review-header h3{
    margin:0;
    font-size:30px;
    line-height:1.1;
    font-weight:650;
    color:#202124;
}

.dgr-description{
    margin:0;
    color:#5f6368;
    line-height:1.6;
    font-size:15px;
    max-width:560px;
}

/*==================================================
STARS
==================================================*/

.dgr-stars{
    display:flex;
    justify-content:center;
    gap:5px;
    margin-bottom:6px;
}

.dgr-star{
    font-size:42px;
    color:#dadce0;
    transition:color .18s ease,transform .18s ease;
    user-select:none;
}

.dgr-star.active{
    color:#FBBC04;
    transform:scale(1.12);
}

.dgr-rating-text{
    min-height:18px;
    font-size:14px;
    color:#5f6368;
    font-weight:600;
}

/*==================================================
BUTTON
==================================================*/

.dgr-review-button{

    background:none;

    border:none;

    color:#1a73e8;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    white-space:nowrap;

    padding:0;

    transition:.25s;

}

.dgr-review-button:hover{

    color:#1558b0;

}

.dgr-arrow{

    display:inline-block;

    margin-left:8px;

    transition:.25s;

}

.dgr-review-button:hover .dgr-arrow{

    transform:translateX(5px);

}

/*==================================================
RIPPLE
==================================================*/

.dgr-ripple{
    position:absolute;
    border-radius:50%;
    transform:scale(0);
    background:rgba(26,115,232,.12);
    animation:dgrRipple .6s linear;
    pointer-events:none;
}

@keyframes dgrRipple{

    to{

        transform:scale(12);

        opacity:0;

    }

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:950px){

    .dgr-top-row{

        flex-direction:column;

        align-items:flex-start;

    }

    .dgr-right{

        width:100%;

    }

    .dgr-review-actions{

        width:100%;

    }

}

@media(max-width:640px){

    .dgr-review-header{

        justify-content:center;

    }

    .dgr-top-row{

        text-align:center;

    }

    .dgr-review-actions{

        flex-direction:column;

        gap:15px;

    }

    .dgr-description{

        max-width:100%;

    }

    .dgr-review-button{

        width:100%;

        text-align:center;

        border:1px solid #dadce0;

        border-radius:50px;

        padding:12px;

    }

}