/* ========================================
   事件详情页专用样式 - 独立事件页面
   ======================================== */

/* ===== 页面头部 ===== */
.event-header {
  background: linear-gradient(135deg, #1B2A4A 0%, #2C2C2C 100%);
  color: #F5F0E8;
  padding: 1.5rem 0 3rem;
}

.event-header .container {
  max-width: 1100px;
}

.event-header .breadcrumb {
  padding: 0.5rem 0 1.5rem;
  font-size: 0.85rem;
  color: #999;
}

.event-header .breadcrumb a {
  color: #ccc;
  text-decoration: none;
}

.event-header .breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.event-header .breadcrumb span {
  margin: 0 0.4rem;
  color: #666;
}

.event-header .breadcrumb .current {
  color: #F5F0E8;
}

/* ===== Hero 区域 ===== */
.event-hero {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.event-hero.no-image {
  gap: 0;
}

.event-hero-img {
  flex: 0 0 45%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.event-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s;
}

.event-hero-img img:hover {
  transform: scale(1.03);
}

.event-hero-info {
  flex: 1;
  min-width: 0;
}

.event-hero-info h1 {
  font-size: 2rem;
  color: #F5F0E8;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.event-hero-info .subtitle {
  font-size: 1.05rem;
  color: #aaa;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.event-key {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.7;
  margin: 1.25rem 0;
}

/* ===== 标签系统 ===== */
.event-tags {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.event-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: #ddd;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

.event-tag.theater {
  background: rgba(139,58,58,0.3);
  border: 1px solid rgba(139,58,58,0.4);
}

.event-tag.result {
  background: rgba(27,42,74,0.4);
  border: 1px solid rgba(27,42,74,0.5);
}

.event-tag.role {
  background: rgba(245,240,232,0.15);
  border: 1px solid rgba(245,240,232,0.2);
}

/* ===== 统计卡片行 ===== */
.event-stat-row {
  display: flex;
  gap: 1.25rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.event-stat {
  background: rgba(255,255,255,0.08);
  padding: 0.9rem 1.25rem;
  border-radius: 6px;
  border-left: 3px solid #8B3A3A;
  min-width: 140px;
}

.event-stat .val {
  font-size: 1rem;
  font-weight: 600;
  color: #F5F0E8;
  line-height: 1.5;
}

.event-stat .lbl {
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.25rem;
}

/* ===== 内容区块 ===== */
.event-section {
  padding: 2.5rem 0;
}

.event-section:nth-child(odd) {
  background: #fff;
}

.event-section:nth-child(even) {
  background: #F5F0E8;
}

.event-section .container {
  max-width: 900px;
}

.event-section h2 {
  font-size: 1.4rem;
  color: #1B2A4A;
  padding-left: 1rem;
  border-left: 4px solid #8B3A3A;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

/* ===== 叙事文本 ===== */
.event-narrative {
  background: #fff;
  padding: 2rem;
  border-radius: 6px;
  line-height: 2;
  font-size: 1.05rem;
  color: #2C2C2C;
  border: 1px solid #e8e0d4;
}

.event-narrative p {
  margin-bottom: 1.25rem;
}

/* ===== 关键事实列表 ===== */
.event-fact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.event-fact {
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  border-left: 3px solid #1B2A4A;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
}

/* ===== 时间线 ===== */
.event-timeline {
  position: relative;
  padding-left: 2.5rem;
  margin: 1.5rem 0;
}

.event-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #1B2A4A, #8B3A3A);
}

.event-timeline-item {
  position: relative;
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  display: grid;
  grid-template-columns: minmax(124px, max-content) 1fr;
  gap: 1rem;
  align-items: start;
}

.event-timeline-item::before {
  content: '';
  position: absolute;
  left: -2.15rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #8B3A3A;
  border: 3px solid #F5F0E8;
  box-shadow: 0 0 0 2px #8B3A3A;
}

.tl-date {
  font-weight: 700;
  color: #8B3A3A;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.tl-text {
  color: #555;
  font-size: 0.95rem;
}

.deep-brief {
  background: #fff;
  border: 1px solid #e8e0d4;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(27, 42, 74, 0.1);
  overflow: hidden;
}

.deep-brief-lead {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  padding: 1.4rem 1.6rem;
  background: #1B2A4A;
  color: #F5F0E8;
}

.deep-brief-lead span {
  color: #d8c8a8;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.deep-brief-lead p {
  margin: 0;
  color: #F5F0E8;
}

.deep-brief-grid,
.read-next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e8e0d4;
}

.deep-brief-grid div,
.read-next-grid div {
  background: #fff;
  padding: 1.2rem;
}

.deep-brief-grid strong,
.read-next-grid strong {
  color: #1B2A4A;
  font-family: "STSong", "SimSun", serif;
}

.deep-brief-grid p,
.read-next-grid p {
  margin: 0.4rem 0 0;
  color: #555;
  font-size: 0.94rem;
}

.interpretation-card {
  background: #1B2A4A;
  color: #F5F0E8;
  border-radius: 8px;
  padding: 1.8rem 2rem;
  box-shadow: 0 10px 28px rgba(27, 42, 74, 0.14);
}

.interpretation-card p {
  margin: 0;
  color: #F5F0E8;
  font-size: 1.05rem;
}

/* ===== 相关推荐 ===== */
.related-section {
  background: #fff !important;
}

.event-related {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.event-related a {
  display: flex;
  flex-direction: column;
  background: #F5F0E8;
  padding: 0.75rem 1.25rem;
  border: 1px solid #e0d8c8;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
  min-width: 180px;
}

.event-related a:hover {
  background: #1B2A4A;
  border-color: #1B2A4A;
}

.event-related a:hover .rel-name {
  color: #F5F0E8;
}

.event-related a:hover .rel-type {
  color: #8B3A3A;
}

.rel-name {
  font-weight: 600;
  color: #2C2C2C;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.rel-type {
  font-size: 0.75rem;
  color: #999;
}

/* ===== 灯箱 ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 4px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .event-hero {
    flex-direction: column;
  }
  .event-hero-img {
    flex: 0 0 100%;
  }
  .event-hero-info h1 {
    font-size: 1.5rem;
  }
  .event-stat-row {
    gap: 0.5rem;
  }
  .event-stat {
    min-width: 120px;
    padding: 0.6rem 1rem;
  }
  .event-fact-list {
    grid-template-columns: 1fr;
  }
  .event-timeline-item,
  .deep-brief-lead,
  .deep-brief-grid,
  .read-next-grid {
    grid-template-columns: 1fr;
  }
  .event-narrative {
    padding: 1.25rem;
    font-size: 0.95rem;
  }
}
