* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 2;
    background-color: #fff9ef;
}
a{text-decoration: none; color: #fe2726;}
p{ text-indent: 2em;}
.fl{ float: left;}  .fr{ float:right;}

.container1{ height:40vw; position: relative;}
.container2{ background: url('../images/bg2.png') no-repeat center #fff9ef; z-index: 9; position: relative;}
.page {
    max-width:62vw;
    margin:2vw auto 2vw;
    overflow: hidden;

}

.page1{
    max-width:62vw;
    margin:0 auto 0;
    overflow: hidden;

}
.sub-title {
    font-size:0.8vw;
    color: #fff;
    position: relative;
    margin-top: 36vw;
    z-index: 9;
}

.mountain-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.mountain-bg img{ width: 100%; height: 100%;}


.foot{ width: 100%; background: #a80201; color: #fff; overflow: hidden; text-align: center; padding: 1vw 0 1vw 0; margin-top: 2vw;  position: relative;}

/* 人物展示 */

 .tabs {
            display: flex;
            justify-content: center;
            margin-bottom: 3vw;

            border-radius: 0.8vw;
            padding:2vw  0.5vw;

        }


        
        .tab-input {
            display: none;
        }
        
        .tab-label {
            padding: 0.6vw 2vw;
            margin: 0 0.6vw;
            font-size: 1.2vw;
            font-weight: 600;
            color: #fff;
            background: #d0201e;
            border-radius: 0.3vw;
            cursor: pointer;
            transition: all 0.4s ease;
            box-shadow: 0 0.3vw 0.6vw rgba(0, 0, 0, 0.1);
            text-align: center;
            flex: 1;
            max-width: 10vw;
        }
        
        .tab-label:hover {
            background: linear-gradient(to right, #df171a, #ff7335);
            color: white;
            transform: translateY(-0.3vw);
        }
        
        /* 选中状态的样式 */
        #tab1:checked ~ .tabs .tab-label[for="tab1"],
        #tab2:checked ~ .tabs .tab-label[for="tab2"],
        #tab3:checked ~ .tabs .tab-label[for="tab3"],
        #tab4:checked ~ .tabs .tab-label[for="tab4"],
        #tab5:checked ~ .tabs .tab-label[for="tab5"] {
            background: linear-gradient(to right, #df171a, #ff7335);
            color: white;
            transform: translateY(-0.3vw);
        }
        
        .content {
            display: flex;
            justify-content: space-between;
            transition: all 0.5s ease;
        }

        
        .panel {
            display: none;
            width: 100%;
            animation: fadeIn 0.8s ease forwards;
        }
        
        /* 内容显示控制 */
        #tab1:checked ~ .content #content1,
        #tab2:checked ~ .content #content2,
        #tab3:checked ~ .content #content3,
        #tab4:checked ~ .content #content4,
        #tab5:checked ~ .content #content5 {
            display: flex;
            flex-wrap: wrap !important;
        }
        
        .card {
            background: white;
            border-radius: 0.4vw;
            overflow: hidden;
            width: 18.5vw;
            transition: all 0.4s ease;
            display: flex;
            flex-direction: column;
            margin: 1vw 1vw 0 1vw;
        }
        
        .card:hover {
            transform: translateY(-0.8vw);
            box-shadow: 0 1.5vw 3vw rgba(0, 0, 0, 0.2);
        }
        
        .card-img {
            height:13vw;
            overflow: hidden;
            position: relative;
        }
        
        .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .card:hover .card-img img {
            transform: scale(1.1);
        }
        
        .card-content {
            padding: 1.8vw;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .card h3 {
            font-size: 1.4vw;
            color: #2c3e50;
            margin-bottom: 0.8vw;
            text-align: center;
        }
        

        
        .card p {
            font-size:1vw;
            color: #7f8c8d;
            line-height: 2;
            margin-bottom: 1.5vw;
            flex: 1;
        }

        .card-content p a{ color: #ec321a; font-size: 0.8vw;}
        
       
        
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(2vw);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .container1{ height:60vw;}

            .container {
                width: 90vw;
            }
            
            .tab-label {
                font-size: 2.5vw;
                padding: 2vw 1vw;
            }
            
            .card {
                width: 28vw;
            }
            
            .card-img {
                height: 30vw;
            }
            
            .card h3 {
                font-size: 3vw;
            }
            
            .card .title {
                font-size: 2.5vw;
            }
            
            .card p {
                font-size: 2vw;
            }

        }

