.student_stories_home{
    clear:both;
    width:88%;
    max-width:1110px;
    margin:42px auto;
    padding:30px 32px 44px;

    direction:rtl;
    box-sizing:border-box;

 background:linear-gradient(
    135deg,
    #f2faf9 0%,
    #f7f4fa 100%
);
border:1px solid #dde9e8;
    border-radius:24px;
}

.student_stories_header{
    text-align:center;
    margin-bottom:23px;
}

.student_stories_header h2{
    margin:0 0 7px;
    color:#183f3c;
    font-size:22px;
    font-weight:700;
    line-height:34px;
}

.student_stories_header p{
    margin:0;
    color:#69635c;
    font-size:13.5px;
    line-height:25px;
}


/* اسلاید */
.student_story_slide{
    height:100%;
    padding:8px;
    box-sizing:border-box;
}


/* کارت */
.student_story_card{
    position:relative;

    height:245px;
    padding:19px 19px 17px;

    display:flex;
    flex-direction:column;

    background:#fff;

    border:1px solid #e7ddd0;
    border-top:4px solid #0fa79e;
    border-radius:17px;

    box-shadow:0 8px 24px rgba(40,55,53,.09);

    box-sizing:border-box;
    overflow:hidden;
}


/* مشخصات هنرجو */
.student_story_top{
    display:flex;
    align-items:center;
    gap:11px;
    margin-bottom:13px;
}

.student_story_avatar{
    width:48px;
    height:48px;
    min-width:48px;

    border-radius:50%;
    overflow:hidden;
}

.student_story_avatar img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}


/* هنرجوی بدون عکس */
.student_story_initial{
    display:flex;
    align-items:center;
    justify-content:center;

    background:#0fa79e;
    color:#fff;

    font-size:19px;
    font-weight:700;

    box-shadow:0 4px 12px rgba(15,167,158,.25);
}


.student_story_identity{
    min-width:0;
    text-align:right;
}

.student_story_identity strong{
    display:block;

    color:#253b39;

    font-size:14px;
    font-weight:700;
    line-height:23px;
}


/* برچسب ساز */
.student_story_identity span{
    display:inline-block;

    margin-top:4px;
    padding:2px 8px;

  background:#f3eef7;
color:#67427d;
border:1px solid #ded1e7;
    border-radius:20px;

    font-size:11.5px;
    font-weight:600;
    line-height:20px;
}


/* علامت نقل قول */
.student_story_quote{
    position:absolute;

    left:17px;
    top:56px;

    color:#e7b64f;
    opacity:.95;

    font-family:Georgia, serif;
    font-size:42px;
    line-height:42px;
}


/* متن تجربه */
.student_story_text{
    color:#4b5553;

    font-size:13px;
    line-height:25px;
    text-align:right;

    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:5;

    overflow:hidden;
}


/* مشاهده متن کامل */
.student_story_more_btn{
    margin-top:auto;
    padding:8px 0 0;

    align-self:flex-start;

    border:0;
    background:transparent;

    color:#70478c;

    font-family:inherit;
    font-size:12px;
    font-weight:700;

    cursor:pointer;

    transition:.2s;
}

.student_story_more_btn:hover{
    color:#523268;
}


/* متن کامل مخفی */
.student_story_full_text{
    display:none;
}


/* Slick - ارتفاع یکسان */
.student_stories_slider .slick-track{
    display:flex !important;
}

.student_stories_slider .slick-slide{
    height:inherit !important;
}

.student_stories_slider .slick-slide > div{
    height:100%;
}


/* فلش‌ها */
.student_stories_slider .slick-prev,
.student_stories_slider .slick-next{
    width:34px;
    height:34px;

    z-index:3;

    border-radius:50%;

    background:#0fa79e;
}

.student_stories_slider .slick-prev:hover,
.student_stories_slider .slick-next:hover{
    background:#087f78;
}


/* نقاط پایین */
.student_stories_slider .slick-dots{
    bottom:-29px;
}

.student_stories_slider .slick-dots li button:before{
    color:#0fa79e;
    font-size:10px;
    opacity:.30;
}

.student_stories_slider .slick-dots li.slick-active button:before{
    color:#70478c;
    opacity:1;
}


/* مودال */
.student_story_modal{
    display:none;

    position:fixed;
    inset:0;

    z-index:99999;

    padding:20px;

    background:rgba(20,35,33,.60);

    box-sizing:border-box;
}

.student_story_modal_box{
    position:absolute;

    width:90%;
    max-width:560px;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);

    padding:28px 26px;

    background:#fff;

    border-top:4px solid #0fa79e;
    border-radius:20px;

    box-shadow:0 20px 60px rgba(0,0,0,.22);

    box-sizing:border-box;
}

.student_story_modal_close{
    position:absolute;

    left:15px;
    top:12px;

    width:32px;
    height:32px;

    border:0;
    border-radius:50%;

    background:#f3edf6;
    color:#70478c;

    font-size:22px;
    line-height:30px;

    cursor:pointer;
}

.student_story_modal_title{
    margin-bottom:15px;

    color:#183f3c;

    font-size:17px;
    font-weight:700;
}

.student_story_modal_content{
    color:#4e5756;

    font-size:13.5px;
    line-height:28px;

    text-align:right;
}


/* موبایل */
@media screen and (max-width:620px){

    .student_stories_home{
        width:92%;

        margin:32px auto 40px;
        padding:24px 15px 40px;

        border-radius:19px;
    }

    .student_stories_header h2{
        font-size:19px;
        line-height:30px;
    }

    .student_stories_header p{
        font-size:13px;
        line-height:23px;
    }

    .student_story_slide{
        padding:5px;
    }

    .student_story_card{
        height:240px;
        padding:18px 16px;
    }

    .student_story_modal_box{
        width:94%;
        padding:25px 20px;
    }
}
.student_story_experience{
    display:inline-block;
    margin-top:7px;
    padding:4px 9px;
    border-radius:12px;
    background:#f3eef7;
    border:1px solid #ded1e7;
    color:#67427d;
    font-size:11px;
    line-height:18px;
    font-weight:600;
}
.student_story_video_modal{
    display:none;
    position:fixed;
    inset:0;
    z-index:99999;
    background:rgba(0,0,0,.75);
    align-items:center;
    justify-content:center;
    padding:20px;
    box-sizing:border-box;
}

.student_story_video_modal.is-open{
    display:flex;
}

.student_story_video_modal_box{
    position:relative;
    width:100%;
    max-width:760px;
    background:#111;
    border-radius:14px;
    padding:12px;
    box-sizing:border-box;
    box-shadow:0 20px 60px rgba(0,0,0,.35);
}

.student_story_video_modal_box video{
    display:block;
    width:100%;
    max-height:80vh;
    background:#000;
    border-radius:10px;
}

.student_story_video_modal_close{
    position:absolute;
    top:-14px;
    left:-14px;
    width:34px;
    height:34px;
    border:0;
    border-radius:50%;
    background:#fff;
    color:#333;
    font-size:24px;
    line-height:30px;
    cursor:pointer;
    z-index:2;
}