/* ============================================================
   易木教育 EyouCMS 主题 — 全新设计系统
   Design System v2.0
   ============================================================ */

/* ============================================================
   1. Design Tokens (CSS Variables)
   ============================================================ */
:root {
  /* Brand Colors */
  --c-primary: #57068c;
  --c-primary-dark: #2e0a45;
  --c-primary-light: #f3e9fb;
  --c-accent: #ff9d53;
  --c-accent-dark: #f57c00;

  /* Text Colors */
  --c-text: #1a1a1a;
  --c-text-sub: #595959;
  --c-text-muted: #8c8c8c;
  --c-text-light: #bfbfbf;
  --c-text-inverse: #ffffff;

  /* Background Colors */
  --c-bg: #ffffff;
  --c-bg-page: #f5f7fa;
  --c-bg-card: #ffffff;
  --c-bg-section: #f4fbfb;
  --c-bg-hover: #f3e9fb;

  /* Border Colors */
  --c-border: #e8e8e8;
  --c-border-light: #f0f0f0;

  /* Layout */
  --container-w: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-brand: 0 4px 16px rgba(23,114,246,0.15);
  --transition: 0.25s ease;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica,
    "Segoe UI", Arial, Roboto, "PingFang SC", "Hiragino Sans GB",
    "Microsoft Yahei", sans-serif;
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-3xl: 34px;
}

/* ============================================================
   2. Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  margin: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
a:hover { color: var(--c-primary); }
img { max-width: 100%; height: auto; display: block; }
ol, ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ============================================================
   3. Layout
   ============================================================ */
.container {
  width: var(--container-w);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

.section { padding: 60px 0; }
.section-tight { padding: 40px 0; }
.bg-page { background: var(--c-bg-page); }
.bg-section { background: var(--c-bg-section); }
.bg-white { background: #fff; }

.clearfix::after { content: ""; display: table; clear: both; }

/* ============================================================
   4. Section Header
   ============================================================ */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.sec-head-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sec-title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--c-text);
  position: relative;
  padding-bottom: 6px;
}

.sec-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(23,114,246,0.18);
  border-radius: 2px;
}

.sec-head-center .sec-title::after {
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
}

.sec-subtitle {
  font-size: var(--fs-lg);
  color: var(--c-text-sub);
  margin-top: 14px;
  font-weight: 500;
}

.sec-more {
  font-size: var(--fs-sm);
  color: var(--c-primary);
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sec-more::after { content: "\203A"; font-size: 18px; line-height: 1; }

.sec-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  background: var(--c-primary-light);
  color: var(--c-primary);
  transition: all var(--transition);
}

