
@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;
}

/* ============== */
.explain_box{
    padding-right: 2rem;
   
    

}
.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)
}
.content_post img{
    width: 100%;
    height: 480px;
    border-radius: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    object-fit: fill;
}


.video_introduction{
    width: 100%;
    height: 500px;
    background-color: #000;
    border-radius: 1.5rem;
    margin-top:0.7rem; 
    margin-bottom: 1rem;
    object-fit: fill;
}

.video_introduction {
    width: 100%;
    height: 500px;
    background-color: #000;
    border-radius: 1.5rem;
    margin-top: 0.7rem;
    margin-bottom: 1rem;
    object-fit: contain!important;
    display: block;
}


.primary_image{
    width: 100%!important;
    height: 500px!important;
    }
.more_info{
    display: flex;
    justify-content: start;
    flex-wrap: wrap; /* اضافه کردن ویژگی فلکس وارپ */
}



.more_details{
    display: flex;
    justify-content: start;
    align-items: center;
    margin-bottom: 0.5rem;
    margin-left: 2rem;
   
}


.more_details a{
    color: var(--dark_gray);
    text-decoration: none;
    transition: all 0.5s;

}
.more_details a :hover{
    color: var(--light_blue);
}
.more_details label{
    font-size: 0.95rem;
    margin-right: 0.5rem;
    color: var(--dark_gray)
}
.more_details .icon{
    font-size: 1rem;
    color: var( --blue_one);
}
.teacher_writer .icon_source{
    font-size: 1.1rem;
    color: var(--dark_gray);
}
.item_main_info{
    display: flex;
    justify-content: start;
    align-items: center; 
    margin-bottom: 1rem;
}
.item_main_info label{
    font-size: 1.05rem;
    margin-right: 0.5rem;
    color: var(--dark_gray)
}

.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: 450px;
    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;
}


/* برچسب ها */

.label_post{
    display: flex;
    justify-content: start;
    flex-wrap: wrap;

}
.label_post a{
    background-color: var(--light_blue);
    padding: 0.2rem;
    padding-right: 0.35rem;
    padding-left: 0.35rem;
    border-radius: 0.5rem;
    color: #fff;
    margin-left: 0.7rem;
    font-size: 0.82rem;
    text-decoration: none;
    transform:  all 0.5s;
}
.label_post a:hover{
    opacity: 80%;
}


