/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra
Author: Your Name
Author URI: https://onlinecourses.com
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

.hfe-before-footer-wrap {
    display: none;
}

/*hoempage courses grid start*/
.custom-course-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:40px;
}

.course-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
    transition:0.3s;
}

.course-card:hover{
    transform:translateY(-5px);
}

.course-image{
    position:relative;
}

.course-image img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.featured-badge{
    position: absolute;
    top: 3px;
    left: 3px;
    background: #ffb800;
    color: #000;
    padding: 2px 14px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.course-content{
    padding:25px;
}

.course-category{
    display:inline-block;
    background:#eef3ff;
    color:#2563eb;
    padding:6px 14px;
    border-radius:30px;
    font-size:13px;
    margin-bottom:15px;
}

.course-title{
    font-size:30px;
    line-height:1.4;
    margin-bottom:15px;
    font-weight:700;
}

.course-desc{
    color:#666;
    margin-bottom:20px;
    line-height:1.7;
}

.course-meta{
    font-size:15px;
    color:#666;
    margin-bottom:25px;
}

.course-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px solid #eee;
    padding-top:20px;
}

.pricing-btn{
    color:#2563eb;
    text-decoration:none;
    font-weight:600;
}

.details-btn{
    color:#2563eb;
    text-decoration:none;
    font-weight:600;
}

@media(max-width:1024px){

    .custom-course-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:767px){

    .custom-course-grid{
        grid-template-columns:1fr;
    }

}
/*hoempage courses grid end*/


/*single page css start*/
.course-banner{
    background:#0f172a;
    padding:80px 0;
    color:#fff;
}

.course-grid{
    display:grid;
    grid-template-columns:1fr 450px;
    gap:40px;
    align-items:center;
}

.course-grid img{
    width:100%;
    border-radius:20px;
}

.single-course-meta{
    display:flex;
    gap:20px;
    margin:20px 0;
}

.btn{
    background:#2563eb;
    color:#fff;
    padding:14px 28px;
    border-radius:10px;
    text-decoration:none;
    display:inline-block;
}

.single-course-content{
    padding:60px 0;
}

.site-content .ast-container {
    display: unset;
    padding: 0px !important;
    margin: 0px !important;
}

.course-banner{
    background:#007991;
    padding:70px 0;
}

.course-container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.course-wrapper{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:50px;
    flex-wrap:wrap;
}

.course-left{
    flex:1;
    min-width:320px;
    color:#fff;
}

.badge-group{
    display:flex;
    gap:10px;
    margin-bottom:20px;
}

.badge{
    background:#fff;
    color:#1f2f97;
    padding:6px 14px;
    border-radius:30px;
    font-size:12px;
    font-weight:600;
}

.featured{
    background:#ffc107;
    color:#000;
}

.single-course-title{
    font-size:42px;
    line-height:1.3;
    font-weight:700;
    margin-bottom:20px;
    color: #fff;
}

.course-description{
    font-size:15px;
    line-height:1.8;
    color:#e4e4e4;
    margin-bottom:25px;
}

.single-course-meta{
    display:flex;
    gap:30px;
    font-size:14px;
}

.single-course-card{
    width:380px;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.single-course-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.card-content{
    padding:25px;
}

.course-price{
    color:#2453ff;
    font-size:20px;
    font-weight:600;
    margin-bottom:20px;
}

.course-features{
    list-style:none;
    padding:0;
    margin:0;
}

.course-features li{
    margin-bottom:12px;
    font-size:14px;
    color:#444;
}

.course-features li:before{
    content:"✔";
    color:#1dbb73;
    margin-right:10px;
}

.course-overview{
    padding:70px 0;
    background:#fff;
}

.course-tabs{
    display:flex;
    gap:30px;
    margin-bottom:40px;
    border-bottom:1px solid #ddd;
    padding-bottom:15px;
}

.course-tabs a{
    text-decoration:none;
    color:#666;
    font-weight:500;
}

.course-tabs a.active{
    color:#1f2f97;
    border-bottom:2px solid #1f2f97;
    padding-bottom:10px;
}

.overview-wrapper{
    display:flex;
    gap:50px;
    flex-wrap:wrap;
}

.learn-section{
    flex:2;
    min-width:300px;
}

.learn-section h2{
    margin-bottom:25px;
    font-size:30px;
}

.learn-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.learn-item{
    display:flex;
    gap:12px;
    font-size:14px;
    line-height:1.8;
    color:#444;
}

.learn-item span{
    color:#1dbb73;
    font-size:18px;
}

.details-card{
    flex:1;
    min-width:280px;
    background:#f7f7f7;
    border-radius:16px;
    padding:30px;
    height:fit-content;
}

.details-card h3{
    margin-bottom:20px;
    font-size:24px;
}

.detail-item{
    margin-bottom:15px;
    font-size:15px;
    color:#444;
}

.detail-item strong{
    color:#111;
}

@media(max-width:768px){

    .single-course-title{
        font-size:30px;
    }

    .course-wrapper{
        flex-direction:column;
    }

    .single-course-card{
        width:100%;
    }

}
.course-syllables {
    margin-top: 20px;
}
h4.course-syllables-title {
    margin-top: 24px;
}
/*single page css end*/

.ast-builder-button-wrap.ast-builder-button-size- {
    display: none;
}