.mainIntro {
    display: block;
    width: 100%;
}

.intro {
    width: 100%;
    height: 33rem;
    overflow: hidden;
}
.intro__video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ключевой момент */
    display: block;
}
.intro__img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
}

/*-- news-post----------------*/


/*news-post
=====================*/

.news-post__block {
    align-items: center;
    justify-content: center;
}

.news-post__inner {
    display: flex;
}

.news-post__left {
    width: 70%;
    
}

.left__inner {
    display: flex;
    padding-right: 10px;
    overflow: hidden;
    
}



.left__preview {
    width: 58%;
    height: auto;
    flex-grow: 1;
	overflow: hidden;

}

.left__preview img {
	
    width: 100%;
    height: auto;
    max-height: 565px;
    object-fit: cover;
    border-radius: 6px;
}


.news-post__right {
    display: flex;
    width: 45%; 
    border: 2px solid #035e97;
    border-radius: 6px;
    padding: 5px;
}

.news-post {
	display: flex;
    flex-wrap: wrap;

}



.news-post__preview {
	width: 47%;
	height: auto;
	overflow: hidden;
    margin: 5px;
    border-radius: 6px;
    
}



.news-post__preview img {
        display: block;
        width: 100%;
        height: 100%;
        max-height: 175px;
        object-fit: cover;
        
    }
    


.news-post__button {
    display: flex;
    justify-content: center;
    
}
.news-post_read {
	position: absolute;
	bottom: 0;
	right: 0;
} 

/*=====================*/
/*books
=====================*/

.ctegorybooks__title {
    font-size: 20px;
    color: #002e4b;
    border-bottom: 1px solid #035e97;
    margin-bottom: 5px;
}

.booksAuthorcategory {
    background-color: #ace8f0;
    padding: 10px;
    margin-bottom: 20px;
}



.btn-hover:hover{
    background-color: #035e97;
    color: #fff;
}

.booksGenre {
    background-color: #f5d87a;
    padding: 10px;
    margin-bottom: 20px;
}

.books {
    width: 100%;
    min-width: 100%;
}
.bookstop__line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

.bookstop__title {
    font-size: 20px;
    font-weight: 500;
}

.books__inner {
    display: flex;
     
    width: 100%;
    
}

.books__innerall {
    display: flex;
    flex-wrap: wrap; 
    width: 100%;
    
    
}

.books__item {
    width: 33.333333%;
    position: relative; 
    overflow: hidden;
    margin: 20px 15px 20px 0;
    border: 1px solid #9cd3f5;
    position: relative;
    border-radius: 6px;

}


.books__itemsize {
    width: 23%;
    position: relative; 
    overflow: hidden;
    margin: 20px 15px 20px 0;
    border: 1px solid #9cd3f5;
 
    border-radius: 6px;

}

.books__item:hover {
    .books__content {opacity: 1;
    border: 1px solid #035e97;
    }
    .books__title {
        color: #ffffff;
        
    }
    
    .books__text {
        color: #ffffff;
    }
    .btn-blue2 {
        background-color: #035e97;
        color: #FFF;
    }
}

.books__itemsize:hover {
    .books__content {opacity: 1;
        border: 1px solid #035e97;
        }
        .books__title {
            color: #ffffff;
            
        }
        
        .books__text {
            color: #ffffff;
        }
        .btn-blue2 {
            background-color: #035e97;
            color: #FFF;
        }
}

.books__item img{
    width: 100%;
  
    object-fit: cover;
    
}

.books__itemsize img{
    width: 100%;
   
    object-fit: cover;
}



