/* ============================================================
   燕山大学安全工作处门户网站 · 主样式
   主色：燕大蓝 #1f296a | 金色点缀 #e8a020 | 警示红 #c0392b
   ============================================================ */


/* ── CSS Variables ── */
:root {
  --primary: #1f296a;
  --primary-light: #2a3f9f;
  --primary-dark: #141a47;
  --accent: #e8a020;
  --accent-light: #f5b940;
  --alert: #c0392b;
  --dark: #0d1225;
  --surface: #f4f6fc;
  --surface-2: #eaecf5;
  --white: #ffffff;
  --text: #1a1e2e;
  --text-muted: #6b7280;
  --border: #dde2f0;
  --radius: 8px;
  --radius-lg: 16px;
  --font-stele: 'STXinwei', '华文新魏', 'WeiBei', '魏碑', 'Ma Shan Zheng', 'Zhi Mang Xing', 'LiSu', '隶书', 'SimKai', serif;
  --shadow-sm: 0 2px 8px rgba(31, 41, 106, 0.10);
  --shadow-md: 0 8px 32px rgba(31, 41, 106, 0.16);
  --shadow-lg: 0 20px 60px rgba(31, 41, 106, 0.22);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --news-notice-row-height: 74px;
  --news-notice-row-gap: 12px;
  --nav-height: 80px;
  --top-bar-height: 36px;
  --font-display: 'Noto Serif SC', serif;
  --font-body: 'Noto Sans SC', sans-serif;

  /* ── Fluid spacing tokens（clamp 自适应）── */
  --space-section: clamp(80px, 6vw, 140px);
  --space-gap: clamp(20px, 1.5vw, 36px);
  --container-max: 1600px;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base font: 16px for rem scaling */
html {
  font-size: 1rem;
  #scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  #display: none !important;
  #width: 0 !important;
  #height: 0 !important;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: clip;
  #scrollbar-width: none;
  -ms-overflow-style: none;
}

img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* 兼容博达站群与富文本编辑器的原生排版属性 (全局生效，无需指定父级类名) */
p[align="center"],
div[align="center"],
td[align="center"],
th[align="center"] {
  text-align: center;
}

p[align="right"],
div[align="right"],
td[align="right"],
th[align="right"] {
  text-align: right;
}

p[align="left"],
div[align="left"],
td[align="left"],
th[align="left"] {
  text-align: left;
}

img[align="center"],
img[align="middle"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
}

/* ── Container ── */
/* 在 2K 上展宽到 1680px，4K 展宽到 2240px，边距也随之放大 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 2vw, 64px);
}

/* ── Section Label ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: calc(var(--nav-height) + var(--top-bar-height));
  padding-top: var(--top-bar-height);
  transition: background var(--transition), box-shadow var(--transition);
  background: linear-gradient(to bottom, rgba(13, 18, 37, 0.95) 0%, rgba(13, 18, 37, 0.4) 60%, rgba(13, 18, 37, 0) 100%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.site-nav.scrolled {
  background: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* 左：Logo + 细分割线 + 2行部门名称 (党委安全工作部 / 安全工作处) */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo {
  width: auto;
  height: 46px;
  object-fit: contain;
  display: block;
}

.nav-brand-divider {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.nav-title-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.nav-title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.nav-title-main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1.15;
}

.nav-title-en {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.725rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.5px;
  line-height: 1;
}

/* 中：导航链接 */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: flex-end;
  margin: 0 0 0 20px;
  padding: 0;
  list-style: none;
}

.nav-links .nav-item {
  position: relative;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 7px 13px;
  border-radius: var(--radius);
  font-size: 1.125rem;
  /* 18px */
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
  //white-space: nowrap;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links .nav-item.active>a {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

/* 右：搜索 + 电话 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
}

.nav-phone svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
}

.nav-search-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.nav-search-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.nav-search-btn svg {
  width: 15px;
  height: 15px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

/* 汉堡按钮 */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: var(--top-bar-height);
  display: flex;
  align-items: center;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 2vw, 64px);
}

.top-bar-left {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-right a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.top-bar-right a:hover {
  color: var(--accent);
}

.top-bar-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  margin: 0;
  height: 100%;
  transition: color var(--transition), transform 0.2s ease;
}

.top-bar-search-btn:hover {
  color: var(--accent);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: scale(1.1);
}

.top-bar-search-btn svg {
  stroke: currentColor;
  flex-shrink: 0;
}

/* Adjust nav position for top-bar */
.site-nav {
  top: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 66.67vh;
  min-height: 480px;
  max-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}





to {
  transform: scale(1.06);
}
}


.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}




.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 8s linear;
  transform: scale(1.05);
  display: flex;
  align-items: center;
  justify-content: center;
}




.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

.hero-slide .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  max-width: 860px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}

.hero-slide.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}






.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  backdrop-filter: blur(2px);
}

.hero:hover .hero-arrow {
  opacity: 1;
  visibility: visible;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-prev {
  left: 30px;
}

.hero-next {
  right: 30px;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}



.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  max-width: 860px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease both;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.9s 0.2s ease both;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(0.875rem, 1.8vw, 1.125rem);
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 40px;
  font-weight: 300;
  animation: fadeInUp 0.9s 0.4s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s 0.6s ease both;
}

.btn-primary {
  padding: 14px 36px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 160, 32, 0.4);
  background: var(--accent-light);
}

.btn-outline {
  padding: 13px 36px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--transition), border-color var(--transition);
  cursor: pointer;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  width: 28px;
  height: 28px;
  stroke: rgba(255, 255, 255, 0.5);
  fill: none;
  stroke-width: 1.5;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* Hero Services - Downward Flipped Strip (线上业务办理入口 + 二级选项向下延展) */
.hero-services-section,
.hero-services {
  position: relative;
  z-index: 30;
  /* 保证二级菜单向下展开时浮于下方内容之上 */
  background: var(--surface);
  padding: 0 24px 0 24px;
  margin-top: 0;
  border-bottom: none;
}

.news-notice-section {
  padding-top: 28px !important;
}

.hero-services-inner {
  display: flex;
  max-width: 1280px;
  margin: 0 auto;
  align-items: flex-start;
  position: relative;
  height: 84px;
}

.hero-services-inner::-webkit-scrollbar {
  display: none;
}

.hero-service-item {
  flex: 1;
  min-width: 0;
  margin: 0 3px;
  position: relative;
  z-index: 2;
  transition: z-index 0.2s ease;
}

.hero-service-item:hover,
.hero-service-item:focus-within,
.hero-service-item.active {
  z-index: 60;
  /* 激活时提至最前 */
}

