/* 院校页样式。两个站共用一份，颜色按 <html data-site> 切换：
   en = 英语站 Navy（ChinoEasy英语站品牌基础规范），es = 西语站绿色（chinoeasy-brand-tokens.css） */

:root, [data-site="en"] {
  --brand-900: #0A0B33;
  --brand-800: #151660;   /* 品牌主色、深色区块 */
  --brand-600: #2F31A7;   /* 按钮、链接 */
  --brand-700: #222481;   /* 按钮悬停 */
  --brand-500: #4D4FCB;   /* 图标、描边 */
  --brand-200: #C6C7F1;   /* 深色块里的链接 */
  --brand-100: #DEDFF7;
  --brand-50:  #F3F3FC;
  --ink:   #16182B;
  --slate: #5A5E74;
  --line:  #E3E5EE;
  --on-dark: #DEDFF7;
}
[data-site="es"] {
  --brand-900: #0D1C12;
  --brand-800: #1D3F2A;
  --brand-600: #316845;
  --brand-700: #275337;
  --brand-500: #40895B;
  --brand-200: #C0E2CD;
  --brand-100: #DCEFE3;
  --brand-50:  #F3F9F5;
  --ink:   #1A2420;
  --slate: #5B6B62;
  --line:  #E2E8E4;
  --on-dark: #C0E2CD;
}
:root {
  --amber: #FFC107;
  --amber-ink: #5A4300;
  --amber-bg: #FFF8E1;
  --r-sm: 6px; --r: 10px; --r-lg: 16px;
  --f-display: 'Montserrat', system-ui, -apple-system, sans-serif;
  --f-text: 'Inter', system-ui, -apple-system, 'Noto Sans SC', sans-serif;
  --f-cn: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-text); font-size: 16px; line-height: 1.65; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); }
