.article-page-shell {
  padding-bottom: 68px;
}

.article-main,
.sidebar-box,
.category-layout-head,
.category-article-card {
  border: 1px solid #d7e2eb;
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.article-title,
.related-articles h3,
.sidebar-box h4,
.category-layout-head h2,
.category-article-copy h3 {
  font-family: "EduDisplay", "Trebuchet MS", "Segoe UI", sans-serif;
  color: #10203a;
}

.article-meta span {
  background: #f7fbff;
  border-radius: 999px;
  padding: 8px 12px;
}

.article-text {
  color: #24364b;
  font-size: 16px;
  line-height: 1.85;
}

.article-text h2,
.article-text h3,
.article-text h4 {
  color: #10203a;
  font-family: "EduDisplay", "Trebuchet MS", "Segoe UI", sans-serif;
}

.article-text blockquote {
  border-left: 4px solid #0e7490;
  border-radius: 0 18px 18px 0;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  padding: 18px 20px;
}

.article-text a,
.article-breadcrumb a,
.side-link:hover,
.tag-wrap a,
.tag-wrap span {
  color: #0f4c81;
}

.article-primary-label,
.tag-wrap a,
.tag-wrap span {
  background: rgba(15, 76, 129, 0.08);
}

.related-card,
.side-post img,
.article-img,
.article-text img,
.article-text iframe,
.article-text video,
.article-print-screen,
.ad-box {
  border-radius: 18px;
}

.related-card,
.side-post img {
  background: #f7fbff;
}

.article-sidebar {
  top: 104px;
}

.social-links a {
  background: #f4f8fc;
  color: #0f4c81;
}

.social-links a:hover {
  background: #0f4c81;
  color: #fff;
}

.article-author-avatar,
#backToTop {
  background: linear-gradient(135deg, #0f4c81, #0e7490);
}

.article-print-viewer {
  border-color: #d7e2eb;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.article-print-fullscreen-btn,
.article-print-nav {
  border-color: #d7e2eb;
  color: #0f4c81;
}

.article-print-loading {
  color: #0f4c81;
}

.article-comments-section {
  margin-top: 36px;
  padding: 26px;
  border: 1px solid #d7e2eb;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(242, 184, 75, 0.12), transparent 11rem),
    linear-gradient(180deg, #fbfdff 0%, #f5f9fd 100%);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.article-comments-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.article-comments-head h3 {
  margin: 10px 0 8px;
  color: #10203a;
  font-family: "EduDisplay", "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 28px;
}

.article-comments-head p {
  margin: 0;
  color: #5f738a;
  max-width: 560px;
}

.article-comments-count {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(18, 58, 99, 0.08);
  color: #123a63;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.article-comments-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
  gap: 18px;
  align-items: start;
}

.article-comments-list,
.article-comment-form-wrap {
  min-width: 0;
}

.article-comments-list {
  display: grid;
  gap: 14px;
}

.article-comment-card,
.article-comment-form-wrap {
  border: 1px solid #d7e2eb;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.article-comment-card {
  display: flex;
  gap: 14px;
  padding: 16px;
}

.article-comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #123a63, #156f6b);
  color: #fff;
  font-family: "EduDisplay", "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

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

.article-comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.article-comment-meta strong {
  color: #10203a;
  font-size: 15px;
}

.article-comment-date {
  color: #6b7f92;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.article-comment-copy {
  margin: 10px 0 0;
  color: #24364b;
  line-height: 1.75;
  white-space: pre-line;
}

.article-comment-reply {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(245, 174, 73, 0.28);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff8ec, #fffdf9);
}

.article-comment-reply-kicker {
  display: inline-flex;
  align-items: center;
  color: #b46a06;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-comment-reply-shell {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.article-comment-reply-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #ffd46c, #ff9843);
  color: #15243e;
  font-family: "EduDisplay", "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.article-comment-reply-body {
  min-width: 0;
}

.article-comment-reply-copy {
  margin: 10px 0 0;
  color: #3d2b18;
  line-height: 1.75;
  white-space: pre-line;
}

.article-comment-empty {
  padding: 18px;
  border: 1px dashed #c8d6e6;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  color: #5f738a;
}

.article-comment-form-wrap {
  padding: 20px;
}

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

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

.article-comment-form label span,
.article-comment-note {
  color: #5f738a;
  font-size: 13px;
}

.article-comment-form input,
.article-comment-form textarea {
  width: 100%;
  border: 1px solid #ccd9e5;
  border-radius: 16px;
  background: #fff;
  color: #10203a;
  padding: 13px 14px;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.article-comment-form textarea {
  min-height: 144px;
  resize: vertical;
}

.article-comment-form input:focus,
.article-comment-form textarea:focus {
  outline: none;
  border-color: #123a63;
  box-shadow: 0 0 0 4px rgba(18, 58, 99, 0.08);
}

.article-comment-submit {
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffd56d, #ef7e38);
  color: #10203a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(239, 126, 56, 0.22);
}

.article-comment-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.article-comment-note {
  margin: 0;
}

.article-comment-status {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.article-comment-status.is-success {
  color: #0f766e;
}

.article-comment-status.is-error {
  color: #b91c1c;
}

.article-comment-honeypot {
  position: absolute;
  left: -9999px;
}

@media (max-width: 900px) {
  .article-comments-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .article-comments-section {
    padding: 20px;
  }

  .article-comments-head {
    flex-direction: column;
  }

  .article-comments-head h3 {
    font-size: 24px;
  }

  .article-comment-card {
    padding: 14px;
  }

  .article-comment-reply-shell {
    flex-direction: column;
  }

  .article-comment-reply-avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
}
