﻿/* ================================================================
   新闻资讯页面样式 - 精美优化版
   ================================================================ */

/* ------------------------------------------------------------
   01. CSS变量 - 自然森林主题
   ------------------------------------------------------------ */
:root {
  --news-primary: #2d5a27;
  --news-primary-light: #4a8c42;
  --news-primary-dark: #1e3d1a;
  --news-primary-glow: rgba(45, 90, 39, 0.4);
  --news-accent: #e85d2d;
  --news-accent-light: #ff7a4d;
  --news-accent-glow: rgba(232, 93, 45, 0.3);
  --news-text: #1a1a1a;
  --news-text-secondary: #4a4a4a;
  --news-text-muted: #7a7a7a;
  --news-bg: #f8faf7;
  --news-bg-secondary: #f0f4ef;
  --news-card-bg: #ffffff;
  --news-border: #e8ebe7;
  --news-shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --news-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --news-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --news-shadow-hover: 0 12px 32px rgba(45, 90, 39, 0.12);
  --news-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
  --news-radius: 12px;
  --news-radius-lg: 18px;
  --news-radius-xl: 24px;
  --news-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --news-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --news-transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== 页面头部横幅 - 森林沉浸式 ===== */
.page-hero {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
  background: linear-gradient(135deg, #1a4d1a 0%, #2d5a27 40%, #3d7a35 100%);
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1448375240586-882707db888b?w=1920&h=450&fit=crop') center/cover no-repeat;
  opacity: 0.2;
  mix-blend-mode: overlay;
}

/* 装饰性渐变光晕 */
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse, var(--news-accent-glow) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-bg::after {
  display: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

.page-hero-title {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  letter-spacing: 3px;
}

.page-hero-title i {
  font-size: 40px;
  color: var(--news-accent);
  filter: drop-shadow(0 3px 10px var(--news-accent-glow));
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.page-hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 28px 0;
  font-weight: 400;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-hero-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  padding: 12px 24px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: all var(--news-transition);
}

.page-hero-breadcrumb a:hover {
  color: var(--news-accent);
}

.page-hero-breadcrumb i {
  font-size: 10px;
  opacity: 0.5;
}

.page-hero-breadcrumb span:last-child {
  color: #fff;
  font-weight: 500;
}

/* ===== 新闻资讯列表页 ===== */
.news-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 24px 100px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  background: var(--news-bg);
}

.news-container {
  min-width: 0;
}

/* ===== 分类筛选 - 现代标签 ===== */
.news-filter {
  margin-bottom: 36px;
}

.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px;
  background: #fff;
  border-radius: var(--news-radius-lg);
  box-shadow: var(--news-shadow);
  border: 1px solid var(--news-border);
}

.filter-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: none;
  background: transparent;
  color: var(--news-text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--news-radius);
  cursor: pointer;
  transition: all var(--news-transition);
  position: relative;
  overflow: hidden;
}

.filter-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--news-primary) 0%, var(--news-primary-light) 100%);
  opacity: 0;
  transition: opacity var(--news-transition);
  border-radius: var(--news-radius);
}

.filter-tab span,
.filter-tab i {
  position: relative;
  z-index: 1;
}

.filter-tab i {
  font-size: 14px;
  transition: transform var(--news-transition-bounce);
}

.filter-tab:hover {
  color: var(--news-primary);
  background: rgba(45, 90, 39, 0.05);
}

.filter-tab:hover i {
  transform: scale(1.15);
}

.filter-tab.active {
  color: #fff;
  background: transparent;
}

.filter-tab.active::before {
  opacity: 1;
}

.filter-tab.active i {
  transform: scale(1.1);
}

/* ===== 置顶资讯 - 焦点卡片 ===== */
.news-featured {
  margin-bottom: 40px;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  background: #fff;
  border-radius: var(--news-radius-xl);
  overflow: hidden;
  box-shadow: var(--news-shadow);
  text-decoration: none;
  transition: all var(--news-transition-slow);
  position: relative;
}

.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--news-primary), var(--news-accent), var(--news-primary-light));
  opacity: 0;
  transition: opacity var(--news-transition);
  z-index: 3;
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--news-shadow-hover);
}

.featured-card:hover::before {
  opacity: 1;
}

.featured-image {
  position: relative;
  height: 340px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--news-transition-slow);
}

.featured-card:hover .featured-image img {
  transform: scale(1.06);
}

.featured-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
}

