/* 侧边栏样式 - 调整定位和层级 */
.sidebar {
    width: 200px;
    position: absolute;
    top: 110px; /* 调整顶部距离，避免遮挡导航 */
    left: 230px;
    z-index: 10; /* 确保侧边栏层级低于轮播图 */
}
.sidebar .title {
    background-color: #00b46e;
    color: #fff;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
}
.sidebar ul {
    list-style: none; 
    background-color: #e9ecef;
    min-height: 400px;
}
.sidebar ul li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #ddd;
}
.sidebar ul li a:hover {
    background-color: #d6d8db;
}

/* 轮播图容器 - 居中并控制层级 */
.banner {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5; /* 确保轮播图层级高于侧边栏 */
}
.swiper-container {
    width: 100%;
    height: 500px;
    overflow: hidden; /* 隐藏超出容器的内容 */
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例，避免变形 */
}

/* 名医推荐样式 */
.doctor-section {
    margin-top: 20px;
}
.doctor-section .title {
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.doctor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.doctor-item {
    text-align: center;
}
.doctor-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 5px;
}