.books__content {
   opacity: 0;
    width: 100%;
    height: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(3, 94, 151, 0.74);
    text-align: center;
    margin-top: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.books__title {
    font-size: 14px;
    color: #002e4b;
    font-weight: 700;
    text-transform: uppercase;
    
}

.books__text {
    font-size: 14px;
    color: #035e97;
    margin-bottom: 10px;
}
/*booksAll*/

.booksAll__title {
    background-color: #035e97;
    font-size: 20px;
    font-weight: 500;
    color: #FFF;
    padding: 10px 0;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.booksAll__img {
    display: flex;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 1px solid #035e97;
}
.booksAll__imgitem {
    width: 23%;
    height: auto;
    overflow: hidden;
    margin-left: 10px;
    border-radius: 6px;
}
.booksAll__imgitem img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booksAll__info ul{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    list-style-type: none;
}



.bookAllinfo__item {
    padding: 20px 30px;
    border: 2px solid #035e97;
    border-radius: 6px;
    margin: 20px 10px;
    
}

.bookAllinfo {
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    color: #002e4b;
    
}

.bookAllinfo__item--link{
    padding: 20px 30px;
    border: 2px solid #035e97;
    border-radius: 6px;
    margin: 20px 10px;
    text-transform: uppercase;
    text-decoration: none;
}

.bookAllinfo__item--link:hover{
    
    background-color: #9cd3f5;
    border: none;
    .bookAllinfo--link{
        color: red;
    }
}


.booksAll__description {
    font-size: 14px;
    color: #000;
    border-top: 1px solid #035e97;
    padding: 30px;
}

.booksAuthor {
    display: flex;
    
}

.booksAuthor__img {
    float:left;
    margin-right: 20px;
    margin-bottom: 20px;
   width:400px;
   
}
.booksAuthor__line {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #035e97;
    margin-bottom: 5px;
}
/*=====================*/
/*NEWS
=====================*/
.news {
    width: 100%;
    min-width: 100%;
    
}
.newstop__line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

.newstop__title {
    font-size: 20px;
    font-weight: 500;
}

.news__inner {
    display: flex;   
    width: 100%;
    border: 1px solid #9cd3f5;
    border-radius: 6px;
    margin: 20px 0;
    
}

.news__row {
    display: flex;
    flex-wrap: wrap;   
    width: 100%;
    border-radius: 6px;
    margin: 20px 0;
}

.news__itemcol {
    width: 25%;
    position: relative; 
    overflow: hidden;
    margin: 10px;
    border-radius: 6px;
}

.news__itemcol img{
    min-width: 100%;
    border-radius: 6px;
    height: 300px;
    margin-bottom: 10px;
    object-fit: cover;
    transition: 0.3s ease;
}

.news__itemcol:hover {
    overflow: hidden;
    img {
        transform: scale(1.2);
        margin-top: -10px;
    }

    .btn-blue2 {
        background-color: #035e97;
        color: #FFF;
    }
}

.news__item {
    width: 33.333333%;
    position: relative; 
    overflow: hidden;
    margin: 20px;
    
   
    border-radius: 6px;

}

.news__item:hover {
    overflow: hidden;
    img {
        transform: scale(1.2);
        margin-top: -10px;
    }

    .btn-blue2 {
        background-color: #035e97;
        color: #FFF;
    }
}

.news__item img{
    min-width: 100%;
    border-radius: 6px;
    height: 300px;
    margin-bottom: 10px;
    object-fit: cover;
    transition: 0.3s ease;
}



.news__content {
    width: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
}

.news__data {
    margin-right: 15px;
    border-right: 2px solid #035e97;
    padding-right: 15px;
}

.newscontent__info {
    display: flex;
    justify-content: center;
    align-items: center;
}

.news__title {
    font-size: 14px;
    color: #002e4b;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    margin: 10px 0;
    
}

.news__text {
    font-size: 14px;
    color: #035e97;
    margin-bottom: 10px;
}

/*BLOG DIRECTOR
=====================*/

.blocgdir {
    width: 100%;
    min-width: 100%;
}

.blogdir__inner{
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #035e97;
    
}

.blogdir__comm {
    width: 60%;
    margin-right: 20px;
}

.blogdir__img {
    width: 40%;
}

.blogdir__title {
    font-size: 25px;
    font-weight: 600;
    color: #035e97;
    text-align: center;
    margin-bottom: 20px;
}

.blogdir__text {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    text-align: center;
}


/*=====================*/
/*history
=====================*/

.history__title {
    background-color: #035e97;
    padding: 10px 0;
    color: #FFF;
    font-size: 18px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
}

.history__images {
    width: 100%;
    overflow: hidden;
    border: 1px solid #035e97;
    border-radius: 6px;
}


.history__images img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history__text {
    font-size: 16px;
    color: #000;
    margin-top: 20px;
}

/*=====================*/
/*tv 
=====================*/

.tv__inner {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

.tv__item {
    width: 47%;
    height: 300px;
    overflow: hidden;
    padding: 10px;
    margin: 10px;
    box-shadow: 1px 1px 8px 2px
     rgba(107, 107, 107, 0.35);
     border-radius: 3px;
}



.tv__title {
    width: 100%;
    font-size: 14px;
    color: #002e4b;
    margin-bottom: 10px;
}

.tv__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/********************comments************/

.commenthome {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    margin: 0 auto;
    align-content: center;
}

.commenthome__inner {
    
    margin: 5rem 5rem 5rem 25rem;
    text-align: center;
}

.commenthome__title {
    font-size: 30px;
    font-weight: 500;
    color: #035e97;
}

.commentform {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.commentform__group{
    width: 80%;
    margin: 0 10px;
}

.commentform__group-name{
    width: 40%;
    
}


.form__controlcomment{
    display: block;
    width: 100%;
    min-width: 350px;
    height: 40px;
    font-family: inherit;
    font-size: 14px;
    color: #000000;
    background: transparent;
    resize: none;
    border: 1px solid #035e97;
    border-radius: 6px;
    outline: 0;
    
    margin-right: 20px;
}


.comment-block {
    display: flex;
    flex-wrap: wrap;
  }
.comment-block__item {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    width: 30%;
    margin: 20px 10px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .comment-block-text {
    position: relative;
    max-height: 70px; /* Обрезает текст, если он превышает высоту */
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .comment-block-text.expanded {
    max-height: none; /* Убирает ограничение высоты при разворачивании */
  }
  
  .read-more {
    color: #007BFF;
    cursor: pointer;
    display: inline-block;
    
    font-weight: bold;
  }
  
  .read-more:hover {
    text-decoration: underline;
  }
  
  .footer__com-block {
    display: flex;
    justify-content: space-between;
    align-content: center;
  }

  .author{
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #002e4b;
  }