/* 苹果签名主题样式 - Apple Signature Theme */

/* ===== 全局变量 ===== */
:root {
  /* 苹果品牌色彩 */
  --apple-blue: #007AFF;
  --apple-dark-blue: #0051D5;
  --apple-light-blue: #E3F2FD;
  --apple-gray: #8E8E93;
  --apple-light-gray: #F2F2F7;
  --apple-dark-gray: #1C1C1E;
  --apple-white: #FFFFFF;
  
  /* 渐变色 */
  --apple-gradient: linear-gradient(135deg, #007AFF, #5AC8FA);
  --apple-gradient-light: linear-gradient(135deg, #E3F2FD, #BBDEFB);
  
  /* 阴影 */
  --apple-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --apple-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  
  /* 字体 */
  --apple-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* 边距 */
  --apple-spacing: 16px;
  --apple-border-radius: 12px;
}

/* ===== 基础样式 ===== */
body {
  font-family: var(--apple-font);
  background-color: var(--apple-white);
  color: var(--apple-dark-gray);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 1680px;
  margin: 0 auto;
}

main {
  background-color: var(--apple-white);
  padding-top: 0;
  
}

/* ===== 头部样式 ===== */
.site-header {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  padding: 15px 0;
}

.logo-wrapper img {
  height: 40px;
  transition: all 0.3s ease;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  margin: 0 15px;
}

.nav-list li a {
  color: var(--apple-dark-gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-list li a:hover,
.nav-list li.active a {
  color: var(--apple-blue);
}

.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--apple-blue);
  transition: width 0.3s ease;
}

.nav-list li a:hover::after,
.nav-list li.active a::after {
  width: 100%;
}

.header-gap {
  height: 80px;
}

/* ===== 首页英雄区域 ===== */
.hero-section {
  padding: 100px 0 60px;
  background: var(--apple-gradient-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,96C1248,96,1344,128,1392,144L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--apple-dark-blue);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--apple-gray);
}

.hero-cta {
  display: inline-block;
  padding: 16px 32px;
  background: var(--apple-gradient);
  color: var(--apple-white);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
}

/* ===== 服务卡片 ===== */
.services-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--apple-dark-gray);
  margin-bottom: 15px;
}

.section-title p {
  font-size: 1.2rem;
  color: var(--apple-gray);
  max-width: 700px;
  margin: 0 auto;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--apple-white);
  border-radius: var(--apple-border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--apple-shadow);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--apple-shadow-hover);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--apple-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--apple-white);
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--apple-dark-gray);
}

.service-card p {
  color: var(--apple-gray);
  margin-bottom: 20px;
}

.service-link {
  color: var(--apple-blue);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: var(--apple-dark-blue);
}

.service-link::after {
  content: '→';
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.service-link:hover::after {
  transform: translateX(5px);
}

/* ===== 特色功能 ===== */
.features-section {
  padding: 80px 0;
  background-color: var(--apple-light-gray);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--apple-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--apple-blue);
  font-size: 1.5rem;
  box-shadow: var(--apple-shadow);
}

.feature-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--apple-dark-gray);
}

.feature-item p {
  color: var(--apple-gray);
  font-size: 0.95rem;
}

/* ===== 流程步骤 ===== */
.process-section {
  padding: 80px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.step-card {
  background: var(--apple-white);
  border-radius: var(--apple-border-radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--apple-shadow);
  transition: all 0.3s ease;
  position: relative;
}

.step-card::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -15px;
  width: 30px;
  height: 2px;
  background-color: var(--apple-blue);
  transform: translateY(-50%);
}

.step-card:last-child::after {
  display: none;
}

.step-number {
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  background: var(--apple-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--apple-white);
  font-weight: 700;
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--apple-dark-gray);
}

.step-card p {
  color: var(--apple-gray);
  font-size: 0.95rem;
}

