/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #0a0a14; /* 霓虹赛博深背景 */
  color: #e0e0ff; /* 霓虹浅蓝文字 */
  line-height: 1.6;
}

/* 链接样式 */
a {
  text-decoration: none;
  color: #4fc3f7; /* 霓虹蓝 */
  transition: color 0.3s;
}

a:hover {
  color: #ff4081; /* 霓虹粉 */
}

/* 列表样式 */
ul, ol {
  list-style: none;
}

ul > li, ol > li {
  margin: 8px 0;
}
.article-list li{
	display: flex;
	flex-wrap: wrap;
}

.list-li-left {
    flex: 30%;
}

.list-li-right {
    flex: 60%;
}

.list-li-left img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
/* 响应式容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-30, .col-50, .col-70 {
  padding: 0 15px;
}

.col-30 { width: 30%; }
.col-50 { width: 50%; }
.col-70 { width: 70%; }

/* 缩略图比例 4:3 */
.thumbnail {
  position: relative;
  padding-top: 75%; /* 4:3 比例 */
  overflow: hidden;
}

.thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 面包屑导航 */
.breadcrumb {
  margin-bottom: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #4a4a6a;
}

/* 分页样式 */
.pagination ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

.pagination li {
  display: inline-block;
  margin: 0 5px;
}

/* 正文内容样式 */
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5 {
  margin: 15px 0;
  color: #ff4081; /* 霓虹粉标题 */
}

.article-content ul,
.article-content ol {
  margin-left: 20px;
}

.article-content ul li {
  list-style: disc;
}

.article-content ol li {
  list-style: decimal;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

.article-content th,
.article-content td {
  border: 1px solid #4a4a6a;
  padding: 8px;
  text-align: left;
}

.article-content tr:nth-child(even) {
  background-color: #1a1a2e; /* 斑马纹 */
}

/* 头部样式 */
.site-header {
  background-color: #121226;
  padding: 15px 0;
  border-bottom: 2px solid #4fc3f7;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  padding: 5px;
}

.logo img {
  max-height: 50px;
}

.main-nav ul {
  display: flex;
}

.main-nav li {
  margin-left: 20px;
}

.main-nav a {
  padding: 5px 10px;
  border-radius: 4px;
}

.main-nav a:hover {
  background-color: rgba(79, 195, 247, 0.2);
}

/* 汉堡菜单（移动端） */
.hamburger-menu {
  display: none;
  cursor: pointer;
}

.hamburger-menu .bar {
  width: 25px;
  height: 3px;
  background-color: #e0e0ff;
  margin: 4px 0;
}

/* 底部样式 */
.site-footer {
  background-color: #121226;
  padding: 30px 0;
  margin-top: 40px;
  border-top: 2px solid #4fc3f7;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  padding: 0 15px;
  text-align: center;
}

.footer-right ul {
  padding-left: 0;
}

.footer-right li {
  margin-bottom: 8px;
}

/* 侧边栏（移动端隐藏） */
.sidebar {
  display: block;
}

/* 霓虹赛博特效元素 */
.icon-eye,
.icon-badge {
  display: inline-block;
  margin-right: 8px;
  color: #ff4081;
  font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .col-30, .col-50, .col-70 {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .sidebar {
    display: none;
  }
  
  .hamburger-menu {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #121226;
    display: none;
  }
  
  .list-li-left,.list-li-right {
    flex: 100%;
    }

  .main-nav.active ul {
    display: flex;
  }
  
  .main-nav li {
    margin: 10px 0;
    text-align: center;
  }
  
  .footer-container {
    flex-direction: column;
  }
  
  .footer-left,
  .footer-center,
  .footer-right {
    margin-bottom: 20px;
  }
}