/* ===== 吉林省第三届职业技能大赛 - 主样式 ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  --primary: #0d2b6b;
  --primary-dark: #06163a;
  --primary-light: #1a4a9e;
  --primary-glow: #2a5fc9;
  --accent: #d4202c;
  --accent-light: #f04e5a;
  --gold: #c9a84c;
  --gold-light: #f5e6a8;
  --gold-glow: rgba(201, 168, 76, 0.3);
  --bg-light: #f0f2f8;
  --bg-white: #ffffff;
  --text-dark: #1a1a2e;
  --text-gray: #5a6070;
  --text-light: #8a90a0;
  --border: #e2e6ee;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-xl: 0 12px 48px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===== Top Bar ===== */
.top-bar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-bar-text { font-size: 0.78rem; letter-spacing: 0.3px; }
.top-bar-link { color: rgba(255,255,255,0.55); text-decoration: none; transition: var(--transition); }
.top-bar-link:hover { color: var(--gold-light); }

/* ===== Header ===== */
.site-header {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border-bottom: 3px solid var(--accent);
  position: relative;
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-logo-img {
  height: 72px;
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.site-logo:hover .site-logo-img {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}
.site-title {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0;
  letter-spacing: 3px;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.site-subtitle {
  font-size: 0.82rem;
  color: var(--text-gray);
  font-weight: 400;
  letter-spacing: 2px;
  margin: 2px 0 0 0;
}

/* ===== Navigation ===== */
.main-nav {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 0;
  box-shadow: 0 4px 20px rgba(13,43,107,0.25);
  position: sticky;
  top: 0;
  z-index: 1020;
}
.main-nav .navbar-nav {
  gap: 0;
}
.main-nav .navbar-nav .nav-link {
  color: rgba(255,255,255,0.82);
  padding: 14px 22px;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.main-nav .navbar-nav .nav-link i {
  margin-right: 6px;
  font-size: 0.88rem;
}
.main-nav .navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 3px;
  background: var(--gold);
  transition: var(--transition);
  opacity: 0;
}
.main-nav .navbar-nav .nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.main-nav .navbar-nav .nav-link:hover::before,
.main-nav .navbar-nav .nav-link.active::before {
  left: 15%;
  right: 15%;
  opacity: 1;
}
.main-nav .navbar-nav .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.10);
}
.navbar-toggler {
  border: 2px solid rgba(255,255,255,0.3);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.navbar-toggler:hover {
  border-color: var(--gold);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero Section (No Carousel) ===== */
.hero-section {
  position: relative;
  height: 520px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(6,22,58,0.85) 0%,
    rgba(13,43,107,0.65) 40%,
    rgba(26,74,158,0.35) 70%,
    transparent 100%);
  z-index: 1;
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0 L100 50 L50 100 L0 50 Z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  z-index: 1;
}
.hero-section .container {
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 650px;
}
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
  text-shadow: 2px 4px 12px rgba(0,0,0,0.2);
}
.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 24px;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.15);
}
.hero-content .hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 8px;
}
.hero-content .hero-stats .stat-item {
  text-align: center;
}
.hero-content .hero-stats .stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}
.hero-content .hero-stats .stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ===== Hero Carousel ===== */
.hero-carousel { margin-bottom: 0; }
.hero-carousel .carousel-item {
  height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-carousel .carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(6,22,58,0.85) 0%,
    rgba(13,43,107,0.65) 40%,
    rgba(26,74,158,0.35) 70%,
    transparent 100%);
  z-index: 1;
}
.hero-carousel .carousel-caption {
  text-align: left;
  bottom: 80px;
  left: 10%;
  right: 35%;
  padding: 0;
  z-index: 2;
}
.hero-carousel .carousel-caption h2 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 2px 4px 12px rgba(0,0,0,0.3);
  margin-bottom: 10px;
  line-height: 1.2;
}
.hero-carousel .carousel-caption p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  text-shadow: 1px 2px 6px rgba(0,0,0,0.2);
  line-height: 1.5;
}
.hero-carousel .carousel-caption .btn {
  border-width: 2px;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 8px;
  transition: var(--transition);
}
.hero-carousel .carousel-caption .btn:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.hero-carousel .hero-slide.active {
  display: flex;
  align-items: center;
}
.hero-carousel .hero-slide .container {
  position: relative;
  z-index: 2;
}
.hero-carousel .hero-slide::before {
  background: linear-gradient(135deg,
    rgba(6,22,58,0.60) 0%,
    rgba(13,43,107,0.35) 40%,
    rgba(26,74,158,0.15) 70%,
    transparent 100%);
}
.hero-carousel .hero-slide .hero-badge {
  box-shadow: 0 0 20px rgba(212,32,44,0.4);
}
.hero-carousel .hero-slide .hero-content h1 {
  text-shadow: 0 2px 20px rgba(0,0,0,0.3), 0 0 40px rgba(201,168,76,0.15);
}
.hero-carousel .hero-slide .hero-content .stat-number {
  text-shadow: 0 0 20px rgba(201,168,76,0.3);
}
.carousel-indicators { bottom: 24px; z-index: 3; }
.carousel-indicators button {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  transition: var(--transition);
  opacity: 0.5;
}
.carousel-indicators button.active { opacity: 1; width: 56px; background: var(--gold); }
.carousel-control-prev, .carousel-control-next { z-index: 3; }

