
@import url('color.css');
@import url('fonts.css');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "vazir";
   
}

header{

  
    height: auto!important;
    padding-bottom: 1.5rem;
   
}
#bg-video {
   display: none;
  
}
.show_post{
           
    margin-top: -80px;
}
.image_post {
    position: sticky;
    padding: 0px;
    top: 85px; /* مقدار فاصله از بالای صفحه */
    align-self: flex-start; /* جلوگیری از تغییر ارتفاع هنگام اسکرول */
}
.show_post .image_post img {
    
    width: 100%;
    height: 410px;
    margin-bottom: 1rem;
    border-radius: 1rem;
    box-shadow: 0px 4px 6px #00000049;
}
.show_post .image_post .subject{
    background-color: var(--light_blue);
    padding: 0.3rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 0.85rem;
    color: #fff;
    position: absolute;
    top: 15px;
    border-radius: 0.35rem;
    text-decoration: none;
    right: 25px;

}
.show_post .image_post button{
    width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.7rem;
    border-radius: 0.7rem;
    border: none;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0px 4px 6px #00000049;
    margin-bottom: 1.5rem;
    background-color: var(--light_blue);
    transition:  all 0.7s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.show_post .image_post button .icon_sign{
    color: #fff;
    font-size: 1.1rem;
    margin-left: 0.5rem;
  
}
.show_post .image_post button:hover{
    background-color: var( --special_blue);
}


/* ============== */
.explain_box{
    padding-right: 2rem;
    

}
.more_info{
    display: flex;
    justify-content: start;
}
.content_post{
    padding: 2rem;
    border-radius: 1rem;
    background-color: rgba(65, 105, 225, 0.068)!important;
}
.content_post h4{
    font-size: 1.4rem;
    color: var( --titer);
    margin-bottom: 1.5rem;
    transition: all 0.5s;

}
.content_post h4:hover{
    color: var(--light_gray)
}
.more_details{
    display: flex;
    justify-content: start;
    align-items: center;
    margin-bottom: 0.5rem;
    margin-left: 2rem;
   
}
.more_details label{
    font-size: 0.95rem;
    margin-right: 0.5rem;
    color: var(--dark_gray);
}
.more_details label a{
    color: var(--dark_gray);
    text-decoration: none;
    transition: all 0.5s;
}
.more_details label a:hover{
    opacity: 60%;
}

.more_details .icon{
    font-size: 1rem;
    color: var( --blue_one);
}
.teacher_writer .icon_source{
    font-size: 0.95rem;
    color: var(--dark_gray);
}
.teacher_writer{
    display: flex;
    justify-content: start;
    align-items: center; 
    margin-bottom: 1rem;
}
.teacher_writer label{
    font-size: 0.93rem;
    margin-right: 0.5rem;
    color: var(--dark_gray)
}
.content_post h5{
    color: var(--blue_one);
    font-size: 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}
.content_post p{
    font-weight: 300!important;
    font-size: 0.95rem;
    font-family: 'vazir';
    margin-bottom: 2.5rem;
    color: var(--light_gray);
    line-height: 1.8;
  

}
.content_post p img{
    width: 100%;
    height: 500px;
    margin: 0 auto;
    margin-top: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}
.content_post .short_explain{
    background-color: #fff;
    padding: 0.75rem;
    border-radius: 0.75rem;
}

.video_introduction{
border-radius: 1.5rem;
margin-top:0.7rem; 
margin-bottom: 1rem;
}
  






/* ===============side_============== */
.sidebar_left{

    padding: 0px!important;
    position: sticky;   
    top: 85px; /* مقدار فاصله از بالای صفحه */
    align-self: flex-start; /* جلوگیری از تغییر ارتفاع هنگام اسکرول */
    }
    
    
    
    
    .writer_post_box{
    border-radius: 1rem;
    padding: 1rem;
    background-color: rgba(65, 105, 225, 0.068)!important;
    margin-bottom: 1rem;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1); /* سایه باکس */
    
    }
    .writer_post_box img{
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    
    }
    .writer_post_box h4{
    font-size: 1.1rem;
    color: var(--dark_gray);
    margin: 0 auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
    }
    .writer_post_box button{
    background-color: var(--light_blue);
    color:#fff; 
    border:none;
    border-radius: 0.5rem;
    width: 100%;
    padding: 0.35rem;
    transition: all 1s;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1); /* سایه باکس */
    }
    .writer_post_box button a{
    text-decoration: none;
    color: #fff;
    font-size: 1.05rem;
    }
    .writer_post_box button:hover{
    background-color: var(--special_blue);
    
    }
    .last_post {
    background-color: rgba(65, 105, 225, 0.068)!important;
    list-style: none;
    padding: 0.7rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1); /* سایه باکس */
    
    }
    .titel_sidebar{
    display: flex;
    justify-content: start;
    align-items: center;
    margin-bottom: 1rem;
    }
    .last_post .line{
    width: 4px;
    height: 25px;
    border-radius: 0.5rem;
    background-color: var(--light_blue);
    margin-left: 0.75rem;
    }
    .last_post h3{
    color:#000;
    font-size: 1.05rem;
    margin-top: 0.35rem;
    
    
    }
    
    .last_post  li a{
    display: flex;
    justify-content: start;
    margin-bottom: 1rem;
    align-items: center;
    text-decoration: none;
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 0.5rem;
    
    
    
    }
    .last_post  li a img{
    width: 130px;
    height: 85px;
    border-radius: 0.5rem;
    margin-left: 0.5rem;
    }
    .last_post  li a h4{
    font-size: 0.95rem;
    font-weight: 300px!important;
    color: var(--dark_gray);
    }
    .last_post button{
    background-color: var(--light_blue);
    width: 100%;
    padding: 0.5rem;
    transition: all 1s;
    color: #fff;
    border:none;
    border-radius: 0.5rem;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1); /* سایه باکس */
    } 
    .last_post button a{
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    
    
    }
    .last_post button:hover{
    background-color: var(--special_blue);
    }
    
    

    @media screen and (max-width: 1400px) {
        
        .show_post .image_post img {
    
            width: 100%;
            height: 330px;
            margin-bottom: 1rem;
            border-radius: 0.7rem;
            box-shadow: 0px 4px 6px #00000049;
        }


 
        .show_post .image_post button{
          
            padding-top: 0.3rem;
            padding-bottom: 0.5rem;
            border-radius: 0.5rem;
            font-size: 0.95rem;
      
        }

        .show_post .image_post .subject{
            background-color: var(--light_blue);
            padding: 0.25rem;
            padding-left: 0.25rem;
            padding-right: 0.25rem;
            font-size: 0.75rem!important;
       
        
        }


     
        .info_user label{
            font-size: 0.9rem;
            color: var(--dark_gray);
        }

        
        .info_user .labels a:hover{
            opacity: 70%
        }


        .content_post h4{
            font-size: 1.2em;
        }

        p img{
            width: 100%;
            height: 450px!important;
           
        }

        .more_details label{
            font-size: 0.9rem;
        }

        .more_details .icon{
            font-size: 0.9rem;
        }
    }

    
    @media screen and (max-width: 1200px) {
        .show_post .image_post img {
            height: 280px;
        }
        .content_post h4{
            font-size: 1.1em;
        }

        .info_user label{
            font-size: 0.85rem;
            color: var(--dark_gray);
        }

        
        .info_user .labels a:hover{
            opacity: 70%
        }

        
        .teacher_writer .icon_source{
            font-size: 0.9rem;
            color: var(--dark_gray);
        }

        .teacher_writer label{
            font-size: 0.9rem;
        }
        .content_post p{
            font-weight: 300!important;
            font-size: 0.86rem;
          
          
        }
        p img{
            width: 100%;
            height: 350px!important;
           
        }
        .video_introduction{
            border-radius: 1rem;
            margin-top:1rem; 
         
            }
              
    }



    @media screen and (max-width: 992px) {
        .content_post h4{
            font-size: 1em;
        }
        .more_info{
            display: flex;
            flex-wrap: wrap;
            justify-content: start;
        }

        p img{
            width: 100%;
            height: 250px!important;
           
        }
    
    }

    @media screen and (max-width: 768px) {
        .image_post {
            position: relative;
            padding: 0px;
            top: -50px; /* مقدار فاصله از بالای صفحه */
           
        }
        .show_post .image_post img {
    
            width: 40%;
            height: 330px;
            display: flex;
          
            margin: 0 auto!important;
            margin-bottom: 1rem!important;
            border-radius: 0.7rem;
            box-shadow: 0px 4px 6px #00000049;
        }
        .show_post .image_post .subject{
            display: none;
        }
         
        .show_post .image_post button{
          
           
            width: 40%;
            display: flex;
            margin: 0 auto!important;
        }
        p img{
            width: 100%;
            height: 360px!important;
           
        }

    }
    @media screen and (max-width: 668px) {
        .show_post .image_post img {
    
            width: 50%;
            height: 360px;
            display: flex;
        
        }

                 
        .show_post .image_post button{
          
           
            width: 50%;
           
        }

        p img{
            width: 100%;
            height: 310px!important;
           
        }
    }

    @media screen and (max-width: 580px) {
        .show_post .image_post img {
    
            width: 60%;
            height: 360px;
            display: flex;
        
        }

                 
        .show_post .image_post button{
          
           
            width: 60%;
           
        }

        p img{
            width: 100%;
            height: 260px!important;
            border-radius: 0.4rem!important;
           
        }
        .video_introduction{
           
            border-radius: 0.4rem!important;
        }
    }

    @media screen and (max-width: 468px) {
        .show_post .image_post img {
    
            width: 60%;
            height: 340px;
            display: flex;
        
        }

                 
        .show_post .image_post button{
          
           
            width: 60%;
           
        }
        p img{
            width: 100%;
            height: 240px!important;
           
        }
    }


    @media screen and (max-width: 440px) {
        .show_post .image_post img {
    
            width: 75%;
            height: 340px;
            display: flex;
        
        }

                 
        .show_post .image_post button{
          
           
            width: 75%;
           
        }

        p img{
            width: 100%;
            height: 200px!important;
           
        }
    }


    
    @media screen and (max-width: 400px) {
        p img{
            width: 100%;
            height: 180px!important;
           
        }
    }