/* =====================================================================
   ESWi 智慧教学云门户  ·  主样式表
   设计语言参考：科大讯飞 iflytek.com/cn（白底 / 居中容器 / 卡片网格 / 页脚多栏）
   品牌色：ESWi 绿 #2E9E45 + 青柠 #C6D831
   ===================================================================== */

:root {
  --c-primary: #2E9E45;
  --c-primary-dark: #1f7a33;
  --c-primary-light: #57b33e;
  --c-accent: #c6d831;
  --c-ink: #212121;
  --c-gray: #727272;
  --c-bg: #f6f6f8;
  --c-white: #ffffff;
  --c-border: #e8e8e8;
  --container: 1200px;
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, .10);
  --shadow-green: 0 12px 28px rgba(46, 158, 69, .18);
  --header-h: 68px;
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-ink);
  background: var(--c-white);
  line-height: 1.7;
  font-size: 15px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0 0 .6em; font-weight: 700; line-height: 1.25; color: var(--c-ink); }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 2px solid transparent; transition: all .2s; cursor: pointer; line-height: 1;
}
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-green); }
.btn-primary:hover { background: var(--c-primary-dark); transform: translateY(-2px); }
.btn-outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-light { background: #fff; color: var(--c-primary-dark); }
.btn-light:hover { background: var(--c-accent); color: #1f3b00; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: #fff; color: var(--c-primary-dark); }
.link-more { color: var(--c-primary); font-weight: 600; font-size: 14px; }
.link-more:hover { color: var(--c-primary-dark); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid transparent;
  transition: box-shadow .2s, border-color .2s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--c-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.site-branding { display: flex; align-items: center; }
.brand-text { display: flex; align-items: baseline; gap: 8px; }
.brand-mark { font-size: 26px; font-weight: 800; color: var(--c-primary); letter-spacing: .5px; }
.brand-sub { font-size: 14px; color: var(--c-gray); }
.site-header .custom-logo { max-height: 44px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav .menu { display: flex; align-items: center; gap: 26px; }
.main-nav .menu-item > a {
  position: relative; font-size: 15px; font-weight: 500; color: var(--c-ink); padding: 6px 0;
}
.main-nav .menu-item > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--c-primary); transform: scaleX(0); transition: transform .2s; transform-origin: left;
}
.main-nav .menu-item > a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: var(--c-primary); }
.main-nav .menu-item > a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.search-toggle {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--c-border);
  background: #fff; font-size: 16px; color: var(--c-gray); transition: all .2s;
}
.search-toggle:hover { border-color: var(--c-primary); color: var(--c-primary); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 38px;
  background: transparent; border: 0; padding: 8px; }
.menu-toggle span { display: block; height: 2px; background: var(--c-ink); border-radius: 2px; transition: .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.search-panel { background: #fff; border-top: 1px solid var(--c-border); padding: 14px 0; }
.search-panel[hidden] { display: none; }
.search-panel form { display: flex; gap: 10px; }
.search-panel input[type="search"] { flex: 1; padding: 12px 16px; border: 1px solid var(--c-border); border-radius: 8px; font-size: 15px; }
.search-panel input:focus { outline: none; border-color: var(--c-primary); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 80% 0%, #3bb255 0%, var(--c-primary) 45%, var(--c-primary-dark) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 96px 20px 72px; text-align: center; }
.hero-eyebrow { display: inline-block; padding: 6px 16px; border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px; font-size: 13px; letter-spacing: 2px; margin-bottom: 22px; }
.hero-title { font-size: clamp(30px, 5vw, 52px); font-weight: 800; margin-bottom: 18px; text-shadow: 0 2px 12px rgba(0,0,0,.12); }
.hero-sub { max-width: 680px; margin: 0 auto 32px; font-size: 17px; opacity: .92; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.hero-stats span { font-size: 15px; opacity: .9; }
.hero-stats b { display: block; font-size: 28px; font-weight: 800; }
.hero-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .35;
  background:
    radial-gradient(380px 380px at 12% 20%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(300px 300px at 90% 80%, rgba(198,216,49,.35), transparent 60%); }

/* ---------- section ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--c-bg); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.eyebrow { font-size: 13px; letter-spacing: 3px; color: var(--c-primary); font-weight: 700; margin: 0 0 10px; }
.section-title { font-size: clamp(24px, 3.4vw, 34px); }
.section-desc { color: var(--c-gray); font-size: 16px; margin: 0; }
.section-more { text-align: center; margin-top: 44px; }

/* ---------- card grid ---------- */
.card-grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--c-primary); }
.card-icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(46,158,69,.12);
  color: var(--c-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.demo-ic { width: 30px; height: 30px; }
.card-title { font-size: 18px; margin-bottom: 8px; }
.card-title a:hover { color: var(--c-primary); }
.card-desc { color: var(--c-gray); font-size: 14px; margin-bottom: 14px; }

/* ---------- feature card (solutions) ---------- */
.feature-card {
  display: flex; gap: 22px; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--c-primary); }
.feature-num { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light)); color: #fff;
  display: flex; align-items: center; justify-content: center; }
