* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html { margin-top: 0 !important; }
body {
  font-family: "PingFang SC","Microsoft YaHei",sans-serif;
  background: #f7f8fa;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; border-radius: 6px; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: #222; transition: all .2s; }
a:hover { color: #0066cc; }

.view-detail {
  display: inline-block; margin-top: 10px; padding: 6px 14px;
  background: #0066cc; color: #fff !important; border-radius: 4px; font-size: 14px;
}
.view-detail:hover { background: #0052aa; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.clearfix::after { content: ""; display: block; clear: both; }

header {
  background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.05);
  position: sticky; top: 0; z-index: 99;
}
.header-inner {
  height: 70px; display: flex; align-items: center; justify-content: space-between;
}
.logo a {
  display: flex; align-items: center; gap: 12px;
}
.logo img { height: 44px; }
.logo span {
  font-size: 22px; font-weight: bold; color: #000;
}
.nav { display: flex; gap: 35px; }
.nav a { font-size: 16px; font-weight: 500; color: #333; }
.nav a:hover { color: #0066cc; }
.mobile-btn { display: none; background: none; border: none; font-size: 24px; }

.features { padding: 40px 0; flex: 1; }
.left {
  width: 220px; float: left; background: #fff; padding: 20px;
  border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.left li { height: 44px; line-height: 44px; font-size: 16px; border-bottom: 1px solid #f0f0f0; }
.left li:last-child { border-bottom: none; }
.left li a { display: block; color: #444; }
.left li a:hover { color: #0066cc; padding-left: 5px; }

.right {
  width: calc(100% - 245px); float: right; background: #fff;
  padding: 30px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.section-title { font-size: 34px; font-weight: bold; text-align: center; margin-bottom: 30px; color: #222; }

.newsc ul { display: flex; flex-wrap: wrap; gap: 25px; }
.newsc li { width: calc(33.333% - 18px); list-style: none; transition: transform .2s; text-align: center; }
.newsc li:hover { transform: translateY(-3px); }
.newsc li img {
  width: 100%; height: 300px; object-fit: cover;
  margin: 0 auto 12px; background: #f7f8fa; border-radius: 8px;
}

.news2 { font-size: 15px; font-weight: 500; line-height: 1.6; text-align: left; padding: 0 5px; min-height: 48px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; color: #333; }
.news2 span { color:#999; font-size:13px; display:block; margin-top:5px; }

.news-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    text-align: left;
    margin: 8px 5px 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.title { font-size: 24px; font-weight: bold; color: #222; text-align: center; margin-bottom: 25px; }
.title span { font-size:16px; color:#666; font-weight:normal; margin-left:10px; }
.content { font-size: 16px; color: #444; line-height: 1.8; word-break: break-all; }
.content p { margin-bottom: 15px; }
.content a { color: #0066cc !important; }
.post-time{text-align:right; color:#666; font-size:15px; margin-top:20px;}

.article-nav { margin-top: 30px; padding-top: 20px; border-top: 1px dashed #eee; }
.article-nav p { line-height: 1.8; font-size: 15px; }
.article-nav a { color: #0066cc !important; font-weight: 500; }

.pages { margin-top: 30px; text-align: center; }
.pages li {
  display: inline-block; width: 38px; height: 38px; line-height: 38px;
  text-align: center; margin: 0 3px; border: 1px solid #eee; border-radius: 4px; background: #fff;
}
.pages li.active a { background: #0066cc; color: #fff; display: block; border-radius: 4px; }

footer { background: #2a2a2a; color: #aaa; padding: 30px 0; text-align: center; }
footer a { color: #ccc; margin: 0 8px; }
footer a:hover { color: #fff; }

@media (max-width: 992px) {
  .left { display: none; }
  .right { width: 100%; float: none; }
  .newsc li { width: calc(50% - 12px); }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-btn { display: block; }
  .newsc li { width: 100%; }
  .header-inner { height: 60px; }
  .newsc li img { height: 260px; }
  .section-title { font-size: 28px; }
}

/* Blog navigation and language controls */
.download-link{background:#1677ff;color:#fff!important;padding:8px 18px;border-radius:6px}
.lang-switch{display:inline-flex;align-items:center;gap:6px;border:1px solid #d8dee9;background:#fff;color:#333;border-radius:999px;padding:7px 12px;cursor:pointer;font:inherit;white-space:nowrap}
.lang-switch:hover,.lang-switch:focus-visible{border-color:#1677ff;color:#1677ff;outline:none}
@media(max-width:768px){
  .header-inner{gap:10px}
  .lang-switch{margin-left:auto;padding:6px 10px;font-size:13px}
  .nav.is-open{display:flex;position:absolute;top:60px;left:0;right:0;flex-direction:column;gap:0;padding:10px 20px 16px;background:#fff;border-top:1px solid #edf0f5;box-shadow:0 8px 20px rgba(15,23,42,.1);z-index:20}
  .nav.is-open li,.nav.is-open a{width:100%}
  .nav.is-open a{display:block;padding:10px 0}
}
