.blog-article-page {
  --article-accent: #d9ef74;
  --article-mint: #77d4c3;
  --article-violet: #b4a0ed;
  --article-border: rgba(255, 255, 255, 0.1);
  --article-muted: rgba(242, 242, 238, 0.64);
}

.blog-article-page main {
  overflow: visible !important;
  background: #161616;
  font-family: Vazirmatn, sans-serif;
}

.article-reading-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
}

.article-reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--article-mint);
  transition: width 0.12s linear;
}

.article {
  padding-top: 132px;
}

.article-back-link {
  display: inline-flex;
  margin-bottom: 24px;
  align-items: center;
  gap: 9px;
  color: var(--article-muted);
  font-size: 12px;
}

.article-back-link:hover {
  color: var(--article-accent);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--article-muted);
  font-size: 11px;
}

.article-meta span:first-child {
  color: var(--article-mint);
}

.article-meta i {
  width: 3px;
  height: 3px;
  align-self: center;
  border-radius: 50%;
  background: currentcolor;
}

.article-author-row {
  display: flex;
  margin-top: 24px;
  align-items: center;
  gap: 10px;
}

.article-author-row > img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
}

.article-author-row > div {
  display: grid;
  text-align: right;
}

.article-author-row strong {
  font-size: 11px;
  font-weight: 500;
}

.article-author-row > div span {
  margin-top: 2px;
  color: var(--article-muted);
  font-size: 9px;
}

.article-series {
  margin-right: 10px;
  padding-right: 16px;
  border-right: 1px solid var(--article-border);
  color: var(--article-muted);
  font-size: 10px;
}

.article-series i {
  margin-left: 5px;
  color: var(--article-violet);
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--article-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
}

.article-card__header {
  display: grid;
  padding: 30px;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--article-border);
}

.article-card__intro h1 {
  margin: 16px 0 14px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.55;
}

.article-card__intro > p {
  margin: 0;
  color: var(--article-muted);
  font-size: 14px;
  line-height: 2;
}

.article-card__cover {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.article-card__cover::after {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.24);
  content: "";
}

.article-card__cover img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.article-card__cover figcaption {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
}

.article-layout {
  align-items: stretch;
  row-gap: 42px;
}

.article-sidebar {
  align-self: stretch;
}

.article-sidebar__sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 108px;
  align-self: flex-start;
}

.article-sidebar__sticky {
  display: grid;
  gap: 13px;
}