/* ===== Sections ===== */
.section-block { padding: 60px 0; }
.section-block.bg-white { background: var(--bg-white); }
.section-block.bg-gray { background: var(--bg-gray); }

.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  margin-bottom: 0;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 2px;
}
.section-header h2::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--accent);
  z-index: 1;
}
.section-header p {
  color: var(--text-gray);
  margin-top: 12px;
  font-size: 0.95rem;
}

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

.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  position: relative;
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.news-card .card-img {
  height: 210px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}
.news-card .card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
}
.news-card .card-img .tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 500;
  margin: 14px;
  border-radius: 4px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
}
.news-card .card-img .tag.pinned {
  background: linear-gradient(135deg, var(--gold), #b8942e);
  color: var(--primary-dark);
}
.news-card .card-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.news-card .card-body h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 10px; line-height: 1.5; }
.news-card .card-body h3 a { color: var(--text-dark); transition: var(--transition); }
.news-card .card-body h3 a:hover { color: var(--accent); }
.news-card .card-body p {
  font-size: 0.85rem;
  color: var(--text-gray);
  flex: 1;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .card-body .meta {
  font-size: 0.78rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 12px;
}

/* ===== Quick Link Cards ===== */
.quick-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.quick-link-card {
  display: block;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 36px 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.quick-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--gold));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.quick-link-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
  background: #fff;
}
.quick-link-card:hover::before {
  transform: scaleX(1);
}
.quick-link-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: var(--transition);
}
.quick-link-card:hover .quick-link-icon {
  transform: scale(1.1) rotate(-5deg);
}
.quick-link-card h5 { font-size: 1.05rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.quick-link-card p { font-size: 0.82rem; color: var(--text-gray); margin: 0; }

/* ===== Page Banner ===== */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
  color: #fff;
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L40 25 L30 25 L20 25 Z' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--accent), var(--gold));
}
.page-banner h1 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}
.page-banner p {
  font-size: 0.95rem;
  opacity: 0.8;
  position: relative;
  z-index: 1;
}

