/* 归档页面专用样式 */
.year-group {
  margin-bottom: 2em;
}

.archive-year {
  font-size: 1.5em;
  color: #0181eb;
  border-bottom: 2px solid #0181eb;
  padding-bottom: 0.5em;
  margin-bottom: 1em;
  font-weight: 600;
}

.archive-post {
  display: flex;
  margin-bottom: 1.5em;
  padding: 1em;
  border-left: 3px solid #e0e0e0;
  transition: all 0.3s ease;
  border-radius: 0 8px 8px 0;
}

.archive-post:hover {
  border-left-color: #0181eb;
  background-color: #f9f9f9;
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.post-meta {
  flex-shrink: 0;
  width: 60px;
  margin-right: 1.5em;
}

.post-meta time {
  display: block;
  text-align: center;
  font-size: 0.9em;
  color: #666;
  background: #f5f5f5;
  border-radius: 6px;
  padding: 0.5em;
}

.post-meta .month {
  display: block;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.8em;
  color: #999;
}

.post-meta .day {
  display: block;
  font-size: 1.4em;
  font-weight: bold;
  color: #0181eb;
  margin-top: 0.2em;
}

.post-info {
  flex: 1;
}

.post-title {
  margin: 0 0 0.5em 0;
  font-size: 1.1em;
  line-height: 1.3;
}

.post-title a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.post-title a:hover {
  color: #0181eb;
  text-decoration: underline;
}

.post-summary {
  color: #666;
  font-size: 0.9em;
  line-height: 1.5;
  margin-bottom: 0.8em;
}

.post-tags {
  font-size: 0.8em;
  line-height: 1.4;
}

.post-tags .categories,
.post-tags .tags {
  display: inline-block;
  margin-right: 1em;
  margin-bottom: 0.3em;
}

.post-tags .categories::before {
  content: "📁 ";
}

.post-tags .tags::before {
  content: "🏷️ ";
}

.post-tags a {
  color: #999;
  text-decoration: none;
  margin-right: 0.5em;
  padding: 0.2em 0.5em;
  background: #f0f0f0;
  border-radius: 12px;
  font-size: 0.9em;
  transition: all 0.2s ease;
}

.post-tags a:hover {
  color: #fff;
  background: #0181eb;
  transform: translateY(-1px);
}

.archive-stats {
  margin-top: 3em;
  padding: 1.5em;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border-left: 4px solid #0181eb;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.archive-stats h3 {
  margin-top: 0;
  color: #0181eb;
  font-size: 1.2em;
}

.archive-stats ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-stats li {
  padding: 0.5em 0;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.archive-stats li:last-child {
  border-bottom: none;
}

.archive-stats strong {
  color: #0181eb;
  font-weight: 600;
}

/* 年份统计 */
.year-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5em;
  font-size: 0.9em;
  color: #666;
}

.year-posts-count {
  background: #0181eb;
  color: white;
  padding: 0.2em 0.8em;
  border-radius: 15px;
  font-size: 0.8em;
  font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .archive-post {
    flex-direction: column;
    padding: 1em 0.8em;
  }
  
  .post-meta {
    width: auto;
    margin-right: 0;
    margin-bottom: 1em;
  }
  
  .post-meta time {
    display: inline-block;
    text-align: left;
    width: auto;
    padding: 0.3em 0.8em;
  }
  
  .post-meta .month,
  .post-meta .day {
    display: inline;
    margin-right: 0.5em;
  }
  
  .post-meta .day {
    font-size: 1.1em;
  }
  
  .archive-stats {
    padding: 1em;
  }
  
  .archive-stats li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3em;
  }
}

@media (max-width: 480px) {
  .archive-year {
    font-size: 1.3em;
  }
  
  .post-title {
    font-size: 1em;
  }
  
  .post-tags a {
    font-size: 0.8em;
    padding: 0.1em 0.4em;
  }
}

