.l_content {
    background-color: #f7f7f5;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    padding: 80px 0;
}

/* 主内容区：固定宽度 860px */
.main-content {
    width: 900px;
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

/* 轮播容器 */
.carousel-container {
    position: relative;
    width: 900px;
    height: 312px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #eaeaea;
    box-sizing: border-box;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-item {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 20px; */
    background: white;
    box-sizing: border-box;
}

.carousel-item img {
    width: 465px;
    height: 284px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: -15px;
    margin-left: 8px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

.carousel-item .view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.carousel-item:hover .view-btn {
    opacity: 1;
}

.carousel-content {
    flex: 1;
    padding: 32px 19px;
    height: 100%;
}

.carousel-title {
    font-weight: 500;
    font-size: 20px;
    color: #3c3e42;
    line-height: 1.2;
    margin-bottom: 12px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-excerpt {
    font-weight: 350;
    font-size: 16px;
    color: #808180;
    margin-bottom: 9px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.time {
    font-weight: 400;
    font-size: 14px;
    color: #b6b6b6;
    margin-bottom: 16px;
}

.carousel-meta {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 400;
    font-size: 12px;
    color: #808180;
    margin-bottom: 10px;
}

.img {
    display: flex;
    align-items: center;
}

.carousel-img {
    width: 41px;
    display: flex;
    align-items: center;
}

.carousel-img img {
    width: 16px;
    height: 16px;
    /* margin-right: 4px; */
}

.carousel-text {
    height: 16px;
}

.carousel-case {
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 13px;
}

.carousel-author {
    font-weight: 400;
    font-size: 14px;
    color: #108cda;
}

.carousel-tags {
    display: flex;
    gap: 8px;
    /* margin-bottom: 12px; */
}

.tag {
    font-weight: 400;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
}

.tag-medical {
    background: #46b2ff;
    color: white;
}

.tag-america {
    background: rgba(221, 78, 65, 0.16);
    color: #dd4e41;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.indicator {
    width: 10px;
    height: 4px;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.indicator.active {
    background: #108cda;
}

/* 普通新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-item {
    display: flex;
    align-items: center;
    width: 900px;
    height: 149px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #eaeaea;
    box-sizing: border-box;
    display: flex;
    /* gap: 10px; */
    overflow: hidden;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
    transition: transform 0.2s ease;
}

.news-item:hover {
    transform: translateY(-4px);
}

.news-image {
    width: 221px;
    height: 135px;
    border-radius: 12px;
    margin-left: 8px;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-image .view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.news-image:hover .view-btn {
    opacity: 1;
}

.news-content {
    width: 671px;
    height: 149px;
    padding: 0 18px;
}

.news-title {
    width: 634px;
    font-weight: 500;
    font-size: 16px;
    color: #3c3e42;
    line-height: 1.2;
    margin-top: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news-excerpt {
    font-weight: 350;
    font-size: 14px;
    color: #808180;
    margin-top: 4px;
}

.news-meta {
    display: flex;
    align-items: center;
    margin-top: -4px;
}

.news-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 13px;
}

.news-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.time2 {
    font-weight: 400;
    font-size: 12px;
    color: #c2c2c2;
}

.news-author {
    font-weight: 500;
    color: #108cda;
    font-size: 14px;
}

.news-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.news-actions {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #808180;
}

/* 新闻列表中的图标+数字布局 */
.news-meta-icons {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 400;
    font-size: 12px;
    color: #808180;
}

.news-icon-item {
    display: flex;
    align-items: center;
    gap: 5px;
    /* 图标和文字间距 */
}

.news-icon-item img {
    width: 16px;
    height: 16px;
    /* margin-top: 2px; */
    /* 与你的 carousel 保持一致 */
}

/* 侧边栏：固定宽度 300px */
.sidebar {
    width: 290px;
    height: 100%;
    flex: none;
    background: white;
    border-radius: 10px;
    /* padding: 20px; */
    border: 1px solid #eaeaea;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
}

.btn-publish {
    padding: 12px;
    width: 249px;
    height: 43px;
    background: #108cda;
    border: none;
    border-radius: 4px;
    font-weight: 400;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.xian3 {
    width: 100%;
    height: 1px;
    background-color: #eaeaea;
}

.section-title {
    width: 100%;
    font-weight: 600;
    font-size: 16px;
    /* margin-bottom: 12px; */
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    margin-left: 20px;
}

.section-title img {
    width: 20px;
    height: 20px;
}

.list-item {
    width: 90%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #eaeaea;
}
.list-item2 {
    width: 90%;
    display: flex;
    /* align-items: center; */
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #eaeaea;
}

.list-item:last-child {
    border-bottom: none;
}

.list-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    overflow: hidden;
}

.list-avatar2 {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
}

.list-avatar img,
.list-avatar2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-text {
    font-weight: 400;
    font-size: 14px;
    color: #3d3d3d;
}

.list-subtext {
    font-weight: 700;
    font-size: 14px;
    color: #108cda;
}

.list-text2 {
    font-weight: 400;
    font-size: 12px;
    color: #808180;
}

.list-dide1,
.list-dide2,
.list-dide3 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 21px;
    border-radius: 2px;
    font-weight: 400;
    font-size: 12px;
    color: #ffffff;
}

.list-dide1 {
    background: #46b2ff;
}

.list-dide2 {
    background: #dd4e41;
}

.list-dide3 {
    background: #ff9041;
}

.list-subtext2 {
    font-weight: 400;
    font-size: 12px;
    color: #808180;
    margin-bottom: 13px;
}

.flex {
    display: flex;
    align-items: center;
}

.flex-center {
    display: flex;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-around {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.flex-dir {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pages_box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-bottom: 50px;
}

.pages_box .pages_start,
.pages_box .pages_item {
    margin-right: 20px;
    padding: 10px 20px;
    border: 1px #e5e5e5 solid;
    background-color: #fff;
    border-radius: 10px;
}

.pages_box .pages_end {
    padding: 10px 20px;
    border: 1px #e5e5e5 solid;
    background-color: #fff;
    border-radius: 10px;
}
