.content-page-body { min-height: 100vh; background: var(--bg); }
.content-page-header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(28px, calc((100vw - 1180px) / 2)); background: var(--surface, #fff); border-bottom: 1px solid var(--line); }
.content-page-actions { display: flex; align-items: center; gap: 24px; }
.return-home { color: var(--blue); font-size: 14px; }
.content-page-main { width: min(100% - 48px, 960px); margin: 70px auto 100px; }
.content-page-card { overflow: hidden; padding: clamp(24px, 5vw, 64px); background: var(--surface, #fff); border: 1px solid var(--line); box-shadow: 0 18px 55px #12274312; }
.content-page-card h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1.25; margin: 20px 0 22px; white-space: pre-line; overflow-wrap: anywhere; }
.content-page-summary { color: var(--muted); font-size: 19px; max-width: 720px; overflow-wrap: anywhere; }
.event-switcher { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 12px; }
.event-switcher a { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: 14px; }
.event-switcher a:hover, .event-switcher a.selected { border-color: var(--blue); color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, transparent); }
.event-note { margin: 14px 0; color: var(--muted); line-height: 1.8; }
.event-action { display: inline-flex; align-items: center; margin: 4px 0 12px; padding: 12px 20px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; }
.event-action:hover { filter: brightness(1.08); }
.content-page-body-copy { margin: 34px 0; max-width: 760px; line-height: 2; overflow-wrap: anywhere; }
.content-page-body-copy p { margin: 0 0 20px; white-space: pre-wrap; }
.content-page-body-copy h2 { margin: 34px 0 14px; font-size: clamp(22px, 3vw, 32px); line-height: 1.35; overflow-wrap: anywhere; }
.content-page-body-copy h3 { margin: 28px 0 10px; font-size: clamp(19px, 2.5vw, 24px); line-height: 1.5; overflow-wrap: anywhere; }
.content-page-list { margin: 24px 0; padding-left: 1.4em; line-height: 1.9; }
.content-page-list li { margin: 8px 0; overflow-wrap: anywhere; }
.content-page-figure { margin: 28px 0; }
.content-page-image { display: block; width: 100%; max-height: 620px; object-fit: contain; background: var(--bg); }
.content-page-long-figure .content-page-image { max-height: none; }
.article-date { display: block; color: var(--muted); font-size: 13px; margin: 4px 0 18px; }
[data-theme="dark"] .content-page-card { box-shadow: 0 18px 55px #0004; }

/* 年夜饭照片直播 */
.event-gallery {
  margin-top: clamp(34px, 5vw, 64px);
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.event-gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 24px;
  align-items: end;
}
.event-gallery-heading .eyebrow { grid-column: 1 / -1; }
.event-gallery-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.25;
}
.event-gallery-subtitle {
  grid-column: 1 / -1;
  max-width: 700px;
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.8;
}
.event-gallery-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.event-gallery-meta span + span::before {
  content: "·";
  margin-right: 14px;
  color: var(--line);
}
.event-gallery-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}
.event-gallery-search,
.event-gallery-filter {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  padding: 8px 12px;
}
.event-gallery-search {
  flex: 1 1 240px;
  min-width: 180px;
}
.event-gallery-filter { flex: 0 1 180px; }
.event-gallery-search::placeholder { color: var(--muted); }
.event-gallery-search:focus,
.event-gallery-filter:focus {
  outline: 3px solid color-mix(in srgb, var(--blue) 22%, transparent);
  outline-offset: 1px;
  border-color: var(--blue);
}
.event-gallery-status {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.event-gallery-empty {
  margin: 24px 0 0;
  padding: 32px 20px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--muted);
  text-align: center;
}
.event-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 14px;
}
.event-photo-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  text-align: left;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.event-photo-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--blue) 65%, var(--line));
  box-shadow: 0 12px 28px #1027431c;
}
.event-photo-card:focus-visible {
  outline: 3px solid #f1aa36;
  outline-offset: 3px;
}
.event-photo-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--surface, #fff);
  transition: transform .25s ease;
}
.event-photo-card:hover .event-photo-thumb { transform: scale(1.04); }
.event-photo-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  overflow: hidden;
  padding: 3px 8px;
  border: 1px solid #ffffff5c;
  border-radius: 999px;
  background: #102743b8;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