.feature-num .demo-ic { width: 34px; height: 34px; color: #fff; }
.feature-card .card-title { margin-bottom: 10px; }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-thumb { display: block; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.demo-ic.news { width: 54px; height: 54px; color: #fff; }
.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-date { color: var(--c-gray); font-size: 13px; }
.news-title { font-size: 17px; line-height: 1.45; margin: 0; }
.news-title a:hover { color: var(--c-primary); }

/* ---------- cta band ---------- */
.cta-band { background: radial-gradient(120% 160% at 20% 0%, #3bb255, var(--c-primary-dark)); color: #fff; padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.cta-inner p { opacity: .9; margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- page hero / breadcrumb ---------- */
.page-hero { background: var(--c-bg); padding: 56px 0 44px; border-bottom: 1px solid var(--c-border); }
.page-title { font-size: clamp(26px, 3.4vw, 36px); }
.archive-desc { color: var(--c-gray); margin: 6px 0 0; }
.breadcrumb { font-size: 13px; color: var(--c-gray); margin-bottom: 14px; }
.breadcrumb a { color: var(--c-gray); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }
.breadcrumb .current { color: var(--c-ink); }

/* ---------- page / archive layout ---------- */
.page-layout, .archive-layout, .single-layout, .contact-layout, .about-layout {
  display: grid; gap: 40px; padding: 56px 0; align-items: start; }
.page-layout, .archive-layout { grid-template-columns: 1fr 300px; }
/* 详情页为单列全宽：不渲染「近期文章/近期评论/归档」侧栏 */
.single-layout { grid-template-columns: minmax(0, 1fr); }
.single-article { width: 100%; max-width: 920px; margin-inline: auto; }
.page-layout .page-article, .archive-main { min-width: 0; }
.page-sidebar, .single-sidebar { position: sticky; top: calc(var(--header-h) + 20px); }

/* filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.filter-link { padding: 8px 18px; border: 1px solid var(--c-border); border-radius: 999px; font-size: 14px; color: var(--c-gray); }
.filter-link:hover, .filter-link.is-active { border-color: var(--c-primary); color: var(--c-primary); background: rgba(46,158,69,.08); }

/* pagination */
.pagination, .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span, .nav-links a, .nav-links span {
  min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-border); border-radius: 8px; color: var(--c-ink); }
.pagination .current, .nav-links .current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ---------- single ---------- */
.single-header { margin-bottom: 24px; }
.single-title { font-size: clamp(24px, 3.4vw, 32px); }
.single-meta { color: var(--c-gray); font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.activity-meta { display: inline-flex; gap: 16px; flex-wrap: wrap; }
.activity-meta span { background: var(--c-bg); border-radius: 20px; padding: 3px 12px; }
.single-thumb { margin-bottom: 28px; border-radius: var(--radius); overflow: hidden; }
.single-thumb img { width: 100%; }
.single-content { font-size: 16px; }
.single-content h2, .single-content h3 { margin-top: 1.4em; }
.single-content img { border-radius: var(--radius); margin: 1em 0; }

/* ---------- about ---------- */
.about-layout { grid-template-columns: 1fr; }
.about-intro { font-size: 17px; max-width: 880px; }
.page-intro { font-size: 17px; max-width: 880px; margin: 28px auto 8px; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 16px 0 56px; }
.about-stats > div { background: var(--c-bg); border-radius: var(--radius); padding: 28px; text-align: center; }
.about-stats b { display: block; font-size: 34px; font-weight: 800; color: var(--c-primary); }
.about-stats span { color: var(--c-gray); font-size: 14px; }
.about-values { margin-bottom: 56px; }

/* ---------- about 四大板块 ---------- */
.about-section { padding: 60px 0; }
.about-section .section-head { margin-bottom: 40px; }

/* 发展历程：竖向时间轴，文字 + 图片 */
.timeline { max-width: 940px; margin: 0 auto; }
.tl-item { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding-bottom: 34px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 165px; top: 6px; bottom: 0; width: 2px; background: var(--c-border); }
.tl-item:last-child::before { display: none; }
.tl-item::after { content: ""; position: absolute; left: 160px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--c-primary); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--c-primary); }
.tl-year { font-size: 22px; font-weight: 700; color: var(--c-primary); text-align: right; padding-top: 2px; }
.tl-body { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px; }
.tl-body.has-photo { grid-template-columns: 220px 1fr; gap: 22px; }
.tl-photo img { width: 100%; border-radius: 10px; display: block; }
.tl-text { color: var(--c-ink); font-size: 15px; line-height: 1.7; }

/* 专家团队：每行 4-5 位横排 */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 26px; }
.expert-card { margin: 0; text-align: center; }
.expert-photo { aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; background: #e3efe3; margin-bottom: 14px; box-shadow: 0 6px 16px rgba(46,158,69,.12); }
.expert-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.expert-photo.is-placeholder .ph-avatar { display: block; width: 100%; height: 100%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='23' r='12' fill='%2397C459'/%3E%3Cpath d='M9 58c0-13 10-21 23-21s23 8 23 21' fill='%2397C459'/%3E%3C/svg%3E") center/60% no-repeat; }
.expert-name { font-size: 16px; font-weight: 600; color: var(--c-ink); }
.expert-role { font-size: 13px; color: var(--c-gray); margin-top: 4px; }

/* 荣誉资质：证书配图网格 */
.honor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 26px; }
.honor-card { margin: 0; text-align: center; }
.honor-img { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #f1f6f1; border: 1px solid var(--c-border); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.honor-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.honor-img.is-placeholder .ph-cert { display: block; width: 56%; height: 70%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='13' y='9' width='38' height='46' rx='3' fill='none' stroke='%2397C459' stroke-width='3'/%3E%3Ccircle cx='32' cy='28' r='8' fill='none' stroke='%2397C459' stroke-width='3'/%3E%3Cpath d='M23 43l9 9 9-9' fill='none' stroke='%2397C459' stroke-width='3'/%3E%3C/svg%3E") center/contain no-repeat; }
.honor-name { font-size: 14px; color: var(--c-ink); line-height: 1.5; }

/* 加入生态：贯穿左右全宽底纹 */
.cta-band--bleed { position: relative; overflow: hidden; margin-top: 56px; }
.cta-band--bleed .cta-pattern {
	position: absolute; inset: 0; pointer-events: none;
	background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 2px, transparent 2px 24px);
}
.cta-band--bleed .cta-inner { position: relative; z-index: 1; }
@media (max-width: 768px) {
	.tl-item { grid-template-columns: 1fr; gap: 10px; }
	.tl-item::before { left: 5px; }
	.tl-item::after { left: 0; }
	.tl-year { text-align: left; }
	.tl-body, .tl-body.has-photo { grid-template-columns: 1fr; }
	.tl-photo { max-width: 280px; }
}

/* ---------- contact ---------- */
.contact-layout { grid-template-columns: 360px 1fr; align-items: start; gap: 40px; }
.contact-info-title { font-size: 20px; margin: 0 0 18px; }
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--c-border); border-radius: 12px; text-decoration: none; color: var(--c-ink); box-shadow: 0 4px 14px rgba(46,158,69,.08); transition: transform .25s, box-shadow .25s, border-color .25s; }
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(46,158,69,.18); border-color: var(--c-primary); }
.contact-card .cc-icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: rgba(46,158,69,.12); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.contact-card .cc-label { display: block; font-size: 12px; color: var(--c-gray); }
.contact-card .cc-value { display: block; font-size: 15px; font-weight: 600; color: var(--c-ink); word-break: break-all; }
.contact-card:hover .cc-value { color: var(--c-primary); }
/* 联系我们：留言表单已移除，仅保留联系方式（单列卡片居中，避免右侧大片留白） */
.contact-layout.contact-layout--info-only { grid-template-columns: minmax(0, 1fr); }
.contact-layout--info-only .contact-info { width: 100%; max-width: 420px; margin-inline: auto; }
@media (max-width: 768px) {
  .contact-layout--info-only .contact-info { max-width: 100%; }
}

