html, body, div, span, applet, object, iframe,
h1, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

.courses_left{
    overflow: hidden;
}

.courses_left-img{
    overflow-x: scroll;
    max-width: 100%;
}
body {
	line-height: 1;
}

.bl_view_book_book_image{
    object-fit: contain;
}

button, body, a, input{
    font-family: 'Inter';

}

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.container {
    max-width: 1176px;
    margin: 0 auto;
    
}

.container:not(.swiper,.main_menu,.swiper_books,.main-footer) {
    padding: 0 20px;
} 

.main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main_tools {
    width: 255px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main_search {
    background-color: #F3F4F6;
    padding: 7px 12px;
    border-radius: 6px;
    border: none;
    display: flex;
    align-items: center;
    height: 35px;
    box-sizing: border-box;
    width: 100%;
}

.main_search button {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-self: center;
    padding: 0;
}

.main_search input {
    padding: 5px 5px 5px 6px;   
    border: none;
    background: none;
    outline: none;   
    font-size: 14px;
}

.main_search input::placeholder{
    font-size: 14px;
    color: #BCC1CA;
}

.main_languages {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main_languages a {
    text-decoration: underline;
    border: none;
    background: none;
    color: rgb(255, 255, 255, 0.5);
    font-weight: 500;
}

.main_languages a.active {
    color: #fff;
}

.main_information div {
    display: flex;
    gap: 10px;
    color: #fff;
    font-size: 12px;
    align-items: center;
}

.main_information div:not(:nth-child(3)):hover {
    text-decoration: underline;
}

.main_information div a {
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    transition: all 0.3s ease;
}

.main_information div:nth-of-type(4) {
    display: flex;
    gap: 5px;
    justify-content: space-between;
}

.main_information div:nth-of-type(4) a:hover {
    transform: scale(1.5);
}

.main_information {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 4px 0 16px;
}

.header_top {
    background-color: #557A95;
}

.header_bottom {
    background-color: #7395AE;
}


.main_button {
    display: none;
}

.main_menu button {
    padding: 0;
    border: none;
    background: none;
    color: #fff;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.1s ease;
}

.main_menu button:hover {
    font-weight: 700;
    text-decoration: underline; 
}

.main_menu button:active {
    transform: scale(0.96);
}


.main_menu .menu_items {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
}

.dropdown {
    position: relative;
}

.dropdown_list {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    color: #000;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    display: none;
    min-width: 180px;
    z-index: 100;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown_list li {
    padding: 10px 20px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.dropdown_list li:hover {
    background-color: #e4e8ff;
    box-shadow: 0 2px 8px rgba(99, 106, 232, 0.2);
    transform: translateX(8px);
}

.dropdown_list li a {
    text-decoration: none;
    color: #000;
    display: block;
    transition: color 0.3s ease;
}

.dropdown_list li:hover a {
    color: #3b44d0;
}

.dropdown.open .dropdown_list {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown_button img {
    transition: transform 0.3s ease;
}

.dropdown.open .dropdown_button img {
    transform: rotate(180deg);
}


.story_slider {
    background-image: url('img/fon.png');
    background-size: cover;
    height: 100%;
    box-sizing: border-box;
    height: 350px;
    background-repeat: no-repeat;
}
.swiper {
    height: 350px;
    overflow: hidden;
}

.swiper-slide {
    background: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 350px;
}

.swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    background-color: rgb(255, 255, 255, 0.65);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: #fff;
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.slide-text {
    position: absolute;
    bottom: 156px;
    left: 100px;       
    color: #fff;
    line-height: 17px;
    max-width: 991px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px 0 0;
    max-width: 90%;
}

.slide-text p {
    font-size: 24px;
    font-weight: bold;
    word-break: break-word;
    line-height: normal;
}

.slide-text span {
    font-size: 14px;
    word-break: break-word;
    max-width: 970px;
}

.swiper_story button {
    position: absolute;
    bottom: 98px;
    left: 100px;   
    width: 238px!important;
}

.swiper_story {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
}

.swiper-wrapper {
    display: flex;
}

.swiper_story {
    padding: 20px;
}

.swiper-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;      
    object-fit: cover;  
}

.swiper_books {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.swiper_books div:nth-of-type(3){
    border-right: 1px solid #000;
}

.swiper_books div{
    background: #B0A295;
    height: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-self: center;
    border-left: 1px solid #000;
}

.swiper_books a {
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    padding-left: 14px;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, color 0.3s ease;
}

.swiper_books a:hover {
    transform: translateX(5px);
    color: #fff; /* или свой другой цвет */
}


.title {
    font-size: 32px;
    font-weight: bold;
}

.news_title {
    font-size: 16px;
    font-weight: bold;
    word-break: break-word;
}

.px-0{
    padding-inline: 0!important;
}

.news_text {
        max-width: 100%;       /* ограничиваем по ширине */
    word-wrap: break-word; /* переносим длинные слова */
    white-space: normal;   /* разрешаем перенос строк */
    font-size: 14px;
    color: #9095A0;
}

.news_blocks {
    display: flex;
}

.news_blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.news_main {
    transition: transform 0.2s ease;
    max-width: 376px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-word;
    min-width: 0;
    width: calc((100% - 40px) / 3);
}

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

.news_main img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
    border-radius: 10px;
}

.news {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    margin-top: 48px;
}

.news_information {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news {
    margin-bottom: 40px;
}


.news_text a {
    color: #0050FF;
    font-weight: 400;
    transition: font-weight 0.2s ease, color 0.2s ease;
}

.news_text a:hover {
    font-weight: 700;
    color: #0050FF; /* можно чуть темнее при ховере */
}

.news_button button,
.news_button input[type="submit"],
.btn-primary,
.news_button a{
    width: 276px;
    height: 36px;
    background-color: #fff;
    color: #636AE8;
    border: 1px solid #636AE8;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(99, 106, 232, 0);
}

.btn-primary:hover,
.news_button a:hover,
.news_button button:hover {
    background-color: #636AE8;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(99, 106, 232, 0.3);
}

.news_button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
}

.news_button button:active {
    transform: scale(0.97);
    box-shadow: 0 4px 8px rgba(99, 106, 232, 0.2);
}

.books {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

.custom-books-swiper {
    width: 100%;
    overflow: hidden;
}

.bl_view_book td:nth-last-child(1){
    font-style: italic;
}

.bl_view_book strong{
    margin-right: 50px;
}

.bl_view_book td:nth-of-type(2){
    font-style: normal!important;
}

.view_book_layout .componentheading {
    margin-bottom: 10px;
}

.view_book_layout a {
    width: 276px;
    height: 36px;
    background-color: #fff;
    color: #636AE8;
    border: 1px solid #636AE8;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(99, 106, 232, 0);
    margin-top: 20px;
}

.view_book_layout a:hover {
    background-color: #636AE8;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(99, 106, 232, 0.3);
}

.view_book_layout td {
    padding-top: 10px;
}

.view_book_layout td img {
    width: 150px;
    height: 150px;
}

.view_book_layout {
    margin: 20px 0 40px 0;
}

.custom-books-slide {
    flex: 0 0 auto;
    width: 146px;
    text-align: center;
    margin-right: 0;
}

.custom-books-wrapper {
    display: flex;
    transition-property: transform;
    transition-duration: 0.3s;
    box-sizing: content-box;
    gap: 10px;
    flex-wrap: nowrap;
}

.custom-books-slide {
    flex-shrink: 0;
    width: 146px; 
}


.book-card {
    max-width: 146px;
    text-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card a {
    text-decoration: none;
}

.book-card img {
    width: 100%;
    max-height: 250px;
    display: block;
    margin-bottom: 10px;
}

.book-title {
    font-weight: bold;
	word-wrap: break-word;
    font-size: 14px;
    color: #171A1F;
    font-weight: bold;
    margin-bottom: 10px;
}

.book-author {
    font-size: 12px;
    color: #9095A0;
    font-weight: 400;
}

.book-card:hover {
    transform: translateY(-4px) scale(.9);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    /* padding: 10px; */
}

footer {
    background-color: #5D5C61;
    padding-bottom: 30px;
}


.footer_about{
    max-width: 101px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer_readers{
    max-width: 133px;
    display: flex;
    flex-direction: column;
    gap:10px;
}
.footer_map{
    max-width: 259px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer_map div {
    border-bottom: 2px solid #fff;
    width: 100%;
}

.footer_map p {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.footer_map p:not(:first-of-type) {
     font-size: 12px;
     font-weight: normal;
}

.main-footer a {
    text-decoration: none;
    color: #fff;
    font-size: 12px;
}

.main-footer a:hover {
    font-weight: 700;
    text-decoration: underline;
}

.flex-search{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 20px 0;
}

.search-books table{
    margin: 20px 0;
}

.sectiontableheader{
    font-weight: bold;
}

.bl_table_book_img{
    max-height: 40px;
}
.bl_table_book_img a{
    width: 100%;
    height: 100%;
    max-height: 100px;
}

.bl_table_book_img img{
    width: 150px;
    height: 200px;
    
    object-fit: cover;
}

.blacksite{
    background-color: black!important;
}

.blacksite *{
    color: white!important;
}

.whitesite.header_top + .header_bottom{
    background-color: #fff!important;
    
}
.whitesite.header_top + .header_bottom img{
    filter: invert(1);
}
.whitesite.header_top + .header_bottom *{
    color: black!important;
}
.whitesite .main_languages a{
    color: black!important;
}
.whitesite .main_search input::placeholder{
    color: black!important;
}
.whitesite img{
    filter: invert(1);
}
.blacksite-bg{
    background: #0c0c0c!important;
}

.whitesite *{
    color: black!important;
}
.whitesite{
    background-color: #fff!important;
}

.blacksite-bg *:not(.view_book_layout  a, .news_button button, .news_button input[type="submit"], .btn-primary, .news_button a, .dropdown_list li a){
    color: white!important;
}

.main-footer.whitesite + div{
    background-color: #fff!important;
}
.main-footer.whitesite + div * {
    color: black;
}

.header_top.blacksite + .header_bottom *:not(.dropdown_list li a){
    color: white!important;
}
.header_top.blacksite + .header_bottom{
    background-color: black!important;
}

@media(max-width: 800px){
    .search-books tr:first-of-type{
        display: none;
    }
    .search-books tr:not(tr:first-of-type){
        display: flex;
        flex-direction: column;
    }

    .search-books td{
        display: flex;
        min-width: fit-content;
    }
    .search-books td:not(tr td:last-of-type){
        gap: 10px;
    }
    .search-books tr{
        border: 1.5px solid rgba(0,0,0,.5);
        padding: 15px 10px;
        border-radius: 10px;
    }
    .search-books tbody{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .bl_table_book_img,
    .bl_table_book_img img{
        width: 100%;
        height: auto;
    }
    .bl_table_book_img,
    .bl_table_book_img a{
        height: fit-content;
        max-height: fit-content;
    }
    .search-books table td:not(tr td:first-child){
        padding-top: 0!important;
    }
}

.search-books table tr:first-of-type{
    height: 50px;
}
.search-books table td:not(tr td:first-child){
    vertical-align: top;
    padding-top: 30px;
}



.sectiontableheader,
.search-books table th
.search-books table td{
    text-align: left;
}

@media(max-width: 800px){
    .flex-search{
        flex-direction: column;
        gap: 10px;
    }
}

.books-grid{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 3vw;
}

#paginator-custom-index{
    margin: 50px 0;
}
#paginator-custom-index ul{
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.map-wrapper {
    width: 267px;
    height: 162px;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.button .view_air .size_small {
    display: none;
}

.footer_about div {
    border-bottom: 2px solid #fff;
}

.footer_about p {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.footer_readers div {
    border-bottom: 2px solid #fff;
}

.footer_readers p {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.footer_copyright {
    font-size: 12px;
    font-weight: 200;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer_links {
    display: flex;
}

.footer_information {
    display: flex;
}

.main_logo {
    max-width: 171px;
}

.main-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 40px 20px;
}

.map-wrapper {
    width: 267px;
    height: 162px;
    overflow: hidden;
    order: 10;
    min-width: 200px;
}

.blog_bacground img{
    border-radius: 15px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}

.blog_bacground {
    height: 300px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    width: 100%;
    padding: 20px;
    border-radius: 15px;
    padding: 0!important;
}
    
.courses_grid {
    display: grid;
    position: right;
    grid-template-columns: repeat(12, 1fr);
}
.courses_left {
    grid-column: span 9;
    background:none;
    padding: 20px 20px 0 0;
}
.courses_right {
    grid-column: span 3;
    background: rgba(93, 92, 97, 0.3);
    padding: 20px;
    
    top: 0;
    right: 0;
    max-height: fit-content;
    border-radius: 5px;
}

@media(min-width: 1000px){
    .courses_left{
        position: sticky;
    }
}

.article-content div{
    border: none!important;
}

.сourses {
    margin-bottom: 40px;
    padding: 0!important;
}

.courses_left div:nth-of-type(1) {
    border: 2px solid rgba(0, 0, 0, 0.15);
    margin: 15px 0 25px;
}

.courses_left-img {
    display: flex;
    gap: 20px;
    margin-top: 29px;
}

.courses_left p:not(.article-content p) {
    font-size: 32px;
    font-weight: bold;
    word-break: break-word;
}

.courses_left img {
    width: 250px;
    height: 250px;
}

.article-content span {
    font-size: 14px;
}

.article-content * {
    word-break: break-word;
}

.courses_right {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.courses_right-title{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 13px;
}

.language-select{
    *{
        text-transform: capitalize!important;
    }
}

#gt_float_wrapper {
    display: none;
}

.courses_right a {
    display: flex;
    gap: 10px;
    text-decoration: none;
    color: #000;
    align-items: center;
    margin-bottom: 15px;
}

.courses_right img {
    width: 20px;
    height: 21px;
}

.courses_right a:hover {
    font-weight: bold;
    text-decoration: underline;
}

.main_form {
    height: 300px;
    background: url('../img/background-form.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: end;
    padding: 0 0 30px 30px;
}

.main_form p {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
}

.path p {
    font-size: 14px;
    line-height: normal;
}

.path_img {
    display: flex;
    gap: 20px;
    max-width: 100%;
    margin-top: 30px;
    overflow-x: auto;
}

.path_img img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border: 5px solid #A9A9A9;
}

.path {
    margin: 30px auto 20px;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    width: 100%;
}

.form-section {
    background: url("../img/background-for.png");
    border-radius: 20px;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    padding: 40px 20px 30px;
    margin-bottom: 60px;
}


.form-section .news_button {
    margin-top: 25px!important;
    width: 100%;
}


.form-container label,
.form-container .form-group {
    color: white;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.form-container .form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-container textarea {
    height: 75px;
    resize: none;
}

.form-container .row{
    gap: 20px;
    display: flex;
    flex-direction: column;
}
.form-container .btn{
    margin-inline: auto;
}

.form-container input:not(.btn),
.form-container textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 14px;
}

.form-container button {
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
    background: #eef;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.form-container button:hover {
    background: #d0d0ff;
}

.projects div{
    display: flex;
    gap: 10px;
}
.projects a {
    color: #000;
    font-size: 14px;
}

.projects a:hover {
    font-weight: 700;
}

.projects p {
    font-size: 14px;
    font-weight: 600;
}
.projects_text {
    margin: 22px 0;
}
.projects { 
    margin: 25px 0 42px;
}

.news_pagination, .pagination{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 70px;
  margin-bottom: 70px;
}

.pagination {
    margin: 0;
    
}

.news_pagination a,
.pagination a{
  text-decoration: none;
  color: #636AE8;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px!important;
}

.pagination li.active a:hover{
    background-color: #636AE8;
}

.pagination li a{
    padding: 0;
    user-select: none;
}

.pagination li.active{
    pointer-events: none;
}

.pagination li{
    border-radius: 6px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news_pagination a:hover,
.pagination li:hover {
  background-color: #f0f4ff;
}

.news_pagination a.active,
.pagination li.active {
  background-color: #636AE8;
  color: white;
  font-weight: bold;
  border-color: #636AE8;
}

.pagination li.active a{
  color: white;
  font-weight: bold;
}

.news_pagination a.arrow,
.pagination a.arrow {
  padding: 4px;
  border: none;
}

.not-found {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 20px;
    max-width: 90vw;
    text-align: center;
}

.not-found p {
    font-size: 200px;
    font-weight: bold;
    margin: 0;
}

.not-found span {
   font-size: 32px;
   font-weight: bold; 
}

.not-found .news_button {
    width: 276px;
    height: 36px;
    margin: 0;
}

.not-found a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.not-found a:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.not-found img {
    width: fit-content;
    width: 100%;
    height: fit-content;
}

@media (max-width: 1080px) {
    .map-wrapper {
        width: 100%;
        height: 200px;
        flex: 1;
    }
}
@media (max-width: 810px) {
    .main_menu div:nth-of-type(1) {
        display: none;
        align-items: start;
        width: 100%;
    }
    .main_button {
        display: block;
        order: 1;
    }
    .menu_items  {
        order: 2;
    }

    .main_menu {
        justify-content: center;
        display: flex;
        padding: 20px;
        flex-direction: column;
        align-items: center;
    }

    .main_menu button {
        font-weight: bold;
        text-decoration: none!important;
    }

      .news_main {
        flex: 1 1 calc(50% - 20px);
    }
    .main-footer {
        gap: 10px;
    }
    .courses_grid {
        display: flex;
        flex-direction: column;
        margin: 20px;
        gap: 20px;
    }
} 

@media (max-width: 737px) {
    .main-footer {
        flex-direction: column;
        gap: 20px;
    }
    .map-wrapper {
        height: 260px;
    }
    .slide-text {
        left: 16px;
    }
    .swiper_story button {
        left: 16px;
    }
    .swiper-pagination-bullet {
        width: 40px;
        height: 3px;
        border-radius: 0;
    }
    .footer_copyright {
        text-align: center;
    }
    .main_information {
        margin: 0;
    }
}

@media (max-width: 600px) {
    .news_main {
        flex: 1 1 100%;
        width: 100%;
    }
    .main {
        flex-direction: column;
        padding: 20px!important;
        gap: 20px;
    }
    .main_tools {
        order: 3;
    }
    .main_information {
        margin: 0;
    }
    .swiper_books {
        flex-direction: column;
        gap: 10px;
        padding: 20px 20px 0 20px;
    }
    .swiper_books div:nth-of-type(3),.swiper_books div {
        border: none;
    }
    .swiper_story button {
        left: 0;
        right: 0;
        margin: 0 auto;
        bottom: 36px;
    }
    .slide-text {
        bottom: 89px;
    }
    .news_main {
        max-width: 100%;
    }
    .slide-text span {      
        display: -webkit-box;
        -webkit-line-clamp: 10;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.4em;
        max-height: calc(1.4em * 10);
    }
    .courses_left-img {
        overflow-x: auto;
    }
}

@media (max-width: 430px) {
    .not-found p {
        font-size: 150px;
    }
}
