.main-page-news-sections {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.25rem !important;
}
.main-page-news-sections li {
  padding-right: 0 !important;
  margin-bottom: 0.3125rem !important;
}
.main-page-news-sections li:nth-child(-n+7) {
  display: block !important;
}
.main-page-news-sections li:not(:last-child) {
  margin-right: 0.3125rem !important;
}
.main-page-news-sections li a {
  background: rgba(15, 97, 217, 0.2);
  text-decoration: none;
  color: rgb(10, 77, 181);
  font-size: 0.875rem;
  display: flex;
  padding: 0.375rem 0.9375rem;
  border-radius: 1.5625rem;
  font-weight: 500;
  transition-duration: 0.3s;
}
.main-page-news-sections li a:hover {
  background: var(--bs-primary);
  color: white;
}
@media (max-width: 1199px) {
  .main-page-news-sections {
    flex-wrap: nowrap;
    overflow: scroll;
    white-space: nowrap;
    margin-left: calc(1rem * -1) !important;
    margin-right: calc(1rem * -1) !important;
    width: calc(100% + 2rem);
    justify-content: flex-start;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}
@media (min-width: 1200px) {
  .main-page-news-sections li {
    display: none !important;
  }
}

.section__header .text-primary {
  font-weight: 500;
}

.section--news-grid .gy-3 {
  --bs-gutter-y: 0;
  margin-top: 4.375rem;
}
.section--news-grid .col-lg-4 {
  margin-top: 0 !important;
  margin-bottom: 4.0625rem;
}
.section--news-grid .card--news {
  padding: 1.25rem !important;
  border-radius: 3px;
  border: 1px solid rgb(222, 226, 230);
  margin-bottom: 0 !important;
  height: 100%;
}
.section--news-grid .card--news .row {
  margin: 0;
}
.section--news-grid .card--news .row .col-lg-12 {
  padding: 0;
}
.section--news-grid .card--news .row .col {
  display: flex;
  flex-direction: column-reverse;
}
.section--news-grid .card--news .card-img {
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 3px;
}
.section--news-grid .card--news .card-body.pt-lg-4 {
  padding-top: 0 !important;
}
.section--news-grid .card--news .card-body.mb-3 {
  margin-bottom: 0.625rem !important;
  margin-top: 1.25rem;
}
.section--news-grid .card--news .card-title {
  height: auto;
  margin: 0 !important;
}
.section--news-grid .card--news .card-time {
  color: rgb(155, 159, 168);
  font-weight: 500;
}
@media (max-width: 991px) {
  .section--news-grid .gy-3 {
    margin-top: 0 !important;
    margin-left: calc(1rem * -1);
    margin-right: calc(1rem * -1);
    padding-left: 0.375rem;
    padding-right: 0.375rem;
  }
  .section--news-grid .col-lg-4 {
    width: 50%;
    padding-left: 0.625rem;
    padding-right: 0.625rem;
    margin-bottom: 1.25rem;
  }
  .section--news-grid .card--news .row .col-lg-12 {
    width: 100%;
    order: 0 !important;
  }
  .section--news-grid .card--news .row .col-lg-12 .ms-3 {
    margin-left: 0 !important;
  }
  .section--news-grid .card--news .card-img-canvas {
    width: 100%;
    padding: 0;
    height: 10.125rem;
  }
}
@media (max-width: 767px) {
  .section--news-grid .col-lg-4 {
    width: calc(100% - 2.9375rem);
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
    margin-right: 1.125rem;
  }
  .section--news-grid .card-title {
    text-decoration: none;
  }
  .section--news-grid .gy-3 {
    flex-wrap: nowrap;
    padding-left: 0;
    padding-right: 0;
  }
  .section--news-grid .container {
    /*padding-bottom: 2.9375rem;*/
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .section--news-grid .swiper-button-prev,
  .section--news-grid .swiper-button-next {
    position: static;
    width: 2.6875rem;
    height: 2.6875rem;
    background-color: rgb(222, 226, 230);
    transform: none;
    margin-top: 0.75rem;
    background-repeat: no-repeat;
    background-position: center;
  }
  .section--news-grid .swiper-button-prev:after,
  .section--news-grid .swiper-button-next:after {
    content: none;
  }
  .section--news-grid .swiper-button-prev {
    margin-right: 0.625rem;
    background-image: url("../../img/icon-arrow-left.svg");
  }
  .section--news-grid .swiper-button-next {
    margin-right: 0.625rem;
    background-image: url("../../img/icon-arrow-right.svg");
  }
  .section--news-grid .section__header {
    width: 100%;
  }
}

footer.l-footer {
  background-image: url("../../img/footer-bg.jpg");
  background-size: cover;
  background-position: center;
  padding-top: 2.375rem;
}
footer.l-footer .l-footer__row:first-child {
  padding-bottom: 2.625rem;
  margin-bottom: 2.1875rem;
}
footer.l-footer .l-footer__row:first-child .col-lg-4:first-child {
  width: 28%;
  margin-right: 4%;
}
footer.l-footer .l-footer__row:first-child .col-lg-4:last-child {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /*align-items: flex-end;*/
  padding-right: 0;
  flex: 1;
}
footer.l-footer .l-footer__row:last-child {
  margin-bottom: 2.5rem;
}
footer.l-footer .l-footer__row:last-child .col-12 {
  padding: 0;
}
footer.l-footer .l-footer__row .row {
  margin-left: 0;
  margin-right: 0;
}
footer.l-footer .l-footer__developer {
  display: flex;
  justify-content: flex-end;
}
footer.l-footer .age-restriction {
  flex: 1;
  display: flex;
  align-items: end;
}
footer.l-footer .age-restriction__content {
  background: rgb(227, 21, 21);
  border: 2px solid white;
  border-radius: 3px;
  display: flex;
  align-items: center;
  max-width: 10.75rem;
  padding: 0.375rem 0.5rem 0.4375rem;
}
footer.l-footer .age-restriction__text {
  margin-left: 0.5rem;
  color: white;
  line-height: 1rem;
  font-weight: 500;
}
footer.l-footer .background-block {
  background: rgb(59, 67, 87);
  padding: 0.9375rem;
}
footer.l-footer .use-restriction {
  margin-top: 2.25rem;
  margin-bottom: 2.25rem;
}
footer.l-footer--type1 .d-none.border-bottom {
  display: none !important;
}
@media (max-width: 991px) {
  footer.l-footer .l-footer__row:first-child .col-lg-4 {
    padding-left: 0;
    padding-right: 0;
  }
  footer.l-footer .l-footer__row:first-child .col-lg-4:first-child {
    display: none;
  }
  footer.l-footer .l-footer__row:first-child .col-lg-4:last-child {
    align-items: flex-start;
  }
  footer.l-footer .l-footer__row:first-child .col-lg-4 .age-restriction {
    margin-top: 1.5rem;
  }
  footer.l-footer .l-footer__developer {
    justify-content: flex-start;
  }
}

.banners {
  margin-top: 1.5625rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem;
}
.banners .right-col > div {
  height: 100% !important;
}
@media (max-width: 767px) {
  .banners {
    display: block;
  }
  .banners .right-col {
    margin-top: 1.5rem;
  }
}

.banner {
  position: relative;
  border-radius: 3px;
  line-height: 1.2;
}
.banner--type-1 {
  color: white;
  background-color: rgb(56, 186, 254);
  margin-bottom: 1.5rem;
}
.banner--type-1 .banner__image {
  position: relative;
  border-radius: 0 0 0 200px;
  overflow: hidden;
}
.banner--type-1 .banner__image:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 0 0 0 200px;
  box-shadow: inset -6px -9px 40px -12px rgb(41, 47, 51);
}
.banner--type-1 .banner__image img {
  -o-object-fit: cover;
     object-fit: cover;
}
.banner--type-1 .gosuslugi {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: rgb(10, 77, 181);
  padding: 1.125rem 1.25rem 1.125rem 2.5rem;
  border-radius: 50px 0 0 0;
}
.banner--type-1 .gosuslugi__text {
  line-height: 1.375rem;
  font-size: 1.125rem;
  font-weight: 500;
}
@media (max-width: 991px) {
  .banner--type-1 .gosuslugi {
    position: static;
    background: transparent;
    padding: 0;
    align-items: flex-start;
    margin-left: 1.25rem;
  }
  .banner--type-1 .banner__footer {
    display: flex;
    align-items: center;
  }
}
@media (max-width: 767px) {
  .banner--type-1 .gosuslugi {
    margin-left: 0;
    margin-top: 1.25rem;
  }
  .banner--type-1 .btn {
    margin-top: 1.25rem;
  }
  .banner--type-1 .banner__footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .banner--type-1 .banner__image {
    border-radius: 0;
  }
  .banner--type-1 .banner__image:before {
    content: none;
  }
}
.banner--type-2 .btn {
  padding-left: 2.375rem;
  padding-right: 2.375rem;
}
.banner--type-2 .banner__footer {
  display: flex;
  align-items: center;
}
.banner--type-2 .banner__footer .btn {
  margin-right: 1.4375rem;
}
.banner--type-2 .banner__image img {
  -o-object-fit: contain;
     object-fit: contain;
}
@media (max-width: 767px) {
  .banner--type-2 .banner__footer {
    margin-top: 1.25rem;
  }
}
.banner--type-1, .banner--type-2 {
  height: 18.9375rem;
  display: flex;
}
.banner--type-1 .banner__title, .banner--type-2 .banner__title {
  font-size: 1.5625rem;
  margin-bottom: 0.75rem;
}
.banner--type-1 .banner__content, .banner--type-2 .banner__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.625rem 1.8125rem 1.8125rem 1.8125rem;
}
.banner--type-1 .banner__text, .banner--type-2 .banner__text {
  width: 16.25rem;
  max-width: 100%;
}
.banner--type-1 .banner__image, .banner--type-2 .banner__image {
  flex: 1;
  text-align: right;
}
.banner--type-1 .banner__image img, .banner--type-2 .banner__image img {
  height: 100%;
  width: auto;
}
@media (max-width: 991px) {
  .banner--type-1 .banner__image, .banner--type-2 .banner__image {
    display: none;
  }
}
@media (max-width: 767px) {
  .banner--type-1, .banner--type-2 {
    height: auto;
    flex-direction: column;
  }
  .banner--type-1 .banner__content, .banner--type-2 .banner__content {
    width: 100%;
  }
  .banner--type-1 .banner__image, .banner--type-2 .banner__image {
    display: block;
  }
}
.banner--type-2, .banner--type-3 {
  border: 1px solid rgb(222, 226, 230);
}
.banner--type-3 {
  height: 100%;
  background: rgb(250, 250, 250);
  display: flex;
  flex-direction: column;
}
.banner--type-3 .gosuslugi {
  padding: 1.875rem;
}
.banner--type-3 .banner__content {
  padding: 1.4375rem 1.8125rem 2.125rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.banner--type-3 .banner__text {
  flex: 1;
}
.banner--type-3 .banner__title {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.banner--type-3 .banner__title,
.banner--type-3 .banner__description {
  width: 15.625rem;
  max-width: 100%;
}
@media (max-width: 767px) {
  .banner--type-3 {
    margin-top: 1.5rem;
  }
  .banner--type-3 .banner__text {
    margin-bottom: 1.25rem;
  }
}
.banner--type-1 .btn, .banner--type-3 .btn {
  padding-left: 1.6875rem;
  padding-right: 1.6875rem;
}
.banner__description {
  font-weight: 500;
}

.show-more-btn {
  margin: 0.9375rem auto 0;
  display: flex;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-weight: 500;
}
@media (max-width: 1199px) {
  .show-more-btn {
    display: none;
  }
}