/* 通用标题与区块 */
.section-header, .section-heading, .content-header, .page-header {
  position: relative;
  max-width: var(--rm26-max);
  margin-inline: auto;
}
.section-header h1, .section-header h2, .section-heading h1, .section-heading h2,
.content-header h1, .page-header h1, .page-title, .entry-title {
  color: var(--rm26-ink);
  font-family: var(--rm26-display) !important;
  font-weight: 800 !important;
  letter-spacing: -.045em;
}
.section-header .highlight, .section-heading .highlight, .highlight { color: var(--rm26-blue) !important; }
.section-header p, .section-heading p, .section-desc { color: var(--rm26-muted); font-size: 17px; line-height: 1.8; }

/* 通用按钮 */
.btn, .cta-button, .cta-urgent, .contact-button, .read-more, .btn-link,
.personal-service-content a[class*="btn"], .service-card a[class*="btn"] {
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 15px;
  font-weight: 800 !important;
}
.btn-primary, .cta-button, .cta-urgent, .contact-button {
  border-color: var(--rm26-orange) !important;
  color: var(--rm26-white) !important;
  background: var(--rm26-orange) !important;
}
.btn-primary:hover, .cta-button:hover, .cta-urgent:hover, .contact-button:hover { transform: translateY(-3px); filter: brightness(.96); }
.btn-outline-primary { border-color: var(--rm26-blue) !important; color: var(--rm26-blue) !important; }
.btn-outline-primary:hover { color: var(--rm26-white) !important; background: var(--rm26-blue) !important; }

/* 通用卡片 */
.card, [class*="service-card"], [class*="feature-card"], [class*="course-card"],
[class*="case-card"], [class*="news-card"], [class*="tool-card"], [class*="knowledge-card"] {
  border-radius: 0 !important;
  box-shadow: none !important;
}
.card, [class*="service-card"], [class*="feature-card"], [class*="course-card"] {
  border-color: var(--rm26-line) !important;
}
.card:hover, [class*="service-card"]:hover, [class*="feature-card"]:hover,
[class*="course-card"]:hover, [class*="case-card"]:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(6,26,51,.12) !important;
}

/* 表单 */
input, textarea, select, .form-control, .form-select {
  border-radius: 0 !important;
}
.form-control:focus, .form-select:focus, input:focus, textarea:focus, select:focus {
  border-color: var(--rm26-blue) !important;
  box-shadow: 0 0 0 3px rgba(0,111,207,.12) !important;
}
label { color: var(--rm26-ink); font-weight: 700; }

/* 标签、分页、面包屑 */
.badge, .tag, [class*="category-tag"], [class*="status-badge"] { border-radius: 0 !important; font-size: 14px !important; }
.breadcrumb, .breadcrumbs { color: var(--rm26-muted); font-size: 14px; }
.pagination .page-link, .page-numbers {
  border-radius: 0 !important; color: var(--rm26-ink); background: transparent;
}
.pagination .active .page-link, .page-numbers.current { border-color: var(--rm26-blue); color: var(--rm26-white); background: var(--rm26-blue); }

/* FAQ */
.faq-item, .accordion-item { border-radius: 0 !important; border-color: var(--rm26-line) !important; background: transparent !important; }
.faq-question, .accordion-button { color: var(--rm26-ink) !important; background: transparent !important; font-family: var(--rm26-display); font-weight: 700; box-shadow: none !important; }
.faq-answer, .accordion-body { color: var(--rm26-muted); line-height: 1.8; }
.faq-answer, .accordion-body,
.course-card p, .ai-case-card p, .news-card p, .knowledge-card p, .ai-tool-card p,
.card-text, .sidebar-item { font-size: 16px; }

/* 正文阅读 */
.entry-content, .article-content, .news-detail-content, .knowledge-detail-content,
.course-detail-content, .case-detail-content {
  color: var(--rm26-ink-soft);
  font-size: 17px;
  line-height: 1.9;
}
.entry-content h2, .article-content h2, .news-detail-content h2,
.knowledge-detail-content h2, .course-detail-content h2, .case-detail-content h2 {
  margin-top: 2.2em;
  font-family: var(--rm26-display);
  font-weight: 800;
  letter-spacing: -.03em;
}
.entry-content img, .article-content img, .news-detail-content img,
.knowledge-detail-content img, .course-detail-content img { height: auto; }

/* CTA */
[class*="cta-section"], .content-cta, .cta-area {
  border-radius: 0 !important;
  color: var(--rm26-white) !important;
  background: var(--rm26-blue-deep) !important;
}
[class*="cta-section"] h2, .content-cta h2, .cta-area h2 { color: var(--rm26-white) !important; font-family: var(--rm26-display); }

@media (max-width: 768px) {
  .entry-content, .article-content, .news-detail-content, .knowledge-detail-content,
  .course-detail-content, .case-detail-content { font-size: 17px; }
}
