
/* ==========================================
   ACEMI Success Stories / Comments
========================================== */

.acemi-stories-page {
    direction: rtl;
    text-align: right;
    padding: 55px 0 80px;
    background: #fff;
    color: #393d4a;
}


/* Hero
========================================== */

.acemi-stories-hero {
    margin-bottom: 38px;
    direction: rtl;
}

.acemi-hero-content {
    padding: 20px 25px;
}

.acemi-hero-content h1 {
    margin: 0 0 18px;
    color: #252525;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.7;
}

.acemi-hero-content h1 strong {
    color: #6A302E;
    font-weight: 800;
}

.acemi-hero-content p {
    max-width: 520px;
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 2;
}

/* Main Video
========================================== */

.acemi-main-video {
    position: relative;
    overflow: hidden;
    height: 285px;
    border-radius: 9px;
    background: #eee;
}

.acemi-main-video-cover {
    position: absolute;
    inset: 0;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.acemi-main-video-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .16);
}

.acemi-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    border: 2px solid rgba(255,255,255,.9);
    border-radius: 50%;

    background: rgba(106,48,46,.93);
    color: #fff !important;

    transform: translate(-50%, -50%);
    transition: all .2s ease;
}

.acemi-video-play:hover {
    background: #6A302E;
    transform: translate(-50%, -50%) scale(1.06);
}

.acemi-video-play i {
    margin-left: -2px;
    font-size: 18px;
}

.acemi-main-video-title {
    position: absolute;
    right: 18px;
    bottom: 17px;
    z-index: 4;

    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 1px 5px rgba(0,0,0,.65);
}


/* Counters
========================================== */

.acemi-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);

    margin: 0 0 80px;

    overflow: hidden;

    border: 1px solid #ededed;
    border-radius: 8px;

    background: #fff;

    box-shadow: 0 3px 15px rgba(0,0,0,.035);
}

.acemi-stat-item {
    position: relative;

    min-height: 140px;
    padding: 17px 12px 20px;

    text-align: center;
}

.acemi-stat-item:not(:last-child) {
    border-left: 1px solid #eee;
}

.acemi-stat-item::after {
    content: "";

    position: absolute;
    right: 18%;
    bottom: 0;

    width: 64%;
    height: 3px;

    border-radius: 5px 5px 0 0;
    background: #6A302E;
}

.acemi-stat-icon {
    margin-bottom: 8px;
    color: #6A302E;
    font-size: 23px;
}

.acemi-stat-title {
    margin-bottom: 5px;
    color: #393d4a;
    font-size: 14px;
    font-weight: 600;
}

.acemi-stat-number {
    direction: rtl;
    color: #6A302E;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.5;
}

.acemi-stat-unit {
    margin-top: 2px;
    color: #888;
    font-size: 12px;
}

/* Sections
========================================== */
.acemi-section {
    margin-top: 80px;
}

.acemi-section-heading {
    margin-bottom: 28px;
    text-align: center;
}

.acemi-section-heading h2 {
    margin: 0 0 7px;
    color: #252525;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.7;
}

.acemi-section-heading p {
    margin: 0;
    color: #888;
    font-size: 15px;
    line-height: 1.9;
}


/* ==========================================
   Comment cards
========================================== */

.acemi-comments-section {
    margin-top: 90px;
}

.acemi-comment-card {
    position: relative;

    display: flex;
    flex-direction: column;

    height: calc(100% - 20px);
    min-height: 245px;

    margin-bottom: 20px;
    padding: 19px 21px 16px;

    border: 1px solid #ededed;
    border-radius: 6px;

    background: #fff;

    transition:
        box-shadow .2s ease,
        transform .2s ease;
}

.acemi-comment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 22px rgba(0,0,0,.045);
}


/* User
========================================== */

.acemi-comment-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    margin-bottom: 15px;
}

.acemi-comment-user {
    display: flex;
    align-items: center;
}

.acemi-comment-avatar {
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    margin-left: 10px;

    object-fit: cover;

    border: 1px solid #6A302E;
    border-radius: 50%;
}

.acemi-comment-user-info {
    padding-top: 2px;
}

.acemi-comment-user-name {
    display: block;
    margin: 0 0 3px;
    color: #292929;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}

.acemi-comment-user-label {
    display: block;
    color: #999;
    font-size: 13px;
    line-height: 1.5;
}


/* Quote
========================================== */

.acemi-comment-quote {
    height: 31px;

    color: #6A302E;

    font-family: Georgia, serif;
    font-size: 42px;
    line-height: 1;

    opacity: .9;
}


/* Comment body
========================================== */

.acemi-comment-body {
    flex: 1;
    padding-right: 52px;
}

.acemi-comment-body p {
    margin: 0;
    color: #5f5f5f;
    font-size: 15px;
    line-height: 2.05;
    text-align: justify;
}


/* Full comment button
========================================== */

.acemi-comment-more {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #6A302E !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.acemi-comment-more:hover {
    color: #6A302E;
    text-decoration: underline;
}

.acemi-comment-more i {
    margin-right: 4px;
    font-size: 14px;
}


/* Related course
========================================== */

.acemi-comment-related {
    margin-top: 11px;
    padding-top: 9px;
    border-top: 1px solid #f0f0f0;
    color: #6A302E;
    font-size: 14px;
    line-height: 1.8;
}

.acemi-comment-related a {
    color: #6A302E;
}

.acemi-comment-related a:hover {
    color: #6A302E;
    text-decoration: underline;
}

.acemi-comment-related i {
    margin-left: 5px;
}


/* Pagination
========================================== */

.acemi-comments-pagination {
    margin-top: 22px;
}


/* Modal
========================================== */

#commentMoreModal {
    direction: rtl;
}

