/*
 * =======================================
 *  index.css — 首页独有样式
 *  依赖：base.css（全局变量 + 通用组件）
 * =======================================
 */
/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-900);
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,47,95,0.45) 0%, rgba(0,80,165,0.30) 80%, rgba(26,115,199,0.15) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(223,76,54,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(74,154,232,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 60%, rgba(13,88,170,0.03) 0%, transparent 40%);
}

/* Hero slide text - positioned inside each slide */
.hero-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.hero-text.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.hero-dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}
.hero-dot.active {
  width: 48px;
  background: rgba(255,255,255,0.85);
}
.hero-dot:hover:not(.active) {
  background: rgba(255,255,255,0.5);
}

/* Hero装饰 */
.hero-decoration {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}
.hero-decoration .line {
  position: absolute;
  background: rgba(223,76,54,0.06);
}
.hero-decoration .line-h { width: 100%; height: 1px; }
.hero-decoration .line-v { width: 1px; height: 100%; }
.hero-decoration .line:nth-child(4) { top: 20%; }
.hero-decoration .line:nth-child(5) { top: 50%; }
.hero-decoration .line:nth-child(6) { top: 80%; }
.hero-decoration .line:nth-child(7) { left: 25%; }
.hero-decoration .line:nth-child(8) { left: 75%; }
.hero-decoration .circle {
  position: absolute;
  border: 1px solid rgba(223,76,54,0.08);
  border-radius: 50%;
}
.hero-decoration .circle:nth-child(9) { width: 300px; height: 300px; top: -100px; right: -50px; }
.hero-decoration .circle:nth-child(10) { width: 200px; height: 200px; bottom: -50px; left: 10%; }

/* 彩色光斑blob */
.hero-decoration .blob-1 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223,76,54,0.2), transparent 70%);
  top: -100px; right: 10%;
  filter: blur(60px);
  animation: blobFloat 8s ease-in-out infinite;
}
.hero-decoration .blob-2 {
  position: absolute;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,154,232,0.25), transparent 70%);
  bottom: -80px; left: 5%;
  filter: blur(50px);
  animation: blobFloat 10s ease-in-out infinite reverse;
}
.hero-decoration .blob-3 {
  position: absolute;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,88,170,0.18), transparent 70%);
  top: 30%; right: 30%;
  filter: blur(40px);
  animation: blobFloat 12s ease-in-out infinite 2s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 80px 0 60px;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(223,76,54,0.12);
  border: 1px solid rgba(223,76,54,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-400);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--gold-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: 2px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500), #FFD93D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .subtitle {
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 20px);
  color: var(--navy-200);
  margin-bottom: 32px;
  font-weight: 300;
  letter-spacing: 4px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat .number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--gold-400), #FFD93D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat .number .unit {
  font-size: 16px;
  font-weight: 400;
  margin-left: 2px;
}
.hero-stat .label {
  font-size: 14px;
  color: var(--navy-300);
}


