/* === 恒动力品牌样式 === */

/* Hero 区字体优化 */
.uagb-block-hero-wrap h1 {
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* 产品卡片悬停效果 */
.wp-block-column.has-background {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.wp-block-column.has-background:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border-color: #4A90E2;
}

/* 数据数字动画效果 */
.wp-block-columns .wp-block-column p:first-child {
  font-weight: 700;
  line-height: 1;
}

/* 按钮圆角统一样式 */
a.wp-block-button__link {
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

a.wp-block-button__link:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* CTA 区域 */
.wp-block-cover .wp-block-cover__inner-container h2 {
  letter-spacing: 1px;
}

/* 响应式字体 */
@media (max-width: 768px) {
  .uagb-block-hero-wrap h1 {
    font-size: 32px !important;
  }
  .uagb-block-hero-wrap p {
    font-size: 16px !important;
  }
  h2 {
    font-size: 24px !important;
  }
  h3 {
    font-size: 18px !important;
  }
  p {
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  .uagb-block-hero-wrap h1 {
    font-size: 26px !important;
  }
}

/* 内联品牌色按钮加强 */
a.wp-block-button__link[style*="background-color:#4A90E2"]:hover {
  background-color: #3A7BC8 !important;
}

a.wp-block-button__link[style*="background-color:#F5A623"]:hover {
  background-color: #E0951A !important;
}

/* is-style-outline 白色描边按钮优化 */
.is-style-outline a.wp-block-button__link {
  transition: all 0.3s ease;
}

.is-style-outline a.wp-block-button__link:hover {
  background-color: #ffffff !important;
  color: #1E3A5F !important;
  border-color: #ffffff !important;
}

/* Footer widget 区域 */
.widget-title {
  margin-bottom: 16px;
  font-size: 18px !important;
}

/* === Header 美化 === */
.ast-primary-header-bar {
  background-color: #1E3A5F !important;
}

.ast-header-container .main-header-menu a {
  color: #ffffff !important;
}

.main-header-menu .current-menu-item a {
  color: #4A90E2 !important;
}

.main-header-menu a:hover {
  color: #F5A623 !important;
}

/* 去掉首页页边距 */
.home .site-content {
  margin-top: 0 !important;
}

.home .ast-article-single {
  padding: 0 !important;
}

/* 限制首页内容最大宽度 */
.home .entry-content {
  max-width: 100% !important;
}

/* 按钮颜色统一 */
.wp-block-button__link:hover {
  opacity: 0.9;
}

/* 产品中心页和子页面图片占位 */
.category-card img {
  border-radius: 8px;
  margin-bottom: 12px;
}

/* Site title 颜色 */
.ast-site-identity .site-title a {
  color: #ffffff !important;
}

/* Footer 样式增强 */
.site-footer {
  background-color: #1E3A5F !important;
  color: #ffffff !important;
}

.site-footer .widget-title {
  color: #F5A623 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  margin-bottom: 16px !important;
}

.site-footer a {
  color: rgba(255,255,255,0.8) !important;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: #F5A623 !important;
}

/* 版权区 */
.site-footer .ast-footer-copyright {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

.site-footer .ast-footer-copyright a {
  color: #4A90E2 !important;
}
