/* ============================================
   Happenings Detail 页面专属样式
   ============================================ */

/* --- Hero Banner --- */



/* --- 白色内容区 --- */

/* ============================================
   返回按钮
   ============================================ */
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid var(--base);
  border-radius: 50%;
  color: var(--base);
  font-size: 16px;
  margin-bottom: 32px;
  transition: all .2s;
}

.back-link:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--base);
}

/* ============================================
   文章头部
   ============================================ */
.article-header {
  margin-bottom: 32px;
}

.article-header .article-tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50px;
  letter-spacing: .5px;
  margin-top: 10px;
}

.article-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--base);
  line-height: 1.3;
  margin-bottom: 16px;
}

.article-header .article-meta {
  font-size: 14px;
  color: var(--gray-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-header .article-meta i {
  color: var(--lime);
}

/* ============================================
   Swiper 图集轮播
   ============================================ */
.article-gallery {
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
}

.article-gallery .swiper {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.article-gallery .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-bg);
}

.article-gallery .swiper-slide img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  display: block;
}

.article-gallery .swiper-button-next,
.article-gallery .swiper-button-prev {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, .85);
  border-radius: 50%;
  color: var(--base);
  transition: all .2s;
}

.article-gallery .swiper-button-next:hover,
.article-gallery .swiper-button-prev:hover {
  background: var(--lime);
}

.article-gallery .swiper-button-next::after,
.article-gallery .swiper-button-prev::after {
  font-size: 16px;
  font-weight: 700;
}

.article-gallery .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, .6);
  opacity: 1;
}

.article-gallery .swiper-pagination-bullet-active {
  background: var(--lime);
}

/* ============================================
   分割线 — 20% lime + 80% 灰
   ============================================ */
.article-divider {
  display: flex;
  height: 4px;
  margin-bottom: 40px;
  border-radius: 2px;
  overflow: hidden;
}

.article-divider .divider-lime {
  width: 20%;
  background: var(--lime);
}

.article-divider .divider-gray {
  width: 80%;
  background: var(--gray-light);
}

/* ============================================
   正文
   ============================================ */
.article-body {
  font-size: 15px;
  color: var(--gray-dark);
  line-height: 2;
  margin-bottom: 48px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--base);
  margin: 32px 0 16px;
}

.article-body blockquote {
  border-left: 4px solid var(--lime);
  padding: 16px 24px;
  margin: 24px 0;
  background: #f9faf9;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--gray-dark);
}

/* ============================================
   上一篇 / 下一篇
   ============================================ */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-light);
}

.article-nav .nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  transition: all .2s;
  color: var(--base);
}

.article-nav .nav-item:hover {
  border-color: var(--lime);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.article-nav .nav-item.next {
  text-align: right;
  justify-content: flex-end;
}

.article-nav .nav-item .nav-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gray-text);
  flex-shrink: 0;
  transition: all .2s;
}

.article-nav .nav-item:hover .nav-icon {
  background: var(--lime);
  color: var(--base);
}

.article-nav .nav-item .nav-text {
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 4px;
}

.article-nav .nav-item .nav-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--base);
  line-height: 1.4;
}