/* ===== QUICK NAVIGATION STRIP ===== */
.quick-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 0;
  position: relative;
  z-index: 10;
}
.quick-nav .container {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.quick-nav .container::-webkit-scrollbar { display: none; }
.quick-nav-item {
  flex-shrink: 0;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 3px solid transparent;
  border-left: 3px solid transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
}
.quick-nav-item:nth-child(1):hover { border-bottom-color: #0D58AA; border-left-color: #0D58AA; background: linear-gradient(90deg, #E8F1FF, transparent); }
.quick-nav-item:nth-child(2):hover { border-bottom-color: #ec4899; border-left-color: #ec4899; background: linear-gradient(90deg, #fce7f3, transparent); }
.quick-nav-item:nth-child(3):hover { border-bottom-color: #2A79A7; border-left-color: #2A79A7; background: linear-gradient(90deg, #E2EFFF, transparent); }
.quick-nav-item:nth-child(4):hover { border-bottom-color: #06b6d4; border-left-color: #06b6d4; background: linear-gradient(90deg, #cffafe, transparent); }
.quick-nav-item:nth-child(5):hover { border-bottom-color: #8b5cf6; border-left-color: #8b5cf6; background: linear-gradient(90deg, #ede9fe, transparent); }
.quick-nav-item:nth-child(6):hover { border-bottom-color: #f59e0b; border-left-color: #f59e0b; background: linear-gradient(90deg, #fef3c7, transparent); }
.quick-nav-item:nth-child(7):hover { border-bottom-color: #ef4444; border-left-color: #ef4444; background: linear-gradient(90deg, #fee2e2, transparent); }
.quick-nav-item .icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.quick-nav-item:nth-child(1) .icon { background: #E8F1FF; }
.quick-nav-item:nth-child(2) .icon { background: #fce7f3; }
.quick-nav-item:nth-child(3) .icon { background: #cffafe; }
.quick-nav-item:nth-child(4) .icon { background: #e0e7ff; }
.quick-nav-item:nth-child(5) .icon { background: #ede9fe; }
.quick-nav-item:nth-child(6) .icon { background: #fef3c7; }
.quick-nav-item:nth-child(7) .icon { background: #fee2e2; }
.quick-nav-item .text .title { font-size: 14px; font-weight: 600; color: var(--gray-800); }
.quick-nav-item .text .desc { font-size: 12px; color: var(--gray-400); }


/* ===== NEWS SECTION ===== */
.news-section {
  padding: 60px 0;
}

/* 学院新闻 & 通知公告 - 区分背景 */
.news-hero {
  background: #e8eef6;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}
.news-notice {
  background: #f5f0e8;
  border-radius: 16px;
  padding: 24px;
  border-top: none;
}

/* Section header (shared by 学院新闻 & 通知公告) */
.news-hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title-row .section-icon {
  width: 22px;
  height: 22px;
  color: var(--navy-600);
  flex-shrink: 0;
}
.section-title-row h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-800);
}

/* ===== 学院新闻：Left Carousel + Right List ===== */
.news-hero-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

/* Carousel (compact, no full-width aspect-ratio) */
.news-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 20px rgba(0, 47, 95, 0.1);
}
.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-slide-overlay {
  position: absolute;
  inset: 0;
  /*background: linear-gradient(to top, rgba(0, 47, 95, 0.88) 0%, rgba(0, 80, 165, 0.4) 50%, rgba(0, 47, 95, 0.05) 100%);*/
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 24px;
}
.carousel-slide-overlay h4 {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Carousel indicators — numbered style (like reference) */
.carousel-indicators {
  position: absolute;
  bottom: 12px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.carousel-dot {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-dot.active {
  background: var(--navy-500);
  color: var(--white);
}
.carousel-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.45);
}
/* Carousel arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  opacity: 0;
}
.news-carousel:hover .carousel-arrow { opacity: 1; }
.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.08);
}
.carousel-arrow svg { width: 18px; height: 18px; }
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }

/* News list (right side of 学院新闻) */
.news-hero-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-hero-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.news-hero-item:last-child { border-bottom: none; }
.news-hero-item:hover {
  padding-left: 6px;
}
.news-hero-item:hover .news-hero-item-title {
  color: var(--navy-600);
}
.news-hero-item-title {
  flex: 1;
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.5;
  transition: color var(--transition-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-hero-item-date {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--gray-400);
  font-variant-numeric: tabular-nums;
}

/* ===== 通知公告：Full-width pure text list ===== */
/* ===== 通知公告 - 卡片式设计 ===== */
.notice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.notice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.notice-card {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,47,95,0.06);
  text-decoration: none;
  transition: all 0.25s ease;
  gap: 12px;
}
.notice-card:hover {
  box-shadow: 0 4px 16px rgba(0,47,95,0.12);
  transform: translateY(-2px);
}
.notice-card:hover .notice-card-title {
  color: var(--navy-600);
}
.notice-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-600);
}
.notice-card-icon svg {
  width: 22px;
  height: 22px;
}
.notice-card-title {
  flex: 1;
  font-size: 15px;
  color: #374151;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}
.notice-card-date {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--navy-700);
  border-radius: 10px 10px 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-style: normal;
}
.notice-card-date-day {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}
.notice-card-date-ym {
  font-size: 11px;
  opacity: 0.8;
  line-height: 1.2;
}

/* 通知公告 - 响应式 */
@media (max-width: var(--bp-mobile, 768px)) {
  .notice-grid {
    grid-template-columns: 1fr;
  }
  .notice-card {
    padding: 12px 14px;
  }
  .notice-card-date {
    width: 46px;
    height: 46px;
  }
  .notice-card-date-day {
    font-size: 17px;
  }
  .notice-card-date-ym {
    font-size: 10px;
  }
}

/* ===== ACADEMIC PROGRAMS ===== *//* ===== ACADEMIC PROGRAMS ===== */
.programs-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #E8F1FF 0%, #CCE1FA 100%);
}
.programs-header {
  text-align: center;
  margin-bottom: 48px;
}
.programs-header .section-desc { margin: 0 auto; }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-600), var(--gold-500));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}
.program-card:hover::before { transform: scaleX(1); }
.program-card:nth-child(1):hover { border-color: #0D58AA; background: linear-gradient(135deg, #E8F1FF, #CCE1FA); }
.program-card:nth-child(2):hover { border-color: #06b6d4; background: linear-gradient(135deg, #ecfeff, #cffafe); }
.program-card:nth-child(3):hover { border-color: #8b5cf6; background: linear-gradient(135deg, #f5f3ff, #ede9fe); }
.program-card:nth-child(4):hover { border-color: #f59e0b; background: linear-gradient(135deg, #fffbeb, #fef3c7); }
.program-card:nth-child(5):hover { border-color: #10b981; background: linear-gradient(135deg, #ecfdf5, #d1fae5); }
.program-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(13,88,170,0.15);
}
.program-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.program-card:nth-child(1) .program-icon { background: #E8F1FF; }
.program-card:nth-child(2) .program-icon { background: #cffafe; }
.program-card:nth-child(3) .program-icon { background: #ede9fe; }
.program-card:nth-child(4) .program-icon { background: #fef3c7; }
.program-card:nth-child(5) .program-icon { background: #ecfdf5; }
.programs-grad .program-card:nth-child(1):hover { border-color: #0D58AA; background: linear-gradient(135deg, #E8F1FF, #CCE1FA); }
.programs-grad .program-card:nth-child(2):hover { border-color: #06b6d4; background: linear-gradient(135deg, #ecfeff, #cffafe); }
.programs-grad .program-card:nth-child(1) .program-icon { background: #E8F1FF; }
.programs-grad .program-card:nth-child(2) .program-icon { background: #ecfeff; }

.program-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.program-card .type {
  font-size: 13px;
  color: var(--gold-600);
  font-weight: 500;
  margin-bottom: 12px;
}
.program-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}



/* ===== Programs: Graduate Tier ===== */
.programs-grid.programs-grad {
  grid-template-columns: repeat(2, 1fr);
  max-width: 680px;
  margin: 0 auto;
}
.programs-grid.programs-grad .program-card {
  padding: 36px 32px;
}
.programs-grid.programs-grad .program-card h4 {
  font-size: 19px;
}
.programs-grid.programs-grad .program-card p {
  font-size: 14.5px;
}

.programs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 36px 0;
  color: var(--navy-400);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}
.programs-divider::before,
.programs-divider::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--navy-200), transparent);
}

/* ===== FEATURES SHOWCASE ===== */
.features-section {
  padding: 80px 0;
}
/** 学院特色 - 全宽居中卡片网格 */
.features-header {
  text-align: center;
  margin-bottom: 40px;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,47,95,0.06);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,47,95,0.12);
}
.feature-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.feature-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
}



/* ===== CTA BANNER ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #002F5F, #0050A5, #0D58AA);
  position: relative;
  overflow: hidden;
}
.cta-section::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%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223,76,54,0.1), transparent 70%);
  top: -200px; right: -100px;
  filter: blur(60px);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 17px;
  color: var(--navy-200);
  max-width: 600px;
  margin: 0 auto 36px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #DF4C36, #E8684F);
  color: white;
  box-shadow: 0 4px 20px rgba(223,76,54,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px rgba(223,76,54,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  padding: 12px 34px;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }




/* ===== 党建宣传横幅 ===== */
.party-banner {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 28px 0;
  box-shadow: 0 4px 16px rgba(0, 47, 95, 0.08);
  transition: all var(--transition-fast);
  cursor: pointer;
}
.party-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 47, 95, 0.15);
}
.party-banner img {
  width: 100%;
  height: auto;
  display: block;
}
/* ==========================================================================
 *  RESPONSIVE — 首页独有布局
 *  全局组件（header/footer/container）响应式规则已在 base.css 中定义
 * ========================================================================== */

/* --- Tablet: <= 1024px --- */
@media (max-width: 1024px) {
  .hero-stats { gap: 32px; }
  .news-hero-body { gap: 20px; }
  .programs-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { gap: 20px; }
}

/* --- Mobile: <= 768px --- */
@media (max-width: 768px) {
  .hero { min-height: 420px; }
  .hero-dot { width: 24px; height: 3px; }
  .hero-dot.active { width: 36px; }
  .hero h1 { letter-spacing: 1px; }
  .hero .subtitle { letter-spacing: 2px; font-size: 14px; }
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px 32px;
    border-top: none;
    padding-top: 0;
  }
  .hero-stat .number { font-size: 28px; }
  .hero-stat .label { font-size: 12px; }

  .quick-nav-item { padding: 14px 16px; }
  .quick-nav-item .icon { width: 28px; height: 28px; font-size: 14px; }
  .quick-nav-item .text .title { font-size: 13px; }
  .quick-nav-item .text .desc { display: none; }

  .news-section { padding: 40px 0; }
  .news-hero-body { grid-template-columns: 1fr; gap: 20px; }
  .news-carousel { aspect-ratio: 16 / 9; }
  .carousel-slide-overlay { padding: 16px 20px; }
  .carousel-slide-overlay h4 { font-size: 14px; }
  .carousel-indicators { bottom: 10px; right: 12px; }
  .carousel-dot { width: 20px; height: 20px; font-size: 11px; }
  .carousel-arrow { width: 32px; height: 32px; }
  .carousel-arrow svg { width: 14px; height: 14px; }
  .news-hero-item { padding: 10px 0; }
  .notice-grid { grid-template-columns: 1fr; gap: 10px; }
  .notice-card { padding: 12px 14px; gap: 10px; }
  .notice-card-icon svg { width: 18px; height: 18px; }
  .notice-card-title { font-size: 14px; }
  .notice-card-date { width: 46px; height: 46px; border-radius: 8px 8px 8px 3px; }
  .notice-card-date-day { font-size: 17px; }
  .notice-card-date-ym { font-size: 10px; }
  .news-hero-item-title { font-size: 13px; }
  .news-hero-item-date { font-size: 12px; }

  .programs-section { padding: 48px 0; }
  .programs-grid.programs-grad { grid-template-columns: 1fr; max-width: 100%; }
  .program-card { padding: 24px 16px; }
  .program-icon { width: 48px; height: 48px; font-size: 22px; }

  .features-section { padding: 48px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 24px 20px; }

  .cta-section { padding: 48px 0; }
  .cta-content h2 { font-size: 24px; }
  .cta-content p { font-size: 15px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
}

/* --- Small Mobile: <= 480px --- */
@media (max-width: 480px) {
  .hero { min-height: 360px; }
  .hero h1 { font-size: 28px; }
  .hero-stats { gap: 16px 24px; }
  .hero-stat .number { font-size: 24px; }
  .programs-grid { grid-template-columns: 1fr; }
}

/* NEW 标志 */
.badge-new {
  display: inline-block;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
