.post-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 520px;
  padding-bottom: 72px;
  overflow: hidden;
  background-color: var(--color-primary-900);
}

.post-hero__photo {
  position: absolute;
  top: -1.82%;
  left: 38.83%;
  width: 62.31%;
  height: 103.53%;
  max-width: none;
  object-fit: cover;
}

.post-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--gradient-post-hero);
}

.post-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  max-width: 583px;
  animation: post-rise 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.post-hero__heading {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.post-hero__overline {
  margin-bottom: 0;
  color: var(--color-signal-cyan);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  line-height: normal;
}

.post-hero__title {
  font-size: 32px;
  font-weight: 300;
  line-height: 1.2;
  background: var(--gradient-text-marquee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.post-hero__lead {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.post-share {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-12) 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background-color: color-mix(in srgb, var(--color-secondary-100) 24%, transparent);
  box-shadow: inset 0 0 8px color-mix(in srgb, var(--color-primary-50) 24%, transparent);
  color: var(--color-white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  cursor: pointer;
}

.post-share img {
  width: 16px;
  height: 16px;
  max-width: none;
}

.post-content {
  padding: 72px 0 96px;
}

.post-content__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-64);
}

.post-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-40);
  width: min(860px, 100%);
  margin-inline: auto;
}

.post-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.post-lead {
  color: var(--color-accent-navy);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.2;
}

.post-heading {
  color: var(--color-accent-navy);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.4;
  scroll-margin-top: 160px;
}

.post-text {
  color: var(--color-neutral-600);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

.post-figure {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: var(--radius-28);
}

.post-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-figure__shade {
  position: absolute;
  inset: 0;
  background-color: color-mix(in srgb, black 20%, transparent);
  mix-blend-mode: multiply;
}

.post-related {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  padding-top: var(--space-40);
  border-top: 1px solid var(--color-primary-200);
}

.post-related__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  text-align: center;
}

.post-related__title {
  font-size: 32px;
  font-weight: 300;
  line-height: 1.2;
  background: var(--gradient-text-partners);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.post-related__lead {
  color: var(--color-neutral-400);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.post-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-24);
}

.post-related .blog-card {
  width: auto;
  height: auto;
}

.post-related__action {
  display: flex;
  justify-content: center;
}

.post-related__action .btn {
  font-size: 14px;
  line-height: normal;
  color: var(--color-primary-50);
}

@keyframes post-rise {
  from {
    opacity: 0;
    translate: 0 24px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .post-hero__copy {
    animation: none;
  }
}

@media (max-width: 1023px) {
  .post-figure {
    height: 360px;
  }

  .post-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .post-hero {
    height: auto;
    min-height: 520px;
    padding-top: 120px;
  }

  .post-hero__copy {
    max-width: none;
  }

  .post-hero__photo {
    left: 0;
    width: 100%;
    height: 100%;
    top: 0;
  }

  .post-lead,
  .post-related__title {
    font-size: 28px;
  }

  .post-related__grid {
    grid-template-columns: 1fr;
  }
}