/* ===== 数据统计 ===== */
.stats-section {
  padding: 80px 0;
  background: var(--apple-gradient);
  color: var(--apple-white);
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 20px;
  min-width: 150px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
  color: #000;
}

/* ===== 列表页样式 ===== */
.archive-hero {
  padding: 120px 0 60px;
  background: var(--apple-gradient-light);
  text-align: center;
  position: relative;
}

.archive-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--apple-dark-blue);
}

.archive-desc {
  font-size: 1.2rem;
  color: var(--apple-gray);
  max-width: 700px;
  margin: 0 auto;
}

.breadcrumbnav {
padding: 15px 0 0px 25px;
  font-size: 0.9rem;
  color: var(--apple-gray);
  margin-top: 20px;
}

.breadcrumbnav a {
  color: var(--apple-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbnav a:hover {
  color: var(--apple-dark-blue);
}

.posts-warp {
  display: grid;
  gap: 30px;
  margin-top: 40px;
  grid-template-columns: repeat(4, 1fr);
}

.post-item {
  background: var(--apple-white);
  border-radius: var(--apple-border-radius);
  overflow: hidden;
  box-shadow: var(--apple-shadow);
  transition: all 0.3s ease;
}

.post-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--apple-shadow-hover);
}

.entry-media {
  overflow: hidden;
}

.entry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-item:hover .entry-media img {
  transform: scale(1.05);
}

.entry-wrapper {
  padding: 20px;
}

.entry-cat-dot {
  margin-bottom: 10px;
}

.entry-cat-dot a {
  display: inline-block;
  padding: 4px 10px;
  background-color: var(--apple-light-blue);
  color: var(--apple-blue);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.entry-cat-dot a:hover {
  background-color: var(--apple-blue);
  color: var(--apple-white);
}

.entry-title {
  margin: 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}


.entry-title a {
  color: var(--apple-dark-gray);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.entry-title a:hover {
  color: var(--apple-blue);
}

.entry-desc {
  color: var(--apple-gray);
  font-size: 0.95rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

}

/* ===== 内容页样式 ===== */
.content-wrapper {
  margin: 0 auto;
}

.article-header {
  text-align: center;
  margin-bottom: 40px;
}

.post-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--apple-dark-gray);
  margin-bottom: 20px;
  line-height: 1.3;
}

.article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  color: var(--apple-gray);
  font-size: 0.9rem;
}

.article-meta span {
  display: flex;
  align-items: center;
}

.article-meta i {
  margin-right: 5px;
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--apple-dark-gray);
}

.post-content p {
  margin-bottom: 20px;
}

.post-content h2, .post-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--apple-dark-gray);
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--apple-border-radius);
  margin: 20px 0;
}

.entry-copyright {
  margin-top: 40px;
  padding: 20px;
  background-color: var(--apple-light-gray);
  border-radius: var(--apple-border-radius);
  font-size: 0.9rem;
  color: var(--apple-gray);
}

.entry-navigation {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.entry-navigation p {
  margin-bottom: 10px;
}

.entry-navigation a {
  color: var(--apple-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.entry-navigation a:hover {
  color: var(--apple-dark-blue);
}

.related-posts {
  margin-top: 60px;
}

.related-posts-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--apple-dark-gray);
}

/* ===== 分页样式 ===== */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}

.pagination li {
  margin: 0 5px;
}

.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;

  background-color: var(--apple-white);
  color: var(--apple-dark-gray);
  text-decoration: none;
  font-weight: 500;
  box-shadow: var(--apple-shadow);
  transition: all 0.3s ease;
}

.pagination a:hover,
.pagination li.thisclass a {
  background-color: var(--apple-blue);
  color: var(--apple-white);
}

/* ===== 页脚样式 ===== */
.site-footer {
  background-color: var(--apple-light-gray);
  padding: 20px 0 30px;

}

#linkslist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#linkslist li {
  margin: 5px 10px;
  list-style: none;
}

#linkslist a {
  color: var(--apple-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

#linkslist a:hover {
  color: var(--apple-blue);
}

