/* 归档页面自定义样式 */

/* 总计文章数量样式 */
.layout-archive .i-container {
  margin: 1.5rem auto 2rem; /* 减小上下外边距 */
  text-align: center;
  position: relative;
}

.layout-archive .i-container .i-tag {
  font-size: 1.1rem; /* 减小字体大小 */
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  padding: 0.5rem 1.5rem; /* 减小内边距 */
  border-radius: 50px;
  display: inline-block;
  box-shadow: 0 10px 25px rgba(37, 117, 252, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  cursor: pointer; /* 添加指针样式提示可交互 */
}

/* 添加鼠标悬停动效 */
.layout-archive .i-container .i-tag:hover {
  transform: scale(1.05) rotate(1deg); /* 缩放并微微旋转 */
  box-shadow: 0 15px 30px rgba(37, 117, 252, 0.3); /* 增强阴影效果 */
  background: linear-gradient(135deg, #7c21db 0%, #3585fc 100%); /* 稍微改变渐变色 */
}

.layout-archive .i-container .i-tag::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  opacity: 0.6;
  transition: all 0.4s ease; /* 添加过渡效果 */
}

.layout-archive .i-container .i-tag::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  opacity: 0.4;
  transition: all 0.4s ease; /* 添加过渡效果 */
}

/* 悬停时装饰元素的动效 */
.layout-archive .i-container .i-tag:hover::before {
  transform: scale(1.2) translateX(5px); /* 放大并移动 */
  opacity: 0.8;
}

.layout-archive .i-container .i-tag:hover::after {
  transform: scale(1.2) translateX(-5px); /* 放大并移动 */
  opacity: 0.6;
}

.layout-archive .i-container .i-tag::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  opacity: 0.6;
}

.layout-archive .i-container .i-tag::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  opacity: 0.4;
}

/* 使用原始的归档样式 */
#layout-archive-year {
  margin-top: 2rem;
  text-align: left;
  width: 100%;
}

#layout-archive-year ul {
  list-style: none;
  padding-left: 0rem;
  transition: height 0.5s;
  padding: 0px;
  border: none;
}

#layout-archive-year ul li {
  height: 44px;
  border-bottom: 1px dashed #e0e0e0;
  line-height: 44px;
  font-size: 1rem;
  padding-left: 0px;
  overflow: hidden;
  margin: 0px;
}

#layout-archive-year ul li:hover {
  background: #f7f9fa;
}

#layout-archive-year ul li:hover em {
  font-style: normal;
  margin-right: 10px;
  line-height: 10px;
  margin-top: 10px;
  padding: 5px 8px;
  background: #f44336;
  color: #f7f9fa;
}

#layout-archive-year ul li em {
  font-style: normal;
  margin-right: 10px;
  line-height: 10px;
  margin-top: 10px;
  padding: 5px 8px;
  background: #eaeaea;
  color: #999;
}

#layout-archive-year h3 {
  cursor: pointer;
  text-align: center;
  background-color: #555;
  padding: 10px 0px;
  margin-top: 2rem;
  color: #fff;
  transition: all 0.5s;
}

#layout-archive-year h3 em {
  font-size: 0.5rem;
  position: absolute;
  margin-top: -10px;
}

#layout-archive-year h3:hover {
  background-color: #696969;
}

#layout-archive-year a {
  background: none;
}

#layout-archive-year .title-bg {
  background-color: #808080;
}

#layout-archive-year li a {
  text-decoration: none;
}

#layout-archive-year li a:hover {
  color: #f00;
}

#layout-archive-year li .tag {
  font-style: normal;
  margin-right: 0px;
  line-height: 10px;
  margin-top: 10px;
  padding: 8px 8px;
  background: #eaeaea;
  color: #999;
  float: right;
}

/* 月份归档样式 */
#layout-archive-month {
  margin-top: 0rem;
  text-align: left;
  max-width: 100%;
}

#layout-archive-month ul {
  list-style: none;
  padding-left: 0rem;
  transition: height 0.5s;
  padding: 0px;
  border: none;
}

#layout-archive-month ul li {
  height: 44px;
  border-bottom: 1px dashed #e0e0e0;
  line-height: 44px;
  font-size: 1rem;
  padding-left: 0px;
  overflow: hidden;
  margin: 0px;
}

#layout-archive-month ul li:hover {
  background: #f7f9fa;
}

#layout-archive-month ul li:hover em {
  font-style: normal;
  margin-right: 10px;
  line-height: 10px;
  margin-top: 10px;
  padding: 5px 8px;
  background: #f44336;
  color: #f7f9fa;
}

#layout-archive-month ul li em {
  font-style: normal;
  margin-right: 10px;
  line-height: 10px;
  margin-top: 10px;
  padding: 5px 8px;
  background: #eaeaea;
  color: #999;
}

#layout-archive-month h3 {
  cursor: auto;
  text-align: center;
  background-color: #555;
  padding: 5px 0px;
  color: #fff;
  transition: all 0.5s;
}

#layout-archive-month h3:hover {
  background-color: #696969;
}

#layout-archive-month h3>a {
  color: #fff;
  border-bottom: 0px dotted #d3d3d3;
}

#layout-archive-month h3 em {
  font-size: 0.5rem;
  position: absolute;
  margin-top: -10px;
}

/* 标签页面样式保留 */
.layout-page .layout-page-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.layout-page .layout-page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.layout-page .layout-page-header i {
  font-size: 1.2rem;
  font-weight: 300;
  color: #555;
  background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  display: inline-block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.layout-page .tags {
  text-align: center;
  margin: 2rem 0;
}

.layout-page .tags a {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  background: #fff;
  color: #222;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.layout-page .tags a:hover {
  background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  text-shadow: none;
}