/* ============================================================
   活动频道首页（/activity）
   中间容器对齐活动行：1200 居中 + coverflow 主视觉 + 分类图标 + 模块卡片流
   作用域：.aev（只在本页生效，不影响分类页 /activity/events 与其它频道）
   配色：全站品牌青 #087e78，金色只用于置顶 / 名额紧张等价值类点缀
   注意：频道层 `.ch-page a:not(.ch-btn)`(0,2,1) 权重高于组件自身 (0,1,0)，
        所以凡是 <a> 的颜色规则一律写成 `.aev a.xxx`（同权重 + 本文件后加载），
        不要降级成 `.aev .xxx`。
   ============================================================ */

.aev {
  --aev-brand: #087e78;
  --aev-brand-2: #0a8f88;
  --aev-deep: #066a65;
  --aev-tint: #e9f7f5;
  --aev-tint-2: #f2fbf9;
  --aev-gold: #b8873b;
  --aev-gold-deep: #8a641f;
  --aev-gold-tint: #fdf7ea;
  --aev-ink: #0b1f1e;
  --aev-text: #1d2939;
  --aev-sub: #475467;
  --aev-mute: #667085;
  --aev-line: #e9eef3;
  --aev-line-2: #dce4ea;
  --aev-r: 14px;
  --aev-sh: 0 2px 8px rgba(16, 24, 40, .04);
  --aev-sh-md: 0 8px 24px rgba(16, 24, 40, .08);
  --aev-sh-lg: 0 18px 40px rgba(16, 24, 40, .12);
  --aev-ease: cubic-bezier(.22, .61, .36, 1);
}

.aev *,
.aev *::before,
.aev *::after { box-sizing: border-box; }

.aev img { display: block; max-width: 100%; }
.aev ul,
.aev ol { margin: 0; padding: 0; list-style: none; }

