* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 顶部导航栏 - 大气固定顶栏 */
header {
  background-color: #1a1a1a;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.logo span {
  color: #d4af37;
}

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-list a {
  color: #e0e0e0;
  font-size: 16px;
  font-weight: 500;
}

.nav-list a:hover {
  color: #d4af37;
}

/* 核心Banner区 - 汪思录主题视觉核心，无空白满屏质感 */
.banner {
  width: 100%;
  height: 200px;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url(https://picsum.photos/id/1070/1920/1080);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.banner-title {
  font-size: 56px;
  color: #ffffff;
  letter-spacing: 8px;
  margin-bottom: 20px;
}

.banner-title strong {
  color: #d4af37;
}

.banner-desc {
  font-size: 18px;
  color: #e6e6e6;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* 内容主体 - 双栏布局 无空白填充 */
.main {
  padding: 60px 0;
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 40px;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 22px;
  color: #1a1a1a;
  border-left: 4px solid #d4af37;
  padding-left: 15px;
  margin-bottom: 25px;
  font-weight: 700;
}

/* 文章列表区 */
.article-item {
  border-bottom: 1px solid #f0f0f0;
  padding: 20px 0;
}

.article-item:last-child {
  border: none;
}

.article-title {
  font-size: 20px;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.article-title a:hover {
  color: #d4af37;
}

.article-meta {
  color: #999;
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  gap: 20px;
}

.article-desc {
  color: #666;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.read-more {
  display: inline-block;
  margin-top: 15px;
  color: #d4af37;
  font-size: 14px;
  font-weight: 500;
}

.read-more:hover {
  color: #b8860b;
}

/* 博主介绍侧边栏 */
.author-card {
  text-align: center;
}

.author-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f0f0f0;
  margin-bottom: 20px;
}

.author-name {
  font-size: 20px;
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 10px;
}

.author-desc {
  color: #666;
  margin-bottom: 20px;
  font-size: 15px;
}

.category-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.category-list li a:hover {
  color: #d4af37;
  padding-left: 5px;
}

/* 友情链接 */
.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-list a {
  padding: 6px 12px;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 14px;
}

.link-list a:hover {
  background: #d4af37;
  color: #fff;
}

/* 底部版权区 */
footer {
  background-color: #1a1a1a;
  color: #999;
  padding: 40px 0;
  text-align: center;
  margin-top: 30px;
}

.footer-title {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
}

.footer-title span {
  color: #d4af37;
}

.copyright {
  font-size: 14px;
}

/* 响应式适配 */
@media (max-width: 992px) {
  .main {
    grid-template-columns: 1fr;
  }

  .banner-title {
    font-size: 40px;
  }
}

@media (max-width: 576px) {
  .banner-title {
    font-size: 30px;
    letter-spacing: 4px;
  }

  .banner {
    height: 320px;
  }
}