/* 企业资料模板详情页样式 */
/* 作者：网站管理员 */
/* 最后更新：2023年 */

/* ========== 1. 基本样式 ========== */
/* 页面通用样式 */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: #333;
  background-color: #f8f9fa;
  line-height: 1.6;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

section {
  padding: 50px 0;
  width: 100%;
}

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

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background-color: #4285f4;
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 2px 5px rgba(66, 133, 244, 0.2);
}

.btn:hover {
  background-color: #3367d6;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(66, 133, 244, 0.3);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(66, 133, 244, 0.2);
}

.btn-info {
  background-color: #0097e6;
  box-shadow: 0 2px 5px rgba(0, 151, 230, 0.2);
}

.btn-info:hover {
  background-color: #0073b1;
  box-shadow: 0 5px 12px rgba(0, 151, 230, 0.3);
}

.btn-success {
  background-color: #00b894;
  box-shadow: 0 2px 5px rgba(0, 184, 148, 0.2);
}

.btn-success:hover {
  background-color: #00a189;
  box-shadow: 0 5px 12px rgba(0, 184, 148, 0.3);
}

/* 动画效果 */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes floatUp {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* ========== 2. Banner区域样式 ========== */
/* Banner背景 */
.word-banner {
  position: relative;
  background: linear-gradient(135deg, #0056b3, #004b9e);
  padding: 80px 0;
  overflow: hidden;
  color: #fff;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.word-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 86, 179, 0.4) 0%, rgba(0, 75, 158, 0.2) 100%);
  z-index: 1;
}

/* 粒子容器样式 */
#word-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

/* Banner内容 */
.word-banner .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.word-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease forwards;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.word-banner-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.word-banner-subtitle {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.6;
  margin: 0 auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  max-width: 700px;
}

/* 响应式调整 */
@media (max-width: 1199.98px) {
  .word-banner {
    padding: 70px 0;
  }
  
  .word-banner-title {
    font-size: 32px;
  }
}

@media (max-width: 991.98px) {
  .word-banner {
    padding: 60px 0;
  }
  
  .word-banner-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .word-banner {
    padding: 50px 0;
  }
  
  .word-banner-title {
    font-size: 28px;
  }
  
  .word-banner-subtitle {
    font-size: 15px;
    max-width: 500px;
  }
}

/* ========== 3. 面包屑导航 ========== */
.word-breadcrumb-wrapper {
  margin-bottom: 25px;
  background-color: #fff;
  border-radius: 6px;
  padding: 14px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-top: 15px; /* 从30px改为15px，与cy.css保持一致 */
  transition: all 0.3s ease;
}

.word-breadcrumb-wrapper:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.word-breadcrumb {
  font-size: 14px;
  color: #757575;
  display: flex;
  flex-wrap: wrap;
}

.word-breadcrumb a {
  color: #0077cc;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
}

.word-breadcrumb a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.separator {
  margin: 0 8px;
  color: #ccc;
}

/* 修复section的内边距问题 */
.word-list-section {
  padding-top: 0;
}

/* ========== 4. 文档详情区域 ========== */
.word-list-section {
  background-color: #f8f9fa;
  padding: 40px 0 70px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.word-detail {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 35px;
  width: 100%;
  transition: all 0.3s ease;
}

.word-detail:hover {
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.word-detail-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.word-detail-title {
  font-size: 30px;
  font-weight: 700;
  color: #333;
  margin: 0 0 15px;
  line-height: 1.4;
}

.word-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: #666;
}

.word-detail-meta-item {
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  padding: 6px 12px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.word-detail-meta-item:hover {
  background-color: #eef2f7;
}

.word-detail-meta-item i {
  margin-right: 8px;
  color: #0097e6;
  font-size: 16px;
}

/* 文档预览与打印选项 */
.word-detail-preview {
  margin-bottom: 30px;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #0097e6;
}

.word-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 0;
}

.export-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  transition: all 0.3s;
  cursor: pointer;
  font-weight: 500;
  border-radius: 4px;
}

.export-btn i {
  font-size: 16px;
}

/* 文档内容 */
.word-detail-content {
  margin-bottom: 35px;
  line-height: 1.8;
  color: #333;
  overflow-wrap: break-word;
  font-size: 16px;
}

.word-detail-content h1,
.word-detail-content h2,
.word-detail-content h3,
.word-detail-content h4,
.word-detail-content h5,
.word-detail-content h6 {
  margin-top: 1.8em;
  margin-bottom: 1em;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  position: relative;
}

.word-detail-content h1 {
  font-size: 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.word-detail-content h2 {
  font-size: 24px;
  padding-bottom: 8px;
}

.word-detail-content h2:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #0097e6;
  border-radius: 2px;
}

.word-detail-content h3 {
  font-size: 20px;
}

.word-detail-content h4 {
  font-size: 18px;
}

.word-detail-content h5 {
  font-size: 16px;
}

.word-detail-content h6 {
  font-size: 15px;
}

.word-detail-content p {
  margin: 0 0 1.2em;
}

.word-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: 1.8em auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.word-detail-content img:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.word-detail-content a {
  color: #0077cc;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px dotted #0077cc;
}

.word-detail-content a:hover {
  color: #0056b3;
  border-bottom: 1px solid #0056b3;
}

.word-detail-content blockquote {
  border-left: 4px solid #0097e6;
  padding: 15px 20px;
  background-color: #f8f9fa;
  margin: 20px 0;
  font-style: italic;
  color: #555;
  border-radius: 0 6px 6px 0;
}

.word-detail-content ul,
.word-detail-content ol {
  padding-left: 20px;
  margin: 20px 0;
}

.word-detail-content li {
  margin-bottom: 10px;
}

.word-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.word-detail-content table th,
.word-detail-content table td {
  padding: 14px 15px;
  border: 1px solid #e5e9f2;
}

.word-detail-content table th {
  background-color: #f1f5f9;
  font-weight: 600;
  color: #333;
  text-align: left;
}

.word-detail-content table tr:nth-child(even) {
  background-color: #f8fafc;
}

.word-detail-content table tr:hover {
  background-color: #f1f5f9;
}

/* 标签 */
.word-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.word-detail-tags-label {
  font-size: 14px;
  color: #555;
  font-weight: 600;
  margin-right: 5px;
}

.word-detail-tags a {
  display: inline-block;
  padding: 5px 14px;
  background-color: #f0f4fa;
  border-radius: 30px;
  font-size: 13px;
  color: #0077cc;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.word-detail-tags a:hover {
  background-color: #e1e8f5;
  color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

/* 上下篇导航 */
.word-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 35px;
  padding: 20px;
  border-radius: 8px;
  background-color: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.word-nav:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background-color: #f1f5f9;
}

.word-nav-item {
  flex: 1;
  max-width: 48%;
  background-color: #fff;
  padding: 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.word-nav-item:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.word-nav-item.prev {
  text-align: left;
  margin-right: 10px;
}

.word-nav-item.next {
  text-align: right;
  margin-left: 10px;
}

.word-nav-label {
  font-size: 14px;
  color: #0097e6;
  margin-bottom: 8px;
  display: block;
  font-weight: 500;
}

.word-nav-title {
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333;
  transition: all 0.3s ease;
}

.word-nav-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.word-nav-title a:hover {
  color: #0077cc;
}

/* 相关文档 */
.word-related {
  margin-top: 45px;
}

.word-related-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 2px solid #eee;
  position: relative;
}

.word-related-title:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: #0097e6;
}

.word-related-title i {
  margin-right: 10px;
  color: #0097e6;
}

.word-related-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.word-related-item {
  background-color: #fff;
  border-radius: 8px;
  transition: all 0.3s;
  padding: 18px;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.word-related-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
  border-color: #e1e8f5;
}

.word-related-item-title {
  margin-bottom: 12px;
}

.word-related-item-title a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.word-related-item-title a:hover {
  color: #0077cc;
}

.word-related-item-title i {
  color: #0097e6;
  font-size: 18px;
  margin-top: 2px;
  transition: all 0.3s ease;
}

.word-related-item:hover .word-related-item-title i {
  transform: scale(1.1);
}

.word-related-item-date {
  font-size: 13px;
  color: #888;
  margin-top: 8px;
  display: flex;
  align-items: center;
}

.word-related-item-date i {
  margin-right: 6px;
  color: #0097e6;
}

/* 复制全文按钮 */
.copy-content-btn {
  margin-bottom: 0;
  background-color: #00b894;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 184, 148, 0.2);
}

.copy-content-btn:hover {
  background-color: #00a189;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 184, 148, 0.3);
}

.copy-content-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 184, 148, 0.2);
}

