/* ===== page-news 品牌日志 ===== */
.page-news {
  --tl-dot-size: 18px;
  --tl-rail-width: 3px;
  --tl-card-radius: 24px;
  --tl-card-padding: 1.5rem;
  --tl-gap: 2.5rem;
  --index-gap: 0.75rem;
  color: var(--color-text-white, #FFFFFF);
  background-color: var(--color-primary-dark, #0B1A2E);
  position: relative;
}

/* ---------- 顶部横幅 ---------- */
.page-news .news-hero {
  position: relative;
  padding: 2rem 0 1.5rem;
  overflow: hidden;
}

.page-news .hero-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.page-news .hero-text {
  order: 2;
}

.page-news .hero-graphic {
  order: 1;
  width: 100%;
  border-radius: var(--radius-md, 16px);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.15);
}

.page-news .hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 140px;
  object-fit: cover;
  object-position: center 30%;
}

.page-news .breadcrumb {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.5rem;
}

.page-news .breadcrumb a {
  color: var(--color-gold, #D4AF37);
  text-decoration: none;
  transition: color var(--transition, 0.3s);
}

.page-news .breadcrumb a:hover,
.page-news .breadcrumb a:focus-visible {
  color: var(--color-electric-blue, #00B4D8);
  outline: 2px solid var(--color-gold, #D4AF37);
  outline-offset: 2px;
  border-radius: 2px;
}

.page-news .breadcrumb-sep {
  margin: 0 0.4em;
  color: rgba(255, 255, 255, 0.3);
}

.page-news h1 {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2.2rem, 8vw, 4rem);
  color: var(--color-gold, #D4AF37);
  margin: 0 0 0.3rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
}

.page-news .hero-desc {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0;
  letter-spacing: 0.02em;
}

.page-news .hero-skew {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--color-primary-dark, #0B1A2E);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
  z-index: 1;
  pointer-events: none;
}

/* ---------- 时间轴 ---------- */
.page-news .timeline {
  position: relative;
  padding: 1.5rem 0 2rem;
}

.page-news .timeline .container {
  position: relative;
  padding-left: 2.8rem;
}

/* 轨道 —— 垂直线 + 圆点 */
.page-news .timeline-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.5rem;
  width: 2.2rem;
  pointer-events: none;
  z-index: 0;
}

.page-news .rail-line {
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: 50%;
  width: var(--tl-rail-width, 3px);
  background: linear-gradient(to bottom, var(--color-gold, #D4AF37) 0%, var(--color-electric-blue, #00B4D8) 50%, var(--color-gold, #D4AF37) 100%);
  transform: translateX(-50%);
  border-radius: 4px;
  opacity: 0.7;
}

.page-news .rail-dot {
  position: absolute;
  left: 50%;
  width: var(--tl-dot-size, 18px);
  height: var(--tl-dot-size, 18px);
  background: var(--color-gold, #D4AF37);
  border: 3px solid var(--color-primary-dark, #0B1A2E);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.35), 0 0 20px rgba(212, 175, 55, 0.25);
  z-index: 2;
}

.page-news .dot-top {
  top: 2.2rem;
}

.page-news .dot-mid {
  top: 50%;
  transform: translate(-50%, -50%);
}

.page-news .dot-bot {
  bottom: 2.2rem;
}

/* 时间轴项目 */
.page-news .timeline-item {
  position: relative;
  padding: 0.25rem 0 0;
  z-index: 1;
}

.page-news .timeline-item + .timeline-item {
  margin-top: var(--tl-gap, 2.5rem);
}

/* 卡片 */
.page-news .tl-card {
  background: var(--color-dark-gray, #2C3E50);
  border-radius: var(--tl-card-radius, 24px);
  padding: var(--tl-card-padding, 1.5rem);
  box-shadow: var(--shadow-card, 0 4px 20px rgba(0,0,0,0.3));
  transition: transform var(--transition, 0.3s), box-shadow var(--transition, 0.3s);
  border: 1px solid rgba(212, 175, 55, 0.08);
}

.page-news .tl-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-hover, 0 8px 32px rgba(0,0,0,0.5));
  border-color: rgba(212, 175, 55, 0.2);
}

.page-news .tl-tag {
  display: inline-block;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-pill, 9999px);
  margin-bottom: 0.75rem;
}

.page-news .badge-gold {
  background: rgba(212, 175, 55, 0.2);
  color: var(--color-gold, #D4AF37);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.page-news .badge-electric {
  background: rgba(0, 180, 216, 0.15);
  color: var(--color-electric-blue, #00B4D8);
  border: 1px solid rgba(0, 180, 216, 0.35);
}

.page-news .badge-red {
  background: rgba(230, 57, 70, 0.18);
  color: var(--color-accent-red, #E63946);
  border: 1px solid rgba(230, 57, 70, 0.35);
}

.page-news .tl-card h2 {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  color: var(--color-gold, #D4AF37);
  margin: 0 0 0.6rem;
  line-height: 1.2;
}

.page-news .tl-lead {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.page-news .tl-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.page-news .tl-text {
  flex: 1;
}

.page-news .tl-text p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 0.6rem;
  letter-spacing: 0.02em;
}

.page-news .tl-text p:last-child {
  margin-bottom: 0;
}

.page-news .tl-figure {
  flex-shrink: 0;
  width: 100%;
  border-radius: var(--radius-md, 16px);
  overflow: hidden;
  background: var(--color-primary-dark, #0B1A2E);
}

.page-news .tl-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* 数据数字高亮 */
.page-news .data-number {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-weight: 500;
}

.page-news .text-electric {
  color: var(--color-electric-blue, #00B4D8);
}

.page-news .text-red {
  color: var(--color-accent-red, #E63946);
}

/* 斜切分隔线 */
.page-news .tl-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0.75rem 0.5rem;
  padding-left: 0;
  opacity: 0.5;
}

.page-news .divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold, #D4AF37) 0%, transparent 100%);
  border-radius: 2px;
}

.page-news .divider-arrow {
  font-size: 0.75rem;
  color: var(--color-gold, #D4AF37);
  line-height: 1;
}

/* 内容索引网格 */
.page-news .index-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--index-gap, 0.75rem);
}

.page-news .index-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(11, 26, 46, 0.5);
  border-radius: var(--radius-md, 16px);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition, 0.3s), border-color var(--transition, 0.3s), transform var(--transition, 0.3s);
}

.page-news .index-card:hover,
.page-news .index-card:focus-visible {
  background: rgba(11, 26, 46, 0.8);
  border-color: var(--color-gold, #D4AF37);
  transform: translateX(4px);
  outline: none;
}

.page-news .index-card:focus-visible {
  outline: 2px solid var(--color-gold, #D4AF37);
  outline-offset: 2px;
}

.page-news .index-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--color-gold, #D4AF37);
  background: rgba(212, 175, 55, 0.12);
  border-radius: 50%;
}

.page-news .index-title {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-white, #FFFFFF);
  white-space: nowrap;
}

.page-news .index-desc {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 底部装饰 */
.page-news .tl-footer-ornament {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0 2.5rem;
  opacity: 0.3;
}

.page-news .ornament-bar {
  width: 60px;
  height: 3px;
  background: var(--color-gold, #D4AF37);
  border-radius: 4px;
}

.page-news .ornament-dots {
  font-size: 0.9rem;
  letter-spacing: 0.6em;
  color: var(--color-gold, #D4AF37);
}

/* 返回顶部按钮 */
.page-news .scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 100;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-gold, #D4AF37);
  background: rgba(11, 26, 46, 0.85);
  color: var(--color-gold, #D4AF37);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition, 0.3s), transform var(--transition, 0.3s);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.page-news .scroll-top:hover,
.page-news .scroll-top:focus-visible {
  background: var(--color-gold, #D4AF37);
  color: var(--color-primary-dark, #0B1A2E);
  transform: scale(1.08);
  outline: none;
}

.page-news .scroll-top:focus-visible {
  outline: 2px solid var(--color-electric-blue, #00B4D8);
  outline-offset: 3px;
}

/* ========== 桌面端增强 ========== */
@media (min-width: 768px) {
  .page-news {
    --tl-dot-size: 22px;
    --tl-card-padding: 2rem 2.5rem;
    --tl-gap: 3.5rem;
    --index-gap: 1rem;
  }

  .page-news .news-hero {
    padding: 3rem 0 2rem;
  }

  .page-news .hero-layout {
    flex-direction: row;
    align-items: flex-end;
    gap: 2rem;
    margin-top: 0.5rem;
  }

  .page-news .hero-text {
    order: 1;
    flex: 1;
  }

  .page-news .hero-graphic {
    order: 2;
    flex: 0 0 380px;
    border-radius: var(--radius-lg, 24px);
  }

  .page-news .hero-img {
    max-height: 180px;
  }

  .page-news .hero-skew {
    height: 60px;
    clip-path: polygon(2% 100%, 100% 100%, 100% 0, 0 100%);
  }

  .page-news .timeline {
    padding: 2rem 0 3rem;
  }

  .page-news .timeline .container {
    padding-left: 4.5rem;
  }

  .page-news .timeline-rail {
    left: 1rem;
    width: 2.8rem;
  }

  .page-news .rail-line {
    width: var(--tl-rail-width, 4px);
  }

  .page-news .tl-card {
    border-radius: var(--tl-card-radius, 24px);
  }

  .page-news .item-lg .tl-card {
    padding: 2.5rem 3rem;
  }

  .page-news .tl-body {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }

  .page-news .tl-figure {
    width: 280px;
    flex-shrink: 0;
  }

  .page-news .item-lg .tl-figure {
    width: 340px;
  }

  .page-news .tl-divider {
    margin: 1.8rem 0 1.2rem 0.5rem;
  }

  .page-news .index-grid {
    grid-template-columns: 1fr 1fr;
    flex: 1;
  }

  .page-news .index-card {
    padding: 0.9rem 1.25rem;
  }

  .page-news .index-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .page-news .tl-footer-ornament {
    padding: 2rem 0 3.5rem;
  }

  .page-news .scroll-top {
    bottom: 2.5rem;
    right: 2.5rem;
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .page-news .hero-graphic {
    flex: 0 0 480px;
  }

  .page-news .hero-img {
    max-height: 220px;
  }

  .page-news .timeline .container {
    padding-left: 6rem;
  }

  .page-news .timeline-rail {
    left: 1.8rem;
    width: 3rem;
  }

  .page-news .tl-figure {
    width: 320px;
  }

  .page-news .item-lg .tl-figure {
    width: 400px;
  }

  .page-news .index-grid {
    gap: 1.25rem;
  }
}

/* 大屏微调 */
@media (min-width: 1280px) {
  .page-news .tl-card {
    max-width: 960px;
  }

  .page-news .item-lg .tl-card {
    max-width: 1040px;
  }
}