/* ===============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;
    transition: all 0.5s;
    border-radius: 0.5rem;
    
    
    
    }
     .last_post  li a:hover{
        opacity: 70%;
     }
    .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;
    line-height: 1.6;
    font-weight: 300px!important;
    color: var(--dark_gray);
    }
    
    .button_more{
    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); /* سایه باکس */
    } 
    .button_more a{
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    
    
    }
    .button_more:hover{
    background-color: var(--special_blue);
    }
    
    

    @media screen and (max-width: 1400px) {
        .primary_image{
            height: 400px!important;
        }
    }

    @media screen and (max-width: 1200px) {
        .primary_image{
            height: 350px!important;
        }
 
        .last_post  li a img{
            width: 110px;
       
            }
            .last_post  li a h4{
            font-size: 0.88rem;
            line-height: 1.6;
           
            }
            .content_post{
                padding: 2rem;
                margin-bottom: 2rem;
                margin-top: -50px!important;
            }
            .sidebar_left{
                margin-top: -100px!important;
                
            }
            .content_post h4{
                font-size: 1.2rem;
                
            
            }

            .more_details label{
                font-size: 0.9rem;
                margin-right: 0.5rem;
                color: var(--dark_gray)
            }
            .more_details .icon{
                font-size: 0.9rem;
                color: var( --blue_one);
            }
            .item_main_info label{
                font-size: 0.9rem;
              
            }


            .content_post p img{
                width: 100%;
                height: 360px;
               
            }

            
            .video_introduction{
                width: 100%;
                height: 360px;
                background-color: #000;
                border-radius: 1rem;
               
            }

                .writer_post_box img{
                  
                    width: 100px;
                    height: 100px;
                  
                
                }
                .writer_post_box h4{
                    font-size: 1rem;
                  
                }
        

                .writer_post_box button{
                    padding: 0.3rem;
                   
                    }
                    .writer_post_box button a{
                    
                    font-size: 0.95rem;
                }

                .button_more{
                     
                        padding: 0.3rem;
                       
                    } 
                    .button_more a{
                        
                        font-size: 0.95rem;
                    
                    
                    }

                    .content_post p img{
                        width: 100%;
                        height: 330px!important;
                        border-radius: 1rem;
                       
                    }
             
    }

    @media screen and (max-width: 992px) {
        .content_post{
           margin-bottom: 150px;
          
        }
        .sidebar_left{
   
            padding: 1rem!important;
        }
    }

    @media screen and (max-width: 668px) {
        .primary_image{
            height: 330px!important;
        }
 
      
        .last_post  li a h4{
            font-size: 0.88rem;
            line-height: 1.6;
           
        }
            .content_post{
                padding: 2rem;
                margin-bottom: 2rem;
                margin-top: -50px!important;
            }
            .sidebar_left{
                margin-top: -100px!important;
                
            }
            .content_post h4{
                font-size: 1rem;
                
            
            }

            .item_main_info label{
                font-size: 0.9rem;
              
            }

            .content_post p {
                font-size: 0.85rem;
            }
          

            .content_post p img{
                width: 100%;
                height: 300px;
               
            }

            
            .video_introduction{
                width: 100%;
                height: 300px;
                background-color: #000;
                border-radius: 0.5rem;
               
            }


                .writer_post_box img{
                  
                    width: 100px;
                    height: 100px;
                  
                  
                
                }
                .writer_post_box h4{
                    font-size: 1rem;
                  
                }
        

                .writer_post_box button{
                    padding: 0.3rem;
                   
                    }
                    .writer_post_box button a{
                    
                    font-size: 0.95rem;
                }

                .button_more{
                     
                        padding: 0.3rem;
                       
                    } 
                .button_more a{
                        
                        font-size: 0.95rem;
                    
                    
                }

                .more_details label{
                    font-size: 0.83rem;
                    margin-right: 0.5rem;
                    
                }
                .more_details .icon{
                    font-size: 0.88rem;
                    
                }
                .content_post{
                    margin-bottom: 150px;
                   
                 }
    }



    @media screen and (max-width: 620px) {
        .primary_image{
            height: 310px!important;
        }
                 
        .video_introduction{
            width: 100%;
            height: 310px;
           
           
        }

        .content_post p img{
            width: 100%;
            height: 310px!important;
            border-radius: 1rem;
           
        }
 


        
      
        
    }


    
    @media screen and (max-width: 568px) {
        .primary_image{
            height: 280px!important;
        }
                 
        .video_introduction{
            width: 100%;
            height: 280px;
        }

        .content_post p img{
            width: 100%;
            height: 280px!important;  
            border-radius: 0.5rem;
        }
 
        .content_post{
            padding: 1rem;
           
        }
 
      
        
    }


        
    @media screen and (max-width: 500px) {
        .primary_image{
            height: 250px!important;
            border-radius: 0.5rem!important;
        }
                 
        .video_introduction{
            width: 100%;
            height: 240px;
            border-radius: 0.5rem!important;
           
        }

        .content_post p img{
            width: 100%;
            height: 240px!important;  
            border-radius: 0.5rem;
        }
 
      
        
    }

    
        
    @media screen and (max-width: 480px) {
        .primary_image{
            height: 220px!important;
            border-radius: 0.3rem!important;
        }

                 
        .video_introduction{
            width: 100%;
            height: 220px;
            border-radius: 0.3rem!important;
           
        }

        .content_post p img{
            width: 100%;
            height: 220px!important;  
            border-radius: 0.5rem;
        }
 
      
        
    }

           
    @media screen and (max-width: 400px) {
        .primary_image{
            height: 200px!important;
            border-radius: 0.3rem;
        }
        .video_introduction{
            width: 100%;
            height: 200px;
            border-radius: 0.3rem!important;
           
        }
        .content_post p img{
            width: 100%;
            height: 200px!important;  
            border-radius: 0.5rem;
        }
      
        
    }

