/* 黑客24小时在线接单首页CSS */
:root {
  --main-bg: #101417;
  --main-green: #00ff99;
  --main-dark: #181c20;
  --main-gray: #22272b;
  --text-main: #e0ffe0;
  --text-sub: #b2ffb2;
  --card-bg: #181f1c;
  --border: #00ff99;
  --shadow: 0 2px 16px rgba(0,255,153,0.08);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--main-bg);
  color: var(--text-main);
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  font-size: 16px;
}
.header {
  background: var(--main-dark);
  border-bottom: 2px solid var(--main-green);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5em 1em;
}
.site-brand {
  display: flex;
  align-items: center;
  font-size: 1.3em;
  font-weight: bold;
  color: var(--main-green);
}
.brand-icon {
  font-size: 1.5em;
  margin-right: 0.4em;
}
.nav ul {
  display: flex;
  gap: 1.5em;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav ul li a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  padding: 0.3em 0.7em;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}
.nav ul li a:hover {
  background: var(--main-green);
  color: #101417;
}
.nav-toggle {
  display: none;
  font-size: 2em;
  color: var(--main-green);
  cursor: pointer;
  margin-left: 1em;
}
.main-banner {
  background: linear-gradient(120deg, #0a1a13 60%, #00ff99 100%);
  position: relative;
  padding: 3em 1em 2em 1em;
  text-align: center;
  overflow: hidden;
}
.banner-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.banner-content {
  flex: 2 1 340px;
  min-width: 220px;
}
.banner-img-wrap {
  flex: 1 1 260px;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-img {
  width: 220px;
  height: 220px;
  max-width: 32vw;
  max-height: 32vw;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0,255,153,0.18);
  object-fit: cover;
  border: 2.5px solid var(--main-green);
  background: #181c20;
}
.main-banner h1 {
  font-size: 2.5em;
  color: var(--main-green);
  margin-bottom: 0.5em;
  letter-spacing: 2px;
}
.main-banner p {
  font-size: 1.2em;
  color: var(--text-sub);
  margin-bottom: 1.5em;
}
.banner-cta {
  display: inline-block;
  background: var(--main-green);
  color: #101417;
  font-weight: bold;
  padding: 0.8em 2.2em;
  border-radius: 30px;
  font-size: 1.1em;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: background 0.2s, color 0.2s;
}
.banner-cta:hover {
  background: #fff;
  color: var(--main-green);
}
.banner-bg {
  position: absolute;
  left: 0; right: 0; bottom: 0; top: 0;
  background: url('images/hrjx.jpg') center/cover no-repeat;
  opacity: 0.08;
  z-index: 1;
}
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em 1em 1em 1em;
}
section {
  margin-bottom: 2.5em;
}
.core-services h2,
.why-us h2,
.workflow h2,
.testimonials h2,
.about h2,
.contact h2 {
  color: var(--main-green);
  font-size: 2em;
  margin-bottom: 1em;
  text-align: center;
  letter-spacing: 1px;
}
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  justify-content: center;
}
.service-card {
  background: var(--card-bg);
  border: 1.5px solid var(--main-green);
  border-radius: 12px;
  box-shadow: var(--shadow);
  flex: 1 1 220px;
  max-width: 260px;
  min-width: 180px;
  padding: 1.5em 1em;
  text-align: center;
  margin-bottom: 1em;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 4px 32px rgba(0,255,153,0.18);
}
.service-icon {
  font-size: 2.2em;
  color: var(--main-green);
  margin-bottom: 0.5em;
}
.why-list {
  background: var(--main-gray);
  border-radius: 10px;
  padding: 1.5em 1.2em;
  color: var(--text-main);
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  list-style: none;
}
.why-list li {
  margin-bottom: 0.7em;
  padding-left: 0.5em;
  border-left: 3px solid var(--main-green);
}
.workflow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  justify-content: center;
}
.step {
  background: var(--card-bg);
  border: 1.5px solid var(--main-green);
  border-radius: 10px;
  flex: 1 1 160px;
  max-width: 200px;
  min-width: 140px;
  text-align: center;
  padding: 1em 0.7em;
  margin-bottom: 1em;
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-block;
  background: var(--main-green);
  color: #101417;
  font-weight: bold;
  border-radius: 50%;
  width: 2em;
  height: 2em;
  line-height: 2em;
  font-size: 1.2em;
  margin-bottom: 0.3em;
}
.step-title {
  display: block;
  font-weight: bold;
  color: var(--main-green);
  margin-bottom: 0.2em;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  justify-content: center;
}
.testimonial-item {
  background: var(--main-gray);
  border-left: 4px solid var(--main-green);
  border-radius: 8px;
  padding: 1.2em 1em 1em 1.5em;
  max-width: 320px;
  min-width: 180px;
  margin-bottom: 1em;
  color: var(--text-main);
  box-shadow: var(--shadow);
  font-size: 1.05em;
}
.testimonial-user {
  display: block;
  color: var(--main-green);
  margin-top: 0.7em;
  font-size: 0.95em;
}
.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2em;
  justify-content: center;
}
.about-text {
  flex: 2 1 300px;
  min-width: 200px;
  font-size: 1.1em;
  color: var(--text-main);
}
.about-img {
  flex: 1 1 180px;
  min-width: 120px;
  text-align: center;
}
.about-img img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--main-green);
  object-fit: cover;
  box-shadow: var(--shadow);
}
.contact-form {
  background: var(--main-gray);
  border-radius: 10px;
  padding: 1.5em 1em;
  max-width: 420px;
  margin: 0 auto 1.2em auto;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}
