.e-hero {
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 60%, #0262b8 100%);
  padding: 42px 0 38px;
  position: relative;
  overflow: hidden;
}

.e-hero::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.e-hero::after {
  content: '';
  position: absolute;
  left: 30%;
  bottom: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(200,164,74,0.07);
  pointer-events: none;
}

.e-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.e-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.e-hero__breadcrumb a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.e-hero__breadcrumb a:hover {
  color: rgba(255,255,255,0.95);
}

.e-hero__breadcrumb .sep {
  opacity: 0.5;
  font-size: 10px;
}

.e-hero__breadcrumb .current {
  color: rgba(255,255,255,0.9);
}

.e-hero__title {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.e-hero__subtitle {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: 600px;
}

.e-hero__gold-bar {
  width: 44px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 16px;
}

/* ============================================
   INNER LAYOUT: sidebar + main
   ============================================ */
.e-inner-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 60px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

/* ---- Sidebar ---- */
.e-sidebar {
  position: sticky;
  top: 60px;
}

.e-sidebar__menu {
  border: 1px solid var(--border);
  overflow: hidden;
}

.e-sidebar__menu-hd {
  background: var(--primary);
  color: #fff;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.e-sidebar__menu ul {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.e-sidebar__menu li a {
  display: block;
  padding: 10px 18px 10px 22px;
  font-size: 13px;
  color: var(--text-mid);
  border-left: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s, padding 0.2s;
  line-height: 1.4;
  border-bottom: 1px solid #f5f5f5;
}

.e-sidebar__menu li:last-child a {
  border-bottom: none;
}

.e-sidebar__menu li a:hover,
.e-sidebar__menu li.active a {
  color: var(--primary);
  border-left-color: var(--primary);
  background: #f0f5fb;
  padding-left: 26px;
}

.e-sidebar__menu li.active a {
  font-weight: 600;
}
.e-main-content {
  min-width: 0;
}


.e-richtext {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dark);
}

.e-richtext h2 {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
  margin: 8px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.e-richtext h2::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--primary);
}

.e-richtext h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 28px 0 12px;
}

.e-richtext p {
  text-align: justify;
  margin: 0;
  padding: 0;
}

.e-richtext ul,
.e-richtext ol {
  margin: 12px 0 20px 24px;
  list-style: disc;
}

.e-richtext ol {
  list-style: decimal;
}

.e-richtext li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.e-richtext blockquote {
  border-left: 4px solid var(--primary);
  background: #f0f5fb;
  padding: 16px 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-mid);
  border-radius: 0 4px 4px 0;
}

.e-richtext table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.e-richtext table th {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

.e-richtext table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.e-richtext table tr:nth-child(even) td {
  background: var(--bg-light);
}

.e-richtext img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 2px;
}

/* ============================================
   STAT BOXES  (for About page)
   ============================================ */
.e-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 36px 0;
}

.e-stat {
  background: var(--primary);
  color: #fff;
  padding: 24px 16px;
  text-align: center;
  border-radius: 2px;
}

.e-stat__num {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.e-stat__num sup {
  font-size: 18px;
  vertical-align: top;
  margin-top: 6px;
  display: inline-block;
}

.e-stat__label {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

.e-profile-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin: 24px 0;
}

.e-profile-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
  background: #fff;
}

.e-profile-card:hover {
  box-shadow: 0 8px 24px rgba(1,70,135,0.1);
  transform: translateY(-3px);
}

