/* ============================================
   IP备案库 - 科技蓝主题样式表
   ============================================ */

/* === CSS 变量定义 === */
:root {
  /* 科技蓝主色系 */
  --tech-blue-900: #001a3a;
  --tech-blue-800: #003d7a;
  --tech-blue-700: #0052cc;
  --tech-blue-600: #0066ff;
  --tech-blue-500: #0091ff;
  --tech-blue-400: #38b6ff;
  --tech-blue-300: #7fd4ff;
  --tech-blue-200: #b8e8ff;
  --tech-blue-100: #e6f5ff;
  --tech-blue-50: #f0f9ff;

  /* 中性色 */
  --gray-900: #1a1a2e;
  --gray-800: #2d2d3f;
  --gray-700: #4a4a5e;
  --gray-600: #6b6b7b;
  --gray-500: #9499a7;
  --gray-400: #c4c8d0;
  --gray-300: #e0e3e8;
  --gray-200: #f0f2f5;
  --gray-100: #f7f8fa;
  --white: #ffffff;

  /* 功能色 */
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* 渐变 */
  --gradient-primary: linear-gradient(135deg, #0066ff 0%, #003d7a 100%);
  --gradient-dark: linear-gradient(180deg, #001a3a 0%, #003d7a 100%);
  --gradient-light: linear-gradient(135deg, #e6f5ff 0%, #f0f9ff 100%);
  --gradient-card: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0, 61, 122, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 61, 122, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 61, 122, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 61, 122, 0.16);
  --shadow-blue: 0 4px 20px rgba(0, 102, 255, 0.25);

  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* 过渡 */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);

  /* 布局 */
  --container-max: 1200px;
  --header-height: 72px;
  --topbar-height: 36px;
}

/* === 重置 === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--tech-blue-700);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--tech-blue-600);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* === 布局容器 === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* === 顶部栏 === */
.topbar {
  background: var(--tech-blue-900);
  color: var(--tech-blue-200);
  height: var(--topbar-height);
  line-height: var(--topbar-height);
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar .topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar .topbar-right a {
  color: var(--tech-blue-200);
}

.topbar .topbar-right a:hover {
  color: var(--white);
}

.topbar .phone-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tech-blue-300);
  font-weight: 600;
}

/* === 头部 === */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 20px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  box-shadow: var(--shadow-blue);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--tech-blue-800);
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 12px;
  color: var(--gray-500);
  letter-spacing: 1px;
}

/* === 主导航 === */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > li > a {
  display: flex;
  align-items: center;
  padding: 8px 18px;
  color: var(--gray-700);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.main-nav > li > a:hover,
.main-nav > li > a.active {
  color: var(--tech-blue-600);
  background: var(--tech-blue-50);
}

.main-nav > li > a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--tech-blue-600);
  border-radius: 2px;
}

/* 下拉菜单 */
.has-dropdown {
  position: relative;
}

.has-dropdown > a::after {
  content: '\25BC';
  font-size: 9px;
  margin-left: 6px;
  opacity: 0.6;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 200;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 16px;
  color: var(--gray-700);
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.dropdown li a:hover {
  background: var(--tech-blue-50);
  color: var(--tech-blue-600);
  padding-left: 20px;
}

/* === 移动端菜单按钮 === */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.menu-toggle:hover {
  background: var(--tech-blue-50);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tech-blue-800);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === Hero 横幅 === */
.hero {
  position: relative;
  background: var(--gradient-dark);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 145, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 102, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(56, 182, 255, 0.15) 0%, transparent 60%);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 2px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content .hero-subtitle {
  font-size: 18px;
  color: var(--tech-blue-200);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === 按钮 === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--tech-blue-600);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--tech-blue-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 102, 255, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--tech-blue-700);
}

.btn-light:hover {
  background: var(--tech-blue-50);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
}

/* === 区块标题 === */
.section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-header p {
  font-size: 15px;
  color: var(--gray-500);
  margin-top: 16px;
}

