* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}
a {
    text-decoration: none;
    color: #333;
}
ul {
    list-style: none;
}
.container {
    width: 1200px;
    margin: 0 auto;
}
.header-wrap {
    background: #fff;
    border-bottom: 3px solid #c81623;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}
.logo {
    display: flex;
    align-items: center;
    gap:12px;
}
.logo img {
    height: 50px;
}
.logo h1 {
    font-size: 24px;
    color: #c81623;
}
/* 汉堡按钮 */
.menu-toggle {
    display: none;
    width:32px;
    height:24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}
.menu-toggle span {
    width:100%;
    height:3px;
    background-color:#333;
    border-radius:2px;
}

.main-nav ul {
    display: flex;
    gap: 36px;
}
.main-nav a {
    font-size:16px;
    padding: 8px 0;
}
.main-nav a.active,
.main-nav a:hover {
    color: #c81623;
    border-bottom: 2px solid #c81623;
}
.banner {
    height: 420px;
    width:100%;
    overflow: hidden;
    background: #000;
}
.banner-inner {
    position: relative;
    width:100%;
    height:100%;
}
.banner-item {
    position: absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    opacity:0;
    transition: opacity 0.6s;
}
.banner-item.active {
    opacity:1;
}
.banner-item img {
    width:100%;
    height:100%;
    object-fit: cover;
}
.banner-dots {
    position:absolute;
    bottom:20px;
    left:50%;
    transform: translateX(-50%);
    display:flex;
    gap:10px;
}
.dot {
    width:14px;
    height:14px;
    border-radius:50%;
    background:rgba(255,255,255,0.5);
    cursor:pointer;
}
.dot.active {
    background:#fff;
}
.main {
    padding:30px 0;
}
.row {
    display:flex;
    gap:24px;
}
.col-left {
    width:72%;
}
.col-right {
    width:28%;
}
.box {
    background:#fff;
    border:1px solid #eee;
    padding:20px;
    margin-bottom:20px;
}
.box-title {
    display:flex;
    justify-content: space-between;
    border-bottom:2px solid #c81623;
    padding-bottom:8px;
    margin-bottom:16px;
}
.box-title h2 {
    font-size:18px;
    color:#222;
}
.box-title a {
    font-size:14px;
    color:#666;
}
.box-content p {
    line-height:1.8;
    color:#444;
    margin-bottom:10px;
}
.list-item li {
    line-height:2;
    font-size:15px;
    color:#444;
}
.news-list li {
    line-height:2;
    display:flex;
    justify-content: space-between;
    border-bottom:1px dotted #eee;
}
.news-list a {
    font-size:14px;
}
.news-list span {
    color:#999;
    font-size:13px;
}
.contact-info p {
    line-height:2;
    font-size:15px;
}
.footer {
    background:#222;
    color:#aaa;
    text-align:center;
    padding:30px 0;
    margin-top:20px;
}
.footer p {
    line-height:1.8;
    font-size:14px;
}

/* ==========手机端适配 小于768px========== */
@media(max-width:768px){
    .container { width:96%; }
    .row { flex-direction:column; }
    .col-left,.col-right { width:100%; }

    /* 显示汉堡按钮，隐藏原始横向导航 */
    .menu-toggle{
        display:flex;
    }
    .main-nav{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#fff;
        border-bottom:3px solid #c81623;
        display:none;
        z-index:999;
    }
    .main-nav.show{
        display:block;
    }
    .main-nav ul{
        flex-direction:column;
        gap:0;
    }
    .main-nav li{
        border-bottom:1px solid #eee;
    }
    .main-nav a{
        display:block;
        padding:12px 20px;
    }
    .main-nav a.active, .main-nav a:hover{
        border-bottom:none;
        background:#f7f7f7;
    }

    /* banner手机端高度降低 */
    .banner{
        height:220px;
    }
    .logo h1{
        font-size:18px;
    }
    .logo img{
        height:40px;
    }
}
