body.blog-page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(6, 12, 23, 0.98) 0%, rgba(4, 8, 16, 0.99) 100%),
    #060c17;
  color: #f3f7ff;
}

body.blog-page::before {
  content: "";
  position: fixed;
  top: 62px;
  right: 0;
  bottom: 0;
  width: min(42vw, 620px);
  pointer-events: none;
  background:
    linear-gradient(90deg, #060c17 0%, rgba(6, 12, 23, 0.9) 32%, rgba(6, 12, 23, 0.5) 68%, rgba(6, 12, 23, 0.84) 100%),
    url("/assets/user/image (3).webp") center / cover no-repeat;
  opacity: 0.34;
  mask-image: linear-gradient(90deg, transparent 0%, #000 32%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%, #000 100%);
}

body.blog-page main.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(104px, 13vh, 142px) 24px 72px;
}

body.blog-page .breadcrumb {
  margin: 0 0 20px;
  color: rgba(214, 224, 242, 0.64);
  font-size: 13px;
  line-height: 1.5;
}

body.blog-page .breadcrumb a {
  color: rgba(214, 224, 242, 0.64);
  text-decoration: none;
}

body.blog-page h1 {
  max-width: 850px;
  margin: 0 0 32px;
  color: #f8fbff;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
}

body.blog-index main.wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.blog-index .breadcrumb,
body.blog-index h1 {
  grid-column: 1 / -1;
}

body.blog-index .card {
  position: relative;
  min-height: 172px;
  margin: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(10, 19, 35, 0.86);
  border: 1px solid rgba(124, 153, 197, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

body.blog-index .card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.32;
}

body.blog-index .card h3 a {
  color: #39d98a;
  text-decoration: none;
}

body.blog-index .card p:not(.pub-date) {
  margin: 0 0 14px;
  color: rgba(226, 235, 249, 0.76);
  font-size: 15px;
  line-height: 1.62;
}

body.blog-index .pub-date {
  margin: auto 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

body.blog-article main.wrap {
  max-width: 900px;
}

body.blog-article h1 + p {
  max-width: 780px;
  margin: 0 0 42px;
  color: rgba(229, 237, 250, 0.8);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.72;
}

body.blog-article h2 {
  margin: 40px 0 16px;
  color: #f8fbff;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

body.blog-article p {
  max-width: 780px;
  color: rgba(226, 235, 249, 0.8);
  font-size: 17px;
  line-height: 1.78;
}

body.blog-article ul,
body.blog-article ol {
  max-width: 780px;
  margin: 0 0 28px;
  padding: 22px 24px;
  display: grid;
  gap: 13px;
  color: rgba(226, 235, 249, 0.84);
  background: rgba(10, 19, 35, 0.84);
  border: 1px solid rgba(124, 153, 197, 0.2);
  border-radius: 8px;
  list-style: none;
}

body.blog-article .article-note,
body.blog-article .article-cta {
  max-width: 780px;
  margin: 30px 0;
  padding: 22px 24px;
  background: rgba(10, 19, 35, 0.84);
  border: 1px solid rgba(124, 153, 197, 0.2);
  border-radius: 8px;
}

body.blog-article .article-note p,
body.blog-article .article-cta p {
  margin: 0;
  color: rgba(226, 235, 249, 0.82);
  font-size: 16px;
  line-height: 1.7;
}

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

body.blog-article .article-cta__button {
  margin-top: 18px;
  min-height: 46px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #06101d;
  background: #39d98a;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

body.blog-article ol {
  counter-reset: blog-step;
}

body.blog-article li {
  position: relative;
  margin: 0;
  padding-left: 34px;
  font-size: 16px;
  line-height: 1.68;
}

body.blog-article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #39d98a;
}

body.blog-article ol li {
  counter-increment: blog-step;
}

body.blog-article ol li::before {
  content: counter(blog-step);
  position: absolute;
  left: 0;
  top: 0.08em;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #06101d;
  background: #39d98a;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

body.blog-article li a {
  color: #39d98a;
  font-weight: 800;
  text-decoration: none;
}

body.blog-article main.wrap + div[style] {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 900px);
  margin: 0 auto 44px !important;
  padding: 26px !important;
  background: rgba(37, 99, 235, 0.1) !important;
  border: 1px solid rgba(82, 132, 255, 0.28) !important;
  border-radius: 8px !important;
}

body.blog-article main.wrap + div[style] p {
  max-width: none;
  line-height: 1.55;
}

body.blog-page .site-footer {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1120px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 0 38px;
  border-top: 1px solid rgba(124, 153, 197, 0.18);
  color: rgba(214, 224, 242, 0.6);
  font-size: 14px;
  line-height: 1.5;
}

body.blog-page .site-footer a {
  color: rgba(214, 224, 242, 0.68);
  text-decoration: none;
}

@media (max-width: 900px) {
  body.blog-page::before {
    display: none;
  }

  body.blog-page main.wrap {
    padding: 92px 20px 52px;
  }

  body.blog-page h1 {
    margin-bottom: 28px;
    font-size: clamp(32px, 8.5vw, 44px);
    line-height: 1.14;
  }

  body.blog-index main.wrap {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.blog-index .card {
    min-height: 0;
    padding: 20px;
  }

  body.blog-article h1 + p,
  body.blog-article p {
    font-size: 16px;
  }

  body.blog-article ul,
  body.blog-article ol,
  body.blog-article .article-note,
  body.blog-article .article-cta {
    padding: 18px;
  }

  body.blog-article main.wrap + div[style] {
    width: calc(100% - 40px);
    padding: 22px !important;
  }

  body.blog-page .site-footer {
    width: calc(100% - 40px);
    padding-bottom: 30px;
    gap: 10px 18px;
  }
}
