.blogger-content {
  padding: 50px 0 3px 0;
  background-color: #f5f5f5;
  /* min-height: 600px; */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.time-line {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
  color: #333;
  font-weight: bold;
}

/* 博主列表样式 */
.blogger-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 手机端默认两列 */
  gap: 15px; /* 手机端间距稍小 */
  margin: 20px 0 60px;
  width: 100%; /* 在手机端占据全部宽度 */
  margin-left: auto;
  margin-right: auto;
}

/* 博主卡片样式 */
.blogger-card {
  position: relative;
  border-radius: 12px; /* 稍微增加圆角 */
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blogger-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* 博主卡片图片容器 */
.blogger-image {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* 1:1 比例 */
  overflow: hidden;
  background-color: #f0f0f0; /* 添加背景色，防止图片加载时出现空白 */
}

.blogger-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blogger-card:hover .blogger-image img {
  transform: scale(1.05);
}

/* Premium 标签 */
.premium-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #4a90e2;
  font-size: 0.8rem;
  padding: 3px 8px;
  border-radius: 20px;
  font-weight: 600;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
}

.premium-badge i {
  font-size: 0.7rem;
}

/* 博主卡片内容 */
.card-content {
  padding: 18px 15px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blogger-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
}

.view-details-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  margin-top: 10px;
  padding: 8px 16px;
  background: linear-gradient(to right, rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.85));
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.view-details-btn:hover {
  background: linear-gradient(to right, rgba(26, 26, 46, 1), rgba(26, 26, 46, 0.95));
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(26, 26, 46, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.view-details-btn i {
  margin-right: 5px;
}

/* 响应式布局 */
@media (min-width: 576px) {
  .blogger-grid {
    grid-template-columns: repeat(3, 1fr); /* 小屏幕三列 */
    gap: 25px; /* 增加间距 */
    width: 90%; /* 适当缩小宽度 */
  }
}

@media (min-width: 768px) {
  .blogger-grid {
    grid-template-columns: repeat(4, 1fr); /* 中等屏幕四列 */
    gap: 30px; /* 增加间距 */
    width: 85%; /* 适当缩小宽度 */
  }
}

@media (min-width: 992px) {
  .blogger-grid {
    grid-template-columns: repeat(5, 1fr); /* 大屏幕五列 */
    /* width: 80%; 适当缩小宽度 */
  }
}

@media (min-width: 1200px) {
  .blogger-grid {
    grid-template-columns: repeat(5, 1fr); /* 超大屏幕五列 */
    width: 75%; /* 恢复原来的宽度 */
  }
}

/* 响应式设计 - 移除冲突的代码 */
@media (max-width: 768px) {
  .time-line {
    font-size: 20px;
  }
}
.card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

/* 调整容器边距 */
.blogger-content .container {
  padding: 0 20px; /* 增加容器左右内边距 */
  width: 100%; /* 让容器占满父元素宽度 */
  max-width: none; /* 移除最大宽度限制 */
}

@media (min-width: 768px) {
  .blogger-content .container {
    padding: 0 30px; /* 中等屏幕增加更多内边距 */
  }
}

@media (min-width: 992px) {
  .blogger-content .container {
    padding: 0 40px 30px 40px; /* 大屏幕增加更多内边距 */
  }
}

/* 修改这部分，确保在手机视口下显示两个卡片 */
@media (max-width: 575px) {
  .blogger-grid {
    grid-template-columns: repeat(2, 1fr); /* 确保最小屏幕也是两列 */
    gap: 10px; /* 间距更小 */
    width: 100%; /* 占据全部宽度 */
  }
  
  .blogger-name {
    font-size: 0.9rem; /* 小屏幕字体稍小 */
    margin-bottom: 8px;
  }
  
  .view-details {
    font-size: 0.8rem;
  }
  
  .card-content {
    padding: 12px 10px;
  }
}

/* 分页功能样式 */
.pagination-container {
  margin-top: 40px;
  margin-bottom: 20px;
}

.pagination {
  gap: 5px;
}

.page-link {
  border-radius: 8px;
  border: 1px solid rgba(74, 144, 226, 0.2);
  color: #4a90e2;
  font-weight: 500;
  padding: 8px 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-link:hover {
  background-color: rgba(74, 144, 226, 0.1);
  border-color: rgba(74, 144, 226, 0.4);
  color: #4a90e2;
}

.page-item.active .page-link {
  background: linear-gradient(135deg, #4a90e2, #357abd);
  border-color: #4a90e2;
  color: white;
}

.page-item.disabled .page-link {
  color: #6c757d;
  border-color: rgba(108, 117, 125, 0.2);
  background-color: transparent;
  cursor: not-allowed !important; /* 强制使用not-allowed光标 */
  opacity: 0.6;
  pointer-events: none; /* 防止事件穿透 */
}

.page-item.disabled {
  cursor: not-allowed !important; /* 确保整个li元素也显示禁止标志 */
}

.page-item.disabled .page-link:hover {
  background-color: transparent;
  border-color: rgba(108, 117, 125, 0.2);
  color: #6c757d;
  cursor: not-allowed !important;
}

/* 强化禁用按钮样式 */
.page-item.disabled .page-link,
.page-link[aria-disabled="true"],
a.page-link[tabindex="-1"] {
  cursor: not-allowed !important;
  pointer-events: auto !important; /* 允许鼠标事件以显示禁止光标 */
}

/* 确保禁用状态下鼠标悬停时显示禁止光标 */
.page-item.disabled:hover,
.page-item.disabled .page-link:hover,
.page-link[aria-disabled="true"]:hover {
  cursor: not-allowed !important;
}

/* 分页显示控制 */
.blogger-card {
  display: none;
}

.blogger-card.show {
  display: flex;
}

/* 移除这些冲突的媒体查询规则，让JavaScript完全控制显示 */
/* 
@media (min-width: 992px) {
  .blogger-card:nth-child(-n+15) {
    display: flex;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .blogger-card:nth-child(-n+12) {
    display: flex;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .blogger-card:nth-child(-n+9) {
    display: flex;
  }
}

@media (max-width: 575px) {
  .blogger-card:nth-child(-n+14) {
    display: flex;
  }
}
*/