/* 缺图海报的四档渐变色板：全部深底，白字对比度 ≥ 4.5:1 */
.aev .is-p0 { --pa: #0d7f78; --pb: #04514d; }
.aev .is-p1 { --pa: #1b6d7a; --pb: #0a3d48; }
.aev .is-p2 { --pa: #2c6b53; --pb: #123b2c; }
.aev .is-p3 { --pa: #48637a; --pb: #21323f; }

/* ---------------- 通用件 ---------------- */
.aev .aev-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--aev-brand);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s var(--aev-ease), color .18s var(--aev-ease),
              border-color .18s var(--aev-ease), transform .18s var(--aev-ease),
              box-shadow .18s var(--aev-ease);
}
.aev a.aev-btn { color: #fff; }
.aev a.aev-btn:hover { color: #fff; }
.aev .aev-btn:hover { background: var(--aev-deep); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(6, 106, 101, .18); }
.aev .aev-btn i { font-size: 12px; }

.aev a.aev-btn.is-ghost,
.aev .aev-btn.is-ghost {
  background: #fff;
  border-color: var(--aev-line-2);
  color: var(--aev-text);
}
.aev a.aev-btn.is-ghost:hover,
.aev .aev-btn.is-ghost:hover {
  background: #fff;
  border-color: #b9e3dd;
  color: var(--aev-deep);
  box-shadow: var(--aev-sh);
}

.aev a.aev-btn.is-line,
.aev .aev-btn.is-line {
  background: #fff;
  border-color: var(--aev-line);
  color: var(--aev-sub);
}
.aev a.aev-btn.is-line:hover,
.aev .aev-btn.is-line:hover { border-color: #b9e3dd; color: var(--aev-deep); }

.aev a.aev-btn.is-white,
.aev .aev-btn.is-white { background: #fff; color: var(--aev-deep); }
.aev a.aev-btn.is-white:hover,
.aev .aev-btn.is-white:hover { background: var(--aev-tint-2); color: var(--aev-deep); box-shadow: 0 8px 20px rgba(0, 0, 0, .16); }

.aev .aev-btn.is-sm { height: 32px; padding: 0 13px; font-size: 12.5px; border-radius: 9px; }
.aev .aev-btn:focus-visible { outline: 2px solid var(--aev-brand); outline-offset: 2px; }
.aev a.aev-btn.is-white:focus-visible { outline-color: #fff; }

.aev a.aev-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--aev-brand); }
.aev a.aev-link:hover { color: var(--aev-deep); text-decoration: underline; text-underline-offset: 3px; }

.aev .aev-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2px;
  white-space: nowrap;
}
.aev .aev-tag i { font-size: 9.5px; }
.aev .aev-tag.is-glass { background: rgba(11, 31, 30, .3); color: #fff; border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(4px); }
.aev .aev-tag.is-gold { background: var(--aev-gold-tint); color: var(--aev-gold-deep); border: 1px solid #f0e2c6; }
.aev .aev-tag.is-dark { background: rgba(11, 31, 30, .72); color: #fff; }

/* ---------------- ① 顶部工具条（深色渐变带） ---------------- */
/* 2026-11-08 定稿：配色与招聘频道 /job 首屏那套深青完全一致（job.css 1071 行起），
   那边已把对比度算过，这里只搬运，不另起一套语言：
   · 底 linear-gradient(180deg, #0a7b76 → #05605c 52% → #043f3b) + 顶边 1px 白高光；
     #0a7b76 是亮度上限，再亮一档配白字就掉到 4.4:1 以下；
   · 深色上的胶囊一律「加深」rgba(0,0,0,.14)，hover .26 —— 改成提亮（白 14%）只剩 3.1:1；
   · 正文 #f2fbfa（5.0:1）、次要 #eafaf7、装饰图标 #a9e3da（3.6:1，不承载信息）；
   · 选中态一律反白：白底 + 品牌深青字，与筛选胶囊、卡片悬停同一套逻辑；
   · 搜索框留白底，是整块深色里唯一的「亮面」，光标 / 占位 / 按钮对比度都不用重算。 */
.aev-console {
  position: relative;
  background: linear-gradient(180deg, #0a7b76 0%, #05605c 52%, #043f3b 100%);
  border-bottom: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 8px 22px rgba(2, 26, 24, .16);
}
/* 版心自带：详情 / 发布页没引 channel.css（没有 .ch-wrap），片段靠宿主类会塌成 100%。
   宽度与 .ch-wrap 一致（≤760 收成 calc(100% - 24px)），老页面观感不变。 */
.aev .aev-wrap {
  width: min(1450px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 760px) {
  .aev .aev-wrap { width: calc(100% - 24px); }
}

.aev-console-in {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 76px;
}

/* 城市按钮：深色内嵌胶囊（加深，不提亮） */
.aev .aev-city-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  height: 44px;
  padding: 0 12px 0 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 11px;
  background: rgba(0, 0, 0, .14);
  font-family: inherit;
  cursor: pointer;
  transition: border-color .18s var(--aev-ease), background-color .18s var(--aev-ease),
              box-shadow .18s var(--aev-ease);
}
/* 城市按钮已由弹层改成链接（跳 /activity/city），<a> 的取色必须显式写死，
   否则会被 `.ch-page a:not(.ch-btn)` 的继承色带跑 */
.aev a.aev-city-btn { color: #f2fbfa; }
.aev a.aev-city-btn:hover { color: #fff; }
.aev .aev-city-btn:hover { background: rgba(0, 0, 0, .28); border-color: rgba(255, 255, 255, .34); }
.aev .aev-city-btn.is-static { cursor: default; }
.aev .aev-city-btn.is-static:hover { background: rgba(0, 0, 0, .14); border-color: rgba(255, 255, 255, .16); }
.aev-city-btn > i:first-child { color: #a9e3da; font-size: 13px; }
.aev .aev-city-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.aev .aev-city-txt em { font-size: 10px; font-style: normal; color: rgba(242, 251, 250, .72); letter-spacing: .4px; }
.aev .aev-city-txt b { font-size: 14px; color: #fff; font-weight: 700; }

/* 「切换」提示：原来是一个下拉箭头，现在明确告诉用户点进去能换城市 */
.aev .aev-city-swap {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  margin-left: 2px;
  padding: 0 8px;
  border-radius: 6px;
  /* 和城市按钮一样用「加深」：它套在 rgba(0,0,0,.14) 的胶囊里，再提亮会把浅字对比压到 3.4:1 */
  background: rgba(0, 0, 0, .16);
  font-size: 11px;
  font-weight: 600;
  color: #eafaf7;
  white-space: nowrap;
  transition: background-color .18s var(--aev-ease), color .18s var(--aev-ease);
}
.aev .aev-city-swap i { font-size: 9px; }
/* hover 时小标签反白（白底深青字），与选中态同一套 */
.aev a.aev-city-btn:hover .aev-city-swap { background: #fff; color: var(--aev-deep); }

/* 搜索框：白底当唯一亮面，靠浅描边 + 外阴影压在深色上。
   结构对齐招聘频道 /job 的 .jb-search（job.css）：框 40 高、圆角 10，搜索按钮
   不是「浮在框里的胶囊」，而是右侧贴边满高、只圆右角 —— 整块看起来是一个
   输入框 + 一段按钮，比分体更紧凑，也不会在框里留出一圈白边。
   宽度按「输入区能完整放下 24 个字」定 480；位置紧跟频道菜单靠左，
   右侧按钮用 margin-left:auto 单独推到最右 —— 别让搜索框也靠右，那样右重左空 */
.aev-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 480px;
  min-width: 0;
  height: 40px;
  padding: 0 0 0 38px;   /* 右内边距为 0：按钮要贴到框边 */
  border: 1px solid rgba(255, 255, 255, .30);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(2, 30, 28, .20);
  transition: border-color .18s var(--aev-ease), box-shadow .18s var(--aev-ease);
}
.aev-search:focus-within {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .22), 0 6px 18px rgba(2, 30, 28, .20);
}
.aev-search-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--aev-mute); font-size: 12.5px; }
.aev-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 10px 0 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  color: var(--aev-text);
  outline: none;
}
.aev-search input::placeholder { color: var(--aev-mute); }
/* 按钮贴右边满高：负 margin 吃掉 1px 描边，圆角 = 框圆角 - 1 */
.aev-search-btn {
  flex: 0 0 auto;
  align-self: stretch;
  margin: -1px -1px -1px 0;
  padding: 0 22px;
  border: 0;
  border-radius: 0 9px 9px 0;
  background: var(--aev-brand);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s;
}
.aev-search-btn:hover { background: var(--aev-deep); }

/* 右侧两颗按钮钉在最右：搜索框靠左后，中间剩余空间全部由这颗按钮的 auto margin 吸收 */
.aev-console-act { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: auto; }
/* 右侧两颗按钮：次要（我的活动）加深胶囊 + 浅字；主��（发布活动）反白 —— 与选中态、搜索按钮同属「白底深青字」 */
.aev .aev-console-act a.aev-btn {
  background: #fff;
  color: var(--aev-deep);
  box-shadow: 0 4px 14px rgba(2, 30, 28, .22);
}
.aev .aev-console-act a.aev-btn:hover { background: var(--aev-tint-2); color: var(--aev-deep); box-shadow: 0 8px 20px rgba(2, 30, 28, .28); }
.aev .aev-console-act a.aev-btn.is-ghost {
  background: rgba(0, 0, 0, .14);
  border-color: rgba(255, 255, 255, .16);
  color: #f2fbfa;
  box-shadow: none;
}
.aev .aev-console-act a.aev-btn.is-ghost:hover {
  background: rgba(0, 0, 0, .28);
  border-color: rgba(255, 255, 255, .34);
  color: #fff;
}
/* 深底上的焦点环用白色（品牌青 / 亮青在 #0a7b76 上都偏弱）；
   只给链接和按钮，搜索框自带 focus-within 光环，再套一层会重复 */
.aev .aev-console a:focus-visible,
.aev .aev-console button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* 吸顶（列表型页面传 $console_sticky 时才生效）：工具条整条钉在视口顶，
   吸住后补投影与下方内容分层；底色是渐变带自带的不透明深青，直接盖住内容。
   z-index 必须 > 100：首页大 banner 的 coverflow 轮播会给居中卡写死 zIndex=100
   （activity-home.js「100 - 距离」），低于它滚动时整个工具条会被 banner 盖住；
   又要 < 1000：头部下拉菜单（1000/1200）和 layer 弹窗得压在它上面。 */
.aev-console.is-sticky {
  position: sticky;
  top: 0;
  z-index: 200;
}
.aev-console.is-sticky.is-stuck { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 10px 24px rgba(2, 30, 28, .28); }

/* ---------------- 中间容器（活动行 auto-width） ---------------- */
.ch-page.aev { background: #fff; }
.aev-auto {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---------------- 精选 / 全部活动 / 热门排行（工具条内，城市右侧） ---------------- */
.aev-hdxnav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  margin-left: 2px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, .18);
}
.aev a.aev-hdxnav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: #eafaf7;
  white-space: nowrap;
  transition: color .16s var(--aev-ease), background-color .16s var(--aev-ease);
}
.aev a.aev-hdxnav-item:hover { color: #fff; background: rgba(255, 255, 255, .12); }
/* 当前页：反白胶囊（白底 + 品牌深青字），与筛选条选中胶囊、卡片悬停同一套 */
.aev a.aev-hdxnav-item.is-on { color: var(--aev-deep); font-weight: 700; background: #fff; }
.aev a.aev-hdxnav-item.is-on:hover { color: var(--aev-deep); background: var(--aev-tint-2); }

/* ---------------- ③ 主视觉（比内容区更宽） ---------------- */
/* 轮播单独一个更宽的容器（上限 1800）：比 1200 的内容区宽，中间卡能更大，两侧又能完整放下 */
.aev-hero { width: min(1800px, calc(100% - 40px)); margin: 0 auto; }
.aev-flow { position: relative; margin-top: 22px; }
/* 经典 coverflow：中间卡 42% 在最上层，两侧被中间压住约 1/4（JS 偏移 0.30×舞台宽） */
.aev-flow-stage { position: relative; height: clamp(280px, 22vw, 380px); }

.aev-fslide {
  position: absolute;
  top: 0;
  left: 50%;
  width: 42%;
  height: 100%;
  transform: translateX(-50%);
  transform-origin: center center;
  transition: transform .5s var(--aev-ease), opacity .45s var(--aev-ease);
  will-change: transform;
}
.aev-flow:not(.is-js) .aev-fslide { display: none; }
.aev-flow:not(.is-js) .aev-fslide:first-child { display: block; }

.aev a.aev-fart {
  position: relative;
  display: block;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(140deg, var(--pa) 0%, var(--pb) 100%);
  box-shadow: 0 16px 34px rgba(11, 31, 30, .18);
  color: #fff;
}
.aev-fimg { width: 100%; height: 100%; object-fit: cover; }

/* 无封面海报 */
.aev-fph { position: absolute; inset: 0; display: block; }
.aev-fph::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 130% at 86% 4%, rgba(255, 255, 255, .2), transparent 56%),
    repeating-linear-gradient(118deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 18px);
}
.aev-fph-wm {
  position: absolute;
  right: -8px;
  bottom: -28px;
  font-size: 190px;
  line-height: 1;
  color: rgba(255, 255, 255, .1);
}
.aev-fph-date {
  position: absolute;
  left: 26px;
  top: 26px;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.aev-fph-date b {
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .2);
}
.aev-fph-date em { margin-top: 8px; font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .9); letter-spacing: .5px; }
.aev-fph-city {
  position: absolute;
  left: 26px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(255, 255, 255, .92);
}

/* 只有中心那一张显示文案，两侧只留画面（对齐活动行「纯图轮播」的观感） */
.aev-finfo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: 46px 24px 20px;
  background: linear-gradient(180deg, rgba(6, 40, 38, 0) 0%, rgba(6, 40, 38, .82) 62%, rgba(6, 40, 38, .9) 100%);
  opacity: 0;
  transition: opacity .4s var(--aev-ease);
}
.aev-fslide.is-center .aev-finfo { opacity: 1; }
.aev-ftags { display: flex; gap: 6px; margin-bottom: 8px; }
.aev-ftitle {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.aev-fmeta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: rgba(255, 255, 255, .88); }
.aev-fmeta i { margin-right: 4px; font-size: 11px; opacity: .8; }
.aev-fcta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  height: 30px;
  padding: 0 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--aev-deep);
  font-size: 12.5px;
  font-weight: 600;
}
.aev-fcta i { font-size: 10px; }

.aev-flow-arrow {
  position: absolute;
  top: calc(50% - 20px);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--aev-line);
  border-radius: 50%;
  background: #fff;
  color: var(--aev-sub);
  font-size: 13px;
  cursor: pointer;
  box-shadow: var(--aev-sh-md);
  transition: color .18s, border-color .18s, transform .18s;
}
.aev-flow-arrow:hover { color: var(--aev-brand); border-color: #b9e3dd; transform: scale(1.06); }
.aev-flow-arrow.is-prev { left: -14px; }
.aev-flow-arrow.is-next { right: -14px; }

.aev-flow-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}
.aev-flow-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d4dde4;
  cursor: pointer;
  transition: width .22s var(--aev-ease), background-color .22s var(--aev-ease), border-radius .22s var(--aev-ease);
}
.aev-flow-dot:hover { background: #b6c4ce; }
.aev-flow-dot.is-on { width: 22px; border-radius: 4px; background: var(--aev-brand); }

/* ---------------- ④ 分类图标 ---------------- */
.aev-icons {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
  margin-top: 22px;
}
.aev a.aev-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 0 6px;
  border-radius: 12px;
  color: var(--aev-text);
  transition: background-color .16s var(--aev-ease), color .16s var(--aev-ease);
}
.aev a.aev-icon-item:hover { background: #f6f8fa; color: var(--aev-deep); }
.aev-icon-img {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--pa) 0%, var(--pb) 100%);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 6px 14px rgba(11, 31, 30, .12);
  transition: transform .18s var(--aev-ease);
}
.aev a.aev-icon-item:hover .aev-icon-img { transform: translateY(-2px); }
.aev-icon-item p { margin: 0; font-size: 12.5px; color: inherit; }