/* 1. 纯一级直达卡片造型 */
a.hero-service-item {
  width: 100%;
  height: 80px;
  background: var(--primary);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: 3px solid rgba(245, 158, 11, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 6px 4px 6px;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 14px rgba(31, 41, 106, 0.12);
}

a.hero-service-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

/* 纯一级项悬浮微下探，保持圆角美感 */
a.hero-service-item:hover,
a.hero-service-item:focus-visible {
  background: var(--primary-light, #293888);
  border-top-color: var(--accent);
  transform: translateY(4px);
  box-shadow: 0 10px 24px rgba(31, 41, 106, 0.28);
}

a.hero-service-item:hover::after,
a.hero-service-item:focus-visible::after {
  transform: scaleX(1);
}

/* 2. 带有二级选项的复合卡片容器 */
.hero-service-item.has-dropdown {
  perspective: 1000px;
  transform-style: preserve-3d;
  height: 80px;
  position: relative;
}

/* 一级选项卡片面 (正面)：展开二级时向上翻折收起 */
.hero-service-front {
  width: 100%;
  height: 80px;
  background: var(--primary);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: 3px solid rgba(245, 158, 11, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 6px 4px 6px;
  box-sizing: border-box;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 4px 14px rgba(31, 41, 106, 0.12);
  transform-origin: top center;
  transform: rotateX(0deg);
  opacity: 1;
  visibility: visible;
  transition: transform 0.38s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.28s ease, visibility 0.38s;
  z-index: 2;
  backface-visibility: hidden;
}

.hero-service-front::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

/* 二级选项激活/展开时：一级选项向上翻折收起隐藏 */
.hero-service-item.has-dropdown:hover .hero-service-front,
.hero-service-item.has-dropdown:focus-within .hero-service-front,
.hero-service-item.has-dropdown.active .hero-service-front {
  transform: rotateX(90deg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 3. 二级选项独立延展面板：高度自适应内含子项数量，收起时自带向上翻折动画 */
.hero-service-sub-panel {
  position: absolute;
  top: 0;
  left: -2px;
  right: -2px;
  height: auto;
  /* 高度完全自适应内含子项数量 */
  min-height: 80px;
  background: linear-gradient(180deg, #24327a 0%, #151d4e 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 2.5px solid var(--accent);
  border-top: 3.5px solid var(--accent);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.45);
  padding: 8px 6px 10px 6px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  box-sizing: border-box;
  transform-origin: top center;
  /* 初始/收起状态：向上翻转折起收纳隐藏 */
  transform: rotateX(-90deg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.32s ease, visibility 0.4s;
  z-index: 70;
  backface-visibility: hidden;
}

/* 二级选项展开状态：向下翻开展现 */
.hero-service-item.has-dropdown:hover .hero-service-sub-panel,
.hero-service-item.has-dropdown:focus-within .hero-service-sub-panel,
.hero-service-item.has-dropdown.active .hero-service-sub-panel {
  transform: rotateX(0deg);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 二级面板顶部分类指引微标签 */
.sub-panel-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.8px;
  text-align: center;
  padding: 1px 0 2px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 高度保持不变的二级选项按钮链接 */
.hero-sub-btn {
  flex: 0 0 42px;
  /* 子项高度严格保持不变，不被挤压变形 */
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: all 0.22s ease;
  word-break: break-word;
  white-space: normal;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
  box-sizing: border-box;
}

.hero-sub-btn:hover {
  background: var(--accent);
  color: #0f172a;
  font-weight: 700;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

/* 图标与文字公共样式 */
.hero-service-icon {
  color: var(--accent);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
}

.hero-service-icon i {
  font-size: 26px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 扩展专属无人机 Font 图标 (fa-drone / fa-uav) */
.fa-drone,
.fa-uav,
i.fa-drone,
i.fa-uav {
  display: inline-block;
  width: 1em;
  height: 1em;
  font-style: normal;
  vertical-align: -0.125em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z'/%3E%3Cline x1='10.2' y1='10.2' x2='5.5' y2='5.5'/%3E%3Cline x1='13.8' y1='10.2' x2='18.5' y2='5.5'/%3E%3Cline x1='10.2' y1='13.8' x2='5.5' y2='18.5'/%3E%3Cline x1='13.8' y1='13.8' x2='18.5' y2='18.5'/%3E%3Ccircle cx='4.5' cy='4.5' r='2.5'/%3E%3Ccircle cx='19.5' cy='4.5' r='2.5'/%3E%3Ccircle cx='4.5' cy='19.5' r='2.5'/%3E%3Ccircle cx='19.5' cy='19.5' r='2.5'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z'/%3E%3Cline x1='10.2' y1='10.2' x2='5.5' y2='5.5'/%3E%3Cline x1='13.8' y1='10.2' x2='18.5' y2='5.5'/%3E%3Cline x1='10.2' y1='13.8' x2='5.5' y2='18.5'/%3E%3Cline x1='13.8' y1='13.8' x2='18.5' y2='18.5'/%3E%3Ccircle cx='4.5' cy='4.5' r='2.5'/%3E%3Ccircle cx='19.5' cy='4.5' r='2.5'/%3E%3Ccircle cx='4.5' cy='19.5' r='2.5'/%3E%3Ccircle cx='19.5' cy='19.5' r='2.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

a.hero-service-item:hover .hero-service-icon,
.hero-service-front:hover .hero-service-icon {
  transform: scale(1.08);
  color: #fff;
}

.hero-service-label {
  font-size: 0.9375rem;
  /* 15px */
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
  text-align: center;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

a.hero-service-item:hover .hero-service-label,
.hero-service-front:hover .hero-service-label {
  color: #fff;
}

/* 超长名称专属双行精细化排版（如：民用无人驾驶航空器使用申请）全名称无裁切完整展示 */
.hero-service-label-long {
  font-size: 0.75rem !important;
  /* 12px */
  line-height: 1.2 !important;
  font-weight: 600 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  white-space: normal !important;
  letter-spacing: 0.2px !important;
}

.hero-service-label-long .label-line {
  display: block;
  white-space: nowrap;
}

/* 下拉展开指示箭头微动效 */
.hero-service-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  transition: transform 0.3s ease, color 0.3s ease;
  margin-top: -1px;
}

.hero-service-item.has-dropdown:hover .hero-service-arrow,
.hero-service-item.has-dropdown:focus-within .hero-service-arrow,
.hero-service-item.has-dropdown.active .hero-service-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

/* ============================================================
   TICKER BAND 三行错排通知公告滚动带
   ============================================================ */
.ticker-band {
  background: transparent;
  overflow: hidden;
}

/* 每行容器 */
.ticker-row {
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}

/* 颜色对标截图：深暗红、灰调红、鲜亮红 */
.ticker-row--1 {
  height: 60px;
  background: #5c2d29;
}

.ticker-row--2 {
  height: 64px;
  background: #934a45;
}

.ticker-row--3 {
  height: 72px;
  background: #ea3a2f;
}

/* 滚动轨道 */
.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* 向左（正向）*/
.ticker-ltr {
  animation: tickerLeft 300s linear infinite;
}

/* 向右（反向）*/
.ticker-rtl {
  animation: tickerRight 180s linear infinite;
}

/* 慢速 */
.ticker-slow {
  animation-duration: 220s;
}

.ticker-row:hover .ticker-track {
  animation-play-state: paused;
}

/* 单条目 */
.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--transition);
  flex-shrink: 0;
}

.ticker-row--1 .ticker-item {
  font-size: clamp(0.875rem, 1.2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.95);
}

.ticker-row--2 .ticker-item {
  font-size: clamp(0.875rem, 1.2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.95);
}

.ticker-row--3 .ticker-item {
  font-size: clamp(1rem, 1.4vw, 1.375rem);
  color: #ffffff;
}

.ticker-item:hover {
  color: var(--accent-light);
}

/* 分隔符 ✦ */
.ticker-sep {
  font-style: normal;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  margin-left: 28px;
  vertical-align: middle;
}

/* 动画 keyframes */
@keyframes tickerLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes tickerRight {
  0% {
    transform: translate3d(-50%, 0, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* 旧 marquee 兼容（保留以防引用） */
.marquee-section {
  display: none;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-surface {
  background: var(--surface);
}

.section-primary {
  background: var(--primary);
  color: var(--white);
}

.section-header {
  margin-bottom: 52px;
}

.section-title {
  /* Solutek h2 ≈ 32px(2rem)，这里用 clamp 保持流体 */
  font-size: clamp(1.5rem, 2.5vw, 2.375rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.section-dark .section-title,
.section-primary .section-title {
  color: var(--white);
}

.section-title-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  border-radius: 2px;
  margin-top: 12px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 560px;
  line-height: 1.75;
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

/* ── More link ── */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 600;
  transition: gap var(--transition), color var(--transition);
}

.more-link:hover {
  gap: 10px;
  color: var(--accent);
}

.more-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ============================================================
   QUICK SERVICES 办事指南 FAQ
   ============================================================ */

#guide-section {
  background-image: url('../images/bg_1.png');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

#guide-section .section-title {
  color: #1f296a;
}

#guide-section .section-label {
  color: var(--accent);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 10;
  align-items: start;
}



.single-faq {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: border-color 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
}

.single-faq::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background: url(../images/feature6.png);
  left: -17%;
  top: -3%;
  z-index: -1;
  background-repeat: no-repeat;
  background-position: center;
}

.single-faq::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  transition: transform 1.2s ease, opacity 0.8s ease;
  z-index: -1;
  background: #1f296a;
  right: 0;
  bottom: 0;
  transform: perspective(800px) rotateX(-90deg);
  transform-origin: bottom;
  opacity: 0;
}

.single-faq:hover {
  border-color: rgba(31, 41, 106, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(31, 41, 106, 0.08);
}

.single-faq:hover::after {
  transform: perspective(500px) rotateX(0);
  opacity: 1;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
}

.faq-question::before {
  content: "";
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(31, 41, 106, 0.05);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231f296a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3e%3cpolyline points='14 2 14 8 20 8'/%3e%3cline x1='16' y1='13' x2='8' y2='13'/%3e%3cline x1='16' y1='17' x2='8' y2='17'/%3e%3cpolyline points='10 9 9 9 8 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.single-faq:hover .faq-question::before {
  transform: scale(1.1) rotate(-5deg);
  background-color: transparent;
  filter: brightness(0) invert(1);
}

.question-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  transition: color 0.5s ease, transform 0.5s ease;
  transform-origin: left center;
}

.single-faq:hover .question-title {
  color: #fff;
  transform: scale(1.1);
}

.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.single-faq:hover .faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0;
  padding-top: 0;
  padding-left: 64px;
  /* Align with text (48 icon + 16 gap) */
  transition: opacity 0.5s ease, padding 0.5s ease, color 0.5s ease, transform 0.5s ease;
  transform-origin: left top;
}

.single-faq:hover .faq-answer-inner {
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
  padding-top: 12px;
  transform: scale(1.05);
}

/* ============================================================
   NOTICE + DYNAMICS (两列布局)
   ============================================================ */
.notice-bg-shape {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  opacity: 1;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.notice-shape-1 {
  /* service8.png：红线 */
  top: 0;
  left: 4%;
  animation: floatY 8s ease-in-out infinite;
}

.notice-shape-2 {
  /* service5.png：右侧方框 */
  top: 0;
  right: 0;
  animation: floatXY 12s ease-in-out infinite alternate;
}

.notice-shape-3 {
  /* service7.png：星星 */
  top: 18%;
  left: 1%;
  animation: twinkle 4s ease-in-out infinite;
  transform-origin: center left;
}

@keyframes floatY {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -30px, 0);
  }
}

@keyframes floatX {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(-20px, 0, 0) rotate(15deg);
  }
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 1;
    transform: scale3d(0.5, 0.5, 1) translateZ(0);
  }

  50% {
    opacity: 0.3;
    transform: scale3d(0.4, 0.4, 1) translateZ(0);
  }
}

@keyframes floatXY {
  0% {
    transform: translate3d(0, 0, 0);
  }

  33% {
    transform: translate3d(-25px, 20px, 0);
  }

  66% {
    transform: translate3d(-10px, -15px, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* ============================================================
   NEWS & NOTICE SPLIT LAYOUT (左新闻 2/3 + 右通知 1/3 动态交互)
   ============================================================ */
.news-notice-split {
  display: flex;
  gap: 32px;
  align-items: stretch;
  position: relative;
  width: 100%;
}

.news-notice-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: flex 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    flex-grow 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    flex-shrink 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    flex-basis 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    width 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: flex-grow, flex-basis, width;
}

/* 默认比例：新闻占 2/3 (66.666%)，通知占 1/3 (33.333%) */
.news-col-left {
  flex: 2 1 66.666%;
  width: 66.666%;
}

.notice-col-right {
  flex: 1 1 33.333%;
  width: 33.333%;
}

/* 当鼠标悬停/聚焦在右侧通知区域时，变窄的慢慢收，变宽的慢慢展开 (0.95s 优雅漫展) */
.news-notice-split:has(.notice-col-right:hover) .news-col-left,
.news-notice-split.focus-notice .news-col-left {
  flex: 1 1 33.333%;
  width: 33.333%;
}

.news-notice-split:has(.notice-col-right:hover) .notice-col-right,
.news-notice-split.focus-notice .notice-col-right {
  flex: 2 1 66.666%;
  width: 66.666%;
}

/* 左右容器（1:1 对齐） */
.news-dynamic-box,
.notice-dynamic-box {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 32px rgba(31, 41, 106, 0.05);
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: background 0.75s ease, box-shadow 0.75s ease, border-color 0.75s ease, padding 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.notice-col-right:hover .notice-dynamic-box,
.news-notice-split.focus-notice .notice-dynamic-box,
.news-col-left:hover .news-dynamic-box {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 40px rgba(31, 41, 106, 0.12);
  border-color: rgba(31, 41, 106, 0.2);
}

.news-interactive-tip,
.notice-interactive-tip {
  font-size: 0.8rem;
  color: var(--primary);
  opacity: 0.85;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  height: 20px;
  line-height: 20px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.tip-icon {
  font-style: normal;
  display: inline-block;
  animation: pulseRotate 3s infinite ease-in-out;
}

@keyframes pulseRotate {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.2) rotate(180deg);
  }
}

/* 通知列表在 1/3 与 2/3 空间下的网格自适应 (0.95s 平滑漫延) */
.notice-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--news-notice-row-gap);
  transition: grid-template-columns 0.95s cubic-bezier(0.16, 1, 0.3, 1), gap 0.95s ease;
}

/* 默认 1/3 空间下仅展示前 6 条通知，隐藏第 7~12 条 */
.notice-list .notice-item:nth-child(n+7) {
  display: none;
}

/* 扩展到 2/3 空间时使用双列展示，并展开全部 12 条通知充满区域 */
.news-notice-split:has(.notice-col-right:hover) .notice-list,
.news-notice-split.focus-notice .notice-list {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--news-notice-row-gap) 14px;
}

.news-notice-split:has(.notice-col-right:hover) .notice-list .notice-item:nth-child(n+7),
.news-notice-split.focus-notice .notice-list .notice-item:nth-child(n+7) {
  display: flex;
  animation: noticeItemFadeIn 0.65s ease forwards;
}

@keyframes noticeItemFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 左侧新闻整体布局 */
.news-content-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* 1. 首条要闻（配大图与精致造型卡片） */
.news-hero-card {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: calc(3 * var(--news-notice-row-height) + 2 * var(--news-notice-row-gap));
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(31, 41, 106, 0.06);
  border: 1px solid rgba(31, 41, 106, 0.08);
  text-decoration: none;
  color: inherit;
  margin-bottom: 12px;
  transition: all 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-notice-split:has(.notice-col-right:hover) .news-hero-card,
.news-notice-split.focus-notice .news-hero-card {
  height: calc(3 * var(--news-notice-row-height) + 2 * var(--news-notice-row-gap));
}

.news-hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(31, 41, 106, 0.14);
  border-color: rgba(31, 41, 106, 0.2);
}

.news-hero-img-box {
  position: relative;
  width: 42%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  background: #0f172a;
  transition: width 0.95s cubic-bezier(0.16, 1, 0.3, 1), height 0.95s cubic-bezier(0.16, 1, 0.3, 1), flex-basis 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-notice-split:has(.notice-col-right:hover) .news-hero-img-box,
.news-notice-split.focus-notice .news-hero-img-box {
  width: 100%;
  height: 105px;
}

.news-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-hero-card:hover .news-hero-img {
  transform: scale(1.08);
}

.news-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(15, 23, 42, 0.75) 100%);
  pointer-events: none;
}

.news-hero-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
  z-index: 2;
  letter-spacing: 0.5px;
}

.news-hero-body {
  padding: 18px 22px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.news-notice-split:has(.notice-col-right:hover) .news-hero-body,
.news-notice-split.focus-notice .news-hero-body {
  padding: 8px 12px;
  gap: 4px;
}

/* 新闻动态在折叠/收起态时（右侧通知公告聚焦/展开时），隐藏“阅读全文”按钮 */
.news-notice-split:has(.notice-col-right:hover) .news-hero-action,
.news-notice-split.focus-notice .news-hero-action {
  display: none !important;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.4;
  }

  100% {
    transform: scale(0.95);
    opacity: 1;
  }
}

.news-hero-date {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
}

.nhd-day {
  font-size: 1.5rem;
  line-height: 1;
}

.nhd-month {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.news-hero-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.news-hero-card:hover .news-hero-title {
  color: var(--primary);
}

.news-hero-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-hero-action {
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
}

.news-hero-card:hover .news-hero-action {
  gap: 8px;
}

/* 2. 次要新闻列表 */
.news-sub-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  /* 靠底部对齐 */
}

.news-sub-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  height: var(--news-notice-row-height);
  min-height: var(--news-notice-row-height);
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.news-sub-item:hover {
  background: #ffffff;
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(31, 41, 106, 0.08);
  border-color: rgba(31, 41, 106, 0.15);
}

.news-sub-thumb-box {
  flex-shrink: 0;
  width: 72px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-sub-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-sub-item:hover .news-sub-thumb {
  transform: scale(1.12);
}

.news-sub-text {
  flex: 1;
  min-width: 0;
}

.news-sub-title {
  font-size: 1.125rem;
  /* 与通知公告和安全教育列表字体完全一致 (18px) */
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.news-sub-item:hover .news-sub-title {
  color: var(--primary);
}

.news-sub-excerpt {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-sub-date-right {
  flex-shrink: 0;
  text-align: right;
  padding-left: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.news-sub-item:hover .news-sub-date-right {
  color: var(--primary);
}

.notice-item {
  display: flex;
  gap: 14px;
  padding: 10px 14px;
  height: var(--news-notice-row-height);
  min-height: var(--news-notice-row-height);
  box-sizing: border-box;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(31, 41, 106, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.notice-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.notice-item:hover::before {
  opacity: 1;
}

.notice-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(31, 41, 106, 0.15);
  border: 1px solid var(--primary);
}

.notice-item:hover .notice-title {
  color: rgba(255, 255, 255, 0.9);
}

.notice-item:hover .notice-date-day {
  color: rgba(255, 255, 255, 0.95);
}

.notice-item:hover .notice-date-month {
  color: rgba(255, 255, 255, 0.7);
}

.notice-item:hover .notice-date {
  background: rgba(255, 255, 255, 0.15);
}

/* ── 通知公告分类标签（通知、通报、预警、公示，上下分行排布） ── */
.notice-tag-row {
  display: flex;
  align-items: center;
  margin-bottom: 1px;
}

.notice-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 4px;
  line-height: 1.25;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.notice-tag.tag-notice {
  background: rgba(31, 41, 106, 0.09);
  color: #1f296a;
  border: 1px solid rgba(31, 41, 106, 0.22);
}

.notice-tag.tag-circular {
  background: rgba(192, 25, 32, 0.1);
  color: #c01920;
  border: 1px solid rgba(192, 25, 32, 0.25);
}

.notice-tag.tag-alert {
  background: rgba(217, 119, 6, 0.12);
  color: #d97706;
  border: 1px solid rgba(217, 119, 6, 0.28);
}

.notice-tag.tag-public {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.notice-item:hover .notice-tag {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.notice-date {
  flex-shrink: 0;
  width: 48px;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(31, 41, 106, 0.06);
  border-radius: 8px;
  transition: background 0.4s ease;
}

.notice-date-day {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 2px;
  text-align: center;
  width: 100%;
  transition: color 1s ease;
}

.notice-date-month {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1;
  text-align: center;
  width: 100%;
  transition: color 1s ease;
}

.notice-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.notice-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

/* 修复了原先残留的 hover 变蓝色的规则，允许其正确反转为纯白 */

/* 工作动态 */
.dynamics-featured {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  margin-bottom: 16px;
}

.dynamics-featured-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dynamics-featured:hover .dynamics-featured-img {
  transform: scale(1.05);
}

.dynamics-featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(13, 18, 37, 0.88));
  padding: 32px 20px 20px;
}

.dynamics-featured-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dynamics-featured-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
}

.dynamics-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dynamics-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.dynamics-item-img {
  width: 72px;
  height: 54px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
  transition: opacity var(--transition);
}

.dynamics-item:hover .dynamics-item-img {
  opacity: 0.85;
}

.dynamics-item-body {}

.dynamics-item-title {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dynamics-item:hover .dynamics-item-title {
  color: var(--primary);
}

.dynamics-item-date {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   SAFETY MODULES 安全专题卡片 (3列)
   ============================================================ */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.module-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.module-card-inner {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 100%;
  border-top: 4px solid var(--primary);
  transition: border-top-color var(--transition);
}

.module-card:hover .module-card-inner {
  border-top-color: var(--accent);
}

.module-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
  transition: transform var(--transition);
}

.module-card:hover .module-icon {
  transform: scale(1.2);
}

.module-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.module-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.module-list-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color var(--transition), padding-left var(--transition);
}

.module-list-item:last-child {
  border-bottom: none;
}

.module-list-item:hover {
  color: var(--primary);
  padding-left: 6px;
}

.module-list-item span {
  font-size: 0.6875rem;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 8px;
}

/* ============================================================
   STATS BAND 数字统计带
   ============================================================ */
.stats-band {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/bg.png") center/contain repeat;
  opacity: 0.2;
  /* 增加透明度防止背景图喧宾夺主，如果图片本身较暗可以调整这个值 */
  pointer-events: none;
}

.stats-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.stat-item {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-suffix {
  font-size: 1.375rem;
}

/* ============================================================
   THREE THEMES SECTION 三大主题
   ============================================================ */
.themes-section {
  position: relative;
  /* overflow: hidden removed to allow warning bleed to extend upwards */
  background: var(--white);
  padding: 0;
  margin-bottom: 0;
  /* Changed from var(--space-section) to remove white space */
}

.themes-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}

/* 政策法规列表 */
/* 政策法规链接样式（放在手风琴内部） */
.policy-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}

.policy-link {
  font-size: 0.9375rem;
  color: var(--text);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 6px;
  background: rgba(31, 41, 106, 0.03);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.policy-link::before {
  content: '•';
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
  margin-right: 8px;
  transition: color 0.3s ease;
}

.policy-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateX(4px);
}

.policy-link:hover::before {
  color: var(--accent);
}

/* 警示案例破界区域 (Half-Bleed) */
.theme-warning-bleed {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% + (var(--container-max) / 2) + 30px);
  right: 0;
  z-index: 1;
  display: flex;
  align-items: stretch;
  /* 使得内部子元素占满全高，从而支持右侧控制按钮绝对居中 */
  padding: 0 40px;
  color: #fff;
}

.tw-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s ease;
}

.theme-warning-bleed:hover .tw-bg-img {
  transform: scale(1.015);
}

.tw-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 18, 37, 0.9) 0%, rgba(31, 41, 106, 0.8) 100%);
  z-index: -1;
}

