/* Logo Text Style - 将logo图片替换为文本 */

/* 基础logo样式 */
.logo {
  display: block;
  margin: 0 auto;
  width: auto !important;
  height: 67px;
  font-size: 32px;
  font-weight: bold;
  color: #000 !important;
  text-decoration: none;
  line-height: 67px;
  padding: 0 20px;
  transition: all 0.3s ease;
  background: none !important;
}

.logo:hover {
  color: #ff6b00 !important;
}

/* header-wrapper中的logo */
.header-wrapper .logo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) !important;
  width: auto !important;
  height: auto !important;
  font-size: 28px;
  line-height: 1;
  padding: 0 15px;
  background: none !important;
}

/* 移动端适配 - 平板和手机 */
@media (max-width: 1024px) {
  .logo {
    width: auto !important;
    height: 42px;
    margin: 0 auto;
    position: relative;
    top: 8px;
    float: none;
    font-size: 24px;
    line-height: 42px;
    padding: 0 15px;
  }
  
  .header-wrapper .logo {
    width: auto !important;
    height: 42px;
    position: relative;
    transform: none !important;
    top: 4px;
    font-size: 24px;
    line-height: 42px;
    padding: 0 15px;
    margin: 0 auto;
  }
}

/* 小屏幕手机适配 */
@media (max-width: 768px) {
  .logo {
    font-size: 20px;
    padding: 0 10px;
  }
  
  .header-wrapper .logo {
    font-size: 20px;
    padding: 0 10px;
  }
}

/* 移除任何logo的before伪元素（如果有的话） */
header .logo:before {
  display: none !important;
}

/* headershow状态下的logo */
.public-header.headershow .logo {
  font-size: 0.8em;
  transition: all .1s ease;
}