.sec-btn:hover { background: var(--c-primary); color: #fff; }

.sec-btn-solid {
  background: var(--c-primary);
  color: #fff;
}

.sec-btn-solid:hover { background: var(--c-primary-dark); color: #fff; }

/* ============================================================
   5. Top Bar
   ============================================================ */
.topbar {
  background: #f5f5f5;
  border-bottom: 1px solid var(--c-border-light);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 6px 0;
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
}

.topbar-phone {
  color: var(--c-primary);
  font-weight: 700;
  font-size: var(--fs-base);
  margin-left: 8px;
}

/* ============================================================
   6. Header & Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo a { display: inline-block; }
.logo img { height: 54px; width: auto; flex-shrink: 0; }

/* Nav */
.nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-item > a:hover,
.nav-item.active > a { color: var(--c-primary); background: var(--c-primary-light); }
.nav-item .arrow { font-size: 10px; color: var(--c-text-muted); }

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 200;
}
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-text-sub);
  border-radius: var(--radius-sm);
}
.nav-dropdown a:hover { background: var(--c-bg-hover); color: var(--c-primary); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta .btn-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  background: var(--c-primary);
  color: #fff;
  transition: var(--transition);
}
.header-cta .btn-call:hover { background: var(--c-primary-dark); color: #fff; }

/* ============================================================
   7. Floating Sidebar Tools
   ============================================================ */
.float-tools {
  position: fixed;
  right: 16px;
  top: 25%;
  width: 72px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 90;
  overflow: hidden;
}

.float-tools ul { display: flex; flex-direction: column; }

.float-tools li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--c-text-sub);
  cursor: pointer;
  position: relative;
  border-bottom: 1px solid var(--c-border-light);
  transition: var(--transition);
}
.float-tools li:last-child { border-bottom: none; }
.float-tools li:hover { background: var(--c-primary); color: #fff; }
.float-tools li img { width: 22px; height: 22px; margin-bottom: 4px; }

.float-tools .float-popup {
  position: absolute;
  right: 82px;
  top: 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: var(--transition);
  white-space: nowrap;
}
.float-tools li:hover .float-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.float-tools .float-popup img { width: 100px; height: 100px; margin: 0; }
.float-tools .float-popup .popup-text {
  font-size: var(--fs-sm);
  color: var(--c-text);
  padding: 8px 12px;
  background: linear-gradient(135deg, #043867, #235d96);
  color: #fff;
  border-radius: var(--radius-sm);
  text-align: center;
}

/* ============================================================
   8. Banner / Swiper
   ============================================================ */
.banner-section { padding: 16px 0; }

.banner-section .swiper-slide {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.banner-slide-inner {
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.banner-slide-inner a {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-slide-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Swiper pagination & nav */
.banner-section .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  opacity: 1;
  transition: var(--transition);
}
.banner-section .swiper-pagination-bullet-active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}
.banner-section .swiper-button-prev,
.banner-section .swiper-button-next {
  color: #fff;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.25);
  border-radius: 50%;
  transition: var(--transition);
}
.banner-section .swiper-button-prev:hover,
.banner-section .swiper-button-next:hover {
  background: rgba(0,0,0,0.45);
}
.banner-section .swiper-button-prev::after,
.banner-section .swiper-button-next::after { font-size: 16px; }

/* ============================================================
   9. Country Cards (whychoose)
   ============================================================ */
.country-section {
  display: flex;
  gap: 20px;
}

.country-sidebar {
  flex: 0 0 260px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-primary);
  border-radius: var(--radius-md);
  padding: 24px;
}

.country-sidebar h3 {
  font-size: var(--fs-xl);
  margin-bottom: 16px;
}
.country-sidebar h3 b { position: relative; }
.country-sidebar h3 b::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(23,114,246,0.2);
  border-radius: 2px;
  z-index: -1;
}

.country-list { display: flex; flex-direction: column; gap: 10px; }
.country-list .country-tag {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-text-sub);
  padding: 6px 0;
}
.country-list .country-more {
  display: block;
  text-align: center;
  padding: 8px;
  border: 1px solid var(--c-primary);
  border-radius: var(--radius-full);
  color: var(--c-primary);
  font-weight: 600;
  font-size: var(--fs-sm);
  margin-top: 12px;
  transition: var(--transition);
}
.country-list .country-more:hover { background: var(--c-primary); color: #fff; }

.country-projects {
  flex: 1;
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-primary);
  border-radius: var(--radius-md);
  padding: 24px;
}

.country-projects h3 {
  font-size: var(--fs-xl);
  margin-bottom: 20px;
}
.country-projects h3 b { position: relative; }
.country-projects h3 b::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(23,114,246,0.2);
  border-radius: 2px;
  z-index: -1;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project-card {
  position: relative;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: #fff;
  transition: transform var(--transition);
}
.project-card:hover { transform: scale(1.04); }
.project-card .project-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.project-card .project-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transition: transform var(--transition);
}
.project-card:hover .project-bg img { transform: scale(1.08); }
.project-card .project-name { position: relative; z-index: 1; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }

/* ============================================================
   10. Service Process
   ============================================================ */
.process-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.process-step {
  text-align: center;
  width: 140px;
  position: relative;
}

.process-step .step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--c-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--c-primary);
  transition: var(--transition);
}
.process-step:hover .step-icon {
  background: var(--c-primary);
  color: #fff;
  transform: translateY(-4px);
}
.process-step .step-name {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-text-sub);
}
.process-step .step-desc {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-top: 4px;
}

/* Process connector arrows */
.process-step:not(:last-child)::after {
  content: "\203A";
  position: absolute;
  right: -24px;
  top: 24px;
  font-size: 24px;
  color: var(--c-text-light);
}

/* ============================================================
   11. Card Grid (通用卡片网格)
   ============================================================ */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================================
   12. Background Enhancement Cards
   ============================================================ */
.bg-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--c-border-light);
}
.bg-card:hover {
  box-shadow: var(--shadow-brand);
  transform: translateY(-3px);
}
.bg-card .card-cover {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.bg-card .card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bg-card .card-body { padding: 16px 20px 20px; }
.bg-card .card-title {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 8px;
}
.bg-card:hover .card-title { color: var(--c-primary); }
.bg-card .card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}
.bg-card .card-tag {
  background: var(--c-primary-light);
  color: var(--c-primary);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--fs-xs);
}