.site-footer .text-center {
  color: var(--apple-gray);
  font-size: 0.9rem;
}

.site-footer .text-center a {
  color: var(--apple-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer .text-center a:hover {
  color: var(--apple-blue);
}

/* ===== 移动端适配 ===== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .post-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    position: relative;
  }
  
  .header-gap {
    display: none;
  }
  
  .hero-section {
    padding: 60px 0 40px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .service-cards {
    grid-template-columns: 1fr;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .step-card::after {
    display: none;
  }
  
  .stats-container {
    flex-direction: column;
  }
  
  .stat-item {
    margin-bottom: 20px;
  }
  
  .posts-warp {
    grid-template-columns: 1fr;
  }
  
  .post-title {
    font-size: 1.8rem;
  }
  
  .article-meta {
    justify-content: flex-start;
  }
  
  #linkslist {
    flex-direction: column;
    align-items: center;
    display: none;
  }
  
  #linkslist li {
    margin: 5px 0;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.6rem;
  }
  
  .section-title p {
    font-size: 1rem;
  }
  
  .service-card {
    padding: 30px 20px;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .post-title {
    font-size: 1.6rem;
  }
  
  .archive-title {
    font-size: 2rem;
  }
  
  .archive-desc {
    font-size: 1rem;
  }
}

/* ===== 兼容原有样式 ===== */
.feature-box.feature-type-1, .feature-box.feature-type-1-1 {
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: var(--apple-border-radius);
  box-shadow: var(--apple-shadow);
  transition: all 0.3s ease-in-out;
  padding: 30px 20px;
  background-color: var(--apple-white);
}

.feature-box.feature-type-1:hover, .feature-box.feature-type-1-1:hover {
  transform: translateY(-5px);
  box-shadow: var(--apple-shadow-hover);
}

.feature-box.feature-type-1 h3, .feature-box.feature-type-1-1 h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--apple-dark-gray);
}

.title-h {
  color: var(--apple-dark-gray);
  font-weight: 600;
  text-align: center;
  margin: 30px auto;
}

.title-p {
  text-align: center;
  color: var(--apple-gray);
  margin-bottom: 15px;
}

.title-p2 {
  font-size: 1.1rem;
  color: var(--apple-gray);
  text-align: center;
  margin-bottom: 15px;
}

.title-pn {
  text-align: center;
  color: var(--apple-gray);
  margin-bottom: 10px;
}

.title-h4 {
  font-size: 1.3rem;
  color: var(--apple-dark-gray);
  font-weight: 600;
  text-align: center;
  margin: 20px auto;
}

.app {
  text-align: center;
  display: block;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.6;
  padding: 15px 0;
  color: var(--apple-dark-gray);
}

.card {
  background: var(--apple-white);
  border-radius: var(--apple-border-radius);
  box-shadow: var(--apple-shadow);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--apple-shadow-hover);
}

.consult-btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  background: var(--apple-gradient);
  color: var(--apple-white);
  text-align: center;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.consult-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
}





/* 主要内容区域样式 */
main {
    flex: 1;
    width: 100%;
    background-color: #f8f9fa;
}



/* 页面头部样式 */
.page-header {
    padding: 40px 0;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 30px;
    border-radius: 10px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 内容包装器 */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

/* 主内容区域 */
.main-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 30px;
}

/* 文章网格布局 */
.articles-grid {
    display: grid;
    gap: 30px;
}

/* 文章卡片样式 */
.article-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 25px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.article-image {
    border-radius: 8px;
    overflow: hidden;
    height: 150px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.article-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-category {
    margin-bottom: 10px;
}

.article-category a {
    background: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

.article-category a:hover {
    background: #0056b3;
}

.article-title {
    margin-bottom: 15px;
}

.article-title a {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #007bff;
}

.article-excerpt {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #6c757d;
}

.article-excerpt p {
    margin: 0;
}

.article-meta {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #6c757d;
}

.article-date {
    color: #868e96;
}

.read-more {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
}

/* 侧边栏样式 */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    overflow: hidden;
}

.widget-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    margin: 0;
}