.tw-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.tw-header {
  margin-bottom: 52px;
  width: 100%;
}

.tw-label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.tw-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.tw-line {
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 12px;
}

.tw-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tw-card {
  display: block;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--accent);
  margin-bottom: 0;
  border-radius: 0 8px 8px 0;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.tw-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-4px);
  border-left-color: transparent;
}

.tw-card-date {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.tw-card-title {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
}

/* ============================================================
   DYNAMICS SECTION 工作动态
   ============================================================ */
.dynamics-section {
  background: var(--surface-1);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dynamics-section .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 40px;
  padding-bottom: 40px;
}

.dynamics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  flex: 1;
}

.dynamics-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 左侧列：上高图 下列表 */
.dynamics-img-tall {
  width: 100%;
  flex: 1;
  min-height: 300px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(31, 41, 106, 0.08);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
}

.dynamics-img-tall:hover,
.dynamics-grid:has(.dynamics-news-list-right .dynamics-news-item:first-child:hover) .dynamics-img-tall {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(31, 41, 106, 0.12);
}

/* 当图片被 <a> 标签包裹时，确保 <a> 标签能正确伸展并处理边距 */
.dynamics-col-left>a {
  display: flex;
  flex: 1;
  margin-bottom: 24px;
}

.dynamics-col-left>a>.dynamics-img-tall {
  margin-bottom: 0;
}