.article-toc {
  display: grid;
  padding: 20px;
  gap: 12px;
  border: 1px solid var(--article-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.article-toc__heading {
  display: flex;
  margin-bottom: 5px;
  align-items: center;
  justify-content: space-between;
}

.article-toc__heading > span {
  color: var(--article-accent);
  font-size: 10px;
}

.article-toc a {
  display: grid;
  padding: 9px 10px;
  grid-template-columns: 21px 1fr;
  align-items: center;
  gap: 6px;
  border-right: 2px solid rgba(255, 255, 255, 0.13);
  border-radius: 0 9px 9px 0;
  color: var(--article-muted);
  font-size: 11px;
  line-height: 1.7;
  transition: 0.2s ease;
}

.article-toc a:hover,
.article-toc a.is-current {
  border-color: var(--article-accent);
  background: rgba(217, 239, 116, 0.1);
  color: var(--article-accent);
  box-shadow: inset -10px 0 20px -18px rgba(217, 239, 116, 0.9);
}

.article-toc a b {
  color: inherit;
  direction: ltr;
  font-family: monospace;
  font-size: 9px;
  font-weight: 400;
}

.article-share {
  padding: 17px;
  border: 1px solid var(--article-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.article-share > span {
  display: block;
  color: var(--article-muted);
  font-size: 10px;
}

.article-share__actions {
  display: flex;
  margin-top: 11px;
  gap: 7px;
}

.article-share button,
.article-content__footer button,
.article-content__footer a {
  display: inline-flex;
  min-height: 38px;
  margin-top: 11px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--article-border);
  border-radius: 10px;
  background: transparent;
  color: var(--article-accent);
  font: inherit;
  font-size: 10px;
  transition: 0.25s ease;
}

.article-share button {
  width: 34px;
  min-height: 34px;
  margin-top: 0;
  padding: 0;
}

.article-share button:nth-child(3) {
  color: #4bc4eb;
}

.article-share button:nth-child(4) {
  color: #7aa4df;
}

.article-blog-sidebar {
  align-self: flex-start;
}

.article-blog-sidebar .blog-sidebar__sticky {
  position: sticky;
  top: 108px;
}

.article-blog-sidebar .blog-widget {
  padding: 17px;
}

.article-blog-sidebar .blog-widget--newsletter {
  background: rgba(119, 212, 195, 0.06);
}

.article-blog-sidebar .blog-widget h3 {
  font-size: 15px;
}

.article-blog-sidebar .blog-widget--newsletter h3 {
  font-size: 17px;
}

.article-blog-sidebar .blog-reader-stack {
  margin-top: 12px;
}

.article-blog-sidebar .blog-popular-list li {
  grid-template-columns: 18px 1fr;
  gap: 7px;
}

.article-blog-sidebar .blog-popular-list strong {
  font-size: 10px;
}

.article-blog-sidebar .blog-popular-list small {
  font-size: 8px;
}

.article-blog-sidebar .blog-topic-list a {
  display: flex;
  width: 100%;
  padding: 7px 0;
  align-items: center;
  justify-content: space-between;
  color: var(--blog-muted);
  font-size: 11px;
}

.article-blog-sidebar .blog-topic-list a > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-blog-sidebar .blog-topic-list a:hover {
  color: var(--blog-accent);
}

.article-blog-sidebar .blog-reading-pick {
  display: block;
}

.article-blog-sidebar .blog-widget--author {
  display: block;
}

.article-blog-sidebar .blog-author-topics {
  margin-top: 12px;
}

.article-blog-sidebar .blog-reading-pick h3 {
  font-size: 12px;
}

.article-blog-sidebar .blog-reading-pick p {
  font-size: 9px;
}

.article-sidebar-widget {
  padding: 18px;
  border: 1px solid var(--article-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.article-sidebar-widget > span {
  color: var(--article-mint);
  font-size: 9px;
}

.article-sidebar-widget h3 {
  margin: 7px 0 13px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

.article-category-widget ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 3px;
  list-style: none;
}

.article-category-widget a {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  color: var(--article-muted);
  font-size: 10px;
}

.article-category-widget a > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-category-widget i {
  width: 13px;
  color: var(--article-mint);
  font-size: 10px;
  text-align: center;
}

.article-category-widget a:hover {
  color: var(--article-accent);
}

.article-category-widget small {
  color: inherit;
  font-size: 9px;
}

.article-series-widget {
  border-color: rgba(180, 160, 237, 0.26);
}

.article-series-widget > span {
  color: var(--article-violet);
}

.article-series-widget p {
  margin: 0;
  color: var(--article-muted);
  font-size: 10px;
  line-height: 1.85;
}

.article-series-widget a {
  display: inline-flex;
  margin-top: 10px;
  align-items: center;
  gap: 6px;
  color: var(--article-accent);
  font-size: 10px;
}

.article-share button:hover,
.article-content__footer button:hover,
.article-content__footer a:hover {
  border-color: rgba(217, 239, 116, 0.45);
  background: rgba(217, 239, 116, 0.08);
}

.article-content {
  padding: 46px 42px 0;
}

.article-content > section {
  position: relative;
  margin-bottom: 72px;
}

.article-lead {
  margin: 0 0 60px;
  color: #f2f2ee;
  font-size: 20px;
  font-weight: 450;
  line-height: 2.05;
}

.article-section-number {
  color: var(--article-accent);
  direction: ltr;
  font-family: monospace;
  font-size: 11px;
}

.article-content h2 {
  max-width: 680px;
  margin: 14px 0 20px;
  font-size: clamp(22px, 2.7vw, 28px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.58;
}

.article-content p {
  color: var(--article-muted);
  font-size: 15px;
  line-height: 2.2;
}

.article-question-grid {
  display: grid;
  margin-top: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.article-question-grid article {
  padding: 18px;
  border: 1px solid var(--article-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.article-question-grid span {
  color: var(--article-mint);
  direction: ltr;
  font-family: monospace;
  font-size: 10px;
}

.article-question-grid h3 {
  margin: 16px 0 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

.article-question-grid p {
  margin: 0;
  font-size: 11px;
  line-height: 1.95;
}

.article-content blockquote {
  margin: 30px 0;
  padding: 25px 26px;
  border-right: 2px solid var(--article-mint);
  border-radius: 0 15px 15px 0;
  background: rgba(119, 212, 195, 0.07);
}

.article-content blockquote p {
  margin: 0;
  color: #e9f7f2;
  font-size: 17px;
  line-height: 2;
}

.article-decision-card {
  display: grid;
  margin-top: 30px;
  padding: 26px;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  border: 1px solid rgba(180, 160, 237, 0.28);
  border-radius: 20px;
  background: rgba(180, 160, 237, 0.07);
}

.article-decision-card > div > span {
  color: var(--article-violet);
  font-size: 10px;
}

.article-decision-card h3 {
  margin: 9px 0 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.65;
}

.article-decision-card ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 11px;
  list-style: none;
}

.article-decision-card li {
  color: var(--article-muted);
  font-size: 12px;
}

.article-decision-card i {
  margin-left: 7px;
  color: var(--article-violet);
  font-size: 10px;
}

.article-code-note {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--article-border);
  border-radius: 18px;
  background: #1b1c1d;
}

.article-code-note__header {
  display: flex;
  min-height: 42px;
  padding: 0 15px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--article-border);
  color: var(--article-muted);
  direction: ltr;
  font-family: monospace;
  font-size: 10px;
}

.article-code-note__header i {
  color: var(--article-mint);
}

.article-code-note pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  color: #d9ece5;
  direction: ltr;
  font-size: 12px;
  line-height: 2;
  text-align: left;
}

.article-checklist {
  display: grid;
  margin-top: 25px;
  gap: 10px;
}

.article-checklist label {
  display: flex;
  padding: 15px 16px;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--article-border);
  border-radius: 13px;
  color: var(--article-muted);
  cursor: pointer;
  font-size: 12px;
  transition: 0.2s ease;
}

.article-checklist label:has(input:checked) {
  border-color: rgba(119, 212, 195, 0.5);
  background: rgba(119, 212, 195, 0.07);
  color: #e8f6f2;
}

.article-checklist input {
  width: 15px;
  height: 15px;
  accent-color: var(--article-mint);
}

.article-content__footer {
  margin-top: 84px;
  padding: 42px 0 0;
  border-top: 1px solid var(--article-border);
}

.article-content__footer > span {
  color: var(--article-mint);
  font-size: 11px;
}

.article-content__footer h2 {
  max-width: 440px;
  margin-top: 12px;
  font-size: 28px;
}

.article-content__footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-pagination {
  display: grid;
  margin-top: 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.article-pagination__item {
  position: relative;
  display: grid;
  min-height: 202px;
  padding: 22px;
  align-content: end;
  overflow: hidden;
  border: 1px solid var(--article-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  color: #f2f2ee;
  isolation: isolate;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.article-pagination__item::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 10, 10, 0.58);
  content: "";
}

.article-pagination__item:hover {
  border-color: rgba(217, 239, 116, 0.48);
  color: #fff;
  transform: translateY(-4px);
}

.article-pagination__item figure {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
}

.article-pagination__item figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-pagination__item:hover figure img {
  transform: scale(1.06);
}

.article-pagination__direction,
.article-pagination__item small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
}

.article-pagination__direction {
  display: flex;
  margin-bottom: 14px;
  align-items: center;
  justify-content: space-between;
}

.article-pagination__direction i {
  color: var(--article-accent);
  font-size: 11px;
}

.article-pagination__item strong {
  display: block;
  min-height: 54px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

.article-pagination__item small {
  display: block;
  margin-top: 8px;
}

.article-pagination__item--next {
  text-align: left;
}

.article-pagination__item--next .article-pagination__direction {
  direction: rtl;
}

.article-pagination__item--empty {
  background: rgba(255, 255, 255, 0.04);
}

.article-pagination__item--empty::after {
  display: none;
}

.article-pagination__item--empty small,
.article-pagination__item--empty .article-pagination__direction {
  color: var(--article-muted);
}

.article-comments {
  margin-top: 58px;
  padding: 32px;
  border: 1px solid var(--article-border);
  border-radius: 24px;
  background: #1a1b1b;
}

.article-comments__header {
  display: flex;
  padding: 2px 4px 25px;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--article-border);
}

.article-comments__header > div > span {
  color: var(--article-mint);
  font-size: 10px;
}

.article-comments__header h2 {
  margin: 9px 0 0;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.6;
}

.article-comments__header p {
  display: inline-flex;
  min-height: 30px;
  padding: 0 10px;
  align-items: center;
  margin: 0;
  border: 1px solid var(--article-border);
  border-radius: 8px;
  color: var(--article-muted);
  font-size: 10px;
  white-space: nowrap;
}

.article-comments__header p b {
  color: var(--article-accent);
  font-weight: 500;
}

.article-comment-form {
  display: grid;
  margin: 28px 0 32px;
  gap: 17px;
}

.article-comment-form__identity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.article-comment-form label {
  display: grid;
  gap: 8px;
}

.article-comment-form label > span {
  color: var(--article-muted);
  font-size: 10px;
}

.article-comment-form input,
.article-comment-form textarea {
  width: 100%;
  border: 1px solid var(--article-border);
  border-radius: 12px;
  outline: 0;
  background: rgba(255, 255, 255, 0.035);
  color: #f2f2ee;
  font: inherit;
  font-size: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.article-comment-form input {
  min-height: 44px;
  padding: 0 13px;
}

.article-comment-form textarea {
  min-height: 116px;
  padding: 13px;
  resize: vertical;
  line-height: 2;
}

.article-comment-form input::placeholder,
.article-comment-form textarea::placeholder {
  color: rgba(242, 242, 238, 0.34);
}

.article-comment-form input:focus,
.article-comment-form textarea:focus {
  border-color: rgba(119, 212, 195, 0.65);
  background: rgba(119, 212, 195, 0.045);
}

.article-comment-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article-comment-form__footer p {
  margin: 0;
  color: var(--article-muted);
  font-size: 10px;
}

.article-comment-form__footer button {
  display: inline-flex;
  min-height: 40px;
  padding: 0 15px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(217, 239, 116, 0.4);
  border-radius: 10px;
  background: var(--article-accent);
  color: #242721;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.article-comment-form__footer button:hover {
  background: #e5f899;
  transform: translateY(-2px);
}

.article-comments__list {
  display: grid;
  padding-top: 22px;
  gap: 14px;
}

.article-comment {
  display: grid;
  padding: 18px;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.018);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.article-comment:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

.article-comment--reply {
  padding: 15px;
  border-color: rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}

.article-comment__avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(119, 212, 195, 0.36);
  border-radius: 14px;
  background: rgba(119, 212, 195, 0.1);
  color: var(--article-mint);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  font-size: 14px;
  font-weight: 650;
}

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

.article-comment__body header {
  display: flex;
  min-height: 42px;
  padding-bottom: 12px;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.article-comment__body header > div {
  display: grid;
  gap: 2px;
}

.article-comment__author {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article-comment__body strong {
  color: #f2f2ee;
  font-size: 13px;
  font-weight: 600;
}

.article-comment__author b {
  padding: 2px 6px;
  border: 1px solid rgba(119, 212, 195, 0.32);
  border-radius: 6px;
  color: var(--article-mint);
  font-size: 8px;
  font-weight: 500;
}

.article-comment__body header span,
.article-comment__body time {
  color: var(--article-muted);
  font-size: 9px;
}

.article-comment__body time {
  display: inline-flex;
  min-height: 23px;
  padding: 0 7px;
  align-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  white-space: nowrap;
}

.article-comment__body p {
  margin: 14px 0 15px;
  color: rgba(242, 242, 238, 0.72);
  font-size: 12px;
  line-height: 2.1;
}

.article-comment__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.article-comment__actions button {
  display: inline-flex;
  min-height: 29px;
  padding: 0 9px;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.028);
  color: var(--article-muted);
  font: inherit;
  font-size: 10px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.article-comment__actions button:hover,
.article-comment__actions button[aria-pressed="true"] {
  border-color: rgba(217, 239, 116, 0.4);
  background: rgba(217, 239, 116, 0.08);
  color: var(--article-accent);
}

.article-comment__actions button[aria-pressed="true"] i {
  color: #e98686;
}

.article-comment__actions > span {
  display: inline-flex;
  min-height: 28px;
  padding: 0 2px;
  align-items: center;
  gap: 5px;
  color: var(--article-muted);
  font-size: 9px;
}

.article-comment__actions > span i {
  color: var(--article-violet);
}

.article-comment__children {
  display: grid;
  margin: 17px 19px 0 0;
  padding: 0 16px 0 0;
  gap: 10px;
  border-right: 1px solid rgba(119, 212, 195, 0.25);
}

.article-comment__children:empty {
  display: none;
}

.article-inline-reply-form {
  display: grid;
  margin-top: 15px;
  padding: 15px;
  gap: 10px;
  border: 1px solid rgba(119, 212, 195, 0.34);
  border-radius: 14px;
  background: rgba(119, 212, 195, 0.055);
}

.article-inline-reply-form__identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  align-items: center;
  gap: 10px;
}

.article-inline-reply-form__identity > span {
  overflow: hidden;
  color: var(--article-mint);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-inline-reply-form input,
.article-inline-reply-form textarea {
  width: 100%;
  border: 1px solid var(--article-border);
  border-radius: 9px;
  outline: 0;
  background: rgba(255, 255, 255, 0.035);
  color: #f2f2ee;
  font: inherit;
  font-size: 11px;
}

.article-inline-reply-form input {
  min-height: 34px;
  padding: 0 10px;
}

.article-inline-reply-form textarea {
  min-height: 78px;
  padding: 10px;
  resize: vertical;
  line-height: 1.9;
}

.article-inline-reply-form input:focus,
.article-inline-reply-form textarea:focus {
  border-color: rgba(119, 212, 195, 0.65);
}

.article-inline-reply-form__footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.article-inline-reply-form__footer button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--article-border);
  border-radius: 8px;
  background: transparent;
  color: var(--article-muted);
  font: inherit;
  font-size: 10px;
}

.article-inline-reply-form__footer button[type="submit"] {
  border-color: rgba(217, 239, 116, 0.38);
  background: var(--article-accent);
  color: #242721;
  font-weight: 600;
}

.article-comment__avatar--author {
  border-color: rgba(180, 160, 237, 0.45);
  background: rgba(180, 160, 237, 0.11);
  color: var(--article-violet);
}

.article-comment--new {
  border-color: rgba(119, 212, 195, 0.38);
  background: rgba(119, 212, 195, 0.055);
}

.article-rightbar__sticky {
  display: grid;
  gap: 12px;
}

.article-rightbar__sticky > span {
  color: var(--article-accent);
  font-size: 10px;
}

.article-related-card {
  display: block;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--article-border);
}

.article-related-card img {
  display: block;
  width: 100%;
  height: 96px;
  margin-bottom: 10px;
  border-radius: 13px;
  object-fit: cover;
}

.article-related-card small,
.article-related-card strong,
.article-related-card span {
  display: block;
}

.article-related-card small {
  color: var(--article-mint);
  font-size: 9px;
}

.article-related-card strong {
  margin: 5px 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.8;
}

.article-related-card:hover strong {
  color: var(--article-accent);
}

.article-related-card span {
  color: var(--article-muted);
  font-size: 9px;
}

body.light.blog-article-page {
  --article-accent: #d9ef74;
  --article-mint: #2f776c;
  --article-violet: #7060aa;
  --article-border: rgba(17, 16, 18, 0.12);
  --article-muted: rgba(17, 16, 18, 0.64);
}

body.light.blog-article-page main {
  background: #ffffff;
}

body.light .article-card__intro h1,
body.light .article-content h2,
body.light .article-question-grid h3,
body.light .article-decision-card h3,
body.light .article-content__footer h2,
body.light .article-author-row strong,
body.light .article-related-card strong {
  color: #191918;
}

body.light .article-lead {
  color: #262522;
}

body.light .article-toc,
body.light .article-share,
body.light .article-question-grid article,
body.light .article-sidebar-widget,
body.light .article-card,
body.light .article-comments,
body.light .article-pagination__item {
  background: rgba(255, 255, 255, 0.58);
}

body.light .article-pagination__item--empty {
  color: #191918;
}

body.light .article-comment-form input,
body.light .article-comment-form textarea,
body.light .article-inline-reply-form input,
body.light .article-inline-reply-form textarea {
  background: rgba(255, 255, 255, 0.7);
  color: #191918;
}

body.light .article-comment-form input::placeholder,
body.light .article-comment-form textarea::placeholder,
body.light .article-inline-reply-form input::placeholder,
body.light .article-inline-reply-form textarea::placeholder {
  color: rgba(17, 16, 18, 0.38);
}

body.light .article-comment--new {
  background: rgba(47, 119, 108, 0.06);
}

body.light .article-comment,
body.light .article-comment--reply {
  background: rgba(255, 255, 255, 0.42);
}

body.light .article-comment:hover {
  background: rgba(255, 255, 255, 0.72);
}

body.light .article-comment__body strong {
  color: #191918;
}

body.light .article-comment__body p {
  color: rgba(17, 16, 18, 0.67);
}

body.light .article-content blockquote {
  background: rgba(47, 119, 108, 0.07);
}

body.light .article-content blockquote p {
  color: #29483f;
}

body.light .article-decision-card {
  background: rgba(112, 96, 170, 0.07);
}

body.light .article-code-note {
  background: #1b1c1d;
}

@media screen and (max-width: 1199px) {
  .article-blog-sidebar {
    display: none;
  }
}

@media screen and (max-width: 991px) {
  .article-sidebar__sticky {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
  }

  .article-toc {
    grid-column: span 3;
  }

  .article-reading-state,
  .article-share {
    margin-top: 0;
  }

  .article-content {
    padding-top: 38px;
  }

  .article-pagination,
  .article-comments {
    margin-top: 24px;
  }
}

@media screen and (max-width: 767px) {
  .article {
    padding-top: 116px;
  }

  .article-back-link {
    margin-bottom: 20px;
  }

  .article-author-row {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .article-series {
    margin-right: 0;
    padding-right: 0;
    flex-basis: 100%;
    border: 0;
  }

  .article-card {
    border-radius: 19px;
  }

  .article-card__header {
    padding: 22px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article-card__intro h1 {
    font-size: 27px;
    line-height: 1.6;
  }

  .article-card__cover img {
    height: 235px;
  }

  .article-sidebar__sticky {
    display: grid;
    grid-template-columns: 1fr;
  }

  .article-toc {
    grid-column: auto;
  }

  .article-content {
    padding: 34px 22px 0;
  }

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

  .article-lead {
    margin-bottom: 48px;
    font-size: 18px;
  }

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

  .article-content p {
    font-size: 14px;
  }

  .article-question-grid,
  .article-decision-card {
    grid-template-columns: 1fr;
  }

  .article-question-grid {
    gap: 9px;
  }

  .article-content blockquote {
    padding: 21px;
  }

  .article-content blockquote p {
    font-size: 15px;
  }

  .article-content__footer {
    margin-top: 62px;
  }

  .article-pagination {
    grid-template-columns: 1fr;
  }

  .article-pagination__item {
    min-height: 185px;
  }

  .article-comments {
    margin-top: 46px;
    padding: 25px 20px;
    border-radius: 19px;
  }

  .article-comments__header,
  .article-comment-form__footer {
    display: grid;
    align-items: start;
  }

  .article-comments__header {
    gap: 10px;
  }

  .article-comments__header h2 {
    font-size: 22px;
  }

  .article-comments__header p {
    white-space: normal;
  }

  .article-comment-form__identity {
    grid-template-columns: 1fr;
  }

  .article-comment-form__footer {
    gap: 12px;
  }

  .article-comment-form__footer button {
    width: 100%;
    justify-content: center;
  }

  .article-comment--reply {
    margin-right: 0;
  }

  .article-comment__children {
    margin-right: 12px;
    padding-right: 12px;
  }

  .article-inline-reply-form__identity {
    grid-template-columns: 1fr;
  }
}
