.post {
  --p-top: 60px;
  min-height: 100vh;
  padding-top: calc(var(--scroll-padding-top) + var(--p-top));
  flex-direction: column;
  gap: 32px;
  padding-bottom: 80px;
  display: flex;
}

.post-header {
  --gap: 16px;
  --items: 2;
  justify-content: space-between;
  margin-bottom: 32px;
}

.post-header__box {
  align-items: center;
  gap: var(--gap);
  display: flex;
}

.post-header__box--date {
  justify-content: flex-end;
}

.post-header__box--title {
  --items: 1;
  flex-direction: column;
  gap: 24px;
}

.post__backlink {
  width: fit-content;
  color: var(--color-accent-primary);
  cursor: pointer;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-weight: 600;
  line-height: 1;
  text-decoration: underline;
  display: flex;
}

.post__backlink span {
  font-style: 0;
  background-color: var(--color-accent-primary-light);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 22px;
  display: flex;
}

.post__backlink svg {
  width: 4px;
  height: 8px;
  fill: var(--color-white);
  transform: rotate(180deg);
}

.post__backlink:hover {
  color: var(--color-accent-primary-light);
}

.post__time {
  text-align: center;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin: 0 auto;
  display: flex;
}

.post__time:before {
  content: "";
  background-color: var(--color-accent-secondary);
  border-radius: 50%;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  display: block;
}

.post__category {
  border: 1px solid var(--color-border);
  border-radius: 100px;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 8px 16px;
  display: flex;
}

.post__category:before {
  content: "";
  background-color: var(--color-accent-primary);
  border-radius: 50%;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  display: block;
}

.post__title {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
}

.post__img-wrap {
  --items: 2;
}

.post__img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  height: auto;
}

.post__img--main {
  width: 100%;
  height: 232px;
}

.post__content {
  flex-direction: column;
  gap: 32px;
  margin: 0 auto;
  display: flex;
}

.post__content h3, .post__content h1, .post__content h2, .post__content h4, .post__content h5, .post__content h6 {
  /*margin-bottom: 20px;*/
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
}

@media (width <= 767px) {
  .post-header__box--time {
    --items: 1;
    margin-top: calc(50px - var(--gap));
    order: 3;
  }

  .post-header__box--title {
    order: 4;
  }

  .post__content {
    max-width: 682px;
  }
}

@media (width >= 768px) {
  .post-header {
    --items: 3;
  }
}

@media (width >= 1440px) {
  .post {
    --p-top: 100px;
    padding-bottom: 100px;
  }

  .post-header {
    margin-bottom: 50px;
  }

  .post-header__box--title {
    gap: 50px;
  }

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

  .post__content {
    max-width: 682px;
  }
}

.cta-post {
  background-color: var(--color-accent-primary);
  padding: 50px 0;
}

.cta-post__box--text {
  background-color: var(--color-white);
  border-radius: 16px;
  flex-direction: column;
  min-height: 460px;
  padding: 40px 20px 30px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.cta-post__actions {
  z-index: 1;
  flex-direction: column;
  margin-top: auto;
  position: relative;
}

.btn--action-book-stroke {
  background-color: var(--color-white);
}

.icon-decor-circle {
  position: absolute;
  bottom: 0;
  right: 0;
}

.cta-post__img {
  object-fit: cover;
  border-radius: 16px;
  width: 100%;
  height: 248px;
}

@media (width >= 768px) {
  .cta-post__box-wrap {
    flex-direction: row;
  }

  .cta-post__img {
    height: 460px;
  }
}

@media (width >= 1440px) {
  .cta-post {
    padding: 100px 0;
  }

  .cta-post__img {
    height: 460px;
  }

  .cta-post__actions {
    flex-direction: row;
  }
}

header .btn-contact-us {
  color: var(--color-white);
  background-color: var(--color-accent-primary);
}