.contact-form label {
  color: var(--main-green);
  font-weight: 500;
  margin-bottom: 0.2em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #101417;
  color: var(--text-main);
  border: 1.2px solid var(--main-green);
  border-radius: 5px;
  padding: 0.6em 0.7em;
  font-size: 1em;
  margin-bottom: 0.5em;
  outline: none;
  transition: border 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border: 1.5px solid #fff;
}
.contact-form button {
  background: var(--main-green);
  color: #101417;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  padding: 0.7em 0;
  font-size: 1.1em;
  cursor: pointer;
  margin-top: 0.5em;
  transition: background 0.2s, color 0.2s;
}
.contact-form button:hover {
  background: #fff;
  color: var(--main-green);
}
.contact-info {
  text-align: center;
  color: var(--text-sub);
  font-size: 1.05em;
}
.footer {
  background: var(--main-dark);
  border-top: 2px solid var(--main-green);
  padding: 1.2em 0 0.7em 0;
  text-align: center;
  color: var(--text-sub);
  font-size: 1em;
}
.footer-inner p {
  margin: 0.2em 0;
}
/* 响应式设计 */
@media (max-width: 900px) {
  .header-inner, main {
    max-width: 98vw;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .service-grid, .workflow-steps, .testimonial-list, .about-content {
    flex-wrap: wrap;
    gap: 1em;
  }
  .banner-flex {
    gap: 1em;
  }
  .banner-img {
    width: 140px;
    height: 140px;
    max-width: 40vw;
    max-height: 40vw;
  }
}
@media (max-width: 700px) {
  .header-inner {
    flex-direction: row;
    padding: 0.5em 0.3em;
  }
  .nav ul {
    display: none;
    flex-direction: column;
    background: var(--main-dark);
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    z-index: 99;
    border-bottom: 2px solid var(--main-green);
    padding: 1em 0;
    gap: 0.7em;
  }
  .nav ul.nav-open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .main-banner h1 {
    font-size: 1.5em;
  }
  .service-grid, .workflow-steps, .testimonial-list, .about-content {
    flex-direction: column;
    align-items: stretch;
  }
  .about-img img {
    width: 80px;
    height: 80px;
  }
  .banner-flex {
    flex-direction: column;
    align-items: center;
    gap: 1.2em;
  }
  .banner-img {
    width: 90vw;
    height: auto;
    max-width: 320px;
    max-height: 180px;
    margin-top: 0.5em;
    border-radius: 12px;
  }
}
@media (max-width: 480px) {
  .main-banner {
    padding: 2em 0.3em 1.2em 0.3em;
  }
  .service-card, .step, .testimonial-item {
    min-width: 0;
    max-width: 100%;
    padding: 1em 0.5em;
  }
  .about-content {
    gap: 1em;
  }
  .contact-form {
    padding: 1em 0.3em;
  }
}
/* 服务亮点/优势区 */
.highlights {
  margin-bottom: 2.5em;
}
.highlights h2 {
  color: var(--main-green);
  text-align: center;
  margin-bottom: 1em;
}
.highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  justify-content: center;
}
.highlight-item {
  background: var(--main-gray);
  border: 1.5px solid var(--main-green);
  border-radius: 10px;
  box-shadow: var(--shadow);
  flex: 1 1 180px;
  max-width: 220px;
  min-width: 140px;
  text-align: center;
  padding: 1.2em 0.7em;
  margin-bottom: 1em;
}
.highlight-icon {
  font-size: 2em;
  color: var(--main-green);
  display: block;
  margin-bottom: 0.3em;
}
/* 案例卡片区 */
.cases h2 {
  color: var(--main-green);
  text-align: center;
  margin-bottom: 1em;
}
.case-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  justify-content: center;
}
.case-card {
  background: var(--card-bg);
  border: 1.5px solid var(--main-green);
  border-radius: 10px;
  box-shadow: var(--shadow);
  flex: 1 1 220px;
  max-width: 300px;
  min-width: 180px;
  padding: 1.2em 1em;
  margin-bottom: 1em;
  color: var(--text-main);
  transition: transform 0.2s, box-shadow 0.2s;
}
.case-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 4px 24px rgba(0,255,153,0.15);
}
.case-meta {
  display: block;
  color: var(--main-green);
  font-size: 0.95em;
  margin-top: 0.7em;
}
/* 行业资讯/防骗知识区 */
.news h2 {
  color: var(--main-green);
  text-align: center;
  margin-bottom: 1em;
}
.news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  justify-content: center;
}
.news-item {
  background: var(--main-gray);
  border-left: 4px solid var(--main-green);
  border-radius: 8px;
  padding: 1.2em 1em 1em 1.5em;
  max-width: 320px;
  min-width: 180px;
  margin-bottom: 1em;
  color: var(--text-main);
  box-shadow: var(--shadow);
  font-size: 1.05em;
}
/* 团队风采与荣誉 */
.team h2 {
  color: var(--main-green);
  text-align: center;
  margin-bottom: 1em;
}
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  justify-content: center;
  align-items: flex-start;
}
.team-member {
  background: var(--card-bg);
  border: 1.5px solid var(--main-green);
  border-radius: 10px;
  box-shadow: var(--shadow);
  flex: 1 1 180px;
  max-width: 220px;
  min-width: 140px;
  text-align: center;
  padding: 1.2em 0.7em;
  margin-bottom: 1em;
}
.team-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid var(--main-green);
  object-fit: cover;
  margin-bottom: 0.5em;
}
.team-honor {
  background: var(--main-gray);
  border-radius: 10px;
  padding: 1em 1em 1em 1.2em;
  min-width: 180px;
  max-width: 260px;
  color: var(--main-green);
  font-size: 1em;
  margin-bottom: 1em;
  box-shadow: var(--shadow);
}
.team-honor h5 {
  margin: 0 0 0.5em 0;
  color: var(--main-green);
  font-size: 1.1em;
}
.team-honor ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--text-main);
}
.team-honor li {
  margin-bottom: 0.4em;
}
/* FAQ与联系咨询横向排版 */
.faq-contact-wrap {
  margin: 2.5em 0;
}
.faq-contact-flex {
  display: flex;
  gap: 2em;
  align-items: flex-start;
  justify-content: center;
}
.faq-block, .contact-block {
  flex: 1 1 340px;
  min-width: 260px;
  max-width: 480px;
}
@media (max-width: 900px) {
  .faq-contact-flex {
    gap: 1em;
  }
}
@media (max-width: 700px) {
  .faq-contact-flex {
    flex-direction: column;
    gap: 1.5em;
    align-items: stretch;
  }
  .faq-block, .contact-block {
    max-width: 100%;
    min-width: 0;
  }
}
/* FAQ扩展 */
.faq h2 {
  color: var(--main-green);
  text-align: center;
  margin-bottom: 1em;
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  background: var(--main-gray);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 1.5em 1.2em;
}
.faq-item {
  margin-bottom: 1.2em;
}
.faq-item h4 {
  color: var(--main-green);
  margin-bottom: 0.2em;
}
.faq-item p {
  color: var(--text-main);
  margin: 0 0 0.2em 0;
}
/* 悬浮快捷咨询入口 */
.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  align-items: flex-end;
}
.float-btn {
  display: flex;
  align-items: center;
  background: var(--main-green);
  color: #101417;
  font-weight: bold;
  border-radius: 30px;
  padding: 0.7em 1.3em;
  font-size: 1.05em;
  text-decoration: none;
  box-shadow: var(--shadow);
  margin-bottom: 0.1em;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.float-btn:hover {
  background: #fff;
  color: var(--main-green);
  transform: translateY(-2px) scale(1.04);
}
@media (max-width: 900px) {
  .highlight-list, .case-list, .news-list, .team-list {
    flex-wrap: wrap;
    gap: 1em;
  }
}
@media (max-width: 700px) {
  .highlight-list, .case-list, .news-list, .team-list {
    flex-direction: column;
    align-items: stretch;
  }
  .floating-contact {
    right: 8px;
    bottom: 12px;
  }
  .float-btn {
    padding: 0.6em 0.8em;
    font-size: 0.98em;
  }
}
/* 核心服务三大框架区 */
.service-frameworks {
  margin: 2.5em 0;
}
.service-frameworks h2 {
  color: var(--main-green);
  text-align: center;
  margin-bottom: 1.2em;
}
.framework-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  justify-content: center;
}
.framework-card {
  background: var(--main-gray);
  border: 1.5px solid var(--main-green);
  border-radius: 12px;
  box-shadow: var(--shadow);
  flex: 1 1 260px;
  max-width: 340px;
  min-width: 180px;
  padding: 1.5em 1em 1.2em 1em;
  margin-bottom: 1em;
  color: var(--text-main);
  transition: transform 0.2s, box-shadow 0.2s;
}
.framework-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 4px 24px rgba(0,255,153,0.15);
}
.framework-card h3 {
  color: var(--main-green);
  font-size: 1.2em;
  margin-bottom: 0.7em;
  text-align: center;
}
.framework-card ul {
  padding-left: 1.2em;
  margin: 0;
  color: var(--text-sub);
  font-size: 1.05em;
}
.framework-card li {
  margin-bottom: 0.6em;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .framework-list {
    flex-wrap: wrap;
    gap: 1em;
  }
}
@media (max-width: 700px) {
  .framework-list {
    flex-direction: column;
    align-items: stretch;
  }
  .framework-card {
    max-width: 100%;
    min-width: 0;
    padding: 1.2em 0.7em 1em 0.7em;
  }
}
.team-honor-card {
  background: var(--main-bg);
  border: 2px solid var(--main-green);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,255,153,0.13);
  padding: 1.2em 1.2em 1em 1.2em;
  margin: 0 auto;
  max-width: 320px;
  color: var(--main-green);
  text-align: center;
}
.team-honor-card h5 {
  color: var(--main-green);
  font-size: 1.15em;
  margin-bottom: 0.7em;
}
.team-honor-card ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--text-main);
  text-align: left;
}
.team-honor-card li {
  margin-bottom: 0.5em;
  font-size: 1.05em;
  line-height: 1.7;
}
@media (max-width: 700px) {
  .team-honor-card {
    max-width: 100%;
    padding: 1em 0.7em 0.7em 0.7em;
  }
}

