/* 公共样式：头尾 + 通用布局（与 main.css 互补，不冲突） */

/* IE 兼容：v-cloak 防止 Vue 编译前闪烁 */
[v-cloak] { display: none; }

* { box-sizing: border-box; }
body { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { border: 0; vertical-align: middle; }

/* 通用容器 */
.container {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* Header */
.header-top {
    padding: 20px 0;
    background: #fff;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.logo-container {
    flex: 1 1 0%;
    display: flex;
    align-items: center;
    min-width: 0;
}

.logo-text {
    flex: 0 0 auto;
    margin: 0 20px;
    text-align: center;
}

.header-search {
    flex: 1 1 0%;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.logo-title {
    font-size: 40px;
    font-weight: bold;
    color: #333;
}

.logo-sub {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #005bac;
    border-radius: 4px;
    overflow: hidden;
}

.search-input {
    padding: 8px 12px;
    border: none;
    outline: none;
    width: 300px;
}

.search-btn {
    background: #005bac;
    color: #fff;
    padding: 8px 20px;
    cursor: pointer;
}

/* Nav */
.nav-bar {
    background: #005bac;
    color: #fff;
}

.nav-bar .container {
    display: flex;
}

.nav-item {
    padding: 20px 25px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 18px;
    display: inline-block;
    white-space: nowrap;
    color: #fff;
}

.nav-bar .nav-item {
    flex: 1;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
}

.nav-item:hover, .nav-item.active {
    background: #0072e3;
    color: #fff;
}

/* Footer */
.footer {
    background: #333;
    color: #ccc;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}