.event-gallery-more {
  display: block;
  min-height: 42px;
  margin: 22px auto 0;
  padding: 8px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface, #fff);
  color: var(--ink);
  font-size: 14px;
}
.event-gallery-more:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* 相册灯箱 */
.event-lightbox {
  width: min(100% - 28px, 1180px);
  max-width: 1180px;
  max-height: calc(100vh - 28px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ffffff24;
  border-radius: 16px;
  background: #0c1420;
  color: #fff;
  box-shadow: 0 28px 90px #0009;
}
.event-lightbox::backdrop {
  background: #030811d9;
  backdrop-filter: blur(6px);
}
.event-lightbox-frame {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto auto;
  width: 100%;
  min-height: 240px;
  max-height: calc(100vh - 28px);
  padding: 52px 22px 18px;
}
.event-lightbox-stage {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  height: min(70vh, 760px);
  max-height: calc(100vh - 150px);
  overflow: hidden;
  border-radius: 8px;
  background: #050a12;
  overscroll-behavior: contain;
}
.event-lightbox-stage:focus-visible {
  outline: 3px solid #f1aa36;
  outline-offset: -3px;
}
.event-lightbox-stage.is-scroll {
  display: block;
  overflow: auto;
  cursor: grab;
  scrollbar-gutter: stable;
}
.event-lightbox-stage.is-scroll:active { cursor: grabbing; }
.event-lightbox-stage.is-scroll .event-lightbox-image {
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: initial;
}
.event-lightbox-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: contain;
  border-radius: 8px;
  background: #050a12;
}
.event-lightbox-close,
.event-lightbox-nav,
.event-lightbox-autoplay,
.event-lightbox-fullscreen,
.event-lightbox-download,
.event-lightbox-scroll {
  border: 1px solid #ffffff33;
  color: #fff;
  background: #ffffff14;
  transition: background .2s ease, border-color .2s ease;
}
.event-lightbox-close:hover,
.event-lightbox-nav:hover,
.event-lightbox-autoplay:hover,
.event-lightbox-fullscreen:hover,
.event-lightbox-download:hover,
.event-lightbox-scroll:hover {
  border-color: #ffffff80;
  background: #ffffff2b;
}
.event-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  min-width: 42px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
}
.event-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 44px;
  height: 58px;
  margin-top: -29px;
  border-radius: 999px;
  font-size: 36px;
  line-height: 1;
}
.event-lightbox-prev { left: 14px; }
.event-lightbox-next { right: 14px; }
.event-lightbox-autoplay[aria-pressed="true"] {
  border-color: #f1aa36;
  background: #f1aa3626;
  color: #ffd993;
}
.event-lightbox-caption {
  min-height: 24px;
  margin: 12px 56px 0;
  color: #dfe9f7;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  overflow-wrap: anywhere;
}
.event-lightbox-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.event-lightbox-thumbs-wrap {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-top: 14px;
}
.event-lightbox-thumbs {
  display: flex;
  gap: 8px;
  min-width: 0;
  min-height: 74px;
  padding: 4px 2px 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #ffffff55 #050a12;
}
.event-lightbox-thumb {
  flex: 0 0 82px;
  width: 82px;
  height: 62px;
  padding: 2px;
  overflow: hidden;
  border: 1px solid #ffffff26;
  border-radius: 7px;
  background: #050a12;
  opacity: .72;
  transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}
.event-lightbox-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.event-lightbox-thumb:hover,
.event-lightbox-thumb.selected {
  border-color: #f1aa36;
  opacity: 1;
  transform: translateY(-2px);
}
.event-lightbox-thumb.selected { box-shadow: 0 0 0 2px #f1aa3666; }
.event-lightbox-thumbs-nav {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff33;
  border-radius: 999px;
  background: #ffffff14;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}
.event-lightbox-thumbs-nav:hover { border-color: #ffffff80; background: #ffffff2b; }
.event-lightbox-download,
.event-lightbox-fullscreen,
.event-lightbox-autoplay,
.event-lightbox-scroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
}

.event-lightbox-stage.is-scroll::-webkit-scrollbar { width: 10px; height: 10px; }
.event-lightbox-stage.is-scroll::-webkit-scrollbar-thumb { border: 3px solid #050a12; border-radius: 999px; background: #ffffff55; }
.event-lightbox-stage.is-scroll::-webkit-scrollbar-track { background: #050a12; }
.event-lightbox-frame:fullscreen { width: 100vw; height: 100vh; max-height: none; padding: 58px 30px 22px; background: #0c1420; }
.event-lightbox-frame:fullscreen .event-lightbox-stage { height: calc(100vh - 150px); max-height: none; }
.event-lightbox-frame:fullscreen .event-lightbox-thumbs { min-height: 86px; }

[data-theme="dark"] .event-photo-card:hover { box-shadow: 0 12px 28px #0006; }
[data-theme="dark"] .event-gallery-more { background: var(--surface); }

@media (max-width: 700px) {
  .content-page-header { padding: 14px 20px; flex-wrap: wrap; gap: 10px; }
  .content-page-actions { gap: 10px; }
  .content-page-actions .theme-control label { display: none; }
  .content-page-main { width: min(100% - 28px, 960px); margin-top: 34px; }
  .content-page-card { padding: 24px 20px; }
  .content-page-card h1 { font-size: 34px; }
  .content-page-summary { font-size: 16px; }
  .event-gallery { margin-top: 36px; padding-top: 28px; }
  .event-gallery-heading { display: block; }
  .event-gallery-heading h2 { margin-top: 8px; }
  .event-gallery-meta { justify-content: flex-start; margin-top: 12px; }
  .event-gallery-toolbar { align-items: stretch; margin-top: 20px; }
  .event-gallery-search,
  .event-gallery-filter { flex-basis: 100%; width: 100%; }
  .event-gallery-status { margin-left: 0; }
  .event-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .event-photo-card { border-radius: 9px; }
  .event-photo-tag { left: 6px; right: 6px; bottom: 6px; max-width: none; }
  .event-lightbox {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    border-radius: 12px;
  }
  .event-lightbox-frame {
    max-height: calc(100vh - 16px);
    padding: 52px 10px 14px;
  }
  .event-lightbox-stage { height: min(68vh, 560px); max-height: calc(100vh - 150px); }
  .event-lightbox-stage.is-scroll .event-lightbox-image { width: 100%; height: auto; }
  .event-lightbox-nav { width: 36px; height: 48px; margin-top: -24px; font-size: 30px; }
  .event-lightbox-prev { left: 8px; }
  .event-lightbox-next { right: 8px; }
  .event-lightbox-caption { margin-left: 36px; margin-right: 36px; }
  .event-lightbox-thumbs-wrap { gap: 5px; margin-top: 10px; }
  .event-lightbox-thumbs { gap: 6px; min-height: 62px; padding-bottom: 5px; }
  .event-lightbox-thumb { flex-basis: 66px; width: 66px; height: 50px; }
  .event-lightbox-thumbs-nav { width: 28px; height: 38px; font-size: 23px; }
}