/* ========== 导航栏目样式 ========== */
.z682f0nav-item.z682f0this a,
.z682f0nav-item a.thisclass {
  background: var(--main-green);
  color: #101417;
}
.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

/* ========== 首页文章板块 ========== */
.article-home {
  margin-bottom: 2.5em;
}
.article-home h2 {
  color: var(--main-green);
  font-size: 2em;
  margin-bottom: 1em;
  text-align: center;
  letter-spacing: 1px;
}
.article-home-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2em;
}
.article-home-item {
  background: var(--card-bg);
  border: 1.5px solid var(--main-green);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-home-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 24px rgba(0,255,153,0.15);
}
.article-home-link {
  display: block;
  text-decoration: none;
  color: var(--text-main);
  padding-bottom: 0.8em;
}
.article-home-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--main-gray);
}
.article-home-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}
.article-home-title {
  color: var(--main-green);
  font-size: 0.95em;
  margin: 0.6em 0.5em 0.3em;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-home-desc {
  font-size: 0.85em;
  color: var(--text-sub);
  margin: 0 0.5em 0.3em;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-home-date {
  display: block;
  font-size: 0.8em;
  color: var(--text-sub);
  margin: 0 0.5em;
  opacity: 0.8;
}

/* ========== 列表页/内容页通用布局 ========== */
.page-banner {
  background: linear-gradient(120deg, #0a1a13 60%, #00ff99 100%);
  padding: 1.5em 1em;
  border-bottom: 2px solid var(--main-green);
}
.page-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.breadcrumb {
  font-size: 0.9em;
  color: var(--text-sub);
  margin-bottom: 0.5em;
}
.breadcrumb a {
  color: var(--text-main);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--main-green);
}
.breadcrumb-sep {
  margin: 0 0.4em;
  opacity: 0.6;
}
.breadcrumb-current {
  color: var(--main-green);
}
.page-list-title {
  color: var(--main-green);
  font-size: 1.8em;
  margin: 0;
  letter-spacing: 1px;
}
.page-main-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em 1em;
}
.page-layout {
  display: flex;
  gap: 2em;
  align-items: flex-start;
}
.page-content {
  flex: 1 1 0;
  min-width: 0;
}
.page-sidebar {
  flex: 0 0 300px;
  min-width: 260px;
}

/* ========== 内容页 ========== */
.article-header {
  margin-bottom: 1.5em;
  padding-bottom: 1em;
  border-bottom: 1px solid rgba(0,255,153,0.3);
}
.article-title {
  color: var(--main-green);
  font-size: 1.8em;
  line-height: 1.4;
  margin: 0 0 0.6em;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  font-size: 0.9em;
  color: var(--text-sub);
}
.article-meta a {
  color: var(--main-green);
  text-decoration: none;
}
.article-litpic {
  margin-bottom: 1.5em;
  text-align: center;
}
.article-litpic img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2px solid var(--main-green);
  box-shadow: var(--shadow);
}
.article-body {
  background: var(--card-bg);
  border: 1px solid rgba(0,255,153,0.25);
  border-radius: 10px;
  padding: 1.5em;
  line-height: 1.8;
  font-size: 1.05em;
  color: var(--text-main);
  margin-bottom: 1.5em;
  word-break: break-word;
}
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.z682f0diyfield {
  margin-bottom: 1.5em;
  padding: 1em;
  background: var(--main-gray);
  border-radius: 8px;
}
.article-images {
  margin-bottom: 1.5em;
}
.article-figure {
  margin: 0 0 1em;
  text-align: center;
}
.article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--main-green);
}
.article-figure figcaption {
  font-size: 0.9em;
  color: var(--text-sub);
  margin-top: 0.4em;
}
.z682f0meta-tags {
  list-style: none;
  margin: 0 0 1.5em;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}