/* 右侧长图被 <a> 标签包裹时的处理 */
.dynamics-col-right>a {
  display: flex;
  flex: 1;
  margin-top: auto;
}

.dynamics-col-right>a>.dynamics-img-long {
  margin-top: 0;
}

/* 左侧卡片列表 */
.dynamics-news-list-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dynamics-news-card {
  display: flex;
  gap: 20px;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(31, 41, 106, 0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  align-items: flex-start;
  text-decoration: none;
}

/* ── 新闻动态：原地手风琴大图展开模式 ── */
.news-accordion-list {
  display: flex;
  flex-direction: column;
  gap: var(--news-notice-row-gap);
}

.news-accordion-item {
  width: 100%;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.news-accordion-item .news-hero-card {
  display: none;
  margin-bottom: 0;
}

.news-accordion-item .news-sub-item {
  display: flex;
}

/* 激活项：在原位置展开为大图要闻造型 */
.news-accordion-item.active .news-hero-card {
  display: flex;
  animation: newsExpandIn 0.35s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.news-accordion-item.active .news-sub-item {
  display: none !important;
}

@keyframes newsExpandIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dynamics-news-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(31, 41, 106, 0.05);
  border-radius: 6px;
  padding: 12px 14px;
  flex-shrink: 0;
  min-width: 60px;
  transition: all 0.4s ease;
}

.dynamics-news-card:hover .dynamics-news-date,
.dynamics-grid:has(.dynamics-img-long:hover) .dynamics-news-list-left .dynamics-news-card:first-child .dynamics-news-date {
  background: rgba(255, 255, 255, 0.15);
}

.dnd-day {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
  transition: color 0.4s ease;
}

.dnd-month {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1;
  transition: color 0.4s ease;
}

.dynamics-news-card:hover .dnd-day,
.dynamics-grid:has(.dynamics-img-long:hover) .dynamics-news-list-left .dynamics-news-card:first-child .dnd-day {
  color: #ffffff;
}

.dynamics-news-card:hover .dnd-month,
.dynamics-grid:has(.dynamics-img-long:hover) .dynamics-news-list-left .dynamics-news-card:first-child .dnd-month {
  color: rgba(255, 255, 255, 0.8);
}

.dynamics-news-content {
  flex: 1;
}

.dynamics-news-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
  transition: color 0.4s ease;
}

.dynamics-news-card:hover .dynamics-news-title,
.dynamics-grid:has(.dynamics-img-long:hover) .dynamics-news-list-left .dynamics-news-card:first-child .dynamics-news-title {
  color: #ffffff;
}

.dynamics-news-excerpt {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.4s ease;
}

.dynamics-news-card:hover .dynamics-news-excerpt,
.dynamics-grid:has(.dynamics-img-long:hover) .dynamics-news-list-left .dynamics-news-card:first-child .dynamics-news-excerpt {
  color: rgba(255, 255, 255, 0.8);
}

/* 右侧列：上标题区域 + 3列表 + 下长图 */
.dynamics-header {
  margin-bottom: 24px;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.dynamics-subtitle {
  margin-top: 16px;
  margin-bottom: 0;
  max-width: 480px;
  text-align: right;
}

.dynamics-news-list-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.dynamics-news-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.dynamics-news-item:hover,
.dynamics-grid:has(.dynamics-img-tall:hover) .dynamics-news-list-right .dynamics-news-item:first-child {
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(31, 41, 106, 0.05);
  transform: translateX(6px);
}


.dni-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.dynamics-news-item:hover .dni-title,
.dynamics-grid:has(.dynamics-img-tall:hover) .dynamics-news-list-right .dynamics-news-item:first-child .dni-title {
  color: var(--primary);
}

.dni-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dni-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 8px;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.dynamics-news-item:hover .dni-excerpt,
.dynamics-grid:has(.dynamics-img-tall:hover) .dynamics-news-list-right .dynamics-news-item:first-child .dni-excerpt {
  color: #64748b;
  /* 保持为一种沉稳的灰色，不再变蓝，和变蓝的标题形成强烈对比 */
}

.dynamics-img-long {
  width: 100%;
  flex: 1;
  min-height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(31, 41, 106, 0.08);
  margin-top: auto;
  /* 如果上方内容较少，自动推到底部 */
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
}

.dynamics-img-long:hover,
.dynamics-grid:has(.dynamics-news-list-left .dynamics-news-card:first-child:hover) .dynamics-img-long {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(31, 41, 106, 0.12);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin: 10px auto 0;
  opacity: 0.5;
}

/* ============================================================
   PROGRESS 进度条安全指标
   ============================================================ */
.progress-section {
  background: var(--surface);
}

.progress-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.progress-text h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.progress-text p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.progress-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.progress-item {}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.progress-pct {
  color: var(--primary);
  font-weight: 700;
}

.progress-bar-bg {
  height: 8px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 100px;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   TABS 多栏目切换（国安/消防/交通/治安）
   ============================================================ */
.tabs-section {}

.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-pane {
  display: none;
}

/* ── 安全教育栏目单独居中背景 element_2.png ── */
.edu-bg-element {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1320px;
  height: 100%;
  background-image: url('../images/element_2.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

.edu-tiled-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.edu-channel-card {
  min-width: 0;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 10px 32px rgba(31, 41, 106, 0.06);
  transition: all 0.3s ease;
  overflow: hidden;
}

.edu-channel-card:hover {
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 16px 40px rgba(31, 41, 106, 0.12);
  border-color: rgba(31, 41, 106, 0.25);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════════
   政策法规 主栏目模块与延申到模块宽度之外的竖向交叉背景标签
   ══════════════════════════════════════════════════════════════════ */
.policy-main-card {
  grid-column: 1 / -1;
  position: relative;
  overflow: visible !important;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 24px 32px 28px 32px;
  box-shadow: 0 12px 36px rgba(31, 41, 106, 0.08);
  margin-top: 4px;
}

.policy-main-card:hover {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 48px rgba(31, 41, 106, 0.14);
  border-color: rgba(31, 41, 106, 0.3);
  transform: translateY(-2px);
}

/* 延申到模块宽度之外的 独立背景色竖向排列二级栏目标签 */
.policy-vertical-badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 9px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 5px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  z-index: 10;
  user-select: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  cursor: pointer;
}

.policy-vertical-badge .badge-icon {
  writing-mode: horizontal-tb;
  font-size: 1.2rem;
  margin-bottom: 8px;
  line-height: 1;
}

/* 交叉效果 1：左侧“法律法规” 延申到模块左侧之外 -44px */
.policy-vertical-badge.badge-left-law {
  left: -44px;
  top: 32%;
  transform: translateY(-50%);
  background: linear-gradient(160deg, #c01920 0%, #850c12 100%);
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: -6px 10px 24px rgba(192, 25, 32, 0.38);
}

/* 交叉挂角小刺绣立体切角 */
.policy-vertical-badge.badge-left-law::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #850c12;
}

/* 左侧“安全课堂” 延申到模块左侧之外 -44px */
.policy-vertical-badge.badge-left-class {
  left: -44px;
  top: 38%;
  transform: translateY(-50%);
  background: linear-gradient(160deg, #1f296a 0%, #0c1236 100%);
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: -6px 10px 24px rgba(31, 41, 106, 0.38);
}

.policy-vertical-badge.badge-left-class::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #0c1236;
}

/* 交叉效果 2：右侧“规章制度” 延申到模块右侧之外 -44px (高度错位形成跨界斜向交叉) */
.policy-vertical-badge.badge-right-rule {
  right: -44px;
  top: 66%;
  transform: translateY(-50%);
  background: linear-gradient(160deg, #1e3a8a 0%, #0f172a 100%);
  border-left: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 6px 10px 24px rgba(30, 58, 138, 0.38);
}

.policy-vertical-badge.badge-right-rule::after {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #0f172a;
}

/* 右侧“警示案例” 延申到模块右侧之外 -44px */
.policy-vertical-badge.badge-right-warning {
  right: -44px;
  top: 62%;
  transform: translateY(-50%);
  background: linear-gradient(160deg, #dc2626 0%, #991b1b 100%);
  border-left: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 6px 10px 24px rgba(220, 38, 38, 0.38);
}

.policy-vertical-badge.badge-right-warning::after {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #991b1b;
}

/* 竖向标签 Hover 悬浮放大与交叉拉伸动画 */
.policy-vertical-badge.badge-left-law:hover,
.policy-vertical-badge.badge-left-class:hover {
  transform: translateY(-50%) translateX(-4px) scale(1.06);
  box-shadow: -8px 14px 30px rgba(31, 41, 106, 0.48);
}

.policy-vertical-badge.badge-right-rule:hover,
.policy-vertical-badge.badge-right-warning:hover {
  transform: translateY(-50%) translateX(4px) scale(1.06);
  box-shadow: 8px 14px 30px rgba(220, 38, 38, 0.48);
}

/* 内部双子栏目网格 */
.policy-sub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  position: relative;
  margin-top: 4px;
}

/* 垂直中分割线 */
.policy-sub-grid::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(31, 41, 106, 0.03) 0%, rgba(31, 41, 106, 0.16) 50%, rgba(31, 41, 106, 0.03) 100%);
  transform: translateX(-50%);
}

.policy-sub-column {
  display: flex;
  flex-direction: column;
}

.policy-sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(31, 41, 106, 0.08);
}

.policy-sub-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
}

.policy-sub-title-badge.law-badge {
  background: rgba(192, 25, 32, 0.08);
  color: #c01920;
  border-left: 3px solid #c01920;
}

.policy-sub-title-badge.rule-badge {
  background: rgba(30, 58, 138, 0.08);
  color: #1e3a8a;
  border-left: 3px solid #1e3a8a;
}

.policy-sub-en {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(31, 41, 106, 0.4);
  text-transform: uppercase;
}

.edu-card-header {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: none;
  position: relative;
}

.edu-header-title-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}

.edu-header-icon-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.edu-header-emoji {
  font-size: 1.65rem;
  line-height: 1;
}

.edu-card-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary-dark, #141a47);
  letter-spacing: 1.5px;
  margin: 0;
  line-height: 1.1;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Font Awesome 5 Free", sans-serif;
}

