/*==================================================
 SINGLE COURSE RESPONSIVE CSS
 TABLET + MOBILE
==================================================*/


/*==================================================
 TABLET
 992px AND BELOW
==================================================*/

@media (max-width:992px){

    /*----------------------------------------------
      HERO
    ----------------------------------------------*/

    .course-hero{
        padding:40px 0 25px;
    }

    .course-hero-container{
        width:100%;
        max-width:900px;
        margin:0 auto;
        padding:0 20px;
        box-sizing:border-box;

        grid-template-columns:1fr;
        gap:30px;
    }

    .course-hero-content{
        width:100%;
        text-align:center;
    }

    .course-hero-content h1{
        font-size:32px;
        line-height:1.25;
    }

    .course-hero-content p{
        font-size:14px;
        line-height:1.8;
    }

    .course-hero-rating{
        justify-content:center;
        flex-wrap:wrap;
        font-size:15px;
    }

    .course-hero-experience{
        justify-content:center;
        max-width:100%;
        box-sizing:border-box;
    }


    /*----------------------------------------------
      HERO BUTTONS
    ----------------------------------------------*/

    .course-hero-btn{
        padding:14px 28px;
        font-size:14px;
    }

    .course-module-btn{
        padding:14px 5px;
        font-size:14px;
    }


    /*----------------------------------------------
      HERO IMAGE
    ----------------------------------------------*/

    .course-hero-image{
        width:100%;
        min-height:auto;
    }

    .course-hero-image img{
        display:block;
        width:auto;
        max-width:100%;
        max-height:460px;
        margin:0 auto;
    }


    /*----------------------------------------------
      ABOUT COURSE
    ----------------------------------------------*/

    .course-about{
        padding:30px 0 60px;
    }

    .course-about-container{
        width:100%;
        max-width:900px;
        margin:0 auto;
        padding:0 20px;
        box-sizing:border-box;

        grid-template-columns:1fr;
        gap:35px;
    }

    .course-about-content{
        width:100%;
        min-width:0;
    }

    .course-about-content h2{
        font-size:25px;
        line-height:1.3;
    }

    .course-about-content p{
        font-size:14px;
        line-height:1.85;
    }

    .course-about-content li{
        font-size:14px;
        line-height:1.75;
    }


/*----------------------------------------------
  QUICK INFORMATION
----------------------------------------------*/

.course-meta{
    position:relative;
    top:auto;

    width:100%;
    box-sizing:border-box;

    padding:30px;

    box-shadow:0 8px 20px rgba(0,33,71,.08);
}

.course-meta h3{
    font-size:21px;
}

.course-meta p{
    font-size:14px;
}

    /*----------------------------------------------
      FACULTY
    ----------------------------------------------*/

    .course-faculty-section{
        padding:50px 0 65px;
    }

    .course-faculty-container{
        width:100%;
        max-width:900px;
        margin:0 auto;
        padding:0 20px;
        box-sizing:border-box;
    }

    .course-faculty-heading{
        max-width:700px;
        margin:0 auto 35px;
    }

    .course-faculty-heading h2{
        font-size:27px;
    }

    .course-faculty-heading p{
        font-size:14px;
    }

    .course-faculty-card{
        width:100%;
        max-width:800px;
        margin:0 auto;

        grid-template-columns:320px minmax(0,1fr);
        gap:30px;

        align-items:center;
    }

    .course-faculty-image{
        width:320px;
        height:320px;
    }

    .course-faculty-content{
        min-width:0;
    }

    .course-faculty-content h3{
        font-size:23px;
    }

    .course-faculty-content p{
        font-size:14px;
        line-height:1.8;
    }

}


/*==================================================
 MOBILE
 768px AND BELOW
==================================================*/