.z682f0tagitem a {
  display: inline-block;
  background: var(--main-gray);
  color: var(--main-green);
  padding: 0.3em 0.8em;
  border-radius: 20px;
  font-size: 0.85em;
  text-decoration: none;
  border: 1px solid var(--main-green);
  transition: background 0.2s, color 0.2s;
}
.z682f0tagitem a:hover {
  background: var(--main-green);
  color: #101417;
}
.article-prenext {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  margin-bottom: 2em;
  padding: 1em;
  background: var(--main-gray);
  border-radius: 10px;
}
.prenext-item {
  flex: 1 1 0;
  min-width: 0;
}
.prenext-prev {
  text-align: left;
}
.prenext-next {
  text-align: right;
}
.prenext-label {
  display: block;
  color: var(--main-green);
  font-size: 0.85em;
  margin-bottom: 0.3em;
}
.prenext-item a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95em;
  word-break: break-all;
}
.prenext-item a:hover {
  color: var(--main-green);
}
.section-subtitle {
  color: var(--main-green);
  font-size: 1.3em;
  margin-bottom: 1em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid rgba(0,255,153,0.3);
}
.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-item {
  margin-bottom: 1em;
  background: var(--card-bg);
  border: 1px solid rgba(0,255,153,0.25);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.related-item:hover {
  box-shadow: 0 2px 16px rgba(0,255,153,0.12);
}
.related-link {
  display: flex;
  gap: 1em;
  padding: 0.8em;
  text-decoration: none;
  color: var(--text-main);
}
.related-thumb {
  flex: 0 0 100px;
  width: 100px;
  height: 75px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--main-gray);
}
.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}
.related-info {
  flex: 1;
  min-width: 0;
}
.related-title {
  display: block;
  color: var(--main-green);
  font-size: 0.95em;
  margin-bottom: 0.3em;
  line-height: 1.4;
}
.related-desc {
  font-size: 0.85em;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.5;
}