.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--news-accent) 0%, var(--news-accent-light) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px var(--news-accent-glow);
  z-index: 2;
}

.featured-badge i {
  animation: firePulse 1.5s ease-in-out infinite;
}

@keyframes firePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.featured-content {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.featured-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--news-border), transparent);
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.meta-category {
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.1) 0%, rgba(74, 140, 66, 0.06) 100%);
  color: var(--news-primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid rgba(45, 90, 39, 0.12);
}

.meta-date, .meta-views {
  font-size: 13px;
  color: var(--news-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-date i, .meta-views i {
  font-size: 12px;
  opacity: 0.7;
}

.featured-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--news-text);
  margin: 0 0 16px 0;
  line-height: 1.35;
  transition: color var(--news-transition);
}

.featured-card:hover .featured-title {
  color: var(--news-primary);
}

.featured-desc {
  font-size: 15px;
  color: var(--news-text-secondary);
  line-height: 1.85;
  margin: 0 0 24px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-footer {
  margin-top: auto;
}

.read-more {
  font-size: 14px;
  color: var(--news-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.08) 0%, rgba(74, 140, 66, 0.04) 100%);
  border-radius: 25px;
  transition: all var(--news-transition);
  border: 1px solid transparent;
}

.featured-card:hover .read-more {
  background: linear-gradient(135deg, var(--news-primary) 0%, var(--news-primary-light) 100%);
  color: #fff;
  gap: 12px;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--news-primary-glow);
}

/* ===== 资讯网格 ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* ===== 资讯卡片 - 精致设计 ===== */
.news-card {
  background: #fff;
  border-radius: var(--news-radius-lg);
  overflow: hidden;
  box-shadow: var(--news-shadow-sm);
  transition: all var(--news-transition-slow);
  position: relative;
}

.news-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--news-radius-lg);
  border: 2px solid transparent;
  transition: border-color var(--news-transition);
  pointer-events: none;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--news-shadow-hover);
}

.news-card:hover::after {
  border-color: rgba(45, 90, 39, 0.15);
}

.news-card-link {
  text-decoration: none;
  display: block;
}

.news-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--news-transition-slow);
}

.news-card:hover .news-card-image img {
  transform: scale(1.1);
}

.news-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.25) 0%, transparent 40%);
  pointer-events: none;
}

.news-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.news-card-badge.notice { 
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  box-shadow: 0 3px 12px rgba(59, 130, 246, 0.35);
}
.news-card-badge.activity { 
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.35);
}
.news-card-badge.guide { 
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.35);
}
.news-card-badge.story { 
  background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
  box-shadow: 0 3px 12px rgba(236, 72, 153, 0.35);
}

.news-card-content {
  padding: 24px;
}

.news-card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.news-card-meta .meta-date,
.news-card-meta .meta-views {
  font-size: 12px;
  color: var(--news-text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.news-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--news-text);
  margin: 0 0 12px 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--news-transition);
}

.news-card:hover .news-card-title {
  color: var(--news-primary);
}

.news-card-desc {
  font-size: 14px;
  color: var(--news-text-secondary);
  line-height: 1.75;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== 分页 ===== */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--news-border);
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 2px solid var(--news-border);
  background: #fff;
  color: var(--news-text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--news-radius);
  cursor: pointer;
  transition: all var(--news-transition);
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--news-primary);
  color: var(--news-primary);
  background: rgba(45, 90, 39, 0.03);
  transform: translateY(-2px);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-num {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--news-text-secondary);
  cursor: pointer;
  transition: all var(--news-transition);
  background: #fff;
  border: 1px solid var(--news-border);
}

.page-num:hover {
  border-color: var(--news-primary);
  color: var(--news-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.1);
}

.page-num.active {
  background: linear-gradient(135deg, var(--news-primary) 0%, var(--news-primary-light) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--news-primary-glow);
}

.page-dots {
  color: var(--news-text-muted);
  padding: 0 4px;
}

/* ===== 侧边栏 ===== */
.news-sidebar {
  position: sticky;
  top: 90px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: #fff;
  border-radius: var(--news-radius-lg);
  padding: 28px;
  box-shadow: var(--news-shadow);
  position: relative;
  overflow: hidden;
}

.sidebar-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--news-primary), var(--news-primary-light), var(--news-accent));
  opacity: 0.7;
}

.widget-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--news-text);
  margin: 0 0 22px 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

