/* primary */
/* primary hover */
/* dark */
/* light */
/* light hover */
/* accent */
/* accent hover */
.blog-post-mini__date-container {
  font-size: 13px;
  color: #bdbdbd;
  margin-bottom: 5px;
  line-height: 1.2;
}

.blog-post-mini__title-container {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.blog-posts-mini {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-sidebar-news__header-container {
  display: flex;
  align-items: center;
}

.blog-sidebar-news__header-text-container,
.blog-sidebar-news__link-container {
  margin-left: 15px;
  white-space: nowrap;
}
.blog-sidebar-news__header-text-container:first-child,
.blog-sidebar-news__link-container:first-child {
  width: 100%;
  margin-left: 0;
  white-space: normal;
}

.blog-sidebar-news__link-container {
  font-size: 14px;
}

.post-thumb {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-thumb__image-container {
  border-radius: 20px;
  overflow: hidden;
}

.post-thumb__image-box {
  width: 100%;
  height: 220px;
  background-color: #e1e1e1;
}

.post-thumb__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-thumb__title-container {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 18px;
  font-weight: 600;
  text-overflow: ellipsis;
  line-height: 120%; /* 21.6px */
  -webkit-line-clamp: 2;
}

.post-thumb__date-container {
  color: #686868;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.post-thumb_size_s .post-thumb__image-box {
  height: 220px;
}
.post-thumb_size_s .post-thumb__image-box_full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1023px) {
  .post-thumb:hover {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  }
}
.posts-thumbs__wrapper {
  display: grid;
  gap: 24px 24px;
  grid-template-columns: repeat(var(--cols-count), minmax(0, 1fr));
}

.posts-thumbs__item {
  position: relative;
}

.posts-thumbs_slider {
  margin: -24px;
  padding: 24px 24px 24px 0;
}
.posts-thumbs_slider .posts-thumbs__wrapper {
  display: flex;
  flex-flow: row nowrap;
  gap: initial;
}
.posts-thumbs_slider .posts-thumbs__item {
  padding-left: 24px;
  width: calc(100% / var(--cols-count));
  height: auto;
}
@media (max-width: 1023px) {
  .posts-thumbs_slider {
    margin: -15px;
    padding: 15px 15px 15px 0;
  }
  .posts-thumbs_slider .posts-thumbs__item {
    padding-left: 15px;
  }
}

.posts-thumbs {
  --cols-count: 4;
}
@media (max-width: 1440px) {
  .posts-thumbs {
    --cols-count: 3;
  }
}
@media (max-width: 1023px) {
  .posts-thumbs {
    --cols-count: 3;
  }
}
@media (max-width: 767px) {
  .posts-thumbs {
    --cols-count: 2;
  }
}
@media (max-width: 425px) {
  .posts-thumbs {
    --cols-count: 1;
  }
}

.posts-thumbs_offset-sidebar {
  --cols-count: 3;
}
@media (max-width: 1023px) {
  .posts-thumbs_offset-sidebar {
    --cols-count: 3;
  }
}
@media (max-width: 767px) {
  .posts-thumbs_offset-sidebar {
    --cols-count: 2;
  }
}
@media (max-width: 425px) {
  .posts-thumbs_offset-sidebar {
    --cols-count: 1;
  }
}

.posts-thumbs_size_s.posts-thumbs_offset-sidebar {
  --cols-count: 4;
}
@media (max-width: 1440px) {
  .posts-thumbs_size_s.posts-thumbs_offset-sidebar {
    --cols-count: 3;
  }
}
@media (max-width: 1023px) {
  .posts-thumbs_size_s.posts-thumbs_offset-sidebar {
    --cols-count: 3;
  }
}
@media (max-width: 767px) {
  .posts-thumbs_size_s.posts-thumbs_offset-sidebar {
    --cols-count: 2;
  }
}
@media (max-width: 425px) {
  .posts-thumbs_size_s.posts-thumbs_offset-sidebar {
    --cols-count: 1;
  }
}

@media (min-width: 1024px) {
  .posts-thumbs_slider {
    position: relative;
  }
  .posts-thumbs_slider::after,
  .posts-thumbs_slider::before {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    content: "";
    z-index: 2;
  }
  .posts-thumbs_slider::before {
    left: 0;
    right: auto;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), #fff);
  }
  .posts-thumbs_slider::after {
    left: auto;
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
  }
  .home-block_custom_bg .posts-thumbs_slider::before {
    background: linear-gradient(to left, rgba(255, 255, 255, 0), var(--home-block-bg-color));
  }
  .home-block_custom_bg .posts-thumbs_slider::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--home-block-bg-color));
  }
  .home-block_style_gray .posts-thumbs_slider::before {
    background: linear-gradient(to left, rgba(250, 250, 250, 0), #fafafa);
  }
  .home-block_style_gray .posts-thumbs_slider::after {
    background: linear-gradient(to right, rgba(250, 250, 250, 0), #fafafa);
  }
}