/* ========== 列表页 ========== */
.list-articles {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list-item {
  margin-bottom: 1.2em;
  background: var(--card-bg);
  border: 1.5px solid rgba(0,255,153,0.3);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.list-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,255,153,0.12);
}
.list-item-link {
  display: flex;
  gap: 1.2em;
  padding: 1em;
  text-decoration: none;
  color: var(--text-main);
}
.list-item-thumb {
  flex: 0 0 180px;
  width: 180px;
  height: 135px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--main-gray);
}
.list-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}
.list-item-body {
  flex: 1;
  min-width: 0;
}
.list-item-title {
  color: var(--main-green);
  font-size: 1.1em;
  margin: 0 0 0.5em;
  line-height: 1.4;
}
.list-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8em;
  font-size: 0.85em;
  color: var(--text-sub);
  margin-bottom: 0.5em;
}
.list-item-meta .meta-tag a {
  color: var(--main-green);
  text-decoration: none;
}
.list-item-intro {
  font-size: 0.95em;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.6;
}

/* ========== 分页（左右显示） ========== */
.pagebar {
  margin-top: 2em;
  padding-top: 1.5em;
  border-top: 1px solid rgba(0,255,153,0.25);
}
.z682f0pages {
  width: 100%;
  text-align: center;
}
.pagelist-lr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5em;
  width: 100%;
}
.pagelist-lr li {
  display: inline-block;
}
.pagelist-lr a,
.pagelist-lr span {
  display: inline-block;
  padding: 0.5em 1em;
  background: var(--main-gray);
  color: var(--text-main);
  border: 1px solid var(--main-green);
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  transition: background 0.2s, color 0.2s;
}
.pagelist-lr a:hover {
  background: var(--main-green);
  color: #101417;
}
.pagelist-lr .thisclass,
.pagelist-lr .thisclass a {
  background: var(--main-green);
  color: #101417;
  font-weight: bold;
}
.pagelist-lr .pageinfo {
  flex: 1 1 100%;
  width: 100%;
  text-align: center;
  margin-bottom: 0.3em;
  color: var(--text-sub);
  font-size: 0.9em;
  border: none;
  background: none;
  padding: 0;
}

