﻿@charset "utf-8";
.title-bg,.content-title{display:none;}


/* 外层容器 */
.middle {
    width: 100%;
    height: auto;
    padding-bottom: 10px;
    overflow: hidden;
}

/* 主体内容 */
.mid-main {
    padding: 80px 0 40px;
    overflow: hidden;
}
.mid-title {
    font-size: 36px;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mid-title img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 12px;
}

/* 排班表格 */
.schedule-table {
    width: 802px;
    border-collapse: collapse;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
}
.schedule-table th,
.schedule-table td {
    border: 2px solid #fff;
    padding: 16px 20px;
    text-align: center;
    font-size: 16px;
}
.schedule-table th {
    background: #E9FAF5;
    color: #08AB79;
    font-weight: normal;
}
.schedule-table td {
    background: rgba(233, 250, 245, 0.4);
    color: #1E3A5F;
}

/* 医生卡片 */
.doctor-wrap {
    overflow: hidden;
    padding-top: 88px;
  display:flex; flex-wrap:wrap;
}
.doctor-item {
    width: 31.333%;
    height: auto;
    float: left;
    margin-right: 3%;
    margin-bottom: 80px;
    background: #fff;
    border: 1px solid #EEEEEE;
    border-radius: 12px;
    padding: 30px 25px 25px;
    position: relative;
    box-sizing: border-box;
}
.doctor-item:nth-child(3n) {
    margin-right: 0;
}
.doc-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    position: absolute;
    top: -60px;
    right: 15px;
    overflow: hidden;
}
.doc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.doc-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #1E3A5F;
}
.doc-title {
    display: inline-block;
    background: rgba(181, 238, 220, 0.3);
    color: #08AB79;
    padding: 8px 11px;
    font-size: 13px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.doc-desc {
    font-size: 14px;
    color: #333;
    line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: unset;
    -webkit-box-orient: vertical;
    overflow: visible;
    text-overflow: ellipsis;
}


@media screen and (max-width: 1000px) {

    .mid-main { padding: 50px 0 20px; }
    .mid-title {
        font-size: 22px;
        line-height: 31px;
        margin-bottom: 24px;
    }
    .mid-title img {
        width: 25px;
        height: 25px;
    }
  .schedule-table {
        width: 100%;
  }
 /*   .schedule-table {
        width: 100%;
        display: flex;
    }
    .schedule-table thead {
        width: 30%;
    }
    .schedule-table tbody {
        width: 70%;
    }
    .schedule-table tr {
        display: block;
    }
    .schedule-table th,
    .schedule-table td {
        display: block;
        width: 100%;
    }
    .schedule-table td {
        text-align: left;
    }*/
    .doctor-item {
        width: 48.5%;
    }
    .doctor-item:nth-child(2n) {
        margin-right: 0 !important;
    }
    .doctor-item:nth-child(3n) {
        margin-right: 3%;
    }
}
@media screen and (max-width: 768px) {
    .schedule-table th, .schedule-table td {
        font-size: 12px;
        padding: 7px 20px;
        border: 1px solid #fff;
    }
    .doctor-item {
        width: 100%;
        margin-right: 0;
        min-height: 208px;
    }
    .doc-avatar {
        width: 110px;
        height: 110px;
    }
    .doc-name {
        font-size: 20px;
    }
    .doc-title {
        font-size: 11px;
        padding: 7px 12px;
    }
    .doc-desc {
        font-size: 12px;
    }
}