/*

Theme Name: Educate (tutorials)

*/


/************default cskc-css start**************/

.post-content p {margin-bottom:16px;}
.video-section{
    max-width:1400px;
    margin:5px auto;
    padding:0 5px;
}

.video-section .swiper{
    max-width:1200px;
    margin:0 auto; /* Slider center */
	    border-bottom: 1px solid #000;
}

.swiper-wrapper{
    align-items:stretch;
}

.post-card{
    max-width:280px;
    margin:0 auto; /* Card center in slide */
}
.video-section{
    max-width:1400px;
    margin:5px auto;
    padding:0 5px;
}

.section-header{
    margin-bottom:5px;
	text-align: center;
}

.section-header h2{
    
	margin-top: 5px; 
    margin-bottom: 5px;
    font-weight:700;
}

.post-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    height:100%;
}

.post-card a{
    text-decoration:none;
    color:#222;
    display:block;
}

.post-card img{
    width:100%;
    height:180px;
    object-fit:cover;
    display:block;
}

.post-card h3{
    padding:15px;
    font-size:16px;
	word-break: break-word;
    line-height:1.5;
}

.swiper{
    padding-bottom:45px;
}

.swiper-button-next,
.swiper-button-prev{
    width:42px;
    height:42px;
    background:#fff;
    border-radius:50%;
    box-shadow:0 2px 10px rgba(0,0,0,.15);
}

.swiper-button-next:after,
.swiper-button-prev:after{
    font-size:18px;
    font-weight:bold;
}

.swiper-pagination{
    bottom:0 !important;
}



#videoModal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.9);
    z-index:99999;
}

.video-modal-content{
    width:90%;
    max-width:1000px;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
}

#videoFrame{
    width:100%;
    max-width:1000px;
    aspect-ratio:16 / 9;
    border:none;
    display:block;
    margin:auto;
}
#videoFrame.shorts-video{
    width:100%;
    max-width:400px;
    aspect-ratio:9 / 16;
}

.video-close{
    position:absolute;
    top:-45px;
    right:0;
    color:#fff;
    font-size:40px;
    cursor:pointer;
}

.video-prev,
.video-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:45px;
    height:45px;
    border:none;
    cursor:pointer;
    font-size:24px;
}

.video-prev{
    left:-30px;
}

.video-next{
    right:-30px;
}

.selected-title {
    text-align: center;
    margin-bottom: 8px;
}

.index-post-count {
    width: 26px;
    height: 26px;
    border: 1px solid #0073aa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;

    font-size: 16px;
    font-weight: 700;
    color: #0073aa;
    background: #fff;
}
.section-title {display:none;}
.topic-btn{
    display:inline-block;
    padding:6px 8px;
    margin:2px;
    background:#fff;
    color:#0073aa;
    text-decoration:none;
    border-radius:5px;
	font-size: 14px;
    border: 1px solid #0073aa;
}

.topic-btn:hover{
    background:#0073aa;
    color:#fff;
}

.topic-btn.active-btn{
    background: #0073aa;
    color: #fff;
}
.video-layout{

    width:100%;

}

.top-header{

    background:#fff;
    padding:15px;
    border-bottom:1px solid #ddd;
    position:sticky;
    top:0;
    z-index:999;

}
.parent-link,
.child-link,
.topic-link{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:10px;

    background:#fff;

    border:1px solid #ddd;

    margin-bottom:5px;

    text-decoration:none;

}

.menu-arrow{

    font-size:14px;

    transition:0.3s;

}

/*
========================================
ROTATE ARROW
========================================
*/

.parent-item.active
> .parent-link
.menu-arrow{

    transform:rotate(90deg);

}

.child-item.active
> .child-link
.menu-arrow{

    transform:rotate(90deg);

}
.subject-dropdown-wrap{

    position:relative;
    width:300px;

}

.subject-btn{

    width:100%;
    padding:12px;
    border:none;
    background:#0073aa;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;

}

.subject-dropdown{

    display:none;
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#fff;
    border:1px solid #ddd;
    z-index:9999;

}

.subject-item{

    padding:12px;
    cursor:pointer;
    border-bottom:1px solid #eee;

}

.subject-item:hover{

    background:#f5f5f5;

}

.main-wrapper{

    display:flex;
    min-height:100vh;

}

.sidebar{

    width:320px;
    background:#fafafa;
    border-right:1px solid #ddd;
    overflow:auto;
    padding:15px;

}

.content-area{

    flex:1;
    padding:20px;

}

.sidebar-menu{

    list-style:none;
    padding-left:0;

}
.active-topic{

    background: #0073aa;!important;

    color:#fff !important;

}
.parent-link,
.child-link,
.topic-link{

    display:block;
    padding:10px;
    background:#fff;
    border:1px solid #ddd;
    margin-bottom:5px;
    text-decoration:none;

}

.child-list,
.subchild-list{

    display:none;
    padding-left:0px;

}

.content-card{

    background:#fff;
    border:1px solid #ddd;
    padding:20px;
    margin-bottom:20px;

}
@media (max-width: 767px) {
    .modal-ready p {
        font-size: 16px;
    }
}
.subject-title {
 margin-bottom: -25px;
    background: #e0e7ea;
    padding: 5px 18px;
    border-radius: 50px;
    display: table;
    margin-left: auto;
margin-right: auto;}