/* ===== News Detail ===== */
.news-detail-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}
.news-detail-wrap .article-header {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border);
}
.news-detail-wrap .article-header h1 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}
.news-detail-wrap .article-header .meta {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-top: 14px;
}
.news-detail-wrap .article-header .meta span { margin-right: 24px; }
.news-detail-wrap .article-header .meta i { margin-right: 4px; color: var(--primary-light); }
.news-detail-wrap .article-summary {
  background: linear-gradient(135deg, #f0f4ff, #fff);
  border-left: 4px solid var(--primary-light);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 28px;
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
}
.news-detail-wrap .article-content {
  font-size: 1.02rem;
  line-height: 2;
  color: #333;
}
.news-detail-wrap .article-content p { margin-bottom: 1.2em; }
.news-detail-wrap .article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 24px 0;
  box-shadow: var(--shadow);
}
.news-detail-wrap .article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid var(--border);
}
.related-section {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 40px;
}
.related-section h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.related-section .related-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.related-section .related-item:last-child { border-bottom: none; }
.related-section .related-item:hover { padding-left: 8px; }
.related-section .related-item a {
  color: var(--text-dark);
  font-weight: 500;
  flex: 1;
}
.related-section .related-item a:hover { color: var(--accent); }
.related-section .related-item small { color: var(--text-light); font-size: 0.8rem; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--bg-gray);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.12); }
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,22,58,0.7) 0%, rgba(13,43,107,0.3) 50%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
}
.gallery-item:hover .overlay { opacity: 1; }

/* ===== Register Embed ===== */
.register-section { padding: 40px 0 60px; }
.register-section .register-notice {
  background: linear-gradient(135deg, #f0f4ff, #fff);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-gray);
}
.register-section .register-notice i { color: var(--primary-light); margin-right: 8px; }
.register-section iframe {
  width: 100%;
  height: 900px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ===== Page Content ===== */
.page-content-wrap { max-width: 860px; margin: 0 auto; padding: 40px 20px 60px; }
.page-content-wrap .content-body { font-size: 1.02rem; line-height: 2; color: #333; }
.page-content-wrap .content-body h1,
.page-content-wrap .content-body h2,
.page-content-wrap .content-body h3 {
  color: var(--primary);
  margin-top: 1.5em;
  margin-bottom: 0.8em;
}
.page-content-wrap .content-body img { max-width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.page-content-wrap .content-body p { margin-bottom: 1em; }

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: rgba(255,255,255,0.65);
  padding: 48px 0 0;
  margin-top: auto;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--accent), var(--gold), var(--accent));
  background-size: 300% 100%;
  animation: shimmer 4s ease-in-out infinite;
}
.site-footer h5 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
  letter-spacing: 0.5px;
}
.site-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact p {
  font-size: 0.88rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact i { color: var(--gold); width: 16px; text-align: center; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  margin-top: 36px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ===== Filter Bar ===== */
.filter-bar {
  background: #fff;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  border: 1px solid var(--border);
}
.filter-bar label { font-size: 0.9rem; color: var(--text-gray); }
.filter-bar .form-select, .filter-bar .form-control {
  max-width: 200px;
  border-radius: var(--radius-sm);
  border-color: var(--border);
  font-size: 0.88rem;
  padding: 8px 14px;
  transition: var(--transition);
}
.filter-bar .form-select:focus, .filter-bar .form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(13,43,107,0.1);
}

/* ===== Pagination ===== */
.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.pagination-wrap .pagination { gap: 4px; }
.pagination-wrap .pagination .page-link {
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-sm) !important;
  transition: var(--transition);
  font-weight: 500;
}
.pagination-wrap .pagination .page-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13,43,107,0.2);
}
.pagination-wrap .pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(13,43,107,0.25);
}

/* ===== Buttons ===== */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: var(--transition);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,43,107,0.3);
}
.btn-outline-primary {
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: var(--transition);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,43,107,0.2);
}
.btn-outline-light {
  border-width: 2px;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-up { animation: fadeUp 0.5s ease forwards; }
.fade-up-1 { animation-delay: 0.08s; }
.fade-up-2 { animation-delay: 0.16s; }
.fade-up-3 { animation-delay: 0.24s; }
.fade-up-4 { animation-delay: 0.32s; }

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-light);
}
.empty-state i {
  font-size: 3.5rem;
  margin-bottom: 16px;
  color: var(--border);
}
.empty-state p { font-size: 0.95rem; }