/* === 卡片网格 === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--tech-blue-200);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* === 新闻区域 === */
.news-section {
  background: var(--gray-100);
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.news-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.news-block:hover {
  box-shadow: var(--shadow-md);
}

.news-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.news-block-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-block-header h3::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.news-block-header .more-link {
  font-size: 13px;
  color: var(--tech-blue-600);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.news-block-header .more-link:hover {
  gap: 8px;
  color: var(--tech-blue-700);
}

.news-list {
  padding: 8px 0;
}

.news-list li {
  padding: 12px 24px;
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition-fast);
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list li:hover {
  background: var(--tech-blue-50);
  padding-left: 28px;
}

.news-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--gray-700);
}

.news-list li a:hover {
  color: var(--tech-blue-600);
}

.news-list li .news-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list li .news-date {
  font-size: 12px;
  color: var(--gray-400);
  flex-shrink: 0;
}

/* === 公示栏模块 === */
.notice-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.notice-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--tech-blue-50) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.notice-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  position: relative;
}

.notice-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.notice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.notice-card > * {
  position: relative;
  z-index: 1;
}

.notice-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--tech-blue-300);
}

.notice-card .notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--tech-blue-100);
  color: var(--tech-blue-700);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
}

.notice-card .notice-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--tech-blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--tech-blue-600);
  margin-bottom: 16px;
  transition: var(--transition);
}

.notice-card:hover .notice-icon {
  background: var(--tech-blue-600);
  color: var(--white);
  transform: scale(1.1);
}

.notice-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.4;
}

.notice-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}

.notice-card .notice-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-400);
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.notice-card .notice-meta .read-more {
  color: var(--tech-blue-600);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.notice-card:hover .notice-meta .read-more {
  gap: 8px;
}

/* === 快捷入口 === */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px;
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-decoration: none;
  text-align: center;
}

.quick-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--tech-blue-200);
}

.quick-link .ql-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 14px;
  box-shadow: var(--shadow-blue);
  transition: var(--transition);
}

.quick-link:hover .ql-icon {
  transform: scale(1.1) rotate(5deg);
}

.quick-link .ql-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.quick-link .ql-desc {
  font-size: 12px;
  color: var(--gray-500);
}

/* === 页面横幅 === */
.page-banner {
  background: var(--gradient-dark);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(0, 145, 255, 0.2) 0%, transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 60%);
}

.page-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-banner h1 {
  position: relative;
  z-index: 2;
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.page-banner .breadcrumb {
  position: relative;
  z-index: 2;
  font-size: 14px;
  color: var(--tech-blue-200);
}

.page-banner .breadcrumb a {
  color: var(--tech-blue-300);
}

.page-banner .breadcrumb a:hover {
  color: var(--white);
}

.page-banner .breadcrumb span {
  margin: 0 8px;
  opacity: 0.5;
}

/* === 内页布局 === */
.page-body {
  padding: 40px 0 60px;
}

.page-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
}

/* 侧边栏 */
.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  align-self: start;
}

.sidebar-title {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-nav {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  overflow: hidden;
}

.sidebar-nav li a {
  display: block;
  padding: 14px 20px;
  color: var(--gray-700);
  font-size: 14px;
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition-fast);
  position: relative;
  padding-left: 36px;
}

.sidebar-nav li a::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-300);
  transition: var(--transition-fast);
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
  background: var(--tech-blue-50);
  color: var(--tech-blue-600);
  padding-left: 40px;
}

.sidebar-nav li a:hover::before,
.sidebar-nav li a.active::before {
  background: var(--tech-blue-600);
  transform: translateY(-50%) scale(1.5);
}

.sidebar-nav li:last-child a {
  border-bottom: none;
}

/* 内容区 */
.content-area {
  min-width: 0;
}

.content-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 24px;
  position: relative;
}

.content-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: var(--gradient-primary);
}

.content-title h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--gray-900);
}

/* === 文章详情 === */
.article {
  background: var(--white);
  padding: 0;
}

.article-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 32px;
}