/* ============================================================
   13. Teacher Cards
   ============================================================ */
.teacher-card {
  display: flex;
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.teacher-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary);
}
.teacher-card .tutor-avatar {
  flex: 0 0 140px;
  height: 200px;
  overflow: hidden;
  background: var(--c-bg-section);
}
.teacher-card .tutor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.teacher-card .tutor-info {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.teacher-card .tutor-info h3 {
  font-size: var(--fs-lg);
  color: var(--c-text);
}
.teacher-card .tutor-info .tutor-pos {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-top: 4px;
}
.teacher-card .tutor-info .tutor-divider {
  width: 36px;
  height: 2px;
  background: var(--c-primary);
  margin: 12px 0;
}
.teacher-card .tutor-info .tutor-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   14. Case Cards (学员案例)
   ============================================================ */
.case-card {
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  box-shadow: var(--shadow-brand);
  transform: translateY(-4px);
  border-color: var(--c-primary);
}
.case-card .case-cover {
  width: 100%;
  height: 160px;
  overflow: hidden;
  position: relative;
}
.case-card .case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-card .case-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--c-primary);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: 6px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.case-card .case-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.case-card .case-name {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
}
.case-card:hover .case-name { color: var(--c-primary); }
.case-card .case-tags { margin-bottom: 8px; }
.case-card .case-tags .tag {
  display: inline-block;
  background: var(--c-bg-section);
  color: var(--c-text-sub);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  margin-right: 6px;
  margin-bottom: 4px;
}
.case-card .case-bg-info {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-bottom: 6px;
}
.case-card .case-offer {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-top: auto;
  padding-top: 8px;
}
.case-card .case-offer li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.case-card .case-offer li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
  flex-shrink: 0;
}

/* ============================================================
   15. Offer Grid
   ============================================================ */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.offer-grid a {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 200px;
}
.offer-grid a:hover { transform: scale(1.03); box-shadow: var(--shadow-md); }
.offer-grid a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   16. News Section (首页资讯双栏)
   ============================================================ */
.news-layout {
  display: flex;
  gap: 20px;
}

.news-main {
  flex: 1;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  min-width: 0;
}

.news-side {
  flex: 0 0 340px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.news-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--c-border-light);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.news-panel-head .panel-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-text);
}
.news-panel-head .panel-more {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}
.news-panel-head .panel-more:hover { color: var(--c-primary); }

/* News hero (featured article) */
.news-hero {
  border-radius: var(--radius-md);
  height: 200px;
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
}
.news-hero img { width: 100%; height: 100%; object-fit: cover; }
.news-hero .news-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.6), transparent 60%);
}
.news-hero .news-hero-title {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  color: #fff;
  font-size: var(--fs-lg);
  font-weight: 600;
  z-index: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* News list items */
.news-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border-light);
}
.news-item:last-child { border-bottom: none; }
.news-item .news-item-cover {
  flex-shrink: 0;
  width: 130px;
  height: 85px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.news-item .news-item-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-item .news-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.news-item .news-item-title {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.news-item:hover .news-item-title { color: var(--c-primary); }
.news-item .news-item-meta {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}

/* Side panel offer list */
.side-offer-list .side-offer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border-light);
}
.side-offer-list .side-offer-item:last-child { border-bottom: none; }
.side-offer-list .side-offer-item img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.side-offer-list .side-offer-item span {
  flex: 1;
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.side-offer-list .side-offer-item:hover span { color: var(--c-primary); }

.side-offer-hero {
  border-radius: var(--radius-md);
  height: 160px;
  overflow: hidden;
  margin-bottom: 12px;
}
.side-offer-hero img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   17. Breadcrumb
   ============================================================ */
.breadcrumb-bar {
  background: var(--c-bg-page);
  padding: 12px 0;
}
.breadcrumb-bar ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.breadcrumb-bar li {
  display: flex;
  align-items: center;
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}
.breadcrumb-bar li a { color: var(--c-primary); }
.breadcrumb-bar li::after {
  content: "/";
  margin: 0 8px;
  color: var(--c-text-light);
}
.breadcrumb-bar li:last-child::after { display: none; }
.breadcrumb-bar li:last-child { color: var(--c-text-sub); font-weight: 500; }

/* ============================================================
   18. Article List Page
   ============================================================ */
.list-page { padding: 20px 0 60px; }

.list-banner {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}
.list-banner img { width: 100%; }

.list-container {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

.list-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-border-light);
  transition: var(--transition);
}
.list-item:last-child { border-bottom: none; }
.list-item:hover { background: var(--c-bg-page); border-radius: var(--radius-sm); }

