/* 关键CSS：防FOUC样式 - Critical CSS */
/* 用于防止Flash of Unstyled Content */

/* 基础重置 */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* 关键结构样式 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.top-menu-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  min-height: 60px;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 1000;
}

.logo-section {
  flex-shrink: 0;
}

.logo-section img {
  max-height: 45px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.right-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-center {
  display: flex;
  align-items: center;
}

.menu-center ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.menu-center a {
  text-decoration: none;
  color: #333;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.search-section {
  position: relative;
}

.search-section form {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 20px;
  padding: 5px;
  min-width: 200px;
}

.search-section input {
  border: none;
  background: transparent;
  padding: 8px 12px;
  outline: none;
  flex: 1;
  font-size: 14px;
}

.search-section button {
  background: #007cba;
  color: white;
  border: none;
  border-radius: 15px;
  padding: 8px 15px;
  cursor: pointer;
  font-size: 12px;
}

.content {
  min-height: 200px;
  position: relative;
  padding: 20px 0;
}

.part {
  min-height: 100px;
}

img {
  height: auto;
  max-width: 100%;
  display: block;
}

i, .fa {
  width: 1em;
  height: 1em;
  display: inline-block;
}

/* 移动端 */
@media (max-width: 768px) {
  .top-menu-box {
    flex-direction: column;
    gap: 10px;
  }
  
  .right-section {
    width: 100%;
    justify-content: space-between;
  }
  
  .menu-center {
    display: none;
  }
}