.article-header h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: var(--gray-400);
  flex-wrap: wrap;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-body {
  font-size: 15px;
  line-height: 2;
  color: var(--gray-700);
}

.article-body p {
  margin-bottom: 18px;
  text-indent: 2em;
}

.article-body h2,
.article-body h3 {
  color: var(--gray-900);
  margin-top: 28px;
  margin-bottom: 14px;
  text-indent: 0;
}

.article-body h2 {
  font-size: 20px;
}

.article-body h3 {
  font-size: 17px;
}

.article-body ul,
.article-body ol {
  margin-bottom: 18px;
  padding-left: 2em;
}

.article-body ul li,
.article-body ol li {
  list-style: disc;
  margin-bottom: 8px;
  text-indent: 0;
}

.article-body ol li {
  list-style: decimal;
}

.article-body strong {
  color: var(--gray-900);
}

.article-body blockquote {
  background: var(--tech-blue-50);
  border-left: 4px solid var(--tech-blue-600);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  text-indent: 0;
}

.article-body blockquote p {
  text-indent: 0;
  margin-bottom: 0;
}

.article-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.article-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.article-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--gray-600);
  transition: var(--transition-fast);
}

.article-nav a:hover {
  background: var(--tech-blue-50);
  color: var(--tech-blue-600);
}

/* === 表单 === */
.form-section {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-intro {
  background: var(--tech-blue-50);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
  border-left: 4px solid var(--tech-blue-600);
}

.form-intro p {
  margin-bottom: 8px;
  text-indent: 0;
  font-size: 14px;
  color: var(--gray-700);
}

.form-intro p:last-child {
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--danger);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  font-family: inherit;
  background: var(--white);
  color: var(--gray-800);
}

.form-control:focus {
  outline: none;
  border-color: var(--tech-blue-600);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.form-radio-group {
  display: flex;
  gap: 20px;
  padding-top: 4px;
}

.form-radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  cursor: pointer;
}

.form-radio-group input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--tech-blue-600);
  cursor: pointer;
}

.form-actions {
  margin-top: 32px;
  text-align: center;
}

/* === 通知列表页 === */
.notice-list-page .notice-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  transition: var(--transition);
  text-decoration: none;
  align-items: center;
}

.notice-list-page .notice-item:hover {
  border-color: var(--tech-blue-300);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.notice-list-page .notice-item .notice-date-box {
  flex-shrink: 0;
  width: 70px;
  text-align: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  color: var(--white);
}

.notice-list-page .notice-item .notice-date-box .day {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.notice-list-page .notice-item .notice-date-box .month {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 4px;
}

.notice-list-page .notice-item .notice-info {
  flex: 1;
  min-width: 0;
}

.notice-list-page .notice-item .notice-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.notice-list-page .notice-item .notice-info p {
  font-size: 13px;
  color: var(--gray-500);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-list-page .notice-item .notice-info .notice-tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--tech-blue-50);
  color: var(--tech-blue-600);
  font-size: 12px;
  border-radius: 12px;
  margin-bottom: 8px;
}

/* === 页脚 === */
.site-footer {
  background: var(--tech-blue-900);
  color: var(--gray-400);
  padding-top: 60px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--gray-400);
}

.footer-brand .footer-contact {
  margin-top: 16px;
}

.footer-brand .footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--gray-400);
  font-size: 13px;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--tech-blue-300);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--gray-400);
}

.footer-bottom a:hover {
  color: var(--tech-blue-300);
}

/* === 回到顶部 === */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-blue);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 102, 255, 0.35);
}

