/* ===== 变量与重置 ===== */
:root {
  --primary: #0064eb;
  --primary-light: #2a7ff0;
  --primary-dark: #0052c4;
  --accent: #ff762c;
  --accent-deep: #e85e18;
  --accent-gold: #ff762c;
  --accent-soft: #fff2ea;
  --accent-glow: rgba(255, 118, 44, 0.2);
  --text: #1f2937;
  --text-light: #4b5563;
  --text-muted: #9ca3af;
  --border: #e8ecf1;
  --bg-alt: #f4f7fb;
  --white: #fff;
  --container: 1300px;
  --shadow-blue: rgba(0, 100, 235, 0.1);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 28px rgba(0, 100, 235, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--primary);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 防止 flex/grid 子项被长文本撑破容器 */
.main-content,
.section,
.news-block,
.notice-block,
.red-party-block,
.media-block,
.col,
.tab-group,
.tab-panels,
.news-body,
.news-list,
.notice-list,
.party-items,
.thumb-list,
.simple-list,
.numbered-list,
.card {
  min-width: 0;
  max-width: 100%;
}

/* ===== Lucide ?? ===== */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.125em;
}

.icon--nav {
  width: 16px;
  height: 16px;
}

.icon--title {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.icon--red {
  color: #c62828;
}

.icon--more {
  width: 14px;
  height: 14px;
  vertical-align: middle;
}

.icon--arrow {
  width: 20px;
  height: 20px;
}

.icon--inline {
  width: 14px;
  height: 14px;
  margin-right: 2px;
  vertical-align: -2px;
  color: var(--text-muted);
}

.icon--side-nav {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.75;
}

.icon--card {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.icon--tab {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
}

.icon--footer {
  width: 15px;
  height: 15px;
  margin-right: 6px;
  vertical-align: -3px;
  opacity: 0.75;
}

.icon--footer-title {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: -4px;
}

/* ===== ??????Logo/?? + ?? + Banner??===== */
.site-header {
  position: relative;
  z-index: 100;
  max-width: 100%;
}

.header-top {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  filter: none;
}

.logo img {
  height: 68px;
  width: auto;
  filter: none;
  mix-blend-mode: multiply;
}

.header-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.header-links a {
  font-size: 13px;
  color: var(--text-light);
  padding: 0 14px;
  line-height: 1;
  transition: color 0.2s var(--ease);
}

.header-links a + a {
  border-left: 1px solid #ccc;
}

.header-links a:first-child {
  padding-left: 0;
}

.header-links a:last-child {
  padding-right: 0;
}

.header-links a:hover {
  color: var(--primary);
}

.header-search {
  display: flex;
  align-items: stretch;
  width: 260px;
  border: 1px solid var(--border);
  background: #f3f4f6;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.header-search:focus-within {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(0, 100, 235, 0.12);
}

.header-search input {
  flex: 1;
  min-width: 0;
  height: 34px;
  padding: 0 12px;
  border: none;
  outline: none;
  font-size: 13px;
  color: var(--text);
  background: #f3f4f6;
  font-family: inherit;
}

.header-search input::placeholder {
  color: var(--text-muted);
}

.header-search button {
  width: 40px;
  height: 34px;
  border: none;
  background: linear-gradient(145deg, var(--primary-light), var(--primary));
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), filter 0.2s var(--ease);
}

.header-search button:hover {
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
}

.icon--search {
  width: 16px;
  height: 16px;
}

.main-nav {
  position: relative;
  z-index: 20;
  background-color: var(--primary);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 55%);
  box-shadow: 0 4px 14px var(--shadow-blue);
}

.main-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/index_BG/sky2.jpg") center center / cover no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

.main-nav .container {
  position: relative;
  z-index: 1;
}

.main-nav > .container > ul {
  display: flex;
  justify-content: space-between;
}

.main-nav > .container > ul > li {
  flex: 1;
  text-align: center;
  position: relative;
}