.list-item .list-item-cover {
  flex-shrink: 0;
  width: 200px;
  height: 130px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.list-item .list-item-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list-item .list-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.list-item .list-item-title {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-item:hover .list-item-title { color: var(--c-primary); }
.list-item .list-item-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.list-item .list-item-meta {
  display: flex;
  gap: 16px;
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}

/* ============================================================
   19. Pagination
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  transition: var(--transition);
}
.pagination a:hover {
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.pagination .active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* ============================================================
   20. Article Detail Page
   ============================================================ */
.article-page { padding: 16px 0 60px; }

.article-layout {
  display: flex;
  gap: 20px;
}

.article-main {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

.article-sidebar {
  flex: 0 0 320px;
}

.article-header { margin-bottom: 24px; }
.article-header h1 {
  font-size: var(--fs-xl);
  color: var(--c-text);
  margin-bottom: 12px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border-light);
}
.article-cover {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  overflow: hidden;
}
.article-cover img { width: 100%; }
.article-content {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--c-text-sub);
}
.article-content img { max-width: 100% !important; border-radius: var(--radius-sm); }
.article-content p { margin-bottom: 14px; }
.article-content h2,
.article-content h3 { margin: 24px 0 12px; color: var(--c-text); }

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border-light);
  font-size: var(--fs-sm);
}

/* 文章内CTA */
.article-cta {
  text-align: center;
  margin: 30px 0;
  padding: 28px;
  background: linear-gradient(135deg, var(--c-primary-light), #f4fbfb);
  border-radius: 12px;
}
.article-cta p {
  font-size: 18px;
  color: #1a1a1a;
  margin: 0 0 15px;
  font-weight: 600;
}
.article-cta-btn {
  display: inline-block;
  background: var(--c-primary);
  color: #fff;
  padding: 12px 40px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  transition: .25s;
}
.article-cta-btn:hover { background: var(--c-primary-dark); }
.article-nav a { color: var(--c-primary); }
.article-nav span { color: var(--c-text-muted); }

/* Sidebar widgets */
.widget {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  margin-bottom: 16px;
}
.widget-head {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-border-light);
  margin-bottom: 14px;
}

.widget-article-list .widget-article-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border-light);
}
.widget-article-list .widget-article-item:last-child { border-bottom: none; }
.widget-article-list .widget-article-item .w-cover {
  flex-shrink: 0;
  width: 56px;
  height: 42px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.widget-article-list .widget-article-item .w-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.widget-article-list .widget-article-item .w-info { flex: 1; min-width: 0; }
.widget-article-list .widget-article-item .w-title {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.widget-article-list .widget-article-item:hover .w-title { color: var(--c-primary); }
.widget-article-list .widget-article-item .w-meta {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-top: 4px;
}

.widget-tutor {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}
.widget-tutor .w-tutor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.widget-tutor .w-tutor-info { flex: 1; }
.widget-tutor .w-tutor-name {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-text);
}
.widget-tutor .w-tutor-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.widget-tutor .w-tutor-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 18px;
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.widget-cta {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  color: #fff;
}
.widget-cta p {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 12px;
}
.widget-cta .widget-cta-btn {
  display: inline-block;
  padding: 8px 28px;
  background: #fff;
  color: var(--c-primary);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--fs-sm);
}

/* ============================================================
   21. Single Page (关于我们等)
   ============================================================ */
.single-page { padding: 16px 0 60px; }
.single-container {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 40px;
  min-height: 400px;
}
.single-container h1 {
  font-size: var(--fs-2xl);
  text-align: center;
  color: var(--c-primary-dark);
  margin-bottom: 30px;
}
.single-container .single-content {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--c-text-sub);
}
.single-container .single-content img { max-width: 100% !important; }

/* ============================================================
   22. Country/Category Landing Page
   ============================================================ */
.landing-page { padding: 20px 0 60px; }

.landing-hero {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 36px;
  text-align: center;
  margin-bottom: 30px;
}
.landing-hero h1 {
  font-size: var(--fs-2xl);
  color: var(--c-primary-dark);
  margin-bottom: 8px;
}
.landing-hero .landing-subtitle {
  font-size: var(--fs-lg);
  color: var(--c-accent-dark);
  font-weight: 600;
  margin-bottom: 10px;
}
.landing-hero .landing-desc {
  font-size: var(--fs-base);
  color: var(--c-text-sub);
  max-width: 800px;
  margin: 0 auto;
}

