/**
 * 应用案例页面样式
 * 包含合作医院案例展示、更多案例横向轮播及页脚。
 * 与 css/shared.css 共同使用。
 */

/* ==========================================
   主容器
   ========================================== */
.mainContent {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    align-items: center;
}


/* ==========================================
   案例区块外层包装
   ========================================== */
.casesWrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;
    padding: 0 15%;
}

/* ==========================================
   应用案例（合作医院案例）
   纵向列表布局，图文左右排列
   ========================================== */
.casesWrap .applicationCasesWrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-top: 15rem;
}

/* 区域标题栏：文字 + 分隔线 + "More" + 箭头图标 */
.casesWrap .applicationCasesWrap .head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;
}

.casesWrap .applicationCasesWrap .head .text1 {
    font-size: 1.3rem;
    margin-right: 1rem;
    color: #3d3d3d;
    font-weight: 600;
}

.casesWrap .applicationCasesWrap .head .dash {
    height: 1px;
    min-height: 1px;
    background-color: #3d3d3d;
    flex: 1;  /* 分隔线自动填充剩余空间 */
}

.casesWrap .applicationCasesWrap .head .text2 {
    font-size: 1.2rem;
    margin-left: 1rem;
    color: #3d3d3d;
    font-weight: 600;
}

.casesWrap .applicationCasesWrap .head img {
    height: 0.8rem;
    width: auto;
    margin-left: 0.5rem;
}

/* 案例列表：纵向排列，每项图文左右布局 */
.casesWrap .applicationCasesWrap .casesList {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    padding-right: 4rem;
}

.casesWrap .applicationCasesWrap .casesList .caseWrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin-top: 8rem;
}

/* 案例图片占 50% 宽度 */
.casesWrap .applicationCasesWrap .casesList .caseWrap img {
    width: 50%;
    height: auto;
}

/* 案例文字区域：纵向排列，左侧留间距 */
.casesWrap .applicationCasesWrap .casesList .caseWrap .textWrap {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
    justify-content: start;
    height: 100%;
    margin-left: 3rem;
}

.casesWrap .applicationCasesWrap .casesList .caseWrap .title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
}

.casesWrap .applicationCasesWrap .casesList .caseWrap .brief {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    line-height: 2rem;
    color: #646464;
    letter-spacing: 0.1rem;
}


/* ==========================================
   更多案例（横向轮播）
   ========================================== */
.casesWrap .moreCasesWrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;
    margin-top: 10rem;
    margin-bottom: 15%;
}

/* 区域标题栏 */
.casesWrap .moreCasesWrap .head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;
}

.casesWrap .moreCasesWrap .head .text1 {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #3d3d3d;
    font-weight: 600;
}

.casesWrap .moreCasesWrap .head .dash {
    height: 1px;
    min-height: 1px;
    background-color: #3d3d3d;
    flex: 1;
}

.casesWrap .moreCasesWrap .head .text2 {
    font-size: 1.2rem;
    margin-left: 1rem;
    color: #3d3d3d;
    font-weight: 600;
}

.casesWrap .moreCasesWrap .head img {
    height: 0.8rem;
    width: auto;
    margin-left: 0.5rem;
}

/* 横向滚动容器：隐藏滚动条，由 JS 控制 scrollLeft 实现分页 */
.casesWrap .moreCasesWrap .casesList {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    margin-top: 6rem;
    position: relative;
}

/* 隐藏 Webkit 滚动条 */
.casesWrap .moreCasesWrap .casesList::-webkit-scrollbar{
    display: none;
}

/* 每页案例：与父容器等宽，保证一次滚动切换一整页 */
.casesWrap .moreCasesWrap .casesList .casesListPage {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    min-width: 100%;
    margin-right: 1.25%;

}

.casesWrap .moreCasesWrap .casesList .casesListPage .caseWrap {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 32.5%;
    background-color: #ffffff;
    
    /* max-width: 53%; */
}

.casesWrap .moreCasesWrap .casesList .casesListPage .caseWrap:hover {
    cursor: pointer;
}

.casesWrap .moreCasesWrap .casesList .caseWrap img {
    width: 100%;
    height: auto;
}

.casesWrap .moreCasesWrap .casesList .caseWrap .createTime {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.4);
    /* margin-left: 5%; */
    margin-top: 3%;
}

.casesWrap .moreCasesWrap .casesList .caseWrap .title {
    font-size: 1.1rem;
    color: #1a1a1a;
    /* margin-left: 5%; */
    margin-right: 5%;
    margin-top: 1%;
    /* margin-bottom: 5%; */
    font-weight: 500;
    /* 以下用来控制文本超出2行显示省略号 */
    text-overflow: -o-ellipsis-lastline; 
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
}

.casesWrap .moreCasesWrap .pointersWrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 4.5rem;
}

.casesWrap .moreCasesWrap .pointersWrap .pointer {
    width: 0.7rem;
    height: 0.7rem;
    background-color: #bfbfbf;
    border-radius: 0.5rem;
    margin: 0 0.3rem;
}

.casesWrap .moreCasesWrap .pointersWrap .pointerSelected {
    background-color: #000000;
}

.casesWrap .moreCasesWrap .pointersWrap .pointer:hover {
    cursor: pointer;
}




/* 以下是页脚 */
.mainContent .footWrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2% 15%;
    width: 100%;
    /* margin-top: 5rem; */
}

.mainContent .footWrap .urlWrap {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.mainContent .footWrap .urlWrap a {
    color: #ffffff;
    text-decoration: none;
}

.mainContent .footWrap .urlWrap .parent {
    font-size: 1.1rem;
    font-weight: 600;
}

.mainContent .footWrap .urlWrap .child {
    font-size: 0.9rem;
    font-weight: 300;
    margin-top: 0.8rem;
}

.mainContent .footWrap .publicWrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 9rem;
}

.mainContent .footWrap .publicWrap img {
    width: 6rem;
    height: auto;
}

.mainContent .footWrap .publicWrap .text {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 300;
    margin-top: 1rem;
}