.widget-title h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.widget-content {
    padding: 25px;
}

/* 分类列表样式 */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    display: block;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid #007bff;
}

.category-list a:hover {
    background: #007bff;
    color: white;
    transform: translateX(5px);
}

/* 热门文章样式 */
.popular-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-posts li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.popular-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-post-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
}

.popular-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-content {
    flex: 1;
}

.popular-post-content h4 {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.popular-post-content h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-post-content h4 a:hover {
    color: #007bff;
}

.popular-post-date {
    font-size: 0.8rem;
    color: #868e96;
}

/* 联系小部件样式 */
.contact-widget {
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    width: 20px;
    color: #007bff;
    font-size: 1.1rem;
}

.contact-item span {
    color: #495057;
    font-weight: 500;
}

/* 分页样式 */
.pagination-wrapper {
    margin-top: 40px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sidebar {
        position: static;
    }
    
    .article-card {
        grid-template-columns: 150px 1fr;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .article-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .article-image {
        height: 200px;
    }
    
    .page-header {
        padding: 30px 0;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .main-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .page-header {
        margin-bottom: 20px;
        border-radius: 8px;
    }
    
    .article-card {
        padding: 20px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .popular-posts li {
        flex-direction: column;
        text-align: center;
    }
    
    .popular-post-thumb {
        width: 100%;
        height: 120px;
        margin-bottom: 10px;
    }
}










/* 相关文章区域样式 */
.related-articles {
    margin-top: 60px;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* 相关文章网格布局 */
.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 相关文章卡片样式 */
.related-article {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.related-article:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.related-article-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-article:hover .related-article-image img {
    transform: scale(1.1);
}

.related-article-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
}

.related-article-content {
    padding: 25px;
}

.related-article-title {
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.related-article-title a {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-article-title a:hover {
    color: #007bff;
}

.related-article-date {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    color: #868e96;
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

.related-article-date::before {
    content: '📅';
    margin-right: 6px;
    font-size: 0.8rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .related-articles {
        margin-top: 40px;
        padding: 30px 0;
        border-radius: 12px;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .related-article-image {
        height: 160px;
    }
    
    .related-article-content {
        padding: 20px;
    }
    
    .related-article-title a {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .related-articles {
        margin-top: 30px;
        padding: 25px 0;
        border-radius: 10px;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }
    
    .related-article-image {
        height: 140px;
    }
    
    .related-article-content {
        padding: 18px;
    }
    
    .related-article-date {
        font-size: 0.8rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.related-article {
    animation: fadeInUp 0.6s ease forwards;
}

.related-article:nth-child(1) { animation-delay: 0.1s; }
.related-article:nth-child(2) { animation-delay: 0.2s; }
.related-article:nth-child(3) { animation-delay: 0.3s; }
.related-article:nth-child(4) { animation-delay: 0.4s; }

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .related-articles {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    }
    
    .section-title {
        color: #e2e8f0;
    }
    
    .related-article {
        background: #2d3748;
        border-color: #4a5568;
    }
    
    .related-article-title a {
        color: #e2e8f0;
    }
    
    .related-article-title a:hover {
        color: #63b3ed;
    }
    
    .related-article-date {
        background: #4a5568;
        border-color: #718096;
        color: #cbd5e0;
    }
}

.container{margin: 0 auto;max-width: 1680px;} 
.logo-wrapper{margin-left: 10%;  width: 160px;  text-align: center;margin-right: 10%;}
.logo-wrapper h1{font-size: 23px;color: var(--apple-dark-blue);}
.logo-wrapper h1 a{font-size: 23px;color: var(--apple-dark-blue);}
a {
  text-decoration: none;

  transition: color 0.3s;
}
.about-content{text-align: center;}