/* ---------------- ⑤ 模块头 + 栅格 ---------------- */
.aev-mod { margin-top: 30px; }
.aev-h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--aev-ink);
  letter-spacing: .3px;
}
.aev a.aev-h3-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--aev-mute);
}
.aev a.aev-h3-more:hover { color: var(--aev-brand); }
.aev a.aev-h3-more i { font-size: 10px; transition: transform .18s var(--aev-ease); }
.aev a.aev-h3-more:hover i { transform: translateX(2px); }

.aev-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 18px; }

/* 强力推荐：4 卡一屏的滑动 */
.aev-rec { overflow: hidden; }
.aev-rec-track { display: flex; transition: transform .5s var(--aev-ease); }
.aev-rec-slide { flex: 0 0 100%; min-width: 0; }
.aev-rec-ctrl { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.aev-rec-dots { display: flex; align-items: center; gap: 7px; }
.aev-rec-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d4dde4;
  cursor: pointer;
  transition: width .22s var(--aev-ease), background-color .22s var(--aev-ease), border-radius .22s var(--aev-ease);
}
.aev-rec-dot.is-on { width: 22px; border-radius: 4px; background: var(--aev-brand); }
.aev-rec-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--aev-line);
  border-radius: 50%;
  background: #fff;
  color: var(--aev-sub);
  font-size: 11px;
  cursor: pointer;
  transition: color .18s, border-color .18s;
}
.aev-rec-arrow:hover { color: var(--aev-brand); border-color: #b9e3dd; }

/* ---------------- 卡片（活动行式：图 + 文，无外框） ---------------- */
.aev-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 12px;
  color: var(--aev-text);
  transition: transform .22s var(--aev-ease);
}
.aev-card:hover { transform: translateY(-3px); }
.aev-card:focus-visible { outline: 2px solid var(--aev-brand); outline-offset: 3px; border-radius: 12px; }
.aev-card.is-ended { opacity: .85; }
.aev-card.is-ended:hover { opacity: 1; }

