@media (max-width: 490px) {
    .d-none-mobile {
        display: none;
    }

    .d-block-mobile {
        display: block;
    }

    .foot-info {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        text-align: center !important;
    }

    .foot-info>.number {
        font-size: 20px;
        letter-spacing: 6px;
    }

    .year-and-company {
        text-align: center;
    }

    .exhibits-arrow,
    .bordered-nav-slide {
        width: 50px;
        height: 50px;
        padding: 10px 10px 10px 10px
    }

    .exhibits-arrow>svg,
    .bordered-nav-slide>svg {
        width: 30px;
        height: 15px;
    }

    .exhibits-slide-date,
    .exhibits-slide-name {
        font-size: 16px;
        line-height: 19px;
    }

    .event-block {
        margin-bottom: 12px;
    }

    .event-img {
        height: calc(80vw - 64px) !important;
    }

    .event-block-button {
        margin-top: 0;
        border-top: none;
    }

    .event-title,
    .event-date {
        font-size: 18px !important;
        line-height: 24px !important;
    }

    .office-left {
        font-size: 18px;
    }

    .office-right {
        font-size: 16px;
    }

    .office-link {
        min-height: 60px;
        padding: 10px 0;
        height: auto;
        justify-content: center;
        text-align: center;
    }

    .office-arrow-block {
        margin: 0;
    }

    .post-date {
        font-size: 100px;
        line-height: 110px;
        max-width: 100%;
    }

    .post-date-month {
        font-size: 30px;
        line-height: 36px;
    }

    .post-title {
        font-size: 24px;
        line-height: 30px;
    }

    .item-info-block {
        padding: 0;
        padding-top: 30px;
    }

    .item-info-name,
    .item-info-bottom {
        margin-left: 20px;
        margin-right: 20px;
    }

    .item-info-more {
        width: 100%;
        justify-content: center;
        align-items: center;
        height: 83px;
        margin-top: 10vw;
    }

    .search-left {
        min-width: auto;
    }

    .story-link {
        font-size: 14px;
    }

    .search-result-title {
        line-height: normal;
        height: auto;
        min-height: 100px;
        -webkit-line-clamp: 4;
    }
}

@media (max-width: 400px) {

    .gallery-item {
        padding: 20px 0;
    }

    .gallery-img-block {
        height: calc(75vw - 40px);
    }

    .gallery-item-title {
        font-size: 16px;
        letter-spacing: 1px;
        padding-bottom: 0;
    }

    .gallery-item .elements-tags a {
        padding: 5px;
    }

    .gallery-load-block {
        font-size: 20px;
        width: 100%;
        height: 60px;
        justify-content: space-between;
        max-width: 250px;
        padding-right: 10%;
    }

    .gallery-load-img {
        height: 48px;
        margin-right: 5px;
    }

    .gallery-title {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .gallery-content {
        margin-top: 100px;
    }
}