/* 学友会活动详情 · 第六期尼泊尔（复用 alumni 色板，略增强暖金旅行感） */

.al-ev-max { --al-max: 1200px; }

.al-ev-hero {
  position: relative;
  min-height: min(82vh, 780px);
  display: flex;
  align-items: flex-end;
  color: var(--al-paper);
  overflow: hidden;
  background: #1a120c;
}
.al-ev-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 14, 10, 0.88) 0%, rgba(18, 14, 10, 0.55) 48%, rgba(18, 14, 10, 0.35) 100%),
    linear-gradient(180deg, transparent 40%, rgba(18, 14, 10, 0.92) 100%),
    url("/alumni/assets/events/nepal-2026/a01-hero.jpg") center 45% / cover no-repeat;
}
.al-ev-hero-poster {
  display: none;
}
.al-ev-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--al-max);
  margin: 0 auto;
  padding: 100px 20px 56px;
}
.al-ev-hero-sub {
  font-family: var(--al-font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: rgba(247, 244, 239, 0.88);
  margin: 0 0 10px;
}
.al-ev-hero-big {
  font-family: var(--al-font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
.al-ev-assist {
  margin: 0 0 18px;
  color: rgba(247, 244, 239, 0.62);
  font-size: 14px;
  letter-spacing: 0.08em;
}
.al-ev-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.al-ev-chip {
  font-size: 12px;
  padding: 7px 12px;
  border: 1px solid rgba(247, 244, 239, 0.28);
  background: rgba(255, 255, 255, 0.06);
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .al-ev-hero {
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    overflow: hidden;
  }
  .al-ev-hero-bg { display: none; }
  .al-ev-hero-poster {
    display: block;
    width: 100%;
    max-width: 100%;
    /* 覆盖 HTML height 属性，否则 aspect-ratio 失效、海报被撑超高并左右裁切 */
    height: auto;
    max-height: min(72vh, 560px);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
  }
  .al-ev-hero-inner {
    padding: 28px 20px 40px;
    background: #1a120c;
  }
}

/* 尼泊尔封面为竖版设计稿，按原比例完整显示，避免首屏裁切溢出 */
body[data-alumni-event="06-nepal"] .al-ev-hero-poster {
  object-position: center top;
}
@media (max-width: 720px) {
  body[data-alumni-event="06-nepal"] .al-ev-hero-poster {
    aspect-ratio: 9 / 16;
    max-height: min(70vh, 620px);
    object-fit: cover;
  }
}

.al-ev-prose {
  max-width: 820px;
}
.al-ev-prose p {
  color: var(--al-ink-soft);
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0 0 1.1em;
}
.al-ev-emphasize {
  font-family: var(--al-font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: var(--al-ink);
  border-left: 3px solid var(--al-gold);
  padding-left: 16px;
  margin: 28px 0 0;
  line-height: 1.5;
}

.al-ev-cities {
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) {
  .al-ev-cities { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .al-ev-cities { grid-template-columns: repeat(3, 1fr); }
}
.al-ev-city {
  background: var(--al-card);
  border: 1px solid var(--al-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.al-ev-city figure {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ddd;
}
.al-ev-city img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.al-ev-city-body { padding: 20px 18px 22px; }
.al-ev-city-no {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--al-gold);
  margin-bottom: 6px;
}
.al-ev-city h3 {
  font-family: var(--al-font-display);
  font-size: 1.2rem;
  margin: 0 0 10px;
}
.al-ev-city p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--al-muted);
  line-height: 1.7;
}
.al-ev-city-keys {
  font-size: 12px;
  color: var(--al-ink-soft);
  letter-spacing: 0.04em;
}
.al-illus-note {
  font-size: 11px;
  color: var(--al-muted);
  margin-top: 6px;
}

.al-ev-stats {
  display: grid;
  gap: 12px;
}
@media (min-width: 700px) {
  .al-ev-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .al-ev-stats { grid-template-columns: repeat(4, 1fr); }
}
.al-ev-stat {
  background: var(--al-card);
  border: 1px solid var(--al-line);
  padding: 24px 18px;
  border-top: 3px solid var(--al-gold);
}
.al-ev-stat strong {
  display: block;
  font-family: var(--al-font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 8px;
  line-height: 1.2;
}
.al-ev-stat span {
  font-size: 13px;
  color: var(--al-muted);
  line-height: 1.55;
}

.al-ev-welfare {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .al-ev-welfare {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}
.al-ev-welfare figure {
  margin: 0;
  border: 1px solid var(--al-line);
  overflow: hidden;
}
.al-ev-welfare img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.al-ev-welfare-title {
  font-family: var(--al-font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  margin: 0 0 14px;
  color: var(--al-ink);
}

.al-ev-info {
  display: grid;
  gap: 0;
  border: 1px solid var(--al-line);
  background: var(--al-card);
}
@media (min-width: 800px) {
  .al-ev-info { grid-template-columns: 1fr 1fr; }
}
.al-ev-info dt,
.al-ev-info dd {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--al-line);
  font-size: 14px;
}
.al-ev-info dt {
  background: rgba(168, 137, 74, 0.08);
  color: var(--al-ink-soft);
  font-weight: 600;
}
.al-ev-info dd { color: var(--al-ink); }
@media (min-width: 800px) {
  .al-ev-info dt:nth-last-child(2),
  .al-ev-info dd:last-child { border-bottom: none; }
}

.al-ev-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid rgba(168, 137, 74, 0.35);
}
.al-ev-timeline li {
  position: relative;
  padding: 0 0 22px 22px;
}
.al-ev-timeline li:last-child { padding-bottom: 0; }
.al-ev-timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--al-gold);
}
.al-ev-timeline strong {
  display: block;
  font-family: var(--al-font-display);
  margin-bottom: 4px;
}
.al-ev-timeline span {
  font-size: 14px;
  color: var(--al-muted);
  line-height: 1.65;
}

.al-ev-safety {
  background: #fffaf3;
  border: 1px solid rgba(168, 137, 74, 0.35);
  padding: 28px 24px;
}
.al-ev-safety p {
  margin: 0 0 12px;
  color: var(--al-ink-soft);
  font-size: 15px;
  line-height: 1.75;
}
.al-ev-safety-meta {
  margin-top: 16px;
  font-size: 12px;
  color: var(--al-muted);
}
.al-ev-safety-meta a {
  color: var(--al-gold);
}

.al-ev-card-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 720px) {
  .al-ev-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .al-ev-card-grid.al-ev-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.al-event-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  background: var(--al-card);
  border: 1px solid var(--al-line);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.25s var(--al-ease);
}
.al-event-card:hover {
  border-color: var(--al-gold);
  transform: translateY(-2px);
}
.al-event-card-cover {
  margin: 0;
  background: #1a120c;
  min-height: 160px;
}
.al-event-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.al-event-card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
}
.al-event-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.al-event-card-tag {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--al-gold);
  border: 1px solid rgba(168, 137, 74, 0.35);
  padding: 3px 8px;
}
.al-event-card h3 {
  font-family: var(--al-font-display);
  font-size: 1.1rem;
  margin: 0 0 8px;
  line-height: 1.35;
}
.al-event-card p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--al-muted);
  line-height: 1.6;
  flex: 1;
}
.al-event-card-meta {
  font-size: 12px;
  color: var(--al-ink-soft);
  margin-bottom: 10px;
}
.al-event-card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--al-gold);
}
.al-section--dark .al-event-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(247, 244, 239, 0.14);
  color: var(--al-paper);
}
.al-section--dark .al-event-card p { color: rgba(247, 244, 239, 0.65); }
.al-section--dark .al-event-card-meta { color: rgba(247, 244, 239, 0.55); }

