@charset "UTF-8";
@font-face {
  font-family: "Golos";
  src: url("fonts/Golos-Text_Regular.woff2") format("woff2"), url("fonts/Golos-Text_Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Golos";
  src: url("fonts/Golos-Text_Medium.woff2") format("woff2"), url("fonts/Golos-Text_Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Golos";
  src: url("fonts/Golos-Text_Bold.woff2") format("woff2"), url("fonts/Golos-Text_Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* 10%*/
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  border: none;
  box-sizing: border-box;
  font-weight: normal;
}

a {
  color: #65A11A;
  text-decoration: none;
}

input {
  font-family: inherit;
}
input[type=button] {
	border:1px solid black;
	padding: 1px 6px;
	font-size:14px;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

svg,
img {
  /*display: block; Из-за этой строчки глюк в админке в медиабиблиотеке */
  flex-shrink: 0;
}

svg,
path,
circle {
  transition: inherit;
}

body {
  color: #333333;
  font-size: 16px;
  line-height: 24px;
  font-family: Golos;
  overflow-x: hidden;
}

.title-h2 {
  font-size: 30px;
  line-height: 36px;
}

.title-h4 {
  font-size: 18px;
  line-height: 24px;
}

.font-18 {
  font-size: 18px;
  line-height: 24px;
}

.font-14 {
  font-size: 14px;
  line-height: 20px;
}

.font-12 {
  font-size: 12px;
  line-height: 18px;
}

.--blue {
  color: #0050B2;
}

.color-blue {
  color: #0050B2;
}

.color-black {
  color: black;
}

.color-light {
  color: #76767a;
}

.color-purple {
  color: #A7A8AB;
}

.page-wrapper {
  /*  height: 100vh;*/
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
  overflow-x: hidden;
  background-color: #fff;
}

.wrapper {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 60px;
  padding-right: 60px;
}
@media (max-width: 1919px) {
  .wrapper {
    max-width: 1600px;
  }
}
@media (max-width: 1279px) {
  .wrapper {
    max-width: 1200px;
  }
}
@media (max-width: 767px) {
  .wrapper {
    max-width: 750px;
    padding-left:20px;
    padding-right:20px;
  }
}

.link {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #65A11A;
  fill: #65A11A;
  stroke: #65A11A;
  transition: 0.2s;
}
.link:hover {
  color: #416415;
  fill: #416415;
  stroke: #416415;
}

.divider {
  width: 100%;
  height: 1px;
  background-color: rgba(167, 168, 171, 0.4);
}

.press-center-page__search {
  margin-top: 40px;
}
.press-center-page__content {
  margin-top: 80px;
}
.press-center-page__load-more {
  margin-top: 64px;
  max-width: 1024px;
  display: flex;
  justify-content: center;
}
.press-center-page__press-management {
  margin-top: 80px;
}
.press-center-page__press-management-title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: black;
}
.press-center-page .news-grid {
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: repeat(4, 320px);
  grid-gap: 32px;
}
.press-center-page .news-grid .news-grid-item {
  display: block;
}
.press-center-page .news-grid .news-grid-item__image {
  z-index: 1;
}
.press-center-page .news-grid .news-grid-item__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.press-center-page .news-grid .news-grid-item__date {
  font-size: 12px;
  line-height: 18px;
  color: #A7A8AB;
}
.press-center-page .news-grid .news-grid-item__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.press-center-page .news-grid .news-grid-item__excerpt {
  display: none;
}
.press-center-page .news-grid .news-grid-item__tag {
  font-size: 14px;
  line-height: 20px;
  color: #0050B2;
  transition: stroke 0.3s;
}
.press-center-page .news-grid__slider {
  display: flex;
  gap: 32px;
  width: 100vw;
  overflow-x: auto;
  overflow-y: hidden;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  margin: 0 calc(-50vw + 250px);
  padding: 0 calc(50vw - 250px);
}
.press-center-page .news-grid__slider::-webkit-scrollbar {
  display: none;
}
.press-center-page .news-grid__slider .news-grid-item {
  flex-shrink: 0;
  width: 280px;
  height: 344px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid #A7A8AB;
  transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
}
.press-center-page .news-grid__slider .news-grid-item__image {
  height: 160px;
  border-radius: 6px;
  overflow: hidden;
}
.press-center-page .news-grid__slider .news-grid-item__text-block {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.press-center-page .news-grid__slider .news-grid-item__title {
  margin-top: 12px;
  font-size: 16px;
  line-height: 24px;
  -webkit-line-clamp: 3;
}
.press-center-page .news-grid__slider .news-grid-item__tag {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.press-center-page .news-grid__slider .news-grid-item:hover {
  border-radius: 10px;
  background-color: #f4f7fb;
  border-color: transparent;
}
.press-center-page .news-grid__slider .news-grid-item:hover .news-grid-item__image img {
  transform: scale(1.1);
}
.press-center-page .news-grid__slider .news-grid-item:hover .news-grid-item__tag path {
  stroke: #0050B2;
}
.press-center-page .news-grid__item:nth-child(1) {
  grid-column: 1/3;
}
.press-center-page .news-grid__item:nth-child(1) .news-grid-item {
  position: relative;
  height: 418px;
  border-radius: 10px;
  overflow: hidden;
}
.press-center-page .news-grid__item:nth-child(1) .news-grid-item__image {
  width: 100%;
  height: 100%;
}
.press-center-page .news-grid__item:nth-child(1) .news-grid-item__text-block {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background-color: #fff;
  padding: 20px;
  border-radius: 6px;
}
.press-center-page .news-grid__item:nth-child(1) .news-grid-item__title {
  margin-top: 12px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  -webkit-line-clamp: 2;
}
.press-center-page .news-grid__item:nth-child(1) .news-grid-item__tag {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 1920px) {
  .press-center-page .news-grid__item:nth-child(3) .news-grid-item {
    position: relative;
    padding: 10px;
    height: 418px;
    background-color: #f4f7fb;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
  }
  .press-center-page .news-grid__item:nth-child(3) .news-grid-item__image {
    height: 244px;
    border-radius: 6px;
    overflow: hidden;
  }
  .press-center-page .news-grid__item:nth-child(3) .news-grid-item__text-block {
    margin-bottom: auto;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .press-center-page .news-grid__item:nth-child(3) .news-grid-item__date {
    margin-right: auto;
    height: fit-content;
  }
  .press-center-page .news-grid__item:nth-child(3) .news-grid-item__title {
    order: 3;
    margin-bottom: auto;
    -webkit-line-clamp: 3;
  }
  .press-center-page .news-grid__item:nth-child(3) .news-grid-item__tag {
    height: fit-content;
  }
  .press-center-page .news-grid__item:nth-child(3) .news-grid-item__tag svg {
    display: none;
  }
  .press-center-page .news-grid__item:nth-child(3) .news-grid-item::before {
    content: "";
    z-index: 0;
    position: absolute;
    right: -15px;
    top: 63px;
    background-image: url(img/news-decor.svg);
    background-repeat: no-repeat;
    width: 136px;
    height: 128px;
    filter: invert(70%) sepia(19%) saturate(322%) hue-rotate(177deg) brightness(99%) contrast(89%);
    transition: 0.5s;
  }
  .press-center-page .news-grid__item:nth-child(6) .news-grid-item, .press-center-page .news-grid__item:nth-child(7) .news-grid-item {
    height: 344px;
    border-bottom: 1px solid #A7A8AB;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .press-center-page .news-grid__item:nth-child(6) .news-grid-item__image, .press-center-page .news-grid__item:nth-child(7) .news-grid-item__image {
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
  }
  .press-center-page .news-grid__item:nth-child(6) .news-grid-item__text-block, .press-center-page .news-grid__item:nth-child(7) .news-grid-item__text-block {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .press-center-page .news-grid__item:nth-child(6) .news-grid-item__title, .press-center-page .news-grid__item:nth-child(7) .news-grid-item__title {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
    -webkit-line-clamp: 3;
  }
  .press-center-page .news-grid__item:nth-child(6) .news-grid-item__tag, .press-center-page .news-grid__item:nth-child(7) .news-grid-item__tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .press-center-page .news-grid__item:nth-child(6) .news-grid-item:hover, .press-center-page .news-grid__item:nth-child(7) .news-grid-item:hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
}
@media (max-width: 1919px) {
  .press-center-page .news-grid {
    margin-bottom: 34px;
    grid-template-columns: repeat(3, 320px);
  }
  .press-center-page .news-grid__item:nth-child(6), .press-center-page .news-grid__item:nth-child(7) {
    grid-column: 1/4;
    margin-bottom: -32px;
  }
  .press-center-page .news-grid__item:nth-child(6) .news-grid-item, .press-center-page .news-grid__item:nth-child(7) .news-grid-item {
    padding: 10px;
    height: 220px;
    display: flex;
    gap: 32px;
    border-bottom: 1px solid #A7A8AB;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .press-center-page .news-grid__item:nth-child(6) .news-grid-item__image, .press-center-page .news-grid__item:nth-child(7) .news-grid-item__image {
    width: 310px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
  }
  .press-center-page .news-grid__item:nth-child(6) .news-grid-item__text-block, .press-center-page .news-grid__item:nth-child(7) .news-grid-item__text-block {
    display: flex;
    flex-direction: column;
  }
  .press-center-page .news-grid__item:nth-child(6) .news-grid-item__title, .press-center-page .news-grid__item:nth-child(7) .news-grid-item__title {
    margin-top: 16px;
    -webkit-line-clamp: 2;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
  }
  .press-center-page .news-grid__item:nth-child(6) .news-grid-item__excerpt, .press-center-page .news-grid__item:nth-child(7) .news-grid-item__excerpt {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .press-center-page .news-grid__item:nth-child(6) .news-grid-item__tag, .press-center-page .news-grid__item:nth-child(7) .news-grid-item__tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .press-center-page .news-grid__item:nth-child(6) .news-grid-item:hover, .press-center-page .news-grid__item:nth-child(7) .news-grid-item:hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
}
@media (max-width: 1919px) and (min-width: 1280px) {
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item::before {
    content: "";
    z-index: 0;
    position: absolute;
    right: -15px;
    top: 63px;
    background-image: url(img/news-decor.svg);
    background-repeat: no-repeat;
    width: 136px;
    height: 128px;
    filter: invert(70%) sepia(19%) saturate(322%) hue-rotate(177deg) brightness(99%) contrast(89%);
    transition: 0.5s;
  }
}
@media (max-width: 1919px) and (min-width: 768px) {
  .press-center-page .news-grid__item:nth-child(3) .news-grid-item {
    height: 344px;
    border-bottom: 1px solid #A7A8AB;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .press-center-page .news-grid__item:nth-child(3) .news-grid-item__image {
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
  }
  .press-center-page .news-grid__item:nth-child(3) .news-grid-item__text-block {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .press-center-page .news-grid__item:nth-child(3) .news-grid-item__title {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
    -webkit-line-clamp: 3;
  }
  .press-center-page .news-grid__item:nth-child(3) .news-grid-item__tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .press-center-page .news-grid__item:nth-child(3) .news-grid-item:hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
}
@media (min-width: 1280px) {
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item {
    position: relative;
    padding: 10px;
    height: 418px;
    background-color: #f4f7fb;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
  }
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item__image {
    height: 244px;
    border-radius: 6px;
    overflow: hidden;
  }
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item__text-block {
    margin-bottom: auto;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item__date {
    margin-right: auto;
    height: fit-content;
  }
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item__title {
    order: 3;
    margin-bottom: auto;
    -webkit-line-clamp: 3;
  }
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item__tag {
    height: fit-content;
  }
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item__tag svg {
    display: none;
  }
  .press-center-page .news-grid__item:nth-child(4) .news-grid-item, .press-center-page .news-grid__item:nth-child(5) .news-grid-item {
    height: 344px;
    border-bottom: 1px solid #A7A8AB;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .press-center-page .news-grid__item:nth-child(4) .news-grid-item__image, .press-center-page .news-grid__item:nth-child(5) .news-grid-item__image {
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
  }
  .press-center-page .news-grid__item:nth-child(4) .news-grid-item__text-block, .press-center-page .news-grid__item:nth-child(5) .news-grid-item__text-block {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .press-center-page .news-grid__item:nth-child(4) .news-grid-item__title, .press-center-page .news-grid__item:nth-child(5) .news-grid-item__title {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
    -webkit-line-clamp: 3;
  }
  .press-center-page .news-grid__item:nth-child(4) .news-grid-item__tag, .press-center-page .news-grid__item:nth-child(5) .news-grid-item__tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .press-center-page .news-grid__item:nth-child(4) .news-grid-item:hover, .press-center-page .news-grid__item:nth-child(5) .news-grid-item:hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
}
@media (max-width: 1279px) {
  .press-center-page .news-grid {
    grid-template-columns: repeat(2, 320px);
  }
  .press-center-page .news-grid__item:nth-child(4), .press-center-page .news-grid__item:nth-child(5) {
    grid-column: 1/3;
    margin-bottom: -32px;
  }
  .press-center-page .news-grid__item:nth-child(4) .news-grid-item, .press-center-page .news-grid__item:nth-child(5) .news-grid-item {
    padding: 10px;
    height: 220px;
    display: flex;
    gap: 32px;
    border-bottom: 1px solid #A7A8AB;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .press-center-page .news-grid__item:nth-child(4) .news-grid-item__image, .press-center-page .news-grid__item:nth-child(5) .news-grid-item__image {
    width: 310px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
  }
  .press-center-page .news-grid__item:nth-child(4) .news-grid-item__text-block, .press-center-page .news-grid__item:nth-child(5) .news-grid-item__text-block {
    display: flex;
    flex-direction: column;
  }
  .press-center-page .news-grid__item:nth-child(4) .news-grid-item__title, .press-center-page .news-grid__item:nth-child(5) .news-grid-item__title {
    margin-top: 16px;
    -webkit-line-clamp: 2;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
  }
  .press-center-page .news-grid__item:nth-child(4) .news-grid-item__excerpt, .press-center-page .news-grid__item:nth-child(5) .news-grid-item__excerpt {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .press-center-page .news-grid__item:nth-child(4) .news-grid-item__tag, .press-center-page .news-grid__item:nth-child(5) .news-grid-item__tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .press-center-page .news-grid__item:nth-child(4) .news-grid-item:hover, .press-center-page .news-grid__item:nth-child(5) .news-grid-item:hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
  .press-center-page .news-grid__item:nth-child(6), .press-center-page .news-grid__item:nth-child(7) {
    grid-column: 1/3;
  }
}
@media (max-width: 1279px) and (min-width: 768px) {
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item {
    height: 344px;
    border-bottom: 1px solid #A7A8AB;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item__image {
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
  }
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item__text-block {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item__title {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
    -webkit-line-clamp: 3;
  }
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item__tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item:hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
}
@media (max-width: 767px) {
  .press-center-page .news-grid {
    grid-template-columns: 100%;
  }
  .press-center-page .news-grid__item:nth-child(1) {
    grid-column: 1;
  }
  .press-center-page .news-grid__item:nth-child(1) .news-grid-item__text-block {
    left: 32px;
    right: 32px;
  }
  .press-center-page .news-grid__item:nth-child(1) .news-grid-item__title {
    -webkit-line-clamp: 4;
  }
  .press-center-page .news-grid__item:nth-child(2), .press-center-page .news-grid__item:nth-child(3) {
    grid-column: 1;
    margin-bottom: -32px;
  }
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item, .press-center-page .news-grid__item:nth-child(3) .news-grid-item {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-bottom: 1px solid #A7A8AB;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item__image, .press-center-page .news-grid__item:nth-child(3) .news-grid-item__image {
    width: 100%;
    height: 200px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
  }
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item__title, .press-center-page .news-grid__item:nth-child(3) .news-grid-item__title {
    margin-top: 16px;
    -webkit-line-clamp: 2;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
  }
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item__excerpt, .press-center-page .news-grid__item:nth-child(3) .news-grid-item__excerpt {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item__tag, .press-center-page .news-grid__item:nth-child(3) .news-grid-item__tag {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .press-center-page .news-grid__item:nth-child(2) .news-grid-item:hover, .press-center-page .news-grid__item:nth-child(3) .news-grid-item:hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
  .press-center-page .news-grid__item:nth-child(4), .press-center-page .news-grid__item:nth-child(5), .press-center-page .news-grid__item:nth-child(6), .press-center-page .news-grid__item:nth-child(7) {
    grid-column: 1;
  }
  .press-center-page .news-grid__item:nth-child(4) .news-grid-item, .press-center-page .news-grid__item:nth-child(5) .news-grid-item, .press-center-page .news-grid__item:nth-child(6) .news-grid-item, .press-center-page .news-grid__item:nth-child(7) .news-grid-item {
    flex-direction: column;
    gap: 20px;
    height: auto;
  }
  .press-center-page .news-grid__item:nth-child(4) .news-grid-item__image, .press-center-page .news-grid__item:nth-child(5) .news-grid-item__image, .press-center-page .news-grid__item:nth-child(6) .news-grid-item__image, .press-center-page .news-grid__item:nth-child(7) .news-grid-item__image {
    width: 100%;
    height: 200px;
  }
  .press-center-page .news-grid__item:nth-child(4) .news-grid-item__text-block, .press-center-page .news-grid__item:nth-child(5) .news-grid-item__text-block, .press-center-page .news-grid__item:nth-child(6) .news-grid-item__text-block, .press-center-page .news-grid__item:nth-child(7) .news-grid-item__text-block {
    display: block;
  }
  .press-center-page .news-grid__item:nth-child(4) .news-grid-item__tag, .press-center-page .news-grid__item:nth-child(5) .news-grid-item__tag, .press-center-page .news-grid__item:nth-child(6) .news-grid-item__tag, .press-center-page .news-grid__item:nth-child(7) .news-grid-item__tag {
    margin-top: 18px;
  }
}
@media (max-width: 563px) {
  .press-center-page .news-grid__item:nth-child(1) {
    margin: 0 -32px;
  }
  .press-center-page .news-grid__item:nth-child(1) .news-grid-item {
    border-radius: 0px;
  }
  .press-center-page .news-grid__slider {
    margin: 0 -32px;
    padding: 0 32px;
  }
}
.press-center-page .news-grid__item:hover .news-grid-item__image img {
  transform: scale(1.1);
}
.press-center-page .news-grid__item:hover .news-grid-item__tag path {
  stroke: #0050B2;
}
.press-center-page .news-grid__item:hover .news-grid-item::before {
  filter: invert(49%) sepia(28%) saturate(1862%) hue-rotate(181deg) brightness(93%) contrast(102%);
}
.press-center-page .news-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.press-center-page .news-list .news-list-item {
  display: flex;
  height: 220px;
  gap: 32px;
  padding: 10px;
  border-bottom: 1px solid #A7A8AB;
  transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
}
.press-center-page .news-list .news-list-item__image {
  flex-shrink: 0;
  width: 310px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
}
.press-center-page .news-list .news-list-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.press-center-page .news-list .news-list-item__text-block {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.press-center-page .news-list .news-list-item__date {
  font-size: 12px;
  line-height: 18px;
  color: #A7A8AB;
}
.press-center-page .news-list .news-list-item__title {
  margin-top: 16px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.press-center-page .news-list .news-list-item__excerpt {
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}
.press-center-page .news-list .news-list-item__tag {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  line-height: 20px;
  color: #0050B2;
  transition: 0.3s;
}
.press-center-page .news-list .news-list-item:hover {
  border-color: transparent;
  border-radius: 10px;
  background-color: #f4f7fb;
}
.press-center-page .news-list .news-list-item:hover .news-list-item__image img {
  transform: scale(1.1);
}
.press-center-page .news-list .news-list-item:hover .news-list-item__tag path {
  stroke: #0050B2;
}
@media (max-width: 767px) {
  .press-center-page .news-list .news-list-item {
    flex-direction: column;
    gap: 20px;
    height: auto;
  }
  .press-center-page .news-list .news-list-item__image {
    width: 100%;
    height: 200px;
  }
  .press-center-page .news-list .news-list-item__tag {
    margin-top: 18px;
  }
}
.press-center-page .media-grid {
  display: grid;
  grid-template-columns: repeat(3, 320px);
  grid-gap: 32px;
}
.press-center-page .media-grid .media-grid-item {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(167, 168, 171, 0.4);
  transition: 0.5s;
}
.press-center-page .media-grid .media-grid-item__image {
  height: 169px;
  width: 300px;
  border-radius: 6px;
  overflow: hidden;
}
.press-center-page .media-grid .media-grid-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.press-center-page .media-grid .media-grid-item__text-block {
  margin-top: 10px;
  padding: 10px;
  height: 154px;
  display: flex;
  flex-direction: column;
}
.press-center-page .media-grid .media-grid-item__date {
  font-size: 12px;
  line-height: 18px;
  color: #A7A8AB;
}
.press-center-page .media-grid .media-grid-item__title {
  margin-top: 12px;
  color: black;
  font-size: 14px;
  line-height: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}
.press-center-page .media-grid .media-grid-item__bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.press-center-page .media-grid .media-grid-item__tag {
  color: #0050B2;
  font-size: 14px;
  line-height: 20px;
  margin-right: auto;
}
.press-center-page .media-grid .media-grid-item__count {
  font-size: 14px;
  line-height: 20px;
  color: #A7A8AB;
}
.press-center-page .media-grid .media-grid-item__icon {
  transition: 0.3s;
}
.press-center-page .media-grid .media-grid-item:hover {
  background-color: #f4f7fb;
}
.press-center-page .media-grid .media-grid-item:hover .media-grid-item__image img {
  transform: scale(1.05);
}
@media (max-width: 1279px) {
  .press-center-page .media-grid {
    grid-template-columns: repeat(2, 320px);
  }
}
@media (max-width: 767px) {
  .press-center-page .media-grid {
    grid-template-columns: 1fr;
  }
  .press-center-page .media-grid .media-grid-item {
    justify-self: center;
    max-width: 400px;
    width: 100%;
  }
  .press-center-page .media-grid .media-grid-item__image {
    width: auto;
  }
}
.press-center-page .leader-card {
  max-width: 1024px;
  display: flex;
  gap: 20px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #A7A8AB;
}
.press-center-page .leader-card__image img {
  display: block;
  border-radius: 6px;
  width: 280px;
  height: 280px;
  object-fit: cover;
}
.press-center-page .leader-card__info {
  position: relative;
  padding: 10px;
  flex-grow: 1;
}
.press-center-page .leader-card__surname {
  font-size: 30px;
  line-height: 36px;
  color: black;
}
.press-center-page .leader-card__name {
  margin-top: 8px;
  font-size: 22px;
  line-height: 28px;
  color: #333333;
}
.press-center-page .leader-card__title {
  margin-top: 12px;
  font-size: 16px;
  line-height: 24px;
  color: #76767a;
}
.press-center-page .leader-card__contacts {
  margin-top: 16px;
  font-size: 16px;
  line-height: 24px;
  color: black;
}
.press-center-page .leader-card__phones {
  margin-top: 8px;
  display: flex;
  gap: 20px;
  font-size: 16px;
  line-height: 24px;
  color: #333333;
}
.press-center-page .leader-card__phones p {
  display: flex;
  align-items: center;
  gap: 12px;
}
.press-center-page .leader-card__phones p span {
  font-size: 12px;
  line-height: 24px;
  color: #76767a;
}
.press-center-page .leader-card__mail {
  display: block;
  margin-top: 32px;
  font-size: 16px;
  line-height: 24px;
  color: #0050B2;
  transition: 0.2s;
}
.press-center-page .leader-card__mail:hover {
  color: #0061D9;
}
.press-center-page .leader-card__cabinet {
  position: absolute;
  right: 10px;
  bottom: 10px;
  color: #333333;
  transition: 0.2s;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
@media (max-width: 1279px) {
  .press-center-page .leader-card__image img {
    width: 134px;
    height: 134px;
  }
  .press-center-page .leader-card__info {
    padding: 0;
  }
  .press-center-page .leader-card__contacts {
    margin-top: 32px;
  }
  .press-center-page .leader-card__cabinet {
    position: static;
    margin-top: 32px;
    margin-bottom: 10px;
  }
}
@media (max-width: 767px) {
  .press-center-page .leader-card {
    flex-direction: column;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .press-center-page .leader-card__image img {
    width: 100%;
    height: auto;
  }
  .press-center-page .leader-card__phones {
    flex-direction: column;
  }
}
.press-center-page .management-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 320px 564px;
  grid-template-rows: 437px auto;
  grid-gap: 32px;
}
.press-center-page .management-grid__link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0050B2;
  font-size: 14px;
  line-height: 20px;
}
.press-center-page .management-grid__link svg {
  flex-shrink: 0;
}
.press-center-page .management-grid__link--large {
  align-items: start;
}
.press-center-page .management-grid .management-main-block {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-bottom: 1px solid rgba(167, 168, 171, 0.4);
}
.press-center-page .management-grid .management-main-block__contacts {
  flex-grow: 1;
}
.press-center-page .management-grid .management-main-block__phone {
  font-size: 16px;
  line-height: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.press-center-page .management-grid .management-main-block__phone span {
  font-size: 12px;
  line-height: 18px;
  color: #76767a;
}
.press-center-page .management-grid .management-main-block__cabinet {
  font-size: 12px;
  line-height: 18px;
  margin-top: 28px;
}
.press-center-page .management-grid .management-main-block .management-main-card {
  display: flex;
  gap: 12px;
}
.press-center-page .management-grid .management-main-block .management-main-card__image {
  width: 144px;
  height: 144px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.press-center-page .management-grid .management-main-block .management-main-card__surname {
  font-size: 16px;
  line-height: 24px;
  color: black;
}
.press-center-page .management-grid .management-main-block .management-main-card__name {
  font-size: 14px;
  line-height: 20px;
  color: #333333;
}
.press-center-page .management-grid .management-main-block .management-main-card__title {
  font-size: 12px;
  line-height: 18px;
  color: #76767a;
}
.press-center-page .management-grid .management-list-block {
  height: 100%;
  border-bottom: 1px solid rgba(167, 168, 171, 0.4);
}
.press-center-page .management-grid .management-list-block__item {
  height: 110px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid rgba(167, 168, 171, 0.4);
}
.press-center-page .management-grid .management-list-block__left {
  width: 320px;
}
.press-center-page .management-grid .management-list-block__surname {
  font-size: 16px;
  line-height: 24px;
  color: black;
}
.press-center-page .management-grid .management-list-block__name {
  font-size: 14px;
  line-height: 20px;
  color: #333333;
}
.press-center-page .management-grid .management-list-block__title {
  font-size: 12px;
  line-height: 18px;
  color: #333333;
}
.press-center-page .management-grid .management-list-block__phone {
  font-size: 16px;
  line-height: 24px;
  color: #333333;
  display: flex;
  gap: 12px;
  align-items: center;
}
.press-center-page .management-grid .management-list-block__phone span {
  font-size: 12px;
  line-height: 18px;
  color: #76767a;
}
.press-center-page .management-grid .management-list-block__cabinet {
  margin-top: 28px;
  font-size: 12px;
  line-height: 18px;
}
@media (max-width: 1279px) {
  .press-center-page .management-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .press-center-page .management-grid .management-main-block {
    flex-direction: row;
    border: none;
  }
  .press-center-page .management-grid .management-main-block .management-main-card {
    width: 320px;
  }
}
@media (max-width: 767px) {
  .press-center-page .management-grid .management-main-block {
    flex-direction: column;
  }
  .press-center-page .management-grid .management-main-block .management-main-card {
    flex-direction: column;
  }
  .press-center-page .management-grid .management-list-block__item {
    flex-direction: column;
    height: fit-content;
  }
}

.header {
  z-index: 10;
}

.header__panel {
  background-color: #F5FAEF;
}

.header__panel-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 32px;
  align-items: center;
}
@media (max-width: 1279px) {
  .header__panel-columns {
    grid-template-columns: 1fr;
    grid-gap: 0;
    padding-top: 14px;
  }
}
.header__panel-authority-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #A7A8AB;
  max-width: 500px;
}
.header__panel-authority-title svg {
  flex-shrink: 0;
}

.header__panel-buttons {
  padding: 5px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width:768px) {
.header__panel-buttons {
	font-size:14px;
	line-height:16px;
}
}

.header__main-columns {
  padding-top: 32px;
  padding-bottom: 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-gap: 98px;
  align-items: center;
}
@media (max-width: 1919px) {
  .header__main-columns {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 1279px) {
  .header__main-columns {
    grid-gap:0;
  }
}
@media (max-width: 767px) {
  .header__main-columns {
    grid-template-columns: 1fr;
  }
}

.header__main-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  line-height:16px;
  color:#333333;
}
.header__main-logo span {
	display:block;
	margin-top:5px;
}
.header__main-logo-subtitle {
  white-space: nowrap;
}

.header__main-logo-title {
  margin-top: 4px;
  color: black;
  font-size: 19px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.02;
}

.header__main-search {
  grid-column: 3;
  position: relative;
  display: flex;
  align-items: center;
}
@media (max-width: 1919px) {
  .header__main-search {
    grid-column: 2;
  }
}
@media (max-width: 1279px) {
  .header__main-search {
    display: none;
  }
}

.header__main-search-submit {
  position: absolute;
  left: 16px;
  stroke: #0050B2;
  transition: 0.2s;
}
.header__main-search-submit:hover {
  stroke: #0061D9;
}

.header__main-search-input {
  width: 100%;
  height: 50px;
  padding-left: 60px;
  padding-right: 15px;
  background-color: #F5FAEF;
  border-radius: 10px;
  text-align: right;
  color: #333333;
  transition: background-color 0.5s;
}
.header__main-search-input::placeholder {
  color: #76767a;
}
.header__main-search-input:focus, .header__main-search-input:hover {
  background-color: #DCECC8;
  outline: none;
}

.header__main-sites-button {
  height: 50px;
  width: 320px;
  background-color: rgba(121, 76, 138, 0.1);
  border-radius: 10px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.5s;
}
.header__main-sites-button:hover {
  background-color: rgba(248, 58, 8, 0.2);
}
@media (max-width: 767px) {
  .header__main-sites-button {
    display: none;
  }
}

.header__menu {
  position: relative;
  height: 60px;
  margin: 0 auto;
}

.header-menu {
  position: relative;
  z-index: 1000;
  height: 60px;
}
.header-menu--open {
	height:initial;
}
.header-menu--hover .header-menu__container {
  background-color: #F5FAEF;
}
.header-menu--open .header-menu__container {
  background-color: #F5FAEF;
}
.header-menu--open .header-menu__button--more .more-icon {
  background: transparent !important;
  transition: 0;
  background-color: #A7A8AB;
}
.header-menu--open .header-menu__button--more .more-icon::before {
  left: 0;
  top: 2px;
  transform-origin: 50% 50%;
  transform: rotate(45deg) scaleX(3);
  height: 2px;
  border-radius: 1px;
  background-color: #65A21A;
  transition: 0.2s all, 0.2s 0.2s transform;
}
.header-menu--open .header-menu__button--more .more-icon::after {
  right: 0;
  top: 2px;
  transform-origin: 50% 50%;
  transform: rotate(-45deg) scaleX(3);
  height: 2px;
  border-radius: 1px;
  background-color: #A7A8AB;
  transition: 0.2s all, 0.2s 0.2s transform;
}
.header-menu--open .header-menu__button--more:hover .more-icon::before,
.header-menu--open .header-menu__button--more:hover .more-icon::after {
  background-color: #0061D9;
}
.header-menu--authority .header-menu__expanded-nav {
  grid-template-columns: repeat(7, 1fr);
}
@media (max-width: 1919px) {
  .header-menu--authority .header-menu__expanded-nav {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1279px) {
  .header-menu--authority .header-menu__expanded-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .header-menu--authority .header-menu__expanded-nav {
    grid-template-columns: 100%;
  }
}
@media (max-width: 1919px) {
  .header-menu--open .header-menu__expanded {
    max-height: 642px;
  }
}
@media (max-width: 767px) {
  .header-menu--open .header-menu__button--more .more-icon {
    background: transparent !important;
    transition: 0;
  }
  .header-menu--open .header-menu__button--more .more-icon::before {
    top: 0;
    bottom: auto;
    transform-origin: 50% 50%;
    transform: rotate(45deg);
    transition: 0.2s all, 0.2s 0.2s transform;
  }
  .header-menu--open .header-menu__button--more .more-icon::after {
    bottom: 0;
    top: auto;
    transform-origin: 50% 50%;
    transform: rotate(-45deg);
    transition: 0.2s all, 0.2s 0.2s transform;
  }
}

.header-menu__container {
  position: relative;
  width: 100%;
  z-index: 10;
  padding: 0 32px;
  border-radius: 10px;
  background-color: #DCECC8;
  transition: background-color 0.3s;
}
@media (max-width: 500px) {
  .header-menu__container {
    border-radius: 0;
  }
}

.header-menu__main {
  display: flex;
  height: 60px;
  justify-content: space-between;
  align-items: center;
}

.header-menu__main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
@media (max-width: 767px) {
  .header-menu__main-nav {
    display: none;
  }
}

.header-menu__main-link {
  font-size: 15px;
  line-height: 20px;
  height: 60px;
  padding-top: 20px;
  transition: color 0.3s;
  color:#333333;
}
.header-menu__main-link:hover {
  color: black;
}
.header-menu__main-link--hover {
  border-bottom: 2px solid black;
}
@media (max-width: 1279px) {
  .header-menu__main-link {
    display: none;
  }
  .header-menu__main-link:nth-child(1), .header-menu__main-link:nth-child(2), .header-menu__main-link:nth-child(3), .header-menu__main-link:nth-child(4) {
    display: flex;
  }
}

.header-menu__button {
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-menu__button--sites {
  display: none;
  height: 44px;
  width: 141px;
  gap: 12px;
  border-radius: 6px;
  border: 1px solid #A7A8AB;
  transition: border 0.2s, color 0.2s;
}
.header-menu__button--more {
  width: 34px;
  height: 34px;
}
.header-menu__button--more .more-icon {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background-color: #65A21A;
  transition: all 0.2s 0.2s, 0.2s background-color;
}
.header-menu__button--more .more-icon::before {
  position: absolute;
  left: -14px;
  content: "";
  width: 6px;
  height: 6px;
  border-radius: inherit;
  background-color: #65A21A;
  transition: 0.2s all, 0.2s 0.2s right, 0.2s 0.2s left;
}
.header-menu__button--more .more-icon::after {
  position: absolute;
  right: -14px;
  content: "";
  width: 6px;
  height: 6px;
  border-radius: inherit;
  background-color: #65A21A;
  transition: 0.2s all, 0.2s 0.2s left, 0.2s 0.2s right;
}
.header-menu__button--more:hover .more-icon {
  background-color: #65A21A;
}
.header-menu__button--more:hover .more-icon::after, .header-menu__button--more:hover .more-icon::before {
  background-color: #65A21A;
}
.header-menu__button--search {
  display: none;
  stroke: #0050B2;
  transition: 0.2s;
}
.header-menu__button--search:hover {
  stroke: #65A21A;
}
@media (max-width: 1279px) {
  .header-menu__button--search {
    display: flex;
  }
}
@media (max-width: 767px) {
  .header-menu__button {
    border-radius: 6px;
    border: 1px solid #A7A8AB;
    transition: border 0.2s, color 0.2s;
  }
  .header-menu__button:hover {
    border-color: #0061D9;
    color: #0061D9;
  }
  .header-menu__button--sites {
    display: flex;
    height: 44px;
    width: 141px;
    gap: 12px;
  }
  .header-menu__button--more {
    height: 44px;
    width: 44px;
  }
  .header-menu__button--more .more-icon {
    height: 2px;
    width: 18px;
    border-radius: 1px;
  }
  .header-menu__button--more .more-icon:before {
    top: -6px;
    left: 0;
    height: 2px;
    width: 18px;
    border-radius: 1px;
    transition: 0.2s all, 0.2s 0.2s top;
  }
  .header-menu__button--more .more-icon:after {
    bottom: -6px;
    right: 0;
    height: 2px;
    width: 18px;
    border-radius: 1px;
    transition: 0.2s all, 0.2s 0.2s bottom;
  }
  .header-menu__button--search {
    display: none;
  }
}

.header-menu__expanded {
  max-height: 0;
  overflow: hidden;
  transition: 0.5s;
}
@media (max-width: 767px) {
  .header-menu__expanded {
    --opened-height: 0px;
  }
}

.header-menu__expanded-search {
  margin-top: 32px;
  max-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media(max-width:720px) {
	.header-menu__expanded-search{
		flex-direction:column;
		gap:10px;
	}
}
.header-menu__expanded-search .header__main-search-submit {
  position: absolute;
  left: 16px;
  stroke: #0050B2;
  transition: 0.2s;
}
.header-menu__expanded-search button:hover {
  stroke: #0061D9;
}
.header-menu__expanded-search input {
  width: 500px;
  max-width:100%;
  height: 50px;
  padding-left: 50px;
  padding-right: 15px;
  background-color: #f4f7fb;
  border: 1px solid #A7A8AB;
  border-radius: 10px;
  text-align: right;
  color: #333333;
  transition: 0.3s;
}
.header-menu__expanded-search input::placeholder {
  color: #76767a;
}
.header-menu__expanded-search input:focus, .header-menu__expanded-search input:hover {
  outline: none;
  border: 1px solid #0061D9;
}
.header__main-search-cnt {
	display:flex;
}
.header__main-search-cnt button {
	cursor: pointer;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #0050B2;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0px;
  flex-direction: row;
  stroke: #0050B2;
  fill: #0050B2;
  position:relative;
}
.header__main-search-cnt button:before {
    content: attr(data-content);
}
.header__main-search-cntlist {
	display:none;
	position:absolute;
	padding:3px;
	top:21px;
	right:20px;
	list-style:none;
}
.header-menu__expanded-nav {
  margin: 32px 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  column-gap: 32px;
  row-gap: 40px;
  position: relative;
}
@media (max-width: 1919px) {
  .header-menu__expanded-nav {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1279px) {
  .header-menu__expanded-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .header-menu__expanded-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
    height: fit-content;
  }
}

@media (max-width: 767px) {
  .header-menu__expanded-block {
    max-height: 44px;
    --max-height: fit-content;
    overflow: hidden;
    transition: max-height 0.3s;
  }
  .header-menu__expanded-block--open {
    max-height: var(--max-height);
  }
  .header-menu__expanded-block--open .header-menu__expanded-block-title {
    border-bottom: 1px solid #A7A8AB;
  }
  .header-menu__expanded-block--open .header-menu__expanded-block-title::after {
    transform: rotate(-90deg);
  }
}

.header-menu__expanded-block-title {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: black;
  text-transform: uppercase;
  pointer-events: none;
}
@media (max-width: 767px) {
  .header-menu__expanded-block-title {
    font-weight: normal;
    pointer-events: all;
    cursor: pointer;
    padding: 10px 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: start;
  }
  .header-menu__expanded-block-title:after {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url(img/svg/arrow.svg);
    transition: 0.3s;
  }
  .header-menu__expanded-block.d-none {
  	display:block !important;
  }
  .header-menu__expanded-block.d-none a {
  	text-transform:uppercase;
  	color:black;
  	font-size:14px;
  	line-height:20px;
  }
}

.header-menu__expanded-block-list {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.header-menu__expanded-block-link {
  width: fit-content;
  font-size: 14px;
  line-height: 20px;
  transition: 0.3s;
  color:#333333;
}
.header-menu__expanded-block-link:hover {
  color: black;
}
.header-menu__dropdowns-list {
  display: none;
  padding: 32px 0;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 32px;
  row-gap: 24px;
}
@media (max-width: 1919px) {
  .header-menu__dropdowns-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.header-menu__dropdowns-list-link {
  font-size: 14px;
  line-height: 20px;
  transition: 0.3s;
	color:#333333;
}
.header-menu__dropdowns-list-link:hover {
  color: black;
}

.page {
  flex-grow: 1;
  margin-top: 0px;
  padding-bottom: 0px;
}
@media (max-width: 767px) {
  .page {
    margin-top: 40px;
    padding-bottom: 80px;
  }
  .menu-sitemap-tree .page{
    margin-top: 0px;
    padding-bottom: 0px;
  }
}

.page__go-back {
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
  color: #0050B2;
  fill: #0050B2;
  display: flex;
  align-items: center;
}
.page__go-back span {
  margin-left: 12px;
}
.page__go-back svg {
  transition: 0.3s;
}
.page__go-back:hover svg {
  transform: translateX(6px);
}
@media (max-width: 767px) {
  .page__go-back {
    margin-bottom: 24px;
  }
}

.page__breadcrumb {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #0050B2;
  fill: #0050B2;
}

.page__title {
  color: #000000;
  max-width: 100%;
  font-size: 30px;
  line-height: 36px;
  text-align:center;
  margin-bottom: 30px;
}
@media (max-width: 767px) {
  .page__title {
    font-size: 20px;
    line-height: 26px;
    text-align:left;
  }
}

.page__return-back {
  margin-bottom: 42px;
}
.page__return-back:hover svg {
  transform: translateX(6px);
}
@media (max-width: 767px) {
  .page__return-back {
    margin-bottom: 24px;
  }
}

.page__menu {
  margin-top: 40px;
  max-width: 100%;
}
@media (max-width: 563px) {
  .page__menu {
    max-width: unset;
    margin-left: calc(688px - 50vw);
    margin-right: calc(688px - 50vw);
  }
}
@media (max-width: 563px) and (max-width: 1919px) {
  .page__menu {
    margin-left: calc(512px - 50vw);
    margin-right: calc(512px - 50vw);
  }
}
@media (max-width: 563px) and (max-width: 1279px) {
  .page__menu {
    margin-left: calc(336px - 50vw);
    margin-right: calc(336px - 50vw);
  }
}
@media (max-width: 563px) and (max-width: 767px) {
  .page__menu {
    margin-left: calc(250px - 50vw);
    margin-right: calc(250px - 50vw);
  }
}
@media (max-width: 563px) and (max-width: 563px) {
  .page__menu {
    margin-left: -32px;
    margin-right: -32px;
  }
}

.page__search {
  margin-top: 40px;
}

.page__content {
  margin-top: 64px;
}

.page-menu {
  padding: 14px;
  width: fit-content;
  background-color: #f4f7fb;
  border-radius: 6px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 100%;
  overflow-x: hidden;
}
@media (max-width: 563px) {
  .page-menu {
    width: 100vw;
    padding: 14px 32px;
    border-radius: 0px;
  }
}
.page-menu--scroll .page-menu__button {
  display: flex;
  align-items: center;
  gap: 5px;
}
.page-menu--scroll .page-menu__links {
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.page-menu--scroll .page-menu__links::-webkit-scrollbar {
  display: none;
}
.page-menu--open .page-menu__links {
  flex-wrap: wrap;
}
.page-menu--open .page-menu__button svg {
  transform: rotate(180deg);
}
.page-menu--open .page-menu__button::before {
  content: "Свернуть";
}

.page-menu__button {
  display: none;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 12px;
  line-height: 18px;
  color: #0050B2;
  fill: #0050B2;
  transition: fill 0.2s;
}
.page-menu__button:before {
  content: "Показать все";
}
@media (max-width: 1279px) {
  .page-menu__button:before {
    content: "" !important;
  }
}

.page-menu__links {
  width: fit-content;
  padding: 0 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size:12px;
}
.page-menu__links a {
  display: block;
  flex-shrink: 0;
  font-size: 12px;
  line-height: 24px;
  font-weight: 500;
  color: #333333;
  transition: 0.2s;
}
.page-menu__links a:hover {
  color: #0061D9;
}
.page-menu__links a.current {
  pointer-events: none;
}

.page-pagination {
  display: flex;
  gap: 44px;
  align-items: center;
}

.page-pagination__pages {
  display: flex;
  align-items: center;
  gap: 30px;
}

.page-pagination__page {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #0050B2;
  fill: #0050B2;
  transition: 0.3s;
  width: 24px;
  height: 24px;
  display: block;
  line-height: 24px;
  text-align: center;
}
.page-pagination__page--current {
  color: black;
  pointer-events: none;
}
.page-pagination__page:hover {
  color: #0061D9;
}

.page-pagination__next {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #0050B2;
  display: flex;
  align-items: center;
  gap: 12px;
  fill: #0050B2;
  transition: 0.3s;
}
.page-pagination__next:hover {
  color: #0061D9;
  fill: #0061D9;
}

.pre-footer {
  background-image: url(img/forest2.png);
  background-position:top center;
  background-repeat:no-repeat;
	height:201px;
}
.footer {
  background-color: #DCECC8;
}

.footer__container {
  padding: 40px 0;
  height: 448px;
  display: flex;
  gap: 32px;
  background-image: url(img/trees.png);
  background-repeat: no-repeat;
  background-position: bottom 40px right;
}
@media (max-width: 1919px) {
  .footer__container {
    background: none;
  }
}
@media (max-width: 1279px) {
  .footer__container {
    flex-wrap: wrap;
    height: auto;
    gap: 48px 32px;
  }
}
@media (max-width: 767px) {
  .footer__container {
    position: relative;
    gap: 60px 32px;
    padding-bottom: 104px;
  }
}

.footer__block {
  width: 360px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.footer__block:not(:first-child) {
  border-left: 1px solid #A7A8AB;
  padding-left: 20px;
}
@media (max-width: 1279px) {
  .footer__block:nth-of-type(1) {
    width: 100%;
  }
  .footer__block:nth-of-type(2) {
    height: 368px;
    border-left: none;
  }
  .footer__block:nth-of-type(3) {
    height: 368px;
  }
  .footer__block {
  	width:47.5%;
  }
}
@media (max-width: 767px) {
  .footer__block:nth-of-type(2) {
    width: calc(50% - 47px);
    height: fit-content;
  }
  .footer__block:nth-of-type(3) {
    width: calc(50% + 15px);
    height: fit-content;
  }
  .footer__block-item:last-child() {
    padding-bottom: 0;
  }
  .footer__block .switch-view {
    position: absolute;
    bottom: 40px;
    right: 0;
  }
  .footer__block .send-request {
    position: absolute;
    bottom: 40px;
    left: 0;
  }
}

.footer__contacts {
  display: flex;
  flex-direction: column;
}
.footer__contacts-item {
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 20px;
  transition: 0.2s;
  color:#000000;
}
.footer__contacts-item svg {
  fill: #65A11A;
  stroke: #65A11A;
  flex-shrink: 0;
  transition: inherit;
}
.footer__contacts-item span {
  color: #65A11A;
  font-size: 12px;
  line-height: 18px;
}
.footer__contacts-item--mail {
  margin: 16px 0;
}
.footer__contacts-item--address {
  align-items: start;
}
.footer__contacts-item:hover {
  color: #65A11A;
}
@media (max-width: 1279px) {
  .footer__contacts {
    margin-top: 48px;
    height: 104px;
    flex-wrap: wrap;
    gap: 40px 32px;
  }
  .footer__contacts-item {
    margin: 0;
    padding: 0;
    width: 320px;
  }
}
@media (max-width: 767px) {
  .footer__contacts {
    margin-top: 28px;
    flex-direction: column;
    gap: 40px;
    height: auto;
  }
  .footer__contacts-item {
    width: fit-content;
    max-width: 340px;
  }
  .footer__contacts-item:nth-child(2) {
    margin-top: -20px;
  }
  .footer__contacts-item:nth-child(1), .footer__contacts-item:nth-child(2) {
    white-space: nowrap;
  }
}

.footer__bottom {
  padding: 20px 0;
  border-top: 1px solid #A7A8AB;
  display: flex;
  gap: 33px;
}
@media (max-width: 767px) {
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
}

.footer__label {
  flex-shrink: 0;
  width: 320px;
  font-size: 12px;
  line-height: 18px;
  color: #76767a;
}
@media (max-width: 1279px) {
  .footer__label {
    width: 144px;
  }
}
@media (max-width: 767px) {
  .footer__label {
    width: 100%;
    text-align: center;
  }
}

.footer__cookies {
  max-width: 671px;
  font-size: 12px;
  line-height: 18px;
  color: #76767a;
}
@media (max-width: 1919px) {
  .footer__cookies {
    max-width: 495px;
  }
}
@media (max-width: 1279px) {
  .footer__cookies {
    max-width: 320px;
  }
}
@media (max-width: 767px) {
  .footer__cookies {
    text-align: center;
    max-width: 100%;
  }
}

.footer__socials {
  margin-left: auto;
  display: flex;
  gap: 40px;
}
.footer__socials svg {
	fill:#65A11A;
}
.footer__socials a, .header__socials a {
  fill: #0050B2;
  transition: 0.2s;
}
.footer__socials a:hover, , .header__socials a:hover {
  fill: #0061D9;
}
@media (max-width: 767px) {
  .footer__socials {
    margin-left: 0;
  }
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer__logo-subtitle {
  font-size: 10px;
  line-height: 16px;
  margin-bottom: 2px;
}

.footer__logo-title {
  margin-top: 10px;
  color: black;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: initial;
}

.footer-nav__head {
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.footer-nav__links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-nav__links a {
  font-size: 12px;
  line-height: 18px;
  transition: 0.2s;
	color:#333333;
}
.footer-nav__links a:hover {
  color: #0050B2;
}

.popups {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.2);
}
.popups_open_all-sites {
  opacity: 1;
  pointer-events: all;
}
.popups_open_all-sites .all-sites {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}
@media (max-width: 1919px) {
  .popups .popup-menu {
    margin: 150px auto 0;
    max-width: 1088px;
  }
  .popups .popup-menu__content-item--current {
    max-height: 660px;
  }
  .popups .popup-menu__links {
    height: 660px;
  }
  .popups .popup-menu__links-item {
    width: 496px;
  }
}
@media (max-width: 1279px) {
  .popups .popup-menu {
    margin: 100px auto 0;
    max-width: 736px;
  }
  .popups .popup-menu__tabs {
    overflow-x: auto;
    -ms-overflow-style: none; /* IE и Edge */
    scrollbar-width: none; /* Firefox */
  }
  .popups .popup-menu__tabs::-webkit-scrollbar {
    display: none;
  }
  .popups .popup-menu__tabs-item {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 18px;
    line-height: 24px;
    transition: 0.3s;
  }
  .popups .popup-menu__tabs-item--current {
    color: #0061D9;
    pointer-events: none;
  }
  .popups .popup-menu__tabs-item:hover {
    color: #0050B2;
  }
  .popups .popup-menu__content-item--current {
    max-height: 880px;
  }
  .popups .popup-menu__links {
    height: 880px;
  }
  .popups .popup-menu__links-item {
    width: 320px;
  }
}
@media (max-width: 767px) {
  .popups .popup-menu {
    margin: 20px auto 0;
    max-width: 500px;
  }
  .popups .popup-menu__title {
    font-size: 19px;
    line-height: 24px;
  }
  .popups .popup-menu__search {
    margin-top: 32px;
    display: flex;
    align-items: center;
    position: relative;
  }
  .popups .popup-menu__search svg {
    position: absolute;
    left: 16px;
    cursor: pointer;
  }
  .popups .popup-menu__search input {
    width: 100%;
    height: 50px;
    border-radius: 10px;
    border: 1px solid #A7A8AB;
    outline: none;
    padding: 0 15px 0 55px;
    text-align: right;
    color: #333333;
    transition: 0.3s;
  }
  .popups .popup-menu__search input::placeholder {
    color: inherit;
  }
  .popups .popup-menu__search input:focus, .popups .popup-menu__search input:hover {
    border: 1px solid #0061D9;
  }
  .popups .popup-menu__tabs {
    display: none;
  }
  .popups .popup-menu__content {
    padding-top: 32px;
  }
  .popups .popup-menu__content-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    border-bottom: 1px solid #A7A8AB;
  }
  .popups .popup-menu__content-label::after {
    content: "";
    width: 24px;
    height: 24px;
    background: url(img/svg/arrow.svg) no-repeat;
    transition: 0.3s;
  }
  .popups .popup-menu__content-item {
    --max-height: 100vh;
    max-height: 44px;
    transition: 0.3s;
    overflow: hidden;
    pointer-events: all;
  }
  .popups .popup-menu__content-item--current {
    max-height: var(--max-height);
    transition: 0.5s 0.3s;
  }
  .popups .popup-menu__content-item--current .popup-menu__content-label::after {
    transform: rotate(-90deg);
  }
  .popups .popup-menu__links {
    margin-top: 20px;
    padding: 0 10px;
    height: fit-content;
  }
  .popups .popup-menu__links-item {
    width: 100%;
  }
}

.popups__item {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  margin: 100px auto 0;
}

.all-sites {
  width: 100%;
  max-width: 1440px;
  padding: 32px;
  background-color: #f4f7fb;
  border-radius: 10px;
}
@media (max-width: 1919px) {
  .all-sites {
    max-width: 1088px;
  }
}
@media (max-width: 1279px) {
  .all-sites {
    max-width: 736px;
  }
}
@media (max-width: 767px) {
  .all-sites {
    max-width: 564px;
  }
}

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

.all-sites__title {
  font-size: 30px;
  line-height: 36px;
  font-weight: 400;
  color: #333333;
}
@media (max-width: 767px) {
  .all-sites__title {
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: #333333;
  }
}

.all-sites__to-portal {
  display: flex;
  align-items: center;
  stroke: #0050B2;
  font-size: 30px;
  line-height: 36px;
  font-weight: 400;
  color: #0050B2;
  transition: 0.2s;
  gap: 30px;
}
.all-sites__to-portal:hover {
  color: #0061D9;
  stroke: #0061D9;
}
@media (max-width: 1279px) {
  .all-sites__to-portal {
    gap: 20px;
  }
  .all-sites__to-portal span {
    max-width: 300px;
    font-size: 24px;
    line-height: 30px;
  }
}
@media (max-width: 767px) {
  .all-sites__to-portal {
    gap: 10px;
  }
  .all-sites__to-portal span {
    max-width: 220px;
    font-size: 18px;
    line-height: 26px;
  }
}

.all-sites__close {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  stroke: #A7A8AB;
}
.all-sites__close:hover {
  stroke: #0050B2;
}

.all-sites__tabs {
  --tabWidth: 0;
  --tabPosition: 0;
  position: relative;
  margin-top: 32px;
  display: flex;
  gap: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #A7A8AB;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.all-sites__tabs::-webkit-scrollbar {
  display: none;
}
.all-sites__tabs:after {
  content: "";
  width: var(--tabWidth);
  height: 2px;
  background-color: #0050B2;
  position: absolute;
  bottom: -1px;
  left: var(--tabPosition);
  transition: 0.4s;
}
@media (max-width: 767px) {
  .all-sites__tabs {
    display: none;
  }
}

.all-sites__tab {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: #333333;
  transition: 0.3s;
}
.all-sites__tab--active {
  color: #0061D9;
  pointer-events: none;
}
.all-sites__tab:hover {
  color: #0050B2;
}

.all-sites__body {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
}

.all-sites__section {
  --open-height: fit-content;
  max-height: 0;
  transition: max-height 0.3s;
  overflow: hidden;
  pointer-events: none;
}
.all-sites__section--active {
  max-height: var(--open-height);
  pointer-events: all;
  transition: max-height 0.5s 0.3s;
}
@media (max-width: 767px) {
  .all-sites__section {
    max-height: 44px;
  }
  .all-sites__section--active {
    max-height: var(--open-height);
    transition: max-height 0.3s;
  }
}

.all-sites__section-label {
  cursor: pointer;
  pointer-events: all;
  display: none;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: black;
  padding: 10px 0;
  border-bottom: 1px solid #A7A8AB;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  fill: #A7A8AB;
}
.all-sites__section-label svg {
  transition: 0.3s;
}
@media (max-width: 767px) {
  .all-sites__section-label {
    display: flex;
  }
}
.all-sites__section--active .all-sites__section-label svg {
  transform: scaleY(-1);
}

.all-sites__link {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #333333;
  transition: color 0.2s;
  width: fit-content;
}
.all-sites__link:hover {
  color: #0050B2;
}

.all-sites__agencies {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  flex-wrap: wrap;
  gap: 20px 32px;
  min-height: 500px;
}
.all-sites__agencies a {
  max-width: 672px;
}
@media (max-width: 1919px) {
  .all-sites__agencies {
    max-height: 600px;
  }
  .all-sites__agencies a {
    max-width: 496px;
  }
}
@media (max-width: 1279px) {
  .all-sites__agencies {
    max-height: fit-content;
  }
  .all-sites__agencies a {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .all-sites__agencies {
    padding: 20px 10px;
  }
}

.all-sites__regions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 20px 32px;
  max-height: 300px;
}
.all-sites__regions a {
  max-width: 438px;
}
@media (max-width: 1279px) {
  .all-sites__regions {
    max-height: 300px;
  }
  .all-sites__regions a {
    max-width: 672px;
  }
}
@media (max-width: 767px) {
  .all-sites__regions {
    max-height: fit-content;
    padding: 20px 10px;
  }
  .all-sites__regions a {
    max-width: 100%;
  }
}

.mainpage {
  flex-grow: 1;
  margin-top: 40px;
  padding-bottom: 160px;
}
@media (max-width: 767px) {
  .mainpage {
    padding-bottom: 80px;
  }
}

.mainpage__section:not(:first-child) {
  margin-top: 140px;
}
@media (max-width: 767px) {
  .mainpage__section:not(:first-child) {
    margin-top: 80px;
  }
}

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

.mainpage__section-footer {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mainpage__section-title {
  color: black;
}

.mainpage__section-link {
  margin-left: auto;
}
.mainpage__section-link:hover svg {
  transform: translateX(-25%);
}

@media (max-width: 563px) {
  .mainpage__slider {
    margin-left: -32px;
    margin-right: -32px;
  }
}

.mainpage-slider__container {
  position: relative;
}

.mainpage-slider__navigation {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: fill 0.2s;
  fill: #A7A8AB;
}
.mainpage-slider__navigation:hover {
  fill: #0050B2;
}
.mainpage-slider__navigation:active {
  fill: #0061D9;
}
@media (max-width: 767px) {
  .mainpage-slider__navigation {
    display: none;
  }
}

.mainpage-slider__navigation_direction_prev {
  left: -38px;
}

.mainpage-slider__navigation_direction_next {
  right: -38px;
}

.mainpage-slider__swiper-wrapper {
  align-items: stretch;
}

.mainpage-slider__swiper-slide {
  padding: 32px;
  background-color: #f4f7fb;
  border-radius: 10px;
  cursor: grab;
  display: flex;
  justify-content: space-between;
  gap: 80px;
}
@media (max-width: 1919px) {
  .mainpage-slider__swiper-slide {
    gap: 32px;
  }
}
@media (max-width: 1279px) {
  .mainpage-slider__swiper-slide {
    flex-direction: column-reverse;
  }
}
@media (max-width: 563px) {
  .mainpage-slider__swiper-slide {
    border-radius: 0;
  }
}

.mainpage-slider__swiper-slide-image {
  flex-shrink: 0;
  width: 640px;
  height: 288px;
}
.mainpage-slider__swiper-slide-image img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}
@media (max-width: 1919px) {
  .mainpage-slider__swiper-slide-image {
    width: 464px;
  }
}
@media (max-width: 1279px) {
  .mainpage-slider__swiper-slide-image {
    width: 100%;
    height: 322px;
  }
}
@media (max-width: 767px) {
  .mainpage-slider__swiper-slide-image {
    height: auto;
  }
}

.mainpage-slider__swiper-slide-text-block {
  flex-grow: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mainpage-slider__swiper-slide-title {
  color: black;
  font-size: 30px;
  line-height: 36px;
}
@media (max-width: 767px) {
  .mainpage-slider__swiper-slide-title {
    font-size: 22px;
    line-height: 28px;
  }
}

.mainpage-slider__swiper-slide-text {
  font-size: 16px;
  line-height: 24px;
  max-width: 464px;
}
.mainpage-slider__swiper-slide-text--purple {
  color: #A7A8AB;
  font-size: 12px;
  line-height: 18px;
}

.mainpage-slider__swiper-slide-button {
  margin-top: auto;
  width: 166px;
}

.mainpage-slider__swiper-slide-labels {
  display: flex;
  align-items: center;
  gap: 44px;
  position: absolute;
  right: 0;
  bottom: 0;
}

.mainpage-slider__pagination {
  margin-top: 40px;
  text-align: center;
}
.mainpage-slider__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #0050B2;
  background: none;
}
.mainpage-slider__pagination .swiper-pagination-bullet-active {
  background-color: #0050B2;
}
@media (max-width: 767px) {
  .mainpage-slider__pagination {
    margin-top: 20px;
  }
}

.swiper-pagination-bullet {
  --swiper-pagination-bullet-horizontal-gap: 20px;
  opacity: 1;
  margin: 0 20px;
  width: 10px;
  height: 10px;
  border: 1px solid #A7A8AB;
  background-color: transparent;
}
.swiper-pagination-bullet-active {
  border: none;
  background-color: #0050B2;
}

.mainpage-news {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 320px);
  grid-gap: 32px;
}
.mainpage-news .mainpage-news-item {
  display: block;
}
.mainpage-news .mainpage-news-item__image {
  z-index: 1;
}
.mainpage-news .mainpage-news-item__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.mainpage-news .mainpage-news-item__date {
  display: block;
  font-size: 12px;
  line-height: 18px;
  color: #A7A8AB;
}
.mainpage-news .mainpage-news-item__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mainpage-news .mainpage-news-item__tag {
  font-size: 14px;
  line-height: 20px;
  color: #0050B2;
  stroke: #A7A8AB;
  transition: stroke 0.3s;
}
.mainpage-news__slider {
  display: flex;
  gap: 32px;
  width: 100vw;
  overflow-x: auto;
  overflow-y: hidden;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  margin: 0 calc(-50vw + 250px);
  padding: 0 calc(50vw - 250px);
}
.mainpage-news__slider::-webkit-scrollbar {
  display: none;
}
.mainpage-news__slider .mainpage-news-item {
  flex-shrink: 0;
  width: 280px;
  height: 344px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid #A7A8AB;
  transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
}
.mainpage-news__slider .mainpage-news-item__image {
  height: 160px;
  border-radius: 6px;
  overflow: hidden;
}
.mainpage-news__slider .mainpage-news-item__text-block {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.mainpage-news__slider .mainpage-news-item__title {
  margin-top: 12px;
  font-size: 16px;
  line-height: 24px;
  -webkit-line-clamp: 3;
}
.mainpage-news__slider .mainpage-news-item__tag {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mainpage-news__slider .mainpage-news-item:hover {
  border-radius: 10px;
  background-color: #f4f7fb;
  border-color: transparent;
}
.mainpage-news__slider .mainpage-news-item:hover .mainpage-news-item__image img {
  transform: scale(1.1);
}
.mainpage-news__slider .mainpage-news-item:hover .mainpage-news-item__tag path {
  stroke: #0050B2;
}
.mainpage-news__item:nth-child(1) {
  grid-column: 1/3;
}
.mainpage-news__item:nth-child(1) .mainpage-news-item {
  position: relative;
  height: 418px;
  border-radius: 10px;
  overflow: hidden;
}
.mainpage-news__item:nth-child(1) .mainpage-news-item__image {
  width: 100%;
  height: 100%;
}
.mainpage-news__item:nth-child(1) .mainpage-news-item__text-block {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background-color: #fff;
  padding: 20px;
  border-radius: 6px;
}
.mainpage-news__item:nth-child(1) .mainpage-news-item__title {
  margin-top: 12px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  -webkit-line-clamp: 2;
}
.mainpage-news__item:nth-child(1) .mainpage-news-item__tag {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mainpage-news__item:nth-child(6), .mainpage-news__item:nth-child(7), .mainpage-news__item:nth-child(8), .mainpage-news__item:nth-child(9) {
  position: absolute;
  right: 0;
  width: 320px;
}
.mainpage-news__item:nth-child(6) .mainpage-news-item, .mainpage-news__item:nth-child(7) .mainpage-news-item, .mainpage-news__item:nth-child(8) .mainpage-news-item, .mainpage-news__item:nth-child(9) .mainpage-news-item {
  height: 124px;
  border-bottom: 1px solid #A7A8AB;
  padding: 10px 12px;
  transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
}
.mainpage-news__item:nth-child(6) .mainpage-news-item__image, .mainpage-news__item:nth-child(7) .mainpage-news-item__image, .mainpage-news__item:nth-child(8) .mainpage-news-item__image, .mainpage-news__item:nth-child(9) .mainpage-news-item__image {
  display: none;
}
.mainpage-news__item:nth-child(6) .mainpage-news-item__title, .mainpage-news__item:nth-child(7) .mainpage-news-item__title, .mainpage-news__item:nth-child(8) .mainpage-news-item__title, .mainpage-news__item:nth-child(9) .mainpage-news-item__title {
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
  -webkit-line-clamp: 2;
}
.mainpage-news__item:nth-child(6) .mainpage-news-item__tag, .mainpage-news__item:nth-child(7) .mainpage-news-item__tag, .mainpage-news__item:nth-child(8) .mainpage-news-item__tag, .mainpage-news__item:nth-child(9) .mainpage-news-item__tag {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mainpage-news__item:nth-child(6) .mainpage-news-item:hover, .mainpage-news__item:nth-child(7) .mainpage-news-item:hover, .mainpage-news__item:nth-child(8) .mainpage-news-item:hover, .mainpage-news__item:nth-child(9) .mainpage-news-item:hover {
  border-radius: 10px;
  background-color: #f4f7fb;
  border-color: transparent;
}
@media (min-width: 1920px) {
  .mainpage-news__item:nth-child(2) .mainpage-news-item {
    position: relative;
    padding: 10px;
    height: 418px;
    background-color: #f4f7fb;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item__image {
    height: 244px;
    border-radius: 6px;
    overflow: hidden;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item__text-block {
    margin-bottom: auto;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item__date {
    margin-right: auto;
    height: fit-content;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item__title {
    order: 3;
    margin-bottom: auto;
    -webkit-line-clamp: 3;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item__tag {
    height: fit-content;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item__tag svg {
    display: none;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item::before {
    content: "";
    z-index: 0;
    position: absolute;
    right: -15px;
    top: 63px;
    background-image: url(img/news-decor.svg);
    background-repeat: no-repeat;
    width: 136px;
    height: 128px;
    filter: invert(70%) sepia(19%) saturate(322%) hue-rotate(177deg) brightness(99%) contrast(89%);
    transition: 0.5s;
  }
  .mainpage-news__item:nth-child(4) .mainpage-news-item, .mainpage-news__item:nth-child(5) .mainpage-news-item {
    height: 344px;
    border-bottom: 1px solid #A7A8AB;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .mainpage-news__item:nth-child(4) .mainpage-news-item__image, .mainpage-news__item:nth-child(5) .mainpage-news-item__image {
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
  }
  .mainpage-news__item:nth-child(4) .mainpage-news-item__text-block, .mainpage-news__item:nth-child(5) .mainpage-news-item__text-block {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .mainpage-news__item:nth-child(4) .mainpage-news-item__title, .mainpage-news__item:nth-child(5) .mainpage-news-item__title {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
    -webkit-line-clamp: 3;
  }
  .mainpage-news__item:nth-child(4) .mainpage-news-item__tag, .mainpage-news__item:nth-child(5) .mainpage-news-item__tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mainpage-news__item:nth-child(4) .mainpage-news-item:hover, .mainpage-news__item:nth-child(5) .mainpage-news-item:hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
  .mainpage-news__item:nth-child(10), .mainpage-news__item:nth-child(11) {
    position: absolute;
    right: 0;
    width: 320px;
  }
  .mainpage-news__item:nth-child(10) .mainpage-news-item, .mainpage-news__item:nth-child(11) .mainpage-news-item {
    height: 124px;
    border-bottom: 1px solid #A7A8AB;
    padding: 10px 12px;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .mainpage-news__item:nth-child(10) .mainpage-news-item__image, .mainpage-news__item:nth-child(11) .mainpage-news-item__image {
    display: none;
  }
  .mainpage-news__item:nth-child(10) .mainpage-news-item__title, .mainpage-news__item:nth-child(11) .mainpage-news-item__title {
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
    -webkit-line-clamp: 2;
  }
  .mainpage-news__item:nth-child(10) .mainpage-news-item__tag, .mainpage-news__item:nth-child(11) .mainpage-news-item__tag {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mainpage-news__item:nth-child(10) .mainpage-news-item:hover, .mainpage-news__item:nth-child(11) .mainpage-news-item:hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
  .mainpage-news__item:nth-child(6) {
    top: 0;
  }
  .mainpage-news__item:nth-child(7) {
    top: 134px;
  }
  .mainpage-news__item:nth-child(8) {
    top: 268px;
  }
  .mainpage-news__item:nth-child(9) {
    top: 402px;
  }
  .mainpage-news__item:nth-child(10) {
    top: 536px;
  }
  .mainpage-news__item:nth-child(11) {
    top: 670px;
  }
}
@media (max-width: 1919px) {
  .mainpage-news {
    grid-template-columns: repeat(2, 320px);
  }
  .mainpage-news__item:nth-child(4), .mainpage-news__item:nth-child(5) {
    position: absolute;
    right: 0;
    width: 320px;
  }
  .mainpage-news__item:nth-child(4) .mainpage-news-item, .mainpage-news__item:nth-child(5) .mainpage-news-item {
    height: 124px;
    border-bottom: 1px solid #A7A8AB;
    padding: 10px 12px;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .mainpage-news__item:nth-child(4) .mainpage-news-item__image, .mainpage-news__item:nth-child(5) .mainpage-news-item__image {
    display: none;
  }
  .mainpage-news__item:nth-child(4) .mainpage-news-item__title, .mainpage-news__item:nth-child(5) .mainpage-news-item__title {
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
    -webkit-line-clamp: 2;
  }
  .mainpage-news__item:nth-child(4) .mainpage-news-item__tag, .mainpage-news__item:nth-child(5) .mainpage-news-item__tag {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mainpage-news__item:nth-child(4) .mainpage-news-item:hover, .mainpage-news__item:nth-child(5) .mainpage-news-item:hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
  .mainpage-news__item:nth-child(10), .mainpage-news__item:nth-child(11) {
    display: none;
  }
}
@media (max-width: 1919px) and (min-width: 1280px) {
  .mainpage-news__item:nth-child(4) {
    top: 0;
  }
  .mainpage-news__item:nth-child(5) {
    top: 134px;
  }
  .mainpage-news__item:nth-child(6) {
    top: 268px;
  }
  .mainpage-news__item:nth-child(7) {
    top: 402px;
  }
  .mainpage-news__item:nth-child(8) {
    top: 536px;
  }
  .mainpage-news__item:nth-child(9) {
    top: 670px;
  }
}
@media (max-width: 1919px) and (min-width: 768px) {
  .mainpage-news__item:nth-child(2) .mainpage-news-item {
    height: 344px;
    border-bottom: 1px solid #A7A8AB;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item__image {
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item__text-block {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item__title {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
    -webkit-line-clamp: 3;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item__tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item:hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
}
@media (min-width: 1280px) {
  .mainpage-news__item:nth-child(3) .mainpage-news-item {
    height: 344px;
    border-bottom: 1px solid #A7A8AB;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .mainpage-news__item:nth-child(3) .mainpage-news-item__image {
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
  }
  .mainpage-news__item:nth-child(3) .mainpage-news-item__text-block {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .mainpage-news__item:nth-child(3) .mainpage-news-item__title {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
    -webkit-line-clamp: 3;
  }
  .mainpage-news__item:nth-child(3) .mainpage-news-item__tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mainpage-news__item:nth-child(3) .mainpage-news-item:hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
}
@media (max-width: 1279px) {
  .mainpage-news__item:nth-child(4), .mainpage-news__item:nth-child(5), .mainpage-news__item:nth-child(6), .mainpage-news__item:nth-child(7), .mainpage-news__item:nth-child(8), .mainpage-news__item:nth-child(9) {
    position: static;
  }
}
@media (max-width: 1279px) and (min-width: 768px) {
  .mainpage-news__item:nth-child(2) .mainpage-news-item {
    height: 344px;
    border-bottom: 1px solid #A7A8AB;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item__image {
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item__text-block {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item__title {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
    -webkit-line-clamp: 3;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item__tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item:hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
  .mainpage-news__item:nth-child(4), .mainpage-news__item:nth-child(5), .mainpage-news__item:nth-child(6), .mainpage-news__item:nth-child(7), .mainpage-news__item:nth-child(8), .mainpage-news__item:nth-child(9) {
    grid-column: 1/3;
    width: 100%;
    margin-bottom: -24px;
  }
}
@media (min-width: 768px) {
  .mainpage-news__item:nth-child(3) .mainpage-news-item {
    height: 344px;
    border-bottom: 1px solid #A7A8AB;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .mainpage-news__item:nth-child(3) .mainpage-news-item__image {
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
  }
  .mainpage-news__item:nth-child(3) .mainpage-news-item__text-block {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .mainpage-news__item:nth-child(3) .mainpage-news-item__title {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
    -webkit-line-clamp: 3;
  }
  .mainpage-news__item:nth-child(3) .mainpage-news-item__tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mainpage-news__item:nth-child(3) .mainpage-news-item:hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
}
@media (max-width: 767px) {
  .mainpage-news {
    grid-template-columns: 100%;
  }
  .mainpage-news__item:nth-child(1) {
    grid-column: 1;
  }
  .mainpage-news__item:nth-child(1) .mainpage-news-item__text-block {
    left: 32px;
    right: 32px;
  }
  .mainpage-news__item:nth-child(1) .mainpage-news-item__title {
    -webkit-line-clamp: 4;
  }
  .mainpage-news__item:nth-child(2), .mainpage-news__item:nth-child(3) {
    width: 100%;
    margin-bottom: -24px;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item, .mainpage-news__item:nth-child(3) .mainpage-news-item {
    height: 124px;
    border-bottom: 1px solid #A7A8AB;
    padding: 10px 12px;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item__image, .mainpage-news__item:nth-child(3) .mainpage-news-item__image {
    display: none;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item__title, .mainpage-news__item:nth-child(3) .mainpage-news-item__title {
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
    -webkit-line-clamp: 2;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item__tag, .mainpage-news__item:nth-child(3) .mainpage-news-item__tag {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mainpage-news__item:nth-child(2) .mainpage-news-item:hover, .mainpage-news__item:nth-child(3) .mainpage-news-item:hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
  .mainpage-news__item:nth-child(4), .mainpage-news__item:nth-child(5), .mainpage-news__item:nth-child(6), .mainpage-news__item:nth-child(7), .mainpage-news__item:nth-child(8), .mainpage-news__item:nth-child(9) {
    grid-column: 1;
    width: 100%;
    margin-bottom: -24px;
  }
}
@media (max-width: 563px) {
  .mainpage-news__item:nth-child(1) {
    margin: 0 -32px;
  }
  .mainpage-news__item:nth-child(1) .mainpage-news-item {
    border-radius: 0px;
  }
  .mainpage-news__slider {
    margin: 0 -32px;
    padding: 0 32px;
  }
}
.mainpage-news__item:hover .mainpage-news-item__image img {
  transform: scale(1.1);
}
.mainpage-news__item:hover .mainpage-news-item__tag {
  stroke: #0050B2;
}
.mainpage-news__item:hover .mainpage-news-item::before {
  filter: invert(49%) sepia(28%) saturate(1862%) hue-rotate(181deg) brightness(93%) contrast(102%);
}

.mainpage-links {
  display: flex;
  gap: 32px;
}
@media (max-width: 767px) {
  .mainpage-links {
    margin-left: calc(250px - 50vw);
    margin-right: calc(250px - 50vw);
    padding-left: calc(50vw - 250px);
    padding-right: calc(50vw - 250px);
    overflow-x: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }
  .mainpage-links::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 563px) {
  .mainpage-links {
    margin-left: -32px;
    margin-right: -32px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

.mainpage-links__item {
  flex-shrink: 0;
  --color: #3288ee;
  position: relative;
  width: 320px;
  height: 120px;
  padding: 20px;
  border-radius: 10px;
  border-top: 1px solid #A7A8AB;
  border-left: 1px solid #A7A8AB;
  border-right: 1px solid #A7A8AB;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  overflow: hidden;
  transition: 0.7s;
}
.mainpage-links__item:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color);
}
.mainpage-links__item:hover {
  background-color: var(--color);
}
.mainpage-links__item:hover .mainpage-links__title {
  color: #fff;
}
.mainpage-links__item:hover .mainpage-links__icon {
  stroke: #fff;
}
.mainpage-links__item:hover .mainpage-links__label-image {
  top: 56px;
}
@media (max-width: 1919px) {
  .mainpage-links__item:nth-child(4) {
    display: none;
  }
}
@media (max-width: 1279px) {
  .mainpage-links__item:nth-child(3) {
    display: none;
  }
}
@media (max-width: 767px) {
  .mainpage-links__item {
    width: 280px;
  }
  .mainpage-links__item:nth-child(3), .mainpage-links__item:nth-child(4) {
    display: flex;
  }
}

.mainpage-links__title {
  color: #333333;
  font-size: 14px;
  line-height: 20px;
}

.mainpage-links__icon {
  flex-shrink: 0;
  stroke: #A7A8AB;
  transition: 0.2s;
}

.mainpage-links__label-image {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  text-align: center;
  transition: inherit;
}
.mainpage-links__label-image img {
  display: inline-block;
}

.mainpage-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 32px;
}
@media (max-width: 1919px) {
  .mainpage-services {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1279px) {
  .mainpage-services {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .mainpage-services {
    display: flex;
    gap: 32px;
    margin-left: calc(688px - 50vw);
    margin-right: calc(688px - 50vw);
    padding-left: calc(50vw - 688px);
    padding-right: calc(50vw - 688px);
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}
@media (max-width: 767px) and (max-width: 1919px) {
  .mainpage-services {
    margin-left: calc(512px - 50vw);
    margin-right: calc(512px - 50vw);
    padding-left: calc(50vw - 512px);
    padding-right: calc(50vw - 512px);
  }
}
@media (max-width: 767px) and (max-width: 1279px) {
  .mainpage-services {
    margin-left: calc(336px - 50vw);
    margin-right: calc(336px - 50vw);
    padding-left: calc(50vw - 336px);
    padding-right: calc(50vw - 336px);
  }
}
@media (max-width: 767px) and (max-width: 767px) {
  .mainpage-services {
    margin-left: calc(250px - 50vw);
    margin-right: calc(250px - 50vw);
    padding-left: calc(50vw - 250px);
    padding-right: calc(50vw - 250px);
  }
}
@media (max-width: 767px) and (max-width: 563px) {
  .mainpage-services {
    margin-left: -32px;
    margin-right: -32px;
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (max-width: 767px) {
  .mainpage-services::-webkit-scrollbar {
    display: none;
  }
}

.mainpage-services__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 10px;
  background-color: #f4f7fb;
  transition: background-color 0.3s;
  padding: 20px;
}
.mainpage-services__item--hidden{
  display: none!important;
}
.mainpage-services__item:nth-child(1):hover {
  background-color: #dfeef1;
}
.mainpage-services__item:nth-child(2):hover {
  background-color: #ecf0df;
}
.mainpage-services__item:nth-child(3):hover {
  background-color: #f7ebe6;
}
.mainpage-services__item:nth-child(4):hover {
  background-color: #dfe0f2;
}
.mainpage-services__item:nth-child(5):hover {
  background-color: #ecf0df;
}
.mainpage-services__item:nth-child(6):hover {
  background-color: #d1efed;
}
.mainpage-services__item:nth-child(7):hover {
  background-color: #dfe0f2;
}
.mainpage-services__item:nth-child(8):hover {
  background-color: #fff2dc;
}
@media (max-width: 767px) {
  .mainpage-services__item {
    width: 280px;
    flex-shrink: 0;
  }
  .mainpage-services__item:nth-child(4), .mainpage-services__item:nth-child(8) {
    display: block;
  }
}

.mainpage-services__head {
  border-bottom: 1px solid #333333;
  padding-bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.mainpage-services--hide{
  display: none;
}
.mainpage-services__title {
  text-transform: uppercase;
  font-size: 14px;
  line-height: 24px;
}
.mainpage-services__icon img{
  width:35px;
  height:35px;
}
.mainpage-services__body {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mainpage-services__detail {
  color: #76767a;
  font-size: 12px;
  line-height: 24px;
}
.mainpage-services__show-more{
  font-size: 12px;
  display: flex;
  justify-content: flex-end;
  cursor: pointer;

}

.oiv-mainpage-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 32px;
}
@media (max-width: 1919px) {
  .oiv-mainpage-services {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1279px) {
  .oiv-mainpage-services {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .oiv-mainpage-services {
    display: flex;
    gap: 32px;
    margin-left: calc(250px - 50vw);
    margin-right: calc(250px - 50vw);
    padding-left: calc(50vw - 250px);
    padding-right: calc(50vw - 250px);
    overflow-x: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }
  .oiv-mainpage-services::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 563px) {
  .oiv-mainpage-services {
    margin-left: -32px;
    margin-right: -32px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

.oiv-mainpage-services__item {
  padding: 20px;
  height: 180px;
  border-bottom: 1px solid #A7A8AB;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}
@media (max-width: 1919px) {
  .oiv-mainpage-services__item:nth-child(7), .oiv-mainpage-services__item:nth-child(8) {
    display: none;
  }
}
@media (max-width: 767px) {
  .oiv-mainpage-services__item {
    width: 280px;
    flex-shrink: 0;
  }
  .oiv-mainpage-services__item:nth-child(7), .oiv-mainpage-services__item:nth-child(8) {
    display: flex;
  }
}

.oiv-mainpage-services__title {
  color: black;
  font-size: 14px;
  line-height: 20px;
  transition: 0.2s;
}

.oiv-mainpage-services__icon {
  margin-top: auto;
  align-self: flex-end;
  stroke: #A7A8AB;
  transition: 0.2s;
}

.oiv-mainpage-services__item:hover {
  border-radius: 10px;
  background-color: #f4f7fb;
  border-color: transparent;
}
.oiv-mainpage-services__item:hover .oiv-mainpage-services__title {
  color: #0050B2;
}
.oiv-mainpage-services__item:hover .oiv-mainpage-services__icon {
  stroke: #0050B2;
}

.oiv-mainpage-slider {
  position: relative;
}
@media (max-width: 563px) {
  .oiv-mainpage-slider {
    margin-left: -32px;
    margin-right: -32px;
  }
}

.oiv-mainpage-slider__navigation {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: fill 0.2s;
}
.oiv-mainpage-slider__navigation:hover {
  fill: #0050B2;
}
.oiv-mainpage-slider__navigation:active {
  fill: #0061D9;
}
@media (max-width: 1279px) {
  .oiv-mainpage-slider__navigation {
    display: none;
  }
}

.oiv-mainpage-slider__navigation_direction_prev {
  left: -38px;
}

.oiv-mainpage-slider__navigation_direction_next {
  right: -38px;
}

.oiv-mainpage-slider__swiper-slide {
  border-radius: 10px;
  overflow: hidden;
  cursor: grab;
}
@media (max-width: 1279px) {
  .oiv-mainpage-slider__swiper-slide:after {
    content: "";
    display: block;
    height: 252px;
    background-color: black;
  }
}
@media (max-width: 563px) {
  .oiv-mainpage-slider__swiper-slide {
    border-radius: 0;
  }
  .oiv-mainpage-slider__swiper-slide:after {
    height: 302px;
  }
}

.oiv-mainpage-slider__swiper-slide-image {
  height: 352px;
  position: relative;
}
.oiv-mainpage-slider__swiper-slide-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.oiv-mainpage-slider__swiper-slide-image:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, #000000 0%, #000000 50%, black 100%);
}
@media (max-width: 767px) {
  .oiv-mainpage-slider__swiper-slide-image {
    height: 230px;
  }
}

.oiv-mainpage-slider__swiper-slide-text-block {
  position: absolute;
  top: 32px;
  left: 32px;
  bottom: 32px;
  width: 520px;
  background-color: white;
  border-radius: 6px;
  padding: 43px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 1279px) {
  .oiv-mainpage-slider__swiper-slide-text-block {
    width: auto;
    min-height: 252px;
    top: auto;
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 20px;
  }
}
@media (max-width: 563px) {
  .oiv-mainpage-slider__swiper-slide-text-block {
    min-height: 302px;
    border-radius: 0;
    padding: 32px;
  }
}

.oiv-mainpage-slider__swiper-slide-title {
  font-size: 30px;
  line-height: 36px;
  color: black;
}
@media (max-width: 767px) {
  .oiv-mainpage-slider__swiper-slide-title {
    font-size: 22px;
    line-height: 28px;
  }
}

.oiv-mainpage-slider__swiper-slide-text {
  font-size: 16px;
  line-height: 24px;
  color: #333333;
}

.oiv-mainpage-slider__swiper-slide-button {
  margin-top: auto;
  width: 166px;
}

.oiv-mainpage-slider__pagination {
  position: absolute;
  z-index: 10;
  bottom: 32px;
  right: 32px;
  text-align: right;
}
.oiv-mainpage-slider__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #f5f5f7;
  background: none;
}
.oiv-mainpage-slider__pagination .swiper-pagination-bullet-active {
  background-color: #f5f5f7;
}
@media (max-width: 1279px) {
  .oiv-mainpage-slider__pagination {
    position: static;
    margin-top: 40px;
    text-align: center;
  }
  .oiv-mainpage-slider__pagination .swiper-pagination-bullet {
    border: 1px solid #A7A8AB;
  }
  .oiv-mainpage-slider__pagination .swiper-pagination-bullet-active {
    background-color: #0050B2;
    border-color: #0050B2;
  }
}
@media (max-width: 767px) {
  .oiv-mainpage-slider__pagination {
    margin-top: 20px;
  }
}

.oiv-mainpage-leader {
  height: 352px;
  padding: 10px;
  border-radius: 10px;
  background-color: #f4f7fb;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 1919px) {
  .oiv-mainpage-leader {
    width: 672px;
    flex-direction: row;
    gap: 32px;
    height: 197px;
  }
}
@media (max-width: 767px) {
  .oiv-mainpage-leader {
    flex-direction: column;
    gap: 16px;
    height: auto;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}

.oiv-mainpage-leader__image {
  width: 300px;
  height: 171px;
  object-fit: cover;
  border-radius: 6px;
}
@media (max-width: 1919px) {
  .oiv-mainpage-leader__image {
    width: auto;
    height: 177px;
  }
}
.oiv-mainpage-leader__info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 0 10px;
}
@media (max-width: 1919px) {
  .oiv-mainpage-leader__info {
    text-align: left;
  }
}
@media (max-width: 767px) {
  .oiv-mainpage-leader__info {
    text-align: center;
  }
}

.oiv-mainpage-leader__title {
  color: #333333;
  font-size: 14px;
  line-height: 20px;
}

.oiv-mainpage-leader__name {
  margin-top: 12px;
  color: black;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
}

.oiv-mainpage-leader__description {
  margin-top: auto;
  color: #333333;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.01em;
}
.oiv-mainpage-leader__description span {
  font-weight: 500;
}
@media (max-width: 767px) {
  .oiv-mainpage-leader__description {
    margin-top: 23px;
  }
}

.about-page__title {
  color: black;
}
.about-page__title:not(:first-child) {
  margin-top: 80px;
}

.about-page {
  max-width: 1024px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.about-page__columns-wrap {
  display: flex;
  gap: 32px;
}
.about-page__columns-wrap svg {
  flex-shrink: 0;
}
.about-page .statistics {
  flex-shrink: 0;
  width: 100%;
  max-width: 320px;
  height: fit-content;
  padding: 20px;
  border-radius: 10px;
  background-color: #f4f7fb;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-page .statistics__bottom {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.about-page .statistics__bottom a {
  color: #0050B2;
  transition: 0.3s;
}
.about-page .statistics__bottom a:hover {
  color: #0061D9;
}
.about-page .statistics__bottom span {
  color: #A7A8AB;
}
@media (max-width: 1279px) {
  .about-page__columns-wrap {
    flex-direction: column-reverse;
    gap: 40px;
  }
}

.history-page {
  max-width: 1024px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.history-page__title {
  color: black;
}
.history-page__image {
  height: 100%;
}
.history-page__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.history-page__columns-wrap {
  display: flex;
  gap: 32px;
}
.history-page__columns-wrap--height-180 {
  height: 180px;
}
.history-page__columns-wrap--height-230 {
  height: 230px;
}
.history-page__container {
  padding: 40px;
  border-radius: 10px;
  background-color: #f4f7fb;
}
@media (max-width: 767px) {
  .history-page__columns-wrap {
    flex-direction: column;
    height: auto;
  }
  .history-page__container {
    padding: 20px 32px;
  }
}
@media (max-width: 563px) {
  .history-page__image {
    margin-left: -32px;
    margin-right: -32px;
    width: 100vw;
    height: 180px;
    border-radius: 0px;
  }
  .history-page__container {
    margin-left: -32px;
    margin-right: -32px;
  }
}

.authority-governance {
  max-width: 1024px;
}

.authority-governance__block:not(:first-child) {
  margin-top: 80px;
}

.authority-governance__block-title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: black;
}

.authority-governance__governor-card {
  margin-top: 40px;
}

.authority-governance__cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 32px;
  row-gap: 32px;
}
@media (max-width: 1279px) {
  .authority-governance__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .authority-governance__cards {
    grid-template-columns: 100%;
  }
}

.authority-single {
  max-width: 1024px;
}

.authority-single__content {
  margin-top: 80px;
}

.authority-single__bio-title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: black;
  text-transform: uppercase;
}

.authority-single__bio-content {
  margin-top: 40px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: #333333;
}

.authority-single__info-block {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 144px 1fr;
  column-gap: 32px;
}
@media (max-width: 767px) {
  .authority-single__info-block {
    grid-template-columns: 100%;
    row-gap: 20px;
  }
}

.authority-single__info-title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: black;
}

.authority-single__info-content {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #333333;
}

.authority-single-card {
  display: flex;
  gap: 20px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #A7A8AB;
}
@media (max-width: 767px) {
  .authority-single-card {
    flex-direction: column;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

.authority-single-card__image img {
  display: block;
  border-radius: 6px;
  width: 280px;
  height: 280px;
  object-fit: cover;
  object-position:top;
}
@media (max-width: 1279px) {
  .authority-single-card__image img {
    width: 134px;
    height: 134px;
  }
}
@media (max-width: 767px) {
  .authority-single-card__image img {
    width: 100%;
    height: auto;
  }
}

.authority-single-card__info {
  position: relative;
  padding: 10px;
  flex-grow: 1;
}
@media (max-width: 1279px) {
  .authority-single-card__info {
    padding: 0;
  }
}
.authority-single-card__surname {
  font-size: 30px;
  line-height: 36px;
  color: black;
}

.authority-single-card__name {
  margin-top: 8px;
  font-size: 22px;
  line-height: 28px;
  color: #333333;
}

.authority-single-card__title {
  margin-top: 12px;
  font-size: 16px;
  line-height: 24px;
  color: #76767a;
}

.authority-single-card__contacts {
  margin-top: 40px;
  font-size: 16px;
  line-height: 24px;
  color: black;
}
@media (max-width: 1279px) {
  .authority-single-card__contacts {
    margin-top: 32px;
  }
}
.authority-single-card__phones {
  margin-top: 8px;
  display: flex;
  gap: 20px;
  font-size: 16px;
  line-height: 24px;
  color: #333333;
}
.authority-single-card__phones p {
  display: flex;
  align-items: center;
  gap: 12px;
}
.authority-single-card__phones p span {
  font-size: 12px;
  line-height: 24px;
  color: #76767a;
}
@media (max-width: 767px) {
  .authority-single-card__phones {
    flex-direction: column;
  }
}

.authority-single-card__mail {
  display: block;
  margin-top: 32px;
  font-size: 16px;
  line-height: 24px;
  color: #0050B2;
  transition: 0.2s;
}
.authority-single-card__mail:hover {
  color: #0061D9;
}

.authority-single-card__request {
  position: absolute;
  right: 10px;
  bottom: 10px;
}
.authority-single-card__request .send-request__label {
  color: #0050B2;
  transition: 0.2s;
}
.authority-single-card__request:hover .send-request__label {
  color: #0061D9;
}
@media (max-width: 1279px) {
  .authority-single-card__request {
    position: static;
    margin-top: 32px;
    margin-bottom: 10px;
  }
}
@media (max-width: 767px) {
  .authority-single-card__request .send-request__label {
    display: block;
    color: #0050B2;
  }
}

.authority-card {
  display: flex;
  gap: 12px;
}
.authority-card:hover .authority-card__image img {
  transform: scale(1.02);
}

.authority-card__image {
  flex-shrink: 0;
  width: 144px;
  height: 144px;
  border-radius: 10px;
  overflow: hidden;
}
.authority-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position:top;
  transition: 0.5s;
}

.authority-card__surname {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: black;
}

.authority-card__name {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #333333;
}

.authority-card__title {
  margin-top: 8px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
  color: #76767a;
}

.authority-governor-card {
  width: 100%;
  max-width: 672px;
  padding: 10px;
  border-radius: 10px;
  background-color: #f4f7fb;
  display: flex;
  gap: 20px;
}
.authority-governor-card:hover .authority-governor-card__image img {
  transform: scale(1.02);
}
.authority-governor-card:hover .authority-governor-card__link {
  color: #0061D9;
}
.authority-governor-card:hover .authority-governor-card__link path {
  stroke: #0061D9;
}
@media (max-width: 767px) {
  .authority-governor-card {
    flex-direction: column;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

.authority-governor-card__image {
  width: 300px;
  height: 300px;
  border-radius: 6px;
  overflow: hidden;
}
.authority-governor-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: 0.8s;
}
@media (max-width: 767px) {
  .authority-governor-card__image {
    width: 100%;
    height: auto;
  }
}

.authority-governor-card__info {
  padding: 10px 10px 10px 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  width:332;
}
@media (max-width: 767px) {
  .authority-governor-card__info {
    padding: 0 0 10px;
  }
}

.authority-governor-card__surname {
  font-size: 30px;
  line-height: 36px;
  font-weight: 400;
  color: black;
}

.authority-governor-card__name {
  margin-top: 8px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
  color: #333333;
}

.authority-governor-card__title {
  margin-top: 12px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #76767a;
}

.authority-governor-card__link {
  margin-top: auto;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #0050B2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.2s;
}
.authority-governor-card__link path {
  transition: 0.2s;
}
@media (max-width: 767px) {
  .authority-governor-card__link {
    margin-top: 32px;
  }
}

.press-search {
  max-width: 100%;
}

.press-search__advanced {
  display: none;
}

.press-search__grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  column-gap: 32px;
  row-gap: 32px;
}
@media (max-width: 1279px) {
  .press-search__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .press-search__grid {
    grid-template-columns: 100%;
  }
}

.press-search__input-wrap:nth-child(1) {
  z-index: 9;
}
.press-search__input-wrap:nth-child(2) {
  z-index: 8;
}

.press-search__input-label {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #333333;
}

.press-search__input {
  margin-top: 12px;
}

.press-search__submit {
  grid-column: 2;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: white;
  height: 50px;
  background-color: #0050B2;
  border-radius: 10px;
  transition: 0.3s;
}
.press-search__submit:hover {
  background-color: #0061D9;
}
.press-search__submit:disabled {
  background-color: #f4f7fb;
  color: #A7A8AB;
}
@media (max-width: 767px) {
  .press-search__submit {
    grid-column: 1;
  }
}

.press-search__controls {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}
@media (max-width: 767px) {
  .press-search__controls {
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
  }
}

.press-search__reset {
  display: none;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #0050B2;
}
.press-search--advance .press-search__reset {
  display: block;
}

.press-search__toggle {
  margin-left: auto;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #0050B2;
  fill: #0050B2;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: 0.3s;
}
.press-search__toggle:before {
  content: "Расширенный поиск";
}
.press-search--advance .press-search__toggle svg {
  transform: scaleY(-1);
}
.press-search--advance .press-search__toggle:before {
  content: "Скрыть расширенный поиск";
}

.press-topnews {
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 32px;
  width:100%;
}
@media (max-width: 1919px) {
  .press-topnews {
    padding-bottom: 34px;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1279px) {
  .press-topnews {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .press-topnews {
    grid-template-columns: 100%;
  }
}

.press-topnews__item {
  display: block;
}
.press-topnews__item:hover::before {
  filter: invert(49%) sepia(28%) saturate(1862%) hue-rotate(181deg) brightness(93%) contrast(102%);
}
.press-topnews__item:hover .press-topnews__item-image img {
  transform: scale(1.1);
}
.press-topnews__item:hover .press-topnews__item-tag {
  stroke: #0050B2;
}

.press-topnews__item-image {
  z-index: 1;
}
.press-topnews__item-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.press-topnews__item-date {
  font-size: 12px;
  line-height: 18px;
  color: #A7A8AB;
}

.press-topnews__item-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.press-topnews__item-excerpt {
  display: none;
}

.press-topnews__item-tag {
  font-size: 14px;
  line-height: 20px;
  color: #0050B2;
  transition: stroke 0.3s;
  stroke: #A7A8AB;
}
.press-topnews__item:first-child .press-topnews__item-tag {
	color:white;
}
.press-topnews__item:first-child .press-topnews__item-tag span{
	position: absolute;
  top: 8px;
  left: 133px;
}
.press-topnews__item:nth-child(1) {
  grid-column: 1/3;
  position: relative;
  height: 418px;
  border-radius: 10px;
  overflow: hidden;
}
.press-topnews__item:nth-child(1) .press-topnews__item-image {
  width: 100%;
  height: 100%;
}
.press-topnews__item:nth-child(1) .press-topnews__item-image:before {
    background-image: linear-gradient(0deg,rgba(0,0,30,.32),rgba(0,0,30,0));
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}
.press-topnews__item:nth-child(1) .press-topnews__item-text {
  position: absolute;
  bottom: 0px;
  left: 10px;
  right: 10px;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  z-index:1;
}
.press-topnews__item:nth-child(1) .press-topnews__item-date {
  color: #fff;
  z-index:1;
}
.press-topnews__item:nth-child(1) .press-topnews__item-title {
  margin-top: 12px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  -webkit-line-clamp: 2;
}
.press-topnews__item:nth-child(1) .press-topnews__item-tag svg{
  display: none;
}
@media (max-width: 767px) {
  .press-topnews__item:nth-child(1) {
    grid-column: 1;
  }
  .press-topnews__item:nth-child(1) .press-topnews__item-text {
    left: 32px;
    right: 32px;
  }
  .press-topnews__item:nth-child(1) .press-topnews__item-title {
    -webkit-line-clamp: 4;
  }
}
@media (max-width: 563px) {
  .press-topnews__item:nth-child(1) {
    margin: 0 -32px;
    border-radius: 0px;
  }
}

@media (min-width: 1280px) {
  .press-topnews__item:nth-child(2) {
    position: relative;
    padding: 10px;
    height: 418px;
    background-color: #f4f7fb;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
  }
  .press-topnews__item:nth-child(2) .press-topnews__item-image {
    height: 244px;
    border-radius: 6px;
    overflow: hidden;
  }
  .press-topnews__item:nth-child(2) .press-topnews__item-text {
    margin-bottom: auto;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .press-topnews__item:nth-child(2) .press-topnews__item-date {
    margin-right: auto;
    height: fit-content;
  }
  .press-topnews__item:nth-child(2) .press-topnews__item-title {
    order: 3;
    margin-bottom: auto;
    -webkit-line-clamp: 3;
  }
  .press-topnews__item:nth-child(2) .press-topnews__item-tag {
    height: fit-content;
  }
  .press-topnews__item:nth-child(2) .press-topnews__item-tag svg {
    display: none;
  }
}
@media (max-width: 1919px) and (min-width: 1280px) {
  .press-topnews__item:nth-child(2)::before {
    content: "";
    z-index: 0;
    position: absolute;
    right: -15px;
    top: 63px;
    background-image: url(img/news-decor.svg);
    background-repeat: no-repeat;
    width: 136px;
    height: 128px;
    filter: invert(70%) sepia(19%) saturate(322%) hue-rotate(177deg) brightness(99%) contrast(89%);
    transition: 0.5s;
  }
}
@media (max-width: 1279px) and (min-width: 768px) {
  .press-topnews__item:nth-child(2) {
    height: 344px;
    border-bottom: 1px solid #A7A8AB;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .press-topnews__item:nth-child(2):hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
  .press-topnews__item:nth-child(2) .press-topnews__item-image {
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
  }
  .press-topnews__item:nth-child(2) .press-topnews__item-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .press-topnews__item:nth-child(2) .press-topnews__item-title {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
    -webkit-line-clamp: 3;
  }
  .press-topnews__item:nth-child(2) .press-topnews__item-tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
@media (max-width: 767px) {
  .press-topnews__item:nth-child(2) {
    grid-column: 1;
    margin-bottom: -32px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-bottom: 1px solid #A7A8AB;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .press-topnews__item:nth-child(2):hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
  .press-topnews__item:nth-child(2) .press-topnews__item-image {
    width: 100%;
    height: 200px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
  }
  .press-topnews__item:nth-child(2) .press-topnews__item-title {
    margin-top: 16px;
    -webkit-line-clamp: 2;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
  }
  .press-topnews__item:nth-child(2) .press-topnews__item-excerpt {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .press-topnews__item:nth-child(2) .press-topnews__item-tag {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1920px) {
  .press-topnews__item:nth-child(3) {
    position: relative;
    padding: 10px;
    height: 418px;
    background-color: #f4f7fb;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
  }
  .press-topnews__item:nth-child(3)::before {
    content: "";
    z-index: 0;
    position: absolute;
    right: -15px;
    top: 63px;
    background-image: url(img/news-decor.svg);
    background-repeat: no-repeat;
    width: 136px;
    height: 128px;
    filter: invert(70%) sepia(19%) saturate(322%) hue-rotate(177deg) brightness(99%) contrast(89%);
    transition: 0.5s;
  }
  .press-topnews__item:nth-child(3) .press-topnews__item-image {
    height: 244px;
    border-radius: 6px;
    overflow: hidden;
  }
  .press-topnews__item:nth-child(3) .press-topnews__item-text {
    margin-bottom: auto;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .press-topnews__item:nth-child(3) .press-topnews__item-date {
    margin-right: auto;
    height: fit-content;
  }
  .press-topnews__item:nth-child(3) .press-topnews__item-title {
    order: 3;
    margin-bottom: auto;
    -webkit-line-clamp: 3;
  }
  .press-topnews__item:nth-child(3) .press-topnews__item-tag {
    height: fit-content;
  }
  .press-topnews__item:nth-child(3) .press-topnews__item-tag svg {
    display: none;
  }
}
@media (max-width: 1919px) and (min-width: 768px) {
  .press-topnews__item:nth-child(3) {
    height: 344px;
    border-bottom: 1px solid #A7A8AB;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .press-topnews__item:nth-child(3):hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
  .press-topnews__item:nth-child(3) .press-topnews__item-image {
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
  }
  .press-topnews__item:nth-child(3) .press-topnews__item-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .press-topnews__item:nth-child(3) .press-topnews__item-title {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
    -webkit-line-clamp: 3;
  }
  .press-topnews__item:nth-child(3) .press-topnews__item-tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
@media (max-width: 767px) {
  .press-topnews__item:nth-child(3) {
    grid-column: 1;
    margin-bottom: -32px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-bottom: 1px solid #A7A8AB;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .press-topnews__item:nth-child(3):hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
  .press-topnews__item:nth-child(3) .press-topnews__item-image {
    width: 100%;
    height: 200px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
  }
  .press-topnews__item:nth-child(3) .press-topnews__item-title {
    margin-top: 16px;
    -webkit-line-clamp: 2;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
  }
  .press-topnews__item:nth-child(3) .press-topnews__item-excerpt {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .press-topnews__item:nth-child(3) .press-topnews__item-tag {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1280px) {
  .press-topnews__item:nth-child(4) {
    height: 344px;
    border-bottom: 1px solid #A7A8AB;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .press-topnews__item:nth-child(4):hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
  .press-topnews__item:nth-child(4) .press-topnews__item-image {
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
  }
  .press-topnews__item:nth-child(4) .press-topnews__item-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .press-topnews__item:nth-child(4) .press-topnews__item-title {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
    -webkit-line-clamp: 3;
  }
  .press-topnews__item:nth-child(4) .press-topnews__item-tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
@media (max-width: 1279px) {
  .press-topnews__item:nth-child(4) {
    grid-column: 1/3;
    margin-bottom: -32px;
    padding: 10px;
    height: 220px;
    display: flex;
    gap: 32px;
    border-bottom: 1px solid #A7A8AB;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .press-topnews__item:nth-child(4):hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
  .press-topnews__item:nth-child(4) .press-topnews__item-image {
    width: 310px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
  }
  .press-topnews__item:nth-child(4) .press-topnews__item-text {
    display: flex;
    flex-direction: column;
  }
  .press-topnews__item:nth-child(4) .press-topnews__item-title {
    margin-top: 16px;
    -webkit-line-clamp: 2;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
  }
  .press-topnews__item:nth-child(4) .press-topnews__item-excerpt {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .press-topnews__item:nth-child(4) .press-topnews__item-tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
@media (max-width: 767px) {
  .press-topnews__item:nth-child(4) {
    grid-column: 1;
    flex-direction: column;
    gap: 20px;
    height: auto;
  }
  .press-topnews__item:nth-child(4) .press-topnews__item-image {
    width: 100%;
    height: 200px;
  }
  .press-topnews__item:nth-child(4) .press-topnews__item-text {
    display: block;
  }
  .press-topnews__item:nth-child(4) .press-topnews__item-tag {
    margin-top: 18px;
  }
}

@media (min-width: 1280px) {
  .press-topnews__item:nth-child(5) {
    height: 344px;
    border-bottom: 1px solid #A7A8AB;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .press-topnews__item:nth-child(5):hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
  .press-topnews__item:nth-child(5) .press-topnews__item-image {
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
  }
  .press-topnews__item:nth-child(5) .press-topnews__item-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .press-topnews__item:nth-child(5) .press-topnews__item-title {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
    -webkit-line-clamp: 3;
  }
  .press-topnews__item:nth-child(5) .press-topnews__item-tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
@media (max-width: 1279px) {
  .press-topnews__item:nth-child(5) {
    grid-column: 1/3;
    margin-bottom: -32px;
    padding: 10px;
    height: 220px;
    display: flex;
    gap: 32px;
    border-bottom: 1px solid #A7A8AB;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .press-topnews__item:nth-child(5):hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
  .press-topnews__item:nth-child(5) .press-topnews__item-image {
    width: 310px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
  }
  .press-topnews__item:nth-child(5) .press-topnews__item-text {
    display: flex;
    flex-direction: column;
  }
  .press-topnews__item:nth-child(5) .press-topnews__item-title {
    margin-top: 16px;
    -webkit-line-clamp: 2;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
  }
  .press-topnews__item:nth-child(5) .press-topnews__item-excerpt {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .press-topnews__item:nth-child(5) .press-topnews__item-tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
@media (max-width: 767px) {
  .press-topnews__item:nth-child(5) {
    grid-column: 1;
    flex-direction: column;
    gap: 20px;
    height: auto;
  }
  .press-topnews__item:nth-child(5) .press-topnews__item-image {
    width: 100%;
    height: 200px;
  }
  .press-topnews__item:nth-child(5) .press-topnews__item-text {
    display: block;
  }
  .press-topnews__item:nth-child(5) .press-topnews__item-tag {
    margin-top: 18px;
  }
}

@media (min-width: 1920px) {
  .press-topnews__item:nth-child(6),
.press-topnews__item:nth-child(7) {
    height: 344px;
    border-bottom: 1px solid #A7A8AB;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .press-topnews__item:nth-child(6):hover,
.press-topnews__item:nth-child(7):hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
  .press-topnews__item:nth-child(6) .press-topnews__item-image,
.press-topnews__item:nth-child(7) .press-topnews__item-image {
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
  }
  .press-topnews__item:nth-child(6) .press-topnews__item-text,
.press-topnews__item:nth-child(7) .press-topnews__item-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .press-topnews__item:nth-child(6) .press-topnews__item-title,
.press-topnews__item:nth-child(7) .press-topnews__item-title {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
    -webkit-line-clamp: 3;
  }
  .press-topnews__item:nth-child(6) .press-topnews__item-tag,
.press-topnews__item:nth-child(7) .press-topnews__item-tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
@media (max-width: 1919px) {
  .press-topnews__item:nth-child(6),
.press-topnews__item:nth-child(7) {
    grid-column: 1/4;
    margin-bottom: -32px;
    padding: 10px;
    height: 220px;
    display: flex;
    gap: 32px;
    border-bottom: 1px solid #A7A8AB;
    transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
  }
  .press-topnews__item:nth-child(6):hover,
.press-topnews__item:nth-child(7):hover {
    border-radius: 10px;
    background-color: #f4f7fb;
    border-color: transparent;
  }
  .press-topnews__item:nth-child(6) .press-topnews__item-image,
.press-topnews__item:nth-child(7) .press-topnews__item-image {
    width: 310px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
  }
  .press-topnews__item:nth-child(6) .press-topnews__item-text,
.press-topnews__item:nth-child(7) .press-topnews__item-text {
    display: flex;
    flex-direction: column;
    width:100%;
  }
  .press-topnews__item:nth-child(6) .press-topnews__item-title,
.press-topnews__item:nth-child(7) .press-topnews__item-title {
    margin-top: 16px;
    -webkit-line-clamp: 2;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
  }
  .press-topnews__item:nth-child(6) .press-topnews__item-excerpt,
.press-topnews__item:nth-child(7) .press-topnews__item-excerpt {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .press-topnews__item:nth-child(6) .press-topnews__item-tag,
.press-topnews__item:nth-child(7) .press-topnews__item-tag {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
@media (max-width: 1279px) {
  .press-topnews__item:nth-child(6),
.press-topnews__item:nth-child(7) {
    grid-column: 1/3;
  }
}
@media (max-width: 767px) {
  .press-topnews__item:nth-child(6),
.press-topnews__item:nth-child(7) {
    grid-column: 1;
    flex-direction: column;
    gap: 20px;
    height: auto;
  }
  .press-topnews__item:nth-child(6) .press-topnews__item-image,
.press-topnews__item:nth-child(7) .press-topnews__item-image {
    width: 100%;
    height: 200px;
  }
  .press-topnews__item:nth-child(6) .press-topnews__item-text,
.press-topnews__item:nth-child(7) .press-topnews__item-text {
    display: block;
  }
  .press-topnews__item:nth-child(6) .press-topnews__item-tag,
.press-topnews__item:nth-child(7) .press-topnews__item-tag {
    margin-top: 18px;
  }
}

.press-topnews__slider {
  display: flex;
  gap: 32px;
  width: 100vw;
  overflow-x: auto;
  overflow-y: hidden;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  margin: 0 calc(-50vw + 250px);
  padding: 0 calc(50vw - 250px);
}
.press-topnews__slider::-webkit-scrollbar {
  display: none;
}
@media (max-width: 563px) {
  .press-topnews__slider {
    margin: 0 -32px;
    padding: 0 32px;
  }
}

.press-topnews__slider-item {
  flex-shrink: 0;
  width: 280px;
  height: 344px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid #A7A8AB;
  transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
}
.press-topnews__slider-item:hover {
  border-radius: 10px;
  background-color: #f4f7fb;
  border-color: transparent;
}
.press-topnews__slider-item:hover .press-topnews__item-image img {
  transform: scale(1.1);
}
.press-topnews__slider-item:hover .press-topnews__item-tag path {
  stroke: #0050B2;
}
.press-topnews__slider-item .press-topnews__item-image {
  height: 160px;
  border-radius: 6px;
  overflow: hidden;
}
.press-topnews__slider-item .press-topnews__item-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.press-topnews__slider-item .press-topnews__item-title {
  margin-top: 12px;
  font-size: 16px;
  line-height: 24px;
  -webkit-line-clamp: 3;
}
.press-topnews__slider-item .press-topnews__item-tag {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.press-news__item:not(:first-child) {
  margin-top: 2px;
}

.press-news__more {
  margin: 64px auto 0;
}

.press-media {
  max-width: 1024px;
}

.press-media__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 32px;
}
@media (max-width: 1279px) {
  .press-media__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .press-media__list {
    grid-template-columns: 100%;
  }
}

@media (max-width: 767px) {
  .press-media__item {
    justify-self: center;
    max-width: 400px;
    width: 100%;
  }
}

.press-media__more {
  margin: 64px auto 0;
}

.press-single__header {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #A7A8AB;
}
@media (max-width: 767px) {
  .press-single__header {
    flex-direction: column;
    padding-bottom: 0;
    border-bottom: none;
  }
}

.press-single__header-col {
  display: flex;
  align-items: center;
  gap: 80px;
}
@media (max-width: 1279px) {
  .press-single__header-col {
    gap: 40px;
  }
}
@media (max-width: 767px) {
  .press-single__header-col {
    flex-grow: 1;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #A7A8AB;
  }
}

.press-single__info {
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
  color: #A7A8AB;
}

.press-single__link {
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
  color: #0050B2;
  display: flex;
  align-items: center;
  gap: 12px;
  fill: #0050B2;
  stroke: #0050B2;
  transition: 0.3s;
}
.press-single__link:hover {
  color: #0061D9;
  fill: #0061D9;
  stroke: #0061D9;
}

.press-single__news p {
  margin: 1em 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: #333333;
}
.press-single__news blockquote {
  margin: 1em 0;
  display: flex;
  gap: 20px;
  font-size: 18px;
  line-height: 24px;
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid #A7A8AB;
  border-bottom: 1px solid #A7A8AB;
}
.press-single__news blockquote::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: url(img/svg/quote.svg) no-repeat;
}
.press-single__news img {
  margin: 1em auto;
  display: block;
  max-width: 100%;
	object-fit: cover;
}
.press-single__news td img {
 margin:0 auto;
}
@media (max-width:767px) {
	.press-single__news img {object-fit: cover; height:auto;}
}

.press-single__video {
  margin-top: 2em;
  border-radius: 10px;
  overflow: hidden;
  background-color: #f4f7fb;
  height: 576px;
}
@media (max-width: 1279px) {
  .press-single__video {
    height: 378px;
  }
}

.press-single__bottom {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid #F5F5F7;
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 320px);
  grid-gap: 32px;
}
.photos-grid__item {
  height: 180px;
  background-color: #f4f7fb;
  border-radius: 10px;
  overflow: hidden;
}
.photos-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}
.photos-grid__item:hover img {
  transform: scale(1.1);
}
@media (max-width: 1279px) {
  .photos-grid {
    grid-template-columns: repeat(2, 320px);
  }
}
@media (max-width: 767px) {
  .photos-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px 24px;
  }
  .photos-grid__item {
    height: 82px;
  }
}

.photos-slider {
  max-width: 1024px;
  padding: 0 176px;
  margin-left: 0;
  position: relative;
}
.photos-slider__item {
  height: 378px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #f4f7fb;
  cursor: grab;
}
.photos-slider__item.swiper-slide {
  opacity: 0.6;
  transition: 0.5s;
}
.photos-slider__item.swiper-slide-active {
  opacity: 1;
}
.photos-slider__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}
.photos-slider__item:hover img {
  transform: scale(1.1);
}
.photos-slider__prev, .photos-slider__next {
  padding: 10px;
  border-radius: 50%;
  background-color: rgba(244, 247, 251, 0.5);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  transition: 0.1s;
}
.photos-slider__prev:hover svg, .photos-slider__next:hover svg {
  transform: scale(1.3);
  fill: #0050B2;
}
.photos-slider__prev {
  left: 32px;
}
.photos-slider__next {
  right: 32px;
}
@media (max-width: 1279px) {
  .photos-slider {
    padding: 0 88px;
  }
}
@media (max-width: 767px) {
  .photos-slider {
    padding: 0;
  }
}

.press-news{
  margin-bottom: 50px;
}
.news-card {
  display: flex;
  height: 220px;
  gap: 32px;
  padding: 10px;
  border-bottom: 1px solid #A7A8AB;
  transition: background-color 0.5s, border-color 0.5s, border-radius 0.5s;
}
.news-card:hover {
  border-color: transparent;
  border-radius: 10px;
  background-color: #f4f7fb;
}
.news-card:hover .news-card__image img {
  transform: scale(1.1);
}
.news-card:hover .news-card__tag {
  stroke: #0050B2;
}
@media (max-width: 767px) {
  .news-card {
    flex-direction: column;
    gap: 20px;
    height: auto;
  }
}

.news-card__image {
  flex-shrink: 0;
  width: 310px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
}
.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
@media (max-width: 767px) {
  .news-card__image {
    width: 100%;
    height: 200px;
  }
}

.news-card__text-block {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-card__date {
  font-size: 12px;
  line-height: 18px;
  color: #A7A8AB;
}

.news-card__title {
  margin-top: 16px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card__excerpt {
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card__tag {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  line-height: 20px;
  color: #0050B2;
  transition: 0.3s;
  stroke: #A7A8AB;
}
@media (max-width: 767px) {
  .news-card__tag {
    margin-top: 18px;
  }
}

.media-card {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(167, 168, 171, 0.4);
  transition: 0.5s;
}
.media-card:hover {
  background-color: #f4f7fb;
}
.media-card:hover .media-card__image img {
  transform: scale(1.05);
}

.media-card__image {
  height: 169px;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}
.media-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
@media (max-width: 767px) {
  .media-card__image {
    width: auto;
  }
}

.media-card__text-block {
  margin-top: 10px;
  padding: 10px;
  height: 154px;
  display: flex;
  flex-direction: column;
}

.media-card__date {
  font-size: 12px;
  line-height: 18px;
  color: #A7A8AB;
}

.media-card__title {
  margin-top: 12px;
  color: black;
  font-size: 14px;
  line-height: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-card__bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.media-card__tag {
  color: #0050B2;
  font-size: 14px;
  line-height: 20px;
  margin-right: auto;
}

.media-card__count {
  font-size: 14px;
  line-height: 20px;
  color: #A7A8AB;
}

.media-card__icon {
  transition: 0.3s;
  stroke: #A7A8AB;
  fill: #A7A8AB;
}

.request-documents {
  max-width: 1024px;
}

.request-documents__item:not(:first-child) {
  margin-top: 20px;
}

.request-form {
  max-width: 1024px;
}

.request-form__title {
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
  color: black;
}

.request-form__subtitle {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: black;
}

.request-form__description {
  margin-top: 28px;
  font-size: 16px;
  line-height: 24px;
}
.request-form__description a {
  color: #0050B2;
}

.request-form__divider {
  margin: 40px 0;
}

.request-form__reciever-block {
  margin-top: 64px;
}

.request-form__reciever-select {
  margin-top: 28px;
}

.request-form__reciever-help-text {
  margin-top: 16px;
}

.request-form__reciever-is-executive {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.request-form__sender-is-entity {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.request-form__sender-grid {
  margin-top: 40px;
  display: grid;
  column-gap: 32px;
  row-gap: 20px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas: "i1 i1 i1 i1 i2 i2 i2 i2 i3 i3 i3 i3" "i4 i4 i4 i4 i5 i5 i5 i5 i5 i5 i5 i5" "i6 i6 i6 i6 i6 i6 i6 i6 i6 i6 i6 i6" "i7 i7 i7 i7 i7 i7 i8 i8 i8 i8 i8 i8" "i9 i9 i9 i9 i9 i9 i9 i9 i10 i10 i10 i10" "i11 i11 i11 i12 i12 i12 i13 i13 i13 i14 i14 i14";
}
@media (max-width: 1279px) {
  .request-form__sender-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-areas: "i1 i1 i2 i2 i3 i3" "i4 i4 i4 i5 i5 i5" "i6 i6 i6 i6 i6 i6" "i7 i7 i7 i8 i8 i8" "i9 i9 i9 i9 i10 i10" "i11 i11 i11 i12 i12 i12" "i13 i13 i13 i14 i14 i14";
  }
}
@media (max-width: 563px) {
  .request-form__sender-grid {
    grid-template-columns: 100%;
    grid-template-areas: none;
  }
}

.request-form__sender-input:nth-child(1) {
  grid-area: i1;
}
.request-form__sender-input:nth-child(2) {
  grid-area: i2;
}
.request-form__sender-input:nth-child(3) {
  grid-area: i3;
}
.request-form__sender-input:nth-child(4) {
  grid-area: i4;
}
.request-form__sender-input:nth-child(5) {
  grid-area: i5;
}
.request-form__sender-input:nth-child(6) {
  grid-area: i6;
}
.request-form__sender-input:nth-child(7) {
  grid-area: i7;
}
.request-form__sender-input:nth-child(8) {
  grid-area: i8;
}
.request-form__sender-input:nth-child(9) {
  grid-area: i9;
}
.request-form__sender-input:nth-child(10) {
  grid-area: i10;
}
.request-form__sender-input:nth-child(11) {
  grid-area: i11;
}
.request-form__sender-input:nth-child(12) {
  grid-area: i12;
}
.request-form__sender-input:nth-child(13) {
  grid-area: i13;
}
.request-form__sender-input:nth-child(14) {
  grid-area: i14;
}
@media (max-width: 563px) {
  .request-form__sender-input {
    grid-area: unset !important;
  }
}

.request-form__body-text {
  margin-top: 28px;
}
.request-form__body-text p:not(:first-child) {
  margin-top: 20px;
}

.request-form__body-grid {
  margin-top: 20px;
  display: grid;
  column-gap: 32px;
  row-gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 1279px) {
  .request-form__body-grid {
    grid-template-columns: 100%;
  }
}

.request-form__body-textarea {
  height: 200px;
}
@media (max-width: 1279px) {
  .request-form__body-textarea {
    height: 300px;
  }
}

.request-form__document {
  margin-top: 40px;
  display: flex;
  gap: 32px;
  align-items: center;
}
@media (max-width: 1279px) {
  .request-form__document {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
.request-form__document-upload {
  width: 320px;
  stroke: #A7A8AB;
}

.requst-form__document-formats {
  margin-top: 12px;
}

.requst-form__document-formats-label {
  cursor: pointer;
}

.request-form__policy {
  display: flex;
  gap: 12px;
}

.request-form__submit {
  margin-top: 20px;
}

.request-rules {
  max-width: 1024px;
}

.request-rules__divider {
  margin: 40px 0;
}

.request-rules__cols {
  display: flex;
  gap: 32px;
}
@media (max-width: 1279px) {
  .request-rules__cols {
    flex-direction: column-reverse;
  }
}

.request-rules__hours {
  width: 100%;
  max-width: 672px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (max-width: 1279px) {
  .request-rules__hours {
    gap: 20px;
  }
}

.request-rules__contact {
  width: 100%;
  height: fit-content;
  max-width: 316px;
  padding: 20px;
  border-radius: 10px;
  background-color: #f4f7fb;
  stroke: #0050B2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.services-page__search {
  margin-top: 40px;
  max-width: 1024px;
}
.services-page__content {
  margin-top: 64px;
  max-width: 1024px;
  display: flex;
  gap: 32px;
}
.services-page__menu {
  width: 320px;
}
.services-page__list {
  width: 672px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.select_category-mobile {display:none;}
@media (max-width: 767px) {
  .services-page__menu {
    display: none;
  }
  .services-page__list {
    gap: 32px;
    width:initial;
  }
  .select_category-mobile {display:block;}
  .services-page__content {flex-direction:column;}
}

.services-menu {
  width: 320px;
  padding: 20px;
  background-color: #f4f7fb;
  border-radius: 10px;
  height: fit-content;
}

.services-menu__button {
  padding: 10px;
  border: 1px solid #0050B2;
  color: #0050B2;
  border-radius: 10px;
  transition: 0.4s;
}
.services-menu__button:hover {
  color: white;
  border-color: #0061D9;
  background-color: #0061D9;
}

.services-menu__block {
  margin-top: 20px;
  --inner-height: fit-content;
  padding: 10px;
  /*height: 44px;*/
  overflow: hidden;
  transition: 0.4s;
}
.services-menu__block.selected {
	color:#0050B2;
	border:1px solid #0050B2;
	border-radius:10px;
}
.services-menu__block--open {
  height: var(--inner-height);
}
.services-menu__block--open .services-menu__block-devider {
  width: 100%;
}
.services-menu__block--open .services-menu__block-label svg {
  transform: rotate(-90deg);
}

.services-menu__block-label {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.2s;
}
.services-menu__block-label svg {
  flex-shrink: 0;
  fill: #A7A8AB;
}
.services-menu__block-label:hover {
  color: #0061D9;
}
.services-menu__block-label:hover svg {
  fill: #0061D9;
}

.services-menu__block-devider {
  height: 1px;
  width: 0;
  margin: 10px auto;
  background-color: #A7A8AB;
  transition: 0.4s;
}

.services-menu__block-links {
  padding: 20px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.services-menu__block-links a {
  transition: 0.2s;
}
.services-menu__block-links a:hover {
  color: #0061D9;
}

.services-item {
  display: block;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #A7A8AB;
  transition: 0.3s;
}
.services-item:hover {
  border-color: #0061D9;
}
.services-item:hover .services-item__tag {
  stroke: #0061D9;
}

.services-item__tag {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #0050B2;
  stroke: #A7A8AB;
  transition: inherit;
}
@media (max-width: 767px) {
  .services-item__tag svg {
    display: none;
  }
}

.contacts-page__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 32px;
  row-gap: 32px;
}
@media (max-width: 1279px) {
  .contacts-page__cols {
    grid-template-columns: 100%;
  }
}

.contacts-page__title {
  font-size: 30px;
  line-height: 36px;
  color: black;
}

.contacts-page__adresses {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contacts-page__subtitle {
  margin-top: 40px;
  font-size: 16px;
  line-height: 24px;
  color: #76767a;
}

.contacts-page__text {
  margin-top: 12px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: black;
}
.contacts-page__text a {
	color:#333333;
}

.contacts-page__map {
  height: 100%;
  min-height: 300px;
  border-radius: 10px;
  background-color: #f4f7fb;
  overflow: hidden;
}

.contacts-page__phones {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 32px;
}
@media (max-width: 1279px) {
  .contacts-page__phones {
    grid-template-columns: 1fr auto;
  }
}
@media (max-width: 767px) {
  .contacts-page__phones {
    grid-template-columns: 100%;
  }
}

.document-card {
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #A7A8AB;
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
}
@media (max-width: 767px) {
  .document-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.document-card__title {
  display: flex;
  gap: 16px;
  stroke: #A7A8AB;
}

.document-card__buttons {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 40px;
}
@media (max-width: 767px) {
  .document-card__buttons {
    width: 100%;
    justify-content: space-between;
  }
}

.document-card__button {
  padding: 15px 20px;
  border-radius: 10px;
  color: #0050B2;
  font-size: 14px;
  line-height: 20px;
  transition: 0.5s;
}
.document-card__button--outline {
  border: 1px solid #0050B2;
}
.document-card__button:hover {
  background-color: #0050B2;
  color: white;
}

.documents-page {
  max-width: 1024px;
}

.documents-page__list {
  margin-top: 64px;
  border-bottom: 1px solid #A7A8AB;
}

.documents-page__item {
  display: flex;
  gap: 32px;
  padding: 20px;
  border-top: 1px solid #A7A8AB;
}
@media (max-width: 767px) {
  .documents-page__item {
    flex-direction: column;
  }
}

.documents-page__item-info {
  width: 144px;
  flex-shrink: 0;
  margin-left: auto;
}
.documents-page__item-info p:not(:first-child) {
  margin-top: 12px;
}
@media (max-width: 767px) {
  .documents-page__item-info {
    margin: 0;
  }
}

.documents-page__item-download {
  margin-top: 20px;
}

.documents-page__pagination {
  margin-top: 40px;
}

.documents-search {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 163px 163px;
  position: relative;
  gap: 32px;
  max-height: 80px;
  transition: 0.4s;
}
.documents-search--advanced {
  max-height: 360px;
}
.documents-search--advanced .documents-search__element--advanced,
.documents-search--advanced .documents-search__reset,
.documents-search--advanced .documents-search__submit {
  opacity: 1;
  pointer-events: all;
  transition: 0.5s;
}
.documents-search--advanced .documents-search__controls {
  position: static;
}
.documents-search--advanced .documents-search__toggle svg {
  transform: rotate(-180deg);
}
.documents-search--advanced .documents-search__toggle::before {
  content: "Скрыть расширенный поиск";
}
@media (max-width: 1279px) {
  .documents-search {
    /* max-height: 138px; */
  }
  .documents-search--advanced {
    max-height: 588px;
  }
}
@media (max-width: 767px) {

  .documents-search--advanced {
    max-height: 830px;
  }
}

.documents-search__element {
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;

}

.documents-search__element--search-name {

  grid-column-start: 1;
  grid-column-end: 5;
  z-index: 6;
}
.documents-search--advanced .documents-search__element--search-name{
  grid-column-start: 1;
  grid-column-end: 7;
}
.documents-search__element--search-number {
  grid-column-start: 1;
  grid-column-end: 5;
  z-index: 5;
}
.documents-search__element--search-type {
  grid-column-start: 1;
  grid-column-end: 3;
  z-index: 4;
}
.documents-search__element--search-lvl {
  grid-column-start: 3;
  grid-column-end: 5;
  z-index: 3;
}
.documents-search__element--date-active {
  grid-column-start: 5;
  grid-column-end: 7;
  z-index: 2;
}
.documents-search__element--date-created {
  grid-column-start: 5;
  grid-column-end: 7;
  z-index: 2;
}
.documents-search__element--agency {
  grid-column-start: 1;
  grid-column-end: 5;
  z-index: 2;
}
.documents-search__submit{
  grid-column-start: 5;
  grid-column-end: 7;
}
.documents-search__element:nth-child(8) {
  z-index: 2;
}

@media (max-width: 767px) {
  .documents-search{
    max-height: 138px;
    display: flex;
    flex-direction: column;
  }
}
.custom-date-picker{
  display: flex;
  align-items: center;
  gap:5px;
}
#ui-datepicker-div{
  z-index: 9999!important;
}


.documents-search__element--search-name {

}
.documents-search__element--advanced {
  opacity: 0;
  pointer-events: none;
}
.documents-search__element--agency {
  max-width: 100%;
}
@media (max-width: 767px) {
  .documents-search__element {
    max-width: initial;
  }
}

.documents-search__controls {
  grid-column-start: 1;
  grid-column-end: 7;
  position: absolute;
  bottom: 13px;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 767px) {
  .documents-search__controls {
    flex-direction: column;
    align-items: flex-end;
  }
}

.documents-search__reset {
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #333333;
  opacity: 0;
  pointer-events: none;
}

.documents-search__toggle {
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #333333;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 12px;
  flex-direction: row;
}
.documents-search__toggle:before {
  content: "Расширенный поиск";
}

.documents-search__submit {
  align-self: flex-end;
  height: 50px;
  width: 100%;
  border-radius: 10px;
  background-color: #0050B2;
  color: white;
  transition: 0.3s;
  opacity: 0;
  pointer-events: none;
}
.documents-search__submit:hover {
  background-color: #0061D9;
}
@media (max-width: 1279px) {
  .documents-search__submit {
    margin-left: auto;
  }
}

.ministry-page__title {
  color: black;
  font-size: 30px;
  line-height: 36px;
}
@media (max-width: 767px) {
  .ministry-page__title {
    font-size: 22px;
    line-height: 28px;
  }
}

.ministry-page__authority-label {
  margin-top: 40px;
  padding: 40px;
  border-radius: 10px;
  background-color: #f4f7fb;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
}
.ministry-page__authority-label img {
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .ministry-page__authority-label {
    font-size: 19px;
    line-height: 24px;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 32px;
  }
}
@media (max-width: 563px) {
  .ministry-page__authority-label {
    margin-left: -32px;
    margin-right: -32px;
    border-radius: 0;
  }
}

.ministry-page__top-section {
  margin-top: 40px;
  display: grid;
  grid-gap: 32px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 1919px) {
  .ministry-page__top-section {
    grid-template-columns: 672px;
    grid-gap: 40px;
  }
}
@media (max-width: 767px) {
  .ministry-page__top-section {
    grid-template-columns: 100%;
    grid-gap: 32px;
  }
}

.ministry-page__leader-card {
  display: flex;
  gap: 20px;
  padding: 10px;
  border-radius: 10px;
  background-color: #f4f7fb;
}
@media (max-width: 767px) {
  .ministry-page__leader-card {
    justify-self: center;
    flex-direction: column;
    width: fit-content;
  }
}

.ministry-page__leader-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 6px;
}
@media (max-width: 767px) {
  .ministry-page__leader-image {
    height: 100%;
    width: 100%;
    max-height: 300px;
    max-width: 300px;
  }
}

.ministry-page__leader-info {
  flex-grow: 1;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
}

.ministry-page__leader-surname {
  color: black;
  font-size: 30px;
  line-height: 36px;
}

.ministry-page__leader-name {
  margin-top: 8px;
  color: #333333;
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
}

.ministry-page__leader-title {
  margin-top: 12px;
  color: #76767a;
  font-size: 16px;
  line-height: 24px;
}

.ministry-page__leader-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  stroke: #0050B2;
  color: #0050B2;
  transition: 0.2s;
  font-size: 16px;
  line-height: 24px;
}
.ministry-page__leader-link:hover {
  stroke: #0061D9;
  color: #0061D9;
}
@media (max-width: 767px) {
  .ministry-page__leader-link {
    margin-top: 32px;
  }
}

.ministry-page__contacts-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ministry-page__contacts-item {
  display: flex;
  align-items: center;
}

.ministry-page__contacts-item-icon {
  stroke: #A7A8AB;
  fill: #A7A8AB;
}

.ministry-page__contacts-item-text {
  margin-left: 16px;
}

.ministry-page__contacts-item-text-small {
  margin-left: 12px;
}

.ministry-page__requisits-block {
  margin-top: 16px;
}
@media (max-width: 1919px) {
  .ministry-page__requisits-block {
    margin-top: 40px;
  }
}
@media (max-width: 1279px) {
  .ministry-page__requisits-block {
    margin-top: 32px;
  }
}

.ministry-page__requisits-list {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
@media (max-width: 1279px) {
  .ministry-page__requisits-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.ministry-page__section {
  margin-top: 80px;
}
@media (max-width: 767px) {
  .ministry-page__section {
    margin-top: 64px;
  }
}

.ministry-page__section-body {
  margin-top: 40px;
}
@media (max-width: 767px) {
  .ministry-page__section-body {
    margin-top: 20px;
  }
}

.ministry-page__reception-item {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 32px;
  border-bottom: 1px solid #A7A8AB;
}
@media (max-width: 1279px) {
  .ministry-page__reception-item {
    grid-template-columns: 100%;
    grid-gap: 8px;
  }
}
@media (max-width: 767px) {
  .ministry-page__reception-item {
    grid-gap: 16px;
  }
}

.ministry-page__reception-column {
  min-height: 68px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 767px) {
  .ministry-page__reception-column {
    min-height: auto;
  }
}

.ministry-page__documents {
  max-width: 1024px;
}

.goverment-agency {
  max-width: 1024px;
}

.goverment-agency__title {
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
  color: black;
}

.goverment-agency__list {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 32px;
  column-gap: 32px;
}
@media (max-width: 1279px) {
  .goverment-agency__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .goverment-agency__list {
    grid-template-columns: 100%;
  }
}

.goverment-agency__item {
  height: 150px;
  padding: 20px;
  font-size: 18px;
  line-height: 24px;
  border-radius: 10px;
  border: 1px solid #0050B2;
}

.search-page {
  max-width: 1024px;
}

.search-page__search-container {
  position: relative;
}
@media (max-width: 1279px) {
  .search-page__search-container {
    padding-bottom: 60px;
  }
}

.search-page__search-input {
  max-width: 672px;
}

.search-page__search-expanded {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s;
}
.search-page__search--open .search-page__search-expanded {
  max-height: 114px;
}

.search-page__search-date {
  max-width: 320px;
  padding-top: 32px;
}

.search-page__search-dates-picker {
  margin-top: 12px;
}

.search-page__search-open {
  cursor: pointer;
  position: absolute;
  bottom: 14px;
  right: 0;
  display: flex;
  fill: #0050B2;
}
.search-page__search-open:before {
  content: "Расширенный поиск";
  color: #0050B2;
  margin-right: 12px;
}
.search-page__search--open .search-page__search-open svg {
  transform: scaleY(-1);
}
.search-page__search--open .search-page__search-open::before {
  content: "Скрыть расширенный поиск";
}

.search-page__search-options {
  margin-top: 34px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(167, 168, 171, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 767px) {
  .search-page__search-options {
    flex-direction: column;
    align-items: start;
    gap: 34px;
  }
}

.search-page__search-select {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 20px;
}

.search-page__results {
  padding: 40px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 32px;
  row-gap: 20px;
  grid-auto-flow: row dense;
}
@media (max-width: 1279px) {
  .search-page__results {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .search-page__results {
    grid-template-columns: 100%;
  }
}
.search-page__results .r1 {
  height: 100px;
  background-color: red;
}
.search-page__results .r2 {
  grid-column: span 2;
  height: 100px;
  background-color: green;
}
.search-page__results .r3 {
  grid-column: span 3;
  height: 100px;
  background-color: blue;
}

.search-page__item-news,
.search-page__item-document {
  grid-column: span 3;
}
@media (max-width: 1279px) {
  .search-page__item-news,
.search-page__item-document {
    grid-column: span 2;
  }
}
@media (max-width: 767px) {
  .search-page__item-news,
.search-page__item-document {
    grid-column: span 1;
  }
}

.search-page__pagination {
  padding-top: 40px;
  border-top: 1px solid rgba(167, 168, 171, 0.4);
}

.list-block {
  max-width: 1024px;
}

.list-block__item {
  display: block;
  padding: 20px;
  border-bottom: 1px solid #eef4fa;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
  color: #333333;
  transition: color 0.3s;
}
.list-block__item:after {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-image: url("img/svg/dir.svg");
}
.list-block__item:hover {
  color: #0050B2;
  background-color: #f4f7fb;
}
@media (max-width: 1279px) {
  .list-block__item {
    justify-content: space-between;
  }
}
.list-block__item--link:after {
  background-image: url("img/svg/link-icon.svg");
}

.docs-block {
  max-width: 1024px;
}

.docs-block__item:not(:first-child) {
  margin-top: 20px;
}

.text-block {
  max-width: 1024px;
}
.text-block h1 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 500;
  color: black;
  margin: 0.5em 0;
}
.text-block h2 {
  font-size: 28px;
  line-height: 34px;
  font-weight: 500;
  color: black;
  margin: 0.5em 0;
}
.text-block h3 {
  font-size: 24px;
  line-height: 30px;
  font-weight: 500;
  color: black;
  margin: 0.5em 0;
}
.text-block h4 {
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
  color: black;
  margin: 0.5em 0;
}
.text-block h5 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: black;
  margin: 0.5em 0;
}
.text-block h6 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: black;
  margin: 0.5em 0;
}
.text-block p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #333333;
  margin: 0.5em 0;
}
.text-block a {
  color: #0050B2;
  transition: 0.3s;
}
.text-block a:hover {
  color: #0061D9;
}
.text-block ul {
  margin: 0.5em 0;
  padding-left: 25px;
}
.text-block table {
  margin: 1em 0;
  overflow: hidden;
  border: none;
  outline: none;
  border-spacing: 0;
}
.text-block table th {
  padding: 10px;
  border: 1px solid rgba(167, 168, 171, 0.4);
  background-color: #f4f7fb;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: black;
}
.text-block table th:first-child {
  border-radius: 6px 0 0 0;
}
.text-block table th:last-child {
  border-radius: 0 6px 0 0;
}
.text-block table td {
  padding: 10px;
  border: 1px solid rgba(167, 168, 171, 0.4);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #333333;
}
.text-block table tr:last-child td:first-child {
  border-radius: 0 0 0 6px;
}
.text-block table tr:last-child td:last-child {
  border-radius: 0 0 6px 0;
}

.info-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 32px;
}
@media (max-width: 1919px) {
  .info-block {
    grid-template-columns: 672px;
    row-gap: 42px;
  }
}
@media (max-width: 1279px) {
  .info-block {
    grid-template-columns: 100%;
  }
}

.info-block__card {
  display: flex;
  gap: 20px;
  padding: 10px;
  border-radius: 10px;
  background-color: #f4f7fb;
}
@media (max-width: 767px) {
  .info-block__card {
    justify-self: center;
    flex-direction: column;
    width: fit-content;
  }
}

.info-block__card-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 6px;
}
@media (max-width: 767px) {
  .info-block__card-image {
    height: 100%;
    width: 100%;
    max-height: 300px;
    max-width: 300px;
  }
}

.info-block__card-info {
  flex-grow: 1;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
}

.info-block__card-surname {
  color: black;
  font-size: 30px;
  line-height: 36px;
}

.info-block__card-name {
  margin-top: 8px;
  color: #333333;
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
}

.info-block__card-title {
  margin-top: 12px;
  color: #76767a;
  font-size: 16px;
  line-height: 24px;
}

.info-block__card-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  stroke: #0050B2;
  color: #0050B2;
  transition: 0.2s;
  font-size: 16px;
  line-height: 24px;
}
.info-block__card-link:hover {
  stroke: #0061D9;
  color: #0061D9;
}
@media (max-width: 767px) {
  .info-block__card-link {
    margin-top: 32px;
  }
}

.info-block__contacts-title {
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: black;
}

.info-block__contacts-item {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #333333;
  stroke: #A7A8AB;
  fill: #A7A8AB;
}
.info-block__contacts-item svg {
  flex-shrink: 0;
}

.info-block__contacts-reqs {
  display: flex;
  gap: 20px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #333333;
}
@media (max-width: 767px) {
  .info-block__contacts-reqs {
    flex-direction: column;
  }
}

.agency-list {
  max-width: 1024px;
}

.agency-list__item {
  --active-transition: 0.5s;
  padding: 0 32px;
  border-radius: 10px;
  transition: background-color var(--active-transition), border-color var(--active-transition);
}
.agency-list__item--active {
  background-color: #f4f7fb;
}
.agency-list__item--active .agency-list__head {
  border-color: rgba(167, 168, 171, 0.4);
}
.agency-list__item--active .agency-list__icon {
  transform: scaleY(-1);
}
.agency-list__item--active .agency-list__body {
  max-height: 360px;
}

.agency-list__head {
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #A7A8AB;
}

.agency-list__label {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
@media (max-width: 767px) {
  .agency-list__label {
    display: none;
  }
}

.agency-list__icon {
  margin-left: auto;
  transition: transform var(--active-transition);
}

.agency-list__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--active-transition);
}

.agency-list__info {
  padding-top: 12px;
  padding-bottom: 20px;
}

.agency-list__info-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.agency-list__info-divider {
  margin: 12px 0;
}

.agency-list__contacts-block {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: column;
  row-gap: 12px;
  column-gap: 50px;
}
@media (max-width: 1279px) {
  .agency-list__contacts-block {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .agency-list__contacts-block {
    grid-template-columns: 100%;
    grid-template-rows: auto;
    grid-auto-flow: unset;
  }
}

.agency-list__phone {
  display: flex;
  align-items: center;
  gap: 12px;
}

.structure__head {
  padding: 32px;
  border-radius: 10px;
  background-color: #f4f7fb;
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
  color: black;
}
@media (max-width: 767px) {
  .structure__head {
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    color: black;
    padding: 20px;
  }
}

.structure__list {
  padding-left: 20px;
  transition: 0.5s;
}
@media (max-width: 767px) {
  .structure__list {
    margin-left: -20px;
    padding-left: 30px;
  }
}

.structure__item {
  list-style-type: none;
  position: relative;
  padding-left: 42px;
  padding-top: 20px;
}
.structure__item:not(:last-child) {
  border-left: 1px solid #A7A8AB;
}
.structure__item:before {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  width: 32px;
  height: 52px;
  border-bottom: 1px solid #A7A8AB;
}
.structure__item:last-child::before {
  border-radius: 0 0 0 10px;
  border-left: 1px solid #A7A8AB;
}
.structure__item .structure__list {
  height: 0;
  overflow: hidden;
}
@media (max-width: 1279px) {
  .structure__item:before {
    height: 42px;
  }
}
@media (max-width: 767px) {
  .structure__item {
    padding-top: 10px;
    padding-left: 10px;
  }
  .structure__item:before {
    height: 32px;
    width: 10px;
  }
}

.structure__title {
  width: fit-content;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #A7A8AB;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: black;
}
@media (max-width: 1279px) {
  .structure__title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: black;
    padding: 10px 20px;
  }
}
@media (max-width: 767px) {
  .structure__title {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: black;
    padding: 10px 10px;
  }
}

.structure__button {
  position: absolute;
  left: 17px;
  top: 42px;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid #A7A8AB;
  transition: 0.3s;
  background-color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.structure__button::before {
  position: absolute;
  content: "";
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background-color: #0050B2;
}
.structure__button::after {
  position: absolute;
  content: "";
  height: 12px;
  width: 2px;
  border-radius: 1px;
  background-color: #0050B2;
  transition: height 0.3s;
}
.structure__button--on::after {
  display: none;
}
.structure__button:hover {
  border: 1px solid #0050B2;
}
@media (max-width: 1279px) {
  .structure__button {
    top: 32px;
  }
}
@media (max-width: 767px) {
  .structure__button {
    top: 25px;
    left: -18px;
    width: 14px;
    height: 14px;
  }
  .structure__button::before {
    width: 8px;
  }
  .structure__button::after {
    height: 8px;
  }
}

.project-list {
  padding-top: 32px;
  border-top: 1px solid rgba(167, 168, 171, 0.4);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 32px;
  row-gap: 32px;
}
@media (max-width: 1919px) {
  .project-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1279px) {
  .project-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .project-list {
    grid-template-columns: 100%;
  }
}

.project-list__item {
  display: block;
  padding: 10px 10px 20px;
  border-bottom: 1px solid #A7A8AB;
  transition: 0.4s;
}
.project-list__item:hover {
  border-radius: 10px;
  border-color: transparent;
  background-color: #f4f7fb;
}
.project-list__item:hover .project-list__icon {
  stroke: #0050B2;
}

.project-list__image {
  height: 160px;
  border-radius: 6px;
  overflow: hidden;
}
.project-list__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 767px) {
  .project-list__image {
    height: auto;
  }
}

.project-list__title {
  margin-top: 20px;
  height: 48px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #333333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-list__icon {
  margin-top: 18px;
  stroke: #A7A8AB;
  transition: 0.2s;
}

.table {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(167, 168, 171, 0.4);
}

.table__head {
  display: flex;
  background-color: #f4f7fb;
}

.table__head-ceil {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  line-height: 24px;
  color: black;
}
.table__head-ceil:not(:first-child) {
  border-left: 1px solid rgba(167, 168, 171, 0.4);
}

.table__row {
  display: flex;
  border-top: 1px solid rgba(167, 168, 171, 0.4);
  display: flex;
}

.table__body-ceil {
  flex: 1;
  padding: 10px;
  font-size: 14px;
  line-height: 20px;
  color: #333333;
}
.table__body-ceil:not(:first-child) {
  border-left: 1px solid rgba(167, 168, 171, 0.4);
}

.switch-view {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: 0.3s;
}
.switch-view__checkbox {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 14px;
  background-color: #65A21A;
  border-radius: 7px;
  cursor: pointer;
  transition: 0.3s;
}
.switch-view__checkbox::after {
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  transition: inherit;
  content: "";
  width: 12px;
  height: 12px;
  background-color: #fff;
  border-radius: 50%;
}
.switch-view__label {
  cursor: pointer;
  user-select: none;
  font-size: 12px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
input:checked ~ .switch-view__checkbox {
  background-color: #0061D9;
}
input:checked ~ .switch-view__checkbox::after {
  left: 11px;
}
.switch-view:hover {
  color: #0050B2;
}

.send-request {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: 0.3s;
  fill: #65A11A;
}
.send-request__label {
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
	color:initial;
}
.send-request:hover svg {
  transform: translateX(3px);
}
@media (max-width: 767px) {
  .send-request__label {
    display: none;
  }
  .send-request:hover svg {
    transform: none;
  }
}

.button {
  cursor: pointer;
  height: 50px;
  width: 100%;
  max-width: 320px;
  border-radius: 10px;
  border: 1px solid #65A11A;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: color 0.2s, background-color 0.4s, border-color 0.4s, stroke 0.1s;
  fill: #65A11A;
  stroke: #65A11A;
}
.button:hover, .button:focus {
  color: #fff;
  fill: white;
  stroke: white;
  background-color: #65A11A;
  border-color: #65A11A;
}
.button:active {
  background-color: #65A11A;
}
.button--filled {
  background-color: #65A11A;
  color: #fff;
  fill: white;
  stroke: white;
}

.select {
  position: relative;
}

.select__current {
  cursor: pointer;
  position: relative;
  z-index: 2;
  height: 50px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid #A7A8AB;
  fill: #A7A8AB;
  color: #76767a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: 0.3s;
  background-color: white;
}
.select__current:hover {
  border: 1px solid #0050B2;
  fill: #333333;
}

.select__value {
  flex-grow: 1;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
  text-overflow: ellipsis;
}

.select__dropdown {
  width: 100%;
  max-height: 0;
  transition: max-height 0.4s;
  background-color: white;
  overflow: hidden;
  position: absolute;
  top: 32px;
  z-index: 1;
  border-radius: 0 0 10px 10px;
  border-left: 1px solid #A7A8AB;
  border-right: 1px solid #A7A8AB;
  border-bottom: 1px solid #A7A8AB;
}

.select__options {
  padding: 24px 15px 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 200px;
  height: 200px;
  overflow-y: scroll;
}
.select__options::-webkit-scrollbar {
  /*display: none;*/
}

.select__option {
  cursor: pointer;
  color: #333333;
  font-size: 14px;
  line-height: 20px;
  transition: 0.2s;
}
.select__option:hover {
  color: #0050B2;
}

.select--open .select__current {
  border: 1px solid #0050B2;
  fill: #333333;
  color: #333333;
}
.select--open .select__current svg {
  transform: scaleY(-1);
}

.select--open .select__dropdown {
  max-height: 300px;
}

.simple-select {
  position: relative;
}

.simple-select__value {
  cursor: pointer;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.simple-select__value span {
  margin-right: 12px;
  color: #0050B2;
  font-size: 14px;
  line-height: 20px;
}
.simple-select__value svg {
  fill: #0050B2;
}

.simple-select__options {
  position: absolute;
  top: 100%;
  left: -10px;
  min-width: calc(100% + 20px);
  padding: 10px;
  background-color: #f4f7fb;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
}
.simple-select--open .simple-select__options {
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.3s;
}

.simple-select__option {
  cursor: pointer;
  white-space: nowrap;
  display: block;
  color: #0050B2;
  font-size: 14px;
  line-height: 24px;
}
input[type=radio]:checked ~ .simple-select__option {
  display: none;
}

.checkbox .checkbox__icon {
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid #A7A8AB;
  background-color: white;
  transition: border-color 0.2s, background-color 0.2s;
}
.checkbox .checkbox__icon:hover {
  border-color: #0050B2;
}

.checkbox input:checked ~ .checkbox__icon {
  border-color: #0050B2;
  background-color: #0050B2;
  background-image: url(img/svg/checkbox.svg);
  background-repeat: no-repeat;
  background-position: center;
}

.input {
  width: 100%;
  height: 50px;
  padding-left: 15px;
  padding-right: 15px;
  border-radius: 10px;
  border: 1px solid #A7A8AB;
  color: #333333;
  font-size: 14px;
  line-height: 20;
  transition: border-color 0.3s;
  text-overflow: ellipsis;
}
.input::placeholder {
  color: #A7A8AB;
}
.input:focus {
  outline: none;
  border-color: #0050B2;
}
.input:hover {
  border-color: #0050B2;
}

.textarea {
  position: relative;
}
.textarea textarea {
  width: 100%;
  height: 100%;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #A7A8AB;
  transition: border-color 0.3s;
  font-size: 14px;
  line-height: 20px;
  color: #333333;
  resize: none;
  overflow: hidden;
}
.textarea textarea::placeholder {
  color: #76767a;
}
.textarea textarea:hover {
  border-color: #0050B2;
}
.textarea textarea:focus {
  border-color: #0050B2;
  outline: none;
}
.textarea::after {
  content: attr(data-maxlength);
  position: absolute;
  right: 16px;
  bottom: 15px;
  color: #F5F5F7;
  font-size: 12px;
  line-height: 18px;
}
@media (max-width: 1279px) {
  .textarea textarea {
    overflow: auto;
  }
}

.textarea__corner {
  position: absolute;
  right: 0;
  bottom: 0;
  stroke: #F5F5F7;
  transition: stroke 0.1s;
  cursor: s-resize;
}
.textarea__corner:hover {
  stroke: #0050B2;
}

.dates-picker {
  position: relative;
}

.dates-picker__container {
  width: 100%;
  height: 50px;
}

.dates-picker__icon {
  position: absolute;
  right: 15px;
  top: 13px;
  z-index: 100;
}

.calendar {
  width: 100%;
  position: relative;
}
.calendar--open .calendar__wrapper {
  max-height: 420px;
}
.calendar--open .calendar__output {
  border-color: #0050B2;
}

.calendar__output {
  position: relative;
  z-index: 10;
  height: 50px;
  background-color: white;
  border-radius: 10px;
  border: 1px solid #A7A8AB;
  transition: 0.3s;
  padding-left: 15px;
  padding-right: 60px;
  display: flex;
  align-items: center;
}
.calendar__output:hover {
  border-color: #0050B2;
}

.calendar__wrapper {
  position: absolute;
  top: 42px;
  left: 0;
  right: 0;
  z-index: 9;
  padding-left: 20px;
  padding-right: 20px;
  background-color: white;
  border-radius: 0 0 10px 10px;
  border: 1px solid #A7A8AB;
  max-height: 0;
  transition: 0.5s;
  overflow: hidden;
}

.calendar__monthes {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar__currentMonth {
  font-size: 14px;
  line-height: 20px;
  color: black;
}

.calendar__prevMonth,
.calendar__nextMonth {
  transition: 0.2s;
}
.calendar__prevMonth:hover,
.calendar__nextMonth:hover {
  fill: #0061D9;
}

.calendar__days {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar__day {
  font-size: 12px;
  line-height: 18px;
  color: #A7A8AB;
  text-transform: capitalize;
  text-align: center;
}

.calendar__dates {
  padding: 12px 0;
  border-top: 1px solid rgba(167, 168, 171, 0.4);
  border-bottom: 1px solid rgba(167, 168, 171, 0.4);
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(6, 39px);
  overflow: hidden;
}

.calendar__date {
  align-self: center;
  cursor: pointer;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 18px;
  color: black;
}
.calendar__date:hover {
  background-color: #0061D9;
  color: black;
  z-index: 9;
}
.calendar__date--not-current-month {
  color: #A7A8AB;
}
.calendar__date--selected {
  background-color: #0050B2;
  border-radius: 6px;
  color: white;
  z-index: 5;
  transition: background-color 0.2s, color 0.2s;
}
.calendar__date--in-range {
  background-color: #0050B2;
  color: white;
  margin: 0 -10px;
  padding: 0 10px;
  transition: background-color 0.2s, color 0.2s;
}
.calendar__date--in-hover {
  background-color: #0061D9;
  color: black;
  margin: 0 -10px;
  padding: 0 10px;
}

.calendar__range-mode {
  margin-top: 12px;
  margin-bottom: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 20px;
  color: #0050B2;
}
.calendar__range-mode:before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid #A7A8AB;
  transition: border-color 0.3s, background-color 0.3s;
}
.calendar__range-mode:hover::before {
  border: 1px solid #0050B2;
}
.calendar__range-mode--selected::before {
  border-color: #0050B2;
  background-color: #0050B2;
  background-image: url(img/svg/checkbox.svg);
  background-repeat: no-repeat;
  background-position: center;
}

.search-input {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input__input {
  width: 100%;
  height: 50px;
  border-radius: 10px;
  border: 1px solid #A7A8AB;
  outline: none;
  padding-left: 15px;
  padding-right: 100px;
  transition: 0.2s;
}
.search-input__input::placeholder {
  color: #A7A8AB;
}
.search-input__input:hover {
  border-color: #0061D9;
}
.search-input__input:focus {
  border-color: #0050B2;
}

.search-input__submit {
  outline: none;
  position: absolute;
  right: 15px;
  stroke: #A7A8AB;
  transition: 0.2s;
}
.search-input__submit:hover {
  stroke: #0050B2;
}

.search-input__reset {
  outline: none;
  position: absolute;
  right: 64px;
  stroke: #A7A8AB;
  transition: 0.2s;
}
.search-input__reset:hover {
  stroke: #0050B2;
}
.search-input__reset:after {
  content: "";
  position: absolute;
  top: 0;
  right: -13px;
  bottom: 0;
  width: 1px;
  background-color: #A7A8AB;
}
input:placeholder-shown ~ .search-input__reset {
  display: none;
}

.home-page-slider-section{
  display: flex;
  justify-content: space-between;
}
.mainpage-topbar {
    width: 320px;
}
.homepage-slider {
	width: calc(100% - 320px - 32px);
}
.homepage-slider-section {
    display: flex;
    justify-content: space-between;
}
@media screen and (max-width:1440px){
  .home-page-slider-section{
    flex-direction: column;
    gap:40px;
  }
  .homepage-slider {
    width:100%;
  }
  .mainpage-topbar {
      width:100%;
      max-width: 670px;
  }
}
@media (max-width:560px){
	.home-slide__textblock {
		max-width: calc(100% - 64px);
	}
}
div.ml-confd-text {
    margin: 20px 20px 0px 20px;
}
@media (max-width: 767px) {
	table {font-size:80%;}
	.table_contacts {overflow-x:scroll;}
}
@media (max-width: 500px) {
	table {font-size:70%;}
}
.calendar__toggle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 980;
}
.footer__logo-label {
	color:#333333;
}