.blog-page,
.blog-article-page {
  background:
    radial-gradient(circle at 78% 16%, rgba(124, 88, 255, 0.12), transparent 28%),
    radial-gradient(circle at 16% 10%, rgba(239, 77, 184, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfbff 52%, #f8f7ff 100%);
  min-height: 100vh;
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 56px;
  padding-top: 74px;
  padding-bottom: 44px;
}

.blog-hero h1,
.article-shell h1 {
  margin: 18px 0 18px;
  max-width: 820px;
  color: #070b22;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 720;
}

.blog-hero .lead {
  max-width: 720px;
}

.blog-hero-art {
  position: relative;
  min-height: 310px;
  display: grid;
  place-items: center;
}

.blog-orbit {
  position: absolute;
  border: 1px solid rgba(103, 77, 255, 0.15);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.orbit-one { width: 320px; height: 150px; }
.orbit-two { width: 390px; height: 190px; transform: rotate(16deg); }
.orbit-three { width: 250px; height: 120px; transform: rotate(42deg); }

.blog-doc-card {
  position: relative;
  z-index: 2;
  width: 170px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(25, 29, 65, 0.08);
  box-shadow: 0 28px 80px rgba(55, 45, 117, 0.12);
  display: grid;
  gap: 12px;
}

.blog-doc-card span:not(.doc-image) {
  height: 8px;
  border-radius: 999px;
  background: #ebe8fb;
}

.doc-image {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(104, 75, 255, 0.22), rgba(237, 77, 184, 0.12));
}

.blog-logo-bubble {
  position: absolute;
  z-index: 3;
  left: 14%;
  top: 36%;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 50px rgba(76, 60, 150, 0.16);
}

.blog-logo-bubble img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding-bottom: 88px;
}

.blog-list {
  display: grid;
  gap: 18px;
}

.featured-post,
.blog-post-row,
.sidebar-card,
.article-shell {
  border: 1px solid rgba(25, 29, 65, 0.09);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 60px rgba(36, 30, 98, 0.08);
  backdrop-filter: blur(18px);
}

.featured-post {
  display: grid;
  grid-template-columns: 43% 1fr;
  gap: 28px;
  padding: 20px;
  border-radius: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 80px rgba(55, 45, 117, 0.13);
}

.post-visual {
  min-height: 250px;
  border-radius: 20px;
  overflow: hidden;
}

.release-visual {
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 82%, rgba(111, 84, 255, 0.95), transparent 19%),
    radial-gradient(circle at 50% 78%, rgba(239, 77, 184, 0.22), transparent 32%),
    linear-gradient(135deg, #070927 0%, #111147 48%, #2b176e 100%);
}

.release-visual::before,
.release-visual::after {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: scaleX(1.9) rotate(-12deg);
}

.release-visual::after {
  inset: 25%;
  opacity: 0.65;
  transform: scaleX(2.3) rotate(22deg);
}

.release-glow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 10%;
  height: 44px;
  border-radius: 50%;
  background: rgba(135, 99, 255, 0.7);
  filter: blur(18px);
}

.release-visual img {
  position: relative;
  z-index: 2;
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 20px 38px rgba(124, 88, 255, 0.45));
}

.post-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.post-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: #55607f;
  font-size: 14px;
  font-weight: 560;
}

.post-meta span,
.article-meta span:first-child {
  padding: 5px 9px;
  border-radius: 999px;
  color: #4d35f2;
  background: rgba(106, 76, 255, 0.1);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-copy h2 {
  margin: 18px 0 12px;
  color: #070b22;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 720;
}

.post-copy p {
  margin: 0;
  color: #465171;
  font-size: 16px;
  line-height: 1.65;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  color: #596382;
  font-size: 14px;
}

.post-footer strong {
  color: #27304d;
  font-weight: 650;
}

.blog-sidebar {
  display: grid;
  gap: 22px;
  align-self: start;
  position: sticky;
  top: 108px;
}

.sidebar-card {
  padding: 26px;
  border-radius: 24px;
}

.sidebar-card h2 {
  margin: 0 0 18px;
  color: #070b22;
  font-size: 20px;
  letter-spacing: -0.035em;
  font-weight: 720;
}

.sidebar-card a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  color: #465171;
  font-size: 15px;
  font-weight: 560;
}

.sidebar-card a:hover,
.sidebar-card a.active {
  color: #4d35f2;
  background: rgba(106, 76, 255, 0.08);
}

.subscribe-card p {
  margin: 0 0 18px;
  color: #596382;
  font-size: 14px;
  line-height: 1.6;
}

.subscribe-card form {
  display: grid;
  gap: 12px;
}

.subscribe-card input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(25, 29, 65, 0.12);
  border-radius: 12px;
  font: inherit;
  color: #070b22;
  background: rgba(255, 255, 255, 0.88);
}

.subscribe-card .btn {
  width: 100%;
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.article-shell {
  max-width: 920px;
  margin: 72px auto 92px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 32px;
}

.back-link {
  color: #4d35f2;
  font-weight: 650;
}

.article-shell h1 {
  font-size: clamp(42px, 5.5vw, 70px);
}

.article-lead {
  max-width: 760px;
  margin: 0 0 32px;
  color: #465171;
  font-size: 21px;
  line-height: 1.55;
}

.article-hero-visual {
  min-height: 360px;
  margin: 34px 0;
  border-radius: 26px;
}

.article-content {
  color: #2c3655;
  font-size: 18px;
  line-height: 1.75;
}

.article-content h2 {
  margin: 42px 0 12px;
  color: #070b22;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 720;
}

.article-content p {
  margin: 0 0 20px;
}

@media (max-width: 980px) {
  .blog-hero,
  .blog-layout,
  .featured-post {
    grid-template-columns: 1fr;
  }

  .blog-hero-art {
    min-height: 240px;
  }

  .blog-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .blog-hero {
    padding-top: 52px;
    gap: 28px;
  }

  .blog-hero h1,
  .article-shell h1 {
    font-size: 44px;
  }

  .featured-post {
    padding: 14px;
    border-radius: 22px;
  }

  .post-visual {
    min-height: 210px;
  }

  .post-copy {
    padding: 4px 4px 10px;
  }

  .article-shell {
    margin-top: 42px;
    border-radius: 24px;
  }

  .article-hero-visual {
    min-height: 240px;
  }
}
