* {
  scroll-behavior: smooth;
}

.blog-output .table-wrapper {
  overflow-y: auto;
}

@media (max-width: 990px) {
  .blog-output .table-wrapper {
    padding-bottom: 8px;
  }

  .blog-output .table-wrapper td,
  .blog-output .table-wrapper th {
    white-space: nowrap;
  }
}

.container.new-container-gray.ukcr-photos-wr,
.section--sout,
.container--consultation,
.container--our-trust {
  display: none !important;
}

.section:has(.blog-grid) {
  margin-bottom: 20px;
  padding-bottom: 20px;
}

#blog-infinite .blog-article:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.blog-grid {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
}

.blog-grid__left {
  width: calc(100% / 1.5 - 24px);
}

.blog-grid__right {
  position: sticky;
  top: 106px;
  align-self: flex-start;
  width: calc(100% / 3);
  padding: 24px 32px;
  border-radius: 15px;
  background-color: #ffffff;
}

.blog-title {
  margin: 0 !important;
}

.blog-header:not(:last-child) {
  margin-bottom: 24px;
}

.blog-header__form {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: 24px 32px;
  background-color: #ffffff;
  border-radius: 15px;
}

.blog-header__form:not(:last-child) {
  margin-bottom: 24px;
}

.blog-header__form input[type="submit"] {
  width: 100%;
  min-height: 38px;
}

.blog-header__form .blog-form-name,
.blog-header__form .blog-form-phone {
  border-radius: 10px;
}

.blog-header__form .row {
  row-gap: 16px;
}

.blog-header__image {
  display: block;
  width: 100%;
  height: clamp(260px, 38vw, 520px);
  max-height: 550px;
  object-fit: cover;
  object-position: top;
  border-radius: 15px;
}

.blog-grid__left .bc {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
}

.blog-grid__left .bc__item {
  max-width: 100%;
}

.blog-grid__left .bc__el {
  max-width: 100%;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
}

.blog-grid__left .bc:not(:last-child) {
  margin-bottom: 8px;
}

.blog-grid__left .blog-title:not(:last-child) {
  margin-bottom: 24px !important;
}

.blog-lead {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #000000;
}

.blog-lead:not(:last-child) {
  margin-bottom: 24px !important;
}

.blog-nav {
  width: 100%;
  background-color: #ffffff;
  border-radius: 15px;
  padding: 24px 32px;
}

.blog-nav:not(:last-child) {
  margin-bottom: 24px;
}

.blog-nav__title {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  color: #454c52;
}

.blog-nav__title:not(:last-child) {
  margin-bottom: 16px !important;
}

.blog-nav ul {
  margin: 0;
  padding: 0;
}

.blog-nav li {
  position: relative;
  z-index: 0;
  padding-left: 20px;
  list-style: none;
}

.blog-nav li::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #5a9aae;
}

.blog-nav a {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #454c52;
  transition: color 0.2s ease-in-out;
}

.blog-nav a:hover {
  color: #5a9aae;
}

.blog-output {
  padding: 32px;
  border-radius: 15px;
  background-color: #ffffff;
}

.blog-output h1,
.blog-output h2,
.blog-output h3,
.blog-output h4,
.blog-output h5,
.blog-output h6 {
  display: block;
  margin-block: 24px !important;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  color: #454c52;
}

.blog-output h2 {
  font-size: 24px;
  line-height: 1.25;
}

[id] {
  scroll-margin-top: 128px;
}

.blog-grid__right-links {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  margin: 0;
  padding: 0;
}

.blog-grid__right-links:not(:last-child) {
  margin-bottom: 16px;
}

.blog-grid__right-links li {
  list-style: none;
}

.blog-grid__right-links a,
.blog-grid__right-links span {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 34px;
  padding-inline: 10px;
  border-radius: 8px;
  background-color: #f2f6fb;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #454c52;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.blog-grid__right-links a:hover {
  background-color: #5a9aae;
  color: #ffffff;
}

.blog-grid__right-controls a {
  color: #5a9aae;
  transition: opacity 0.2s ease-in-out;
}

.blog-grid__right-controls a:hover {
  opacity: 0.75;
}

.blog-infinite-sentinel {
  height: 1px;
  width: 100%;
}

.blog-infinite-sentinel.is-loading {
  height: 48px;
}

@media (max-width: 1440px) {
  .blog-grid__left {
    width: calc(75% - 24px);
  }

  .blog-grid__right {
    width: 25%;
  }
}

@media (max-width: 1280px) {
  .blog-header__form {
    padding: 16px 24px;
  }

  .blog-grid__right {
    padding: 16px 24px;
  }
}

@media (max-width: 990px) {
  .blog-grid__left {
    width: 100%;
  }

  .blog-grid__right {
    width: 100%;
    position: static;
  }

  .blog-header__image {
    height: 320px;
  }
}

@media (max-width: 600px) {
  .blog-header__image {
    height: 220px;
  }

  .blog-output {
    padding: 24px 16px;
  }

  .blog-output h2 {
    font-size: 20px;
  }
}

.prom {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  padding: 24px 32px;
  border-radius: 15px;
  background-color: #ffffff;
}

.prom__info {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  align-items: flex-start;
  width: calc(100% / 1.5 - 12px);
}

.prom__media {
  width: calc(100% / 3 - 12px);
}

.prom__media-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.blog-output .prom__info-title {
  margin: 0 !important;
}

.blog-output .prom__info-text {
  margin: 0 !important;
}

.prom__info .btn.btn-ukcr {
  margin-top: auto;
}

@media (max-width: 600px) {
  .prom {
    row-gap: 24px;
  }

  .prom__info {
    width: 100%;
  }

  .prom__media {
    width: 100%;
  }
}