.edu-header-en {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(31, 41, 106, 0.45);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
  line-height: 1;
}

.edu-header-line {
  flex: 1;
  height: 1px;
  background: rgba(31, 41, 106, 0.18);
  margin-bottom: 3px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.edu-card-more {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--primary, #1f296a);
  text-decoration: none;
  margin-bottom: 1px;
  flex-shrink: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-4px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, color 0.25s ease;
}

.edu-channel-card:hover .edu-header-line,
.edu-channel-card:focus-within .edu-header-line,
.policy-main-card:hover .edu-header-line,
.policy-main-card:focus-within .edu-header-line,
.policy-sub-column:hover .edu-header-line,
.policy-sub-column:focus-within .edu-header-line,
.edu-channel-card:hover .edu-card-more,
.edu-channel-card:focus-within .edu-card-more,
.policy-main-card:hover .edu-card-more,
.policy-main-card:focus-within .edu-card-more,
.policy-sub-column:hover .edu-card-more,
.policy-sub-column:focus-within .edu-card-more {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.edu-card-more:hover {
  color: var(--accent, #e8a020);
  transform: translateX(3px) !important;
}

/* 移动端/触屏保障：保持可见 */
@media (max-width: 1024px),
(hover: none) {

  .edu-header-line,
  .edu-card-more {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* ── 警示案例模块（支持视频/图片缩略图与视频弹窗） ── */
.warning-channel-card {
  display: flex;
  flex-direction: column;
}

.warning-filter-tabs {
  display: flex;
  gap: 6px;
  margin-left: auto;
  margin-right: 12px;
}

.warning-tab {
  background: rgba(31, 41, 106, 0.06);
  border: 1px solid rgba(31, 41, 106, 0.12);
  color: #64748b;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 600;
}

.warning-tab.active,
.warning-tab:hover {
  background: var(--alert, #c0392b);
  border-color: var(--alert, #c0392b);
  color: #ffffff;
}

.warning-media-content {
  display: flex;
  gap: 16px;
  flex: 1;
  align-items: stretch;
}

.warning-hero-card {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 18px rgba(31, 41, 106, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.warning-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(31, 41, 106, 0.12);
  border-color: rgba(192, 57, 43, 0.35);
}

.warning-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 148px;
  overflow: hidden;
  background: #0f172a;
}

.warning-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.warning-hero-card:hover .warning-thumb-img {
  transform: scale(1.08);
}

.warning-media-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.warning-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.warning-hero-card:hover .warning-play-overlay {
  background: rgba(0, 0, 0, 0.38);
}

.warning-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(192, 57, 43, 0.92);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(192, 57, 43, 0.6);
  transition: transform 0.3s ease, background 0.3s ease;
  padding-left: 2px;
}

.warning-hero-card:hover .warning-play-btn {
  transform: scale(1.15);
  background: #e74c3c;
}

.warning-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.warning-card-meta,
.warning-sub-tag-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.warning-card-date,
.warning-sub-date {
  font-size: 0.72rem;
  color: #64748b;
  margin-left: auto;
}

.warning-card-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.warning-hero-card:hover .warning-card-title {
  color: var(--alert, #c0392b);
}

.warning-card-excerpt {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 缩略图列表 */
.warning-thumb-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.warning-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  flex: 1;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.warning-list-item:hover {
  background: #ffffff;
  border-color: rgba(192, 57, 43, 0.3);
  transform: translateX(3px);
  box-shadow: 0 4px 16px rgba(31, 41, 106, 0.08);
}

.warning-sub-thumb {
  position: relative;
  width: 96px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0f172a;
}

.warning-sub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.warning-list-item:hover .warning-sub-thumb img {
  transform: scale(1.08);
}

/* 警示案例百搭通用默认封面 */
.warning-default-cover {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1f296a 0%, #172554 50%, #0f172a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: 6px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.warning-default-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0px, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 8px);
  pointer-events: none;
}

.default-cover-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  filter: drop-shadow(0 2px 6px rgba(251, 191, 36, 0.5));
  z-index: 1;
}

.default-cover-icon svg {
  width: 22px;
  height: 22px;
  stroke: #fbbf24;
}

.default-cover-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: whitesmoke;
  letter-spacing: 1.5px;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.warning-list-item:hover .warning-default-cover {
  transform: scale(1.05);
}

.warning-mini-play {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.warning-sub-info {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.warning-sub-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.warning-list-item:hover .warning-sub-title {
  color: var(--alert, #c0392b);
}

/* 视频播放弹窗 (Video Modal) */
.warning-video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.warning-video-modal.active {
  opacity: 1;
  visibility: visible;
}

.warning-video-container {
  width: 100%;
  max-width: 800px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  position: relative;
}

.warning-video-header {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.warning-video-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.warning-video-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.warning-video-close:hover {
  background: var(--alert, #c0392b);
}

.warning-video-player-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.warning-video-player-box video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.edu-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.edu-card-more {
  font-size: 0.825rem;
  color: var(--light-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s ease;
}

.edu-card-more:hover {
  color: var(--primary);
}

.edu-card-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.edu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  border-left: 3px solid transparent;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 16px;
}

.edu-item:hover {
  background: rgba(31, 41, 106, 0.07);
  border-left-color: var(--primary);
  transform: translateX(4px);
}

.edu-item-title {
  font-size: 1.125rem;
  /* 与通知列表字体完全一致 */
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  padding-left: 16px;
  flex: 1;
  min-width: 0;
  transition: color 0.3s ease;
}

.edu-item-title::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
  opacity: 0.4;
  transition: all 0.3s ease;
}

.edu-item:hover .edu-item-title::before {
  opacity: 1;
  background-color: var(--primary);
  box-shadow: 0 0 8px rgba(31, 41, 106, 0.5);
  transform: translateY(-50%) scale(1.4);
}

.edu-item:hover .edu-item-title {
  color: var(--primary);
  /* 悬浮燕大蓝 */
  font-weight: 600;
}

.edu-item-date {
  font-size: 0.875rem;
  color: var(--light-text);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}

.edu-item:hover .edu-item-date {
  color: var(--primary);
  /* 悬浮燕大蓝 */
  font-weight: 600;
}

/* ── 安全教育腰带 (Slogan Belt Band - 高定立体造型设计) ── */
.slogan-belt-band {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 88px 0 !important;
  min-height: 240px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #0b132b 0%, #1c2541 35%, #1e296a 65%, #0f172a 100%);
  border-top: 2px solid rgba(56, 189, 248, 0.35);
  border-bottom: 2px solid rgba(56, 189, 248, 0.35);
  overflow: hidden;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.6), 0 16px 44px rgba(15, 23, 42, 0.35);
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 顶部与底部金光/天空蓝辉光轨道条 */
.slogan-belt-glow-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.6) 20%, rgba(251, 191, 36, 0.9) 50%, rgba(56, 189, 248, 0.6) 80%, transparent 100%);
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.9));
  z-index: 3;
}

.slogan-belt-glow-beam.top-beam {
  top: 0;
}

.slogan-belt-glow-beam.bottom-beam {
  bottom: 0;
}

/* 左右科技翼形 Bracket 装饰 */
.slogan-wing {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.85;
}

.slogan-wing-left {
  left: 44px;
}

.slogan-wing-right {
  right: 44px;
  flex-direction: row-reverse;
}

.wing-line {
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.85), transparent);
}

.slogan-wing-right .wing-line {
  background: linear-gradient(270deg, rgba(56, 189, 248, 0.85), transparent);
}

.wing-dot {
  width: 8px;
  height: 8px;
  background: #fbbf24;
  border-radius: 50%;
  box-shadow: 0 0 12px #fbbf24;
}

.slogan-belt-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(30, 41, 59, 0) 0%, rgba(15, 23, 42, 0.6) 100%),
    repeating-linear-gradient(45deg, rgba(56, 189, 248, 0.035) 0px, rgba(56, 189, 248, 0.035) 1px, transparent 1px, transparent 14px);
  pointer-events: none;
  z-index: 1;
}

.slogan-belt-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 4;
}

.slogan-belt-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

/* 主标语大字 (权威碑体/魏碑体风骨书法，无阴影高洁版) */
.slogan-belt-text {
  font-family: var(--font-stele) !important;
  font-size: clamp(2.2rem, 4.4vw, 4.8rem) !important;
  font-weight: 900 !important;
  letter-spacing: clamp(4px, 0.85vw, 12px) !important;
  padding-left: clamp(4px, 0.85vw, 12px) !important;
  /* 抵消末尾字间距，100% 物理绝对居中 */
  margin: 0 auto !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  color: #ffffff !important;
  text-shadow: none !important;
  /* 彻底去除文字阴影 */
  filter: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  gap: clamp(6px, 0.9vw, 12px);
}

/* ── 动态滚动触发动画 (Slogan Belt Band Scroll Animations) ── */
.slogan-belt-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/element_4.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 2;
  filter: invert(1) brightness(2.5) drop-shadow(0 0 20px rgba(56, 189, 248, 0.9));
  /* 消除原图像纯黑隐形，反转为高亮蓝发光大门轮廓 */
  mix-blend-mode: screen;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
  transform: scale(0.94);
  opacity: 0.25;
}

