.logo.header_logo {
    max-width: 176px;
}

.page-gallery {
    box-sizing: border-box;
}

.page-gallery__container {
    display: flex;
    flex-direction: column;
    gap: 65px;
}

.page-gallery__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    column-gap: 47px;
    row-gap: 44px;
}

.content-card {
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.content-card:hover .content-card__title {
    color: #27489D;
}

.content-card__picture {
    position: relative;
    display: block;
    width: 100%;
}

.content-card__picture::before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 91.43%;
}

.content-card__picture>img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-card__info {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.content-card__title {
    font-weight: 400;
    font-size: 24px;
    line-height: 1.1;
    color: #000;
    transition: all 0.3s ease-in-out;
}

.content-card__text {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.1;
    color: #000;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 25px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #000;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    cursor: pointer;
}

.pagination .pagination__item::before {
    display: none;
}

.pagination__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.pagination__btn-prev,
.pagination__btn-next {
    position: relative;
    color: transparent;
}

.pagination__btn-prev::before,
.pagination__btn-next::before {
    content: '';
    position: absolute;
    width: 21px;
    height: 16px;
    background-image: url('data:image/svg+xml,%3Csvg width="21" height="16" viewBox="0 0 21 16" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M19.5199 7.64949H1.38903M1.38903 7.64949L7.67192 14.2931M1.38903 7.64949L7.67192 1.00903" stroke="%23343434" stroke-width="2.01815" stroke-linecap="round"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: background-image 0.3s ease-in-out;
}

.pagination__btn-next::before {
    background-image: url('data:image/svg+xml,%3Csvg width="21" height="16" viewBox="0 0 21 16" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1.00903 7.64949H19.1399M19.1399 7.64949L12.857 14.2931M19.1399 7.64949L12.857 1.00903" stroke="%23343434" stroke-width="2.01815" stroke-linecap="round"/%3E%3C/svg%3E');
}

.pagination__btn:hover::before {
    background-image: url('data:image/svg+xml,%3Csvg width="21" height="16" viewBox="0 0 21 16" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M19.5199 7.64949H1.38903M1.38903 7.64949L7.67192 14.2931M1.38903 7.64949L7.67192 1.00903" stroke="%23AC1C25" stroke-width="2.01815" stroke-linecap="round"/%3E%3C/svg%3E');
}

.pagination__btn:hover.pagination__btn-next::before {
    background-image: url('data:image/svg+xml,%3Csvg width="21" height="16" viewBox="0 0 21 16" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1.00903 7.64949H19.1399M19.1399 7.64949L12.857 14.2931M19.1399 7.64949L12.857 1.00903" stroke="%23AC1C25" stroke-width="2.01815" stroke-linecap="round"/%3E%3C/svg%3E');
}

.pagination-wrapper {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
}

.page-documents {
    box-sizing: border-box;
}

.page-documents__container {
    display: flex;
    flex-direction: column;
    gap: 105px;
}

.page-documents__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    column-gap: 47px;
    row-gap: 44px;
}

.document-card {
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.document-card__picture {
    position: relative;
    display: block;
    width: 100%;
}

.document-card__picture::before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 130.32%;
}

.document-card__link {
    position: relative;
    display: block;
    width: 100%;
    background-color: #fff;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.document-card__link .document-card__picture::after {
    content: '';
    display: block;
    position: absolute;
    opacity: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    background: rgba(0, 0, 0, .25) center center no-repeat url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/PjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDQ1MSA0NTEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ1MSA0NTE7IiB4bWw6c3BhY2U9InByZXNlcnZlIj48Zz48cGF0aCBkPSJNNDQ3LjA1LDQyOGwtMTA5LjYtMTA5LjZjMjkuNC0zMy44LDQ3LjItNzcuOSw0Ny4yLTEyNi4xQzM4NC42NSw4Ni4yLDI5OC4zNSwwLDE5Mi4zNSwwQzg2LjI1LDAsMC4wNSw4Ni4zLDAuMDUsMTkyLjMgICBzODYuMywxOTIuMywxOTIuMywxOTIuM2M0OC4yLDAsOTIuMy0xNy44LDEyNi4xLTQ3LjJMNDI4LjA1LDQ0N2MyLjYsMi42LDYuMSw0LDkuNSw0czYuOS0xLjMsOS41LTQgICBDNDUyLjI1LDQ0MS44LDQ1Mi4yNSw0MzMuMiw0NDcuMDUsNDI4eiBNMjYuOTUsMTkyLjNjMC05MS4yLDc0LjItMTY1LjMsMTY1LjMtMTY1LjNjOTEuMiwwLDE2NS4zLDc0LjIsMTY1LjMsMTY1LjMgICBzLTc0LjEsMTY1LjQtMTY1LjMsMTY1LjRDMTAxLjE1LDM1Ny43LDI2Ljk1LDI4My41LDI2Ljk1LDE5Mi4zeiIgZmlsbD0iI0ZGRkZGRiIvPjwvZz48L3N2Zz4=');
    background-size: 50px;
    transition: all .3s ease-in-out;
}

.document-card__link:hover .document-card__picture::after {
    opacity: 1;
}

.document-card__picture>img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.document-card__info-link {
    display: flex;
    flex-direction: column;
    gap: 7px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.document-card__info-link:hover .document-card__title {
    color: #27489D;
}

.document-card__title {
    font-weight: 400;
    font-size: 24px;
    line-height: 1.1;
    color: #000;
    transition: all 0.3s ease-in-out;
}

.document-card__text {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.1;
    color: #000;
}

@media (max-width: 767px) {
    .content-card {
        gap: 20px;
    }

    .content-card__title {
        font-size: 20px;
    }

    .content-card__text {
        font-size: 15px;
    }

    .page-gallery__list {
        row-gap: 20px;
    }

    .page-gallery__container {
        gap: 60px;
    }

    .pagination__link {
        font-size: 22px;
    }

    .document-card {
        gap: 20px;
    }

    .document-card__title {
        font-size: 20px;
    }

    .document-card__text {
        font-size: 15px;
    }
}

.catalog_section_list .section_item_bg {
    background-size: contain;
}

.catalog_section_list .section_item {
    background-size: 0;
}

/* .catalog_section_list .section_item:hover {
    background-size: cover;
}

.catalog_section_list .section_item {
    transform: scale(1);
} */
.catalog_section_list .section_item {
    position: relative;
    overflow: hidden;
    background-color: #fff !important;
}

.catalog_section_list .section_item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.5s ease;
    z-index: 0;
}

.catalog_section_list .section_item:hover::before {
    transform: scale(1);
    opacity: 1;
}

.catalog_section_list .section_item::after {
    z-index: 2;
}