.post {
  --p-top: 60px;
  padding-top: calc(var(--scroll-padding-top) + var(--p-top));
  padding-bottom: 0;
}

.post-header {
  flex-direction: column;
  gap: 40px;
  margin-bottom: 40px;
  display: flex;
}

.post__img--main {
  object-fit: cover;
  border-radius: 10px;
  width: 100%;
  height: 169px;
}

.post-body,
.post__content {
  flex-direction: column;
  gap: 40px;
  display: flex;
}

.post__content div {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.post__content h1,
.post__content h2,
.post__content h3,
.post__content strong {
  letter-spacing: 0.4px;
  margin: 16px 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 120%;
}

.post__content p {
  font-size: 16px;
  line-height: 120%;
}

.post__content .post__img-wrap {
  flex-direction: row;
  gap: 10px;
  display: flex;
}

.post__content img {
  width: 100%;
  max-width: initial;
  object-fit: cover;
  border-radius: 10px;
  height: auto;
  max-height: 132px;
  margin: 16px 0;
}

.post-aside__info-wrap {
  justify-content: space-between;
  gap: 16px;
  display: flex;
}

.post-aside__info {
  background: var(--color-section-bg);
  border-radius: 6px;
  padding: 10px;
  line-height: 120%;
}

.post-aside__title {
  letter-spacing: 0.48px;
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 86%;
}

.posts__list {
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
  display: flex;
}

.posts-item {
  border-bottom: 1px solid #00000070;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
  display: flex;
}

.posts-item__header {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.posts-item__date {
  color: #001e3180;
  line-height: 120%;
}

.posts-item__category {
  color: var(--color-primary-button);
  line-height: 120%;
}

.posts-item__title {
  color: #000;
  max-width: 200px;
  line-height: 120%;
}

.posts-box {
  background: var(--color-section-bg);
  border-radius: 10px;
  padding: 10px 10px 20px;
}

.sm-box {
  --color-fill: #fff;
  --color-fill-2: #6d93b4;
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.sm-box__msg {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
}

.sm-box__list {
  align-items: center;
  gap: 10px;
  display: flex;
}

.sm-link {
  width: 24px;
  height: 24px;
}

@media (width <= 1439px) {
  .post__title {
    max-width: 300px;
    font-size: 24px;
    line-height: 90%;
  }

  .post-aside__info {
    flex-direction: column;
    font-size: 12px;
    display: flex;
  }

  .post-aside__info span {
    font-size: 10px;
  }
}

@media (width >= 768px) {
  .post__title {
    max-width: 440px;
  }

  .post__text {
    max-width: 360px;
  }

  .post__img--main {
    height: 320px;
  }

  .post__content img {
    max-height: 240px;
  }
}

@media (width >= 1440px) {
  .post__title {
    letter-spacing: -3.84px;
    max-width: 1111px;
    line-height: 80%;
  }

  .post__text {
    max-width: 640px;
    font-size: 24px;
    line-height: 120%;
  }

  .post__img-wrap.container {
    width: 100%;
    padding: 0;
  }

  .post__img--main {
    height: 754px;
    max-width: initial;
    border-radius: 0;
  }

  .post-body {
    flex-direction: row;
    justify-content: center;
    gap: 77px;
    width: 100%;
  }

  .post__content {
    width: 700px;
  }

  .post__content h1,
  .post__content h2,
  .post__content h3,
  .post__content strong {
    letter-spacing: 0.48px;
    font-size: 24px;
    line-height: 86%;
  }

  .post__content p {
    font-size: 20px;
  }

  .post__content img {
    border-radius: 20px;
    max-height: 324px;
  }

  .post__content .post__img-wrap {
    gap: 24px;
  }

  .post-aside {
    width: 280px;
    position: sticky;
    top: 400px;
    left: 0;
  }

  .post-aside__info-wrap {
    flex-direction: column;
    gap: 0;
  }

  .post-aside__info {
    border-radius: 2px;
    line-height: 120%;
  }

  .post-aside__title {
    text-transform: uppercase;
    margin-bottom: 16px;
  }
}