/* ---------- 合作伙伴（关于我们页，与荣誉同款） ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 26px; }
.partner-card { margin: 0; text-align: center; }
.partner-img { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #f1f6f1; border: 1px solid var(--c-border); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; transition: box-shadow .3s; }
.partner-img img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .45s ease; }
.partner-img.is-placeholder .ph-logo { display: block; width: 56%; height: 70%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='12' y='16' width='40' height='32' rx='4' fill='none' stroke='%2397C459' stroke-width='3'/%3E%3Cpath d='M22 32h20M32 22v20' stroke='%2397C459' stroke-width='3'/%3E%3C/svg%3E") center/contain no-repeat; }
.partner-name { font-size: 14px; color: var(--c-ink); margin-top: 10px; }
/* 专家 / 荣誉 / 合作伙伴图片 hover 动画：放大 + 主题绿色描边光晕 */
.expert-photo, .honor-img, .partner-img { transition: box-shadow .3s; }
.expert-photo img, .honor-img img, .partner-img img { transition: transform .45s ease; }
.expert-card:hover .expert-photo img,
.honor-card:hover .honor-img img,
.partner-card:hover .partner-img img { transform: scale(1.08); }
.expert-card:hover .expert-photo,
.honor-card:hover .honor-img,
.partner-card:hover .partner-img { box-shadow: 0 0 0 3px var(--c-primary), 0 12px 28px rgba(46,158,69,.22); }