.aev-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #eef2f5;
  box-shadow: var(--aev-sh);
}
.aev-cover-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--aev-ease); }
.aev-card:hover .aev-cover-img { transform: scale(1.05); }

/* 无封面：渐变海报 */
.aev-ph {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(145deg, var(--pa) 0%, var(--pb) 100%);
}
.aev-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 120% at 84% 6%, rgba(255, 255, 255, .2), transparent 56%),
    repeating-linear-gradient(118deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 16px);
}
.aev-ph-wm {
  position: absolute;
  right: -10px;
  bottom: -18px;
  font-size: 84px;
  line-height: 1;
  color: rgba(255, 255, 255, .1);
}
.aev-ph-date {
  position: absolute;
  left: 14px;
  top: 36px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.aev-ph-date b {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}
.aev-ph-date em { margin-top: 5px; font-style: normal; font-size: 11px; color: rgba(255, 255, 255, .9); letter-spacing: .3px; }
.aev-ph-city {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, .92);
}
.aev-ph-city i { font-size: 9.5px; opacity: .85; }

.aev-cover-flags { position: absolute; z-index: 2; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 5px; max-width: calc(100% - 20px); }
.aev-state {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--aev-deep);
  font-size: 10.5px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}
.aev-state.is-closing,
.aev-state.is-tight { color: var(--aev-gold-deep); }
.aev-state.is-full,
.aev-state.is-closed,
.aev-state.is-ended,
.aev-state.is-offline { color: var(--aev-mute); }

