/* PC 协会活动列表 / 详情（对齐小程序 MP-04，PC 只读、扫码报名） */

/* ===== 列表卡片 ===== */
.ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 28px; }
.ev-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line-200);
  border-radius: var(--r-4); overflow: hidden; text-decoration: none; color: inherit; }
.ev-card:hover { border-color: var(--brand-200); box-shadow: 0 8px 24px rgba(14, 23, 41, .06); }
.ev-cover { height: 214px; position: relative; background: var(--brand-700); overflow: hidden; }
.ev-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-cover img.cover-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: auto; height: auto; max-width: 42%; max-height: 52%; object-fit: contain; opacity: .9; }
.ev-cover .st, .ev-hero .st { position: absolute; right: 14px; top: 14px; height: 28px; padding: 0 11px;
  display: inline-flex; align-items: center; border-radius: 3px; font-size: 16px; font-weight: 500; }
.st-open { background: #fff; color: var(--brand-700); }
.st-soon { background: var(--warn-100); color: var(--warn-600); }
.st-full { background: rgba(255, 255, 255, .16); color: #fff; }

.ev-body { flex: 1; display: flex; flex-direction: column; padding: 18px 20px 20px; }
.ev-body h2 { font-size: 20px; font-weight: 500; line-height: 1.5; color: var(--ink-900);
  min-height: 60px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-meta { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: var(--ink-400); }
.ev-meta .mono { font-family: var(--mono); }
.ev-place { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ev-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-100);
  display: flex; align-items: center; justify-content: space-between; font-size: 16px; color: var(--ink-400); }
.ev-foot .go { color: var(--brand-700); }

/* ===== 详情 ===== */
.ev-detail { width: 1200px; margin: 0 auto; padding: 40px 0 72px; display: grid;
  grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.ev-hero { height: 420px; position: relative; background: var(--brand-700); border-radius: var(--r-4); overflow: hidden; }
.ev-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-hero img.cover-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: auto; height: auto; max-width: 42%; max-height: 52%; object-fit: contain; opacity: .9; }
.ev-main > h1 { margin-top: 28px; font-family: var(--serif); font-weight: 700; font-size: 36px;
  line-height: 1.4; color: var(--ink-900); }

.ev-facts { margin-top: 24px; padding: 6px 24px; border: 1px solid var(--line-200); border-radius: var(--r-4); background: var(--paper); }
.ev-facts > div { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line-100); font-size: 16px; }
.ev-facts > div:last-child { border-bottom: 0; }
.ev-facts b { flex: none; width: 88px; font-weight: 400; color: var(--ink-400); }
.ev-facts span { color: var(--ink-700); }
.ev-facts .mono { font-family: var(--mono); }

.ev-prog { margin-top: 24px; padding: 20px 24px; background: var(--paper-2); border-radius: var(--r-4); }
.pg-hd { display: flex; align-items: baseline; justify-content: space-between; font-size: 16px; color: var(--ink-500); }
.pg-hd b { font-weight: 500; color: var(--ink-700); }
.pg-hd .mono { font-family: var(--mono); color: var(--brand-700); }
.pg-bar { margin-top: 14px; height: 8px; border-radius: 4px; background: var(--line-200); overflow: hidden; }
.pg-bar i { display: block; height: 100%; background: var(--brand-600); }
.pg-bar i.warn { background: var(--warn-600); }
.pg-bar i.full { background: var(--ink-300); }
.pg-sub { margin-top: 10px; font-size: 16px; color: var(--ink-400); }

.ev-sec { margin-top: 40px; }
.ev-sec > h2 { padding-left: 12px; border-left: 3px solid var(--brand-700); font-family: var(--serif);
  font-size: 24px; font-weight: 700; color: var(--ink-900); }
.ev-sec > h2 .cnt { float: right; font-family: var(--sans); font-size: 16px; font-weight: 400; color: var(--ink-300); }
.ev-cond { margin-top: 16px; padding: 20px 22px; background: var(--paper-2); border-left: 3px solid var(--brand-500);
  border-radius: var(--r-4); font-size: 18px; line-height: 1.8; color: var(--ink-600); }
.ev-cond .chip { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 3px;
  background: var(--brand-100); color: var(--brand-700); font-size: 16px; }
.ev-cond p { margin-top: 8px; }
.ev-album { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ev-album img { width: 100%; height: 160px; object-fit: cover; border-radius: var(--r-4); display: block; }
.ev-news { margin-top: 16px; list-style: none; }
.ev-news li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-100); font-size: 18px; }
.ev-news li a { flex: 1; color: var(--ink-700); text-decoration: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ev-news li a:hover { color: var(--brand-700); }
.ev-news .mono { flex: none; font-family: var(--mono); font-size: 16px; color: var(--ink-300); }

/* ===== 扫码报名侧栏 ===== */
.ev-side { position: sticky; top: 20px; }
.ev-qr { padding: 24px; border: 1px solid var(--line-200); border-radius: var(--r-4); background: var(--brand-50); text-align: center; }
.ev-qr h2 { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--ink-900); }
.ev-qr img { display: block; width: 180px; height: 180px; margin: 18px auto; padding: 6px;
  background: #fff; border: 1px solid var(--line-200); border-radius: var(--r-4); }
.ev-qr p { font-size: 16px; line-height: 1.8; color: var(--ink-500); text-align: left; }
.ev-qr .tip { margin-top: 10px; color: var(--ink-300); }
.ev-side > .btn { display: block; margin-top: 16px; height: 42px; line-height: 40px; text-align: center; }

@media (max-width: 1000px) {
  .ev-grid { grid-template-columns: repeat(2, 1fr); }
  .ev-detail { width: auto; padding-left: 20px; padding-right: 20px; grid-template-columns: 1fr; }
  .ev-side { position: static; }
}
