/* ── HERO ── */
.n-hero {
  padding: 160px 0 0;
  position: relative;
}

.n-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.n-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.n-hero-title {
  font-size: 72px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
  line-height: 1.05;
}

.n-hero-sub {
  font-size: 16px;
  color: #888;
  line-height: 1.7;
  margin-bottom: 60px;
}

/* ── 藤蔓时间线（在 hero 分界线上） ── */
.n-timeline-wrap {
  position: relative;
  padding: 32px 0 0;
  margin-bottom: 0;
}

/* 横贯全屏的线 */
.n-timeline-line {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(
    to right,
    transparent 0%,
    #c8bfb0 8%,
    #b8af9f 50%,
    #c8bfb0 92%,
    transparent 100%
  );
  z-index: 0;
}

/* 藤蔓装饰节点（小叶子感觉） */
.n-timeline-line::before,
.n-timeline-line::after {
  content: '✦';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #c8bfb0;
  line-height: 1;
}
.n-timeline-line::before { left: 5%; }
.n-timeline-line::after  { right: 5%; }

/* 年份按钮容器 */
.n-timeline-nav {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0 60px;
}

/* 单个年份按钮 */
.n-year-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0 56px;
  font-family: inherit;
  position: relative;
  z-index: 1;
}

/* 节点圆点 */
.n-year-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #c6d1d8;
  border: 3px solid #fafafa;
  box-shadow: 0 0 0 1.5px #c8bfb0;
  transition: all 0.3s ease;
  flex: 0 0 auto;
}

/* 年份文字 */
.n-year-label {
  font-size: 16px;
  font-weight: 500;
  color: #bbb;
  letter-spacing: 0.04em;
  transition: color 0.3s ease, font-weight 0.3s ease;
  white-space: nowrap;
}

.n-year-btn:hover .n-year-dot,
.n-year-btn.active .n-year-dot {
  background: #111;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.1);
  transform: scale(1.35);
}

.n-year-btn:hover .n-year-label,
.n-year-btn.active .n-year-label {
  color: #111;
  font-weight: 700;
}

/* 分隔线（藤蔓线贯穿） */
.n-timeline-divider {
  width: 100%;
  height: 0.5px;
  background: #e5e5e5;
  margin: 32px 0 0;
}

/* ── 新闻分组 ── */
.n-year-group {
  display: none;
}

/* 桌面版 */
.n-year-group.visible {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.n-year-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #ccc;
  text-transform: uppercase;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid #efefef;
}

/* ── 新闻列表 ── */
.n-section { padding: 56px 0 100px; }

/* 固定三栏，放大 */
.n-grid {
  display: block;
}

.n-card {
  background: #fff;
  border: 0.5px solid #e5e5e5;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.n-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.09);
}

.n-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f0f0f0;
}

.n-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.n-card:hover .n-card-img img { transform: scale(1.05); }

/* 海报图片不裁切 */
.n-card-img img.is-poster {
  object-fit: contain;
  background: #f7f5f0;
}

.n-card-body { padding: 20px 24px 24px; }

.n-card-date {
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.n-card-title {
  font-size: 17px;
  font-weight: 600;
  color: #111;
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.n-card-preview {
  font-size: 14px;
  color: #888;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 弹窗 ── */
.n-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 24px;
  backdrop-filter: blur(6px);
  overflow-y: auto;
}

.n-modal-backdrop.open { display: flex; }

.n-modal {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
  animation: nModalIn 0.35s cubic-bezier(0.4,0,0.2,1) both;
}

@keyframes nModalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.n-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 40px 20px;
  gap: 16px;
}

.n-modal-date {
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.n-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
}

.n-modal-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0.5px solid #e5e5e5;
  background: #f7f7f7;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.n-modal-close:hover { background: #eee; }

.n-modal-cover {
  width: 100%;
  overflow: hidden;
  background: #f0f0f0;
}

.n-modal-cover.normal {
  aspect-ratio: 16/9;
}

.n-modal-cover.normal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.n-modal-cover.poster {
  background: #f7f5f0;
  padding: 20px;
}

.n-modal-cover.poster img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.n-modal-body {
  padding: 32px 40px 48px;
}

.n-modal-para {
  font-size: 15px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 20px;
}

.n-modal-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 4px 0 24px;
}

.n-modal-photos.single-poster {
  grid-template-columns: 1fr;
}

.n-modal-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  background: #f0f0f0;
}

.n-modal-photos.single-poster .n-modal-photo {
  aspect-ratio: unset;
  max-height: 600px;
  object-fit: contain;
  background: #f7f5f0;
  border-radius: 12px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .n-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .n-year-btn { padding: 0 36px; }
}

@media (max-width: 768px) {
  .n-hero { padding: 120px 0 0; }
  .n-hero-title { font-size: 44px; }
  .n-hero-sub { font-size: 14px; margin-bottom: 40px; }
  .n-page { padding: 0 20px; }
  .n-grid { grid-template-columns: 1fr; gap: 20px; }
  .n-year-btn { padding: 0 20px; }
  /* 桌面版 */
  .n-year-group.visible {grid-template-columns: 1fr; gap: 20px;}
  .n-year-label { font-size: 14px; }
  .n-timeline-nav { padding: 0 20px; }
  .n-modal { border-radius: 16px; }
  .n-modal-header { padding: 24px 24px 16px; }
  .n-modal-title { font-size: 18px; }
  .n-modal-body { padding: 20px 24px 32px; }
  .n-modal-photos { grid-template-columns: repeat(2, 1fr); }
}