/* ==========================================================
   万象国际商学院 - 自定义样式
   说明：布局类样式优先使用 Tailwind 原子类完成，本文件仅补充
   Tailwind 难以直接表达的动画、渐变、滚动等效果。
   ========================================================== */

html, body { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
img, video { -webkit-user-drag: none; }

/* ---------------- 淡入上滑动画（滚动进入视口时触发） ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------- 首页轮播图 ---------------- */
/* 轮播图展示比例 8:5（与素材 1200×748 / 4000×2493 一致） */
.hero-swiper { position: relative; overflow: hidden; aspect-ratio: 8 / 5; background: #0b1f42; }
.hero-swiper .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  display: flex; align-items: flex-end;
}
.hero-swiper .slide.active { opacity: 1; z-index: 2; }
.hero-swiper .slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; position: absolute; inset: 0; }
.hero-swiper .slide .cap {
  position: relative; z-index: 3; padding: 20px 18px 26px;
  background: linear-gradient(to top, rgba(11,31,66,.88), rgba(11,31,66,0));
  width: 100%; color: #fff;
}
.hero-dots { position: absolute; z-index: 4; bottom: 12px; right: 14px; display: flex; gap: 6px; }
.hero-dots span { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.45); transition: all .3s; }
.hero-dots span.active { width: 18px; background: #c8a45c; }

/* ---------------- 首页主题曲视频 ---------------- */
.home-song-entry {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 16px; text-align: left; color: #0b1f42;
  background: #fff; border-bottom: 1px solid #e8edf4;
}
.home-song-icon {
  display: grid; place-items: center; flex: 0 0 42px; height: 42px;
  border-radius: 50%; background: #0b1f42; color: #e6c98a;
}
.home-song-label { flex: 1; min-width: 0; }
.home-song-label strong { display: block; font-size: 16px; line-height: 1.4; }
.home-song-label small { display: block; margin-top: 2px; color: #64748b; font-size: 12px; }
.home-song-action { flex-shrink: 0; font-size: 12px; font-weight: 600; color: #765720; }
.home-song-entry:hover { background: #faf8f2; }
.home-song-entry:focus-visible, .home-song-close:focus-visible {
  outline: 2px solid #c8a45c; outline-offset: -3px;
}

html:has(.home-song-dialog[open]) { overflow: hidden; }
.home-song-dialog {
  width: min(720px, calc(100% - 24px)); max-height: calc(100% - 24px);
  margin: auto; padding: 0; border: 0; border-radius: 14px;
  background: #0b1f42; color: #fff; box-shadow: 0 16px 48px rgba(0,0,0,.35);
}
.home-song-dialog::backdrop { background: rgba(7,20,44,.76); }
.home-song-dialog-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 4px 8px 4px 16px;
}
.home-song-dialog-header h2 { font-size: 16px; font-weight: 600; }
.home-song-close { width: 44px; height: 44px; border-radius: 8px; font-size: 26px; }
.home-song-close:hover { background: rgba(255,255,255,.12); }
.home-song-dialog video { display: block; width: 100%; aspect-ratio: 30 / 17; max-height: 70vh; background: #000; }
.home-song-error { padding: 10px 16px; font-size: 13px; }

/* ---------------- 公告栏跑马灯 ---------------- */
.notice-bar { overflow: hidden; position: relative; }
.notice-track {
  display: flex; flex-direction: column; will-change: transform;
  animation: notice-scroll-up linear infinite;
}
.notice-track .notice-line { height: 40px; display: flex; align-items: center; }
@keyframes notice-scroll-up {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* ---------------- 横向滑动卡片行 ---------------- */
.hscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximate; padding-bottom: 4px; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex-shrink: 0; }

/* ---------------- 视频卡片播放按钮 ---------------- */
.play-badge {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(11,31,66,.18);
}
.play-badge .icon {
  width: 42px; height: 42px; border-radius: 999px; background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

/* ---------------- 产品渐变卡片（无实拍图时使用） ---------------- */
.product-visual {
  position: relative; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-visual .num {
  font-size: 46px; font-weight: 800; color: rgba(255,255,255,.92); letter-spacing: 2px;
  font-family: Georgia, 'Times New Roman', serif;
}
.product-visual .glow {
  position: absolute; width: 140px; height: 140px; border-radius: 999px; filter: blur(6px);
  background: radial-gradient(circle, rgba(255,255,255,.35), transparent 70%);
}
.pv-1 { background: linear-gradient(135deg,#0b1f42,#1c3a72 55%,#c8a45c); }
.pv-2 { background: linear-gradient(135deg,#7a3b57,#b2597e 55%,#e6c07d); }
.pv-3 { background: linear-gradient(135deg,#0b1f42,#144b73 55%,#2f8f8a); }

/* ---------------- 通用卡片阴影/圆角 ---------------- */
.card-shadow { box-shadow: 0 4px 18px rgba(11,31,66,.08); }

/* ---------------- 章节标题装饰 ---------------- */
.sec-title { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.sec-title .bar { width: 4px; height: 18px; background: linear-gradient(#c8a45c,#8a6a2e); border-radius: 2px; }

/* ---------------- Toast 提示 ---------------- */
.toast-item {
  background: rgba(11,31,66,.94); color: #fff; padding: 10px 20px; border-radius: 999px;
  font-size: 13px; box-shadow: 0 6px 20px rgba(0,0,0,.2); animation: toast-in .25s ease;
}
@keyframes toast-in { from { opacity:0; transform: translateY(-8px);} to { opacity:1; transform: translateY(0);} }

/* ---------------- 图文/后台 富文本内容排版 ---------------- */
.rich-content { line-height: 1.9; font-size: 15px; color: #2c3648; }
.rich-content p { margin-bottom: 12px; }
.rich-content img { max-width: 100%; border-radius: 8px; margin: 8px 0; }
.rich-content h1, .rich-content h2, .rich-content h3 { color: #0b1f42; font-weight: 700; margin: 16px 0 8px; }

/* ---------------- 返回顶部按钮 ----------------
   移动端页面内容被限制在 max-w-[560px] 的居中容器内，若按钮简单地 fixed 贴在
   浏览器视口右侧（right:1rem），在宽屏桌面浏览器下会明显脱离内容区域造成"错位"。
   这里用 calc 让按钮始终贴着内容容器的右边缘，屏幕更宽时也不会跑到视口最右侧。 */
#backToTop {
  transition: opacity .3s, transform .3s;
  right: max(1rem, calc(50vw - 264px)) !important;
}

/* ==========================================================
   模板二：现代活力版
   ========================================================== */
.site-template-modern { background: #eef3f8 !important; }
.site-template-modern > header {
  background: rgba(255,255,255,.96) !important; color: #10213b !important;
  border-bottom: 1px solid rgba(15,94,119,.1); box-shadow: 0 5px 22px rgba(24,70,90,.08);
}
.site-template-modern > header img { max-width: 210px; }
.site-template-modern #navToggleBtn span { background: #0f7185 !important; }
.site-template-modern #navDrawer { background: #0f5265 !important; }
.site-template-modern > main { background: #eef3f8 !important; }
.site-template-modern > footer {
  background: linear-gradient(140deg,#0c4353,#102d45) !important;
  border-top: 4px solid #e6a936;
}
.modern-home { --teal:#0f7185; --cyan:#1f9aad; --orange:#ec9f2c; color:#12263d; }
.modern-hero { aspect-ratio: 1.6; border-radius: 0 0 30px 30px; box-shadow: 0 14px 35px rgba(16,63,79,.18); }
.modern-hero .slide .cap {
  padding: 25px 22px 34px; background: linear-gradient(to top,rgba(6,35,51,.92),rgba(6,35,51,.06) 85%);
}
.modern-hero .cap h1 { font-size:22px; line-height:1.35; font-weight:800; max-width:85%; margin:6px 0 12px; }
.modern-kicker {
  display:inline-flex; color:#fff; background:rgba(31,154,173,.88); border:1px solid rgba(255,255,255,.3);
  padding:4px 10px; border-radius:999px; font-size:10px; letter-spacing:2px;
}
.modern-hero-action { font-size:12px; color:rgba(255,255,255,.88); }
.modern-hero-action b { color:#f8bd52; margin-left:4px; }
.modern-hero .hero-dots { right:20px; bottom:18px; }
.modern-hero .hero-dots span.active { background:#f2ae33; }
.modern-notice {
  margin:14px 16px 0; height:42px; padding:0 13px; display:flex; align-items:center; gap:10px;
  border-radius:13px; color:#355166; background:#fff; box-shadow:0 5px 20px rgba(21,70,89,.07);
}
.modern-notice-icon {
  width:24px; height:24px; display:grid; place-items:center; border-radius:8px;
  background:linear-gradient(135deg,var(--teal),var(--cyan)); color:#fff; font-size:11px; font-weight:800;
}
.modern-notice .notice-line { font-size:12.5px; color:#3b5365; }
.modern-notice .notice-line b { color:#e88724; margin-right:4px; }
.modern-quick-nav {
  margin:16px; padding:16px 10px; display:grid; grid-template-columns:repeat(4,1fr); gap:4px;
  background:#fff; border-radius:20px; box-shadow:0 8px 28px rgba(21,70,89,.08);
}
.modern-quick-nav a { display:flex; flex-direction:column; align-items:center; min-width:0; }
.modern-quick-nav a > span {
  width:44px; height:44px; display:grid; place-items:center; border-radius:15px; margin-bottom:7px;
  background:linear-gradient(145deg,#e4f6f7,#ccecef); color:var(--teal); font-size:15px; font-weight:800;
}
.modern-quick-nav a:nth-child(2) > span { background:linear-gradient(145deg,#fff2d9,#ffe0a6); color:#c97a12; }
.modern-quick-nav a:nth-child(3) > span { background:linear-gradient(145deg,#e8efff,#d4dfff); color:#496bb5; }
.modern-quick-nav a:nth-child(4) > span { background:linear-gradient(145deg,#e8f6e9,#cfead3); color:#42824d; }
.modern-quick-nav b { font-size:12px; color:#1c3548; white-space:nowrap; }
.modern-quick-nav small { margin-top:2px; font-size:8px; letter-spacing:.6px; color:#a1afbb; }
.modern-content { padding:6px 16px 28px; }
.modern-section { margin-top:30px; }
.modern-heading { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:13px; }
.modern-heading small { display:block; color:var(--teal); font-size:9px; font-weight:800; letter-spacing:2px; }
.modern-heading h2 { font-size:20px; line-height:1.2; font-weight:850; color:#142d42; margin-top:2px; }
.modern-heading > a { font-size:11px; color:#6e8492; padding-bottom:2px; }
.modern-heading.compact { margin-bottom:10px; }
.modern-heading.compact h2 { font-size:18px; }
.modern-empty { padding:34px 0; text-align:center; border-radius:16px; background:#fff; color:#9aaab5; font-size:13px; }
.modern-video-grid { display:grid; grid-template-columns:1fr 1fr; gap:11px; }
.modern-video-grid > a { overflow:hidden; background:#fff; border-radius:15px; box-shadow:0 6px 22px rgba(21,70,89,.09); }
.modern-video-grid > a.featured { grid-column:1/-1; display:grid; grid-template-columns:58% 42%; }
.modern-media { position:relative; aspect-ratio:16/10; overflow:hidden; background:#12364a; }
.modern-media img,.modern-media video { width:100%; height:100%; object-fit:cover; }
.modern-play {
  position:absolute; left:10px; bottom:10px; width:30px; height:30px; display:grid; place-items:center;
  border-radius:50%; color:#fff; background:rgba(15,113,133,.88); font-size:10px; padding-left:2px;
}
.modern-card-body { padding:10px; }
.modern-video-grid .featured .modern-card-body { display:flex; flex-direction:column; justify-content:center; padding:14px; }
.modern-card-body h3 { color:#173247; font-size:12.5px; font-weight:700; line-height:1.45; display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.modern-card-body p { color:#9aa9b4; font-size:10px; margin-top:5px; }
.modern-news-grid { display:grid; grid-template-columns:1fr 1fr; gap:11px; }
.modern-news-grid a { background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 5px 18px rgba(21,70,89,.08); }
.modern-news-grid a.featured { grid-column:1/-1; display:grid; grid-template-columns:42% 58%; }
.modern-news-cover { width:100%; height:112px; object-fit:cover; background:#dce8ed; }
.modern-news-grid .featured .modern-news-cover { height:100%; min-height:126px; }
.modern-news-grid a > div { padding:11px; }
.modern-news-grid time { color:var(--orange); font-size:9px; }
.modern-news-grid h3 { font-size:13px; line-height:1.4; font-weight:750; margin:3px 0; display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.modern-news-grid p { color:#82939f; font-size:10.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.modern-product-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:11px; }
.modern-product-grid > a { overflow:hidden; background:#fff; border-radius:16px; box-shadow:0 5px 20px rgba(21,70,89,.08); }
.modern-product-grid img,.modern-product-grid .product-visual { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:0; }
.modern-product-grid .product-visual .num { font-size:31px; }
.modern-product-grid > a > div:last-child { padding:10px 11px 12px; }
.modern-product-grid small { color:var(--teal); font-size:9px; }
.modern-product-grid h3 { color:#183146; font-size:12.5px; font-weight:750; margin-top:2px; line-height:1.4; }
.modern-split { margin-top:30px; display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.modern-split > div { padding:14px 12px; background:#fff; border-radius:18px; box-shadow:0 6px 22px rgba(21,70,89,.08); min-width:0; }
.modern-training-item { display:flex; align-items:center; gap:8px; padding:10px 0; border-top:1px solid #edf2f4; }
.modern-training-cover { width:44px; height:34px; object-fit:cover; border-radius:9px; flex-shrink:0; }
.modern-training-item > span,.modern-case-item > span { min-width:0; flex:1; }
.modern-training-item strong,.modern-case-item strong { display:block; font-size:11.5px; line-height:1.35; color:#263d4d; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.modern-training-item small,.modern-case-item small { display:block; margin-top:2px; color:#9aa8b1; font-size:9px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.modern-training-item i { color:var(--teal); font-size:11px; font-style:normal; }
.modern-case-item { display:flex; align-items:center; gap:8px; padding:8px 0; border-top:1px solid #edf2f4; }
.modern-case-cover { width:38px; height:38px; object-fit:cover; border-radius:11px; flex-shrink:0; }
.modern-back-top {
  position:fixed; right:max(1rem,calc(50vw - 264px)); bottom:24px; z-index:40; width:42px; height:42px;
  border-radius:14px; background:var(--teal); color:#fff; box-shadow:0 8px 20px rgba(15,113,133,.3);
  opacity:0; pointer-events:none; transition:.3s;
}

/* ==========================================================
   模板三：东方杂志版
   ========================================================== */
.site-template-editorial { background:#ede9df !important; font-family:"Noto Serif SC","Songti SC",SimSun,serif !important; }
.site-template-editorial > header {
  background:rgba(246,243,235,.97) !important; color:#241d18 !important;
  border-bottom:1px solid #c8bda8; box-shadow:none;
}
.site-template-editorial > header img { max-width:210px; }
.site-template-editorial #navToggleBtn span { background:#8e2f26 !important; border-radius:0 !important; }
.site-template-editorial #navDrawer { background:#29231f !important; }
.site-template-editorial > main { background:#f6f3eb !important; }
.site-template-editorial > footer { background:#29231f !important; border-top:5px solid #9e332a; }
.editorial-home { --red:#9e332a; --ink:#29231f; --paper:#f6f3eb; color:var(--ink); }
.editorial-masthead {
  height:54px; padding:0 17px; display:flex; align-items:center; justify-content:space-between;
  border-bottom:1px solid #d2c8b6; background:#f6f3eb;
}
.editorial-masthead span { font-size:23px; font-weight:900; letter-spacing:7px; color:#2b211b; }
.editorial-masthead small { font-family:Georgia,serif; font-size:8px; letter-spacing:1.5px; color:#8b7f6d; }
.editorial-hero { margin:16px; width:auto; aspect-ratio:1.38; border-radius:0; border:1px solid #382d26; background:#29231f; }
.editorial-hero:before { content:""; position:absolute; inset:7px; border:1px solid rgba(255,255,255,.4); z-index:4; pointer-events:none; }
.editorial-hero .slide .cap { padding:45px 24px 30px; background:linear-gradient(to top,rgba(31,24,20,.96),rgba(31,24,20,0)); }
.editorial-hero .cap small { font-size:9px; letter-spacing:2px; color:#d9b26d; }
.editorial-hero .cap h1 { margin:7px 0 10px; font-size:22px; font-weight:900; line-height:1.4; }
.editorial-hero .cap span { font-size:11px; color:#e4d7c5; }
.editorial-hero .hero-dots span { border-radius:0; width:12px; height:2px; }
.editorial-hero .hero-dots span.active { width:26px; background:#c79c53; }
.editorial-ticker {
  margin:0 16px; height:42px; display:flex; align-items:center; gap:10px; border-top:2px solid var(--ink); border-bottom:1px solid #9d907c;
}
.editorial-ticker > b { padding-right:10px; border-right:1px solid #ac9f8b; color:var(--red); font-size:13px; }
.editorial-ticker .notice-line { color:#51483f; font-size:12px; }
.editorial-ticker > a { color:#8b7d69; font-size:10px; white-space:nowrap; }
.editorial-content { padding:12px 16px 34px; }
.editorial-content section { margin-top:36px; }
.editorial-content section > header { display:flex; align-items:center; gap:11px; padding-bottom:10px; border-bottom:2px solid var(--ink); margin-bottom:15px; }
.editorial-content section > header > span { color:var(--red); font:italic 26px Georgia,serif; }
.editorial-content section > header > div { flex:1; }
.editorial-content section > header small { display:block; color:#9c8c75; font:8px Georgia,serif; letter-spacing:2px; }
.editorial-content section > header h2 { font-size:19px; font-weight:900; letter-spacing:2px; }
.editorial-content section > header > a { color:#756856; font-size:10px; }
.editorial-lead-story { display:grid; grid-template-columns:48% 52%; border-bottom:1px solid #cfc4b2; padding-bottom:15px; }
.editorial-lead-cover { width:100%; height:170px; object-fit:cover; filter:saturate(.78) contrast(1.03); }
.editorial-lead-story > div { padding:4px 0 0 14px; }
.editorial-lead-story time { color:var(--red); font-size:9px; }
.editorial-lead-story h3 { font-size:17px; line-height:1.5; font-weight:900; margin:5px 0; display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
.editorial-lead-story p { color:#746a5c; font-size:11px; line-height:1.6; display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.editorial-lead-story span { display:block; margin-top:9px; color:var(--red); font-size:10px; }
.editorial-headlines a { display:flex; align-items:center; gap:12px; padding:13px 0; border-bottom:1px dotted #b8aa94; }
.editorial-headlines a > b { color:#b7a68d; font:italic 18px Georgia,serif; }
.editorial-headlines a > span { flex:1; min-width:0; }
.editorial-headlines strong { display:block; font-size:13px; line-height:1.4; overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.editorial-headlines small { display:block; color:#9b8c76; font-size:9px; margin-top:3px; }
.editorial-headlines i { color:var(--red); font-style:normal; }
.editorial-video { margin-left:-16px; margin-right:-16px; padding:28px 16px 30px; background:var(--ink); color:#f5eee2; }
.editorial-video > header { border-bottom-color:#766b5e !important; }
.editorial-video > header h2 { color:#fff; }
.editorial-video > header > a { color:#c8baa7 !important; }
.editorial-video-list { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.editorial-video-list a { color:#f4ede3; }
.editorial-video-list a.featured { grid-column:1/-1; display:grid; grid-template-columns:62% 38%; align-items:center; border-bottom:1px solid #655b50; padding-bottom:14px; }
.editorial-video-media { position:relative; aspect-ratio:16/10; overflow:hidden; background:#111; }
.editorial-video-media img,.editorial-video-media video { width:100%; height:100%; object-fit:cover; filter:saturate(.75); }
.editorial-video-media span { position:absolute; left:8px; bottom:8px; padding:4px 8px; background:var(--red); color:#fff; font:8px Arial,sans-serif; letter-spacing:1px; }
.editorial-video-list a > div:last-child { padding:9px 2px; }
.editorial-video-list .featured > div:last-child { padding:12px; }
.editorial-video-list small { color:#c59d5c; font:9px Georgia,serif; }
.editorial-video-list h3 { font-size:12.5px; line-height:1.45; font-weight:700; margin-top:3px; }
.editorial-academy-intro { padding:20px; background:#9e332a; color:#fff; position:relative; overflow:hidden; }
.editorial-academy-intro:after { content:"学"; position:absolute; right:-8px; bottom:-28px; font-size:100px; color:rgba(255,255,255,.08); }
.editorial-academy-intro small { color:#e7c9a2; font-size:10px; letter-spacing:2px; }
.editorial-academy-intro h3 { font-size:21px; margin:4px 0 7px; }
.editorial-academy-intro p { max-width:82%; font-size:11px; line-height:1.7; color:rgba(255,255,255,.75); }
.editorial-academy ol { border-left:1px solid #9e332a; margin-left:13px; padding-left:0; list-style:none; }
.editorial-academy li a { display:flex; align-items:center; gap:12px; padding:14px 0 14px 16px; border-bottom:1px solid #d1c5b3; }
.editorial-training-cover { width:58px; height:44px; object-fit:cover; border-radius:0; flex-shrink:0; }
.editorial-academy li span { flex:1; min-width:0; }
.editorial-academy li strong { display:block; font-size:13px; }
.editorial-academy li small { display:block; margin-top:3px; color:#91836f; font-size:9.5px; overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.editorial-academy li i { color:var(--red); font-size:9px; font-style:normal; }
.editorial-product-list > a { display:grid; grid-template-columns:35px 42% 1fr; align-items:center; gap:11px; padding:14px 0; border-bottom:1px solid #cabda9; }
.editorial-product-index { font:italic 22px Georgia,serif; color:#aa9272; }
.editorial-product-list img,.editorial-product-list .product-visual { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:0; }
.editorial-product-list .product-visual .num { font-size:24px; }
.editorial-product-list small { color:var(--red); font-size:9px; }
.editorial-product-list h3 { font-size:13px; font-weight:800; line-height:1.45; margin:3px 0 8px; }
.editorial-product-list div > span { color:#8e7f6a; font-size:9px; }
.editorial-cases > a { display:grid; grid-template-columns:92px 1fr; gap:13px; padding:13px 0; border-bottom:1px dotted #b9aa93; }
.editorial-case-cover { width:92px; height:88px; object-fit:cover; filter:saturate(.78); }
.editorial-cases small { color:var(--red); font-size:9px; }
.editorial-cases h3 { font-size:13.5px; font-weight:800; line-height:1.45; margin:3px 0; }
.editorial-cases p { color:#887a67; font-size:10px; line-height:1.5; display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.editorial-empty { padding:35px 0; text-align:center; color:#998c78; font-size:12px; }
.editorial-back-top {
  position:fixed; right:max(1rem,calc(50vw - 264px)); bottom:24px; z-index:40; width:40px; height:40px;
  border:1px solid #f1e6d6; border-radius:0; background:var(--red); color:#fff; box-shadow:4px 4px 0 #2b221c;
  opacity:0; pointer-events:none; transition:.3s;
}

/* 首页八个栏目入口 */
.home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 6px;
  padding: 17px 12px;
  background: #fff;
  border-bottom: 1px solid #e8edf4;
}
.home-category-grid a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #152f55;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.home-category-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  background: #eaf0f9;
  color: #234b7d;
}
.home-category-grid a:nth-child(4n + 2) .home-category-icon,
.home-category-grid a:nth-child(4n + 4) .home-category-icon { background: #f8f0dc; color: #765720; }
.home-category-icon svg { width: 25px; height: 25px; }
.home-category-grid a:hover .home-category-icon { box-shadow: inset 0 0 0 1px currentColor; }
.home-category-grid a:focus-visible,
.category-group a:focus-visible { outline: 2px solid #84621f; outline-offset: 3px; }

/* 栏目页标题和二级分组 */
.category-landing {
  background: #0b1f42;
  color: #fff;
  border-radius: 14px;
  padding: 15px 17px 18px;
  margin-bottom: 16px;
  border-bottom: 3px solid #c8a45c;
}
.category-back { display: inline-block; color: #ead39e; font-size: 13px; margin-bottom: 12px; }
.category-landing-title { display: flex; gap: 12px; align-items: center; }
.category-landing-title h1 { font-size: 22px; font-weight: 700; overflow-wrap: anywhere; }
.category-landing-title p { color: #d0daeb; font-size: 12px; margin-top: 3px; }
.category-landing-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  border-radius: 11px;
  color: #ead39e;
  background: #203659;
}
.category-landing-icon svg { width: 24px; height: 24px; }
.category-landing-description { margin-top: 10px; color: #d0daeb; font-size: 13px; overflow-wrap: anywhere; }
.category-groups { display: grid; gap: 14px; margin-bottom: 16px; }
.category-group { padding: 12px 14px; background: #fff; border: 1px solid #e2e8f1; border-radius: 12px; }
.category-group-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.category-group-heading h2 { color: #0b1f42; font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.category-group-heading a { flex-shrink: 0; padding: 7px 0; font-size: 12px; color: #765720; }
.category-group-item { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-top: 1px solid #edf0f5; }
.category-group-cover { width: 68px; height: 48px; flex-shrink: 0; border-radius: 7px; object-fit: cover; }
.category-group-item span { min-width: 0; overflow-wrap: anywhere; }
.category-group-item strong { display: block; color: #152f55; font-size: 14px; }
.category-group-item small { display: block; color: #64748b; font-size: 12px; }
.category-group-empty { padding: 10px 0 3px; color: #64748b; font-size: 13px; }
.category-subnav { margin-bottom: 18px; padding: 12px 14px; border: 1px solid #e2e8f1; border-radius: 12px; background: #fff; }
.category-subnav-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.category-subnav-heading span { min-width: 0; color: #0b1f42; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.category-subnav-heading a { flex-shrink: 0; color: #765720; font-size: 12px; }
.category-subnav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.category-subnav-links a { max-width: 100%; padding: 8px 12px; border: 1px solid #e2e8f1; border-radius: 7px; color: #334155; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.category-subnav-links a:hover { border-color: #c8a45c; }
.category-subnav-links a[aria-current] { border-color: #0b1f42; background: #0b1f42; color: #fff; font-weight: 600; }
.category-subnav a:focus-visible, .category-drawer-children a:focus-visible { outline: 2px solid #b28a3c; outline-offset: 3px; }
.category-drawer-children { padding: 0 20px 10px 34px; }
.category-drawer-children a { display: block; padding: 9px 12px; border-left: 1px solid #52617c; color: #d0daeb; font-size: 13px; overflow-wrap: anywhere; }
.category-drawer-children a:hover, .category-drawer-children a[aria-current] { border-color: #c8a45c; background: #ffffff0d; color: #f0dcae; }

/* 荣誉榜首页横幅与人员榜单 */
.honor-banner {
  position: relative;
  display: flex;
  align-items: center;
  width: calc(100% - 32px);
  min-height: 92px;
  aspect-ratio: 5 / 1;
  margin: 12px 16px 0;
  isolation: isolate;
  overflow: hidden;
  border-radius: 11px;
  background: #751c2c;
  color: #fff0c9;
}
.honor-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; z-index: -1; }
.honor-banner-copy { display: grid; gap: 4px; padding: 10px clamp(14px, 5vw, 26px); }
.honor-banner-copy strong { font-size: clamp(20px, 5.3vw, 27px); font-weight: 700; letter-spacing: .035em; }
.honor-banner-copy > span { font-size: 12px; color: #f7d499; }
.honor-banner:focus-visible, .honor-page a:focus-visible, .honor-search :focus-visible { outline: 2px solid #d6a651; outline-offset: 3px; }
.honor-page { background: #681724; }
.honor-page-heading {
  padding: 15px 18px 22px;
  color: #fff2d1;
  background: #541322 url('/assets/img/honor-banner.svg') center / cover no-repeat;
}
.honor-page-heading a { display: inline-block; font-size: 12px; color: #f5d397; margin-bottom: 10px; }
.honor-page-heading h1 { font-size: clamp(22px, 6vw, 29px); font-weight: 700; }
.honor-controls { background: #fffaf2; padding: 14px 16px 0; border-bottom: 1px solid #f0ddc1; }
.honor-search { display: flex; gap: 8px; }
.honor-search input { width: 100%; min-width: 0; padding: 8px 12px; border: 1px solid #e3d3bb; border-radius: 8px; background: #fff; color: #30241f; font-size: 14px; }
.honor-search button { flex-shrink: 0; padding: 8px 15px; border-radius: 8px; background: #731d2d; color: #fff; font-size: 14px; }
.honor-rank-tabs { display: flex; gap: 17px; overflow-x: auto; scrollbar-width: thin; padding-top: 5px; }
.honor-rank-tabs a { flex: none; padding: 12px 2px 9px; font-size: 14px; white-space: nowrap; border-bottom: 3px solid transparent; color: #67574f; }
.honor-rank-tabs a[aria-current] { border-color: #b47a31; color: #711c2a; font-weight: 700; }
.honor-list { display: grid; gap: 13px; padding: 16px; min-height: 240px; align-content: start; }
.honor-person, .honor-empty { border: 1px solid #e8d5b8; border-radius: 12px; background: #fffaf4; color: #2e211d; }
.honor-person { padding: 13px; }
.honor-person-main { display: flex; align-items: center; gap: 14px; }
.honor-person-main > div { min-width: 0; overflow-wrap: anywhere; }
.honor-portrait { display: block; width: 86px; height: 108px; flex: 0 0 86px; border: 1px solid #dfbd83; border-radius: 7px; object-fit: cover; }
.honor-portrait-placeholder { display: grid; place-items: center; background: #f5e8d1; color: #946927; }
.honor-portrait-placeholder svg, .honor-empty svg { width: 30px; height: 30px; }
.honor-person h2 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.honor-team { font-size: 13px; color: #725e51; margin-top: 4px; }
.honor-promotion { font-size: 13px; color: #514239; margin-top: 7px; }
.honor-promotion strong { color: #8a4d20; margin-left: 4px; }
.honor-note { margin-top: 10px; padding-top: 8px; border-top: 1px solid #efdfcb; color: #5a483d; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.honor-empty { display: grid; justify-items: center; gap: 8px; padding: 27px 12px; font-size: 14px; color: #6e5642; }
.honor-pages { display: flex; justify-content: center; align-items: center; gap: 12px; color: #fff0d4; font-size: 13px; }
.honor-pages a { padding: 7px 10px; border: 1px solid #dfbd83; border-radius: 6px; }
