.new-tabs {
  display: flex;
  align-items: center;
  gap: 30px;
}
@media (max-width: 767px) {
  .new-tabs {
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: -15px;
    padding-inline: 15px;
  }
  .new-tabs::-webkit-scrollbar {
    display: none;
  }
}
.new-tabs__tab {
  display: flex;
  padding: 10px 17px 8px 17px;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--blue, #2766AD);
  color: var(--blue, #2766AD);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 19.5px */
  text-transform: uppercase;
  flex-shrink: 0;
  cursor: pointer;
  transition: 200ms color linear, 200ms background-color linear;
}
.new-tabs__tab[data-tab-active], .new-tabs__tab:hover {
  color: #FFF;
  background-color: var(--blue, #2766AD);
}

[data-tabs=content] {
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: height 0.5s ease, opacity 0.5s ease;
}
[data-tabs=content][data-tab-active] {
  visibility: visible;
  opacity: 1;
  height: auto;
  overflow: visible;
}

.news-section .img-before {
  height: inherit;
}
.news-section .img-before:before {
  height: inherit;
}
.news-section .element .img-wrapper img {
  object-fit: cover;
  object-position: center;
}
@media (max-width: 767px) {
  .news-section .element .img-wrapper img {
    height: 100%;
  }
}

.new-service {
  margin-top: 20px;
  margin-bottom: 40px;
}
@media (max-width: 767px) {
  .new-service {
    margin-bottom: 50px;
    margin-top: 0;
  }
}
.new-service__body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px 10px;
}
@media (max-width: 1023px) {
  .new-service__body {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .new-service__body {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.new-service__card {
  position: relative;
  height: 160px;
  border-radius: 3px;
  background-color: #2766AD;
  overflow: hidden;
  box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.3);
  display: grid;
  place-items: center;
  text-decoration: unset;
  transition: 300ms transform ease;
}
@media (max-width: 767px) {
  .new-service__card {
    height: 100px;
  }
}
@media (hover: hover) {
  .new-service__card:hover {
    transform: translateY(-10px);
  }
}
.new-service__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom left;
}
@media (max-width: 767px) {
  .new-service__card img {
    display: none;
  }
}
.new-service__card-title {
  position: relative;
  z-index: 2;
  color: #FFF;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  text-decoration: unset;
}

.new-form {
  padding-top: 65px;
  padding-bottom: 70px;
  opacity: 0.9;
  background: linear-gradient(49deg, #2766AD 0%, #33A7FF 47%, #2766AD 100%);
}
@media (max-width: 767px) {
  .new-form {
    padding-top: 20px;
    padding-bottom: 30px;
  }
}
.new-form .container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px 20px;
  align-items: center;
}
@media (max-width: 767px) {
  .new-form .container {
    grid-template-columns: repeat(6, 1fr);
  }
}
.new-form .container::before, .new-form .container::after {
  display: none;
}
.new-form__image {
  display: flex;
  justify-content: flex-start;
  grid-column: span 7;
}
@media (max-width: 1279px) {
  .new-form__image {
    grid-column: span 6;
  }
}
@media (max-width: 767px) {
  .new-form__image {
    justify-content: center;
  }
}
.new-form__right {
  grid-column: span 5;
}
@media (max-width: 1279px) {
  .new-form__right {
    grid-column: span 6;
  }
}
.new-form__title {
  color: #FFF;
  font-size: 41px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  margin-bottom: 47px;
}
@media (max-width: 767px) {
  .new-form__title {
    font-size: 30px;
  }
}
.new-form__form .button {
  margin-bottom: unset;
  border: 1px solid #E83F3F;
  background: #E83F3F;
}
@media (hover: hover) {
  .new-form__form .button:hover {
    background: #2766ad !important;
    border-color: #2766ad !important;
  }
}
.new-form__form .agreement {
  color: rgba(255, 255, 255, 0.6);
}

.new-author {
  margin-bottom: 40px;
  padding-inline: 10px;
}
.new-author__title {
  color: var(--, #181B1F);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 125%;
  margin-bottom: 15px;
}
.new-author__card {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--, #181B1F);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 19.2px */
}
@media (max-width: 359px) {
  .new-author__card {
    font-size: 14px;
  }
}
.new-author__photo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}
.new-author__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.new-author__name {
  color: var(--, #181B1F);
  font-size: 24px;
  font-weight: 600;
}
@media (max-width: 359px) {
  .new-author__name {
    font-size: 22px;
  }
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 80px;
}
@media (max-width: 1279px) {
  [id] {
    scroll-margin-top: 60px;
  }
}

html, body {
  height: auto !important;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
}

.new-aside-links {
  margin-bottom: 40px;
}
.new-aside-links .title-h3 {
  margin-bottom: 15px;
}
.new-aside-links__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.new-aside-links__list a {
  color: initial;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 28.8px; /* 180% */
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  text-decoration-color: transparent;
  transition: 200ms text-decoration-color linear, 200ms color linear;
}
@media (hover: hover) {
  .new-aside-links__list a:hover {
    color: var(--blue, #2766AD);
    text-decoration-color: currentColor;
  }
}
.new-aside-links__list li {
  list-style-type: initial;
  list-style-position: inside;
}
.new-aside-links__list li::marker {
  color: #2766AD;
}

@media (max-width: 767px) {
  .row:has(.new-author) {
    display: grid;
  }
  .row:has(.new-author) .col-md-4 {
    display: contents;
  }
  .row:has(.new-author) .new-author {
    order: 1;
  }
  .row:has(.new-author) .new-aside-links {
    order: 2;
    padding-inline: 15px;
  }
  .row:has(.new-author) .col-md-8 {
    order: 3;
  }
  .row:has(.new-author) .aside-news {
    order: 4;
  }
}