.main-nav > .container > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 52px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.main-nav > .container > ul > li > a:hover,
.main-nav > .container > ul > li > a.active,
.main-nav > .container > ul > li.has-dropdown:hover > a,
.main-nav > .container > ul > li.has-dropdown:focus-within > a {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.main-nav > .container > ul > li > a.active {
  background: rgba(255, 255, 255, 0.16);
  font-weight: 600;
}

.main-nav > .container > ul > li > a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #ff762c;
  z-index: 2;
  pointer-events: none;
}

.main-nav .nav-dropdown {
  position: absolute;
  left: 50%;
  top: 100%;
  min-width: 160px;
  padding: 6px 0;
  margin: 0;
  list-style: none;
  overflow: hidden;
  background-color: var(--primary);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 24px rgba(0, 40, 120, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 30;
}

.main-nav .nav-dropdown::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  /* 截取天空图偏上区域并铺满下拉菜单 */
  background: url("../images/index_BG/sky2.jpg") 42% 18% / cover no-repeat;
  opacity: 0.82;
  pointer-events: none;
}

.main-nav > .container > ul > li.has-dropdown:hover > .nav-dropdown,
.main-nav > .container > ul > li.has-dropdown:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.main-nav .nav-dropdown li {
  position: relative;
  z-index: 1;
  text-align: left;
}

.main-nav .nav-dropdown a {
  display: block;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.4;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.main-nav .nav-dropdown a:hover {
  color: var(--white);
  background: rgba(0, 120, 255, 0.72);
}

.header-banner {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  background: #e8f0f8;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  z-index: 0;
}

.banner-slide.active {
  opacity: 1;
  z-index: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(4px);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.banner-arrow:hover {
  background: rgba(0, 100, 235, 0.75);
  transform: translateY(-50%) scale(1.05);
}

.banner-prev {
  left: 20px;
}

.banner-next {
  right: 20px;
}

.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(4px);
}

.banner-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.banner-dots .dot.active {
  background: #ff762c;
  transform: scale(1.2);
}

/* ===== ?????? ===== */
.side-nav {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(-12px);
  z-index: 90;
  padding: 12px 10px 12px 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease), transform 0.25s var(--ease);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-left: none;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

.side-nav.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.side-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0 4px 10px;
  font-size: 12px;
  color: var(--text-muted);
  border-left: 2px solid #dde3ea;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.side-nav a:hover .icon--side-nav,
.side-nav a.active .icon--side-nav {
  opacity: 1;
  color: var(--accent);
}

.side-nav-top {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e8ecf0;
}

.side-nav-top a {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.side-nav a:hover,
.side-nav a.active {
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 600;
}

[id] {
  scroll-margin-top: 20px;
}

/* ===== 通用区块 ===== */
.section {
  padding: 20px 0 44px;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0, 100, 235, 0.14);
  position: relative;
  min-width: 0;
}

.section-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  border-radius: 1px;
}

.section-head h2 {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-head h2 .icon {
  flex-shrink: 0;
  margin-right: 0;
}

.section-head .more,
.block-head .more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.section-head .more {
  font-size: 13px;
  color: var(--text-muted);
}

.section-head .more:hover {
  color: var(--primary);
}

/* ===== 双栏布局 ===== */
.section-two-col .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}

/* ===== 书院协同 + 校友之家 ===== */
.section-collab-alumni {
  position: relative;
  background: transparent;
  overflow: hidden;
}

.section-collab-alumni::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/index_BG/img-4.jpg") center bottom / contain no-repeat;
  pointer-events: none;
}

.section-collab-alumni > .container {
  position: relative;
  z-index: 1;
}

/* ===== 学生成长 + 书院服务 ===== */
.section-growth-service {
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
  padding-top: 30px;
  padding-bottom: 40px;
}

.section-growth-service::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 0;
  width: 100%;
  background: url("../images/index_BG/building.png") center calc(100% + 10px) / 100% auto no-repeat;
  opacity: 0.26;
  pointer-events: none;
}

