.page-article,
.page-blogs {
  background:
    radial-gradient(circle at 8% 3%, rgba(79, 103, 255, .10), transparent 22%),
    radial-gradient(circle at 94% 12%, rgba(0, 184, 169, .08), transparent 18%),
    #f5f8ff;
}

.article-shell {
  width: min(calc(100% - 40px), 960px);
  margin: 0 auto;
  padding: 38px 0 84px;
}

.breadcrumbs { margin: 0 0 18px; color: #68778d; font-size: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #a3aec0; }
.breadcrumbs a:hover { color: var(--primary); }

.blog-article {
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid rgba(219, 230, 251, .96);
  border-radius: 28px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-lg);
  color: #1b2940;
  font-size: 17px;
  line-height: 1.78;
}

.blog-article h1 {
  max-width: 800px;
  margin: 14px 0 16px;
  color: var(--text);
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.blog-article h2 {
  margin: 2.15em 0 .65em;
  color: var(--text);
  font-size: clamp(27px, 4vw, 35px);
  line-height: 1.2;
  letter-spacing: -.03em;
}

.blog-article h3 { margin: 1.55em 0 .48em; color: var(--text); font-size: 21px; line-height: 1.35; }
.blog-article p { margin: .8em 0; }
.blog-article a:not(.btn) { color: #3454d1; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.blog-article ul,
.blog-article ol { padding-left: 1.4rem; }
.blog-article li { margin: .38em 0; }
.blog-article code { padding: .12em .35em; border-radius: 5px; background: #eef2f8; font-family: Consolas, Monaco, monospace; font-size: .91em; overflow-wrap: anywhere; }
.blog-article pre { padding: 18px; border-radius: 14px; background: #101827; color: #eef4ff; line-height: 1.55; overflow-x: auto; }
.blog-article pre code { padding: 0; background: transparent; color: inherit; }
.article-toc { margin: 28px 0 34px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: #f8faff; }
.article-toc strong { display: block; margin-bottom: 8px; color: var(--text); }
.article-toc ol { margin: 0; padding-left: 1.25rem; }
.article-toc li { margin: 4px 0; }
.article-table-wrap { margin: 22px 0 30px; overflow-x: auto; }
.blog-article table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.blog-article th,
.blog-article td { padding: 13px 14px; border: 1px solid #dfe7f5; text-align: left; vertical-align: top; }
.blog-article th { background: #f1f5ff; color: var(--text); font-weight: 800; }
.blog-article tbody tr:nth-child(even) { background: #fbfcff; }

.article-kicker { color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 30px !important; color: #6a788d; font-size: 14px; }
.intro { color: #344158; font-size: 19px; line-height: 1.75; }
.note { margin: 22px 0; padding: 17px 19px; border-left: 4px solid #6b91e8; border-radius: 10px; background: #f1f6ff; }
.article-image { margin: 25px 0 32px; }
.article-image img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgba(38, 64, 132, .09); }
.article-image figcaption { margin-top: 9px; color: #66758a; font-size: 14px; }
.faq-item { margin: 20px 0; padding-bottom: 14px; border-bottom: 1px solid #e7edf8; }
.faq-item h3 { margin-bottom: 5px; }

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 30px 0;
  padding: 24px;
  border: 1px solid #d5e4ff;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef4ff, #f2fffd);
}
.article-cta strong { display: block; color: var(--text); font-size: 21px; }
.article-cta p { margin: 5px 0 0; color: #52627a; font-size: 15px; line-height: 1.6; }
.article-cta .btn { flex: 0 0 auto; color: #fff; text-decoration: none; }
.article-next { display: flex; justify-content: space-between; gap: 18px; margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.article-next span { color: #6a788d; }
.article-next a { font-weight: 700; }

.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.guide-list-section { min-height: 62vh; padding: 52px 0 92px; }
.guide-list { display: grid; gap: 14px; }
.guide-list-item { border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.92); box-shadow: 0 10px 28px rgba(44, 80, 180, .07); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.guide-list-item:hover { transform: translateY(-2px); border-color: #bfcdfa; box-shadow: var(--shadow-md); }
.guide-list-item > a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 30px; padding: 28px 30px; }
.guide-list-main { min-width: 0; }
.guide-list-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: #718096; font-size: 13px; font-weight: 600; }
.guide-topic { padding: 5px 9px; border-radius: 999px; background: rgba(79, 103, 255, .09); color: var(--primary); font-weight: 800; }
.guide-list-item h2 { margin: 12px 0 8px; font-size: clamp(23px, 3vw, 31px); line-height: 1.24; letter-spacing: -.028em; }
.guide-list-item p { max-width: 780px; margin: 0; color: var(--muted); line-height: 1.65; }
.guide-list-link { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--primary); font-size: 14px; font-weight: 800; }
.guide-list-link span { font-size: 19px; transition: transform .2s ease; }
.guide-list-item:hover .guide-list-link span { transform: translateX(3px); }

@media (max-width: 780px) {
  .article-shell { width: min(calc(100% - 24px), 960px); padding-top: 22px; }
  .blog-article { border-radius: 20px; font-size: 16px; }
  .article-cta,
  .article-next { align-items: stretch; flex-direction: column; }
  .article-cta .btn { width: 100%; }
  .guide-list-section { padding: 38px 0 70px; }
  .guide-list-item > a { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .guide-list-link { justify-self: start; }
}
