/* ========================================
   出境游保险招聘求职平台 - 全局样式
   ======================================== */

/* CSS变量 */
:root {
  --primary: #1a5fb4;
  --primary-dark: #0d3b7a;
  --primary-light: #3a8fd4;
  --secondary: #e85d26;
  --secondary-light: #f4845f;
  --accent: #26a269;
  --accent-light: #57d9a3;
  --bg-primary: #f7f9fc;
  --bg-secondary: #eef2f7;
  --bg-card: #ffffff;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #7a7a9a;
  --border-color: #dce3ed;
  --shadow-sm: 0 2px 8px rgba(26, 95, 180, 0.08);
  --shadow-md: 0 4px 16px rgba(26, 95, 180, 0.12);
  --shadow-lg: 0 8px 32px rgba(26, 95, 180, 0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-main: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

/* 重置样式 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--secondary);
}

ul, ol {
  list-style: none;
}

/* 干扰标签区块隐藏 */
.jammer-block {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
  z-index: -9999;
}

/* 容器 */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== 导航栏 ========== */
.site-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  position: relative;
  z-index: 100;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
}

.header-top a {
  color: rgba(255,255,255,0.85);
}

.header-top a:hover {
  color: #fff;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.site-logo h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.site-logo h1 a {
  color: #fff;
}

.main-nav ul {
  display: flex;
  gap: 6px;
}

.main-nav a {
  color: rgba(255,255,255,0.9);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 8px;
}

/* ========== 面包屑 ========== */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  margin: 0 8px;
  color: var(--border-color);
}

/* ========== 搜索栏 ========== */
.search-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  padding: 60px 0 50px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.search-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
  animation: pulse-bg 8s ease-in-out infinite;
}

@keyframes pulse-bg {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.search-hero h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  position: relative;
}

.search-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
  position: relative;
}

.search-box {
  display: flex;
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.search-box input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
  font-family: var(--font-main);
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-box select {
  padding: 16px 20px;
  border: none;
  border-left: 1px solid var(--border-color);
  font-size: 0.95rem;
  color: var(--text-secondary);
  background: #fff;
  outline: none;
  font-family: var(--font-main);
  cursor: pointer;
}

.search-box button {
  padding: 16px 36px;
  background: var(--secondary);
  color: #fff;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.search-box button:hover {
  background: var(--secondary-light);
}

.search-tags {
  margin-top: 18px;
  position: relative;
}

.search-tags span {
  display: inline-block;
  padding: 4px 14px;
  margin: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-tags span:hover {
  background: rgba(255,255,255,0.35);
}

/* ========== 轮播图 ========== */
.carousel-section {
  position: relative;
  overflow: hidden;
  max-height: 500px;
}

.carousel-wrapper {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
}

.carousel-overlay h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.carousel-overlay p {
  font-size: 1.05rem;
  opacity: 0.9;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: #fff;
  transform: scale(1.2);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.7);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

/* ========== 通用区块标题 ========== */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 16px;
}

/* ========== 最新职位 ========== */
.section-jobs,
.section-news,
.section-experience,
.section-companies,
.section-reviews,
.section-faq {
  padding: 60px 0;
}

.section-jobs {
  background: var(--bg-primary);
}

.section-news {
  background: var(--bg-secondary);
}

.section-experience {
  background: var(--bg-primary);
}

.section-companies {
  background: var(--bg-secondary);
}

.section-reviews {
  background: var(--bg-primary);
}

.section-faq {
  background: var(--bg-secondary);
}

/* 职位卡片 */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.job-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.job-card:hover::before {
  transform: scaleX(1);
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.job-card h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.job-card h3 a {
  color: var(--text-primary);
}

.job-card h3 a:hover {
  color: var(--primary);
}

.job-salary {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.1rem;
}

.job-company {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.job-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: 4px;
  font-size: 0.8rem;
}

.job-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

/* 资讯卡片 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  border: 1px solid var(--border-color);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card-img {
  width: 240px;
  min-height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-card-img img {
  transform: scale(1.05);
}

.news-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card-content .news-category {
  display: inline-block;
  padding: 2px 10px;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  font-size: 0.78rem;
  margin-bottom: 8px;
  width: fit-content;
}

.news-card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-card-content h3 a {
  color: var(--text-primary);
}

.news-card-content h3 a:hover {
  color: var(--primary);
}

.news-card-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-content .news-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* 职场经验 */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.experience-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.experience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.experience-card-img {
  height: 200px;
  overflow: hidden;
}

.experience-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.experience-card:hover .experience-card-img img {
  transform: scale(1.05);
}

.experience-card-content {
  padding: 20px;
}

.experience-card-content h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.experience-card-content h3 a {
  color: var(--text-primary);
}

.experience-card-content p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 热门公司 */
.company-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.company-logo-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.company-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.company-logo-card img {
  width: 120px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.company-logo-card h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.company-logo-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* 用户评论 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.15;
  font-family: serif;
  line-height: 1;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.review-header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.review-header .review-info h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.review-header .review-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.review-stars {
  color: #f5a623;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.review-card > p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-secondary);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding: 0 24px 18px;
  max-height: 500px;
}

/* ========== 页脚 ========== */
.site-footer {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2d4a 100%);
  color: rgba(255,255,255,0.8);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about h3,
.footer-links h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
  font-size: 0.85rem;
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ========== 内页通用 ========== */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 50px 0;
  text-align: center;
}

.page-banner h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.page-banner p {
  font-size: 1.05rem;
  opacity: 0.9;
}

.page-content {
  padding: 50px 0;
}

/* 职位列表页筛选 */
.filter-bar {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.filter-row label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  min-width: 80px;
}

.filter-row select,
.filter-row input {
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-main);
  color: var(--text-primary);
  background: #fff;
  outline: none;
  transition: var(--transition);
}

.filter-row select:focus,
.filter-row input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.1);
}