.section-growth-service > .container {
  position: relative;
  z-index: 1;
}

/* ===== 晨曦新闻 + 通知公告 ===== */
.section-news-notice {
  position: relative;
  background: transparent;
  padding: 36px 0 24px;
  overflow: hidden;
}

.section-news-notice::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/index_BG/sky2.jpg") center top / cover no-repeat;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    rgba(0, 0, 0, 0.75) 35%,
    rgba(0, 0, 0, 0.35) 65%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    rgba(0, 0, 0, 0.75) 35%,
    rgba(0, 0, 0, 0.35) 65%,
    transparent 100%
  );
  pointer-events: none;
}

.section-news-notice > .container {
  position: relative;
  z-index: 1;
}

/* ===== ???? + ???? ===== */
.section-party-media {
  padding: 24px 0 16px;
}

.party-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.media-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease);
}

.media-block:hover {
  box-shadow: var(--shadow-lg);
}

.media-block .section-head {
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.media-block .numbered-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 12px;
  box-sizing: border-box;
}

.media-block .numbered-list li {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0;
}

.news-notice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.news-block,
.notice-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 20px 24px 24px;
  min-width: 0;
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease);
}

.news-block:hover,
.notice-block:hover {
  box-shadow: var(--shadow-lg);
}

.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  position: relative;
  min-width: 0;
}

.block-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
}

