/* ========================================================
 * 文件名称：news.css
 * 文件作用：新闻页面样式，包含新闻列表、新闻详情、侧边栏等模块
 * 适用页面：新闻列表页、新闻详情页
 * ======================================================== */

/* -------------------------- 新闻横幅 -------------------------- */
.news-banner {
    background: url(../img/us/news-banner.png) no-repeat;
    background-size: cover;
    height: 320px;
    background-position: center;
}

/* -------------------------- 新闻分类标签 -------------------------- */
.news-tit {
    justify-content: center;
    height: 86px;
    align-items: center;
}
.news-tit div {
    font-size: 14px;
    color: #3B426B;
    width: 88px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 15px;
    margin: 0 10px;
    cursor: pointer;
}
.news-tit div.active {
    color: #fff7f5;
    background: #fb6638;
}

/* -------------------------- 详情按钮 -------------------------- */
.detail-btn {
    background: #3b426b;
    width: 86px;
    height: 24px;
    line-height: 24px;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 40px;
    text-align: center;
}

/* -------------------------- 新闻列表项 -------------------------- */
.news-item {
    width: 1100px;
    margin: 0 auto;
    align-items: center;
    box-shadow: 2px 2px 20px rgba(63,130,231,.1);
    padding: 35px 40px;
    box-sizing: border-box;
    margin-bottom: 32px;
}
.news-item img {
    width: 320px;
    height: 190px;
    border-radius: 4px;
    margin-right: 50px;
}
.item-tit {
    font-size: 16px;
    color: #3B426B;
    font-weight: 500;
}
.news-subtit {
    font-size: 12px;
    color: #7d88a2;
    padding: 26px 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 650px;
}

/* -------------------------- 分页组件 -------------------------- */
.pages {
    width: 1100px;
    margin: 0 auto;
    justify-content: flex-end;
    padding-bottom: 40px;
}

/* -------------------------- 新闻详情页 -------------------------- */

/* 详情内容容器 */
.news-content {
    width: 1200px;
    margin: 0 auto;
    background: #fff;
}

/* 面包屑路径 */
.detail-path {
    line-height: 66px;
    font-size: 14px;
    color: #3B426B;
    border-bottom: 1px solid #eee;
}
.detail-path span {
    margin: 0 10px;
}

/* 详情标题 */
.nd-tit {
    font-size: 30px;
    font-weight: 500;
    color: #3B426B;
    padding: 36px 0 24px 0;
}

/* 用户信息 */
.umsg {
    align-items: center;
    font-size: 14px;
    color: #7D88A2;
}
.umsg img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 16px;
}

/* 新闻封面图 */
.news-cover {
    width: 100%;
    margin: 28px 0;
}

/* 新闻详情内容 */
.news-detail {
    font-size: 14px;
    color: #3B426B;
    line-height: 26px;
    padding-bottom: 50px;
}
.news-detail p {
    margin-bottom: 24px;
}
.news-detail img {
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
}
.news-detail .strong {
    font-size: 20px;
    color: #3B426B;
    line-height: 30px;
    margin-bottom: 18px;
}

/* 白色容器 */
.news-white {
    width: 850px;
    background: #fff;
    margin: 0 auto;
}

/* -------------------------- 右侧新闻栏 -------------------------- */
.right-news p.bold {
    max-width: 280px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 14px;
    color: #3B426B;
    font-weight: bold;
}
.right-news .right-tit {
    font-size: 16px;
    padding-left: 10px;
    border-left: 2px solid #ff6f42;
    line-height: 14px;
}
.right-news.hot-msg dd {
    max-width: 280px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 14px;
    color: #7d88a2;
    margin: 0;
    margin-top: 20px;
}
.right-news {
    width: 312px;
    box-sizing: border-box;
    padding: 20px 16px 22px 16px;
    box-shadow: 2px 2px 10px rgba(230,233,246,.5);
    border-top: 2px solid #ff6f42;
}
.right-news img {
    margin: 20px auto 16px auto;
    width: 280px;
    border-radius: 4px;
}

/* -------------------------- 相关新闻 -------------------------- */
.relanews-tit {
    font-size: 20px;
    color: #3B426B;
    text-align: center;
    font-weight: 500;
    padding: 36px 0 32px 0;
}

/* -------------------------- 底部新闻卡片 -------------------------- */
.news-bottom {
    width: 320px;
    border-radius: 4px;
    font-size: 12px;
    color: #7D88A2;
    padding-bottom: 32px;
}
.news-bottom p {
    max-width: 320px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #7d88a2;
}
.news-bottom img {
    width: 100%;
    border-radius: 4px;
    height: 190px;
}
.news-bottom .news-btit {
    font-size: 16px;
    color: #3B426B;
    padding: 24px 0 14px 0;
}

/* -------------------------- 分页组件（详情页） -------------------------- */
.pages {
    align-items: center;
    color: #7D88A2;
    font-size: 12px;
}
.page-i {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    border: 1px solid #ccc;
    text-align: center;
    box-sizing: border-box;
    line-height: 28px;
    margin: 0 6px;
    cursor: pointer;
}
.page-i.active {
    background: #fb6638;
    color: #fff;
    border: none;
}
.page-int {
    width: 50px;
    height: 30px;
    border-radius: 4px;
    border: 1px solid #ccc;
    text-align: center;
    box-sizing: border-box;
    line-height: 28px;
    margin: 0 6px;
}
.page-int input {
    display: block;
    width: 48px;
    height: 28px;
    border: none;
    border-radius: 4px;
    text-align: center;
}
