.banner{background: url("https://img.asiancancer.com/images/newmalai/contact.png") center no-repeat;height: 300px; }
.banner .img{text-align: center;}
.banner .banner-text{padding-top:60px;}
.banner .banner-text .title{font-size: 52px;color: #ffffff;display: grid;}
.banner .banner-text .first{border-bottom: 2px solid #13BFB1;width: 360px;}
.banner .banner-text .second{font-size: 35px;}

.head-bg{background: #ffffff;}
.head-title .in_title{font-size: 36px;font-weight: bold;text-align: center;}
.head-title .sec{margin: 30px auto;display: flex;justify-content: center;}
.head-title .sec ul li{float: left;text-align: center;}
.head-title .sec ul li a{margin: 0 5px;border:1px solid #363636;padding: 3px 25px;border-radius: 16px;}
.head-title .sec ul li .active{background: #1e5484;color:#ffffff;border: 1px solid #1e5484;}

        .container {
            display: flex;
            flex-direction: column;
            max-width: 1200px;
            margin: 0 auto;
            padding: 10px;
        }
        
        .sidebar {
            width: 100%;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 15px 0;
            margin-right: 0;
            margin-bottom: 15px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
        
        .sidebar-inner {
            display: flex;
            min-width: fit-content;
        }
        
        .sidebar-title {
            font-size: 18px;
            font-weight: bold;
            color: #1a5276;
            padding: 0 15px 10px;
            border-bottom: 1px solid #eee;
            margin-bottom: 10px;
            white-space: nowrap;
        }
        
        .menu-item {
            padding: 10px 15px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 15px;
            border-bottom: 3px solid transparent;
            white-space: nowrap;
        }
        
        .menu-item:hover {
            background-color: #f0f8ff;
            color: #1a5276;
        }
        
        .menu-item.active {
            background-color: #e6f2ff;
            color: #1a5276;
            font-weight: bold;
        }
        
        .content {
            flex: 1;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }
        
        .main-image-container {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 60%; /* 调整图片显示比例 */
            overflow: hidden;
        }
        
        .main-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: opacity 0.3s;
        }
        
        .thumbnail-container {
            display: flex;
            padding: 10px;
            background: #f9f9f9;
            overflow-x: auto;
            gap: 8px;
            -webkit-overflow-scrolling: touch;
        }
        
        .thumbnail {
            width: 70px;
            height: 50px;
            object-fit: cover;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.3s;
            border-radius: 4px;
            flex-shrink: 0;
        }
        
        .thumbnail:hover {
            border-color: #1a5276;
            transform: scale(1.05);
        }
        
        .thumbnail.active {
            border-color: #1a5276;
            box-shadow: 0 0 8px rgba(26, 82, 118, 0.5);
        }
        
        .content-text {
            padding: 15px;
        }
        
        .content-title {
            font-size: 20px;
            color: #1a5276;
            margin-bottom: 10px;
            padding-bottom: 8px;
            border-bottom: 1px solid #eee;
        }
        
        .english-title {
            font-size: 15px;
            color: #7f8c8d;
            margin-bottom: 15px;
            font-weight: normal;
        }
        
        .content-desc {
            font-size: 15px;
            line-height: 1.7;
            color: #555;
        }
        
        /* PC端样式 */
        @media (min-width: 768px) {
            .container {
                flex-direction: row;
                padding: 20px;
            }
            
            .sidebar {
                width: 250px;
                margin-right: 20px;
                margin-bottom: 0;
                padding: 20px 0;
                overflow-x: visible;
            }
            
            .sidebar-inner {
                display: block;
            }
            
            .sidebar-title {
                padding: 0 20px 15px;
                margin-bottom: 15px;
                white-space: normal;
            }
            
            .menu-item {
                padding: 12px 20px;
                border-bottom: none;
                margin: 5px 0;
                border-left: 4px solid transparent;
                white-space: normal;
                background: #E6E6E6;
                border-radius: 4px;
            }
            
            .menu-item.active {
                background: #1E5484;
                color: #ffffff;
            }
            
            .main-image-container {
                height: 350px;
                padding-bottom: 0;
            }
            
            .thumbnail {
                width: 80px;
                height: 60px;
            }
            
            .content-text {
                padding: 25px;
            }
            
            .content-title {
                font-size: 24px;
            }
            
            .english-title {
                font-size: 18px;
            }
            
            .content-desc {
                font-size: 16px;
            }
        }
        
@media screen and (max-width:768px) {
    .sidebar-inner{display:block;}
    .head-title .sec{width: 100%;white-space: nowrap;position: relative;display: block;overflow-y: hidden;overflow-x: auto;padding:20px 0;margin: 0 auto;
        box-shadow: 0 16px 5px -12px rgb(0 0 0 / 5%), 0 4px 15px 0 rgb(0 0 0 / 5%), 0 8px 10px -5px rgb(0 0 0 / 5%);
    }
    .head-title .sec ul li{float: none;display: inline-block;border: 0px;padding: 5px;}
    div::-webkit-scrollbar{
        display:none
    }
}        