.aev-fee {
  position: absolute;
  z-index: 2;
  left: 10px;
  bottom: 10px;
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(11, 31, 30, .68);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.aev-fee.is-free { background: rgba(255, 255, 255, .94); color: var(--aev-brand); }

.aev-card-body { display: flex; flex-direction: column; gap: 6px; padding: 10px 2px 0; min-width: 0; }
.aev-card-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--aev-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
  transition: color .18s;
}
.aev-card:hover .aev-card-title { color: var(--aev-deep); }

.aev-card-meta { display: flex; flex-direction: column; gap: 3px; }
.aev-card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--aev-sub);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aev-card-meta i { flex: 0 0 auto; width: 11px; text-align: center; color: var(--aev-mute); font-size: 11px; }

.aev-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 28px;              /* 有/无主办方两种卡片底栏等高，栅格不错行 */
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed var(--aev-line);
}
.aev-host { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
/* 主办方缩略图 = 企业 logo，方形圆角（50% 圆会把方形/字标 logo 裁成圆饼） */
.aev-host img { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 5px; object-fit: cover; background: #eef2f5; }
.aev-host em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--aev-mute);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 没有企业信息时不渲染主办方，报名信息靠右兜住布局 */
.aev-sign { flex: 0 0 auto; margin-left: auto; font-size: 11px; color: var(--aev-mute); font-variant-numeric: tabular-nums; }

/* ---------------- 城市热场 · 好去处 ---------------- */
.aev-venues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.aev a.aev-venue {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--aev-line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .18s var(--aev-ease), box-shadow .18s var(--aev-ease), transform .18s var(--aev-ease);
}
.aev a.aev-venue:hover { border-color: #cfe9e5; box-shadow: var(--aev-sh-md); transform: translateY(-2px); }
.aev-venue-ic {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--aev-tint);
  color: var(--aev-brand);
  font-size: 14px;
}
.aev-venue-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.aev-venue-txt b {
  font-size: 13px;
  font-weight: 600;
  color: var(--aev-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aev-venue-txt em { font-style: normal; font-size: 11.5px; color: var(--aev-mute); }
.aev-venue-go { flex: 0 0 auto; color: #c3ccd6; font-size: 11px; transition: color .18s, transform .18s; }
.aev a.aev-venue:hover .aev-venue-go { color: var(--aev-brand); transform: translateX(2px); }

/* ---------------- 活跃主办方（只展示企业 logo + 企业名称） ---------------- */
/* 卡片宽度钳在 210-300：只 2 家主办方时不会被拉成 594px 的空长条（家数多少都不变形） */
.aev-orgs { display: flex; flex-wrap: wrap; gap: 12px; }
.aev-org-card {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 210px;
  max-width: 300px;
  padding: 11px 14px;
  border: 1px solid var(--aev-line);
  border-radius: 12px;
  background: #fff;
  min-width: 0;
}
/* 企业 logo：contain 完整显示，横版字标不会被 cover 裁掉字 */
.aev-org-card img {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--aev-line);
}
.aev-org-txt { display: flex; flex-direction: column; min-width: 0; }
.aev-org-txt b {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--aev-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------- 主办方招募通栏 ---------------- */
.aev-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding: 24px 28px;
  border-radius: 16px;
  background: linear-gradient(120deg, #0b7f78 0%, #075a56 58%, #054440 100%);
  box-shadow: 0 16px 36px rgba(5, 60, 56, .18);
  color: #fff;
}
.aev-cta-txt { min-width: 0; }
.aev-cta-txt b { display: block; margin-bottom: 6px; font-size: 18px; font-weight: 700; letter-spacing: .3px; }
.aev-cta-txt p { margin: 0; max-width: 680px; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, .84); }
.aev-cta-act { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.aev a.aev-cta-ghost {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  transition: background-color .18s, border-color .18s;
}
.aev a.aev-cta-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); color: #fff; }

/* ---------------- 报名须知 ---------------- */
.aev-guide {
  margin-top: 30px;
  padding: 18px 20px 20px;
  border: 1px solid var(--aev-line);
  border-radius: var(--aev-r);
  background: #fff;
}
.aev-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.aev-guide-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 14px;
  border-radius: 11px;
  background: #f8fafb;
}
.aev-guide-item i { color: var(--aev-brand); font-size: 13px; }
.aev-guide-item b { font-size: 12.5px; color: var(--aev-ink); font-weight: 700; }
.aev-guide-item span { font-size: 11.5px; line-height: 1.6; color: var(--aev-sub); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1280px) {
  .aev-grid { gap: 18px 14px; }
}

@media (max-width: 1100px) {
  .aev-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1040px) {
  .aev-console-in { gap: 12px; }
  .aev-hdxnav { padding-left: 12px; gap: 0; }
  .aev a.aev-hdxnav-item { padding: 0 10px; font-size: 14px; }
  .aev-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .aev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aev-venues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aev-flow-stage { height: clamp(190px, 42vw, 320px); }
  .aev-fslide { width: 100%; }
  .aev-ftitle { font-size: 19px; }
  .aev-fph-date b { font-size: 44px; }
  .aev-flow-arrow.is-prev { left: -8px; }
  .aev-flow-arrow.is-next { right: -8px; }
  .aev-console-in { height: auto; padding: 12px 0; flex-wrap: wrap; }
  .aev .aev-city-btn { order: 1; }
  .aev-console-act { order: 2; margin-left: auto; }
  /* 菜单在窄屏落成独立一行，可横向滑动 */
  .aev-hdxnav {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    margin-left: 0;
    padding: 6px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .aev-hdxnav::-webkit-scrollbar { display: none; }
  .aev a.aev-hdxnav-item { flex: 0 0 auto; height: 32px; }
  .aev-search { order: 4; flex: 1 1 100%; }
  .aev-h3 { font-size: 18px; }
}

@media (max-width: 720px) {
  .aev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .aev-venues { grid-template-columns: 1fr; }
  .aev-guide-grid { grid-template-columns: 1fr; }
  .aev-icons { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .aev-icon-img { width: 44px; height: 44px; font-size: 17px; border-radius: 12px; }
  .aev-icon-item p { font-size: 11.5px; }
  .aev-fslide { width: 100%; }
  .aev-finfo { padding: 34px 16px 14px; }
  .aev-fmeta span:nth-child(3) { display: none; }
  .aev-ftitle { font-size: 16.5px; -webkit-line-clamp: 1; }
  .aev-fph-date b { font-size: 38px; }
  .aev-cta { padding: 20px; }
  .aev-cta-txt b { font-size: 16px; }
}

@media (max-width: 560px) {
  .aev-console-act { width: auto; margin-left: auto; }
  /* 手机上工具条已经三行，频道菜单让位：入口仍在各分区的「更多」与底部 CTA */
  .aev-hdxnav { display: none; }
  .aev-console-act .aev-btn { flex: 0 0 auto; }
  .aev-grid { grid-template-columns: 1fr; }
  .aev-orgs { flex-direction: column; }
  .aev-org-card { flex: 1 1 auto; max-width: none; }
  .aev-fslide { width: 100%; }
  .aev-flow-arrow { width: 32px; height: 32px; font-size: 11px; }
  .aev-cta-act { width: 100%; }
  .aev-cta-act .aev-btn,
  .aev-cta-act .aev-cta-ghost { flex: 1 1 0; justify-content: center; }
}

/* 动效偏好：尊重系统「减少动态效果」 */
@media (prefers-reduced-motion: reduce) {
  .aev *,
  .aev *::before,
  .aev *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
  .aev-card:hover { transform: none; }
}
