.blog-page {
  background: var(--deep);
  color: #fff;
}

.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 190px 0 105px;
  background:
    radial-gradient(circle at 12% 18%, rgba(43, 23, 111, 0.9), transparent 35%),
    radial-gradient(circle at 90% 22%, rgba(16, 71, 196, 0.3), transparent 32%),
    linear-gradient(135deg, #05081d, #090c28 62%, #111035);
}

.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 0.7px, transparent 0.7px);
  background-size: 25px 25px;
}

.blog-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.blog-hero h1 {
  margin: 18px 0 22px;
  font: 800 clamp(48px, 7vw, 88px) / 1.08 "Manrope", sans-serif;
  letter-spacing: -0.055em;
}

.blog-hero h1 span {
  color: var(--orange);
}

.blog-hero p {
  max-width: 670px;
  margin: 0;
  color: #bac1d7;
  font-size: 18px;
  line-height: 1.8;
}

.blog-content {
  padding: 80px 0 120px;
  background: linear-gradient(180deg, var(--deep), #0b0e2b);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 110px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 173, 22, 0.5);
}

.blog-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.035);
}

.blog-card-body {
  padding: 28px 30px 32px;
}

.blog-meta,
.article-meta {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #9ea8c1;
  font-size: 12px;
  font-weight: 700;
}

.blog-tag {
  color: var(--orange);
  font-weight: 800;
}

.blog-card h2 {
  margin: 16px 0 12px;
  color: #fff;
  font: 800 clamp(26px, 3vw, 38px) / 1.18 "Manrope", sans-serif;
  letter-spacing: -0.035em;
}

.blog-card p {
  margin: 0;
  color: #b6bfd5;
  font-size: 15px;
  line-height: 1.8;
}

.blog-read {
  display: inline-flex;
  margin-top: 24px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.blog-article {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 70px;
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  scroll-margin-top: 100px;
}

.blog-article:nth-of-type(odd) {
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
}

.article-aside {
  position: sticky;
  top: 120px;
  align-self: start;
}

.article-index {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  font: 800 13px "Manrope", sans-serif;
  letter-spacing: 0.12em;
}

.article-aside h2 {
  margin: 0;
  color: #fff;
  font: 800 clamp(30px, 4vw, 52px) / 1.12 "Manrope", sans-serif;
  letter-spacing: -0.045em;
}

.article-aside p {
  color: #aeb5cd;
  font-size: 15px;
  line-height: 1.8;
}

.article-body {
  color: #c5ccdc;
  font-size: 16px;
  line-height: 1.9;
}

.article-body h3 {
  margin: 0 0 12px;
  color: var(--orange);
  font: 800 22px/1.3 "Manrope", sans-serif;
}

.article-body p {
  margin: 0 0 22px;
}

.article-body ul {
  margin: 0 0 26px;
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-callout {
  margin-top: 28px;
  padding: 23px 25px;
  border-left: 3px solid var(--orange);
  background: rgba(255, 173, 22, 0.08);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 800px) {
  .blog-hero {
    padding-top: 145px;
  }

  .blog-grid,
  .blog-article,
  .blog-article:nth-of-type(odd) {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    margin-bottom: 65px;
  }

  .blog-article {
    gap: 28px;
    padding: 60px 0;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 650px) {
  .blog-hero {
    padding: 130px 0 70px;
  }

  .blog-hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .blog-hero p {
    font-size: 16px;
  }

  .blog-content {
    padding: 56px 0 80px;
  }

  .blog-card-body {
    padding: 23px 21px 26px;
  }

  .blog-article {
    padding: 45px 0;
  }
}

html[dir="rtl"] .blog-hero-inner,
html[dir="rtl"] .blog-card,
html[dir="rtl"] .blog-article {
  text-align: right;
}

html[dir="rtl"] .article-body ul {
  padding-right: 22px;
  padding-left: 0;
}

html[dir="rtl"] .article-callout {
  border-right: 3px solid var(--orange);
  border-left: 0;
}
