
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", Arial, sans-serif;
}

a {
    text-decoration: none;
    color: #333;
}

ul, li {
    list-style: none;
}

button, input {
    border: none;
    outline: none;
}


.top-nav {
    width: 100%;
    height: 50px;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    line-height: 50px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
}

.top-nav-left a {
    display: inline-block;
    color: #ccc;
    margin-right: 40px;
}

.top-nav-left a:hover {
    color: #fff;
}

.top-nav-right {
    display: flex;
    align-items: center;
}

.top-nav-right .location {
    color: #ccc;
}

.top-nav .top-nav-right a{
    margin-right: 35px;
}

.top-nav .top-nav-right a:hover{
    background-color: #ff4400;
    color: #fff;
    padding: 0 10px;
    border-radius: 2px;
    cursor: pointer;
}

.top-nav .top-nav-right a:hover span{
    color: #fff;
}

.top-nav a:hover{
    background-color: #ff4400;
    color: #fff;
    padding: 0 10px;
    border-radius: 2px;
    cursor: pointer;
}

.top-nav-right .icon {
    color: #ccc;
    cursor: pointer;
}

.login-btn {
    display: inline-block;
    background-color: #ff4400;
    color: #fff;
    padding: 0 10px;
    border-radius: 2px;
    cursor: pointer;
}


.header-banner {
    width: 100%;
    height: 400px;
    background: url("../images/taobg.jpg") no-repeat bottom center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 48px;
    color: #fff;
    font-weight: bold;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -80%);
}

.logo a{
    display: inline-block;
}

.search-box {
    width: 1200px;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 20%);
}

.search-box span p{
    color: #fff;
}

.search-input {
    flex: 1;
    height: 100%;
    font-size: 14px;
}

.search-btn {
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    text-indent: 2em;
    line-height: 30px;
}

.nav-tabs {
    width: 100%;
    height: 50px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.nav-tabs li {
    margin-right: 25px;
    font-size: 16px;
    cursor: pointer;
}

.nav-tabs li.active {
    color: #ff4400;
    font-weight: bold;
}

.nav-tabs li.more {
    color: #999;
    margin-left: auto;
}


.main-container {
    width: 1200px;
    margin: 150px auto;
    display: flex;
    padding: 20px 0;
}


.content-left {
    flex: 7;
    padding-right: 20px;
}


.news-brief {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.news-brief .title {
    font-size: 16px;
    color: #ff4400;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.news-brief .title span {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
}

.news-brief ul li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.news-brief ul li a:hover {
    color: #ff4400;
    text-decoration: underline;
}


.news-list {

    flex-wrap: wrap;
    justify-content: space-between;
}

.news-item {
    width: 25%;
    margin-bottom: 20px;
}

.news-item .img-box {
    width: 100%;
    height: 280px;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 20px;
}

.news-item .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-item .img-box img:hover {
    transform: scale(1.05);
}

.news-item .news-title {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-item .news-title:hover {
    color: #ff4400;
}

.news-item .news-info {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
}

.news-item .news-info span {
    margin-right: 10px;
}


.content-right {
    flex: 3;
}


.login-tip {
    background-color: #e6e6e6;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.login-tip p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.login-tip .login-now {
    background-color: #ff4400;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}


.safety-class {
    margin-bottom: 20px;
}

.safety-class .title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.safety-class .img-group {
    display: flex;
    justify-content: space-between;
}

.safety-class .img-group img {
    width: 48%;
    border-radius: 5px;
}

/* 头条热榜 */
.hot-rank {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
}

.hot-rank .title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hot-rank .title .change {
    font-size: 12px;
    color: #999;
    cursor: pointer;
}

.hot-rank ul li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.hot-rank ul li .rank-num {
    width: 20px;
    height: 20px;
    background-color: #ff4400;
    color: #fff;
    text-align: center;
    line-height: 20px;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 10px;
}

.hot-rank ul li:nth-child(n+4) .rank-num {
    background-color: #999;
}

.hot-rank ul li .rank-title {
    font-size: 14px;
    flex: 1;
}

.hot-rank ul li .rank-title:hover {
    color: #ff4400;
}


.footer2 {
    width: 100%;
    height: 60px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    text-align: center;
    line-height: 60px;
    font-size: 12px;
    color: #999;
}


.float-btn {
    position: fixed;
    right: 20px;
    bottom: 50px;
    display: flex;
    flex-direction: column;
}

.float-btn .btn {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
}

.float-btn .btn:hover {
    background-color: #ff4400;
    color: #fff;
    border-color: #ff4400;
}


@media (max-width: 1200px) {
    .main-container {
        width: 95%;
    }
}

@media (max-width: 1300px) {
    .top-nav{
        font-size: 12px;
    }
}

@media (max-width: 1020px) {
    .top-nav{
        font-size: 10px;
    }
}

.container{
    max-width: 1200px;
    margin: 0 auto;

    
}

.hero{
    height: 100%;
    padding: 50px;
    background-color: #f8f8f8;
    background-image: url(../images/xybg.png);
}

.titleh1 {
    background: url(../images/lititle.png);
    background-size: cover;
    height: 120px;
}