.copy-content-btn i {
  font-size: 16px;
}

.copy-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #00b894;
  color: white;
  padding: 14px 24px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 184, 148, 0.3);
  z-index: 9999;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.copy-notification:before {
  content: "\f00c";
  font-family: FontAwesome;
  font-size: 16px;
}

.copy-notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 6. 响应式布局 ========== */
@media (max-width: 991px) {
  .word-banner-title {
    font-size: 32px;
  }
  
  .word-detail-title {
    font-size: 26px;
  }
  
  .word-detail {
    padding: 25px;
  }
  
  .word-related-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .word-detail-content h1 {
    font-size: 24px;
  }
  
  .word-detail-content h2 {
    font-size: 22px;
  }
  
  .word-detail-content {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .word-banner {
    padding: 60px 0;
  }
  
  .word-banner-title {
    font-size: 26px;
  }
  
  .word-banner-subtitle {
    font-size: 15px;
  }
  
  .word-detail-title {
    font-size: 22px;
  }
  
  .word-export-actions {
    flex-wrap: wrap;
  }
  
  .word-related-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .word-nav {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }
  
  .word-nav-item {
    max-width: 100%;
    margin: 0 0 10px 0 !important;
  }
  
  .word-detail-content h1 {
    font-size: 22px;
  }
  
  .word-detail-content h2 {
    font-size: 20px;
  }
  
  .word-detail-content {
    font-size: 14px;
  }
  
  .word-detail-meta {
    gap: 10px;
  }
  
  .word-detail-meta-item {
    padding: 5px 10px;
    font-size: 13px;
  }
  
  .word-detail {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .word-breadcrumb-wrapper {
    padding: 12px 15px;
    margin-bottom: 20px;
    margin-top: 10px; /* 从20px改为10px，与cy.css保持一致 */
  }
  
  .word-breadcrumb {
    font-size: 13px;
  }
}

/* ========== 7. 文档列表页样式 ========== */
/* 文档过滤区域 */
/* 筛选区域样式 - 现代风格 */
.word-filter {
  background-color: #fff;
  padding: 22px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 25px;
  width: 100%;
  border: 1px solid rgba(230, 235, 245, 0.8);
}

.filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.filter-title {
  font-size: 17px;
  color: #333;
  font-weight: 600;
  position: relative;
  padding-left: 15px;
  display: flex;
  align-items: center;
  margin: 0;
}

.filter-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: linear-gradient(to bottom, #0056b3, #2388ff);
  border-radius: 2px;
}

.filter-title i {
  margin-right: 8px;
  color: #0056b3;
}

#filterCategories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-category {
  display: inline-block;
  padding: 9px 18px;
  background-color: #f8fafd;
  border-radius: 10px;
  color: #555;
  font-size: 14px;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
  border: 1px solid #edf2f9;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.filter-category::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 86, 179, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.filter-category:hover {
  background-color: #f0f7ff;
  color: #0056b3;
  border-color: #c9e0ff;
  transform: translateY(-2px);
}

.filter-category:hover::before {
  opacity: 1;
}

.filter-category.active {
  background: linear-gradient(135deg, #0056b3, #2388ff);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 6px 15px rgba(0, 86, 179, 0.25);
  border-color: transparent;
  transform: translateY(-2px);
}

.filter-category.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  opacity: 0.3;
  z-index: 1;
}

.filter-category i {
  margin-right: 6px;
  font-size: 14px;
  position: relative;
  top: 1px;
  transition: all 0.3s ease;
}

.filter-category.active i {
  color: #fff;
  transform: scale(1.1);
}

/* 确保active类始终应用，即使在JS加载前 */
.filter-category.active {
  background: linear-gradient(135deg, #0056b3, #2388ff) !important;
  color: #fff !important;
  font-weight: 500 !important;
  box-shadow: 0 6px 15px rgba(0, 86, 179, 0.25) !important;
  border-color: transparent !important;
  transform: translateY(-2px) !important;
}

/* 文档列表项 */
.word-list {
  margin-bottom: 30px;
}

/* 列表视图 */
.word-list-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.word-list-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-left-color: #0097e6;
}

.word-item-icon {
  font-size: 30px;
  color: #0097e6;
  margin-right: 20px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f7ff;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.word-list-item:hover .word-item-icon {
  transform: scale(1.1);
  background-color: #e1f0ff;
}

.word-item-content {
  flex: 1;
  overflow: hidden;
}

.word-item-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.word-item-title a {
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.word-item-title a:hover {
  color: #0077cc;
}

.word-item-desc {
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.6;
  max-height: 45px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.word-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
  color: #888;
}

.word-item-date,
.word-item-views,
.word-item-category {
  display: flex;
  align-items: center;
}

.word-item-meta i {
  margin-right: 6px;
  color: #0097e6;
}

.word-item-action {
  margin-left: 15px;
}

.word-action-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #f0f7ff;
  color: #0097e6;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.word-action-btn:hover {
  background-color: #0097e6;
  color: #fff;
  transform: translateX(5px);
}

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

.page-info {
  margin-bottom: 15px;
  color: #666;
  font-size: 14px;
}

.page-info strong {
  color: #0097e6;
  font-weight: 600;
}

.page-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.page-links a,
.page-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
  line-height: 1;
  box-sizing: border-box;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
}

.page-links a.page-link {
  padding: 0 8px;
}

/* 当前页样式 */
.page-links span.current,
.page-links a.current {
  background: #0097e6;
  border-color: #0097e6;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 151, 230, 0.3);
}

/* 悬停效果 */
.page-links a:hover:not(.disabled) {
  background: #0097e6;
  border-color: #0097e6;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 151, 230, 0.2);
}

/* 禁用状态 */
.page-links a.disabled {
  background: #f8f9fa;
  border-color: #e9ecef;
  color: #adb5bd;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6;
}

/* 首页/末页按钮特殊样式 */
.page-links a[href*="page:index"],
.page-links a[href*="page:last"] {
  background: #f8f9fa;
  border-color: #dee2e6;
}

.page-links a[href*="page:index"]:hover:not(.disabled),
.page-links a[href*="page:last"]:hover:not(.disabled) {
  background: #0073b1;
  border-color: #0073b1;
}

/* 上一页/下一页按钮样式 */
.page-links a[href*="page:pre"],
.page-links a[href*="page:next"] {
  background: #fff;
  border-color: #0097e6;
  color: #0097e6;
  font-weight: 500;
}

.page-links a[href*="page:pre"]:hover:not(.disabled),
.page-links a[href*="page:next"]:hover:not(.disabled) {
  background: #0097e6;
  border-color: #0097e6;
  color: #fff;
}

/* 数字页码样式增强 */
.page-links a:not([href*="page:"]):not(.current) {
  transition: all 0.2s ease;
}

.page-links a:not([href*="page:"]):not(.current):hover {
  background: linear-gradient(135deg, #0097e6, #0073b1);
  border-color: #0097e6;
  color: #fff;
  transform: scale(1.05);
}

/* 活跃状态动画 */
.page-links span.current::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.no-data {
  padding: 40px 20px;
  text-align: center;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #666;
  font-size: 15px;
}

.no-data i {
  font-size: 18px;
  color: #ff9800;
  margin-right: 8px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .word-list-item {
    padding: 15px;
  }
  
  .word-item-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    margin-right: 15px;
  }
  
  .word-item-title {
    font-size: 16px;
  }
  
  .word-filter {
    padding: 18px 20px;
  }
  
  #filterCategories {
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }
  
  #filterCategories::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
  }
  
  .filter-category {
    padding: 8px 15px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .word-pagination {
    margin-top: 30px;
    padding: 15px 0;
  }
  
  .page-info {
    font-size: 13px;
    margin-bottom: 12px;
  }
  
  .page-links {
    gap: 4px;
  }
  
  .page-links a,
  .page-links span {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
  }
} 