.slogan-belt-glow-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.6) 20%, rgba(251, 191, 36, 0.9) 50%, rgba(56, 189, 248, 0.6) 80%, transparent 100%);
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.9));
  z-index: 3;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slogan-belt-glow-beam.top-beam {
  top: 0;
}

.slogan-belt-glow-beam.bottom-beam {
  bottom: 0;
}

.slogan-wing-left {
  left: 44px;
  transform: translateY(-50%) translateX(-60px);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease;
}

.slogan-wing-right {
  right: 44px;
  flex-direction: row-reverse;
  transform: translateY(-50%) translateX(60px);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease;
}

.slogan-word {
  opacity: 0;
  transform: translateY(32px) scale(0.85) rotateX(15deg);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 60%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none !important;
  /* 彻底去除滤镜阴影 */
}

.slogan-divider {
  opacity: 0;
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
  color: #fbbf24;
  -webkit-text-fill-color: initial;
  font-weight: 400;
}

/* 视口激活状态（自动上下滚动进入时重新触发） */
.slogan-belt-band.slogan-active .slogan-belt-bg {
  transform: scale(1.05);
  opacity: 0.75;
}

.slogan-belt-band.slogan-active .slogan-belt-glow-beam {
  opacity: 1;
  animation: sloganBeamPulse 3.5s infinite alternate ease-in-out;
}

.slogan-belt-band.slogan-active .slogan-wing-left,
.slogan-belt-band.slogan-active .slogan-wing-right {
  transform: translateY(-50%) translateX(0);
  opacity: 0.85;
}

/* 标语文字逐字/逐词阶梯式弹起震撼浮现 */
.slogan-belt-band.slogan-active .slogan-word:nth-child(1) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0deg);
}

.slogan-belt-band.slogan-active .slogan-divider:nth-child(2) {
  transition-delay: 0.22s;
  opacity: 1;
  transform: scale(1);
}

.slogan-belt-band.slogan-active .slogan-word:nth-child(3) {
  transition-delay: 0.34s;
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0deg);
}

.slogan-belt-band.slogan-active .slogan-divider:nth-child(4) {
  transition-delay: 0.46s;
  opacity: 1;
  transform: scale(1);
}

.slogan-belt-band.slogan-active .slogan-word:nth-child(5) {
  transition-delay: 0.58s;
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0deg);
}

.slogan-belt-band.slogan-active .slogan-divider:nth-child(6) {
  transition-delay: 0.70s;
  opacity: 1;
  transform: scale(1);
}

.slogan-belt-band.slogan-active .slogan-word:nth-child(7) {
  transition-delay: 0.82s;
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0deg);
}

@keyframes sloganBeamPulse {
  0% {
    opacity: 0.7;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6));
  }

  50% {
    opacity: 1;
    filter: drop-shadow(0 0 14px rgba(251, 191, 36, 0.95));
  }

  100% {
    opacity: 0.7;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6));
  }
}

/* 底部 3 Pillars 三维防线标签组 */
.slogan-pillars {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  padding: 6px 24px;
  border-radius: 30px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.pillar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 1px;
}

.pillar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.pillar-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
  user-select: none;
}

.tab-main-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 12px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.tab-main-item:hover {
  background: rgba(31, 41, 106, 0.02);
  transform: translateX(6px);
}


.tab-main-img {
  display: none;
}

.tab-main-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  padding-left: 16px;
  transition: color 0.3s ease;
}

.tab-main-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  opacity: 0.4;
  transition: all 0.3s ease;
}

.tab-main-item:hover .tab-main-title::before {
  opacity: 1;
  transform: translateY(-50%) scale(1.5);
}

.tab-main-date {
  font-size: 0.875rem;
  color: var(--light-text);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.tab-main-item:hover .tab-main-title {
  color: var(--accent);
}

.tab-sidebar {}

.tab-sidebar-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  padding: 8px 0;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 12px;
}

.tab-sidebar-item {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  transition: color var(--transition);
}

.tab-sidebar-item::before {
  content: '›';
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: -1px;
}

.tab-sidebar-item:hover {
  color: var(--primary);
}