/* ===== Scroll to Top ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(13,43,107,0.3);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(13,43,107,0.4);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 2.2rem; }
  .hero-carousel .carousel-item { height: 400px; }
  .hero-carousel .carousel-caption { left: 8%; right: 25%; }
  .hero-carousel .carousel-caption h2 { font-size: 1.8rem; }
}

@media (max-width: 768px) {
  .site-title { font-size: 1.2rem; letter-spacing: 1px; }
  .site-subtitle { font-size: 0.7rem; letter-spacing: 1px; }
  .site-logo-img { height: 50px; }
  .hero-section { height: 380px; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-content p { font-size: 0.9rem; }
  .hero-content .hero-stats { gap: 20px; }
  .hero-content .hero-stats .stat-number { font-size: 1.3rem; }
  .hero-carousel .carousel-item { height: 320px; }
  .hero-carousel .carousel-caption { left: 5%; right: 5%; bottom: 40px; }
  .hero-carousel .carousel-caption h2 { font-size: 1.3rem; }
  .hero-carousel .carousel-caption p { font-size: 0.85rem; }
  .section-block { padding: 40px 0; }
  .section-header h2 { font-size: 1.3rem; }
  .section-header h2::before { display: none; }
  .page-banner { padding: 40px 0 30px; }
  .page-banner h1 { font-size: 1.4rem; }
  .page-banner::after { height: 4px; }
  .news-grid.cols-3, .news-grid.cols-2 { grid-template-columns: 1fr; }
  .news-detail-wrap { padding: 20px 16px 40px; }
  .news-detail-wrap .article-header h1 { font-size: 1.3rem; }
  .news-detail-wrap .article-nav { flex-direction: column; gap: 12px; }
  .page-content-wrap { padding: 20px 16px 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .main-nav .navbar-nav .nav-link { padding: 10px 16px; }
  .main-nav .navbar-nav .nav-link::before { display: none; }
  .quick-link-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .scroll-top { bottom: 20px; right: 20px; width: 38px; height: 38px; font-size: 0.9rem; }
}

/* ===== 文章内容排版 ===== */
.article-content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-dark);
  word-wrap: break-word;
}
.article-content h1, .article-content h2, .article-content h3,
.article-content h4, .article-content h5, .article-content h6 {
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  font-weight: 600;
  color: var(--primary);
}
.article-content h1 { font-size: 1.6rem; }
.article-content h2 { font-size: 1.35rem; border-bottom: 1px solid var(--border); padding-bottom: 0.4em; }
.article-content h3 { font-size: 1.15rem; }
.article-content p { margin-bottom: 1em; }
.article-content p:last-child { margin-bottom: 0; }
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1em auto;
  display: block;
}
.article-content a { color: var(--primary-light); text-decoration: underline; }
.article-content a:hover { color: var(--accent); }
.article-content ul, .article-content ol { padding-left: 1.6em; margin-bottom: 1em; }
.article-content li { margin-bottom: 0.4em; }
.article-content blockquote {
  margin: 1em 0;
  padding: 1em 1.2em;
  border-left: 4px solid var(--gold);
  background: #f9f7f0;
  border-radius: 0 8px 8px 0;
  color: var(--text-gray);
}
.article-content blockquote p { margin-bottom: 0; }
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 0.92rem;
}
.article-content th, .article-content td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  text-align: left;
}
.article-content th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--primary);
}
.article-content pre {
  background: #1a1a2e;
  color: #f0f2f8;
  border-radius: 8px;
  padding: 1em 1.2em;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 1em 0;
}
.article-content code {
  background: #f0f2f8;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
}
.article-content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
}
.article-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5em 0;
}
.article-content iframe {
  max-width: 100%;
  border: none;
  border-radius: 8px;
}
.article-attachment {
  background: #f0f2f8;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-attachment a {
  color: var(--primary-light);
  font-weight: 500;
  text-decoration: none;
}
.article-attachment a:hover { text-decoration: underline; }