.widget-title i {
  color: var(--news-primary);
  font-size: 16px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.1) 0%, rgba(74, 140, 66, 0.05) 100%);
  border-radius: 10px;
}

/* ===== 热门列表 ===== */
.hot-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hot-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--news-transition);
}

.hot-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hot-item:hover {
  padding-left: 8px;
  background: linear-gradient(90deg, rgba(45, 90, 39, 0.03) 0%, transparent 100%);
  margin-left: -8px;
  padding-right: 8px;
  margin-right: -8px;
  border-radius: 8px;
}

.hot-rank {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
  color: var(--news-text-muted);
  font-size: 12px;
  font-weight: 800;
  border-radius: 8px;
  flex-shrink: 0;
}

.hot-rank.rank-1 { 
  background: linear-gradient(135deg, var(--news-accent) 0%, var(--news-accent-light) 100%);
  color: #fff;
  box-shadow: 0 3px 12px var(--news-accent-glow);
}
.hot-rank.rank-2 { 
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #fff;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.35);
}
.hot-rank.rank-3 { 
  background: linear-gradient(135deg, var(--news-primary) 0%, var(--news-primary-light) 100%);
  color: #fff;
  box-shadow: 0 3px 12px var(--news-primary-glow);
}

.hot-item a {
  font-size: 14px;
  color: var(--news-text-secondary);
  text-decoration: none;
  line-height: 1.6;
  transition: color var(--news-transition);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-item:hover a {
  color: var(--news-primary);
}

/* ===== 标签云 ===== */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-item {
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.06) 0%, rgba(74, 140, 66, 0.03) 100%);
  color: var(--news-text-secondary);
  font-size: 13px;
  text-decoration: none;
  border-radius: 20px;
  transition: all var(--news-transition);
  border: 1px solid transparent;
}

.tag-item:hover {
  background: linear-gradient(135deg, var(--news-primary) 0%, var(--news-primary-light) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--news-primary-glow);
}

/* ===== 快速预约 ===== */
.booking-widget .booking-info {
  text-align: center;
}

.booking-widget .booking-phone {
  font-size: 24px;
  font-weight: 800;
  color: var(--news-primary);
  margin: 0 0 8px 0;
}

.booking-widget .booking-phone a {
  color: inherit;
  text-decoration: none;
  transition: all var(--news-transition);
}

.booking-widget .booking-phone a:hover {
  color: var(--news-accent);
}

.booking-widget .booking-time {
  font-size: 14px;
  color: var(--news-text-muted);
  margin: 0 0 20px 0;
}

.btn-quick-book {
  width: 100%;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--news-primary) 0%, var(--news-primary-light) 100%);
  color: #fff;
  border: none;
  border-radius: var(--news-radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--news-transition);
  position: relative;
  overflow: hidden;
}

.btn-quick-book::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-quick-book:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--news-primary-glow);
}

.btn-quick-book:hover::before {
  left: 100%;
}

/* ===== 资讯详情页 ===== */
.news-detail-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 24px 100px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  background: var(--news-bg);
}

.news-detail-container {
  min-width: 0;
}

/* 面包屑 */
.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--news-text-muted);
  margin-bottom: 28px;
  padding: 14px 22px;
  background: #fff;
  border-radius: var(--news-radius);
  box-shadow: var(--news-shadow-sm);
}

.detail-breadcrumb a {
  color: var(--news-text-secondary);
  text-decoration: none;
  transition: color var(--news-transition);
}

.detail-breadcrumb a:hover {
  color: var(--news-primary);
}

.detail-breadcrumb i {
  font-size: 10px;
  opacity: 0.4;
}

/* ===== 文章主体 ===== */
.article-main {
  background: #fff;
  border-radius: var(--news-radius-xl);
  overflow: hidden;
  box-shadow: var(--news-shadow);
}

/* 文章头部 */
.article-header {
  padding: 44px 48px 36px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.article-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 48px;
  right: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--news-border), transparent);
}

.category-badge {
  display: inline-block;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-badge.notice { background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%); }
.category-badge.activity { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); }
.category-badge.guide { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); }
.category-badge.story { background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%); }

.article-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--news-text);
  margin: 0 0 24px 0;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--news-text-muted);
}

.meta-item i {
  font-size: 15px;
  color: var(--news-primary);
}

/* 文章封面 */
.article-cover {
  position: relative;
  max-height: 500px;
  overflow: hidden;
}

