/* 英雄区与轮播 */
.hero { position: relative; min-height: calc(100vh - 64px); overflow: hidden; background: #000; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(.9) contrast(1.1); background-image: url('https://1849591934.v.123pan.cn/1849591934/img/bml/th.jpg'); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 40%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; color: var(--white); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; padding: 8vh 0 10vh; }

.years { display: flex; align-items: flex-end; gap: 24px; }
.year-big { line-height: .9; font-weight: 900; font-size: clamp(120px, 26vw, 320px); background: linear-gradient(180deg, #ffe0f0 0%, #a960f3 40%, #7a3cff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 8px 16px rgba(0,0,0,.45)); }
.year-meta { margin-bottom: 28px; }
.year-meta .meta-top { font-weight: 700; letter-spacing: 2px; opacity: .9; }
.year-meta .meta-bottom { margin-top: 8px; opacity: .8; }

.hero-right .slogan { font-size: clamp(28px, 4.6vw, 60px); margin: 0 0 12px; }
.hero-right .sub { margin: 0 0 20px; opacity: .9; max-width: 560px; }
.cta-group { display: flex; gap: 12px; }

.carousel-controls { position: absolute; right: 20px; bottom: 20px; display: flex; gap: 8px; z-index: 2; }
.ctrl { width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(255,255,255,.2); color: #fff; font-size: 18px; cursor: pointer; }
.ctrl:hover { background: rgba(255,255,255,.35); }

/* 检测模块 */
.checks { background: #fff; padding: 64px 0; }
.checks h2 { text-align: center; margin: 0 0 24px; font-size: 28px; }
.check-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.check-list li { background: #fafafa; border: 1px solid #eee; border-radius: 12px; padding: 16px; }
.check-list h3 { margin: 0 0 8px; font-size: 18px; }
.check-list p { margin: 0; color: var(--muted); }

/* 通用版块与媒体栅格 */
.section { background: #fff; padding: 48px 0; }
.section h2 { margin: 0 0 16px; font-size: 26px; }
.muted { color: var(--muted); }
.feature-list { margin: 12px 0 0; padding-left: 20px; }
.feature-list li { margin: 6px 0; }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.media-card { background: #fff; border: 1px solid #eee; border-radius: 12px; overflow: hidden; }
.media-card img, .media-card video {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3; /* 统一比例 */
  object-fit: cover;   /* 居中裁剪，保证统一高度 */
}
.media-card .body { padding: 12px; }

/* 二维码弹窗 */
.modal { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.4); backdrop-filter: blur(2px); z-index: 2000; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box { background: #fff; border-radius: 16px; width: min(92vw, 360px); padding: 16px; box-shadow: 0 20px 40px rgba(0,0,0,.25); position: relative; }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.modal-title { font-weight: 700; }
.modal-close { position: absolute; right: 12px; top: 12px; border: none; background: transparent; font-size: 22px; cursor: pointer; }
.qr-box { display: grid; place-items: center; }
.qr-box img { width: 240px; height: 240px; object-fit: contain; }
.qr-tips { text-align: center; color: var(--muted); margin-top: 8px; font-size: 14px; }

/* 达人秀（故事网格） */
.stories { background:#fff; padding: 36px 0 64px; }
.stories .heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.stories h2 { margin:0; font-size:28px; }
.story-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:18px; margin-top:18px; }
.story-card { display:flex; flex-direction: column-reverse; border-radius:14px; overflow:hidden; background:#fff; border:1px solid #eee; box-shadow: 0 6px 14px rgba(0,0,0,.06); }
.story-card img { width:100%; height:auto; object-fit:cover; display:block; opacity:1; aspect-ratio: 4 / 3; transition: transform .25s ease; }
.story-card .content { position:static; padding:14px; display:flex; flex-direction:column; color:#111; gap:6px; }
.story-card .title { font-weight:800; font-size:18px; line-height:1.3; }
.story-card .desc { margin-top:6px; font-size:13px; opacity:.92; }
.story-card .meta { margin-top:8px; font-size:12px; opacity:.8; }
.story-card:hover { transform: translateY(-2px); transition:.2s ease; box-shadow: 0 10px 20px rgba(0,0,0,.1); }
.story-card:hover img { transform: scale(1.02); }

/* 营地介绍（Camp） */
#camp .camp-header { padding: 10px 0 18px; }
#camp .camp-title { margin: 0; font-size: 28px; }
#camp .camp-tagline { margin: 6px 0 12px; }
#camp .camp-highlights { display:flex; gap:10px; flex-wrap:wrap; }
#camp .chip {
  display:inline-flex; align-items:center; gap:6px;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff1a6; color: #111; font-weight: 700; font-size: 12px;
}

#camp .camp-block { margin-top: 22px; }
#camp .camp-block-title { margin: 0 0 10px; display:flex; align-items:center; gap:8px; }
#camp .camp-block-title .badge {
  display:inline-block; font-size:12px; font-weight:800; color:#111; background: var(--yellow);
  border-radius: 8px; padding: 4px 8px; letter-spacing: .5px;
}
#camp .camp-block-title .badge-secondary { background: #111; color: #fff; }
#camp .camp-desc { margin: 6px 0 12px; color: var(--muted); }

#camp .camp-grid { margin-top: 8px; }
#camp .media-card { border: 1px solid #eee; box-shadow: 0 6px 14px rgba(0,0,0,.06); }
#camp .media-card:hover { transform: translateY(-2px); transition:.2s ease; }

/* 师资团队 */
#winter .faculty-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap:18px; margin-top:18px; }
#winter .faculty-card { display:grid; grid-template-columns: 220px 1fr; align-items:center; gap:18px; background:#fff; border:1px solid #eee; border-radius:14px; padding:16px; box-shadow: 0 6px 14px rgba(0,0,0,.06); }
#winter .avatar-wrap { position:relative; width:220px; border-radius:14px; overflow:hidden; background:#fafafa; border:1px solid #e5e5e5; }
#winter .avatar { width:100%; height:auto; object-fit:contain; display:block; }
#winter .fac-title { margin:0; font-size:18px; font-weight:800; }
#winter .fac-sub { margin:4px 0 10px; color: var(--muted); }
#winter .fac-list { margin:0; padding-left:18px; }
#winter .fac-list li { margin:4px 0; }
#winter .fac-actions { margin-top:10px; }

/* 图片预览弹窗 */
.modal-box.preview-box { width: fit-content; max-width: 92vw; max-height: 92vh; overflow: auto; }
.preview-img { width: auto; max-width: 86vw; max-height: 90vh; object-fit: contain; border-radius: 12px; cursor: zoom-in; }
.preview-img.zoomed { max-width: none; max-height: none; width: auto; height: auto; cursor: zoom-out; }
.preview-caption { text-align: center; color: var(--muted); margin-top: 8px; font-size: 14px; }

@media (max-width: 640px) {
  #camp .camp-highlights { gap:8px; }
}
#news .media-grid { grid-template-columns: repeat(6, 1fr); gap: 6px; }
#news .media-card { background: transparent; border: none; box-shadow: none; border-radius: 8px; margin: 0; }
#news .media-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border: 1px solid #eee; border-radius: 8px; display:block; }

/* 关于我们（About） */
#about .lead { margin: 6px 0 14px; max-width: 800px; }
#about .about-block { margin-top: 18px; }
#about h3 { margin: 0 0 10px; font-size: 20px; }
#about h4 { margin: 8px 0 8px; font-size: 16px; color: #222; }

#about .about-hero { position: relative; background:#000; min-height: 42vh; overflow:hidden; }
#about .about-hero-bg { position:absolute; inset:0; background-image:url('https://imgbed.3my.top/jsf/th.jpg'); background-size:cover; background-position:center; filter: blur(2px) saturate(.9) contrast(1.1); opacity:.9; }
#about .about-hero::before { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 60%); }
#about .about-hero .container { position:relative; z-index:1; color:#fff; padding: 10vh 0; }
#about .about-hero-eyebrow { color:#fff; letter-spacing:1px; opacity:.85; font-weight:700; }
#about .about-hero-title { margin:8px 0 8px; font-weight:900; font-size: clamp(30px, 5vw, 64px); color: var(--yellow); text-transform: uppercase; }
#about .about-hero-sub { margin:0; opacity:.9; }

#about .about-intro { background: var(--yellow); padding: 42px 0; }
#about .intro-grid { display:grid; grid-template-columns: 1.2fr .8fr; align-items:center; gap:24px; }
#about .intro-eyebrow { font-weight:700; letter-spacing:1px; }
#about .intro-title { margin:8px 0 12px; font-size: 34px; font-weight:900; }
#about .intro-lead { margin:0; color:#111; line-height:1.9; }
#about .intro-media { position:relative; min-height:260px; }
#about .circle { position:absolute; border-radius:50%; overflow:hidden; box-shadow: 0 10px 24px rgba(0,0,0,.18); border: 8px solid #fff; background:#fff; }
#about .circle img { width:100%; height:100%; object-fit:cover; display:block; }
#about .circle-lg { width:340px; height:340px; right: 0; top: -40px; }
#about .circle-sm { width:180px; height:180px; left: 20px; bottom: -40px; }

#about .about-details { padding: 48px 0; background:#fff; }

@media (max-width: 980px) {
  #about .intro-grid { grid-template-columns: 1fr; }
  #about .intro-media { min-height: 280px; }
  #about .circle-lg { position:relative; top:0; right:auto; left:50%; transform:translateX(-50%); }
  #about .circle-sm { left: 10%; bottom: -20px; }
  #about .about-hero .container { padding: 8vh 0; }
}
