.card-3 a {
  text-align:center;
}


.pagination {
    text-align: center;
    justify-content: center;
    /* 居中 */
    margin: 40px 0;
}

.screen-reader-text {
    display: none;
}

.pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    margin: 0 6px;
}

.pagination a.page-numbers,
.pagination span.page-numbers.current {
    display: inline-block;
    padding: 8px 14px;
    min-width: 40px;
    text-align: center;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a.page-numbers {
    background-color: #111520;
    color: #ffffff;
}

.pagination a.page-numbers:hover {
    background-color: #6aa6ff;
    color: #fff;
}

.pagination span.page-numbers.current {
    background-color: #6aa6ff;
    color: #fff;
    font-weight: 700;
}

.category-title {
    display: inline-block !important;
    max-width: 200px;
    /* 你可以调整为合适的宽度 */
    white-space: nowrap;
    /* 不换行 */
    overflow: hidden;
    /* 超出隐藏 */
    text-overflow: ellipsis;
    /* 超出显示省略号 */
    vertical-align: middle;
}

.breadcrumb {
    font-size: 16px;
    margin: 10px 0 20px;
    color: #ffffff;

    text-decoration: underline;
    font-weight: bold;
}

.breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.page-content {
    margin-left: 5vw !important;
    margin-right: 4.5vw!important;
}

.inner-banner {
    margin: 15px 0;
    background: blueviolet;
}
/* 滑动到最上面样式 */
.page-actions {
  position: fixed;
  z-index: 1000;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom) + 8px); /* 适配 iPhone 底部 */
  display: flex;
  flex-direction: column;
  gap: 12px; /* 按钮间距 */
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* 容器显示时 */
.page-actions.show {
  opacity: 1;
}

.action-btn {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.action-btn:hover {
  background-color: rgba(0, 0, 0, 0.95);
  transform: scale(1.1);
}

/* 移动端优化：稍大一点 */
@media (max-width: 768px) {
  .page-actions {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom) + 6px);
    gap: 10px;
  }

  .action-btn {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }
}

/* 桌面端：可增大或调整 */
@media (min-width: 769px) {
  .page-actions {
    right: 20px;
    bottom: 20px;
    gap: 16px;
  }

  .action-btn {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
}

/* 改变图片颜色 */
/* 全部变黑白 */
/* .popular-wrapper img {
  filter: grayscale(100%); 
} */
/* 循环变色 */
/* .popular-wrapper img {
  animation: hueShift 6s infinite linear;
}

@keyframes hueShift {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(360deg);
  }
} */