.article-cover img {
  width: 100%;
  height: auto;
  display: block;
}

/* 文章内容 */
.article-content {
  padding: 44px 48px;
  font-size: 16px;
  color: var(--news-text-secondary);
  line-height: 2;
}

.article-content p {
  margin: 0 0 24px 0;
}

.article-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--news-text);
  margin: 48px 0 24px 0;
  padding-left: 20px;
  border-left: 4px solid var(--news-primary);
  line-height: 1.4;
}

.article-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--news-text);
  margin: 32px 0 16px 0;
}

.article-lead {
  font-size: 18px;
  color: var(--news-text);
  line-height: 1.9;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.06) 0%, rgba(74, 140, 66, 0.03) 100%);
  border-radius: var(--news-radius);
  border-left: 4px solid var(--news-primary);
  margin-bottom: 32px;
}

.content-card {
  background: linear-gradient(145deg, #fafafa 0%, #f5f5f5 100%);
  border-radius: var(--news-radius);
  padding: 24px 28px;
  margin: 24px 0;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--news-transition);
}

.content-card:hover {
  transform: translateX(8px);
  border-color: rgba(45, 90, 39, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.content-card h3 {
  margin: 0 0 14px 0;
  color: var(--news-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
}

.content-card p {
  margin: 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feature-list li {
  padding: 14px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li i {
  color: var(--news-primary);
  margin-top: 4px;
  font-size: 16px;
}

.article-image {
  margin: 32px 0;
  border-radius: var(--news-radius-lg);
  overflow: hidden;
  box-shadow: var(--news-shadow);
}

.article-image img {
  width: 100%;
  display: block;
  transition: transform var(--news-transition-slow);
}

.article-image:hover img {
  transform: scale(1.02);
}

.image-caption {
  text-align: center;
  font-size: 13px;
  color: var(--news-text-muted);
  padding: 14px;
  background: #fafafa;
  margin: 0;
}

.booking-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 28px 0;
}

.booking-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.06) 0%, rgba(74, 140, 66, 0.03) 100%);
  border-radius: var(--news-radius);
  transition: all var(--news-transition);
  border: 1px solid transparent;
}

.booking-item:hover {
  border-color: rgba(45, 90, 39, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.booking-item i {
  font-size: 28px;
  color: var(--news-primary);
}

.booking-info {
  display: flex;
  flex-direction: column;
}

.booking-label {
  font-size: 12px;
  color: var(--news-text-muted);
}

.booking-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--news-text);
}

.tips-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.tip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-radius: var(--news-radius);
  font-size: 14px;
  color: var(--news-text);
  transition: all var(--news-transition);
}

.tip-item:hover {
  transform: translateX(4px);
}

.tip-item i {
  color: #f59e0b;
  font-size: 16px;
}

/* 文章标签 */
.article-tags {
  padding: 24px 48px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tag-label {
  font-size: 14px;
  color: var(--news-text-muted);
  font-weight: 500;
}

.article-tag {
  padding: 8px 18px;
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.08) 0%, rgba(74, 140, 66, 0.04) 100%);
  color: var(--news-text-secondary);
  font-size: 13px;
  text-decoration: none;
  border-radius: 20px;
  transition: all var(--news-transition);
  border: 1px solid transparent;
}

.article-tag:hover {
  background: linear-gradient(135deg, var(--news-primary) 0%, var(--news-primary-light) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--news-primary-glow);
}

/* 分享 */
.article-share {
  padding: 20px 48px;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  display: flex;
  align-items: center;
  gap: 14px;
}

.share-label {
  font-size: 14px;
  color: var(--news-text-muted);
  font-weight: 500;
}

.share-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--news-transition);
  font-size: 18px;
}

