/* 外层大盒子 */
.news-main {
    display: flex;
    /* 设置为 flex 容器 */
    flex-direction: row;
    /* 子元素从左到右排列 */
    float: right;
    width: 100%;
    height: 100%;
    /* background-color: antiquewhite; */
    margin-left: 1.5%;
}

/* 左侧大盒子 -- 学生版 */
#app.student-site .news-main .main-left {
    height: 92%;
    border-radius: 0.26rem;
    margin-top: 2%;
    background-image: url('../../assets/images/student/poster2.png');
    background-size: 100% 100%;
    position: relative;
}
html[lang="en-US"] #app.student-site .news-main .main-left {
    background-image: url('../../assets/images/student/eng/poster2_e.png');
}
/* 左侧大盒子 -- 教师版 */
.news-main .main-left {
    width: 77.5%;
    height: 100%;
    /* background-color: aqua; */
}

.news-main .main-left .header {
    width: 100%;
    display: flex;
    align-items: center;
}

.news-main .main-left .header .image {
    width: 28%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-main .main-left .header .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 确保图片不会超出容器 */
}

.news-main .main-left .header .dashed {
    /* height: 10%; */
    height: 6px;
    width: 59%;
    display: flex;
    margin: 0 2% 0 2%;
    /* 添加 Flexbox 布局 */
    align-items: center;
    /* 垂直居中 */
    background-image: url('../../assets/images/svg/dot.svg');
    /* 设置背景图片 */
    background-repeat: repeat-x;
    /* 使背景图片重复 */
    background-size: contain;
    /* 确保背景图片完整显示 */
}

.news-main .main-left .header .more {
    height: 57%;
    width: 13%;
    background-color: #8fca5b;
    border-radius: .18rem;
    /* 设置圆角半径 */
    display: flex;
    /* 使用 Flexbox 布局 */
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 */
    font-family: '微軟正黑', sans-serif;
    /* 设置字体 */
    font-size: .3rem;
    /* 设置字体大小 */
    color: #ffffff;
    /* 设置字体颜色 */
    font-weight: bold;
    cursor: pointer;
    padding-top: 0.03rem;
}

.news-main .main-left .content {
    width: 100%;
    height: 78%;
    max-height: 3.35rem;
    margin-top: 3%;
    background-color: #8fca5b;
    padding: 4% 5% 4% 4%;
    border-radius: .18rem;
    font-family: '微軟正黑', sans-serif;
    /* 设置字体 */
    font-size: .3rem;
    /* 设置字体大小 */
    color: #163000;
    position: relative;
    font-weight: bold;
}

.news-main .main-left .content .news {
    width: 100%;
    height: 100%;
    padding-right: 7%;
    display: flex;
    flex-direction: column;
    /* overflow-y: auto; */

    position: relative;
    overflow: hidden;
}

.news-main .main-left .content .news .news-item {
    width: 100%;
    /* justify-content: space-between;  */
    display: flex;
    flex-direction: row;
    /* 设置字体颜色 */
    margin-bottom: 1%;

    position: relative;
}

.news-main .main-left .content .news .news-item .dot {
    flex-shrink: 0;
    width: 0.28rem;
}

.news-main .main-left .content .news .news-item .dot img {
    position: relative;
    top: -0.02rem;
}

.news-main .main-left .content .news .news-item .time {
    /* flex-shrink: 1; */
    /* width: 21%; */
    margin-left: 4%;
}

.news-main .main-left .content .news .news-item .text {
    flex-shrink: 2;
    /* width: 65%; */
    margin-left: 4%;
}

.news-main .main-left .content .news .news-item .text a {
    color: #163000;
}




/* 右侧大盒子 */
.news-main .main-right {
    width: 22.5%;
    height: 100%;
    padding-left: 1%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}



/* 滑轨样式 */
.ps__rail-y {
    background-color: #a8e275 !important;
    width: .08rem !important;
    transform: translateX(-.08rem);
    z-index: 1;
    border-radius: .06rem;
    opacity: 1 !important;
}

/*滑块样式*/
.ps__thumb-y {
    background-color: #4fab0c !important;
    width: .16rem !important;
    transform: translateX(.06rem);
    z-index: 1;
    right: 0.015rem !important;
}




/* ------------------------- 分界线 -------------------------------- */
/* 《今日人文》學教評配套--最新消息 样式表 */

.news-title {
    display: inline-block;
    /* padding: 1px 1.6rem; */
    padding: 0px 1.2rem;
    border-radius: 50em;
    background-color: #55b661;
    color: #ffffff;
    font-size: 0.625rem;
    line-height: 0.8125rem;
    margin-bottom: 0.3rem;
    font-weight: bold;
    margin-bottom: 1.2rem;
}

.news-content {
    margin-bottom: 0.3rem;
    border-radius: 3em;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.35rem;
    padding-top: 0.2rem;
}

.news-content .box {
    width: 92%;
    font-family: 'Microsoft JhengHei', sans-serif;
    color: #444444;
}

.news-content .box .top {
    width: 100%;
    display: flex;
    align-items: center;
}

.news-content .box .top div {
    margin-right: 0.15rem;
}

.news-content .box .bottom {
    width: 100%;
}

.news-content .box .bottom .message {
    width: 100%;
    padding-left: 0.5rem;
}


.news-content .box .bottom a {
    color: #163000;
}