.al-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.al-filter-btn {
  appearance: none;
  border: 1px solid var(--al-line);
  background: var(--al-card);
  color: var(--al-ink-soft);
  font-size: 13px;
  padding: 8px 14px;
  cursor: pointer;
  font-family: inherit;
}
.al-filter-btn.is-active,
.al-filter-btn:hover {
  border-color: var(--al-gold);
  color: var(--al-ink);
  background: var(--al-gold-soft);
}

.al-ev-foot-note {
  margin-top: 28px;
  font-size: 12px;
  color: var(--al-muted);
  line-height: 1.6;
}

@media (max-width: 560px) {
  .al-event-card { grid-template-columns: 1fr; }
  .al-event-card-cover { aspect-ratio: 16 / 10; min-height: 0; }
}

/* —— 第一期嘉善沙龙 —— */
body[data-alumni-event="01-jiashan-salon"] .al-ev-hero-bg {
  background:
    linear-gradient(105deg, rgba(18, 14, 10, 0.9) 0%, rgba(18, 14, 10, 0.58) 48%, rgba(18, 14, 10, 0.38) 100%),
    linear-gradient(180deg, transparent 38%, rgba(18, 14, 10, 0.92) 100%),
    url("/alumni/assets/events/jiashan-salon-01/a01-hero.jpg?v=20260915g") center 35% / cover no-repeat;
}
body[data-alumni-event="01-jiashan-salon"] .al-ev-hero-poster {
  object-position: center 30%;
}