@media (max-width:768px){

    /*----------------------------------------------
      HERO
    ----------------------------------------------*/

    .course-hero{
        padding:35px 0 20px;
    }

    .course-hero-container{
        width:100%;
        max-width:100%;
        margin:0 auto;
        padding:0 18px;
        box-sizing:border-box;

        display:grid;
        grid-template-columns:1fr;
        gap:25px;
    }

    .course-hero-content{
        width:100%;
        min-width:0;
        text-align:center;
    }

    .course-hero-content h1{
        font-size:29px;
        line-height:1.3;
        margin-bottom:18px;

        overflow-wrap:break-word;
        word-wrap:break-word;
    }

    .course-hero-content p{
        width:100%;
        font-size:14px;
        line-height:1.8;
        margin-bottom:22px;

        overflow-wrap:break-word;
        word-wrap:break-word;
    }


    /*----------------------------------------------
      RATING
    ----------------------------------------------*/

    .course-hero-rating{
        width:100%;

        justify-content:center;
        flex-wrap:wrap;

        gap:8px;
        margin-bottom:15px;

        font-size:14px;
        line-height:1.5;
    }


    /*----------------------------------------------
      EXPERIENCE
    ----------------------------------------------*/

    .course-hero-experience{
        width:auto;
        max-width:100%;

        box-sizing:border-box;

        justify-content:center;
        text-align:center;

        padding:10px 16px;
        margin-bottom:22px;

        font-size:14px;
        line-height:1.5;

        overflow-wrap:break-word;
    }


    /*----------------------------------------------
      BUTTON AREA
    ----------------------------------------------*/

    .course-hero-btn{
        display:inline-flex;

        width:auto;
        max-width:100%;
        box-sizing:border-box;

        padding:13px 24px;

        font-size:14px;
        line-height:1.4;

        white-space:normal;
    }

    .course-module-btn{
        display:inline-flex;

        width:auto;
        max-width:100%;
        box-sizing:border-box;

        margin-left:0;
        margin-top:10px;

        padding:11px 5px;

        font-size:14px;
        line-height:1.4;

        white-space:normal;
    }


    /*----------------------------------------------
      HERO IMAGE
    ----------------------------------------------*/

    .course-hero-image{
        width:100%;
        min-height:auto;

        display:flex;
        justify-content:center;
        align-items:center;

        overflow:hidden;
    }

    .course-hero-image img{
        display:block;

        width:auto;
        max-width:100%;
        height:auto;
        max-height:400px;

        margin:0 auto;
    }


    /*----------------------------------------------
      ABOUT COURSE
    ----------------------------------------------*/

    .course-about{
        padding:30px 0 55px;
    }

    .course-about-container{
        width:100%;
        max-width:100%;
        margin:0 auto;

        padding:0 18px;
        box-sizing:border-box;

        display:grid;
        grid-template-columns:1fr;
        gap:30px;
    }

    .course-about-content{
        width:100%;
        min-width:0;
    }

    .course-about-content h2{
        font-size:24px;
        line-height:1.3;
        margin-bottom:18px;

        overflow-wrap:break-word;
    }

    .course-about-content p{
        width:100%;

        font-size:14px;
        line-height:1.85;
        margin-bottom:18px;

        overflow-wrap:break-word;
        word-wrap:break-word;
    }


    /*----------------------------------------------
      ABOUT LIST
    ----------------------------------------------*/

    .course-about-content ul{
        margin:20px 0;
        padding-left:20px;

        box-sizing:border-box;
    }

    .course-about-content li{
        font-size:14px;
        line-height:1.75;
        margin-bottom:9px;

        overflow-wrap:break-word;
        word-wrap:break-word;
    }


    /*----------------------------------------------
      ABOUT INTERNAL LINKS
    ----------------------------------------------*/

    .course-about-content a{
        overflow-wrap:break-word;
        word-wrap:break-word;
        text-decoration:underline;
        text-underline-offset:3px;
    }


    /*----------------------------------------------
      QUICK INFORMATION
    ----------------------------------------------*/

    .course-meta{
        width:100%;
        max-width:100%;

        position:relative;
        top:auto;

        padding:25px;
        box-sizing:border-box;

        border-radius:15px;
    }

    .course-meta h3{
        font-size:21px;
        line-height:1.3;
    }

    .course-meta p{
        width:100%;

        font-size:14px;
        line-height:1.6;

        padding:13px 0;

        gap:15px;
    }

    .course-meta strong{
        flex-shrink:0;
    }


    /*----------------------------------------------
      FACULTY SECTION
    ----------------------------------------------*/

    .course-faculty-section{
        padding:45px 0 55px;
    }

    .course-faculty-container{
        width:100%;
        max-width:100%;
        margin:0 auto;

        padding:0 18px;
        box-sizing:border-box;
    }

    .course-faculty-heading{
        width:100%;
        max-width:650px;

        margin:0 auto 28px;
        text-align:center;
    }

    .course-faculty-heading span{
        font-size:11px;
    }

    .course-faculty-heading h2{
        font-size:25px;
        line-height:1.3;
        margin-bottom:10px;
    }

    .course-faculty-heading p{
        font-size:14px;
        line-height:1.7;
    }


    /*----------------------------------------------
      FACULTY CARD
    ----------------------------------------------*/

    .course-faculty-card{
        width:100%;
        max-width:600px;

        margin:0 auto;

        display:flex;
        flex-direction:column;

        gap:24px;
        align-items:center;
    }


    /*----------------------------------------------
      FACULTY CONTENT
    ----------------------------------------------*/

    .course-faculty-content{
        width:100%;
        max-width:600px;

        padding:0;
        margin:0;

        text-align:center;

        order:2;
    }

    .course-faculty-content h3{
        font-size:22px;
        line-height:1.3;
        margin-bottom:6px;

        overflow-wrap:break-word;
    }

    .course-faculty-designation{
        font-size:13px;
        line-height:1.5;
        margin-bottom:12px;
    }

    .course-faculty-content p{
        width:100%;
        max-width:550px;

        margin:0 auto;

        font-size:14px;
        line-height:1.8;

        overflow-wrap:break-word;
        word-wrap:break-word;
    }


    /*----------------------------------------------
      FACULTY IMAGE
    ----------------------------------------------*/

    .course-faculty-image{
        width:100%;
        max-width:360px;
        height:360px;

        margin:0 auto;

        order:2;

        border-radius:14px;
    }

}