/* Stats bar */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 30px 0;
  margin-bottom: 30px;
}
.stats-bar .stat-item { text-align: center; }
.stats-bar .stat-num {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--c-accent-dark);
}
.stats-bar .stat-label {
  font-size: var(--fs-base);
  color: var(--c-text-sub);
  margin-top: 4px;
}

/* Country case list */
.country-cases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
/* 申请案例卡已统一使用 .bg-card 卡片系统（封面图 + 标题 + 元信息），
   详见 lists_special.htm 的 .country-cases 网格 */

/* Dual column news */
.dual-news {
  display: flex;
  gap: 24px;
  margin-bottom: 30px;
}
.dual-news .dual-news-col {
  flex: 1;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}
.dual-news .dual-news-col h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-primary-dark);
  display: inline-block;
}
.dual-news .dual-news-col .dual-more {
  float: right;
  font-size: var(--fs-sm);
  color: var(--c-primary);
}
.dual-news .dual-news-list { margin-top: 12px; }
.dual-news .dual-news-list a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border-light);
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dual-news .dual-news-list a:hover { color: var(--c-primary); }
.dual-news .dual-news-list a:last-child { border-bottom: none; }

/* ============================================================
   23. Footer
   ============================================================ */
.site-footer {
  background: #f4fbfb;
  font-size: var(--fs-sm);
}

/* Friend links bar */
.footer-friend {
  background: #a9d9d9;
  padding: 12px 0;
  overflow: hidden;
}
.footer-friend .friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.footer-friend .friend-links a {
  color: #fff;
  font-size: var(--fs-sm);
}
.footer-friend .friend-links a:hover { text-decoration: underline; }

/* Footer main */
.footer-main {
  display: flex;
  justify-content: space-between;
  padding: 40px 0;
  gap: 40px;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex: 1;
}
.footer-col h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #0a3d6e;
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col li a {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
}
.footer-col li a:hover { color: var(--c-primary); }

.footer-info { flex: 0 0 420px; }
.footer-qr-list {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}
.footer-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-qr-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.footer-qr-item .qr-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-text-sub);
  margin-top: 6px;
}
.footer-address {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  line-height: 1.8;
}
.footer-contact {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: var(--fs-sm);
  color: #0a3d6e;
  font-weight: 600;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--c-border);
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
}
.footer-bottom a { color: var(--c-text-muted); }
.footer-bottom a:hover { color: var(--c-primary); }

/* Partners */
.footer-partners {
  background: #f0f0f0;
  border-top: 1px solid var(--c-border);
  padding: 20px 0;
}
.footer-partners .partners-row {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-partners .partners-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
}
.footer-partners .partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-partners .partner-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.footer-partners .partner-item span {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-top: 4px;
}

/* ============================================================
   24. Responsive
   ============================================================ */
@media (max-width: 1200px) {
  .container,
  .footer-main { width: 100%; padding-left: 16px; padding-right: 16px; }

  .article-layout { flex-direction: column; }
  .article-sidebar { flex: none; width: 100%; }

  .float-tools { display: none; }

  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: repeat(3, 1fr); }
  .country-cases { grid-template-columns: repeat(3, 1fr); }

  .country-section { flex-direction: column; }
  .country-sidebar { flex: none; }

  .news-layout { flex-direction: column; }
  .news-side { flex: none; }
}

@media (max-width: 768px) {
  .nav { display: none; }

  .project-grid,
  .card-grid-2,
  .card-grid-3,
  .card-grid-4,
  .offer-grid,
  .country-cases { grid-template-columns: 1fr; }

  .dual-news { flex-direction: column; }

  .footer-main { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 24px; }
  .footer-info { flex: none; }

  .process-grid { gap: 20px; }
  .process-step:not(:last-child)::after { display: none; }

  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }

  .banner-slide-inner { height: 220px; }

  .list-item { flex-direction: column; }
  .list-item .list-item-cover { width: 100%; height: 180px; }

  /* 详情页移动端优化 */
  .article-main { padding: 16px; }
  .article-header h1 { font-size: var(--fs-lg); }
  .article-cover { margin-bottom: 14px; }
  .article-content { font-size: 15px; line-height: 1.75; }
  .article-nav { flex-direction: column; gap: 10px; font-size: 13px; }
  .article-cta { padding: 20px 16px; margin: 20px 0; }
  .article-cta p { font-size: 16px; margin-bottom: 12px; }
  .article-cta-btn { padding: 10px 28px; font-size: 15px; }

  /* 产品详情案例信息栏 */
  .case-info-bar { gap: 6px; padding: 10px 12px; flex-wrap: wrap; }
  .case-info-item { font-size: 13px; }
  .case-bg-box { padding: 10px 12px; gap: 8px; }
  .case-bg-label { font-size: 12px; padding: 3px 8px; }
  .case-bg-box p { font-size: 13px; }
  .case-cta { padding: 20px 16px; margin: 20px 0; }
  .case-cta p { font-size: 16px; margin-bottom: 12px; }
  .case-cta-btn { padding: 10px 28px; font-size: 15px; }
}

