/* ==========================================================
   龙驹私服网站头部 - 蓝色玄幻风格
   独立使用 .lj-header 前缀，不覆盖家族、文章、表单等页面样式
   ========================================================== */

.lj-header {
    width: 1000px;
    max-width: 100%;
    margin: 0 auto 5px;
    color: #24445f;
    font-family: "宋体", SimSun, Arial, sans-serif;
    font-size: 12px;
    box-sizing: border-box;
}

/* 顶部日期、节日、天气栏 */
.lj-header .lj-topbar {
    width: 100%;
    height: 29px;
    line-height: 28px;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid #d5e0e9;
    border-bottom: 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f0f4f8 100%);
    color: #526579;
}

.lj-header .lj-topbar-left {
    float: left;
    height: 27px;
    white-space: nowrap;
}

.lj-header .lj-topbar-time,
.lj-header .lj-topbar-holiday {
    display: inline-block;
    vertical-align: top;
    margin-right: 14px;
}

.lj-header .lj-topbar-holiday {
    color: #159447;
    font-weight: bold;
}

.lj-header .lj-topbar-weather {
    float: right;
    width: 540px;
    height: 22px;
    margin-top: 2px;
    overflow: hidden;
}

.lj-header .lj-topbar-weather iframe {
    display: block;
    width: 540px;
    height: 22px;
    border: 0;
}

/* LOGO 与横幅 */
.lj-header .lj-header-brand {
    width: 100%;
    height: 92px;
    overflow: hidden;
    padding: 1px 2px;
    box-sizing: border-box;
    border-left: 1px solid #d4e0eb;
    border-right: 1px solid #d4e0eb;
    background: #ffffff;
}

.lj-header .lj-header-logo {
    float: left;
    width: 256px;
    height: 90px;
    overflow: hidden;
}

.lj-header .lj-header-logo img {
    display: block;
    width: 256px;
    height: 90px;
    border: 0;
}

.lj-header .lj-header-banner {
    float: right;
    width: 728px;
    height: 90px;
    overflow: hidden;
}

.lj-header .lj-header-banner img {
    display: block;
    width: 728px;
    height: 90px;
    border: 0;
}

/* 蓝色渐变导航 */
.lj-header .lj-main-nav {
    width: 100%;
    height: 34px;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #075b9d;
    background: #087ac1;
    background: linear-gradient(to bottom, #20a4ed 0%, #087fc7 48%, #0564aa 100%);
    box-shadow: 0 2px 4px rgba(0, 65, 120, 0.22);
}

.lj-header .lj-topnav {
    width: 100%;
    height: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

.lj-header .lj-topnav li {
    float: left;
    height: 32px;
    line-height: 32px;
    margin: 0;
    padding: 0;
    border-right: 1px solid rgba(255,255,255,0.28);
    box-sizing: border-box;
    text-align: center;
}

.lj-header .lj-topnav li a {
    display: block;
    height: 32px;
    padding: 0 17px;
    color: #ffffff;
    font-family: "宋体", SimSun, sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 32px;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(0, 35, 80, 0.55);
    white-space: nowrap;
    transition: background-color .18s ease, color .18s ease;
}

.lj-header .lj-topnav li a:hover {
    color: #fff6c9;
    background: linear-gradient(to bottom, #0565a9, #034d89);
    text-decoration: none;
}

.lj-header .lj-topnav li.lj-nav-template a {
    padding: 0 10px;
}

.lj-header .lj-topnav li.lj-nav-template img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: middle;
}

.lj-header .lj-topnav li.lj-nav-service {
    float: right;
    padding: 0 14px;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    text-shadow: 0 1px 1px rgba(0, 35, 80, 0.55);
    white-space: nowrap;
    border-right: 0;
}

/* 小屏幕：优先保证页面不横向撑破 */
@media screen and (max-width: 1000px) {
    .lj-header {
        width: 100%;
    }

    .lj-header .lj-header-banner {
        width: calc(100% - 256px);
    }

    .lj-header .lj-header-banner img {
        max-width: 100%;
        object-fit: cover;
    }

    .lj-header .lj-topnav li a {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 13px;
    }

    .lj-header .lj-topnav li.lj-nav-service {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 12px;
    }
}

/* 修复头部右侧横幅不显示 */
.lj-header .lj-header-brand {
    position: relative !important;
    width: 100% !important;
    height: 92px !important;
    overflow: hidden !important;
}

.lj-header .lj-header-logo {
    position: absolute !important;
    left: 8px !important;
    top: 1px !important;
    float: none !important;
    width: 256px !important;
    height: 90px !important;
}

.lj-header .lj-header-banner {
    display: block !important;
    position: absolute !important;
    left: 274px !important;
    top: 1px !important;
    float: none !important;
    width: 728px !important;
    height: 90px !important;
    overflow: hidden !important;
}

.lj-header .lj-header-banner a {
    display: block !important;
    width: 728px !important;
    height: 90px !important;
}

.lj-header .lj-header-banner img {
    display: block !important;
    width: 728px !important;
    height: 90px !important;
    visibility: visible !important;
    opacity: 1 !important;
}
