@charset "utf-8";
/* ============================================================
   高分堂1对1 — 营销型网站样式
   品牌色：#00D6C6（主色）/ #00B8A9（深色）
   参考兔启1对1设计风格
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #00D6C6;
  --primary-dark: #00B8A9;
  --primary-light: #E0F7F5;
  --accent: #ff6b35;
  --text: #333;
  --text-light: #666;
  --text-muted: #999;
  --bg: #f5f7fa;
  --white: #fff;
  --border: #e8e8e8;
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-hover: 0 8px 30px rgba(24,144,255,.15);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-btn: 24px;
  --header-h: 64px;
  --max-w: 1200px;
  --transition: all .3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--white); }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 14px; color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
img { max-width: 100%; border: none; }
h1,h2,h3,h4,h5,h6 { font-weight: 600; }
.left { float: left; display: inline; }
.right, .right2 { float: right; display: inline; }
.clear { clear: both; }
.hidden { display: none; }
.auto { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; text-align: left; }

/* ===== STICKY HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--primary);
  height: var(--header-h);
  box-shadow: none;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.header-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 700; color: var(--primary);
  text-decoration: none; flex-shrink: 0;
}
.header-logo:hover { color: var(--primary-dark); text-decoration: none; }
.logo-icon-new {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 700;
}
.logo-text-new { letter-spacing: 1px; }
.header-nav {
  display: flex; align-items: center; gap: 6px;
}
.header-nav a {
  padding: 8px 18px; font-size: 15px; color: var(--text);
  border-radius: var(--radius-btn); font-weight: 500;
  transition: var(--transition);
}
.header-nav a:hover, .header-nav a.active {
  color: var(--primary); background: var(--primary-light);
  text-decoration: none;
}
.nav-city {
  font-size: 13px; color: var(--accent); font-weight: 500;
  padding: 4px 12px; background: #fff7e6; border-radius: 20px;
  margin-left: 8px;
}
.header-phone {
  font-size: 15px; font-weight: 600; color: var(--primary);
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.header-phone:hover { color: var(--primary-dark); text-decoration: none; }

/* 顶部未滚动时：白色文字 */
.site-header:not(.scrolled) .header-logo { color: #fff; }
.site-header:not(.scrolled) .header-logo:hover { color: rgba(255,255,255,.8); }
.site-header:not(.scrolled) .logo-icon-new { background: rgba(255,255,255,.2); }
.site-header:not(.scrolled) .header-nav a { color: #fff; }
.site-header:not(.scrolled) .header-nav a:hover,
.site-header:not(.scrolled) .header-nav a.active { color: #fff; background: rgba(255,255,255,.15); }
.site-header:not(.scrolled) .header-phone { color: #fff; }
.site-header:not(.scrolled) .header-phone:hover { color: rgba(255,255,255,.8); }
.site-header:not(.scrolled) .prov-switcher-btn { color: #fff; }
.site-header:not(.scrolled) .prov-arrow { color: rgba(255,255,255,.7); }

/* Hamburger */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--text);
  border-radius: 2px; transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, #00D6C6 0%, #00B8A9 40%, #009688 100%);
  padding: 80px 0 90px;
  position: relative; overflow: hidden;
  min-height: 480px; display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 60px; position: relative; z-index: 1;
}
.hero-text { flex: 1; color: #fff; }
.hero-text h1 {
  font-size: 44px; font-weight: 800; line-height: 1.3;
  margin-bottom: 16px; letter-spacing: 2px;
}
.hero-text .hero-sub {
  font-size: 18px; opacity: .85; margin-bottom: 30px; line-height: 1.8;
}
.hero-tags { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-tag {
  padding: 6px 16px; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3); border-radius: 20px;
  font-size: 13px; color: #fff;
}
.hero-stats {
  display: flex; gap: 40px; margin-top: 10px;
}
.hero-stat-num { font-size: 32px; font-weight: 800; color: #fff; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,.7); }

/* Hero Form Card */
.hero-form-card {
  width: 380px; flex-shrink: 0;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  overflow: hidden;
}
.hero-form-header {
  background: linear-gradient(135deg, var(--accent), #e8530e);
  padding: 20px 24px; text-align: center; color: #fff;
}
.hero-form-header h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.hero-form-header p { font-size: 13px; opacity: .9; }
.hero-form-body { padding: 24px; }
.hero-form-body .form-group { margin-bottom: 14px; }
.hero-form-body input, .hero-form-body select {
  width: 100%; padding: 12px 16px;
  border: 1px solid #d9d9d9; border-radius: var(--radius);
  font-size: 14px; outline: none; transition: var(--transition);
}
.hero-form-body input:focus, .hero-form-body select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(24,144,255,.1);
}
.hero-form-body input::placeholder { color: #bbb; }
.btn-hero-submit {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border: none; border-radius: var(--radius-btn);
  font-size: 16px; font-weight: 700; cursor: pointer;
  transition: var(--transition); letter-spacing: 1px;
}
.btn-hero-submit:hover { opacity: .9; transform: translateY(-1px); }
.form-tip { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 12px; }

/* ===== SECTION COMMON ===== */
.section { padding: 60px 0; }
.section-gray { background: var(--bg); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-size: 32px; font-weight: 700; color: var(--text);
  margin-bottom: 12px; position: relative; display: inline-block;
}
.section-header h2::after {
  content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 3px; background: var(--primary); border-radius: 2px;
}
.section-header p { font-size: 16px; color: var(--text-muted); margin-top: 16px; }

/* ===== ADVANTAGES (6 cards grid) ===== */
.adv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
}
.adv-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 28px; text-align: center;
  box-shadow: var(--shadow); transition: var(--transition);
  border: 1px solid transparent;
}
.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}
.adv-icon {
  width: 68px; height: 68px; margin: 0 auto 20px;
  background: var(--primary-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--primary);
  transition: var(--transition);
}
.adv-card:hover .adv-icon {
  background: var(--primary); color: #fff;
}
.adv-card h3 { font-size: 18px; color: var(--text); margin-bottom: 10px; }
.adv-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== HOT COURSES (homepage cards) ===== */
.courses-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
}
.course-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: var(--transition); border: 1px solid var(--border);
}
.course-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-hover);
}
.course-card-img {
  display: block; width: 100%; height: 160px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 36px; overflow: hidden;
}
.course-card-img img { width: 100%; height: 100%; object-fit: cover; }
.course-card-body { padding: 16px 20px; }
.course-card-title {
  font-size: 16px; font-weight: 600; color: var(--text);
  margin-bottom: 8px; display: block;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.course-card-title:hover { color: var(--primary); text-decoration: none; }
.course-card-inst { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.course-card-bottom {
  display: flex; align-items: center; justify-content: space-between;
}
.course-card-price { color: #ff4d4f; font-size: 22px; font-weight: 700; font-family: Arial; }
.course-card-price-orig { color: #bbb; font-size: 12px; text-decoration: line-through; margin-left: 6px; }
.btn-card {
  padding: 6px 18px; background: var(--primary); color: #fff;
  border-radius: var(--radius-btn); font-size: 13px; font-weight: 500;
  transition: var(--transition);
}
.btn-card:hover { background: var(--primary-dark); color: #fff; text-decoration: none; }

/* ===== NEWS / ARTICLES TAB ===== */
.news-section { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.news-tabs { display: flex; gap: 4px; margin-bottom: 24px; justify-content: center; }
.news-tab {
  padding: 10px 28px; background: var(--bg); border-radius: var(--radius-btn);
  font-size: 15px; color: var(--text-light); cursor: pointer;
  border: none; font-weight: 500; transition: var(--transition);
}
.news-tab:hover { color: var(--primary); }
.news-tab.active {
  background: var(--primary); color: #fff;
}
.news-panel { display: none; }
.news-panel.active { display: flex; gap: 24px; }
.news-featured {
  width: 380px; flex-shrink: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow);
}
.news-featured-img {
  width: 100%; height: 220px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 40px;
}
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.news-featured-body { padding: 16px 20px; }
.news-featured-title {
  font-size: 16px; font-weight: 600; color: var(--text);
  margin-bottom: 8px; display: block;
}
.news-featured-title:hover { color: var(--primary); text-decoration: none; }
.news-featured-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.news-list { flex: 1; }
.news-item {
  display: flex; align-items: center; padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.news-item:last-child { border-bottom: none; }
.news-item-title {
  flex: 1; font-size: 15px; color: var(--text);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.news-item-title:hover { color: var(--primary); text-decoration: none; }
.news-item-date { font-size: 13px; color: var(--text-muted); flex-shrink: 0; margin-left: 16px; }

/* ===== STATS COUNTER ===== */
.stats-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 60px 0;
}
.stats-grid {
  display: flex; justify-content: center; gap: 80px;
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
}
.stat-item { text-align: center; color: #fff; }
.stat-num { font-size: 48px; font-weight: 800; font-family: Arial; line-height: 1.2; }
.stat-num span { font-size: 20px; font-weight: 400; }
.stat-label { font-size: 16px; opacity: .8; margin-top: 6px; }

/* ===== FOOTER ===== */
.site-footer { background: #004D44; color: rgba(255,255,255,.7); }
.footer-main { padding: 50px 0 30px; }
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  display: flex; gap: 40px;
}
.footer-col { flex: 1; }
.footer-brand { flex: 1.5; }
.footer-logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.footer-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 700;
}
.footer-logo-text { font-size: 18px; font-weight: 700; color: #fff; }
.footer-desc { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.5); }
.footer-col h4 {
  font-size: 16px; font-weight: 600; color: #fff;
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-col ul li {
  margin-bottom: 10px; font-size: 13px;
}
.footer-col ul li a { color: rgba(255,255,255,.6); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-col ul li i { width: 18px; color: var(--primary); margin-right: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0; text-align: center;
  font-size: 13px; color: rgba(255,255,255,.4);
}

/* ===== CONTAINER ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block; padding: 12px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important; border: none; border-radius: var(--radius-btn);
  font-size: 16px; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: var(--transition);
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); text-decoration: none; }

/* ===== CITY NAV ===== */
#city-nav {
  background: #f8f9fa; border-bottom: 1px solid var(--border);
  padding: 10px 0; font-size: 13px;
}
#city-nav .auto { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.city-label { color: var(--text-muted); margin-right: 8px; }
.city-item {
  padding: 3px 10px; color: var(--text-light); border-radius: 4px;
  transition: var(--transition);
}
.city-item:hover, .city-item.on { color: var(--primary); background: var(--primary-light); text-decoration: none; }

/* ===== BREADCRUMB ===== */
#breadcrumb {
  background: #f8f9fa; border-bottom: 1px solid var(--border);
  padding: 12px 0; font-size: 13px; color: var(--text-muted);
}
#breadcrumb .auto a { color: var(--text-muted); }
#breadcrumb .auto a:hover { color: var(--primary); }
#breadcrumb span { margin: 0 6px; }

/* ===== INNER PAGE LAYOUT ===== */
#inner-main { padding: 24px 0 40px; }
#inner-main .auto { display: flex; gap: 24px; }
.inner-content { flex: 1; min-width: 0; }

/* Left Nav */
.left-nav {
  width: 220px; flex-shrink: 0;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; align-self: flex-start;
}
.left-nav h3 {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; padding: 14px 18px; font-size: 16px; margin: 0;
}
.left-nav a {
  display: block; padding: 11px 18px; font-size: 14px;
  color: var(--text); border-bottom: 1px solid #f5f5f5;
  transition: var(--transition);
}
.left-nav a:hover, .left-nav a.on {
  color: var(--primary); background: var(--primary-light); text-decoration: none;
}

/* ===== DETAIL PAGES ===== */
.detail-top {
  display: flex; gap: 24px; background: var(--white);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow); margin-bottom: 24px;
}
.detail-info { flex: 1; }
.detail-info h1 { font-size: 22px; margin-bottom: 8px; }
.detail-info h1 .hot {
  display: inline-block; font-size: 12px; background: #ff4d4f; color: #fff;
  padding: 2px 8px; border-radius: 4px; margin-left: 8px; font-weight: 500; vertical-align: middle;
}
.detail-meta { font-size: 13px; color: var(--text-muted); margin: 8px 0; }
.detail-meta span { margin-right: 16px; }
.detail-meta i { margin-right: 4px; color: var(--primary); }
.detail-btns { margin-top: 16px; display: flex; gap: 12px; }
.btn-main {
  padding: 10px 28px; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border: none; border-radius: var(--radius-btn);
  font-size: 14px; cursor: pointer; transition: var(--transition);
}
.btn-main:hover { opacity: .9; }
.btn-sub {
  padding: 10px 28px; background: var(--white); color: var(--primary);
  border: 1px solid var(--primary); border-radius: var(--radius-btn);
  font-size: 14px; cursor: pointer; transition: var(--transition);
}
.btn-sub:hover { background: var(--primary-light); }
.detail-tags { display: flex; gap: 8px; margin: 8px 0; }
.d-tag {
  padding: 3px 12px; background: var(--primary-light); color: var(--primary);
  border-radius: 4px; font-size: 12px;
}
.detail-price-row { margin: 12px 0; }
.d-price { font-size: 28px; font-weight: 700; color: #ff4d4f; font-family: Arial; }
.d-price-orig { font-size: 14px; color: #bbb; text-decoration: line-through; margin-left: 8px; }
.detail-cover {
  width: 280px; height: 180px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 48px; overflow: hidden;
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Tabs */
.d-tabs { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.d-tab-nav { display: flex; border-bottom: 1px solid var(--border); }
.d-tab-btn {
  padding: 14px 24px; background: none; border: none; border-bottom: 2px solid transparent;
  font-size: 15px; color: var(--text-light); cursor: pointer; transition: var(--transition);
}
.d-tab-btn:hover { color: var(--primary); }
.d-tab-btn.on { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.d-tab-body { display: none; padding: 20px 24px; font-size: 14px; line-height: 1.8; color: var(--text); }
.d-tab-body.on { display: block; }

/* Course items in detail */
.c-item {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid #f5f5f5; align-items: center;
}
.c-item:last-child { border-bottom: none; }
.c-item-img {
  flex-shrink: 0; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px; overflow: hidden;
}
.c-item-info { flex: 1; min-width: 0; }
.c-item-title { font-size: 15px; font-weight: 600; color: var(--text); display: block; margin-bottom: 4px; }
.c-item-title:hover { color: var(--primary); text-decoration: none; }
.c-item-title .hot {
  font-size: 11px; background: #ff4d4f; color: #fff;
  padding: 1px 6px; border-radius: 3px; margin-left: 6px; font-weight: 500;
}
.c-item-desc {
  font-size: 13px; color: var(--text-muted); margin-bottom: 4px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.c-item-meta { font-size: 12px; color: var(--text-muted); }
.c-item-meta span { margin-right: 12px; }
.c-item-meta i { margin-right: 3px; }
.c-item-right { text-align: right; flex-shrink: 0; }
.c-price { font-size: 20px; font-weight: 700; color: #ff4d4f; font-family: Arial; }
.c-btn {
  display: inline-block; margin-top: 6px; padding: 5px 16px;
  background: var(--primary); color: #fff; border-radius: var(--radius-btn);
  font-size: 12px; transition: var(--transition);
}
.c-btn:hover { background: var(--primary-dark); color: #fff; text-decoration: none; }

/* Campus items */
.campus-item {
  background: #f9f9f9; border-radius: var(--radius); padding: 14px 18px;
}
.campus-item h4 { font-size: 15px; margin-bottom: 6px; }
.campus-item p { font-size: 13px; color: var(--text-muted); margin: 3px 0; }
.campus-item i { color: var(--primary); margin-right: 4px; width: 14px; }

/* Institution logo */
.i-logo {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700;
}

/* ===== COURSES LIST PAGE ===== */
.filter-bar {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 16px 20px; box-shadow: var(--shadow); margin-bottom: 20px;
}

/* ===== CONSULT FORM PAGE ===== */
.consult-form {
  max-width: 500px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow);
}
.consult-form .form-group { margin-bottom: 16px; }
.consult-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.consult-form input, .consult-form select, .consult-form textarea {
  width: 100%; padding: 10px 14px; border: 1px solid #d9d9d9;
  border-radius: var(--radius); font-size: 14px; outline: none;
  transition: var(--transition);
}
.consult-form input:focus, .consult-form select:focus, .consult-form textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(24,144,255,.1);
}

/* ===== FLOAT PANEL ===== */
#float-wrap { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 999; }
#float-panel {
  width: 260px; background: var(--white); border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: -4px 0 20px rgba(0,0,0,.1); overflow: hidden;
  transition: var(--transition);
}
#float-panel.hide { transform: translateX(100%); }
.fp-title {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; padding: 14px 16px; display: flex; justify-content: space-between;
  align-items: center; font-size: 15px; font-weight: 600;
}
.fp-title span:last-child { cursor: pointer; font-size: 20px; }
.fp-form { padding: 16px; }
.fp-input {
  width: 100%; padding: 10px 12px; border: 1px solid #d9d9d9;
  border-radius: var(--radius); font-size: 13px; margin-bottom: 10px;
  outline: none; transition: var(--transition);
}
.fp-input:focus { border-color: var(--primary); }
.fp-submit {
  width: 100%; padding: 10px; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border: none; border-radius: var(--radius-btn);
  font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.fp-submit:hover { opacity: .9; }
#float-tab {
  writing-mode: vertical-rl; padding: 16px 10px;
  background: linear-gradient(135deg, var(--accent), #e8530e);
  color: #fff; font-size: 14px; font-weight: 600;
  border-radius: var(--radius) 0 0 var(--radius);
  cursor: pointer; letter-spacing: 2px;
}

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.pagination a, .pagination span {
  padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 13px; color: var(--text); transition: var(--transition);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.pagination .current {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* ===== BADGES ===== */
.badge { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 12px; }
.badge-red { background: #fff1f0; color: #ff4d4f; }
.badge-green { background: #f6ffed; color: #52c41a; }
.badge-gray { background: #f5f5f5; color: #999; }

/* ===== ALERT ===== */
.alert { padding: 10px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 13px; }
.alert-error { background: #fff2f0; color: #ff4d4f; border: 1px solid #ffccc7; }
.alert-success { background: #f6ffed; color: #52c41a; border: 1px solid #b7eb8f; }

/* ===== ADMIN STYLES ===== */
.admin-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.admin-header h1 { font-size: 22px; }
.admin-table {
  width: 100%; border-collapse: collapse; background: var(--white);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.admin-table th {
  background: #fafafa; padding: 12px 16px; text-align: left;
  font-size: 13px; font-weight: 600; color: var(--text-light);
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 12px 16px; font-size: 13px; border-bottom: 1px solid #f5f5f5;
}
.admin-table tr:hover td { background: #fafafa; }
.btn-add {
  padding: 8px 20px; background: var(--primary); color: #fff;
  border: none; border-radius: var(--radius-btn); font-size: 13px;
  cursor: pointer; transition: var(--transition);
}
.btn-add:hover { background: var(--primary-dark); }
.btn-sm {
  padding: 4px 12px; border: none; border-radius: 4px;
  font-size: 12px; cursor: pointer; transition: var(--transition);
}
.btn-edit { background: #E0F7F5; color: var(--primary); }
.btn-edit:hover { background: #B2EBE6; }
.btn-del { background: #fff1f0; color: #ff4d4f; }
.btn-del:hover { background: #ffccc7; }
.filter-btn {
  padding: 6px 16px; border-radius: var(--radius-btn); font-size: 13px;
  color: var(--text-light); background: #f5f5f5; text-decoration: none;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary); color: #fff; text-decoration: none;
}

/* Admin Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.5); align-items: center; justify-content: center;
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px; width: 480px; max-width: 90vw;
  max-height: 85vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.modal h3 { font-size: 18px; margin-bottom: 20px; }
.form-input {
  width: 100%; padding: 9px 14px; border: 1px solid #d9d9d9;
  border-radius: var(--radius); font-size: 14px; outline: none;
  transition: var(--transition);
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(24,144,255,.1); }
.form-row { display: flex; gap: 12px; }
.form-row > div { flex: 1; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.btn-primary-admin {
  padding: 9px 24px; background: var(--primary); color: #fff;
  border: none; border-radius: var(--radius); font-size: 14px; cursor: pointer;
}
.btn-secondary {
  padding: 9px 24px; background: #f5f5f5; color: var(--text);
  border: none; border-radius: var(--radius); font-size: 14px; cursor: pointer;
}

/* Admin Stats */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-bottom: 24px;
}
.stat-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 24px; text-align: center; box-shadow: var(--shadow);
}
.stat-card .num { font-size: 36px; font-weight: 700; color: var(--primary); }
.stat-card .label { font-size: 14px; color: var(--text-muted); margin-top: 6px; }

/* Admin sidebar */
.admin-sidebar {
  width: 240px; background: #004D44; min-height: 100vh;
  position: fixed; left: 0; top: 0; z-index: 100;
  overflow-y: auto;
}
.admin-sidebar .a-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 20px 16px; border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 8px;
}
.admin-sidebar nav { padding: 0 12px; }
.admin-sidebar nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; margin: 2px 0;
  color: rgba(255,255,255,.7); font-size: 14px;
  border-radius: 8px; transition: all .2s;
  text-decoration: none;
}
.admin-sidebar nav a:hover {
  color: #fff; background: rgba(24,144,255,.15);
  text-decoration: none;
}
.admin-sidebar nav a.active {
  color: #fff; background: var(--primary);
  font-weight: 500; box-shadow: 0 2px 8px rgba(24,144,255,.3);
}
.admin-sidebar nav a i {
  width: 18px; text-align: center; font-size: 14px;
}
.nav-group-label {
  font-size: 11px; color: rgba(255,255,255,.35);
  text-transform: uppercase; letter-spacing: 1px;
  padding: 16px 16px 6px; font-weight: 600;
}
.admin-body { margin-left: 240px; padding: 28px; background: var(--bg); min-height: 100vh; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-inner { padding: 0 16px; }
  .header-nav { 
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 12px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
  }
  .header-nav.open { display: flex; }
  .header-nav a { padding: 12px 20px; }
  .header-phone { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 40px 0 50px; min-height: auto; }
  .hero-inner { flex-direction: column; gap: 30px; }
  .hero-text h1 { font-size: 28px; }
  .hero-text .hero-sub { font-size: 15px; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 24px; }
  .hero-form-card { width: 100%; }

  .adv-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .stats-grid { flex-direction: column; gap: 24px; align-items: center; }

  #inner-main .auto { flex-direction: column; }
  .left-nav { width: 100%; }
  .detail-top { flex-direction: column; }
  .detail-cover { width: 100%; height: 200px; }

  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-brand { flex: 1; }

  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .modal { width: 95vw; padding: 20px; }
  .form-row { flex-direction: column; }
}

/* ===== ARTICLES LIST PAGE ===== */
.articles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
}
.article-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: var(--transition); border: 1px solid var(--border);
}
.article-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-hover);
}
.article-card-img {
  display: block; width: 100%; height: 180px;
  background: linear-gradient(135deg, #00B8A9, #764ba2);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 36px; overflow: hidden;
}
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 16px 20px; }
.article-card-title {
  font-size: 16px; font-weight: 600; color: var(--text);
  margin-bottom: 8px; display: block;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.article-card-title:hover { color: var(--primary); text-decoration: none; }
.article-card-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 12px; height: 36px; overflow: hidden;
}
.article-card-footer {
  display: flex; gap: 16px; font-size: 12px; color: var(--text-muted);
}
.article-card-footer i { margin-right: 4px; }

/* ===== ARTICLE DETAIL ===== */
.article-detail {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow);
}
.article-title {
  font-size: 24px; font-weight: 700; color: var(--text);
  margin-bottom: 16px; line-height: 1.4;
}
.article-meta {
  display: flex; gap: 20px; font-size: 13px; color: var(--text-muted);
  margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.article-meta i { margin-right: 4px; color: var(--primary); }
.article-cover {
  margin-bottom: 24px; border-radius: var(--radius); overflow: hidden;
}
.article-cover img { width: 100%; max-height: 400px; object-fit: cover; }
.article-body {
  font-size: 15px; line-height: 2; color: var(--text);
}
.article-body p { margin-bottom: 16px; }
.article-body img { max-width: 100%; border-radius: var(--radius); margin: 16px 0; }
.article-body h2, .article-body h3 { margin: 24px 0 12px; }

/* ===== SEO ARTICLES SECTION (Homepage) ===== */
.seo-articles-section {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
}
.seo-articles-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.seo-article-item {
  background: var(--white); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
  transition: var(--transition); border: 1px solid var(--border);
}
.seo-article-item:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}
.seo-article-item .seo-thumb {
  width: 100%; height: 120px; border-radius: 6px;
  overflow: hidden; margin-bottom: 12px;
  background: linear-gradient(135deg, #00B8A9, #764ba2);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px;
}
.seo-article-item .seo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.seo-article-item h4 {
  font-size: 14px; font-weight: 600; color: var(--text);
  margin-bottom: 6px; line-height: 1.5;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.seo-article-item h4 a { color: var(--text); }
.seo-article-item h4 a:hover { color: var(--primary); text-decoration: none; }
.seo-article-item .seo-date { font-size: 12px; color: var(--text-muted); }

@media (max-width: 768px) {
  .articles-grid { grid-template-columns: 1fr; }
  .seo-articles-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== JS HELPERS ===== */
.red { color: #ff4d4f; font-weight: 700; }
.hide { display: none !important; }

/* ===== ADMIN FORM STYLES (inline from admin pages) ===== */
.form-group label { display: block; font-size: 13px; color: var(--text-light); margin-bottom: 5px; }
textarea.form-input { min-height: 80px; resize: vertical; }
select.form-input { cursor: pointer; }

/* Admin modal open/close JS */


/* ============================================================
   省份切换下拉 + 分站页专用样式 (参考 cnzhenling.com 布局)
   ============================================================ */

/* 顶部面包屑（仅分站页显示） */
.prov-breadcrumb {
  background: #f5f7fa; font-size: 13px; color: var(--text-light);
  border-bottom: 1px solid var(--border);
}
.prov-breadcrumb .auto { padding: 8px 20px; }
.prov-breadcrumb a { color: var(--text-light); }
.prov-breadcrumb a:hover { color: var(--primary); }

/* 省份切换按钮（在 header 里，logo 右侧） */
.prov-switcher {
  position: relative;
  display: flex; align-items: center;
  margin-left: 12px;
}
.prov-switcher-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
  user-select: none;
}
.prov-switcher-btn:hover { background: var(--primary-light); border-color: var(--primary); }
.prov-switcher-btn .prov-current { font-weight: 600; }
.prov-switcher-btn .prov-current.on-sub { color: #e8271a; font-size: 16px; font-weight: 700; }
.prov-switcher-btn .prov-arrow { font-size: 10px; color: var(--text-light); margin-left: 2px; }

/* 下拉面板 */
.prov-dropdown {
  position: absolute;
  top: 100%; left: 0;
  width: 520px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  padding: 16px;
  z-index: 1001;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
}
.prov-switcher:hover .prov-dropdown,
.prov-dropdown:hover {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.prov-dropdown::before {
  content: ''; position: absolute;
  top: -8px; left: 40px;
  width: 14px; height: 14px;
  background: #fff;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.prov-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.prov-dropdown-grid a {
  display: block;
  padding: 8px 4px;
  font-size: 13px; color: var(--text);
  text-align: center;
  border-radius: 4px;
  transition: var(--transition);
  text-decoration: none;
}
.prov-dropdown-grid a:hover { background: var(--primary-light); color: var(--primary); }
.prov-dropdown-grid a.active { background: #e8271a; color: #fff; }
.prov-dropdown-grid a.prov-all { grid-column: 1 / -1; text-align: center; font-weight: 600; margin-bottom: 6px; padding: 10px; background: #f5f7fa; }

/* ===== 分站首页 province.php ===== */
.prov-banner {
  width: 100%; height: 360px;
  background: linear-gradient(135deg, #00B8A9, #00B8A9);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 16px;
}
.prov-banner-title { font-size: 48px; font-weight: 800; letter-spacing: 4px; }

/* 通用分站面板（白底 + 蓝色顶部栏） */
.prov-panel {
  background: #fff; border-radius: 6px; border: 1px solid #eee;
  overflow: hidden; margin-bottom: 16px;
}
.prov-panel-head {
  padding: 12px 20px;
  border-bottom: 2px solid #00B8A9;
  display: flex; justify-content: space-between; align-items: center;
}
.prov-panel-head-title { font-size: 16px; font-weight: 700; color: #333; }
.prov-panel-head-more { font-size: 12px; color: #00B8A9; }

/* 热门资讯 3 列 */
.prov-hot-grid {
  display: flex; gap: 0;
}
.prov-hot-col {
  flex: 1; padding: 0 16px;
  border-right: 1px solid #f0f0f0;
}
.prov-hot-col:last-child { border-right: none; }
.prov-hot-thumb {
  width: 100%; height: 120px;
  border-radius: 4px;
  background: #E0F7F5;
  margin: 12px 0 8px; overflow: hidden;
}
.prov-hot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prov-hot-first-title {
  display: block;
  font-size: 14px; font-weight: 600; color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.prov-hot-first-title:hover { color: var(--primary); }
.prov-hot-list { padding: 0; }
.prov-hot-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.prov-hot-list li a { color: #444; }
.prov-hot-list li a:hover { color: #00B8A9; }
.prov-hot-list li.empty { color: #eee; }

/* 4 图卡小 banner */
.prov-card-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 16px;
}
.prov-card-row .prov-card {
  border-radius: 6px; overflow: hidden;
  height: 100px; background: #E0F7F5;
}
.prov-card-row .prov-card img { width: 100%; height: 100%; object-fit: cover; }

/* 相关新闻 + 预约试听 */
.prov-news-row {
  display: flex; gap: 16px; align-items: stretch; margin-bottom: 16px;
}
.prov-news-main {
  flex: 2; min-width: 0;
  background: #fff; border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column;
}
.prov-news-grid {
  display: flex; gap: 0; flex: 1;
}
.prov-news-col {
  flex: 1; padding: 0 16px;
  border-right: 1px solid #f0f0f0;
}
.prov-news-col:last-child { border-right: none; }
.prov-news-col .news-row {
  padding: 8px 0; border-bottom: 1px solid #f5f5f5;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.prov-news-col .news-row a { color: #444; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prov-news-col .news-row a:hover { color: #00B8A9; }
.prov-news-col .news-row .d { color: #bbb; font-size: 12px; margin-left: 8px; flex-shrink: 0; }
.prov-news-col .news-row.empty span { color: #eee; }

.prov-trial {
  flex: 1; min-width: 0;
  background: #fff; border-radius: 6px; padding: 20px;
  display: flex; flex-direction: column;
}
.prov-trial h3 {
  font-size: 16px; font-weight: 700; color: #333;
  margin: 0 0 16px; padding-bottom: 10px;
  border-bottom: 2px solid #00B8A9;
}
.prov-trial form { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.prov-trial input, .prov-trial select {
  width: 100%; padding: 10px 12px;
  border: 1px solid #ddd; border-radius: 4px;
  font-size: 14px; margin-bottom: 12px;
  box-sizing: border-box;
}
.prov-trial select { color: #666; }
.prov-trial button {
  width: 100%; padding: 12px;
  background: #00B8A9; color: #fff;
  border: none; border-radius: 4px;
  font-size: 15px; font-weight: 700;
  cursor: pointer;
}
.prov-trial button:hover { background: #008F82; }

/* 热点问答 */
.prov-qa-grid {
  display: flex; gap: 0;
}
.prov-qa-col {
  flex: 1; padding: 0 16px;
  border-right: 1px solid #f0f0f0;
}
.prov-qa-col:last-child { border-right: none; }
.prov-qa-row {
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px;
}
.prov-qa-row:last-child { border-bottom: none; }
.prov-qa-row .q {
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: #444;
}
.prov-qa-row .q:hover { color: #00B8A9; }
.prov-qa-row .meta { display: flex; gap: 8px; align-items: center; flex-shrink: 0; margin-left: 12px; }
.prov-qa-row .resolved {
  font-size: 11px; color: #52c41a;
  background: #f6ffed; padding: 2px 6px; border-radius: 3px;
  border: 1px solid #b7eb8f;
}
.prov-qa-row .d { color: #bbb; font-size: 12px; }

@media (max-width: 960px) {
  .prov-dropdown { width: 90vw; left: -20px; }
  .prov-dropdown-grid { grid-template-columns: repeat(4, 1fr); }
  .prov-hot-grid, .prov-news-grid, .prov-qa-grid { flex-wrap: wrap; }
  .prov-news-row { flex-direction: column; }
  .prov-card-row { grid-template-columns: repeat(2, 1fr); }
  .prov-banner { height: 180px; }
  .prov-banner-title { font-size: 28px; }
}

/* ============ 新闻列表页 (news.php) ============ */
.news-wrap { padding: 16px 20px; }
.news-layout { display: flex; gap: 16px; align-items: flex-start; }
.news-main { flex: 2; min-width: 0; background: #fff; border-radius: 4px; }
.news-side { flex: 1; min-width: 260px; max-width: 320px; }

.news-list { padding: 0; }
.news-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px; border-bottom: 1px solid #f0f0f0;
  text-decoration: none; color: inherit;
  transition: background 0.15s;
}
.news-item:hover { background: #fafbfc; }
.news-item:last-child { border-bottom: none; }
.news-item-body { flex: 1; min-width: 0; }
.news-item-title {
  font-size: 16px; font-weight: bold; color: #333;
  line-height: 1.5; margin: 0 0 6px 0;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.news-item:hover .news-item-title { color: #00B8A9; }
.news-item-desc {
  font-size: 13px; color: #666; line-height: 1.6;
  margin: 0 0 8px 0;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.news-item-meta {
  display: flex; gap: 12px; font-size: 12px; color: #aaa; flex-wrap: wrap;
}
.news-item-thumb {
  width: 120px; height: 90px; border-radius: 4px;
  flex-shrink: 0; overflow: hidden;
}
.news-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-empty { padding: 60px 20px; text-align: center; color: #aaa; }

.news-pagination {
  padding: 16px 0; display: flex; justify-content: center; gap: 4px; flex-wrap: wrap;
}
.news-pagination a, .news-pagination span {
  padding: 6px 12px; font-size: 13px; border-radius: 3px; text-decoration: none;
}
.news-pagination a { color: #555; background: #f5f5f5; }
.news-pagination a:hover { background: #E0F7F5; color: #00B8A9; }
.news-pagination .current { color: #fff; background: #00B8A9; font-weight: bold; padding: 6px 10px; }
.news-pagination .disabled { color: #ccc; background: #f5f5f5; }

.news-side-card {
  background: #fff; border-radius: 4px; padding: 20px; margin-bottom: 16px;
}
.news-side-title {
  font-size: 16px; font-weight: bold; color: #333;
  margin: 0 0 16px 0; padding-bottom: 10px; border-bottom: 2px solid #00B8A9;
}
.news-side-card form input,
.news-side-card form select {
  width: 100%; padding: 10px 12px; margin-bottom: 12px;
  border: 1px solid #ddd; border-radius: 4px; font-size: 14px;
  box-sizing: border-box;
}
.news-side-card form button {
  width: 100%; padding: 12px; background: #00B8A9; color: #fff;
  border: none; border-radius: 4px; font-size: 15px; font-weight: bold;
  cursor: pointer;
}
.news-side-card form button:hover { background: #008F82; }

.news-hot-list { list-style: none; margin: 0; padding: 0; }
.news-hot-list li {
  margin-bottom: 10px; display: flex; gap: 8px; align-items: flex-start;
}
.news-hot-list .rank {
  display: inline-block; width: 20px; height: 20px; line-height: 20px;
  text-align: center; border-radius: 3px;
  font-size: 12px; font-weight: bold; flex-shrink: 0;
  background: #ccc; color: #fff;
}
.news-hot-list .rank.top { background: #FF6B6B; }
.news-hot-list a {
  font-size: 13px; color: #333; line-height: 1.5;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  flex: 1; text-decoration: none;
}
.news-hot-list a:hover { color: #00B8A9; }

@media (max-width: 960px) {
  .news-layout { flex-direction: column; }
  .news-side { max-width: 100%; width: 100%; }
  .news-item-thumb { width: 90px; height: 68px; }
}
