.post-hero {
  padding: calc(var(--h-head) + 70px) 0 58px;
  background:
    radial-gradient(700px 420px at 88% 14%, var(--blue-08), transparent 62%),
    var(--bg-tint);
}

.post-head {
  max-width: 1220px;
}

.post-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 800;
  font-size: .9rem;
}

.post-hero h1 {
  max-width: 1220px;
  font-size: clamp(2rem, 3.7vw, 3.45rem);
  margin: 10px 0 16px;
}

.post-hero p {
  max-width: 720px;
  color: var(--slate);
  font-size: 1.05rem;
}

.post-cover {
  width: 100%;
  margin-top: 36px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 70px rgba(24, 104, 251, .2);
}

.post-cover img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.post-cover span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 800;
  text-align: center;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.post-tags a {
  border: 1px solid var(--blue-18);
  background: #fff;
  color: var(--blue);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .8rem;
  font-weight: 800;
}

.post-body-section {
  padding: 62px 0 96px;
  background: #fff;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 44px;
  align-items: start;
}

.post-content {
  max-width: 860px;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.78;
}

.post-content > * + * {
  margin-top: 18px;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 34px;
  margin-bottom: 12px;
  line-height: 1.22;
}

.post-content h2 {
  font-size: 1.85rem;
}

.post-content h3 {
  font-size: 1.45rem;
}

.post-content p,
.post-content li {
  color: var(--slate);
}

.post-content ul,
.post-content ol {
  padding-left: 24px;
}

.post-content ul {
  list-style: disc;
}

.post-content ol {
  list-style: decimal;
}

.post-content a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-content img {
  border-radius: 16px;
  border: 1px solid var(--line);
  margin: 28px 0;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
  margin: 26px 0;
}

.post-content th,
.post-content td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}

.post-content th {
  background: var(--bg-tint);
  color: var(--ink);
}

.post-aside {
  position: sticky;
  top: calc(var(--h-head) + 24px);
}

.post-muted {
  color: var(--slate);
  font-size: .9rem;
}

@media (max-width: 1024px) {
  .post-layout {
    grid-template-columns: 1fr;
  }

  .post-cover {
    max-width: 100%;
  }

  .post-aside {
    position: static;
  }
}

@media (max-width: 760px) {
  .post-hero {
    padding: calc(var(--h-head) + 48px) 0 44px;
  }

  .post-body-section {
    padding: 44px 0 68px;
  }

  .post-content {
    font-size: .98rem;
  }

  .post-content h2 {
    font-size: 1.45rem;
  }

  .post-cover {
    margin-top: 26px;
    border-radius: 16px;
  }
}