/* === 动画 === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* === 统计数字 === */
.stats-section {
  background: var(--gradient-dark);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 145, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-number span {
  font-size: 24px;
  color: var(--tech-blue-300);
}

.stat-item .stat-label {
  font-size: 14px;
  color: var(--tech-blue-200);
}

/* === 响应式 === */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .container {
    padding: 0 16px;
  }

  /* 隐藏顶部栏右侧 */
  .topbar .topbar-right {
    display: none;
  }

  /* 移动端导航 */
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: calc(var(--topbar-height) + var(--header-height));
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateX(100%);
    transition: var(--transition);
    z-index: 99;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav > li > a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: var(--radius-md);
    justify-content: space-between;
  }

  .main-nav > li > a.active::after {
    display: none;
  }

  .has-dropdown > a::after {
    margin-left: auto;
  }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: auto;
    display: none;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  .dropdown li a {
    padding: 10px 16px;
    font-size: 14px;
  }

  /* Hero */
  .hero {
    min-height: 320px;
  }

  .hero-content {
    padding: 50px 16px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content .hero-subtitle {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  /* 区块 */
  .section {
    padding: 40px 0;
  }

  .section-header h2 {
    font-size: 24px;
  }

  /* 新闻布局 */
  .news-layout {
    grid-template-columns: 1fr;
  }

  /* 内页布局 */
  .page-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  /* 页面横幅 */
  .page-banner {
    padding: 40px 0;
  }

  .page-banner h1 {
    font-size: 24px;
  }

  /* 表单 */
  .form-section {
    padding: 24px 20px;
  }

  /* 公示栏卡片 */
  .notice-cards {
    grid-template-columns: 1fr;
  }

  /* 通知列表 */
  .notice-list-page .notice-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .notice-list-page .notice-item .notice-date-box {
    width: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
  }

  .notice-list-page .notice-item .notice-date-box .day {
    font-size: 18px;
  }

  /* 页脚 */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* 统计 */
  .stat-item .stat-number {
    font-size: 32px;
  }

  /* 文章 */
  .article-header h1 {
    font-size: 20px;
  }

  .article-body {
    font-size: 14px;
  }

  /* 回到顶部 */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 22px;
    letter-spacing: 1px;
  }

  .section-header h2 {
    font-size: 20px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .quick-links {
    grid-template-columns: 1fr 1fr;
  }

  .logo-subtitle {
    display: none;
  }

  .logo-title {
    font-size: 16px;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

/* === 工具类 === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0 !important; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none; }

/* === 打印优化 === */
@media print {
  .topbar, .site-header, .site-footer, .back-to-top, .sidebar {
    display: none;
  }
}

/* === Loading Spinner === */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 12px;
  color: var(--gray-500);
}
.loading-spinner .spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--tech-blue-100);
  border-top-color: var(--tech-blue-600);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loading-spinner p {
  font-size: 14px;
  margin: 0;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* === Empty State === */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--gray-400);
  text-align: center;
}
.empty-state .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.empty-state p {
  font-size: 15px;
  margin: 0;
}