/* ============================================================
   25. 联系表单 (留言咨询)
   ============================================================ */
.contact-gbook {
  padding: 40px 0 56px;
  background: var(--c-bg, #f6f8fb);
}
.gbook-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 8px 30px rgba(20, 40, 80, .08);
  padding: 36px 40px 32px;
}
.gbook-head { text-align: center; margin-bottom: 26px; }
.gbook-title { font-size: 24px; font-weight: 700; color: var(--c-text, #1a1a1a); }
.gbook-sub { margin-top: 8px; font-size: 14px; color: var(--c-text-muted, #8c8c8c); }

.gbook-form { display: flex; flex-direction: column; gap: 18px; }
.gbook-row { display: flex; flex-direction: column; gap: 8px; }
.gbook-label { font-size: 14px; font-weight: 600; color: var(--c-text, #1a1a1a); }
.gbook-field input,
.gbook-field textarea,
.gbook-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--c-text, #1a1a1a);
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: var(--radius-md, 10px);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.gbook-field textarea { resize: vertical; min-height: 110px; }
.gbook-field input:focus,
.gbook-field textarea:focus,
.gbook-field select:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-light);
}
.gbook-field input::placeholder,
.gbook-field textarea::placeholder { color: #b8c0cc; }

.gbook-row-captcha .gbook-captcha { display: flex; gap: 12px; align-items: center; }
.gbook-captcha-img { height: 42px; border-radius: var(--radius-md, 10px); cursor: pointer; }

.gbook-row-submit { margin-top: 4px; }
.gbook-submit {
  width: 100%;
  padding: 13px 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--c-primary);
  border: none;
  border-radius: var(--radius-md, 10px);
  cursor: pointer;
  transition: background .2s;
}
.gbook-submit:hover { background: var(--c-primary-dark); }

.gbook-tip {
  margin-top: 18px;
  text-align: center;
  font-size: 12.5px;
  color: var(--c-text-muted, #8c8c8c);
}

@media (max-width: 768px) {
  .gbook-card { padding: 26px 20px; }
  .gbook-title { font-size: 20px; }
}

/* ===== 易木教育 · NYU 紫色重映射 (覆盖 wuyou 蓝 #1772f6) ===== */
:root{
  --c-primary:#57068c;
  --c-primary-dark:#2e0a45;
  --c-primary-light:#f3e9fb;
  --c-accent:#a23fc4;
  --c-accent-dark:#7d1fa8;
  --c-bg-section:#f7f1fc;
  --c-bg-hover:#f3e9fb;
}
/* 兜底：硬编码品牌蓝强制为紫 */
.float-tools .float-popup{background:linear-gradient(135deg,#2e0a45,#57068c)!important;}
.widget-cta{background:linear-gradient(135deg,#57068c,#a23fc4)!important;}
.footer-col h3{color:var(--c-primary-dark)!important;}
.footer-qr-item .qr-label{color:var(--c-primary-dark)!important;}
/* 品牌元素统一紫 */
.sec-btn-solid{background:var(--c-primary)!important;color:#fff!important;}
.sec-btn-solid:hover{background:var(--c-primary-dark)!important;}
.sec-more:hover,.panel-more:hover,.country-more:hover{color:var(--c-primary)!important;}
.step-icon{background:var(--c-primary)!important;}
.case-badge{background:var(--c-primary)!important;}
.tag{background:var(--c-primary-light)!important;color:var(--c-primary-dark)!important;}
a{color:var(--c-primary);}
a:hover{color:var(--c-primary-dark);}
/* 国别徽章(替代 emoji 旗帜) */
.country-tag .cc{display:inline-block;font-style:normal;font-weight:700;font-size:11px;line-height:1;background:var(--c-primary);color:#fff;border-radius:4px;padding:2px 5px;margin-right:7px;letter-spacing:.5px;vertical-align:middle;}