/*==================================================
 SMALL MOBILE
 480px AND BELOW
==================================================*/

@media (max-width:480px){

    /*----------------------------------------------
      HERO
    ----------------------------------------------*/

    .course-hero{
        padding:28px 0 15px;
    }

    .course-hero-container{
        padding:0 15px;
        gap:22px;
    }

    .course-hero-content h1{
        font-size:26px;
        line-height:1.3;
        margin-bottom:16px;
    }

    .course-hero-content p{
        font-size:13px;
        line-height:1.8;
        margin-bottom:20px;
    }


    /*----------------------------------------------
      RATING
    ----------------------------------------------*/

    .course-hero-rating{
        font-size:13px;
        gap:7px;
    }


    /*----------------------------------------------
      EXPERIENCE
    ----------------------------------------------*/

    .course-hero-experience{
        width:100%;
        max-width:100%;

        padding:10px 13px;

        font-size:13px;
    }


    /*----------------------------------------------
      BUTTONS
    ----------------------------------------------*/

    .course-hero-btn{
        width:100%;
        max-width:300px;

        padding:12px 20px;

        font-size:13px;
    }

    .course-module-btn{
        width:100%;
        max-width:300px;

        margin-left:0;
        margin-top:9px;

        padding:10px 5px;

        font-size:13px;
    }


    /*----------------------------------------------
      HERO IMAGE
    ----------------------------------------------*/

    .course-hero-image img{
        max-width:100%;
        max-height:340px;
    }


    /*----------------------------------------------
      ABOUT
    ----------------------------------------------*/

    .course-about{
        padding:25px 0 10px;
    }

    .course-about-container{
        padding:0 15px;
        gap:28px;
    }

    .course-about-content h2{
        font-size:10px;
        line-height:1.3;
    }

    .course-about-content p{
        font-size:13px;
        line-height:1.8;
    }

    .course-about-content li{
        font-size:13px;
        line-height:1.75;
        margin-bottom:8px;
    }


    /*----------------------------------------------
      QUICK INFORMATION
    ----------------------------------------------*/

    .course-meta{
        padding:21px;
        border-radius:14px;
    }

    .course-meta h3{
        font-size:20px;
    }

    .course-meta p{
        font-size:13px;
        padding:12px 0;
    }


    /*----------------------------------------------
      FACULTY
    ----------------------------------------------*/

    .course-faculty-section{
        padding:40px 0 50px;
    }

    .course-faculty-container{
        padding:0 15px;
    }

    .course-faculty-heading{
        margin-bottom:24px;
    }

    .course-faculty-heading span{
        font-size:10px;
    }

    .course-faculty-heading h2{
        font-size:22px;
    }

    .course-faculty-heading p{
        font-size:13px;
        line-height:1.7;
    }


    /*----------------------------------------------
      FACULTY CARD
    ----------------------------------------------*/

    .course-faculty-card{
        gap:20px;
    }


    /*----------------------------------------------
      FACULTY CONTENT
    ----------------------------------------------*/

    .course-faculty-content h3{
        font-size:20px;
    }

    .course-faculty-designation{
        font-size:12px;
    }

    .course-faculty-content p{
        font-size:13px;
        line-height:1.8;
    }


    /*----------------------------------------------
      FACULTY IMAGE
    ----------------------------------------------*/

    .course-faculty-image{
        width:100%;
        max-width:320px;
        height:320px;

        border-radius:12px;
    }

}


/*==================================================
 EXTRA SMALL MOBILE
 360px AND BELOW
==================================================*/

@media (max-width:360px){

    .course-hero-container{
        padding:0 13px;
    }

    .course-hero-content h1{
        font-size:24px;
    }

    .course-hero-content p{
        font-size:12.5px;
    }

    .course-hero-rating{
        font-size:12px;
    }

    .course-hero-experience{
        font-size:12px;
        padding:9px 11px;
    }

    .course-hero-btn,
    .course-module-btn{
        max-width:280px;
        font-size:12px;
    }

    .course-hero-image img{
        max-height:300px;
    }


    .course-about-container{
        padding:0 13px;
    }

    .course-about-content h2{
        font-size:21px;
    }

    .course-about-content p,
    .course-about-content li{
        font-size:12.5px;
    }

    .course-meta{
        padding:18px;
    }

    .course-meta h3{
        font-size:19px;
    }

    .course-meta p{
        font-size:12.5px;
    }


    .course-faculty-container{
        padding:0 13px;
    }

    .course-faculty-heading h2{
        font-size:21px;
    }

    .course-faculty-heading p{
        font-size:12.5px;
    }

    .course-faculty-content h3{
        font-size:19px;
    }

    .course-faculty-content p{
        font-size:12.5px;
    }

    .course-faculty-image{
        max-width:290px;
        height:290px;
    }

}