/* === Error State === */
.error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--gray-500);
  text-align: center;
  gap: 12px;
}
.error-state .error-icon {
  font-size: 48px;
  color: var(--red-500, #ef4444);
}
.error-state p {
  font-size: 15px;
  margin: 0;
}
.error-state .btn-retry {
  padding: 8px 24px;
  border: 1px solid var(--tech-blue-600);
  border-radius: 6px;
  background: var(--tech-blue-600);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}
.error-state .btn-retry:hover {
  background: var(--tech-blue-700);
}

/* === Toast === */
.toast {
  position: fixed;
  top: 80px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  color: #fff;
  z-index: 10000;
  opacity: 0;
  transform: translateX(120%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-width: 400px;
}
.toast.show {
  opacity: 1;
  transform: translateX(0);
}
.toast-success {
  background: #10b981;
}
.toast-error {
  background: #ef4444;
}
.toast-info {
  background: var(--tech-blue-600);
}
.toast-icon {
  font-weight: bold;
  font-size: 16px;
}

/* === Skeleton Loading === */
.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* === Pagination === */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.pagination button {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--gray-300);
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: var(--gray-700);
  transition: all 0.2s;
}
.pagination button:hover:not(:disabled) {
  border-color: var(--tech-blue-600);
  color: var(--tech-blue-600);
}
.pagination button.active {
  background: var(--tech-blue-600);
  border-color: var(--tech-blue-600);
  color: #fff;
}
.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* === Login Page === */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--tech-blue-900) 0%, var(--tech-blue-700) 50%, var(--tech-blue-600) 100%);
  padding: 20px;
}
.login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.login-card .login-logo {
  text-align: center;
  margin-bottom: 28px;
}
.login-card .login-logo h1 {
  font-size: 22px;
  color: var(--tech-blue-800);
  margin: 8px 0 4px;
}
.login-card .login-logo p {
  font-size: 13px;
  color: var(--gray-500);
}
.login-card .login-tabs {
  display: flex;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--gray-200);
}
.login-card .login-tabs button {
  flex: 1;
  padding: 10px;
  border: none;
  background: none;
  font-size: 15px;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.login-card .login-tabs button.active {
  color: var(--tech-blue-600);
  border-bottom-color: var(--tech-blue-600);
}
.login-card .form-group {
  margin-bottom: 18px;
}
.login-card .form-group label {
  display: block;
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.login-card .form-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.login-card .form-group input:focus {
  outline: none;
  border-color: var(--tech-blue-600);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}
.login-card .btn-login {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: var(--tech-blue-600);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.login-card .btn-login:hover:not(:disabled) {
  background: var(--tech-blue-700);
}
.login-card .btn-login:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.login-card .login-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--gray-500);
}
.login-card .login-footer a {
  color: var(--tech-blue-600);
  text-decoration: none;
}

/* === User Menu in Header === */
.user-menu {
  position: relative;
}
.user-menu .user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s;
}
.user-menu .user-info:hover {
  background: rgba(255, 255, 255, 0.1);
}
.user-menu .user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tech-blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.user-menu .user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  min-width: 160px;
  overflow: hidden;
  z-index: 1000;
  display: none;
}
.user-menu .user-dropdown.show {
  display: block;
}
.user-menu .user-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--gray-700);
  text-decoration: none;
  transition: background 0.15s;
}
.user-menu .user-dropdown a:hover {
  background: var(--gray-100);
}

/* === Form Feedback === */
.form-feedback {
  min-height: 20px;
  font-size: 13px;
  margin-top: 4px;
}
.form-feedback.error {
  color: #ef4444;
}
.form-feedback.success {
  color: #10b981;
}
.form-input.error {
  border-color: #ef4444 !important;
}
.form-input.success {
  border-color: #10b981 !important;
}

/* === Filing Result === */
.filing-result {
  text-align: center;
  padding: 40px 20px;
}
.filing-result .result-icon {
  font-size: 64px;
  margin-bottom: 16px;
}
.filing-result .result-title {
  font-size: 20px;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.filing-result .result-filing-no {
  font-size: 18px;
  font-weight: 600;
  color: var(--tech-blue-600);
  margin: 16px 0;
  padding: 12px 24px;
  background: var(--tech-blue-50);
  border-radius: 8px;
  display: inline-block;
}
.filing-result .result-desc {
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 24px;
}

/* === Notice Content Document Styles === */
.notice-detail-body {
  line-height: 1.8;
  color: var(--gray-800);
  font-size: 15px;
}
.notice-detail-body h2 {
  font-size: 22px;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 16px;
}
.notice-detail-body h3 {
  font-size: 17px;
  color: var(--tech-blue-800);
  margin-top: 28px;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 4px solid var(--tech-blue-600);
}
.notice-detail-body p {
  margin-bottom: 12px;
  text-indent: 2em;
}
.notice-detail-body .doc-meta {
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 24px;
  text-indent: 0;
}
.notice-detail-body .doc-footer {
  text-align: right;
  margin-top: 32px;
  color: var(--gray-600);
  text-indent: 0;
}
.notice-detail-body .doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.notice-detail-body .doc-table th,
.notice-detail-body .doc-table td {
  border: 1px solid var(--gray-300);
  padding: 8px 12px;
  text-align: center;
  font-size: 14px;
}
.notice-detail-body .doc-table th {
  background: var(--tech-blue-50);
  font-weight: 600;
}
.notice-detail-body strong {
  color: var(--gray-900);
}

/* === Notice Attachment === */
.notice-attachment {
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--tech-blue-50);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.notice-attachment .att-icon {
  font-size: 28px;
}
.notice-attachment .att-info a {
  color: var(--tech-blue-600);
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}
.notice-attachment .att-info p {
  font-size: 12px;
  color: var(--gray-500);
  margin: 2px 0 0;
}

/* === Breadcrumb Bar === */
.breadcrumb-bar {
  background: var(--gray-100);
  padding: 12px 0;
  font-size: 14px;
  color: var(--gray-600);
}
.breadcrumb-bar a {
  color: var(--tech-blue-600);
  text-decoration: none;
}
.breadcrumb-bar a:hover {
  text-decoration: underline;
}
.breadcrumb-bar .sep {
  margin: 0 8px;
  color: var(--gray-400);
}

/* === Page Wrap / Layout === */
.page-wrap {
  padding: 32px 0 60px;
}
.page-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.page-content {
  flex: 1;
  min-width: 0;
}
.content-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.content-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--tech-blue-100);
}
.content-header h1 {
  font-size: 24px;
  color: var(--gray-900);
  margin: 0 0 4px;
}
.content-header p {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0;
}