.share-btn.wechat {
  background: linear-gradient(135deg, #07c160 0%, #00d46a 100%);
  color: #fff;
}

.share-btn.weibo {
  background: linear-gradient(135deg, #e6162d 0%, #ff4757 100%);
  color: #fff;
}

.share-btn.copy {
  background: linear-gradient(135deg, #666 0%, #888 100%);
  color: #fff;
}

.share-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* 上下篇导航 */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 28px 48px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item {
  padding: 20px 24px;
  background: linear-gradient(145deg, #fafafa 0%, #f5f5f5 100%);
  border-radius: var(--news-radius);
  text-decoration: none;
  transition: all var(--news-transition);
  border: 1px solid transparent;
}

.nav-item:hover {
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.06) 0%, rgba(74, 140, 66, 0.03) 100%);
  border-color: rgba(45, 90, 39, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.nav-label {
  display: block;
  font-size: 13px;
  color: var(--news-text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}

.nav-title {
  display: block;
  font-size: 15px;
  color: var(--news-text);
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.nav-item:hover .nav-title {
  color: var(--news-primary);
}

/* ===== 相关推荐 ===== */
.related-articles {
  margin-top: 36px;
  background: #fff;
  border-radius: var(--news-radius-xl);
  padding: 36px;
  box-shadow: var(--news-shadow);
}

.related-articles .section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--news-text);
  margin: 0 0 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.related-articles .section-title i {
  color: var(--news-primary);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  text-decoration: none;
  border-radius: var(--news-radius-lg);
  overflow: hidden;
  box-shadow: var(--news-shadow-sm);
  transition: all var(--news-transition);
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--news-shadow-hover);
}

.related-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform var(--news-transition-slow);
}

.related-card:hover img {
  transform: scale(1.08);
}

.related-card h4 {
  padding: 18px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--news-text);
  background: #fff;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--news-transition);
}

.related-card:hover h4 {
  color: var(--news-primary);
}

/* ===== 作者信息 ===== */
.author-widget {
  text-align: center;
}

.author-avatar {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(45, 90, 39, 0.1);
  transition: all var(--news-transition);
}

.author-widget:hover .author-avatar {
  border-color: var(--news-primary);
  transform: scale(1.05);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--news-text);
  margin: 0 0 10px 0;
}

.author-desc {
  font-size: 14px;
  color: var(--news-text-muted);
  line-height: 1.7;
  margin: 0 0 20px 0;
}

.btn-follow {
  width: 100%;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--news-primary) 0%, var(--news-primary-light) 100%);
  color: #fff;
  border: none;
  border-radius: var(--news-radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--news-transition);
}

.btn-follow:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--news-primary-glow);
}

/* ===== 响应式设计 ===== */




/* ===== 入场动画 ===== */
/* fadeInUp, slideInRight 已移至 main.css 通用定义 */

.news-card {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.news-card:nth-child(1) { animation-delay: 0.05s; }
.news-card:nth-child(2) { animation-delay: 0.1s; }
.news-card:nth-child(3) { animation-delay: 0.15s; }
.news-card:nth-child(4) { animation-delay: 0.2s; }
.news-card:nth-child(5) { animation-delay: 0.25s; }
.news-card:nth-child(6) { animation-delay: 0.3s; }
.news-card:nth-child(7) { animation-delay: 0.35s; }
.news-card:nth-child(8) { animation-delay: 0.4s; }

.sidebar-widget {
  animation: slideInRight 0.5s ease forwards;
}

.sidebar-widget:nth-child(1) { animation-delay: 0.15s; }
.sidebar-widget:nth-child(2) { animation-delay: 0.25s; }
.sidebar-widget:nth-child(3) { animation-delay: 0.35s; }

.featured-card {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===== 新闻页兼容性优化 ===== */

/* 1. 超大屏幕优化 */
@media (min-width: 1600px) {
  .news-container {
    max-width: 1400px;
  }

  .news-grid {
    grid-template-columns: 1fr 380px;
  }
}

/* 2. 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  .news-card-link,
  .category-tag,
  .read-more-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .pagination-item {
    min-width: 44px;
    min-height: 44px;
  }
}

/* 3. 横屏平板优化 */


/* 4. 打印优化 */
@media print {
  .news-sidebar,
  .pagination,
  .news-hero,
  .share-buttons {
    display: none !important;
  }

  .news-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .news-content {
    font-size: 12pt;
    line-height: 1.6;
  }
}

/* 5. 动画性能优化 */
.news-card,
.sidebar-widget,
.featured-card {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* 6. 高对比度模式 */
@media (prefers-contrast: high) {
  .news-card {
    border: 2px solid var(--text);
  }

  .category-tag {
    border: 2px solid var(--primary);
  }
}

/* 7. 图片懒加载优化 */
.news-card img,
.featured-card img {
  content-visibility: auto;
  contain-intrinsic-size: 400px 250px;
}

/* 8. 减少动画 */
@media (prefers-reduced-motion: reduce) {
  .news-card,
  .sidebar-widget,
  .featured-card {
    animation: none !important;
    opacity: 1 !important;
  }
}