h1, h2, h3 { font-family: var(--f-display); letter-spacing: -.02em; line-height: 1.2; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; }
h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
[lang="zh"] { font-family: var(--f-cn); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
.block { padding: 56px 16px 0; }
@media (min-width: 720px) { .block { padding: 72px 24px 0; } }
.lede { color: var(--slate); max-width: 680px; }
.small { font-size: 14px; color: var(--slate); }

/* 按钮：主按钮实心 600；深色区块上用白底深字 */
.btn { display: inline-block; font-family: var(--f-display); font-weight: 700; font-size: 16px; padding: 13px 24px; border-radius: var(--r); background: var(--brand-600); color: #fff; text-decoration: none; transition: background .15s; }
.btn:hover { background: var(--brand-700); }
.btn--sm { font-size: 14px; padding: 9px 16px; }
.btn--lg { font-size: 18px; padding: 16px 32px; }
.btn--on-dark { background: #fff; color: var(--brand-800); }
.btn--on-dark:hover { background: var(--brand-100); }

/* 顶栏 */
.top { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.top__logo img { height: 34px; width: auto; }
.top__nav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.top__nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.top__nav a:not(.btn):hover { color: var(--brand-600); }
.top__lang { color: var(--slate) !important; }
@media (max-width: 860px) { .top__nav a:not(.btn):not(.top__lang) { display: none; } }
@media (max-width: 420px) { .top__lang { display: none; } }

/* 首屏 */
.hero { background: var(--brand-50); border-bottom: 1px solid var(--line); padding: 48px 0 40px; }
@media (min-width: 720px) { .hero { padding: 72px 0 56px; } }
.eyebrow { font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 12px; }
.hero__short { color: var(--slate); font-weight: 700; }
.hero__zh { font-size: 22px; font-weight: 500; color: var(--brand-800); margin: -4px 0 16px; letter-spacing: .1em; }
.hero__tag { font-size: 19px; max-width: 680px; }
.chips { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 500; }
.verified { font-size: 14px; color: var(--slate); margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.verified__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-500); }

/* 数字卡 */
.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.stat { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; }
.stat__val { font-family: var(--f-display); font-weight: 800; font-size: 30px; color: var(--brand-800); margin-bottom: 6px; line-height: 1.1; }
.stat__val span { font-size: 14px; font-weight: 600; color: var(--slate); }
.stat__label { font-size: 15px; flex: 1; }
.src { font-size: 12px; color: var(--slate); text-decoration: underline; text-underline-offset: 2px; }
.src:hover { color: var(--brand-600); }

/* 两条路线 */
.routes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); margin-top: 8px; }
.route { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; border-top: 4px solid var(--brand-500); }
.route--csc { border-top-color: var(--brand-800); }
.route__who { font-weight: 600; color: var(--slate); }
.ticks { list-style: none; padding: 0; margin: 0 0 12px; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px; border-left: 2.5px solid var(--brand-500); border-bottom: 2.5px solid var(--brand-500); transform: rotate(-45deg); }
.notice { margin-top: 20px; background: var(--amber-bg); border-left: 4px solid var(--amber); color: var(--amber-ink); padding: 16px 20px; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.notice__title { font-family: var(--f-display); font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.notice p:last-child { margin: 0; }
.notice .src { color: var(--amber-ink); }

/* 深色导流带 */
.band { background: var(--brand-800); color: var(--on-dark); margin-top: 72px; padding: 48px 0; }
.band h2 { color: #fff; }
.band__in { display: grid; gap: 28px; }
@media (min-width: 900px) { .band__in { grid-template-columns: 1fr 1.4fr; align-items: center; } }
.band__cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.band__card { background: #fff; border-radius: var(--r); padding: 16px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; transition: transform .15s; }
.band__card:hover { transform: translateY(-2px); }
.band__need { font-size: 14px; color: var(--slate); }
.band__label { font-family: var(--f-display); font-weight: 700; color: var(--brand-600); font-size: 17px; }
.band__note { font-size: 13px; color: var(--slate); }

/* 专业列表 */
.group { border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 12px; overflow: hidden; }
.group summary { cursor: pointer; list-style: none; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--brand-50); }
.group summary::-webkit-details-marker { display: none; }
.group summary::after { content: "+"; font-family: var(--f-display); font-weight: 700; font-size: 22px; color: var(--brand-600); margin-left: auto; }
.group[open] summary::after { content: "–"; }
.group__title { font-family: var(--f-display); font-weight: 700; font-size: 18px; }
.group__fee { font-family: var(--f-display); font-weight: 700; color: var(--brand-800); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; font-size: 14px; }
.group__req { padding: 16px 20px 0; margin: 0; }
.plist { list-style: none; margin: 0; padding: 8px 20px 16px; }
.plist li { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.plist li:last-child { border-bottom: 0; }
.plist__name { font-weight: 600; }
.plist__zh { font-size: 14px; color: var(--slate); }
.plist__note { font-size: 14px; color: var(--brand-800); }

/* 表格 */
.tbl { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-family: var(--f-display); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--slate); }
.tbl .num { font-family: var(--f-display); font-weight: 700; white-space: nowrap; }
.tbl .num span { font-family: var(--f-text); font-weight: 400; font-size: 13px; color: var(--slate); }
.tbl--compact td { padding: 10px 4px; }
.notes { padding-left: 20px; }
.notes li { margin-bottom: 6px; }

/* 申请步骤 */
.steps2 { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 12px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-100); color: var(--brand-800); font-family: var(--f-display); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.docs { font-size: 14px; color: var(--slate); }
.dates { margin-top: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--brand-50); }
.dates p { margin: 0; }

.two { display: grid; gap: 40px; }
@media (min-width: 900px) { .two { grid-template-columns: 1.4fr 1fr; } }

/* 收尾 CTA */
.final { background: var(--brand-800); margin-top: 72px; padding: 48px 0; text-align: center; color: var(--on-dark); }
.final p { margin: 14px 0 0; }

.sources { padding-bottom: 56px; }
.srclist { font-size: 14px; padding-left: 20px; }
.srclist li { margin-bottom: 4px; word-break: break-word; }
.disclaimer { margin-top: 20px; font-size: 14px; color: var(--slate); border-top: 1px solid var(--line); padding-top: 16px; }

.foot { background: var(--brand-900); color: var(--on-dark); padding: 28px 0; font-size: 14px; }
.foot__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot__in img { height: 28px; width: auto; }
.foot p { margin: 0; }

/* ===== v2：首屏信息卡、醒目数字、插播广告、目录页 ===== */

/* 首屏：左边校徽+校名，右边信息卡 */
.hero__grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.35fr 1fr; align-items: start; } }
.hero__id { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.hero__logo { width: 88px; height: 88px; border-radius: 50%; background: #fff; padding: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.08); object-fit: contain; flex: none; }
.hero__id .eyebrow { margin: 0 0 2px; }
.hero__id .eyebrow a { color: inherit; text-decoration: none; }
.hero__id .hero__zh { margin: 0; font-size: 26px; font-weight: 700; }
.hero__short { display: inline-block; vertical-align: middle; font-size: .45em; font-weight: 800; color: #fff; background: var(--brand-800); padding: 4px 10px; border-radius: var(--r-sm); letter-spacing: .04em; }
.sheet { background: var(--brand-800); color: #fff; border-radius: var(--r-lg); padding: 22px 24px; box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.sheet__title { font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 8px; }
.sheet dl { margin: 0; }
.sheet dl div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.sheet dl div:last-child { border-bottom: 0; }
.sheet dt { color: var(--on-dark); font-size: 14px; }
.sheet dd { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 15px; }

/* 数字卡：放大、彩色底 */
.stat { border: 0; background: var(--brand-50); position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--brand-500); }
.stat--1::before { background: var(--brand-800); }
.stat--3::before { background: var(--amber); }
.stat__val { font-size: clamp(34px, 4.4vw, 44px); margin: 0; }
.stat__unit { font-family: var(--f-display); font-weight: 700; font-size: 14px; color: var(--brand-600); margin: 2px 0 10px; text-transform: uppercase; letter-spacing: .04em; }

.route { position: relative; }
.route__num { position: absolute; right: 20px; top: 12px; font-family: var(--f-display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--brand-100); margin: 0; }
.route h3 { font-size: 21px; padding-right: 48px; }
.notice { font-size: 16px; }
.notice__title { font-size: 19px; }
.group__n { display: inline-block; min-width: 26px; text-align: center; font-size: 13px; color: #fff; background: var(--brand-500); border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: middle; }

/* CSCA：一行一张卡 */
.csca { display: grid; gap: 10px; margin-bottom: 12px; }
.csca__row { display: grid; gap: 4px 16px; align-items: center; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; }
@media (min-width: 720px) { .csca__row { grid-template-columns: 1fr auto; } }
.csca__row p { margin: 0; }
.csca__subj { font-family: var(--f-display); font-weight: 700; color: var(--brand-800); background: var(--brand-100); border-radius: var(--r-sm); padding: 4px 12px; justify-self: start; }

/* 插播广告：上下用警示斜纹条隔开，深底加琥珀价格，和院校信息一眼区分 */
.ad { margin-top: 72px; }
.ad__break { height: 30px; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 14px, var(--brand-900) 14px 28px); }
.ad__break span, .ad__break a { background: var(--brand-900); color: var(--amber); font-family: var(--f-display); font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 4px 14px; text-decoration: none; }
.ad__break--end a { letter-spacing: .06em; text-transform: none; font-size: 13px; }
.ad > .wrap { background: var(--brand-900); max-width: none; padding-top: 32px; padding-bottom: 32px; }
.ad__box { max-width: 1032px; margin: 0 auto; position: relative; display: grid; gap: 20px; align-items: center; color: #fff;
  border: 2px dashed rgba(255,193,7,.6); border-radius: var(--r-lg); padding: 28px 24px 24px; }
@media (min-width: 860px) { .ad__box { grid-template-columns: auto 1fr auto; padding: 32px; } }
.ad__tag { position: absolute; top: -12px; left: 20px; background: var(--amber); color: var(--amber-ink); font-family: var(--f-display); font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px; border-radius: 4px; }
.ad__badge { width: 96px; height: 96px; border-radius: 50%; background: var(--amber); color: var(--brand-900); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 17px; text-align: center; transform: rotate(-8deg); box-shadow: 0 0 0 6px rgba(255,193,7,.25); }
.ad__kicker { font-family: var(--f-display); font-weight: 700; color: var(--amber); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; margin-bottom: 4px; }
.ad__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 8px; color: #fff; }
.ad__body { color: var(--on-dark); max-width: 560px; }
.ad__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.btn--ad { background: var(--amber); color: var(--brand-900); font-size: 17px; }
.btn--ad:hover { background: #ffd54f; }
.ad__link { color: #fff; font-weight: 600; }
.ad__price { text-align: center; }
.ad__price strong { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 5vw, 56px); color: var(--amber); line-height: 1; }
.ad__price span { font-size: 13px; color: var(--on-dark); }
@media (max-width: 859px) { .ad__badge { width: 72px; height: 72px; font-size: 14px; } .ad__price { text-align: left; } }

/* 目录页 */
.hero--dir h1 { max-width: 760px; }
.filters { display: grid; gap: 10px; margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); align-items: center; }
.filters input[type=search], .filters select { font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); width: 100%; }
.filters input[type=search] { grid-column: 1 / -1; font-size: 17px; padding: 14px 16px; border: 2px solid var(--brand-500); }
.check { display: flex; gap: 8px; align-items: center; font-size: 15px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 11px 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand-600); }
.dir__count { font-size: 15px; color: var(--slate); }
.dir__count strong { font-family: var(--f-display); font-size: 22px; color: var(--ink); }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s; background: #fff; }
.card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.08); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card__head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.card__head img { width: 56px; height: 56px; border-radius: 50%; object-fit: contain; flex: none; }
.card__name { font-family: var(--f-display); font-weight: 800; font-size: 18px; line-height: 1.2; margin: 0 0 2px; }
.card__zh { font-size: 14px; color: var(--slate); margin: 0; }
.card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; }
.card__facts div { background: var(--brand-50); border-radius: var(--r-sm); padding: 8px 10px; }
.card__facts dt { font-size: 12px; color: var(--slate); }
.card__facts dd { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--brand-800); }
.card__foot { margin: auto 0 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--slate); flex-wrap: wrap; }
.card__go { margin-left: auto; font-family: var(--f-display); font-weight: 700; color: var(--brand-600); }
.dir__empty { padding: 24px; border: 1px dashed var(--line); border-radius: var(--r-lg); text-align: center; color: var(--slate); }
.dir__soon { margin-top: 20px; }

