.banner {
    background: url("https://img.asiancancer.com/images/newmoderncancerthai/images/abouts_us.webp") no-repeat center;
    background-size: cover;
}

.news-content .news-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    padding: 30px calc((100% - 1400px) / 2) 0;
    box-sizing: border-box;
    background: #fff;
}

.news-content .nav-tag-bar {
    width: 100%;
    background: #ffffff;
    padding: 15px 0;
}

.news-content .float-box {
    position: fixed;
    /*top: 0px;*/
    top: 160px;
    left: 0px;
    z-index: 999;
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    background: #fff;
}

/* 适用 WebKit 浏览器 (Chrome / Safari / Edge) */
.news-content .float-box::-webkit-scrollbar {
    display: none;
}

/* Firefox */
.news-content .float-box {
    scrollbar-width: none; /* 隐藏滚动条 */
    -ms-overflow-style: none; /* IE/Edge 老版本 */
}

.nav-tag-bar .tag-box {
    display: flex;
}

.tag-box .news-type-list {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tag-box .news-type-list .news-type-item {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    margin-right: 10px;
}

.tag-box .news-type-list .news-type-item a {
    display: flex;
    white-space: nowrap;
    border: 1px solid #363636;
    padding: 3px 25px;
    border-radius: 4px;
    box-sizing: border-box;
}

.tag-box .news-type-list .news-type-item .active {
    background: #2A78BA;
    color: #ffffff;
    border: 1px solid #2A78BA;
}

/*列表*/

/*.news-list .news-item {*/
/*    background: #ffffff;*/
/*    display: flex;*/
/*    padding: 30px 0;*/
/*    border-bottom: 1px solid #dddddd;*/
/*}*/
.news-content .news-list {
    width: 100%;
    padding: 0 calc((100% - 1400px) / 2);
    box-sizing: border-box;
}

.news-list .news-item {
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    /* padding: 30px 0; */
    border-bottom: 1px solid #dddddd;
    margin-top: 30px;
    border-radius: 8px;
    transition: all 1s;
}

.news-list .news-item .news-left {
    width: 40%;
}

.news-list .news-item .news-left a {
    width: 100%;
    display: flex;
}

.news-list .news-item .news-left a img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px 0 0 8px;
}

.news-list .news-item .news-right {
    width: 60%;
    padding: 20px;
}

.news-list .news-item .news-right .title {
    font-size: 22px;
    font-weight: bold;
    width: 100%;
}

.news-list .news-item .news-right .title a {
    font-size: 25px;
    line-height: initial;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.news-list .news-item .news-right .description-text {
    line-height: initial;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.news-list .news-item .news-right .time {
    padding: 20px 0;
    color: #999;
}

.news-list .news-item .news-right .more-btn {
    display: none;
}

.news-list #news-item1 {
    box-shadow: 0 16px 5px -12px rgb(0 0 0 / 5%), 0 4px 15px 0 rgb(0 0 0 / 5%), 0 8px 10px -5px rgb(0 0 0 / 5%);
    border-radius: 8px;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin: 30px 0;
    padding: 0;
}

.news-list #news-item1 .news-left {
    width: 50%;
}

.news-list #news-item1 .news-left a {
    width: 100%;
    display: flex;
}

.news-list #news-item1 .news-left a img {
    border-radius: 8px 0 0 8px;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.news-list #news-item1 .news-right {
    width: 50%;
    padding: 30px 20px;
    box-sizing: border-box;
    position: relative;
}

.news-list #news-item1 .news-right .title {
    font-size: 25px;
    font-weight: bold;
}

.news-list #news-item1 .news-right .time {
    padding: 10px 0;
    color: #999;
}

.news-list #news-item1 .news-right .btn {
    background: #2A78BA;
    padding: 5px 15px;
    color: #ffffff;
    border-radius: 16px;
    box-sizing: border-box;
}

.news-list #news-item1 .news-right .more-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: block;
}

/* 取消移动端的hover效果 只有pc端的生效 */
@media (any-hover: hover) {

    .news-content .news-list .news-item:hover {
        transform: scale(1.05);
        cursor: pointer;
    }

    .news-list .news-item .news-right .title a:hover {
        color: #2A78BA;
    }

}

@media screen and (max-width: 768px) {
    .banner {
        background: url("/uploads/allimg/2023/06/22/anticancer.png") no-repeat center;
    }

    div::-webkit-scrollbar {
        display: none
    }

    .news-content {
        width: 100%;
        padding: 15px 0 0;
        box-sizing: border-box;
    }

    .news-content .news-title {
        width: 100%;
        font-size: 25px;
        padding: 15px;
        box-sizing: border-box;
    }

    .news-content .nav-tag-bar {
        width: 100%;
        padding: 10px 15px;
        box-sizing: border-box;
        box-shadow: 0 16px 5px -12px rgb(0 0 0 / 5%), 0 4px 15px 0 rgb(0 0 0 / 5%), 0 8px 10px -5px rgb(0 0 0 / 5%);
    }

    .news-content .float-box {
        position: fixed;
        top: 64px;
        /*top: 100px;*/
        left: 0px;
        z-index: 999;
        width: 100%;
        overflow-x: scroll;
        overflow-y: hidden;
        background: #fff;
    }

    .nav-tag-bar .tag-box {
        width: 100%;
        white-space: nowrap;
        position: relative;
        display: block;
        overflow-y: hidden;
        overflow-x: scroll;
    }

    .tag-box .news-type-list {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .tag-box .news-type-list .news-type-item {
        border: 0px;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }

    .tag-box .news-type-list .news-type-item a {
        box-sizing: border-box;
        padding: 3px 20px;
    }

    .news-content .news-list {
        width: 100%;
        padding: 15px 15px 0;
        box-sizing: border-box;
    }

    .news-list .news-item {
        display: inline-grid;
        margin-bottom: 15px;
        padding-top: 0;
        border-radius: 8px;
        margin-top: 0;
    }

    .news-content .news-list .news-item:last-child {
        margin-bottom: 0;
    }

    .news-list #news-item1 .news-right .title {
        font-size: 20px;
    }

    .news-list #news-item1 .news-right .title a {
        font-size: 20px;
        line-height: 24px;
    }

    .news-list #news-item1 {
        margin-bottom: 15px;
        margin-top: 0;
        padding-top: 0;
        border-radius: 8px;
    }

    .news-list .news-item .news-left {
        width: auto;
        float: none;
    }

    .news-list #news-item1 .news-left a img {
        border-radius: 8px 8px 0 0;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        object-fit: cover;
    }

    .news-list .news-item .news-left a img {
        border-radius: 8px 8px 0 0;
    }

    .news-list .news-item .news-right {
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
        float: none;
    }

    .news-list .news-item .news-right .time {
        padding: 10px 0;
    }

    .news-list .news-item .news-right .title a {
        font-size: 20px;
    }

    .news-list #news-item1 {
        display: block;
        padding-bottom: 0px;
    }

    .news-list #news-item1 .news-left {
        width: auto;
        float: none;
    }

    .news-list #news-item1 .news-right {
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
        float: none;

    }

    .news-list #news-item1 .news-right .more-btn {
        display: inline-flex;
        position: initial;
        width: 100%;
        margin-top: 15px;
    }

    .news-list #news-item1 .news-right .more-btn a {
        width: 100%;
        text-align: center;
        border-radius: 8px;
        padding: 10px;
        box-sizing: border-box;
    }
}