/* ── Article Content ── */
.article-body {
  font-size: clamp(17px, 2.4vw, 18px);
  color: var(--text-body);
  line-height: 1.85;
  letter-spacing: -0.01em;
}
.article-body > *:first-child {
  margin-top: 0;
}
.article-body p {
  margin: 0 0 1.2em;
}
.article-body h2,
.article-body h3,
.article-body h4 {
  margin: 26px 0 12px;
  font-weight: 650;
  color: var(--text);
  letter-spacing: -0.02em;
}
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 20px 0;
  box-shadow: var(--sh-card);
}
.article-body a {
  color: var(--accent);
  text-decoration: none;
}
.article-body a:hover {
  text-decoration: underline;
}
.article-body blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--accent);
  background: rgba(0,0,0,0.02);
  border-radius: 0 14px 14px 0;
  color: var(--text-2);
}
.article-body ul,
.article-body ol {
  margin: 0 0 1.2em;
  padding-left: 1.6em;
}
.article-body li {
  margin: 6px 0;
}
.article-body .page {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 18px;
  margin: 18px 0;
  box-shadow: var(--sh-card);
}

/* ── Comments Apple Style ── */
.comment-body {
  margin-top: 18px;
}
.comment-input h5 {
  font-size: 17px;
  font-weight: 650;
  color: var(--text);
  margin-bottom: 14px;
  text-align: left;
}
.comment-form .row {
  gap: 12px;
}
.comment-form .form-control {
  border-radius: 14px !important;
  border: 1px solid var(--hairline) !important;
  background: var(--surface) !important;
  color: var(--text) !important;
  padding: 10px 14px !important;
  font-size: 15px !important;
  height: auto !important;
  box-shadow: none !important;
}
.comment-form .form-control:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(0,113,227,0.12) !important;
}
.comment-form textarea.form-control {
  border-radius: 16px !important;
  resize: vertical;
}
.comment_card_submit {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}
.comment_submit {
  border-radius: 999px !important;
  border: none !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: var(--sh-cta, 0 12px 30px rgba(0,113,227,0.22)) !important;
}
.comment_submit:hover {
  background: var(--accent-link) !important;
  color: #fff !important;
}
#respond {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-panel);
  padding: 18px;
  box-shadow: var(--sh-card);
}
.comment-respond h3 {
  font-size: 17px;
  font-weight: 650;
  color: var(--text);
  margin-bottom: 14px;
}
.comment-reply-title small {
  font-size: 13px;
  color: var(--text-2);
}

/* ── Modal Apple Style ── */
.share-modal {
  border-radius: var(--r-panel) !important;
  border: 1px solid var(--hairline) !important;
  box-shadow: var(--sh-lift) !important;
  overflow: hidden;
}
.modal-header {
  border-bottom: 1px solid var(--hairline) !important;
  padding: 16px 18px !important;
}
.modal-title {
  font-weight: 650 !important;
  font-size: 17px !important;
  color: var(--text) !important;
}
.modal-body {
  padding: 18px !important;
}
.modal-footer {
  border-top: 1px solid var(--hairline) !important;
  padding: 12px 18px !important;
}
.close {
  font-size: 22px;
  color: var(--text-2);
  opacity: 0.8;
}
.close:hover {
  color: var(--text);
  opacity: 1;
}

/* ── Inline cleanup ── */
.article-body .btn {
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.article-body .btn:hover {
  text-decoration: none;
}
