:root {
  --blog-purple: #5f24d6;
  --blog-dark: #000;
  --blog-tear-height: clamp(90px, 14vw, 170px);
}

.blog-article-body {
  background: var(--blog-dark);
  color: var(--white);
}

.blog-article-body main {
  margin-top: 0;
}

.blog-article__hero {
  position: relative;
  background: var(--blog-dark);
  min-height: clamp(360px, 55vw, 640px);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-article__hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 0;
  pointer-events: none;
  transform: translateY(-50%);
}

.blog-article__hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.blog-article__cover {
  width: min(500px, 35vw);
  height: auto;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.45));
}

.blog-article__inner {
  position: relative;
  width: min(840px, 92vw);
  margin: 0 auto;
}

.blog-article__close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #ffffff;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.blog-article__close:hover,
.blog-article__close:focus-visible {
  opacity: 1;
  transform: scale(1.08);
}

.blog-article__title {
  margin: 0 0 1.2rem;
  font-family: "Nexa Bold", "Trebuchet MS", sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  color: var(--yellow);
  letter-spacing: 0.04em;
}

.blog-article__text h2, .blog-article__text h1, .blog-article__text h3 {
  font-family: "Nexa Bold", "Trebuchet MS", sans-serif;
}

.blog-article__text {
  font-family: "Nexa Extra Light", "Trebuchet MS", sans-serif;
}

@media (max-width: 768px) {
  .blog-article__hero-bg {
    height:100%;
  }

  .blog-article__cover {
    width: 60vw;
    transform: translateX(20px);
  }

  .blog-article__close {
    top: -3.5rem;
  }
}
