* {
  box-sizing: border-box;
}

:root {
  --paper: #f6fbfa;
  --paper-strong: #fff;
  --ink: #221f20;
  --muted: #5f6967;
  --line: #dbe8e5;
  --peach: #e66c54;
  --mint: #4f9a87;
  --gold: #a56f18;
  --soft-mint: #e7f3ef;
  --soft-peach: #ffece7;
}

html {
  background: var(--paper);
}

body {
  min-width: 1080px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(232, 246, 242, .96), rgba(255, 248, 246, .82) 330px, rgba(246, 251, 250, .98) 620px),
    var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

main {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
  padding: 36px 0 72px;
}

.hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 46px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: 58px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 680px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .7);
}

.stat {
  min-height: 88px;
  padding: 17px 18px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: none;
}

.stat strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-strong);
  box-shadow: 0 24px 70px rgba(35, 86, 76, .13);
}

.hero-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft-mint);
}

.hero-panel div {
  padding: 22px;
}

.hero-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--peach);
  font-size: 13px;
  font-weight: 700;
}

.hero-panel strong {
  display: block;
  font-size: 22px;
  line-height: 1.35;
}

.hero-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.mini-program-panel {
  padding: 28px;
  text-align: center;
}

.mini-program-panel img {
  width: min(258px, 100%);
  margin: 0 auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.mini-program-panel div {
  padding: 18px 0 0;
}

.mini-program-panel strong {
  font-size: 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  padding: 38px 0 20px;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 1.2;
}

.section-head > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
}

.activity-list {
  display: grid;
  gap: 18px;
}

.activity {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 286px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-strong);
}

.activity-featured {
  grid-template-columns: 420px minmax(0, 1fr);
  min-height: 338px;
}

.activity-media {
  position: relative;
  height: 286px;
  background: var(--soft-mint);
}

.activity-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-featured .activity-media {
  height: 338px;
}

.status {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.status.is-live {
  color: #21745f;
}

.status.is-closed {
  color: #8a5a11;
}

.status.is-ended {
  color: #786f68;
}

.activity-body {
  min-width: 0;
  padding: 26px 30px;
}

.activity-kicker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.activity-kicker span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--soft-peach);
  color: #8f4939;
  font-size: 12px;
  font-weight: 700;
}

.activity-kicker span:nth-child(2) {
  background: var(--soft-mint);
  color: #317363;
}

.activity h2 {
  margin-bottom: 17px;
  font-size: 28px;
  line-height: 1.32;
  letter-spacing: 0;
}

.activity-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.meta-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-height: 58px;
  padding: 10px;
  border: 1px solid #e4efec;
  border-radius: 8px;
  background: #fbfffe;
}

.meta-item span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.meta-item p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.copy {
  color: #3b3633;
  font-size: 15px;
  line-height: 1.78;
}

.copy p {
  margin-bottom: 10px;
}

.copy p:last-child {
  margin-bottom: 0;
}

.tips {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: #f3faf7;
  color: #405a54;
  font-size: 14px;
  line-height: 1.7;
}

.tips span {
  display: block;
  margin-bottom: 6px;
  color: #8c5f17;
  font-weight: 700;
}

.tips p {
  margin-bottom: 8px;
}

.tips p:last-child {
  margin-bottom: 0;
}

.activity-foot {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f0e7e0;
  color: var(--muted);
  font-size: 13px;
}

.empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  text-align: center;
}

.empty h2 {
  margin-bottom: 10px;
  font-size: 26px;
}

.empty p {
  max-width: 480px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  width: min(1180px, calc(100% - 80px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  margin: -30px auto 0;
  padding: 22px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
}

.site-footer img {
  width: 18px;
  height: 20px;
  flex: 0 0 auto;
}

.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

@media (max-width: 1120px) {
  body {
    min-width: 0;
  }

  main {
    width: min(100% - 32px, 900px);
    padding-top: 24px;
  }

  .site-footer {
    width: min(100% - 32px, 900px);
    margin-top: -32px;
  }

  .hero,
  .activity,
  .activity-featured {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    gap: 28px;
    padding-bottom: 28px;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 16px;
  }

  .stats,
  .activity-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .activity-media img,
  .activity-featured .activity-media img {
    height: 100%;
    aspect-ratio: 16 / 9;
  }

  .activity-media,
  .activity-featured .activity-media {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}