body[data-alumni-event="02-ai-tools"] .al-ev-hero-bg {
  background:
    linear-gradient(105deg, rgba(18, 14, 10, 0.88) 0%, rgba(18, 14, 10, 0.55) 48%, rgba(18, 14, 10, 0.32) 100%),
    linear-gradient(180deg, transparent 36%, rgba(18, 14, 10, 0.92) 100%),
    url("/alumni/assets/events/ai-tools-02/a01-hero.jpg?v=20260915g2") center 42% / cover no-repeat;
}
body[data-alumni-event="02-ai-tools"] .al-ev-hero-poster {
  object-position: center 12%;
}
/* 第二期合影：整图展示，不做左右裁切 */
body[data-alumni-event="02-ai-tools"] .al-ev-photo--full {
  margin: 8px 0 22px;
  max-width: 960px;
  overflow: visible;
  background: #f3efe8;
}
body[data-alumni-event="02-ai-tools"] .al-ev-photo--full img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  display: block;
}
body[data-alumni-event="02-ai-tools"] .al-ev-caption-row {
  max-width: 720px;
}
body[data-alumni-event="02-ai-tools"] .al-ev-note {
  color: var(--al-muted);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.7;
}
body[data-alumni-event="02-ai-tools"] .al-ev-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  background: #f3efe8;
}
body[data-alumni-event="02-ai-tools"] .al-video-block video {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #000;
}
body[data-alumni-event="01-jiashan-salon"] .al-video-block video {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #000;
}

body[data-alumni-event="03-growth-dialogue"] .al-ev-hero-bg {
  background:
    linear-gradient(105deg, rgba(18, 14, 10, 0.92) 0%, rgba(18, 14, 10, 0.72) 52%, rgba(18, 14, 10, 0.55) 100%),
    linear-gradient(180deg, transparent 30%, rgba(18, 14, 10, 0.94) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(168, 137, 74, 0.22), transparent 55%),
    #1a120c;
}

body[data-alumni-event="04-upgrade-connect"] .al-ev-hero-bg {
  background:
    linear-gradient(105deg, rgba(18, 14, 10, 0.92) 0%, rgba(18, 14, 10, 0.7) 50%, rgba(18, 14, 10, 0.52) 100%),
    linear-gradient(180deg, transparent 28%, rgba(18, 14, 10, 0.94) 100%),
    radial-gradient(ellipse at 30% 15%, rgba(168, 137, 74, 0.2), transparent 50%),
    #16120e;
}

.al-ev-photo-pending {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--al-line);
  background: var(--al-card);
}
@media (min-width: 800px) {
  .al-ev-photo-pending {
    grid-template-columns: 160px 1fr;
  }
}
.al-ev-photo-pending img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: 1px solid var(--al-line);
  display: block;
}
.al-ev-photo-pending h3 {
  font-family: var(--al-font-display);
  margin: 0 0 8px;
  font-size: 1.25rem;
}
.al-ev-photo-pending p {
  margin: 0 0 16px;
  color: var(--al-muted);
  font-size: 14px;
  line-height: 1.7;
}

.al-ev-split {
  display: grid;
  gap: 24px;
  margin-top: 8px;
  align-items: center;
}
@media (min-width: 900px) {
  .al-ev-split {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .al-ev-split--rev {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .al-ev-split--rev > .al-ev-photo { order: -1; }
}
.al-ev-photo {
  margin: 0;
  border: 1px solid var(--al-line);
  overflow: hidden;
  background: #1a120c;
}
.al-ev-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.al-ev-theme {
  display: grid;
  gap: 24px;
  margin-top: 8px;
}
@media (min-width: 900px) {
  .al-ev-theme {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}
.al-ev-theme-label {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--al-gold);
}
.al-ev-theme-title {
  font-family: var(--al-font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  margin: 0 0 18px;
  line-height: 1.35;
}
.al-ev-info--compact {
  max-width: 520px;
}
.al-ev-bullets {
  margin: 16px 0 0;
  padding: 0 0 0 1.1em;
  color: var(--al-ink-soft);
  line-height: 1.85;
}
.al-ev-bullets li { margin-bottom: 4px; }

.al-ev-gallery {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
@media (min-width: 700px) {
  .al-ev-gallery { grid-template-columns: repeat(2, 1fr); }
}
.al-ev-gallery figure {
  margin: 0;
  border: 1px solid var(--al-line);
  overflow: hidden;
  background: #1a120c;
}
.al-ev-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--al-ease);
}
.al-ev-gallery figure:hover img {
  transform: scale(1.03);
}