.e-profile-card__photo {
  background: linear-gradient(135deg, #d0d0d0, #e8e8e8);
  height: 235px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.e-profile-card__photo svg {
  width: 72px;
  height: 72px;
  opacity: 0.4;
}

.e-profile-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.e-profile-card__body {
  padding: 16px 18px 20px;
  border-top: 3px solid var(--primary);
}

.e-profile-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.e-profile-card__title {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.e-profile-card__desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   LIST PAGE
   ============================================ */
.e-list-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.e-list-filter__label {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 600;
}

.e-list-filter__btn {
  padding: 6px 16px;
  font-size: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-mid);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}

.e-list-filter__btn:hover,
.e-list-filter__btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* News list items */
.e-list-news {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.e-list-news__item {
  display: flex;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  transition: background 0.15s;
}

.e-list-news__item:first-child {
  border-top: 1px solid var(--border);
}

.e-list-news__item:hover {
  background: #f0f5fb;
  padding-left: 8px;
  padding-right: 8px;
  margin-left: -8px;
  margin-right: -8px;
}
.e-list-news__thumb {
  width: 240px;
  height: 156px;
  overflow: hidden;
  border-radius: 2px;
  /* 蓝色渐变背景 */
  background: linear-gradient(135deg, #4a90e2 0%, #2f73c9 100%);
  
  /* 关键修复：让图片撑满容器 */
  display: flex;
  align-items: flex-start; /* 顶对齐 */
  justify-content: center;
}

/* 强制图片顶对齐 + 铺满容器 */
.e-list-news__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 不变形裁剪，最常用 */
  object-position: center top; /* 顶部对齐 */
}
/*
.e-list-news__thumb {
  flex-shrink: 0;
  width: 160px;
  height: 110px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--primary);
}

.e-list-news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
*/
.e-list-news__item:hover .e-list-news__thumb img {
  transform: scale(1.06);
}

.e-list-news__info {
  flex: 1;
  min-width: 0;
}

.e-list-news__date {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.e-list-news__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 10px;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.e-list-news__item:hover .e-list-news__title {
  color: var(--primary);
}

.e-list-news__desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.e-list-news__readmore {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--primary);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.e-list-news__item:hover .e-list-news__readmore {
  border-bottom-color: var(--primary);
}

/* Pagination */
.e-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 44px;
}

.e-pagination a,
.e-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 13px;
  border: 1px solid var(--border);
  color: var(--text-mid);
  border-radius: 2px;
  transition: all 0.2s;
}

.e-pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f0f5fb;
}

.e-pagination .active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.e-pagination .e-pagination__prev,
.e-pagination .e-pagination__next {
  width: auto;
  padding: 0 12px;
  gap: 4px;
  font-size: 12px;
}

/* ============================================
   DETAIL PAGE
   ============================================ */
.e-detail__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}

.e-detail__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-light);
}

.e-detail__meta-item svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  flex-shrink: 0;
}

.e-detail__meta-item.highlight {
  color: var(--primary);
  font-weight: 600;
}

.e-detail__cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 2px;
}

.e-detail__share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  margin-top: 36px;
  font-size: 13px;
  color: var(--text-light);
}

.e-detail__share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-mid);
  transition: all 0.2s;
}

.e-detail__share a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.e-detail__share svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Related articles */
.e-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}

.e-related__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.e-related__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.e-related__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dark);
  transition: color 0.2s;
}

.e-related__item::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 8px;
}

.e-related__item:hover {
  color: var(--primary);
}

.e-related__date {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
  margin-left: auto;
  padding-left: 20px;
}

/* ============================================
   PROGRAM PAGE (cards layout)
   ============================================ */
.e-program-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
  border-bottom: 2px solid var(--border);
  flex-wrap: wrap;
}

.e-program-tab {
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.e-program-tab:hover {
  color: var(--primary);
}

.e-program-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.e-program-intro {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
  margin-bottom: 40px;
}

.e-program-highlights {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  padding: 24px 24px 24px 28px;
  border-radius: 0 4px 4px 0;
}

.e-program-highlights h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.e-program-highlights ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.e-program-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mid);
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  line-height: 1.45;
}

.e-program-highlights li:last-child {
  border-bottom: none;
}

.e-program-highlights li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
}

.e-program-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}

.e-program-apply:hover {
  background: var(--primary-dk);
  transform: translateY(-2px);
  color: #fff;
}

/* ============================================
   RESPONSIVE — inner pages
   ============================================ */
@media (max-width: 1024px) {
  .e-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .e-profile-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .e-program-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .e-inner-wrap {
    grid-template-columns: 1fr;
    padding: 28px 16px 48px;
    gap: 28px;
  }

  .e-sidebar {
    position: static;
  }

  .e-hero__title {
    font-size: 22px;
  }

  .e-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .e-stat__num {
    font-size: 28px;
  }

  .e-profile-grid {
    grid-template-columns: 1fr;
  }

  .e-list-news__item {
    flex-direction: column;
  }

  .e-list-news__thumb {
    width: 100%;
    height: 180px;
  }

  .e-detail__meta {
    gap: 12px;
  }

  .e-program-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }
}

@media (max-width: 480px) {
  .e-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}