/* ========================================
   Index Page - Blog Carousel Styles
   ======================================== */

/* 博客导航按钮容器 */
.blog_nav_buttons {
  display: flex;
  gap: 15px;
}

/* 博客导航按钮样式 */
.blog-prev-btn,
.blog-next-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #1976d2;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

.blog-prev-btn:hover,
.blog-next-btn:hover {
  background: #1565c0;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.5);
}

.blog-prev-btn i,
.blog-next-btn i {
  color: white;
}

@media (max-width: 768px) {
  .blog_nav_buttons {
    justify-content: center;
    margin-top: 20px;
  }
}

/* ========================================
   Home Info Cards (replaces old "By the Numbers" counter)
   ======================================== */

.home-info {
  padding: 60px 0;
  background: #f5f8fc;
}

.home-info .theme_title h2 {
  font-size: 42px;
  color: var(--titlecolor);
  margin-bottom: 8px;
}

.home-info .theme_title p {
  display: block;
  width: 72%;
  margin: 0 auto 35px;
  color: #5a6b82;
  font-size: 16px;
  line-height: 1.6;
}

.home-info-row {
  display: flex;
  flex-wrap: wrap;
}

.home-info-card {
  background: #ffffff;
  border: 1px solid #e3ebf5;
  border-radius: 10px;
  padding: 38px 28px 32px;
  height: 100%;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.home-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(17, 67, 143, .14);
  border-color: var(--bgcolor);
}

.home-info-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(17, 67, 143, .08);
  color: var(--bgcolor);
  font-size: 30px;
}

.home-info-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--bgcolor);
  margin-bottom: 8px;
}

.home-info-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--titlecolor);
  margin-bottom: 12px;
  line-height: 1.35;
}

.home-info-desc {
  font-size: 14px;
  color: #5a6b82;
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 66px;
}

.home-info-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--bgcolor);
  text-decoration: none;
  transition: gap .3s ease, color .3s ease;
}

.home-info-link i {
  font-size: 14px;
}

.home-info-link:hover {
  gap: 11px;
  color: #0c2f66;
}

@media (max-width: 991px) {
  .home-info-card {
    margin-bottom: 24px;
  }
  .home-info-desc {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .home-info {
    padding: 45px 0;
  }
  .home-info .theme_title h2 {
    font-size: 32px;
  }
  .home-info .theme_title p {
    width: 90%;
  }
}