#commentMoreModal .modal-header {
    align-items: center;
}

#commentMoreModal .modal-title {
    color: #393d4a;
    font-size: 15px;
    font-weight: 700;
}

#commentMoreModal .close {
    margin: -1rem auto -1rem -1rem;
}


/* Responsive
========================================== */

@media (max-width: 991px) {

    .acemi-stories-page {
        padding-top: 35px;
    }

    .acemi-hero-content {
        padding: 0 0 30px;
        text-align: center;
    }

    .acemi-hero-content p {
        margin-right: auto;
        margin-left: auto;
    }

    .acemi-hero-content h1 {
        font-size: 24px;
    }

    .acemi-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .acemi-stat-item {
        border-bottom: 1px solid #eee;
    }

}


@media (max-width: 767px) {

    .acemi-stories-page {
        padding: 25px 0 55px;
    }

    .acemi-hero-content h1 {
        font-size: 20px;
    }

    .acemi-hero-content p {
        font-size: 15px;
    }

    .acemi-main-video {
        height: 215px;
    }

    .acemi-stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 25px;
        margin-bottom: 65px;
    }

    .acemi-stat-item {
        min-height: 125px;
    }

    .acemi-stat-item:last-child {
        grid-column: span 2;
    }

    .acemi-section-heading h2 {
        font-size: 18px;
    }

    .acemi-comment-card {
        min-height: auto;
    }

    .acemi-comment-body {
        padding-right: 0;
    }

}

/* ==========================================
 Video Success Stories
========================================== */

.acemi-video-stories-section {
    margin-top: 85px;
}

.acemi-video-stories-grid .col-lg-4,
.acemi-video-stories-grid .col-md-6 {
    display: flex;
}

.acemi-video-story-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100% - 26px);
    margin-bottom: 26px;
    overflow: hidden;
    border: 1px solid #ededed;
    border-radius: 7px;
    background: #fff;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.acemi-video-story-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.055);
}


/* Video image */

.acemi-video-story-media {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #eee;
}

.acemi-video-story-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* subtle dark overlay */

.acemi-video-story-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.28), rgba(0,0,0,.02) 55%);
    pointer-events: none;
}


/* play */

.acemi-video-story-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border: 2px solid rgba(255,255,255,.94);
    border-radius: 50%;
    background: rgba(106,48,46,.92);
    color: #fff !important;

    transform: translate(-50%, -50%);
    transition: transform .2s ease, background .2s ease;
}

.acemi-video-story-play:hover {
    background: #6A302E;
    transform: translate(-50%, -50%) scale(1.08);
}

.acemi-video-story-play i {
    margin-left: -2px;
    font-size: 15px;
}


/* duration */
.acemi-video-story-duration {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 4;
    padding: 3px 6px;
    border-radius: 3px;
    background: rgba(0,0,0,.78);
    color: #fff;
    direction: ltr;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}


/* body */

.acemi-video-story-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 15px 17px 18px;
    text-align: center;
}

.acemi-video-story-name {
    margin: 0 0 3px;
    color: #292929;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
}

.acemi-video-story-position {
    display: block;
    margin-bottom: 14px;
    color: #949494;
    font-size: 13px;
    line-height: 1.7;
}

.acemi-video-story-description {
    margin: 0;
    color: #626262;
    font-size: 13px;
    line-height: 2;
    text-align: justify;
}


/* Show more */

.acemi-section-more {
    margin-top: 5px;
    text-align: center;
}

.acemi-section-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    padding: 7px 19px;
    border: 1px solid #6A302E;
    border-radius: 4px;
    background: #fff;
    color: #6A302E !important;
    font-size: 14px;
    line-height: 1.6;
    transition: background .2s ease, color .2s ease;
}

.acemi-section-more-btn:hover {
    background: #6A302E;
    color: #fff !important;
}

.acemi-section-more-btn i {
    margin-right: 6px;
    font-size: 9px;
}


/* Responsive */

@media (max-width: 991px) {
    .acemi-video-story-media {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .acemi-video-stories-section {
        margin-top: 65px;
    }
    .acemi-video-story-media {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .acemi-video-story-media {
        height: 195px;
    }
}
