/* 自定义SEO优化CSS类 - 替代内联样式 */

/* ==================== 搜索框样式优化 ==================== */
/* 搜索框背景色和边框 */
.search_inner {
  background-color: #f5f5f5 !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 20px !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* 搜索输入框 */
.search_input {
  background-color: #ffffff !important;
  color: #333333 !important;
  border: none !important;
  font-size: 14px !important;
}

.search_input::placeholder {
  color: #999999 !important;
}

/* 搜索按钮 */
.search_btn {
  background-color: #667eea !important;
  color: #ffffff !important;
  border: none !important;
}

.search_btn:hover {
  background-color: #764ba2 !important;
  color: #ffffff !important;
}

/* 搜索按钮内部文字 */
.btn_inner {
  color: #ffffff !important;
}

/* 热搜图标 */
.icon_search_hot_sm {
  opacity: 0.8 !important;
}

/* ==================== Logo艺术字样式 ==================== */
.site_logo {
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.site_logo_text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.logo_main {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 2px;
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  position: relative;
}

.logo_main::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
  border-radius: 2px;
}

.logo_sub {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  margin-top: 2px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* 移动端logo样式调整 */
@media (max-width: 767px) {
  .logo_main {
    font-size: 22px;
    letter-spacing: 1px;
  }

  .logo_sub {
    font-size: 12px;
    letter-spacing: 2px;
  }
}

/* Logo悬停效果 */
.site_logo:hover .logo_main {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 50%, #f093fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site_logo:hover .logo_sub {
  color: #667eea;
}

/* ==================== SEO优化相关样式 ==================== */

/* 隐藏元素（用于SEO） */
.seo-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* 无padding的列表项 */
.no-padding {
  padding: 0 !important;
}

/* 背景图片样式 */
.bg-cover-center {
  background: no-repeat 50% 50%;
  background-size: cover;
}

/* 宽度自适应按钮 */
.btn-width-auto {
  background: #fff;
  width: auto;
}

/* 隐藏元素（用于功能性隐藏） */
.display-none {
  display: none;
}

/* padding-top 50% */
.padding-top-50 {
  padding-top: 50%;
}

/* swiper slide padding 0 */
.swiper-slide-no-padding {
  padding: 0 !important;
}

/* ==================== 移除幻灯片后的首页布局调整 ==================== */
.macplus-index .macplus-top-20 {
  margin-top: 0 !important;
}

.macplus-index .macplus-pannel:first-child {
  margin-top: 20px;
}

/* 确保移除幻灯片后，主页筛选区域正常显示 */
.macplus-index__screen {
  background-color: #f9f9f9;
  border-radius: 4px;
  padding: 15px 0;
}

/* 调整container的padding，避免页面看起来太空 */
.macplus-index > .container {
  padding-top: 20px;
}

/* 移动端适配 */
@media (max-width: 767px) {
  .macplus-index > .container {
    padding-top: 10px;
  }

  .macplus-index__screen {
    padding: 10px 0;
  }
}
