.p1-article-page {
  background: #fff;
  color: #141b34;
}

.p1-reading-progress {
  background: rgba(46, 110, 255, .12);
  height: 3px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
}

.p1-reading-progress span {
  background: #2e6eff;
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
}

.p1-article-container {
  margin-inline: auto;
  max-width: 1160px;
  width: calc(100% - 48px);
}

.p1-article-hero {
  background:
    radial-gradient(circle at 16% 18%, rgba(199, 255, 249, .9), transparent 30%),
    radial-gradient(circle at 80% 8%, rgba(225, 213, 255, .86), transparent 31%),
    linear-gradient(135deg, #f7fbff 0%, #f5f7ff 52%, #fbf8ff 100%);
  overflow: hidden;
  padding: 124px 0 34px;
  position: relative;
  text-align: center;
}

.p1-article-hero::after {
  background-image: linear-gradient(rgba(255,255,255,.56) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.56) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  opacity: .7;
  pointer-events: none;
  position: absolute;
}

.p1-article-hero .p1-article-container {
  max-width: 1760px;
  position: relative;
  z-index: 1;
}

.p1-article-kicker {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
}

.p1-article-breadcrumb {
  align-items: center;
  color: #6c7588;
  display: flex;
  font-size: 14px;
  gap: 9px;
  justify-content: center;
  margin: 0;
}

.p1-article-breadcrumb a:hover { color: #2e6eff; }

.p1-article-category {
  background: #e9ffd0;
  border-radius: 999px;
  color: #446b17;
  display: inline-flex;
  font-size: 14px;
  line-height: 30px;
  padding: 0 16px;
}

.p1-article-hero h1 {
  color: #111827;
  font-size: clamp(36px, 2.65vw, 50px);
  font-weight: 550;
  letter-spacing: -.035em;
  line-height: 1.18;
  margin: 20px auto 14px;
  max-width: 1180px;
  text-wrap: pretty;
}

.p1-article-lead {
  color: #687386;
  font-size: 18px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 920px;
}

.p1-article-meta {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
  text-align: left;
}

.p1-article-meta > span:not(.p1-article-author-mark):not(.p1-article-meta-separator) {
  display: grid;
  gap: 2px;
}

.p1-article-meta strong,
.p1-article-meta time { color: #273247; font-size: 14px; font-weight: 600; }
.p1-article-meta small { color: #929aab; font-size: 12px; }

.p1-article-author-mark {
  align-items: center;
  background: #2e7cff;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.p1-article-meta-separator { background: #d8deea; height: 32px; margin: 0 4px; width: 1px; }

.p1-article-cover {
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(34, 52, 92, .14);
  margin-top: 32px;
  max-height: 620px;
  overflow: hidden;
}

.p1-article-cover img {
  display: block;
  height: auto;
  max-height: 620px;
  object-fit: cover;
  width: 100%;
}

.p1-article-layout {
  align-items: start;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 790px) 250px;
  justify-content: space-between;
  padding-bottom: 96px;
  padding-top: 74px;
}

.p1-article-content {
  color: #3f485a;
  font-size: 18px;
  line-height: 1.9;
  min-width: 0;
  overflow-wrap: anywhere;
}

.p1-article-content > :first-child { margin-top: 0; }
.p1-article-content p { margin: 0 0 24px; }
.p1-article-content h2,
.p1-article-content h3,
.p1-article-content h4 { color: #131a2c; font-weight: 600; line-height: 1.35; scroll-margin-top: 120px; }
.p1-article-content h2 { font-size: 32px; margin: 54px 0 22px; }
.p1-article-content h3 { font-size: 24px; margin: 38px 0 18px; }
.p1-article-content h4 { font-size: 20px; margin: 30px 0 14px; }
.p1-article-content a { color: #176bff; text-decoration: underline; text-decoration-color: rgba(23,107,255,.3); text-underline-offset: 4px; }
.p1-article-content strong { color: #1f293b; font-weight: 650; }
.p1-article-content ul,
.p1-article-content ol { margin: 0 0 26px; padding-left: 28px; }
.p1-article-content ul { list-style: disc; }
.p1-article-content ol { list-style: decimal; }
.p1-article-content li { margin: 8px 0; padding-left: 5px; }
.p1-article-content blockquote {
  background: #f2f6ff;
  border-left: 4px solid #2e6eff;
  border-radius: 0 16px 16px 0;
  color: #35405a;
  margin: 34px 0;
  padding: 24px 28px;
}
.p1-article-content blockquote p:last-child { margin-bottom: 0; }
.p1-article-content img {
  border-radius: 18px;
  display: block;
  height: auto;
  margin: 36px auto;
  max-width: 100%;
}
.p1-article-content table { border-collapse: collapse; display: block; margin: 30px 0; max-width: 100%; overflow-x: auto; }
.p1-article-content th,
.p1-article-content td { border: 1px solid #dfe5ef; min-width: 140px; padding: 13px 16px; text-align: left; }
.p1-article-content th { background: #f5f7fb; color: #1c2639; }
.p1-article-content pre { background: #101827; border-radius: 14px; color: #dce7fa; margin: 28px 0; overflow-x: auto; padding: 22px; }
.p1-article-content code { background: #f1f4f9; border-radius: 5px; color: #1e54a8; font-size: .9em; padding: 2px 6px; }
.p1-article-content pre code { background: transparent; color: inherit; padding: 0; }
.p1-article-content .ql-align-center { text-align: center; }.p1-article-content .ql-align-right { text-align: right; }.p1-article-content .ql-align-justify { text-align: justify; }
.p1-article-content .ql-size-small { font-size: .82em; }.p1-article-content .ql-size-large { font-size: 1.35em; }.p1-article-content .ql-size-huge { font-size: 1.75em; }
.p1-article-content .article-callout {
  border: 1px solid #d9e5ff;
  border-left: 5px solid #2e6eff;
  border-radius: 14px;
  margin: 30px 0;
  padding: 22px 24px;
}
.p1-article-content .article-callout > :last-child { margin-bottom: 0; }
.p1-article-content .article-callout--info { background: #f2f7ff; color: #25446f; }
.p1-article-content .article-callout--tip { background: #effcf5; border-color: #a8e7c5; border-left-color: #20a464; color: #225b40; }
.p1-article-content .article-callout--warning { background: #fff8eb; border-color: #f5d89d; border-left-color: #ee9c22; color: #704d16; }
.p1-article-content .seo-steps { counter-reset: p1-step; list-style: none; padding-left: 0; }
.p1-article-content .seo-steps > li { counter-increment: p1-step; min-height: 48px; padding: 5px 0 22px 62px; position: relative; }
.p1-article-content .seo-steps > li::before {
  align-items: center; background: linear-gradient(145deg,#247cff,#6a5cff); border-radius: 50%; color: #fff;
  content: counter(p1-step); display: flex; font-size: 16px; font-weight: 700; height: 42px; justify-content: center; left: 0; position: absolute; top: 0; width: 42px;
}
.p1-article-content .article-faq { border-top: 1px solid #e7ebf2; margin-top: 52px; padding-top: 8px; }
.p1-article-content .article-cta-inline { background: linear-gradient(135deg,#eef5ff,#f3efff); border-radius: 18px; margin: 38px 0; padding: 26px 28px; }
.p1-article-content .article-cta-inline > :last-child { margin-bottom: 0; }

.p1-article-content .article-inline-image {
  margin: 42px auto;
  max-width: 900px;
}
.p1-article-content .article-inline-image--compact {
  margin: 28px auto;
  max-width: 720px;
}
.p1-article-content .article-inline-image img {
  aspect-ratio: 16 / 9;
  margin: 0;
  object-fit: cover;
  width: 100%;
}
.p1-article-content .article-inline-image figcaption {
  color: #7b8598;
  font-size: 13px;
  line-height: 1.6;
  padding-top: 10px;
  text-align: center;
}
.p1-article-content .article-chart {
  background: linear-gradient(145deg, #f8fbff, #f5f2ff);
  border: 1px solid #e1e8f5;
  border-radius: 20px;
  margin: 38px 0;
  overflow: hidden;
  padding: 26px 28px;
}
.p1-article-content .article-chart > figcaption {
  color: #1c2639;
  font-size: 18px;
  font-weight: 650;
  margin-bottom: 24px;
}
.p1-article-content .article-chart-bars { display: grid; gap: 14px; }
.p1-article-content .article-chart-bars > div {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(90px, 150px) minmax(120px, 1fr) 52px;
}
.p1-article-content .article-chart-bars span,
.p1-article-content .article-chart-bars strong { font-size: 14px; }
.p1-article-content .article-chart-bars i {
  background: #e5eaf3;
  border-radius: 999px;
  display: block;
  height: 12px;
  overflow: hidden;
  position: relative;
}
.p1-article-content .article-chart-bars i::after {
  background: var(--color, #2f7cff);
  border-radius: inherit;
  content: '';
  inset: 0 auto 0 0;
  position: absolute;
  width: var(--value, 0%);
}
.p1-article-content .article-chart--pie {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 190px 1fr;
}
.p1-article-content .article-chart--pie > figcaption { grid-column: 1 / -1; margin-bottom: 0; }
.p1-article-content .article-chart-pie {
  aspect-ratio: 1;
  background: conic-gradient(#2f7cff 0 var(--slice-a, 40%), #725cff var(--slice-a, 40%) var(--slice-b, 72%), #2dc7a2 var(--slice-b, 72%) 100%);
  border: 14px solid #fff;
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(51, 80, 140, .14);
}
.p1-article-content .article-chart-legend { list-style: none; margin: 0; padding: 0; }
.p1-article-content .article-chart-legend li { align-items: center; display: flex; gap: 9px; }
.p1-article-content .article-chart-legend li::before {
  background: #2f7cff;
  border-radius: 50%;
  content: '';
  height: 9px;
  width: 9px;
}
.p1-article-content .article-chart-legend li:nth-child(2)::before { background: #725cff; }
.p1-article-content .article-chart-legend li:nth-child(3)::before { background: #2dc7a2; }
.p1-article-content .article-chart--line svg {
  background: rgba(255,255,255,.72);
  border-radius: 14px;
  display: block;
  height: auto;
  max-height: 320px;
  width: 100%;
}
.p1-article-content .article-chart--line polyline {
  fill: none;
  stroke: #2f7cff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.p1-article-sidebar {
  align-self: start;
  max-height: calc(100vh - 130px);
  max-height: calc(100dvh - 130px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  position: sticky;
  scrollbar-color: #c8d3e6 transparent;
  scrollbar-width: thin;
  top: 110px;
}
.p1-article-sidebar::-webkit-scrollbar { width: 5px; }
.p1-article-sidebar::-webkit-scrollbar-thumb { background: #c8d3e6; border-radius: 999px; }
.p1-article-sidebar::-webkit-scrollbar-track { background: transparent; }
.p1-article-toc-card,
.p1-article-cta { border: 1px solid #e6eaf1; border-radius: 18px; padding: 22px; }
.p1-article-toc-card > p { color: #151d2e; font-size: 17px; font-weight: 650; margin: 0 0 15px; }
.p1-article-toc-card nav { display: grid; gap: 5px; }
.p1-article-toc-card a { border-left: 2px solid #e1e6ee; color: #737c8d; font-size: 14px; line-height: 1.5; padding: 7px 0 7px 13px; }
.p1-article-toc-card a[data-level="3"] { padding-left: 26px; }
.p1-article-toc-card a:hover,
.p1-article-toc-card a.is-active { border-color: #2e6eff; color: #2e6eff; }
.p1-article-cta { background: linear-gradient(145deg, #1c6fff, #7058ff); color: #fff; margin-top: 18px; }
.p1-article-cta span { font-size: 13px; opacity: .78; }
.p1-article-cta strong { display: block; font-size: 20px; line-height: 1.35; margin-top: 8px; }
.p1-article-cta p { font-size: 14px; line-height: 1.6; margin: 10px 0 18px; opacity: .86; }
.p1-article-cta a { background: #fff; border-radius: 999px; color: #1d64de; display: inline-flex; font-size: 14px; font-weight: 600; padding: 10px 17px; }
.p1-article-end { margin-bottom: 54px; }
.p1-article-engagement {
  align-items: center;
  border-bottom: 1px solid #e8ecf3;
  border-top: 1px solid #e8ecf3;
  color: #778195;
  display: flex;
  font-size: 14px;
  gap: 12px;
  justify-content: center;
  padding: 22px 0;
}
.p1-article-engagement span,
.p1-article-engagement button { align-items: center; display: inline-flex; gap: 6px; }
.p1-article-engagement button {
  background: #f3f6fb;
  border: 1px solid #e3e8f1;
  border-radius: 999px;
  color: #59657a;
  cursor: pointer;
  padding: 8px 14px;
  transition: .2s ease;
}
.p1-article-engagement button:hover,
.p1-article-engagement button.is-liked { background: #fff0f2; border-color: #ffcbd1; color: #e64d60; }
.p1-article-engagement button:disabled { cursor: default; opacity: 1; }
.p1-article-engagement strong { color: inherit; font-weight: 650; }
.p1-article-neighbors { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; margin-top: 28px; }
.p1-article-neighbors a {
  border: 1px solid #e5eaf2;
  border-radius: 16px;
  display: grid;
  gap: 8px;
  min-height: 106px;
  min-width: 0;
  padding: 20px 22px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.p1-article-neighbors a:last-child { text-align: right; }
.p1-article-neighbors a:hover { border-color: #b9d0ff; box-shadow: 0 14px 34px rgba(41,92,180,.09); transform: translateY(-2px); }
.p1-article-neighbors small { color: #8b94a5; font-size: 12px; }
.p1-article-neighbors strong {
  color: #202a3d;
  display: block;
  font-size: 16px;
  line-height: 1.55;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dark .p1-article-page { background: #0b0e17; color: #e8edf7; }
.dark .p1-article-hero {
  background:
    radial-gradient(circle at 16% 18%, rgba(21, 105, 111, .42), transparent 30%),
    radial-gradient(circle at 80% 8%, rgba(83, 57, 143, .42), transparent 31%),
    linear-gradient(135deg, #101522 0%, #111525 52%, #151221 100%);
}
.dark .p1-article-hero::after { background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); }
.dark .p1-article-breadcrumb,
.dark .p1-article-lead,
.dark .p1-article-meta small { color: #9ba8bd; }
.dark .p1-article-hero h1,
.dark .p1-article-meta strong,
.dark .p1-article-meta time,
.dark .p1-article-content h2,
.dark .p1-article-content h3,
.dark .p1-article-content h4,
.dark .p1-article-content strong,
.dark .p1-article-toc-card > p,
.dark .p1-article-neighbors strong { color: #eef3fb; }
.dark .p1-article-meta-separator { background: #354055; }
.dark .p1-article-cover { box-shadow: 0 26px 70px rgba(0, 0, 0, .36); }
.dark .p1-article-content { color: #b9c3d3; }
.dark .p1-article-content blockquote { background: #151e31; color: #c5d1e4; }
.dark .p1-article-content code { background: #182136; color: #81b2ff; }
.dark .p1-article-content th,
.dark .p1-article-content td { border-color: #303a4d; }
.dark .p1-article-content th { background: #161d2c; color: #e0e7f2; }
.dark .p1-article-content .article-callout { border-color: #334663; }
.dark .p1-article-content .article-callout--info { background: #13223a; color: #b9d4ff; }
.dark .p1-article-content .article-callout--tip { background: #102a24; border-color: #286c57; color: #aee4d1; }
.dark .p1-article-content .article-callout--warning { background: #302516; border-color: #765729; color: #f0d09b; }
.dark .p1-article-content .article-faq { border-color: #2a3344; }
.dark .p1-article-content .article-cta-inline,
.dark .p1-article-content .article-chart { background: linear-gradient(135deg, #142038, #211936); border-color: #303d55; }
.dark .p1-article-content .article-inline-image figcaption { color: #8f9db2; }
.dark .p1-article-content .article-chart > figcaption { color: #e6edf8; }
.dark .p1-article-content .article-chart-bars i { background: #30394a; }
.dark .p1-article-content .article-chart-pie { border-color: #171d2a; box-shadow: 0 12px 32px rgba(0,0,0,.3); }
.dark .p1-article-content .article-chart--line svg { background: rgba(17,24,39,.72); }
.dark .p1-article-toc-card,
.dark .p1-article-neighbors a { background: #111722; border-color: #2b3445; }
.dark .p1-article-toc-card a { border-color: #394356; color: #98a5b9; }
.dark .p1-article-toc-card a:hover,
.dark .p1-article-toc-card a.is-active {
  background: linear-gradient(90deg, rgba(46, 110, 255, .18), rgba(46, 110, 255, 0));
  border-color: #69a2ff;
  color: #78adff;
  font-weight: 600;
}
.dark .p1-article-engagement { border-color: #2a3344; color: #97a5ba; }
.dark .p1-article-engagement button { background: #171e2c; border-color: #313b4e; color: #b3bfd1; }
.dark .p1-article-neighbors small { color: #8997ab; }
.dark .p1-article-neighbors a:hover { border-color: #4777c6; box-shadow: 0 14px 34px rgba(0,0,0,.24); }
@media (min-width: 1440px) {
  .p1-article-hero h1 {
    max-width: none;
    white-space: nowrap;
  }
}

@media (max-width: 991px) {
  .p1-article-layout { gap: 48px; grid-template-columns: minmax(0, 1fr) 220px; }
}

@media (max-width: 767px) {
  .p1-article-container,
  .p1-article-back { width: calc(100% - 32px); }
  .p1-article-hero { padding: 108px 0 34px; }
  .p1-article-kicker { gap: 10px; }
  .p1-article-breadcrumb { font-size: 12px; gap: 6px; }
  .p1-article-category { font-size: 12px; line-height: 27px; padding-inline: 12px; }

  .p1-article-content .article-chart { padding: 20px 18px; }
  .p1-article-content .article-chart-bars > div { grid-template-columns: 86px minmax(90px, 1fr) 38px; }
  .p1-article-content .article-chart--pie { grid-template-columns: 130px 1fr; }
  .p1-article-hero h1 { font-size: 34px; }
  .p1-article-lead { font-size: 16px; }
  .p1-article-cover { border-radius: 15px; margin-top: 30px; }
  .p1-article-layout { display: block; padding-bottom: 60px; padding-top: 48px; }
  .p1-article-content { font-size: 17px; line-height: 1.82; }
  .p1-article-content h2 { font-size: 27px; margin-top: 42px; }
  .p1-article-content h3 { font-size: 22px; }
  .p1-article-sidebar {
    margin-top: 48px;
    max-height: none;
    overflow: visible;
    padding-right: 0;
    position: static;
  }
  .p1-article-neighbors { grid-template-columns: 1fr; }
  .p1-article-neighbors > span { display: none; }
  .p1-article-neighbors a:last-child { text-align: left; }
}

@media (max-width: 479px) {
  .p1-article-meta { flex-wrap: wrap; }
  .p1-article-meta-separator { display: none; }
  .p1-article-hero h1 { font-size: 30px; }
}
