body {
    background-color: #F2F2F2;
    margin: auto;
}

a {
    color: #333;
    text-decoration: none;
}

.site-topbar {
    width: 100%;
    height: 40px;
    background: #eee;
    line-height: 40px;
}

.site-topbar .container {
    display: flex;
    justify-content: flex-end;
    height: 100%;
    align-items: center;
}

.site-topbar a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
    vertical-align: middle;
}

.site-topbar a:hover {
    color: #dc1f01;
    font-weight: bold;
}

.site-topbar a img {
    vertical-align: middle;
    display: inline-block;
}

.site-topbar a .icon.default {
    display: inline-block;
}

.site-topbar a .icon.active {
    display: none;
}

.site-topbar a .link-text:hover~.icon.default {
    display: none;
}

.site-topbar a .link-text:hover~.icon.active {
    display: inline-block;
}

/* 二维码弹出层样式 */
.site-topbar a.weixin-subscribe,
.site-topbar a.weixin-enterprise {
    position: relative;
}

.site-topbar .qrcode-popup {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    /* background: white; */
    padding: 10px;
    z-index: 1000;
    margin-top: 8px;
    text-align: center;
}

.site-topbar .qrcode-popup img {
    width: 155px;
    height: 210px;
}

.site-topbar a.weixin-subscribe:hover .qrcode-popup,
.site-topbar a.weixin-enterprise:hover .qrcode-popup {
    display: block;
}

.site-header {
    width: 1200px;
    height: 140px;
    margin: 0 auto;
    background-image: url('../images/logo.png');
    background-repeat: no-repeat;
    background-color: #FFFFFF;
    background-position: left center;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0px 15px 0px 0px;
    box-sizing: border-box;
}

/* 搜索框样式 */
.search-form {
    display: flex;
    align-items: center;
    border: 1px solid #cccccc;
    padding: 2px;
    margin-top: 40px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: white;
    padding: 6px 10px;
}

.search-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    opacity: 0.6;
}

.search-input {
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    background: transparent;
    width: 200px;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background: #FF6600;
    border: none;
    color: white;
    font-weight: bold;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}


.site-nav {

    background-color: #CE0C0C;
    height: 55px;
}

.nav-item {
    width: 130px;
    display: inline-block;
    margin-right: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 55px;
    line-height: 55px;
    font-weight: bold;
    color: #FFFFFF;
}

.nav-link {
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
    height: 55px;
    line-height: 55px;
    padding: 0;
}

.nav-link:hover {
    color: #FFFFFF;
}

.nav-link:visited {
    color: #FFFFFF;
}

/* 下拉菜单悬停效果 */
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0;
    margin: 0;
    list-style: none;
    min-width: 150px;
    z-index: 1000;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-item.dropdown:hover .nav-link {
    color: #FFFFFF;
}

.nav-item.dropdown .dropdown-item {
    display: block;
    padding: 0px 15px;
    color: #333;
    text-decoration: none;
    font-weight: normal;
    font-size: 16px;
    text-align: center;
}

.nav-item.dropdown .dropdown-item:hover {
    background: #f5f5f5;
    color: #dc1f01;
}

.dropdown-toggle::after {
    display: none;
}


/* Footer styles */
.site-footer {
    background: #fff;
    border-top: 2px solid #c41e3a;
    margin-top: 0px !important;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-info {
    text-align: center;
    padding-top: 15px;
    /* border-top: 5px solid #0066cc; */
}

.footer-info p {
    color: #666;
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-icon {
    height: 20px;
    vertical-align: middle;
    margin-right: 5px;
}