/* ---------- footer ---------- */
.site-footer { background: #0f1b14; color: rgba(255,255,255,.78); }
.footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding: 56px 0 40px; align-items: start; }
.footer-brand .brand-mark { color: var(--c-accent); }
.footer-brand .brand-sub { color: rgba(255,255,255,.6); }
.footer-desc { font-size: 14px; margin: 16px 0; max-width: 280px; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-item { position: relative; }
.social-link { display: inline-block; padding: 6px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px;
  font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.8); background: transparent; font-family: inherit; cursor: pointer; }
.social-link:hover, .social-item:focus-within .social-link { border-color: var(--c-accent); color: var(--c-accent); }
.social-link-static { cursor: default; }
.social-item.has-qr .social-link::after { content: " ▣"; font-size: 11px; opacity: .7; }
/* 二维码浮层：桌面 hover，移动端点击名称聚焦即显示 */
.social-qr-pop { position: absolute; left: 0; bottom: calc(100% + 12px); z-index: 30; width: 168px; padding: 10px;
  background: #fff; border-radius: 10px; box-shadow: 0 12px 36px rgba(0,0,0,.28); text-align: center;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.social-qr-pop::after { content: ""; position: absolute; left: 18px; top: 100%; border: 7px solid transparent; border-top-color: #fff; }
.social-qr-pop img { width: 100%; border-radius: 6px; }
.social-qr-pop em { display: block; margin-top: 7px; font-size: 12px; font-style: normal; color: var(--c-ink); }
.social-item:hover .social-qr-pop, .social-item:focus-within .social-qr-pop { opacity: 1; visibility: visible; transform: none; }
.f-widget .f-title, .footer-col .f-title { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col .menu { display: flex; flex-direction: column; gap: 10px; }
.footer-col .menu a { color: rgba(255,255,255,.72); font-size: 14px; }
.footer-col .menu a:hover { color: var(--c-accent); }
.contact-list li { color: rgba(255,255,255,.78); }
.contact-list a { color: rgba(255,255,255,.78); }
.contact-list a:hover { color: var(--c-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.copyright { font-size: 13px; color: rgba(255,255,255,.55); margin: 0; }
.footer-nav { display: flex; gap: 18px; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,.6); }
.footer-nav a:hover { color: var(--c-accent); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 100px 20px; }
.notfound-code { font-size: 96px; font-weight: 800; color: var(--c-primary); line-height: 1; }
.notfound h1 { margin: 12px 0; }
.notfound p { color: var(--c-gray); }

/* ---------- widgets ---------- */
.widget { margin-bottom: 26px; }
.widget-title { font-size: 17px; margin-bottom: 12px; }

/* ---------- empty ---------- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--c-gray); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .page-layout, .archive-layout, .single-layout { grid-template-columns: 1fr; }
  .page-sidebar, .single-sidebar { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px;
    box-shadow: var(--shadow-md); transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: .25s; border-top: 1px solid var(--c-border);
  }
  .site-header.nav-open .main-nav { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav .menu { flex-direction: column; gap: 0; }
  .main-nav .menu-item > a { display: block; padding: 14px 0; border-bottom: 1px solid var(--c-border); }
  .header-actions { margin-top: 14px; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .feature-card { flex-direction: column; }
  .hero-stats { gap: 24px; }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr; }
}

/* =====================================================================
   首页 v2 · 版式参考 科大讯飞智慧教育 edu.iflytek.com
   全宽轮播 / 角色入口 / 全场景大卡 / 数据带 / 资讯栏目 tab
   ===================================================================== */

/* ---------- 全宽轮播 ---------- */
.eswi-slider {
  position: relative; overflow: hidden; background: #0d2a17; color: #fff;
  height: clamp(420px, 40vw, 620px); isolation: isolate;
}
.eswi-slides, .eswi-slide { position: absolute; inset: 0; }
.eswi-slide { opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.eswi-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .7s ease, visibility 0s; }
.eswi-slide-media { position: absolute; inset: 0; }
.eswi-slide-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.eswi-slide-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(6, 26, 14, .82) 0%, rgba(6, 26, 14, .55) 42%, rgba(6, 26, 14, .08) 100%);
}
.eswi-slide.is-placeholder::before { content: ""; position: absolute; inset: 0; }
.eswi-slide--tone-1.is-placeholder::before { background: radial-gradient(110% 130% at 82% 10%, #4cbf62 0%, #227d38 48%, #0d3a20 100%); }
.eswi-slide--tone-2.is-placeholder::before { background: radial-gradient(110% 130% at 15% 15%, #2ea9a3 0%, #176b58 50%, #0b332b 100%); }
.eswi-slide--tone-3.is-placeholder::before { background: radial-gradient(110% 130% at 80% 20%, #9ccb3f 0%, #3e8a34 50%, #123a1c 100%); }
.eswi-slide--tone-4.is-placeholder::before { background: radial-gradient(110% 130% at 20% 80%, #3f8fd0 0%, #1b5a8a 50%, #102b47 100%); }
.eswi-slide--tone-5.is-placeholder::before { background: radial-gradient(110% 130% at 75% 75%, #57b36a 0%, #1e6f42 50%, #0b2f1b 100%); }
.eswi-slide.is-placeholder::after {
  content: ""; position: absolute; inset: 0; opacity: .22; pointer-events: none;
  background: radial-gradient(420px 420px at 88% 25%, rgba(255,255,255,.4), transparent 65%);
}
.eswi-slide-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.eswi-slide-copy { max-width: 660px; }
.eswi-slide-kicker {
  display: inline-block; margin: 0 0 20px; padding-left: 14px; border-left: 3px solid var(--c-accent);
  font-size: 15px; letter-spacing: 2px; color: rgba(255,255,255,.92);
}
.eswi-slide-title { font-size: clamp(30px, 4.2vw, 54px); font-weight: 800; line-height: 1.22; margin: 0 0 18px; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.eswi-slide-desc { font-size: clamp(15px, 1.5vw, 18px); line-height: 1.8; color: rgba(255,255,255,.9); margin: 0 0 32px; max-width: 580px; }
.eswi-slide-btn { box-shadow: 0 10px 26px rgba(0,0,0,.18); }

.eswi-slider-arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45);
  background: rgba(0,0,0,.25); color: #fff; font-size: 30px; line-height: 1;
  display: flex; align-items: center; justify-content: center; padding-bottom: 4px;
  opacity: 0; transition: opacity .25s, background .25s, transform .25s;
}
.eswi-slider:hover .eswi-slider-arrow, .eswi-slider-arrow:focus-visible { opacity: 1; }
.eswi-slider-arrow:hover { background: var(--c-primary); border-color: var(--c-primary); }
.eswi-slider-prev { left: 24px; }
.eswi-slider-next { right: 24px; }

.eswi-slider-bottom {
  position: absolute; left: 0; right: 0; bottom: 30px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.eswi-slider-dots { display: flex; align-items: center; gap: 10px; }
.eswi-slider-dot {
  width: 26px; height: 4px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.42); transition: width .3s, background .3s;
}
.eswi-slider-dot span { display: none; }
.eswi-slider-dot.is-active { width: 48px; background: var(--c-accent); }
.eswi-slider-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.eswi-slider-counter { font-size: 14px; letter-spacing: 2px; color: rgba(255,255,255,.7); }
.eswi-slider-counter b { color: #fff; font-size: 20px; }

/* ---------- 服务不同教育角色 ---------- */
.role-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.role-card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px 22px 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden;
}
.role-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.role-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--c-primary); }
.role-card:hover::before { transform: scaleX(1); }
.role-index { font-size: 12px; letter-spacing: 2px; color: var(--c-primary); font-weight: 700; }
.role-icon { width: 46px; height: 46px; margin: 14px 0 18px; color: var(--c-primary); }
.role-ic { width: 100%; height: 100%; }
.role-title { font-size: 20px; margin: 0 0 6px; }
.role-slogan { font-size: 14px; color: var(--c-primary); font-weight: 600; margin: 0 0 16px; }
.role-q { font-size: 13px; color: var(--c-gray); line-height: 1.65; margin: 0 0 8px; }
.role-answer { font-size: 13px; color: var(--c-ink); line-height: 1.65; margin: 0 0 18px; }
.role-more { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--c-primary); }

/* ---------- 覆盖教育的全场景 ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.scene-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.scene-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.scene-media {
  position: relative; height: 150px; padding: 22px; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.scene-media::after { content: ""; position: absolute; inset: 0; opacity: .3;
  background: radial-gradient(220px 160px at 85% 15%, rgba(255,255,255,.55), transparent 70%); }
.scene-tone-1 .scene-media { background: linear-gradient(135deg, #2E9E45, #1b6f36); }
.scene-tone-2 .scene-media { background: linear-gradient(135deg, #24a89f, #146b64); }
.scene-tone-3 .scene-media { background: linear-gradient(135deg, #8dbf38, #4a8a2f); }
.scene-tone-4 .scene-media { background: linear-gradient(135deg, #3f8fd0, #1b5a8a); }
.scene-en { position: relative; z-index: 1; font-size: 14px; line-height: 1.5; opacity: .95; max-width: 85%; }
.scene-num { position: absolute; right: 16px; top: 10px; font-size: 52px; font-weight: 800; opacity: .2; line-height: 1; }
.scene-body { position: relative; padding: 24px 22px 26px; flex: 1; }
.scene-title { font-size: 20px; margin: 0 0 10px; }
.scene-desc { font-size: 14px; color: var(--c-gray); line-height: 1.75; margin: 0 0 16px; }
.scene-tag { font-size: 13px; color: var(--c-primary); font-weight: 600; margin: 0; }
.scene-more { position: absolute; right: 22px; bottom: 22px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(46,158,69,.1); color: var(--c-primary); display: flex; align-items: center; justify-content: center; }

/* ---------- 数据指标带 ---------- */
.stats-band { background: radial-gradient(120% 160% at 15% 0%, #3bb255, #14622d 70%, #0f4a24); color: #fff; padding: 64px 0; }
.stats-inner { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
.stats-intro .eyebrow { color: var(--c-accent); }
.stats-intro h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.stats-intro p { font-size: 15px; color: rgba(255,255,255,.85); margin: 0; line-height: 1.8; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; padding: 12px 8px; border-left: 1px solid rgba(255,255,255,.2); }
.stat-item b { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; line-height: 1.1; color: var(--c-accent); }
.stat-item span { display: block; margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.85); }

/* ---------- 新资讯新动态（栏目 tab） ---------- */
.news-tablist { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.news-tab {
  padding: 10px 26px; border: 1px solid var(--c-border); border-radius: 999px;
  background: #fff; color: var(--c-gray); font-size: 15px; font-weight: 600; transition: all .2s;
}
.news-tab:hover { border-color: var(--c-primary); color: var(--c-primary); }
.news-tab.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; box-shadow: var(--shadow-green); }
.news-tab:focus-visible { outline: 2px solid var(--c-primary-dark); outline-offset: 2px; }
.news-panel[hidden] { display: none; }
.news-list { display: flex; flex-direction: column; }
.news-item { border-bottom: 1px solid var(--c-border); }
.news-item:first-child { border-top: 1px solid var(--c-border); }
.news-item a {
  display: grid; grid-template-columns: 130px 1fr 130px 30px; align-items: center; gap: 20px;
  padding: 20px 12px; background: #fff; transition: background .2s, padding .2s;
}
.news-item a:hover { background: rgba(46,158,69,.06); padding-left: 20px; }
.news-item-date { font-size: 14px; color: var(--c-gray); font-variant-numeric: tabular-nums; }
.news-item-title { font-size: 16px; font-weight: 600; color: var(--c-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-item a:hover .news-item-title { color: var(--c-primary); }
.news-item-cat { font-size: 13px; color: var(--c-gray); text-align: right; }
.news-item-arrow { color: var(--c-primary); font-size: 20px; text-align: right; }

/* ---------- v2 响应式 ---------- */
@media (max-width: 1100px) {
  .role-grid { grid-template-columns: repeat(3, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 900px) {
  .news-item a { grid-template-columns: 100px 1fr 24px; gap: 12px; }
  .news-item-cat { display: none; }
}
@media (max-width: 768px) {
  .eswi-slider { height: 460px; }
  .eswi-slide-shade { background: linear-gradient(90deg, rgba(6,26,14,.86) 0%, rgba(6,26,14,.6) 70%, rgba(6,26,14,.3) 100%); }
  .eswi-slide-title { font-size: 30px; }
  .eswi-slide-desc { font-size: 15px; }
  .eswi-slider-arrow { display: none; }
  .eswi-slider-bottom { bottom: 20px; }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(odd) { border-left: 0; }
  .news-tab { padding: 8px 16px; font-size: 14px; }
  .news-item a { grid-template-columns: 88px 1fr; padding: 16px 6px; }
  .news-item-arrow { display: none; }
  .news-item-title { font-size: 15px; white-space: normal; line-height: 1.5; }
  .news-item-date { font-size: 13px; }
}
@media (max-width: 480px) {
  .role-grid { grid-template-columns: 1fr; }
  .eswi-slider { height: 420px; }
}

/* ============ 教学教研 ============ */
.teaching-intro-section { padding: 56px 0 24px; }
.teaching-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.teaching-intro-text p { margin: 0 0 1em; line-height: 1.85; color: var(--c-ink); }
.teaching-intro-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.teaching-intro-photo img { width: 100%; height: auto; display: block; }

.teaching-courses-section { padding: 56px 0; }
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.course-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; display: block; text-decoration: none; color: inherit; transition: transform .28s, box-shadow .28s, border-color .28s; }
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--c-primary); }
.course-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #eef3ee; }
.course-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.course-card:hover .course-thumb img { transform: scale(1.08); }
.course-play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; opacity: 0; transform: scale(.6); transition: opacity .28s, transform .28s; }
.course-card:hover .course-play { opacity: 1; transform: scale(1); }
.course-ph-avatar { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #e8f3ea 0%, #d6ebd9 100%); }
.course-flag { position: absolute; top: 10px; left: 10px; background: rgba(33,33,33,.78); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 20px; }
.course-meta { padding: 16px 18px 20px; }
.course-title { font-size: 17px; margin: 0 0 8px; }
.course-excerpt { color: var(--c-gray); font-size: 14px; margin: 0 0 10px; line-height: 1.6; }
.course-more { display: inline-block; }

.teaching-activity-section { padding: 56px 0; }
.activity-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.activity-item { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px 20px 20px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.activity-item:hover { border-color: var(--c-primary); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.activity-date { display: flex; align-items: baseline; gap: 8px; padding-bottom: 8px; border-bottom: 2px solid var(--c-accent); margin-bottom: 2px; }
.activity-day { font-size: 22px; font-weight: 800; color: var(--c-primary); line-height: 1; }
.activity-year { font-size: 13px; color: var(--c-gray); }
.activity-title { font-size: 17px; margin: 0; }
.activity-title a { color: var(--c-ink); text-decoration: none; }
.activity-title a:hover { color: var(--c-primary); }
.activity-info { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--c-gray); margin: 2px 0; }
.activity-excerpt { color: var(--c-gray); font-size: 14px; margin: 0; line-height: 1.6; }

/* 视频播放（eswi_video_embed 输出） */
.eswi-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #111; border-radius: var(--radius); overflow: hidden; }
.eswi-video iframe, .eswi-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.single-course-video { margin: 8px 0 24px; }
.single-course-empty { aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--c-bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--c-gray); margin-bottom: 24px; }
.single-course-lead { font-size: 17px; color: var(--c-ink); line-height: 1.7; padding: 16px 20px; background: #fff; border-left: 4px solid var(--c-primary); border-radius: var(--radius); margin: 0 0 22px; }

@media (max-width: 900px) {
  .teaching-intro { grid-template-columns: 1fr; gap: 24px; }
}