.filter-btn {
  padding: 10px 28px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.filter-btn:hover {
  background: var(--primary-dark);
}

/* 职位详情 */
.job-detail-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.job-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.job-detail-header h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.job-detail-header .salary-range {
  font-size: 1.5rem;
  color: var(--secondary);
  font-weight: 700;
}

.apply-btn {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-family: var(--font-main);
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 93, 38, 0.4);
  color: #fff;
}

.job-detail-section {
  margin-bottom: 28px;
}

.job-detail-section h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 14px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.job-detail-section ul {
  padding-left: 20px;
}

.job-detail-section ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.job-detail-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.job-detail-section p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* 企业信息 */
.company-info-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.company-info-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.company-info-header img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
  transition: var(--transition);
}

.pagination a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* 侧边栏 */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
}

.sidebar-widget {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.sidebar-widget h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

/* 更多按钮 */
.more-btn-wrap {
  text-align: center;
  margin-top: 36px;
}

.more-btn {
  display: inline-block;
  padding: 12px 40px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.more-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* ========== 动画 ========== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .company-logos {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .content-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 16px;
    z-index: 200;
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }
  
  .main-nav a {
    display: block;
    padding: 12px 16px;
  }
  
  .header-main {
    flex-wrap: wrap;
  }
  
  .search-box {
    flex-direction: column;
    border-radius: var(--radius-md);
  }
  
  .search-box input,
  .search-box select,
  .search-box button {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
  
  .search-box button {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
  
  .jobs-grid,
  .experience-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .news-card {
    flex-direction: column;
  }
  
  .news-card-img {
    width: 100%;
    height: 200px;
  }
  
  .company-logos {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .carousel-slide img {
    height: 280px;
  }
  
  .search-hero {
    padding: 40px 0 30px;
  }
  
  .search-hero h2 {
    font-size: 1.5rem;
  }
  
  .section-title h2 {
    font-size: 1.4rem;
  }
  
  .filter-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .job-detail-header {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  
  .container {
    padding: 0 16px;
  }
  
  .company-logos {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .carousel-slide img {
    height: 200px;
  }
}

/* 文章内容样式 */
.article-content {
  line-height: 2;
  color: var(--text-secondary);
}

.article-content h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin: 28px 0 14px;
}

.article-content h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 20px 0 10px;
}

.article-content p {
  margin-bottom: 16px;
}

.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.article-content ul li, .article-content ol li {
  margin-bottom: 8px;
  list-style: disc;
}

.article-content ol li {
  list-style: decimal;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  margin: 20px 0;
  background: var(--bg-secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* 标签云 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  display: inline-block;
  padding: 4px 14px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: 20px;
  font-size: 0.85rem;
  transition: var(--transition);
}

.tag-cloud a:hover {
  background: var(--primary);
  color: #fff;
}

/* 返回顶部 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}
