/* YMSMS Blog SEO 美化 2026-07-30 */
.theme-inner-banner.blog-banner .intro-title {
  font-size: 40px;
  letter-spacing: -0.4px;
}
.theme-inner-banner.blog-banner .blog-banner-desc {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: #5b6b82;
  font-size: 15px;
  line-height: 1.7;
}
.theme-inner-banner.blog-banner .page-breadcrumb {
  margin-top: 18px;
}

.blog-section-four,
.blog-details {
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 180px);
}

.blog-section-four .excerpt .note {
  margin-top: 8px;
}

.blog-section-four .blog-meta-one.excerpt,
.blog-details .blog-meta-three {
  background: #fff;
  border: 1px solid #e8eef6;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(30, 120, 255, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.blog-section-four .blog-meta-one.excerpt:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(30, 120, 255, 0.12);
}

.blog-section-four .blog-meta-one .post-data {
  padding: 26px 28px 24px;
}

.blog-section-four .excerpt .cat {
  background: linear-gradient(135deg, #1e78ff, #4aa3ff);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: .3px;
}

.blog-section-four .excerpt .cat i {
  border-left-color: #1e78ff;
}

.blog-section-four .excerpt h4 {
  display: block;
  font-size: 20px;
  line-height: 1.45;
  margin: 10px 0 12px;
}

.blog-section-four .excerpt h4 a {
  color: #162033;
  display: block;
  white-space: normal;
}

.blog-section-four .excerpt .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  color: #7a8699;
  font-size: 13px;
  margin-bottom: 12px !important;
}

.blog-section-four .excerpt .note {
  color: #5b6b7c;
  font-size: 14.5px;
  line-height: 1.7;
}

.blog-section-four .read-more {
  color: #1e78ff;
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
}

.blog-section-four .page-pagination-one {
  border-radius: 12px;
  border: 1px solid #e8eef6;
  background: #fff;
}

.blog-details .col-lg-8.shadow {
  box-shadow: none !important;
}

.blog-details .blog-meta-three {
  padding-bottom: 8px;
}

.blog-details .article-header {
  text-align: left !important;
  border-bottom: 1px solid #eef2f7 !important;
  padding: 28px 28px 18px !important;
  margin-bottom: 0 !important;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.blog-details .article-title {
  height: auto !important;
  line-height: 1.4 !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  color: #162033 !important;
  margin-bottom: 12px;
}

.blog-details .article-title a {
  color: inherit;
  text-decoration: none;
  white-space: normal;
}

.blog-details .article-header .meta {
  color: #7a8699;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: flex-start;
}

.blog-details .article-content {
  padding: 8px 28px 32px !important;
  font-size: 16px;
  line-height: 1.85;
  color: #2a3548;
}

.blog-details .article-content h2 {
  font-size: 20px;
  color: #162033;
  border-left: 4px solid #1e78ff;
  border-bottom: none;
  padding: 6px 0 6px 12px;
  margin: 36px 0 14px;
  background: transparent;
}

.blog-details .article-content h3 {
  font-size: 17px;
  color: #1e3a5f;
  margin: 24px 0 10px;
}

.blog-details .article-content p {
  margin-bottom: 14px;
}

.blog-details .article-content ul,
.blog-details .article-content ol {
  margin: 0 0 16px 1.2em;
  padding: 0;
}

.blog-details .article-content li {
  margin-bottom: 8px;
}

.blog-details .article-content a {
  color: #1e78ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 120, 255, .25);
}

.blog-details .article-content a:hover {
  color: #0b5ed7;
  border-bottom-color: #0b5ed7;
}

.blog-details .article-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 16px 0 22px;
  font-size: 14.5px;
  overflow: hidden;
  border: 1px solid #e6ebf2;
  border-radius: 10px;
}

.blog-details .article-content th,
.blog-details .article-content td {
  border: none;
  border-bottom: 1px solid #eef2f7;
  border-right: 1px solid #eef2f7;
  padding: 12px 14px;
  vertical-align: top;
}

.blog-details .article-content th {
  background: #f3f7ff;
  color: #1e3a5f;
  font-weight: 600;
}

.blog-details .article-content tr:last-child td {
  border-bottom: none;
}

.blog-details .article-content th:last-child,
.blog-details .article-content td:last-child {
  border-right: none;
}

.blog-details .article-content pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 16px 18px;
  border-radius: 10px;
  overflow: auto;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 14px 0 20px;
}

.blog-details .article-content code {
  font-family: Consolas, "SF Mono", Monaco, monospace;
}

.ym-lead {
  background: linear-gradient(135deg, #eef5ff, #f7fbff);
  border: 1px solid #d6e6ff;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 0 0 22px;
  color: #1e3a5f;
}

.ym-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 18px;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #1e78ff, #4aa3ff);
  color: #fff !important;
  border: none !important;
  text-decoration: none !important;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(30, 120, 255, .25);
}

.ym-cta:hover {
  color: #fff !important;
  filter: brightness(1.05);
}

.ym-note {
  background: #fffaf0;
  border: 1px solid #ffe2b0;
  border-radius: 10px;
  padding: 12px 14px;
  color: #8a5a00;
  font-size: 13.5px;
  margin: 22px 0 12px;
}

.ym-related {
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 18px 0;
}

.blog-sidebar .sidebar-category,
.blog-sidebar .sidebar-keyword,
.blog-sidebar .sidebar-quote {
  background: #fff;
  border: 1px solid #e8eef6;
  border-radius: 12px;
  padding: 18px 18px 10px;
  box-shadow: 0 6px 18px rgba(30, 120, 255, 0.05);
}

.blog-sidebar .sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #162033;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8f1ff;
}

.blog-sidebar .sidebar-category ul li a,
.blog-sidebar .sidebar-keyword ul li a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #3a4a5c;
  transition: background .15s ease, color .15s ease;
}

.blog-sidebar .sidebar-category ul li a:hover,
.blog-sidebar .sidebar-keyword ul li a:hover {
  background: #eef5ff;
  color: #1e78ff;
}

.ym-related-box {
  margin: 28px 28px 8px;
  padding: 18px 20px;
  background: #f7faff;
  border: 1px solid #e1ecff;
  border-radius: 12px;
}
.ym-related-box h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #162033;
}
.ym-related-box ul {
  margin: 0 0 14px 1.1em;
  padding: 0;
}
.ym-related-box li {
  margin-bottom: 8px;
}
.ym-related-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
.ym-cta-ghost {
  background: #fff !important;
  color: #1e78ff !important;
  border: 1px solid #1e78ff !important;
  box-shadow: none !important;
}

@media (max-width: 991px) {
  .blog-details .article-title {
    font-size: 22px !important;
  }
  .blog-details .article-header,
  .blog-details .article-content {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .ym-related-box {
    margin-left: 18px;
    margin-right: 18px;
  }
}