.card__ok { display: inline-flex; align-items: center; gap: 6px; }

/* ===== v3：目录页置顶合作院校 + 核实中占位 ===== */
.hero--dir { padding-bottom: 120px; }
.feat { margin-top: -88px; }
.feat__card { position: relative; display: grid; gap: 20px 32px; text-decoration: none; color: #fff; border-radius: 20px; padding: 40px 28px 28px;
  background: radial-gradient(120% 140% at 100% 0%, var(--brand-600) 0%, var(--brand-800) 45%, var(--brand-900) 100%);
  box-shadow: 0 24px 60px rgba(0,0,0,.22); transition: transform .15s; }
.feat__card:hover { transform: translateY(-3px); }
@media (min-width: 900px) { .feat__card { grid-template-columns: 1.1fr 1fr; padding: 48px 44px 40px; align-items: center; } }
.feat__ribbon { position: absolute; top: -14px; left: 24px; background: var(--amber); color: var(--brand-900); font-family: var(--f-display); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.feat__id { display: flex; gap: 20px; align-items: center; }
.feat__id img { width: 120px; height: 120px; border-radius: 50%; background: #fff; padding: 8px; flex: none; box-shadow: 0 0 0 6px rgba(255,255,255,.15); }
.feat__zh { font-family: var(--f-cn); font-size: 30px; font-weight: 700; letter-spacing: .08em; margin: 0 0 2px; }
.feat__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; margin: 0 0 6px; }
.feat__name .hero__short { background: #fff; color: var(--brand-800); }
.feat__city { color: var(--on-dark); margin: 0; font-size: 15px; }
.feat__why { color: var(--on-dark); font-size: 17px; margin: 0; }
@media (min-width: 900px) { .feat__why { grid-column: 2; grid-row: 1; } }
.feat__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 10px; margin: 0; }
@media (min-width: 900px) { .feat__facts { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); } }
.feat__facts div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r); padding: 12px 14px; }
.feat__facts dt { font-size: 12px; color: var(--on-dark); text-transform: uppercase; letter-spacing: .05em; }
.feat__facts dd { margin: 2px 0 0; font-family: var(--f-display); font-weight: 800; font-size: 19px; }
.feat__btn { justify-self: start; }
@media (min-width: 900px) { .feat__btn { grid-column: 1 / -1; } }