/* === Sidebar === */
.sidebar {
  width: 240px;
  flex-shrink: 0;
}
.sidebar-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.sidebar-title {
  font-size: 16px;
  color: var(--gray-900);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--tech-blue-600);
  font-weight: 600;
}
.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-nav li {
  margin-bottom: 2px;
}
.sidebar-nav li a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
}
.sidebar-nav li a:hover {
  background: var(--tech-blue-50);
  color: var(--tech-blue-600);
}
.sidebar-nav li.active a {
  background: var(--tech-blue-600);
  color: #fff;
}
.sidebar-nav .sn-type {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
  margin-right: 4px;
}
.sidebar-nav .sn-type.type-1 { background: #dbeafe; color: #1e40af; }
.sidebar-nav .sn-type.type-2 { background: #dcfce7; color: #166534; }
.sidebar-nav .sn-type.type-3 { background: #fef3c7; color: #92400e; }
.sidebar-contact {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
}
.sidebar-contact p {
  margin: 0;
}
.sidebar-guide {
  font-size: 14px;
  color: var(--gray-700);
}
.sidebar-guide h4 {
  font-size: 14px;
  margin: 0 0 8px;
  color: var(--gray-900);
}
.sidebar-guide ol {
  padding-left: 20px;
  margin: 0;
}
.sidebar-guide li {
  margin-bottom: 4px;
  font-size: 13px;
}
.sidebar-search {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.search-input {
  padding: 8px 12px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}
.search-input:focus {
  outline: none;
  border-color: var(--tech-blue-600);
}
.search-btn {
  padding: 8px 16px;
  background: var(--tech-blue-600);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}
.search-btn:hover {
  background: var(--tech-blue-700);
}

/* === Notice Cards Grid === */
.notice-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

/* === Notice List Items === */
.notice-table-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.notice-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-200);
  text-decoration: none;
  color: var(--gray-700);
  transition: all 0.2s;
}
.notice-list-item:hover {
  background: var(--tech-blue-50);
  color: var(--tech-blue-600);
}
.notice-type-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.notice-type-tag.type-1 { background: #dbeafe; color: #1e40af; }
.notice-type-tag.type-2 { background: #dcfce7; color: #166534; }
.notice-type-tag.type-3 { background: #fef3c7; color: #92400e; }
.notice-list-title {
  flex: 1;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notice-list-date {
  font-size: 13px;
  color: var(--gray-500);
  flex-shrink: 0;
}

/* === Notice Type Badge (detail page) === */
.notice-type-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}
.notice-type-badge.type-1 { background: #dbeafe; color: #1e40af; }
.notice-type-badge.type-2 { background: #dcfce7; color: #166534; }
.notice-type-badge.type-3 { background: #fef3c7; color: #92400e; }
.pinned-tag {
  color: #f59e0b;
  font-size: 13px;
}

/* === Notice Detail Header === */
.notice-detail-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.notice-detail-title {
  font-size: 24px;
  color: var(--gray-900);
  margin: 0 0 12px;
  text-align: center;
}
.notice-detail-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--gray-500);
  flex-wrap: wrap;
}

/* === Prev/Next Nav === */
.prev-next-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.prev-next-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  text-decoration: none;
  color: var(--gray-700);
  max-width: 48%;
  transition: all 0.2s;
}
.prev-next-btn:hover:not(.disabled) {
  border-color: var(--tech-blue-600);
  color: var(--tech-blue-600);
  background: var(--tech-blue-50);
}
.prev-next-btn.disabled {
  opacity: 0.5;
  cursor: default;
}
.prev-next-btn.next {
  text-align: right;
}
.pn-label {
  font-size: 12px;
  color: var(--gray-500);
}
.pn-title {
  font-size: 14px;
  font-weight: 500;
}

/* === News Card List === */
.news-card-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news-card-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.news-card-item:hover {
  background: var(--tech-blue-50);
  margin: 0 -16px;
  padding: 20px 16px;
}
.news-card-date {
  width: 64px;
  text-align: center;
  flex-shrink: 0;
  background: var(--tech-blue-50);
  border-radius: 8px;
  padding: 8px;
  height: fit-content;
}
.news-card-date .day {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--tech-blue-600);
  line-height: 1.2;
}
.news-card-date .month {
  display: block;
  font-size: 12px;
  color: var(--gray-500);
}
.news-card-body {
  flex: 1;
  min-width: 0;
}
.news-card-title {
  font-size: 16px;
  color: var(--gray-900);
  margin: 0 0 6px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-card-item:hover .news-card-title {
  color: var(--tech-blue-600);
}
.news-card-subtitle {
  font-size: 13px;
  color: var(--gray-500);
  margin: 0 0 6px;
}
.news-card-summary {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--gray-500);
  flex-wrap: wrap;
}
.news-tag {
  padding: 1px 8px;
  background: var(--tech-blue-50);
  color: var(--tech-blue-600);
  border-radius: 3px;
  font-size: 11px;
}

/* === Apply Form === */
.apply-form .form-section {
  margin-bottom: 28px;
}
.form-section-title {
  font-size: 16px;
  color: var(--gray-900);
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--tech-blue-600);
  font-weight: 600;
}
.radio-group {
  display: flex;
  gap: 24px;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  cursor: pointer;
  color: var(--gray-700);
}
.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.form-row .form-group {
  flex: 1;
}
.apply-form .form-group {
  margin-bottom: 16px;
}
.apply-form .form-group label {
  display: block;
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.apply-form .required {
  color: #ef4444;
}
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-input:focus {
  outline: none;
  border-color: var(--tech-blue-600);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}
.form-input.error {
  border-color: #ef4444;
}
textarea.form-input {
  resize: vertical;
  min-height: 80px;
}
.captcha-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}
.btn-lg {
  padding: 12px 32px;
  font-size: 16px;
}
.btn-primary {
  background: var(--tech-blue-600);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover:not(:disabled) {
  background: var(--tech-blue-700);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-outline {
  background: #fff;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover {
  border-color: var(--tech-blue-600);
  color: var(--tech-blue-600);
}
.btn-sm {
  padding: 6px 16px;
  font-size: 13px;
  border-radius: 6px;
}
.btn-outline-light {
  background: transparent;
  border: 1px solid;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

/* === Header Auth === */
.header-auth {
  margin-left: auto;
}

/* === Responsive === */
@media (max-width: 768px) {
  .page-layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
  }
  .content-card {
    padding: 20px;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .notice-cards-grid {
    grid-template-columns: 1fr;
  }
  .news-card-item {
    flex-direction: column;
    gap: 8px;
  }
  .news-card-date {
    width: fit-content;
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 4px 12px;
  }
  .news-card-date .day {
    font-size: 16px;
  }
  .prev-next-nav {
    flex-direction: column;
  }
  .prev-next-btn.next {
    text-align: left;
  }
}
