.right-content {
    width: 900px;
}

.department-info {
    display: flex;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.department-info img {
    width: 400px;
    height: 280px;
    object-fit: cover;
}

.department-info>div {
    flex: 1;
    padding: 20px;
}

.department-info .department-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--mainColor);
    margin-bottom: 20px;
}

.department-desc {
    line-height: 1.8;
    color: #333;
}

.department-desc p {
    text-indent: 2em;
    margin-bottom: 15px;
}

/* 专家轮播 */
.expert-section {
    margin: 30px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding-bottom: 20px;
}

.expert-section-title {
    font-size: 20px;
    color: var(--mainColor);
    padding: 20px;
    margin-bottom: 0;
}

.expert-carousel {
    position: relative;
    padding: 0 40px;
    overflow: hidden;
}

.expert-inner {
    overflow: hidden;
}

.expert-list {
    display: flex;
    gap: 20px;
    width: max-content;
}

.expert-item {
    flex: 0 0 263px;
    width: 263px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--mainColor);
    transition: all 0.3s ease;
}

.expert-item>div {
    width: calc(100% - 110px);
}

.expert-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.expert-item img {
    width: 90px;
    height: 130px;
    object-fit: cover;
}

.expert-item>div {
    flex: 1;
}

.expert-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--mainColor);
    margin-bottom: 10px;
}

.expert-position {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.expert-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.expert-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}


.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    cursor: pointer;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow img {
    height: 50px;
    object-fit: contain;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* 出诊表 */
.schedule-section {
    margin: 30px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.schedule-title {
    font-size: 20px;
    color: var(--mainColor);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--mainColor);
}

.schedule-wrapper {
    max-height: 300px;
    overflow: auto;
    position: relative;
    border: 1px solid var(--mainColorBorder);
}

.schedule-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.schedule-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    background: var(--mainColor);
}

.schedule-body {
    display: flex;
    flex-direction: column;
}

.grid-row {
    display: flex;
}

.grid-cell {
    flex: 1;
    min-width: calc(100% / 8);
    /* 8列等宽 */
    padding: 10px;
    text-align: center;
    border: 1px solid var(--mainColorBorder);
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-header .grid-cell {
    background: var(--mainColor);
    color: #fff;
    font-weight: normal;
    padding: 12px;
}

.grid-row .grid-cell:first-child {
    position: sticky;
    left: 0;
    background: #fff;
    color: var(--mainColor);
    font-weight: 500;
    z-index: 1;
}

.schedule-header .grid-cell:first-child {
    z-index: 3;
}

.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.schedule-table thead {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
}

/* 设置滚动条样式 */
.schedule-wrapper::-webkit-scrollbar {
    width: 8px;
}

.schedule-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.schedule-wrapper::-webkit-scrollbar-thumb {
    background: var(--mainColor);
    border-radius: 4px;
}

.schedule-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--mainColor);
    opacity: 0.8;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}


.schedule-table th,
.schedule-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid var(--mainColorBorder);
}

.schedule-table th {
    background: var(--mainColor);
    color: #fff;
    font-weight: normal;
    padding: 12px;
}

.schedule-table tr:nth-child(even) {
    /* background: #f9f9f9; */
}

.schedule-table td:first-child {
    color: var(--mainColor);
    font-weight: 500;
}