.dir__h { display: flex; align-items: center; gap: 10px; margin-top: 36px; }
.dir__n { font-size: 15px; background: var(--brand-600); color: #fff; border-radius: 999px; padding: 2px 12px; }
.dir__n--muted { background: var(--line); color: var(--slate); }
.card--feat { border: 2px solid var(--amber); position: relative; padding-top: 30px; }
.card__flag { position: absolute; top: -12px; left: 16px; background: var(--amber); color: var(--brand-900); font-family: var(--f-display); font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 4px; }

.pend { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.pend__item { display: flex; align-items: center; gap: 12px; border: 1px dashed var(--line); border-radius: var(--r); padding: 10px 12px; background: #fff; }
.pend__item[hidden] { display: none; }
.pend__item img { width: 40px; height: 40px; object-fit: contain; flex: none; filter: grayscale(.35); opacity: .9; }
.pend__mono { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--brand-50); color: var(--brand-800); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.pend__txt { display: grid; min-width: 0; }
.pend__name { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pend__prov { font-size: 12px; color: var(--slate); }
.pend__tag { margin-left: auto; flex: none; font-size: 11px; font-weight: 600; color: var(--slate); background: var(--brand-50); border-radius: 999px; padding: 2px 8px; }

/* ===== v4：首屏一眼看到多所学校；插播广告改成紧凑横幅 ===== */
.hero--compact { padding: 36px 0 28px; }
.hero--compact h1 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 8px; }
.dir__tally { color: var(--slate); margin: 0 0 4px; }
.dir__tally strong { font-family: var(--f-display); color: var(--brand-800); font-size: 18px; }
.hero--compact .filters { margin-top: 16px; }
.dir--top .dir__h { margin-top: 28px; }

/* 北语卡：在网格里占两格，深色底，不再单独占一整屏 */
@media (min-width: 720px) { .card--feat { grid-column: span 2; } }
.card--feat { background: linear-gradient(135deg, var(--brand-800), var(--brand-900)); color: #fff; border: 2px solid var(--amber);
  display: grid; gap: 14px 24px; grid-template-columns: 1fr; grid-template-areas: "head" "why" "facts" "foot"; }
@media (min-width: 720px) { .card--feat { grid-template-columns: 1.1fr 1fr; grid-template-areas: "head why" "facts facts" "foot foot"; } }
.card--feat .card__head { grid-area: head; margin: 0; }
.card--feat .card__why { grid-area: why; margin: 0; color: var(--on-dark); font-size: 14px; align-self: center; }
.card--feat .card__facts { grid-area: facts; grid-template-columns: repeat(4, 1fr); margin: 0; }
@media (max-width: 719px) { .card--feat .card__facts { grid-template-columns: 1fr 1fr; } }
.card--feat .card__facts div { background: rgba(255,255,255,.1); }
.card--feat .card__facts dt { color: var(--on-dark); }
.card--feat .card__facts dd { color: #fff; }
.card--feat .card__foot { grid-area: foot; color: var(--on-dark); }
.card--feat .card__go { color: var(--amber); }
.card--feat .card__name { color: #fff; font-size: 20px; }
.card--feat .card__zh { color: var(--on-dark); }
.card--feat .card__head img { width: 64px; height: 64px; background: #fff; padding: 3px; }

/* 紧凑插播广告：一条横幅，高度约 80px */
.ad { margin-top: 40px; }
.ad > .wrap { all: unset; }
.ad__box { max-width: none; position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  background: var(--brand-900); color: #fff; border-radius: var(--r); padding: 16px 20px; border: 0;
  box-shadow: inset 0 0 0 2px transparent; background-image: linear-gradient(var(--brand-900), var(--brand-900)), repeating-linear-gradient(-45deg, var(--amber) 0 8px, var(--brand-900) 8px 16px);
  background-origin: border-box; background-clip: padding-box, border-box; border: 3px solid transparent; }
.ad__tag { position: static; order: -1; font-size: 10px; padding: 2px 7px; }
.ad__badge { width: auto; height: auto; border-radius: 6px; padding: 4px 8px; font-size: 12px; transform: none; box-shadow: none; }
.ad__copy { flex: 1 1 260px; min-width: 0; }
.ad__title { font-size: 18px; margin: 0; }
.ad__kicker { font-size: 12px; margin: 2px 0 0; text-transform: none; letter-spacing: 0; font-weight: 600; }
.ad__price { margin: 0; text-align: right; line-height: 1.1; }
.ad__price strong { font-size: 26px; }
.ad__price span { display: block; font-size: 11px; }
.btn--ad { font-size: 15px; padding: 10px 18px; white-space: nowrap; }
@media (max-width: 859px) { .ad__badge { width: auto; height: auto; font-size: 11px; } .ad__price { text-align: left; } }
