.elementor-5637 .elementor-element.elementor-element-54a1350{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}:root{--page-title-display:none;}/* Start custom CSS for shortcode, class: .elementor-element-487a6d5 *//* =========================================
   MyOnlineTutor – Tutor Reviews FINAL CLEAN
   Single clean stylesheet
========================================= */

.mot-reviews-page{
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 24px 64px;
    box-sizing: border-box;
    color: #0f172a;
    background: #ffffff;
}

/* =========================
   Header
========================= */
.mot-reviews-header{
    margin-bottom: 24px;
}

.mot-reviews-title{
    margin: 0 0 10px;
    font-size: clamp(34px, 4.8vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    font-weight: 700;
    color: #0f1b4d;
}

.mot-reviews-subtitle{
    margin: 0;
    max-width: 760px;
    font-size: 17px;
    line-height: 1.75;
    font-weight: 400;
    color: #6c7a92;
}

/* =========================
   Stats
========================= */
.mot-review-stats{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.mot-stat-card{
    position: relative;
    background: #ffffff;
    border: 1px solid #e4eaf5;
    border-radius: 22px;
    padding: 18px 20px 16px;
    min-height: 96px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.mot-stat-card::before{
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0b0f4f, #1d4ed8 55%, #c7d2fe);
    opacity: .75;
}

.mot-stat-card:hover{
    transform: translateY(-1px);
    border-color: #d8e2f2;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.mot-stat-highlight{
    background: #ffffff;
    border-color: #e4eaf5;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.mot-stat-label{
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: -0.002em;
    color: #5f6f87;
}

.mot-stat-value{
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.mot-stat-highlight .mot-stat-label,
.mot-stat-highlight .mot-stat-value{
    color: inherit;
}

/* =========================
   Filters
========================= */
.mot-review-filters{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.mot-filter-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid #d8e1ec;
    background: #ffffff;
    color: #24324a;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
    transition: all .18s ease;
}

.mot-filter-btn:hover{
    background: #f8fbff;
    border-color: #c8d5e4;
    color: #0f172a;
}

.mot-filter-btn.is-active{
    border-color: #0b0f4f;
    background: linear-gradient(180deg, #13206d 0%, #0b0f4f 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(11, 15, 79, 0.16);
}

/* =========================
   Reviews Grid
========================= */
.mot-reviews-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

/* =========================
   Review Card
========================= */
.mot-review-card{
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
    padding: 22px 22px 18px;
    border: 1px solid #e4eaf5;
    border-radius: 22px;
    background: #ffffff;
    box-shadow:
        0 8px 22px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255,255,255,0.88);
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.mot-review-card::before{
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0b0f4f, #1d4ed8 55%, #c7d2fe);
    opacity: .82;
}

.mot-review-card:hover{
    transform: translateY(-1px);
    border-color: #d8e2f2;
    box-shadow:
        0 10px 24px rgba(15, 23, 42, 0.055),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

/* cards with reply */
.mot-review-card:has(.mot-tutor-reply){
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-color: #dbe7f8;
}

.mot-review-card:has(.mot-tutor-reply)::before{
    background: linear-gradient(90deg, #0b0f4f, #4f7df3 55%, #dbe8ff);
    opacity: .9;
}

/* balance cards without reply */
.mot-review-card:not(:has(.mot-tutor-reply))::after{
    content: "";
    display: block;
    margin-top: auto;
    min-height: 86px;
}

/* =========================
   Top Row
========================= */
.mot-review-top{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.mot-review-user{
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mot-review-avatar{
    flex: 0 0 48px;
}

.mot-review-avatar-img,
.mot-review-avatar img{
    width: 48px;
    height: 48px;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #dfe7f2;
    background: #f8fbff;
}

.mot-review-user-meta{
    min-width: 0;
}

.mot-review-author{
    margin: 0;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #182341;
}

.mot-review-date-mobile{
    display: none;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
    color: #8a97ab;
}

.mot-review-rating-wrap{
    text-align: right;
    flex-shrink: 0;
}

.mot-review-rating{
    font-size: 17px;
    line-height: 1;
    color: #f59e0b;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.mot-review-date{
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
    color: #8a97ab;
}

/* =========================
   Review Text
========================= */
.mot-review-text{
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 400;
    color: #607089;
    word-break: break-word;
    flex-shrink: 0;
}

/* =========================
   Bottom Row
========================= */
.mot-review-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.mot-review-product{
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #d7e1f0;
    border-radius: 999px;
    background: #f8fbff;
    color: #3a4961;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    max-width: calc(100% - 110px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================
   Reply Button
========================= */
.mot-review-reply-btn{
    appearance: none;
    -webkit-appearance: none;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #d9e2f2;
    border-radius: 14px;
    background: #ffffff;
    color: #2d3b58;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.mot-review-reply-btn:hover{
    transform: translateY(-1px);
    border-color: #c8d6ef;
    background: #fbfdff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    color: #0f1b4d;
}

.mot-review-reply-btn:focus,
.mot-review-reply-btn:focus-visible{
    outline: none;
    border-color: #3467eb;
    box-shadow: 0 0 0 4px rgba(52, 103, 235, 0.10);
}

/* =========================
   Tutor Reply Box
========================= */
.mot-tutor-reply{
    margin-top: auto;
    min-height: 86px;
    padding: 14px 14px 13px;
    border: 1px solid #d9e6fb;
    border-radius: 16px;
    background: #f4f8ff;
}

.mot-tutor-reply-label{
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    color: #2f4f8f;
}

.mot-tutor-reply-text{
    font-size: 14px;
    line-height: 1.65;
    font-weight: 400;
    color: #5a6b84;
    word-break: break-word;
}

/* =========================
   Empty State
========================= */
.mot-reviews-empty{
    text-align: center;
    background: #ffffff;
    border: 1px solid #e4eaf5;
    border-radius: 22px;
    padding: 40px 22px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.mot-reviews-empty-icon{
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fbff;
    border: 1px solid #e4eaf5;
    color: #0b0f4f;
    font-size: 22px;
    font-weight: 700;
}

.mot-reviews-empty h3{
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.22;
    font-weight: 700;
    color: #182341;
}

.mot-reviews-empty p{
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #71819b;
}

/* =========================
   Public Tutor Reply
========================= */
.mot-public-tutor-reply{
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid #e4eaf5;
    border-radius: 16px;
    background: #fbfcff;
}

.mot-public-tutor-reply-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.mot-public-tutor-reply-label{
    font-size: 12px;
    font-weight: 600;
    color: #37465f;
}

.mot-public-tutor-reply-date{
    font-size: 12px;
    color: #8a97ab;
}

.mot-public-tutor-reply-author{
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #182341;
}

.mot-public-tutor-reply-text{
    font-size: 14px;
    line-height: 1.65;
    color: #5f6f87;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1180px){
    .mot-review-stats{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mot-review-card{
        min-height: 280px;
    }
}

@media (max-width: 767px){
    .mot-reviews-page{
        padding: 24px 14px 48px;
    }

    .mot-reviews-title{
        font-size: 42px;
        line-height: 1.08;
    }

    .mot-reviews-subtitle{
        font-size: 16px;
    }

    .mot-review-stats{
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 18px;
    }

    .mot-stat-card{
        padding: 16px 16px 14px;
        min-height: 84px;
        border-radius: 18px;
    }

    .mot-stat-label{
        font-size: 12px;
        margin-bottom: 8px;
    }

    .mot-stat-value{
        font-size: 28px;
    }

    .mot-reviews-grid{
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mot-review-card{
        min-height: auto;
        padding: 18px 16px 16px;
        border-radius: 18px;
    }

    .mot-review-top{
        flex-direction: column;
        align-items: flex-start;
    }

    .mot-review-rating-wrap{
        text-align: left;
    }

    .mot-review-date{
        display: none;
    }

    .mot-review-date-mobile{
        display: block;
    }

    .mot-review-author{
        font-size: 16px;
    }

    .mot-review-text{
        font-size: 14px;
    }

    .mot-review-bottom{
        flex-direction: column;
        align-items: flex-start;
    }

    .mot-review-product{
        max-width: 100%;
        min-height: 34px;
        font-size: 12px;
    }

    .mot-review-reply-btn{
        min-height: 40px;
        font-size: 13px;
        border-radius: 12px;
    }

    .mot-tutor-reply{
        min-height: 0;
        padding: 12px 12px 11px;
        border-radius: 14px;
    }

    .mot-review-card:not(:has(.mot-tutor-reply))::after{
        display: none;
        min-height: 0;
    }
}/* End custom CSS */