.category-box {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  text-align: center;

  /* ✅ 保持正方形 */
  aspect-ratio: 1 / 1;
  height: auto !important;
}

.category-box:hover {
  cursor: pointer;
}

.category-box .elementor-heading-title {
  z-index: 2;
}

/* ✅ 背景遮罩效果 */
.category-box::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.45); /* 黑色半透明 */
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* ✅ 鼠标移入时背景变暗 */
.category-box:hover::after {
  opacity: 1;
}

/* ✅ 隐藏按钮初始状态 */
.button-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ✅ 鼠标移入时显示按钮 */
.category-box:hover .button-wrapper {
  opacity: 1;
}

/* ✅ 标题隐藏 */
.category-box .elementor-heading-title {
  transition: opacity 0.3s ease;
  z-index: 2;
  position: relative;
}

.category-box:hover .elementor-heading-title {
  opacity: 0;
}

.button-wrapper .elementor-button {
  min-width: 140px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  background-color: #3a3a3a;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.button-wrapper .elementor-button:hover {
  background-color: #222222;
  color: #ffffff;
}

.category-box:hover .elementor-heading-title {
  opacity: 0;
  transition: opacity 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

.clients-report img {
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 auto !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    box-shadow: none !important;
    display: block;
}
.clients-report .elementor-widget-image,
.clients-report .elementor-widget-container {
    background-color: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

a[href*="action=genpdf"] {
  display: none !important;
}



}/* ========== FAQ Accordion 样式美化（适用于 .faq-style）========== */
.faq-style {
  border: none;
  background-color: transparent;
}

/* 每项卡片样式 */
.faq-style .elementor-accordion-item {
  border: 1px solid #e4dfd9;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* 标题样式 */
.faq-style .elementor-tab-title {
  background-color: #fdfaf6;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  color: #333;
  transition: background-color 0.3s ease;
}

/* 激活标题颜色 */
.faq-style .elementor-tab-title.elementor-active {
  background-color: #f3ece3;
}

/* 内容区域 */
.faq-style .elementor-tab-content {
  background-color: #fffaf5;
  padding: 16px 20px;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

/* 图标样式 */
.faq-style .elementor-tab-title .elementor-accordion-icon {
  color: #B87A4B;
  font-size: 18px;
}
.faq-style .elementor-tab-title.elementor-active .elementor-accordion-icon {
  color: #8A6240;
}

.slide-image img {
  border-radius: 20px !important;
}

/* 让图片容器高度与右侧卡片一致 */
.slide-row {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

/* 右侧卡片样式 */
.slide-card {
  flex: 1;
  background-color: #f8f6f3;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 图片容器等高且圆角 */
.slide-image {
  flex: 1;
  overflow: hidden;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 图片本体适应容器 */
.slide-image img {
  height: 100%;
  width: auto;
  object-fit: cover;
  border-radius: 20px;
}

/* 初始状态：卡片不可见，右侧待机 */
.slide-card {
  opacity: 0;
  transform: translateX(60px);
  animation: slideInCard 0.8s ease-out 3s forwards; /* 延迟3秒 */
}

/* 卡片滑入动画 */
@keyframes slideInCard {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 通用文字渐显 */
.slide-card .fade-text {
  opacity: 0;
  animation: fadeInText 0.6s ease-in-out forwards;
}

/* 标题延迟4秒，正文延迟4.4秒 */
.slide-card .fade-title {
  animation-delay: 4s;
}

.slide-card .fade-body {
  animation-delay: 4.4s;
}

/* 渐显动画定义 */
@keyframes fadeInText {
  to {
    opacity: 1;
  }
}

.hover-card {
  background: #f7f5f2; /* 👉 默认背景色（可改成 #ffffff 或你想要的） */
  border-radius: 12px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: all 0.3s ease;
  padding: 20px;
  text-align: center;
}

.hover-card {
  background: #f6f6f6;
  border-radius: 12px;
  box-shadow: none;  /* 👉 移除默认状态的阴影 */
  transition: all 0.3s ease;
  padding: 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hover-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);  /* 👉 仅 hover 状态有阴影 */
  background: #f6f6f6;
  z-index: 2;
}

/* 图片 hover 放大效果 */
.hover-zoom img {
  transition: transform 0.4s ease;
}

.hover-zoom:hover img {
  transform: scale(1.08);
  z-index: 2;
}

.woocommerce-product-details__short-description {
    display: block;
    color: #444; /* 可自定义颜色 */
    font-size: 16px;
    margin-bottom: 20px;
}