* {
  box-sizing: border-box;
}

html {
  color: #202b48;
  background: #f5f8ff;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: #f5f8ff;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.blog-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e8edf8;
  backdrop-filter: blur(12px);
}

.blog-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
}

.blog-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2f5ff1;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 2px;
  text-decoration: none;
}

.blog-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.blog-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.blog-nav a {
  color: #283047;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-nav a:hover,
.blog-nav a:focus-visible {
  color: #4371ff;
}

.blog-nav .news-link-current {
  color: #4371ff;
  font-weight: 600;
}

.blog-nav .download-link {
  padding: 12px 22px;
  color: #fff;
  font-weight: 600;
  background: #4371ff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(67, 113, 255, 0.2);
}

.blog-hero {
  padding: 64px 0 58px;
  text-align: center;
  background: linear-gradient(135deg, #dfe9ff 0%, #eef3ff 52%, #e8efff 100%);
}

.blog-eyebrow {
  color: #4371ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.blog-hero-title {
  margin: 12px 0 14px;
  color: #1e2d52;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.25;
}

.blog-hero p:last-child {
  max-width: 680px;
  margin: 0 auto;
  color: #65718d;
  font-size: 17px;
  line-height: 1.8;
}

.site-main {
  padding: 56px 0 80px;
}

.features {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.left {
  position: sticky;
  top: 108px;
}

.left ul,
.newsc > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.left a {
  display: block;
  padding: 15px 20px;
  color: #65718d;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e5ebf8;
  border-radius: 10px;
}

.left a.active {
  color: #fff;
  background: #4371ff;
  border-color: #4371ff;
  box-shadow: 0 10px 24px rgba(67, 113, 255, 0.2);
}

.right {
  min-width: 0;
}

.section-heading,
.blog-detail {
  padding: 34px 38px;
  background: #fff;
  border: 1px solid #e5ebf8;
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(55, 84, 150, 0.07);
}

.section-heading {
  margin-bottom: 22px;
  text-align: center;
}

.section-heading h1,
.blog-detail .title {
  margin: 0;
  color: #202b48;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.4;
}

.section-heading p {
  margin: 12px 0 0;
  color: #73809a;
  font-size: 16px;
  line-height: 1.75;
}

.post-card {
  display: flex;
  gap: 28px;
  min-height: 220px;
  margin-bottom: 22px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e5ebf8;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(55, 84, 150, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(55, 84, 150, 0.11);
}

.post-cover {
  flex: 0 0 240px;
  overflow: hidden;
  border-radius: 12px;
  background: #eaf0ff;
}

.post-cover a,
.post-cover img {
  width: 100%;
  height: 100%;
}

.post-cover img {
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover .post-cover img {
  transform: scale(1.025);
}

.post-summary {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
}

.post-summary h2 {
  margin: 4px 0 14px;
  font-size: 23px;
  line-height: 1.45;
}

.post-summary h2 a {
  color: #26314d;
  text-decoration: none;
}

.post-summary h2 a:hover,
.post-summary h2 a:focus-visible,
.read-more {
  color: #4371ff;
}

.post-summary p {
  margin: 0;
  color: #69758f;
  font-size: 16px;
  line-height: 1.8;
}

.read-more {
  margin-left: 6px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.post-summary time {
  margin-top: 18px;
  color: #949daf;
  font-size: 14px;
  text-align: right;
}

.blog-detail .title {
  text-align: center;
}

.post-time {
  margin: 14px 0 32px;
  padding-bottom: 24px;
  color: #8a94aa;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid #edf1f8;
}

.content {
  overflow-wrap: anywhere;
  color: #3e4961;
  font-size: 17px;
  line-height: 1.9;
}

.content h2,
.content h3,
.content h4 {
  margin: 1.7em 0 0.7em;
  color: #202b48;
  line-height: 1.5;
}

.content img,
.content video,
.content iframe {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.content a {
  color: #3768f5;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 36px 0 24px;
  padding-top: 24px;
  border-top: 1px solid #edf1f8;
}

.article-nav p {
  min-width: 0;
  margin: 0;
}

.article-nav a {
  display: block;
  overflow: hidden;
  padding: 14px 16px;
  color: #46516a;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #f3f6fd;
  border-radius: 8px;
}

.article-nav a:hover,
.article-nav a:focus-visible {
  color: #4371ff;
  background: #eaf0ff;
}

.blog-detail-back {
  display: inline-flex;
  padding: 12px 18px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  background: #4371ff;
  border-radius: 8px;
}

.pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.pages a,
.pages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 8px 12px;
  color: #55617a;
  text-decoration: none;
  background: #fff;
  border: 1px solid #dfe6f5;
  border-radius: 8px;
}

.pages a:hover,
.pages a:focus-visible,
.pages .active,
.pages .current {
  color: #fff;
  background: #4371ff;
  border-color: #4371ff;
}

.blog-footer {
  padding: 48px 0 34px;
  color: #cbd4e8;
  background: #202b48;
}

.blog-footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 1fr);
  gap: 30px;
}

.blog-footer strong {
  color: #fff;
  font-size: 24px;
}

.blog-footer p {
  margin: 10px 0 0;
  line-height: 1.7;
}

.blog-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 24px;
}

.blog-footer a {
  color: #e4eaff;
  text-decoration: none;
}

.blog-footer a:hover,
.blog-footer a:focus-visible {
  color: #fff;
}

.blog-copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

a:focus-visible {
  outline: 3px solid rgba(67, 113, 255, 0.3);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .blog-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px 0;
  }

  .blog-nav {
    width: 100%;
    gap: 12px 20px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .blog-nav a {
    flex: 0 0 auto;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .left {
    position: static;
  }

  .left ul {
    display: flex;
  }

  .left li {
    flex: 1;
  }

  .left a {
    text-align: center;
  }
}

@media (max-width: 680px) {
  .container,
  .blog-header-inner {
    width: min(100% - 32px, 1200px);
  }

  .blog-header {
    position: static;
  }

  .blog-brand {
    font-size: 20px;
    line-height: 24px;
  }

  .blog-brand img {
    width: 38px;
    height: 38px;
  }

  .blog-nav .download-link {
    padding: 9px 16px;
  }

  .blog-hero {
    padding: 46px 0 42px;
  }

  .blog-hero p:last-child {
    font-size: 16px;
  }

  .site-main {
    padding: 34px 0 56px;
  }

  .features {
    gap: 20px;
  }

  .section-heading,
  .blog-detail {
    padding: 26px 20px;
    border-radius: 12px;
  }

  .post-card {
    display: block;
    padding: 18px;
    border-radius: 12px;
  }

  .post-cover {
    width: 100%;
    height: 190px;
    margin-bottom: 18px;
  }

  .post-summary h2 {
    font-size: 21px;
  }

  .post-summary time {
    text-align: left;
  }

  .content {
    font-size: 16px;
  }

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

  .article-nav a {
    white-space: normal;
  }

  .blog-footer-inner {
    grid-template-columns: 1fr;
  }

  .blog-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}


.pages .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pages .pagination > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pages .pagination > li.active {
  background: transparent;
}

.pages .pagination > li.active > span {
  color: #fff;
  background: #4371ff;
  border-color: #4371ff;
}
