@media screen and (max-width: 1480px) {
    .navigation-buttons {
        display: none;
    }
}

@media screen and (max-width: 1365px) {
    .center {
        margin-right: 20px;
        margin-left: 20px;
    }
}

@media screen and (max-width: 1170px) {

    .title-page {
        font-size: 1.3rem;
    }

    .header-info .contact {
        display: none;
    }

    .header-info {
	flex-direction: column;
        align-items: center;
	justify-content: center;
    }

    .quote-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .quote-blocks {
        padding-top: 20px;
    }

    .quote-blocks .quote-block {
        padding-top: 60px;
    }

    .quote-image {
        margin-top: -120px;
        order: 0 !important;
    }

    .companies {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    
}

@media screen and (max-width: 950px) {
    .header .slider-container {
        display: none;
		margin: 10px;
        width: auto;
    }

    .images {
          display: none !important;
    }
}

@media screen and (max-width: 768px) {
	
	.mobile-slider {
		display: block;
		margin: 5px 15px;
	}

    .burger-menu {
        display: flex;
    }
    .navigation-default {
        display: none;
    }

    .center {
        margin: 0;
        padding: 0;
    }

.logo {
     padding: 30px;
}

    .navigation-default {
        display: none;
    }

    .breadcrumbs {
         display: none;
    }

    .Page .entry-content-page {
         padding: 10px 20px;
         background-color: white;
    }

    .Page .entry-content-page p {
         font-size: 1rem;
    }

    .Page .is-layout-flex {
        display: flex;
        align-items: center !important;
        flex-direction: column;
        justify-content: center;
        gap: 0px;
    }

    .news-posts {
          margin: 10px;
    }

    .one-post {
          padding: 20px;
          margin: 0;
          background: none;
    }

    .one-post h1{
           font-size: 1.1rem;
    }

.entry-header-teacher {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.entry-title-teacher {
     text-align: center;
}

.one-post-staff {
     background: none;
     box-shadow: none;
}

.methodological img {
     display: none;
}

.methodological .wp-block-list {
      padding: 10px 20px !important;
      box-shadow: none !important;
      border: none !important;
}

.methodological li a {
     font-size: 0.8rem;
}

.Page .entry-content-page {
    background: none;
}

.buttons {
    flex-direction: column;
}

.buttons button{
    width: 90%;
}

.Page h1 {
     text-align: center;
}

.Page .highlight-program:after {
    display: none;
    background: none;
    animation: none;
}

    /* Новости из жизни кафедры */
    #news {
        padding-bottom: 0;
    }

    #news h1, 
    .direction-info h1,
    #companies h1,
    .button-news button {
        font-size: 1.3rem;
        margin-top: 1rem;
    }

    #news button {
        margin-top: 2rem;
    }

    .news-post h2,
    .illustrations-block h2 {
        font-size: 1rem;
        color: black;
    }

    .news-post p, 
    .news-post .meta,
    #direction .preview,
    .information .preview, 
    #direction .title-list,
    .custom-list li,
    .illustrations-block p,
    .information .content {
        font-size: 0.8rem;
        margin-bottom: 0;
    }

    #direction button {
        display: none;
    }

    /* Направления работы */
    #direction,
    #companies .pictures-company,
    #companies {
        display: flex;
        align-items: stretch;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 0;
    }

    /* Факты говорят сами за себя */
    #facts {
        display: none;
    }

    /* Цитаты */
    #education {
        display: none;
    }

    /* Компании */
    #information {
        order: 1;
    }

    .pictures-company {
        order: 2;
    }

    #companies .information button {
        margin: 2rem auto;
        display: block;
        font-size: 0.8rem;
    }

    .pictures-company img {
        width: 275px;
        height: 150px;
        object-fit: cover;
    }

.information {
   width: 100%;
   padding: 30px;
}

#companies {
    padding: 20px 0;
}

#direction {
    padding: 0;
}

.direction-info {
     padding: 30px;
}

.one-post .entry-header img {
    width: 100%;
    height: auto;
}

.methodological .wp-block-list li a {
    background-color: white !important;
}

    /* footer */
    .footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }

    .footer .menu {
        display: none;
    }

    .footer a {
        text-align: justify;
        font-size: 0.8rem;
    }

    .footer .icons-block {
        margin: 10px 0;
    }

    .icons-block img {
        width: 20px;
        height: 20px;
    }

    .footer .right-item {
        margin: 0;
    }
}

@media screen and (max-width: 470px) {
    .blocks-staff {
        grid-template-columns: 1fr;
        margin: 30px 10px;
    }

    .main-block {
       margin: 0 10px;
    }
}

@media screen and (max-width: 425px) {
    /* Направления работы */
    #direction,
    .companies .pictures-company,
    #news .news-blocks,
    .companies {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .logo-wrapper {
	flex-direction: column;
    }
}