/* ============================================================
   SENTRY SHOWCASE 致敬校园守护者风采
   ============================================================ */
.sentry-section {
  background: var(--dark);
  padding: 80px 0;
  overflow: hidden;
}

.sentry-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.sentry-carousel {
  position: relative;
}

.sentry-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sentry-card {
  flex: 0 0 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform var(--transition);
}

.sentry-card:hover {
  transform: translateY(-4px);
}

.sentry-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter var(--transition);
}

.sentry-card:hover .sentry-img {
  filter: grayscale(0);
}

.sentry-info {
  padding: 18px;
}

.sentry-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.sentry-role {
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.sentry-quote {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.sentry-controls {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}

.sentry-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

.sentry-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.sentry-btn svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

/* ============================================================
   PARTY BAND 党政学习教育腰带
   ============================================================ */
.party-band {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  padding: 40px 0;
}

.party-band-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.party-band-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  border-right: 2px solid var(--accent);
  padding-right: 40px;
}

.party-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.party-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background var(--transition), color var(--transition);
}

.party-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.party-link-icon {
  font-size: 1.125rem;
}

/* ============================================================
   CIRCULARS & DOWNLOAD 通报专区与下载专区（双栏像素级对齐）
   ============================================================ */
/* ── 通报专区与下载专区区域全屏贯穿背景 yanhongqiao_qian.png ── */
.download-bg-element {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-image: url('../images/yanhongqiao_qian.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.75;
  pointer-events: none;
  z-index: 1;
}

.download-split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  align-items: stretch !important;
}

.download-column {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 10px 32px rgba(31, 41, 106, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.download-column:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 40px rgba(31, 41, 106, 0.12);
  border-color: rgba(31, 41, 106, 0.2);
}

/* ── 通告与下载专区模块右下角背景图 element_1.png ── */
.notice-dynamic-box,
.download-column {
  position: relative;
}

.notice-dynamic-box::after,
.download-column::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 240px;
  height: 180px;
  background-image: url('../images/element_1.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  opacity: 0.45;
  pointer-events: none;
  z-index: 2;
  /* 浮于列表项背景色之上，防止被列表背景遮挡 */
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.notice-col-right:hover .notice-dynamic-box::after,
.news-notice-split.focus-notice .notice-dynamic-box::after,
.download-column:hover::after {
  opacity: 0.65;
  transform: scale(1.04);
}

/* 列表项背景容器卡片层级 */
.notice-item,
.download-item {
  position: relative;
  z-index: 1;
}

/* 列表项内部文本与图标提升至层级 3，确保在背景图之上清晰显示 */
.notice-item>*,
.download-item>* {
  position: relative;
  z-index: 3;
}

.download-split-grid .section-header {
  margin-bottom: 20px !important;
  flex-shrink: 0;
}

.download-list,
.download-column .notice-list {
  display: flex;
  flex-direction: column;
  gap: 12px !important;
  flex: 1;
}

/* 支部生活（通报项）与下载专区（下载项） 1:1 像素级单项高度与整体高度严格对齐 */
.download-column .notice-item,
.download-column .download-item {
  height: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
  padding: 8px 14px !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 !important;
}

.download-column .notice-date,
.download-column .download-icon {
  width: 48px !important;
  height: 50px !important;
  flex-shrink: 0 !important;
  border-radius: 8px !important;
  margin: 0 !important;
}

.download-column .notice-body,
.download-column .download-text-box {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.download-column .notice-title,
.download-column .download-name {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin: 0 !important;
}

.download-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
}

.download-item:hover {
  background: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(31, 41, 106, 0.15);
}

.download-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  width: 48px;
  height: 50px;
  border-radius: 8px;
  background: rgba(31, 41, 106, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.download-item:hover .download-icon,
.download-item:hover .notice-date {
  background: rgba(31, 41, 106, 0.14);
}

.download-text-box {
  flex: 1;
  min-width: 0;
}

.download-name {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.download-item:hover .download-name {
  color: var(--primary);
  font-weight: 600;
}

.download-meta {
  font-size: 0.8rem;
  color: var(--light-text);
  margin-top: 2px;
}

.download-btn {
  margin-left: auto;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(31, 41, 106, 0.06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.download-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.download-item:hover .download-btn {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
}

/* ============================================================
   ACCORDION 手风琴（政策法规）
   ============================================================ */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.accordion-item.open {
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  background: var(--white);
  transition: background var(--transition);
}

.accordion-header:hover,
.accordion-item.open .accordion-header {
  background: rgba(31, 41, 106, 0.04);
}

.accordion-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.accordion-item.open .accordion-title {
  color: var(--primary);
}

.accordion-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
  padding: 0 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
  background: rgba(31, 41, 106, 0.02);
}

.accordion-item.open .accordion-body {
  max-height: 300px;
  padding: 16px 20px;
}

/* ============================================================
   SAFETY EDUCATION 安全教育
   ============================================================ */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.edu-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  min-width: 0;
}

.edu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.edu-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.edu-card:hover .edu-thumb {
  transform: scale(1.06);
}

.edu-card-body {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
}

.edu-tag {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.edu-title {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}



/* ============================================================
   FOOTER (高定燕大蓝精炼页脚)
   ============================================================ */
.site-footer {
  position: relative;
  background-color: var(--primary, #1f296a);
  background-image: linear-gradient(rgba(31, 41, 106, 0.85), rgba(31, 41, 106, 0.85)), url('../images/bg_3.png');
  background-repeat: repeat;
  background-size: auto, 380px auto;
  color: rgba(255, 255, 255, 0.66);
  padding: 38px 0 20px;
  overflow: hidden;
  border-top: 2px solid rgba(56, 189, 248, 0.35);
  box-shadow: inset 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* 顶部与腰带同款的高光辉光光轨条 */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(56, 189, 248, 0.6) 20%,
      rgba(251, 191, 36, 0.9) 50%,
      rgba(56, 189, 248, 0.6) 80%,
      transparent 100%);
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.9));
  pointer-events: none;
  z-index: 3;
}



.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
}

/* 1. 左侧 Brand + 联系方式组合区域 */
.footer-brand-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* Logo Badge: 放大 1.5 倍 (Logo 高度 90px, 文字 1.5 倍) */
.footer-logo-badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
}

.footer-brand-logo {
  height: 90px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.28));
}

.footer-brand-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.footer-brand-title-main {
  font-family: var(--font-display, inherit);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1.2px;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.footer-brand-title-sub {
  font-family: var(--font-display, inherit);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 1px;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
}

/* 联系信息：置于 Logo 正下方，单行水平排列 */
.footer-contact-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 32px;
  margin-top: 4px;
}

.footer-contact-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

a.footer-contact-row:hover {
  color: #60a5fa;
  transform: translateY(-2px);
}

.contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: #93c5fd;
}

.contact-label {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  white-space: nowrap;
}

.contact-value {
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
}

/* 2. 右侧 二维码 (宽度100%严格物理对齐文字) */
.footer-qrcode-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-qrcode-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  transition: transform 0.3s ease;
}

.footer-qrcode-card:hover {
  transform: translateY(-3px);
}

.footer-qrcode-img {
  width: 124px;
  height: 124px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  display: block;
}

.footer-qrcode-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 992px) {
  .footer-content-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }

  .footer-brand-col {
    align-items: center;
  }

  .footer-contact-list {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .footer-brand-logo {
    height: 64px;
  }

  .footer-brand-title-main {
    font-size: 1.4rem;
  }

  .footer-brand-title-sub {
    font-size: 1.15rem;
  }

  .footer-contact-list {
    flex-direction: column;
    gap: 10px;
  }
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  width: 100%;
  padding-top: 14px;
}

.footer-bottom-copyright {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.65);
  text-align: left;
  margin: 0;
}

.footer-bottom-right-group {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-bottom-tech {
  color: rgba(255, 255, 255, 0.45);
  cursor: help;
  transition: color 0.3s ease;
}

.footer-bottom-tech:hover {
  color: var(--accent, #e8a020);
}

.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--alert);
  border-color: var(--alert);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */








/* ── Mobile Nav Drawer ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--primary-dark);
  padding: 100px 32px 40px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
}

.mobile-nav a:hover {
  color: var(--accent);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.75rem;
  color: #fff;
}

/* ── Search Overlay ── */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(13, 18, 37, 0.96);
  align-items: center;
  justify-content: center;
}

.search-overlay.open {
  display: flex;
}

