.teacher-page .section-head,
.teacher-page .section-title-wrap{
    margin-bottom: 40px;
}
.about-video-wrap .section-title-wrap{
    margin-top: 32px;
}
.about-video-wrap{
    margin-bottom: 120px;
}
.about-video-wrap .text{
    padding-left: 33px;
}
.video-about-box {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 100%;
}

.video-about-box:before {
    content: " ";
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: var(--secondary_color);
    transform: rotate(5deg);
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
}

.video-about-box > img {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 24px;
    z-index: 2;
    filter: brightness(0.9);
}

.video-about-box > .play-video2 svg path:last-child {
    fill: var(--primary_color);
}

.video-about-box > .play-video2 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}


.skill-title{
    display: block;
    position: relative;
    padding-right: 34px;
    color: var(--primary_color);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 40px;
}
.skill-title:before{
    content: " ";
    width: 16px;
    height: 1px;
    background: var(--primary_color);
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.skill-title:after{
    content: " ";
    width: 10px;
    height: 10px;
    background: var(--secondary_color);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.about-video-wrap .entry-content{
    margin-bottom: 40px;
    color: var(--dark_gray_color);
}
.skills{
    padding: 0;
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px 0;
}
.skills li{
    width: 50%;
    padding-right: 22px;
    position: relative;
    font-size: 14px;
    font-weight: 400;
    color: var(--dark_gray_color);
    line-height: 1;
}
.skills li:before{
    content: " ";
    width: 10px;
    height: 10px;
    background: var(--secondary_color);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.socials{
    margin-bottom: 55px;
}
.socials .img-wrap{
    padding-right: 128px;
    position: relative;
}
.socials .teacher-img{
    border-radius: 24px;
    width: 100%;
    height: auto;
}
.social-items{
    display: flex;
    flex-direction: column;
}
.social-item{
    width: 100%;
    height: 70px;
    margin-bottom: 16px;
    background: #ffffff;
    padding: 11px;
    border-radius: 100px;
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.social-item span{
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    color: var(--text_color);
    padding-left: 29px;
}
.social-item span em{
    font-style: normal;
    color: var(--secondary_color);
}
.social-item i{
    font-size: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    color: var(--color);
    background: color-mix(in srgb, var(--color) 5%, transparent);
}
.social-pinned{
    background: var(--secondary_color);
    padding: 10px;
    border-radius: 16px;
    position: absolute;
    right: auto;
    bottom: 20px;
    margin-right: 20px;
}
.social-pinned a{
    display: flex;
    align-items: center;
    gap: 15px;
}
.social-pinned i{
    color: var(--color);
    background: #ffffff;
    font-size: 32px;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-pinned div{
    height: 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: end;
}
.social-pinned div b{
    color: var(--bg_color);
    font-size: 17px;
    font-weight: bold;
    line-height: 1;
}
.social-pinned div span{
    color: var(--bg_color);
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
}

.resume-link{
    margin-bottom: 120px;
}
.resume-link .dot-line{
    width: calc(50% - 120px);
}







.products.columns-4 li{ --columns: 4; }
.products.columns-5 li{ --columns: 5; }
.products{
    padding: 0;
    --bs-gutter-x: 20px;
    --bs-gutter-y: 0;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-left: calc(-.5 * var(--bs-gutter-x));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    display: flex;
    flex-wrap: wrap;
    /*display: grid;*/
    /*grid-template-columns: repeat(var(--columns, 4), 1fr);*/
}
.products li{
    padding: calc(.5 * var(--bs-gutter-x));
    width: calc(100% / var(--columns, 4));
}
.products.list li{
    width: 50%;
}
.shop-product-box{
    background: #ffffff;
    border-radius: 24px;
    padding: 16px;
}
.shop-product-box .img{
    height: 170px;
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 16px;
}
.shop-product-box .shop-product-box-title{
    bottom: 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    height: 51px;
    color: var(--primary_color);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-product-box .product-meta{
    margin: 0;
    padding: 24px 0 0;
    border-bottom: 0;
    border-top: 1px solid color-mix(in srgb, var(--dark_gray_color) 20%, transparent);
}
.shop-product-box .product-meta:after,
.shop-product-box .product-meta:before{
    bottom: unset;
    top: -3px;
}
.shop-product-box .product-meta ul{
    gap: 12px;
}
.shop-product-box .product-meta ul li{
    height: 58px;
    min-width: 58px;
}
.shop-product-box .shop-product-box-foot .btn{
    justify-content: space-between;
}
.shop-product-box .shop-product-box-foot .product-box-price{
    display: none;
}
.shop-product-box .shop-product-box-foot{
    height: 0;
    visibility: hidden;
    opacity: 0;
    background: rgb(255, 255, 255);
    border-radius: 0 0 24px 24px;
    border-top: 0;
    transition: 0.3s;
}
.shop-product-box:hover .shop-product-box-foot{
    padding: 24px 0 0;
    height: auto;
    visibility: visible;
    opacity: 1;
}
.shop-product-box-timer{
    height: 36px;
    margin-bottom: 16px;
}
.courses-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    direction: ltr;
}

.courses-timer > div {
    position: relative;
    width: 36px;
    height: 36px;
    background: var(--gray_color);
    border-radius: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.courses-timer > div:after {
    content: ":";
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    color: var(--dark_gray_color);
    width: 6px;
    height: 18px;
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
}

.courses-timer > div.day:after {
    display: none;
}

.courses-timer span {
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    contain: var(--text_color);
}

.courses-timer em {
    font-style: normal;
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
    contain: var(--dark_gray_color);
}



.entry-content,
.entry-content p{
    font-size: 16px;
    line-height: 30px;
    color: var(--dark_gray_color);
    margin-bottom: 32px;
    text-align: justify;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 24px;
    color: var(--primary_color);
}

.entry-content ul li{
    list-style: disc;
}
.entry-content ol li{
    list-style: decimal;
}
.entry-content li::marker{
    color: var(--secondary_color);
}
.entry-content img{
    width: auto;
    height: auto;
    max-width: 100%;
    border-radius: 24px;
}
.entry-content .wp-block-image,
.entry-content .wp-block-list{
    margin-bottom: 32px;
}
.entry-content .wp-block-quote-is-layout-flow{
    font-family: 'peyda' !important;
}



.show-more {
    position: relative;
}
.show-more.collapsed:before{
    content: " ";
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg_color) 85%);
    position: absolute;
    bottom: 70px;
    left: 0;
}
.show-more .entry-content {
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.show-more.collapsed .entry-content {
    max-height: 180px;
}
.btn.show-more-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 10px auto;
    text-align: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    color: var(--primary_color);
    border: 0;
}
.show-more-btn i {
    transition: transform 0.3s ease;
}
.show-more.expanded .show-more-btn i {
    transform: rotate(180deg);
}
.instructor-desc{
    margin-bottom: 120px;
}
.students-opinion{
    position: relative;
}
.students-opinion .section-head.section-head-center .section-title-wrap{
    margin-bottom: 0;
}
.students-opinion-wrapper{
    position: relative;
    margin: 0 40px;
}
.students-opinion-list{
    margin: 0 auto;
    width: calc(100% - 110px);
    max-width: 866px;
}
.backdrop{
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 20px 30px 0 rgba(0,0,0,0.05);
    width: calc(100% - 44px);
    height: 55%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.backdrop-inner{
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 20px 30px 0 rgba(0,0,0,0.05);
    width: 100%;
    height: 48%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.student-opinion{
    position: relative;
    padding: 60px 56px;
}

.student-opinion .student-inner-warp{
    background: #ffffff;
    padding: 60px 60px;
    border-radius: 32px;
    box-shadow: 0 20px 30px 0 rgba(0,0,0,0.05);
}


.student-opinion .student-name{
    display: block;
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    color: var(--primary_color);
    margin-bottom: 30px;
}
.students-opinion-list .student-opinion .student-img{
    display: block;
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 16px;
    position: absolute;
    top: 0;
    right: 120px;
}
.student-opinion .student-name em{
    font-style: normal;
    color: var(--secondary_color);
}
.student-opinion .student-text{
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    color: var(--dark_gray_color);
    line-height: 28px;
}

.students-opinion-list .student-opinion button{
    display: block;
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
}
.student-opinion button svg circle,
.student-opinion button svg path:nth-child(1),
.student-opinion button svg path:nth-child(2){
    fill: var(--secondary_color);
}
.students-opinion-wrapper .section-head-btns-wrap .swiper-button-prev{
    right: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.students-opinion-wrapper .section-head-btns-wrap .swiper-button-next{
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.voice-wrapper audio{
    width: 100%;
}

@media (max-width: 1399px) {
    .products.columns-4 li{ --columns: 3; }
}
@media (max-width: 1199px) {
    .products.columns-4 li{ --columns: 3; }
    .about-video-wrap .video{
        padding-top: 32px;
    }
    .about-video-wrap .text{
        padding: 33px 0 0;
    }
    .about-video-wrap,
    .resume-link,
    .instructor-desc,
    .socials{
        margin-bottom: 85px;
    }
}
@media (max-width: 991px) {
    .products.columns-4 li{ --columns: 2; }
    .teacher-page .section-head, .teacher-page .section-title-wrap{

    }
    .socials .d-flex{
        flex-direction: column-reverse;
    }
    .socials .img-wrap{
        padding: 0;
        margin: 0 0 32px;
    }
    .about-video-wrap,
    .resume-link,
    .instructor-desc,
    .socials{
        margin-bottom: 50px;
    }
    .students-opinion-wrapper{
        margin: 0;
    }
    .student-opinion .student-inner-warp{
        padding: 85px 30px 50px;
    }
    .student-opinion .student-name{
        margin-bottom: 16px;
    }
    .students-opinion-list .student-opinion .student-img{
        right: 50%;
        transform: translateX(50%);
    }
}
@media (max-width: 767px) {
    .products.columns-4 li{ --columns: 2; }
}
@media (max-width: 575px) {
    .products.columns-4 li{ --columns: 1; }
    .skills li{
        width: 100%;
    }
    .backdrop,.backdrop-inner{
        display: none;
    }
    .students-opinion-list{
        width: 100%;
        margin-top: 20px;
    }
    .students-opinion-wrapper .section-head-btns-wrap .swiper-button-next,
    .students-opinion-wrapper .section-head-btns-wrap .swiper-button-prev{
        position: relative;
        left: unset;
        right: unset;
        top: 0;
        transform: none;
    }
    .student-opinion{
        padding: 60px 0;
    }
}

