.post-navigation {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-previous,
.nav-next {
  flex: 1;
  min-width: 200px;
}

.nav-previous {
  text-align: left;
}

.nav-next {
  text-align: right;
}

.post-navigation a {
  color: #0073e6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.post-navigation a:hover {
  color: #0051a0;
  text-decoration: underline;
}

.post-navigation span {
  color: #999;
  font-style: italic;
}


.event-excerpt {
  font-size: 16px; /* 设置字体大小 */
  line-height: 1.6; /* 设置行高 */
  color: #333; /* 设置文本颜色 */
  margin-bottom: 15px; /* 设置下边距 */
  padding-left: 10px; /* 设置左边填充 */
  border-left: 4px solid #0073e6; /* 设置左侧边框 */
  background-color: #f9f9f9; /* 设置背景颜色 */
}

/* 当鼠标悬停在段落上时改变背景颜色 */
.event-excerpt:hover {
  background-color: #e6f7ff;
}

.gallery-slideshow-wrapper {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0px;
  text-align: center;
}

.swiper-slide {
  display: flex;
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
  width: 100%;
  height: 100%;
  overflow: hidden; /* 如果图片超出容器则隐藏 */
}

.swiper-container {
  width: 100%;
  height: 600px;
  border-radius: 1px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
 border-radius: 12px 12px 12px 12px;
}

.swiper-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 16px;
  font-size: 16px;
  text-align: center;
  backdrop-filter: blur(2px);
}

.swiper-pagination-bullet {
  background: #d60404;
  opacity: 0.8;
}

.swiper-pagination-bullet-active {
  background: #00c853;
  transform: scale(1.2);
}

.swiper-button-next,
.swiper-button-prev {
  color: white;
  background: rgba(0, 0, 0, 0.5);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* 小屏幕下垂直排列 */
@media (max-width: 600px) {
  .post-navigation {
    flex-direction: column;
    text-align: center;
  }
  .nav-previous,
  .nav-next {
    text-align: center;
  }
}
