.blog-article-page main {
  background:
    radial-gradient(circle at 78% 12%, rgba(8, 174, 100, .08), transparent 260px),
    linear-gradient(180deg, #fff 0%, #fbfdff 34%, #fff 100%);
}

.article-hero {
  padding: 18px 0 20px;
  background: #fff;
  border-bottom: 1px solid #e4ebf3;
}

.breadcrumbs,
.article-title-grid,
.author-row,
.hero-summary-card li,
.article-layout,
.toc-card,
.example-grid,
.insight-card,
.faq-heading,
.mini-result,
.sidebar-related a {
  display: flex;
  align-items: center;
}

.breadcrumbs {
  gap: 7px;
  margin-bottom: 12px;
  color: #6a7c95;
  font-size: 12px;
  font-weight: 650;
}

.breadcrumbs svg {
  width: 12px;
  height: 12px;
}

.article-title-grid {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.article-kicker {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #eaf9f3;
  color: #009b5c;
  font-size: 12px;
  font-weight: 850;
}

.article-title-copy h1 {
  max-width: 690px;
  margin: 12px 0 8px;
  color: #061738;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 850;
}

.article-title-copy p {
  max-width: 710px;
  margin: 0;
  color: #48607f;
  font-size: 15px;
  line-height: 1.45;
}

.author-row {
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.author-meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: 12px;
  color: #061738;
  font-size: 12px;
}

.author-meta > span:last-child {
  display: grid;
  gap: 2px;
}

.author-meta > svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 999px;
  background: #f0fbf6;
  color: #08ae64;
}

.author-row small {
  color: #6a7c95;
  font-size: 11px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
}

.avatar-green {
  background: linear-gradient(135deg, #08ae64, #20cfd0);
}

.avatar-blue {
  background: linear-gradient(135deg, #3f86ff, #8a67df);
}

.hero-summary-card {
  padding: 18px;
  border: 1px solid #ccefe2;
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(8, 174, 100, .12), transparent 140px),
    linear-gradient(180deg, #f5fffb, #fff);
}

.hero-summary-card h2,
.toc-card h2,
.mini-calculator-card h2,
.sidebar-related h2 {
  margin: 0 0 12px;
  color: #061738;
  font-size: 15px;
  font-weight: 850;
}

.hero-summary-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-summary-card li {
  align-items: flex-start;
  gap: 9px;
  color: #27405f;
  font-size: 12px;
  line-height: 1.4;
}

.hero-summary-card svg {
  flex: 0 0 auto;
  color: #08ae64;
}

.article-body-section {
  padding: 22px 0 18px;
}

.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 330px;
  align-items: start;
  gap: 20px;
}

.toc-card,
.mini-calculator-card,
.sidebar-related {
  border: 1px solid #dce6f2;
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 28px rgba(25, 60, 102, .045);
}

.toc-card {
  position: sticky;
  top: 78px;
  display: grid;
  align-items: start;
  gap: 7px;
  padding: 16px;
}

.toc-card a {
  min-height: 28px;
  color: #48607f;
  font-size: 12px;
  font-weight: 750;
}

.toc-card a.is-active,
.toc-card a:hover {
  color: #009b5c;
}

.article-content {
  min-width: 0;
}

.article-content .lead {
  margin: 0 0 18px;
  color: #27405f;
  font-size: 15px;
  line-height: 1.65;
}

.article-content section {
  margin-bottom: 24px;
}

.article-content h2 {
  margin: 0 0 10px;
  color: #061738;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 850;
}

.article-content p,
.article-content li {
  color: #304765;
  font-size: 14px;
  line-height: 1.6;
}

.equation-card {
  display: inline-block;
  margin: 8px 0 12px;
  padding: 18px 22px;
  border: 1px solid #d8f1e7;
  border-radius: 8px;
  background: linear-gradient(90deg, #fff, #eaf9f3);
}

.equation-card p {
  margin: 0;
  color: #061738;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-style: italic;
}

.definition-list,
.step-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.step-list {
  margin-bottom: 14px;
}

.continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid #08ae64;
  border-radius: 7px;
  background: linear-gradient(180deg, #12bd72, #00a85c);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.example-grid div {
  padding: 14px;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  background: #fff;
}

.example-grid span,
.mini-result span {
  display: block;
  color: #48607f;
  font-size: 12px;
  font-weight: 700;
}

.example-grid strong,
.mini-result strong {
  display: block;
  margin-top: 5px;
  color: #009b5c;
  font-size: 18px;
  font-weight: 850;
}

.insight-card {
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border: 1px solid #ccefe2;
  border-radius: 8px;
  background: #f4fcf8;
}

.insight-card svg {
  flex: 0 0 auto;
  color: #08ae64;
}

.insight-card p {
  margin: 0;
}

.article-sidebar {
  position: sticky;
  top: 78px;
  display: grid;
  gap: 14px;
}

.mini-calculator-card,
.sidebar-related {
  padding: 16px;
}

.mini-calculator-card h3 {
  margin: -4px 0 14px;
  color: #061738;
  font-size: 14px;
  font-weight: 850;
}

.mini-calculator-card form {
  display: grid;
  gap: 10px;
}

.mini-calculator-card label {
  display: grid;
  gap: 6px;
  color: #173153;
  font-size: 12px;
  font-weight: 750;
}

.mini-calculator-card input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #dce6f2;
  border-radius: 6px;
  background: #fbfdff;
  color: #071b43;
  outline: 0;
  font-weight: 700;
}

.mini-calculator-card input:focus {
  border-color: #08ae64;
  box-shadow: 0 0 0 4px rgba(8, 174, 100, .08);
}

.mini-calculator-card form button {
  min-height: 36px;
  margin-top: 4px;
  border: 1px solid #08ae64;
  border-radius: 6px;
  background: linear-gradient(180deg, #12bd72, #00a85c);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.mini-result {
  display: grid;
  margin: 14px 0;
  padding: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, #eaf9f3, #f8fcff);
  text-align: center;
}

.mini-result strong {
  font-size: 24px;
}

.mini-result small {
  margin-top: 6px;
  color: #48607f;
  font-size: 11px;
}

.sidebar-related > div {
  display: grid;
  gap: 10px;
}

.sidebar-related a {
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px;
  border: 1px solid #dce6f2;
  border-radius: 7px;
  background: #fff;
  color: #061738;
  font-size: 12px;
  font-weight: 800;
}

.sidebar-related small {
  display: block;
  margin-top: 3px;
  color: #6a7c95;
  font-size: 11px;
  font-weight: 650;
}

.faq-heading {
  justify-content: space-between;
  margin-bottom: 10px;
}

.faq-heading h2 {
  margin-bottom: 0;
}

.faq-list {
  overflow: hidden;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  background: #fff;
}

.faq-item {
  border-bottom: 1px solid #e7eef7;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  background: #fff;
  color: #061738;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 14px 13px;
  color: #48607f;
  font-size: 13px;
  line-height: 1.45;
}

.faq-item.is-open p {
  display: block;
  background: linear-gradient(90deg, rgba(8, 174, 100, .045), transparent);
}

.faq-item.is-open button svg {
  transform: rotate(180deg);
}

@media (max-width: 1100px) {
  .article-title-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .toc-card,
  .article-sidebar {
    position: static;
  }

  .toc-card {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .toc-card::-webkit-scrollbar {
    display: none;
  }

  .toc-card h2 {
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .toc-card a {
    flex: 0 0 auto;
  }

  .article-sidebar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .article-hero {
    padding: 14px 0;
  }

  .article-title-copy h1 {
    font-size: 28px;
  }

  .author-row {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .author-meta {
    margin-right: 0;
  }

  .hero-summary-card {
    padding: 14px;
  }

  .article-body-section {
    padding-top: 16px;
  }

  .toc-card {
    margin-inline: -16px;
    padding-inline: 16px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .article-content h2 {
    font-size: 20px;
  }

  .equation-card {
    width: 100%;
    overflow-x: auto;
  }

  .equation-card p {
    min-width: 420px;
  }

  .example-grid,
  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .faq-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