.block-head h2 {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.block-head h2 .icon {
  flex-shrink: 0;
  margin-right: 0;
}

.block-head .more {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.block-head .more:hover {
  color: var(--primary);
}

/* 晨曦新闻主体：轮播 + 列表 */
.news-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.news-carousel {
  position: relative;
  overflow: hidden;
  background: #eee;
  min-height: 280px;
  border-radius: var(--radius-sm);
}

.news-carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
}

.news-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.news-carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.news-carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.news-carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 70px 10px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

.news-carousel-caption a {
  color: var(--white);
  font-size: 14px;
  line-height: 1.5;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-carousel-caption a:hover {
  color: #e3f2fd;
}

.news-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 48px;
  border: none;
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-carousel-arrow:hover {
  background: rgba(0, 100, 235, 0.78);
}

.news-carousel-prev {
  left: 0;
  border-radius: 0 4px 4px 0;
}

.news-carousel-next {
  right: 0;
  border-radius: 4px 0 0 4px;
}

.news-carousel-dots {
  position: absolute;
  bottom: 12px;
  right: 14px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.news-carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.news-carousel-dots .dot.active {
  background: #ff8f00;
  transform: scale(1.15);
}

/* 新闻 / 通知列表 */
.section-news-notice .news-list,
.section-news-notice .notice-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 12px;
  box-sizing: border-box;
}

.section-news-notice .news-list li,
.section-news-notice .notice-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #eef1f5;
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

.section-news-notice .news-list li:last-child,
.section-news-notice .notice-list li:last-child {
  border-bottom: none;
}

.section-news-notice .date {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  background: rgba(0, 100, 235, 0.08);
  border: 1px solid rgba(0, 100, 235, 0.22);
  border-radius: 4px;
  line-height: 1.15;
}

.section-news-notice .date em {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  font-style: normal;
}

.section-news-notice .date i {
  font-size: 12px;
  color: var(--primary);
  font-style: normal;
  margin-top: 2px;
}

.section-news-notice .news-list li:first-child .date,
.section-news-notice .notice-list li:first-child .date {
  background: var(--accent-soft);
  border-color: rgba(255, 118, 44, 0.3);
}

.section-news-notice .news-list li:first-child .date em,
.section-news-notice .news-list li:first-child .date i,
.section-news-notice .notice-list li:first-child .date em,
.section-news-notice .notice-list li:first-child .date i {
  color: var(--accent);
}

.section-news-notice .news-list a,
.section-news-notice .notice-list a {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-news-notice .news-list a:hover,
.section-news-notice .notice-list a:hover {
  color: var(--primary);
}

.notice-block .notice-list {
  min-height: 280px;
}

/* ===== ???????????? date ??????===== */
.news-list li,
.notice-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  min-width: 0;
}

.news-list li:last-child,
.notice-list li:last-child {
  border-bottom: none;
}

.date {
  flex-shrink: 0;
  width: 48px;
  text-align: center;
  line-height: 1.2;
}

.date em {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  font-style: normal;
}

.date i {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-style: normal;
}

.news-list a,
.notice-list a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

/* ===== ???? ===== */
.numbered-list {
  counter-reset: item;
}

.numbered-list li {
  counter-increment: item;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.numbered-list li:last-child {
  border-bottom: none;
}

.numbered-list li::before {
  content: counter(item);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 22px;
  border-radius: 4px;
}

.numbered-list li:nth-child(1)::before {
  background: #e53935;
}

.numbered-list li:nth-child(2)::before {
  background: #ff762c;
}

.numbered-list li:nth-child(3)::before {
  background: #2e9e5b;
}

.numbered-list a {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== ????===== */
.grid-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.section-alt .card {
  background: var(--white);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  padding: 12px 14px 4px;
  color: var(--primary);
  min-width: 0;
  overflow: hidden;
}

.card h3 .icon {
  flex-shrink: 0;
  margin-right: 0;
}

.card h3 a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card p {
  padding: 0 14px 14px;
  font-size: 13px;
  color: var(--text-light);
  min-width: 0;
}

.card p a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== Tab 切换 ===== */
.tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 16px;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab {
  flex: 0 0 auto;
  max-width: 100%;
  padding: 7px 14px;
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  cursor: pointer;
  user-select: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab:hover {
  color: var(--primary);
  border-color: var(--primary-light);
  background: rgba(0, 100, 235, 0.04);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ?? Tab ????????????????/????/??/??? */
.tab-group:not(.tab-group--vertical) .tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: none;
  overflow: hidden;
  border: none;
}

.tab-group:not(.tab-group--vertical) .tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #ff762c;
  pointer-events: none;
}

/* ===== ???? ? ???? ===== */
.red-party-block {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 20px 24px;
  transition: box-shadow 0.25s var(--ease);
  overflow: hidden;
}

.red-party-block::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/index_BG/hscxbg.png") center bottom / 100% auto no-repeat;
  pointer-events: none;
}

.red-party-block > * {
  position: relative;
  z-index: 1;
}

.red-party-block:hover {
  box-shadow: var(--shadow-lg);
}

.red-party-block .block-head {
  margin-bottom: 0;
}

.red-party-block .block-head h2 {
  color: #c62828;
}

.red-party-block .block-head::after {
  background: linear-gradient(90deg, #ef5350, #c62828);
}

.tab-group--vertical {
  display: flex;
  min-height: 300px;
  margin-top: 4px;
}

.tab-group--vertical .tabs--vertical {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
  width: 148px;
  flex-shrink: 0;
  margin-bottom: 0;
  background: rgba(248, 250, 252, 0.8);
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.tab-group--vertical .tabs--vertical .tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 12px 14px 16px;
  font-size: 14px;
  border: none;
  border-bottom: 1px solid #eef1f5;
  border-radius: 0;
  text-align: left;
  color: var(--text);
  position: relative;
  transition: background 0.2s, color 0.2s;
  background: transparent;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab-group--vertical .tabs--vertical .tab .icon {
  flex-shrink: 0;
  margin-right: 0;
}

.tab-group--vertical .tabs--vertical .tab:last-child {
  border-bottom: none;
}

.tab-group--vertical .tabs--vertical .tab:hover {
  background: rgba(255, 245, 245, 0.8);
  color: #c62828;
  border-color: #eef1f5;
}

.tab-group--vertical .tabs--vertical .tab.active {
  background: rgba(255, 255, 255, 0.8);
  color: #c62828;
  font-weight: 600;
  border-color: #eef1f5;
}

.tab-group--vertical .tabs--vertical .tab.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #ef5350, #c62828);
}

.tab-group--vertical .tab-panels {
  flex: 1;
  padding: 8px 0 8px 20px;
  min-width: 0;
}

.party-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 12px;
  box-sizing: border-box;
}

.party-item {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

.party-item-img {
  flex-shrink: 0;
  width: 140px;
  height: 84px;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.party-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.party-item:hover .party-item-img img {
  transform: scale(1.05);
}

.party-item-info {
  flex: 1;
  min-width: 0;
}

.party-item-info h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 8px;
}

.party-item-info h4 a {
  color: var(--text);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}

.party-item-info h4 a:hover {
  color: #c62828;
}

.party-item-info time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.simple-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 12px 12px 14px;
  border-bottom: 1px dashed var(--border);
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.simple-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--accent-gold);
  border-radius: 50%;
}

.simple-list li:last-child {
  border-bottom: none;
}

.simple-list a {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.simple-list .list-date {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== ??????????/ ??????===== */
.thumb-list {
  display: flex;
  flex-direction: column;
}

.thumb-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
  transition: background 0.2s;
  min-width: 0;
  max-width: 100%;
}

.thumb-item:first-child {
  padding-top: 4px;
}

.thumb-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.thumb-item:hover {
  color: var(--primary);
}

.thumb-item:hover h4 {
  color: var(--primary);
}

.thumb-item img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: #eee;
}

.thumb-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.thumb-body h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  transition: color 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thumb-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== ???? ===== */
.topic-carousel {
  position: relative;
}

.topic-viewport {
  overflow: hidden;
}

.topic-track {
  display: flex;
  gap: 14px;
  transition: transform 0.4s ease;
  will-change: transform;
  align-items: stretch;
}

.topic-card {
  flex: 0 0 auto;
  width: calc((100% - 42px) / 4);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.topic-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.topic-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #f5f7fa;
  transition: transform 0.3s var(--ease);
}

.topic-card:hover img {
  transform: scale(1.03);
}

.topic-card span {
  display: block;
  text-align: center;
  padding: 8px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--white);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px;
  height: 48px;
  border: none;
  background: rgba(60, 60, 60, 0.45);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.topic-arrow:hover {
  background: rgba(40, 40, 40, 0.65);
}

.topic-prev {
  left: 0;
  border-radius: 0 4px 4px 0;
}

.topic-next {
  right: 0;
  border-radius: 4px 0 0 4px;
}

.topic-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.topic-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d0d5db;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.topic-dots .dot.active {
  background: var(--accent-gold);
  transform: scale(1.12);
}

/* ===== ?? ===== */
.site-footer {
  position: relative;
  background-color: var(--primary-dark);
  background-image: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 55%, #003fa3 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 44px 0 48px;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/index_BG/sky.jpg") center center / cover no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.footer-text p {
  font-size: 13px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.88);
}

.footer-text a {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s var(--ease);
}

.footer-text a:hover {
  color: var(--white);
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo img {
  height: 72px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.footer-qr {
  justify-self: end;
  text-align: center;
}

.footer-qr h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.footer-qr .qr-list {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 16px;
}

.footer-qr .qr-item {
  text-align: center;
}

.footer-qr .qr-item img,
.footer-qr .qr-placeholder {
  width: 100px;
  height: 100px;
  margin: 0 auto 8px;
  background: var(--white);
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.footer-qr .qr-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.92);
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.3;
}

.footer-qr .qr-placeholder::after {
  content: "抖音二维码";
}

.footer-qr .qr-placeholder--channels::after {
  content: "视频号二维码";
}

.footer-qr .qr-item span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== ????===== */
@media (max-width: 1500px) {
  .side-nav {
    display: none;
  }
}

@media (max-width: 992px) {
  .grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-two-col .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .news-notice-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .party-media-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .party-item-img {
    width: 120px;
    height: 72px;
  }

  .topic-card {
    width: calc((100% - 14px) / 2);
  }

  .main-nav > .container > ul > li > a {
    padding: 0 12px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }

  .header-top-inner {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    gap: 12px;
  }

  .logo img {
    height: 52px;
    max-width: 100%;
  }

  .header-tools {
    align-items: stretch;
    width: 100%;
    min-width: 0;
  }

  .header-links {
    justify-content: flex-end;
  }

  .header-search {
    width: 100%;
  }

  .header-banner {
    height: 240px;
  }

  .banner-arrow {
    width: 32px;
    height: 32px;
  }

  .banner-prev {
    left: 10px;
  }

  .banner-next {
    right: 10px;
  }

  .main-nav > .container > ul {
    flex-wrap: wrap;
  }

  .main-nav > .container > ul > li {
    flex: 0 0 25%;
  }

  .main-nav > .container > ul > li > a {
    height: 42px;
    font-size: 12px;
    gap: 3px;
    flex-direction: column;
    padding: 4px 2px;
  }

  .icon--nav {
    width: 14px;
    height: 14px;
  }

  .main-nav > .container > ul > li > a span {
    font-size: 11px;
  }

  .main-nav .nav-dropdown {
    left: 50%;
    right: auto;
    width: max-content;
    min-width: 140px;
    transform: translate(-50%, -4px);
    border-radius: 0 0 4px 4px;
  }

  .main-nav > .container > ul > li.has-dropdown:hover > .nav-dropdown,
  .main-nav > .container > ul > li.has-dropdown:focus-within > .nav-dropdown {
    transform: translate(-50%, 0);
  }

  .main-nav .nav-dropdown a {
    padding: 8px 12px;
    font-size: 12px;
    text-align: center;
  }

  .side-nav {
    display: none;
  }

  .news-carousel,
  .news-carousel-inner,
  .news-carousel-slide img {
    min-height: 220px;
  }

  .notice-block .notice-list {
    min-height: auto;
  }

  .tab-group--vertical {
    flex-direction: column;
    min-height: auto;
  }

  .tab-group--vertical .tabs--vertical {
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    -webkit-overflow-scrolling: touch;
  }

  .tab-group--vertical .tabs--vertical .tab {
    flex-shrink: 0;
    padding: 8px 12px;
    border-bottom: none;
    border-right: 1px solid #eef1f5;
    white-space: nowrap;
  }

  .tab-group--vertical .tabs--vertical .tab.active::before {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: auto;
    height: 3px;
  }

  .tab-group--vertical .tab-panels {
    padding: 16px;
  }

  .grid-four {
    grid-template-columns: minmax(0, 1fr);
  }

  .topic-card {
    width: 100%;
  }

  .news-block,
  .notice-block,
  .red-party-block,
  .media-block {
    padding: 16px;
  }

  .media-block .numbered-list {
    padding-right: 0;
    justify-content: flex-start;
    gap: 0;
  }

  .media-block .numbered-list li {
    flex: none;
    padding: 14px 0;
    min-height: 48px;
  }

  .media-block .numbered-list a {
    line-height: 1.65;
  }

  .section-news-notice .news-list,
  .section-news-notice .notice-list,
  .party-items {
    padding-right: 0;
  }

  .section-news-notice .news-list li,
  .section-news-notice .notice-list li {
    gap: 10px;
  }

  .section-news-notice .date {
    width: 46px;
    height: 46px;
  }

  .section-news-notice .date em {
    font-size: 18px;
  }

  .thumb-item img {
    width: 96px;
    height: 64px;
  }

  .party-item-img {
    width: 100px;
    height: 60px;
  }

  .topic-arrow {
    height: 44px;
    width: 28px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    gap: 28px;
  }

  .footer-text {
    order: 2;
  }

  .footer-logo {
    order: 1;
  }

  .footer-logo img {
    height: 56px;
  }

  .footer-qr {
    order: 3;
    justify-self: center;
  }

  .footer-qr .qr-list {
    justify-content: center;
  }
}