/* ========== 侧栏 ========== */
.sidebar-block {
  background: var(--card-bg);
  border: 1.5px solid var(--main-green);
  border-radius: 10px;
  margin-bottom: 1.5em;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.sidebar-title {
  margin: 0;
  padding: 0.8em 1em;
  background: var(--main-gray);
  border-bottom: 1px solid rgba(0,255,153,0.3);
  font-size: 1em;
}
.sidebar-title a {
  color: var(--main-green);
  text-decoration: none;
  font-weight: bold;
}
.sidebar-title a:hover {
  color: #fff;
}
.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0.5em 0;
  max-height: 520px;
  overflow-y: auto;
}
.sidebar-item {
  border-bottom: 1px solid rgba(0,255,153,0.1);
}
.sidebar-item:last-child {
  border-bottom: none;
}
.sidebar-link {
  display: flex;
  gap: 0.7em;
  padding: 0.6em 0.8em;
  text-decoration: none;
  color: var(--text-main);
  transition: background 0.2s;
}
.sidebar-link:hover {
  background: rgba(0,255,153,0.08);
}
.sidebar-thumb {
  flex: 0 0 70px;
  width: 70px;
  height: 52px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--main-gray);
}
.sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}
.sidebar-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sidebar-item-title {
  font-size: 0.85em;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-main);
}
.sidebar-item-date {
  font-size: 0.75em;
  color: var(--text-sub);
  margin-top: 0.2em;
}

/* ========== 页脚链接 ========== */
.footer-links {
  list-style: none;
  margin: 0.5em 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8em;
}
.footer-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.9em;
}
.footer-links a:hover {
  color: var(--main-green);
}

/* ========== 文章/列表页移动端自适应 ========== */
@media (max-width: 1024px) {
  .article-home-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .page-layout {
    flex-direction: column;
    gap: 1.5em;
  }
  .page-sidebar {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }
  .sidebar-list {
    max-height: none;
  }
  .article-home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .list-item-link {
    flex-direction: column;
  }
  .list-item-thumb {
    flex: none;
    width: 100%;
    height: 180px;
  }
}
@media (max-width: 700px) {
  .article-home-grid {
    grid-template-columns: 1fr;
  }
  .article-title {
    font-size: 1.4em;
  }
  .article-meta {
    flex-direction: column;
    gap: 0.4em;
  }
  .article-prenext {
    flex-direction: column;
  }
  .prenext-next {
    text-align: left;
  }
  .related-link {
    flex-direction: column;
  }
  .related-thumb {
    width: 100%;
    height: 160px;
  }
  .page-list-title {
    font-size: 1.4em;
  }
  .nav ul.z682f0nav {
    flex-wrap: wrap;
  }
}
@media (max-width: 480px) {
  .page-main-wrap {
    padding: 1em 0.5em;
  }
  .article-body {
    padding: 1em;
  }
  .list-item-thumb {
    height: 140px;
  }
  .sidebar-thumb {
    flex: 0 0 60px;
    width: 60px;
    height: 45px;
  }
}