.search-box {
  width: min(600px, 90vw);
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 12px;
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 1.5rem;
  color: #fff;
  font-family: var(--font-body);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.search-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.75rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.search-close:hover {
  color: #fff;
}

/* ── Prefers reduced motion ── */


/* ============================================================
   2K 显示器（≥ 2560px 逻辑像素，即实际 2560 wide / HiDPI 1x）
   ============================================================ */


/* ============================================================
   4K 显示器（≥ 3440px，含 UltraWide 3440 和真·4K 3840）
   ============================================================ */


/* ============================================================
   高 DPI / Retina 补偿（设备像素比 ≥ 2）
   ── 确保边框、阴影在高清屏上清晰可见
   ============================================================ */


/* ============================================================
   CAMPUS GUARDS (致敬校园守护者 - Project Area Style)
   ============================================================ */
.campus-guards-area {
  position: relative;
  padding: 80px 0 0 0;
  /* No bottom padding because of logo band */
  background-color: #ffffff;
  overflow: hidden;
  /* Contains the edge decor if they overflow */
}

/* 背景简笔画 */
.campus-guards-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/damen_shense.png') no-repeat center top;
  background-size: cover;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

/* 左右两侧边缘装饰框 & 翻页箭头 */
.cg-edge-decor {
  position: absolute;
  top: 100px;
  width: 6vw;
  /* dynamic width relative to viewport */
  max-width: 80px;
  height: 80px;
  background-color: var(--accent);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.cg-edge-decor:hover {
  background-color: #d13a00;
  transform: scale(1.05);
}

.cg-arrow-edge {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  pointer-events: none;
}

.cg-edge-left {
  left: 0;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
}

.cg-edge-right {
  right: 0;
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
}

/* 中央底部燕大蓝衬底背景条 (左右两侧每侧让出 10% 距离) */
.cg-dark-bg-block {
  position: absolute;
  top: 520px;
  bottom: 90px;
  left: 10%;
  right: 10%;
  width: 80%;
  max-width: none;
  transform: none;
  background-color: var(--primary);
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  z-index: 0;
  transition: all 0.3s ease;
}

.campus-guards-area .section-title {
  color: #000;
}

/* 轮询滚动的容器 (贯穿页面) */
.cg-slider-container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* ── 校园守护者：全屏宽轮播（4 列全宽滚动轮播卡片） ── */
.sentry-flex-wrapper {
  display: flex;
  gap: 28px;
  width: 100%;
  max-width: none;
  padding: 20px 4vw 50px 4vw;
  margin: 0;
  align-items: stretch;
}

.sentry-carousel-box {
  flex: 1;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.sentry-carousel-box.is-dragging {
  cursor: grabbing;
}

.sentry-carousel-box .cg-grid {
  padding: 0;
  margin-bottom: 0;
}

/* 安全日历卡片精致样式（上浅下深渐变色，与轮播卡片高度1:1同高） */
.safety-calendar-card {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: linear-gradient(180deg, #3b4c7a 0%, #1f296a 45%, #0c1024 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.4);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.safety-calendar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.6);
  border-color: rgba(232, 160, 32, 0.5);
}

.safety-calendar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
  pointer-events: none;
}

.calendar-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  padding-bottom: 8px;
}

.calendar-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.calendar-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: #fb7185;
  letter-spacing: 1px;
}

.calendar-term-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(31, 41, 106, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}

.calendar-term-badge.holiday {
  color: var(--accent, #e8a020);
  background: rgba(232, 160, 32, 0.18);
  border-color: rgba(232, 160, 32, 0.4);
}

.calendar-header-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

/* 月历视图网格 */
.mini-calendar-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
}

.mini-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.mini-calendar-month {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
}

.mini-calendar-today-tag {
  font-size: 0.72rem;
  color: #fb7185;
  background: rgba(251, 113, 133, 0.12);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.mini-calendar-today-tag.holiday {
  color: var(--accent, #e8a020);
  background: rgba(232, 160, 32, 0.18);
  border: 1px solid rgba(232, 160, 32, 0.4);
}

.mini-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 6px;
}

.mini-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  text-align: center;
}

.cal-day-cell {
  font-size: 0.75rem;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.cal-day-cell.other-month {
  color: #334155;
  opacity: 0.4;
}

.cal-day-cell.today {
  background: linear-gradient(135deg, #e8a020 0%, #c48010 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(232, 160, 32, 0.4);
}

.cal-day-cell:hover:not(.other-month) {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.calendar-stats-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.calendar-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.stat-item-label {
  color: #94a3b8;
}

.stat-item-val {
  color: #ffffff;
  font-weight: 600;
}

.calendar-footer-quote {
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: center;
  font-style: italic;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cg-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  margin-bottom: 0;
  padding: 0;
}

.cg-grid::-webkit-scrollbar {
  display: none;
}

.solutek-project-card {
  flex: 0 0 calc((100% - 84px) / 4);
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: none;
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.solutek-project-card:hover {
  transform: translateY(-8px);
}

.project-img-wrapper {
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35);
  transition: box-shadow 0.4s ease;
}

.solutek-project-card:hover .project-img-wrapper {
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.55);
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.solutek-project-card:hover .project-img-wrapper img {
  transform: scale(1.08);
}

.project-content {
  background: linear-gradient(180deg, rgba(20, 28, 70, 0.92) 0%, rgba(12, 16, 36, 0.98) 100%);
  border-radius: 12px;
  margin-top: 10px;
  padding: 16px 18px;
  flex-grow: 1;
}

.project-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.solutek-project-card:hover .project-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.project-category {
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.cg-logo-band {
  background-color: var(--primary);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  width: calc(80% + 20px);
  max-width: none;
  transition: all 0.3s ease;
}



.project-quote {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-top: 10px;
}


.project-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* 更多按钮默认隐藏，悬浮栏目区时显示 */
.section .more-link,
.themes-main-col .more-link,
.themes-side-col .more-link {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.section:hover .more-link,
.themes-main-col:hover .more-link,
.themes-side-col:hover .more-link {
  opacity: 1;
  visibility: visible;
}

/* 警示案例悬浮显示更多按钮 */
.theme-warning-bleed .more-link {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.theme-warning-bleed:hover .more-link {
  opacity: 1;
  visibility: visible;
}

/* 警示案例更多按钮 - 独立控制，不受全局 .section .more-link 影响 */
.tw-more {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.theme-warning-bleed:hover .tw-more {
  opacity: 1 !important;
  visibility: visible !important;
}

/* 支部生活列表项悬浮红色背景 */
#party a.reveal:hover {
  background: #de2910 !important;
  border-color: #de2910 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(222, 41, 16, 0.45);
}

/* ── 二级导航菜单 Dropdown ── */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-item-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(10px);
  background: var(--primary-dark, #141a47);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 3px solid var(--accent, #e8a020);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(13, 18, 37, 0.35);
  min-width: 140px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
}

.nav-dropdown-menu li,
.mobile-nav-menu,
.mobile-nav-menu li,
.mobile-nav-submenu,
.mobile-nav-submenu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-toggle a {
  color: inherit;
  text-decoration: none;
}

.nav-dropdown-menu a {
  padding: 10px 18px !important;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  text-align: left;
  border-radius: 0 !important;
  //white-space: nowrap;
  transition: all 0.2s ease !important;
}

.nav-dropdown-menu a:hover {
  background: rgba(232, 160, 32, 0.18) !important;
  color: var(--accent, #e8a020) !important;
  padding-left: 22px !important;
}

/* ── 办事指南等桌面端三级飞出菜单 (Flyout Submenu) ── */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dropdown-submenu-toggle .sub-arrow {
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.2s ease;
  color: rgba(255, 255, 255, 0.55);
}

.dropdown-submenu:hover>.dropdown-submenu-toggle .sub-arrow {
  color: var(--accent, #e8a020);
  transform: translateX(3px);
}

.nav-subdropdown-menu {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 2px;
  background: var(--primary-dark, #141a47);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 3px solid var(--accent, #e8a020);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(13, 18, 37, 0.45);
  min-width: 170px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 1010;
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
}

.dropdown-submenu:hover>.nav-subdropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav-subdropdown-menu::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -8px;
  width: 10px;
}

.nav-subdropdown-menu a {
  padding: 9px 18px !important;
  font-size: 0.875rem !important;
}

/* Mobile Nav Submenu */
.mobile-nav-toggle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.mobile-nav-toggle:hover {
  color: var(--accent);
}

.mobile-nav-submenu {
  display: none;
  flex-direction: column;
  padding-left: 24px;
  background: rgba(0, 0, 0, 0.15);
}

.mobile-nav-submenu.open {
  display: flex;
}

.mobile-nav-submenu a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 12px 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.mobile-nav-submenu a:last-child {
  border-bottom: none;
}

/* Mobile Nav 二级分类分组与三级子菜单规范 */
.mobile-nav-subgroup {
  margin: 6px 0 6px 6px;
  border-left: 2px solid rgba(245, 158, 11, 0.4);
  padding-left: 14px;
}

.mobile-nav-subhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 6px 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent, #e8a020);
  cursor: pointer;
  user-select: none;
  transition: color var(--transition);
}

.mobile-nav-subhead:hover {
  color: #fff;
}

.mobile-nav-subhead .sub-toggle-icon {
  font-size: 1rem;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.mobile-nav-subitems {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  flex-direction: column;
}

.mobile-nav-subgroup.open .mobile-nav-subitems,
.mobile-nav-subitems.open {
  display: flex;
}

.mobile-nav-subgroup.open .mobile-nav-subhead .sub-toggle-icon {
  color: var(--accent);
}

.mobile-nav-subitems a {
  padding: 8px 0 8px 6px !important;
  font-size: 0.875rem !important;
  color: rgba(255, 255, 255, 0.78) !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06) !important;
}

.mobile-nav-subitems a:last-child {
  border-bottom: none !important;
}

.mobile-nav-subitems a:hover {
  color: #fff !important;
  padding-left: 10px !important;
}

/* ── 统一的移动端适配补充 ── */
.party-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}

/* 换行辅助类 */
.mobile-break {
  display: none;
}