/* ==================== 设计令牌 / CSS 变量 ==================== */
:root {
    --color-primary: #0289F2;
    --color-text: #333;
    --color-text-secondary: #828a92;
    --color-text-light: #555;
    --color-border: #eee;
    --color-border-dark: #dcdcdc;
    --color-bg: #fff;
    --color-bg-gray: #f8f8f8;
    --color-overlay: rgba(0, 0, 0, 0.7);
    --container-width: 1200px;
    --gap: 20px;
    --radius: 5px;
    --transition: all 0.3s ease;
}

/* ==================== 基础重置 ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-width: 1200px;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    letter-spacing: 0.3px;
}

img {
    border: 0;
    max-width: 100%;
    display: block;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #06c;
}

ul, ol {
    list-style: none;
}

/* ==================== 布局容器 ==================== */
.container {
    width: var(--container-width);
    margin: 0 auto;
    position: relative;
}

/* ==================== 通用组件 ==================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.section-header--underline {
    border-bottom-color: var(--color-primary);
}

.section-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb{}


.breadcrumb {line-height:30px;font-size:16px;}
.breadcrumb i {font-style:normal;font-weight:bold;color:#444444;padding:0 6px;font-family:simsun;}
.breadcrumb em {font-style:normal;color:#999999;padding:0 10px;font-size:12px;}


.breadcrumb a:last-of-type + .sep {
    display: none;
}


.pager {
  margin:10px 0; padding:30px;overflow:hidden;
}
.pager .pagination {
  margin: 0;text-align: center;
}

.pager li {
  margin: 0 0.4em;
  display: inline-block;
}
.pager li:first-child > a,
.pager li:last-child > a,
.pager li:first-child > span,
.pager li:last-child > span {
  padding: 0.5em 1.2em;
}
.pager li > a,
.pager li > span {
  background: none;
  border: 1px solid #e6e6e6;
  border-radius: 0.25em;
  padding: 0.5em 0.93em;
  font-size: 14px;
  display: inline-block;
}
.pager li.active > span{color: #fff;
    background-color: #1173fa;
    border-color: #1173fa;
    cursor: default;}

.pager li.active > span{color: #fff;
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    cursor: default;}



.section-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 22px;
    background: var(--color-primary);
    position: relative;
    top: 1px;
}

.section-title a {
    color: var(--color-primary);
}

.card-more {
    font-size: 12px;
    color: var(--color-primary);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--color-primary);
    margin-bottom: 15px;
}

.widget-title {
    font-size: 17px;
    color: #fff;
    width: 164px;
    height: 33px;
    line-height: 33px;
    text-align: center;
    background: url(../images/edu_20200320_rbg.png) no-repeat center;
    position: relative;
    top: 8px;
    left: -3px;
}

.ell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.threerow {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

.blue {
    color: var(--color-primary) !important;
}

/* ==================== 顶部栏 ==================== */
.top-bar {
    width: 100%;
    height: 39px;
    background: var(--color-bg-gray);
    border-bottom: 1px solid var(--color-border);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.top-bar__left {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 15px;
    color: var(--color-text);
}

.top-bar__left .time {
    color: var(--color-text);
}

/* 搜索表单 */
.search-form {
    height: 100%;
    display: flex;
    align-items: center;
}

.search-form__inner {
    display: flex;
    width: 215px;
    height: 24px;
    border: 1px solid #b2b2b2;
    background: url(http://y2.ifengimg.com/e01ed39fc2da5d4a/2013/1023/s_bg02_1.gif) no-repeat right top;
}

.search-input-wrap {
    flex: 1;
    overflow: hidden;
}

.search-input {
    width: 100%;
    height: 24px;
    line-height: 24px;
    padding: 0 10px;
    border: none;
    background: none;
    color: #666;
    font-size: 12px;
}

.search-input:focus {
    outline: none;
}

.search-input:focus {
    outline: none;
    box-shadow: none;
}

.search-btn {
    width: 30px;
    height: 24px;
    border: none;
    background: none;
    cursor: pointer;
}

/* ==================== Header 主体 ==================== */
.header-main {
    padding: 5px 0;
}

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

.logo {
    padding: 5px 0;
}

.logo img {
    height: 100px;
}

.header-banner {
    width: 300px;
    margin-left: 100px;
    margin-top: 18px;
}

.header-widgets {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 0px;
    font-size: 16px;
    color: var(--color-text-light);
}

/* ==================== 导航 ==================== */
.main-nav {
    width: 100%;
    height: 61px;
    background: var(--color-primary);
}

.nav-menu {
    display: flex;
    height: 100%;
    align-items: center;
}
.nav-item {
    position: relative;
    font-size: 20px;
    text-align: center;
    padding: 17px 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;      /* 垂直居中 */
}

.nav-item > a {
    color: #fff;
    display: block;
    width: 100%;
    padding-left: 25px;	
    padding-right: 25px;
    line-height: 26px;
    border-left: 1px solid #67B8F7;
}

/* 第一个 .nav-item 下的链接去除左边框 */
.nav-item:first-child > a {
    border-left: none;
}

.nav-item:hover > .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 61px;
    left: 0;
    background-color: var(--color-primary);
    z-index: 100;
    min-width: 148px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dropdown-menu li {
    height: 40px;
    line-height: 40px;
    font-size: 17px;
    text-align: center;
    border-top: solid 1px rgba(255,255,255,0.1);
}

.dropdown-menu li a {
    color: #adccc3;
    display: block;
}

.dropdown-menu li a:hover {
    color: #fff;
    background: rgba(0,0,0,0.1);
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 4px solid #fff;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

/* ==================== 轮播 + 要闻 ==================== */
.hero-section {
    display: flex;
    gap: 65px;
    margin-top: 30px;
}

/* 左侧轮播 */
.hero-slider {
    width: 775px;
    height: 400px;
    overflow: hidden;
    border: 1px solid #ddd;
    position: relative;
}

.swiper-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-out;
}

.swiper-img:hover {
    transform: scale(1.05);
}

.swiper-title {
    position: absolute;
    bottom: 0;
    height: 45px;
    line-height: 45px;
    color: #fff;
    font-size: 17px;
    text-indent: 20px;
    width: 100%;
    z-index: 10;
    background: var(--color-overlay);
}

.swiper-pagination {
    bottom: 50px !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background: #fff;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 30%;
    background: var(--color-primary);
}

.swiper-button-white {
    width: 30px;
    height: 70px;
    background-color: #000;
    opacity: 0.3;
    border-radius: var(--radius);
    margin-top: -35px;
    background-size: 60%;
}

.swiper-button-white:hover {
    opacity: 0.5;
}

/* 右侧要闻 */
.hero-news {
    flex: 1;
    height: 400px;
    overflow: hidden;
}

.hero-header{
	display:grid;
	grid-template-columns: 1fr 2.2fr;
    gap: 15px;
}

.hero-img{width:110px;}

.hero-featured {
}

.hero-featured li {
}

.hero-featured h3 {
    font-size: 16px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.hero-featured h3 a {
    color: var(--color-text);
}

.hero-featured p {
	margin-top:10px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-secondary);
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;	
}


.hero-imglist {
    border-top: 1px dotted var(--color-primary);
    width: 360px;
    overflow: hidden;
    padding-top: 5px;
    margin-top: 5px;
}

.hero-imglist img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.hero-imglist h3 {
    padding: 5px 0;
    font-size: 15px;
}


.news-featured {
    margin-bottom: 20px;
}

.news-featured li {
    margin-bottom: 15px;
}

.news-featured h3 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.news-featured h3 a {
    color: var(--color-text);
}

.news-featured p {
	margin-top:10px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-secondary);
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;	
}


.news-list-wrap {
}

.news-list li {
    font-size: 16px;
    line-height: 35px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 5px;
}

/* ==================== 分类网格 + 视频 ==================== */
.category-section {
    margin-top: 30px;
}

.category-grid {
    display: flex;
    gap: 65px;
	justify-content: space-between;
}

.grid-main {
    width: 775px;
}

.grid-sidebar {
    width: 360px;
}

/* 分类卡片 */
.category-card {
    width: 100%;
	margin-bottom: 10px;
}

.card-body{
	display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px 35px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid var(--color-primary);
    margin-bottom: 15px;
}

.card-title {
    font-size: 20px;
    color: var(--color-primary);
    font-weight: bold;
    padding-bottom: 10px;
}

.card-image {
    width: 290px;
    height: 190px;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card-image:hover img {
    transform: scale(1.05);
}

.card-image figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35px;
    line-height: 35px;
    color: #fff;
    font-size: 14px;
    text-indent: 20px;
    background: var(--color-overlay);
    z-index: 10;
}

.card-list li a {
    display: block;
    line-height: 1.6;
    font-size: 16px;
    height: 34px;
    overflow: hidden;
	padding-bottom: 8px;
}

/* 视频网格 */
.video-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
	justify-content: space-between;
}

.text-list li a {
    display: block;
    line-height: 36px;
    font-size: 16px;
    height: 36px;
    overflow: hidden;
}

.video-item {
    width: 170px;
    list-style: none;
}

.video-item > a {
    display: block;
    position: relative;
    height: 250px;
    overflow: hidden;
}

.video-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    font-size: 14px;
    color: #e3ff10;
    line-height: 1.4;
    background: linear-gradient(to bottom, rgba(54, 169, 34, 0.9) 0%, rgba(54, 169, 34, 0) 120%);
    z-index: 10;
}

.video-title {
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    color: var(--color-text);
    margin-top: 5px;
}

/* ==================== 广告位 ==================== */
.ad-banner {
    margin: 20px 0;
    text-align: center;
}

/* ==================== 专题滚动 ==================== */
.special-section {
    margin: 20px 0;
}

.special-slider {
    position: relative;
    padding: 20px 0;
    overflow: hidden;
}

.special .swiper-slide {
    width: 295px;
}

.special .swiper-slide img {
    width: 290px;
    height: 150px;
    object-fit: cover;
    display: block;
}

.special .swiper-slide .video-play {
    position: absolute;
    font-size: 60px;
    color: rgba(255, 255, 255, 0.8);
    top: 38%;
    left: 50%;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    margin-top: -30px;
    margin-left: -30px;
    font-weight: 900;
	opacity: 0.3;
}
.special .swiper-slide .video-play:hover{
	opacity: 0.8;	
}

.special .swiper-slide p {
    margin-top: 10px;
    font-size: 15px;
    line-height: 26px;
    color: var(--color-text-light);
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.special-button-prev,
.special-button-next {
    width: 43px;
    height: 43px;
    top: 40%;
    background-color: #000;
    opacity: 0.6;
    border-radius: 50%;
    background-size: 30%;
}

.special-button-prev:hover,
.special-button-next:hover {
    opacity: 0.8;
}

/* ==================== 最新更新 + 侧边栏 ==================== */
.news-update {
    display: flex;
    gap: 65px;
    margin-top: 20px;
	justify-content: space-between;
}

.news-update__main {
    width: 775px;
}


.cate-section-header{
	display: flex;
    align-items: baseline;
    border-bottom: 2px solid var(--color-primary);
    margin-bottom: 0px;
	justify-content: space-between;
}

.cate-section-header--left{
	display: flex;
}

.cate-section-header--right .card-more {
    display: none;
}
.cate-section-header--right .card-more.active {
    display: inline-block;
}


.cate-section-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--color-primary);
    display: flex;
    align-items: center;
	color: var(--color-primary);
    gap: 10px;
	cursor: pointer;
	padding: 5px 20px;
}

.cate-section-title.active{
	background: var(--color-primary);
    color: #fff;
}

.cate-section-title a{color: var(--color-primary);}
.cate-swiper-container{overflow: hidden;}

.sidebar {
    width: 360px;
    /*position: sticky;
    top: 0;
    align-self: flex-start;*/
}

/* 新闻卡片列表 */
.news-feed {
    margin-top: 20px;
}

.news-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px 0;
	min-height: 120px;
    border-bottom: 1px solid var(--color-border-dark);
    position: relative;
}

.news-card:first-child {
    padding-top: 0;
}

.news-card__image {
    width: 180px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
    background: #eee;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card__image:hover img {
    transform: scale(1.2);
}

.news-card__body {
    flex: 1;
    min-width: 0;
}

.news-card__title {
    font-size: 18px;
    margin-bottom: 9px;
    line-height: 1.4;
}

.news-card__title a {
    color: var(--color-text);
}

.news-card__desc {
    font-size: 13px;
    line-height: 22px;
    color: var(--color-text-secondary);
}

.news-card__source {
    position: absolute;
    bottom: 10px;
    right: 0;
    font-size: 14px;
    color: #afaaaa;
}




.news-item-text ul li{overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;}
.news-item-text ul li{
    transition: 0.3s all;
    line-height: 2.6;
}	

.news-item-text ul li a{
position: relative;
    transition: 0.3s all;
    padding-left: 15px;
	font-size: 17px;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;}
.news-item-text ul li a:before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 6px;
    background: #ccc;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    transition: 0.3s all;
}	

.news-item-text ul li:nth-child(5n) {
    border-bottom: dashed 1px #ddd;
    margin-bottom: 25px;
    padding-bottom: 25px;
}

.news-item-text ul li em {
    float: right;
	padding-left:30px;
	padding-right:10px;
    font-size: 15px;
    color: #999;
    font-weight: normal;
    margin-top: 3px;
	font-style: normal;
}


.news-item-text ul li a span{
	color:#ff0000;
	display:inline-block;
}




/* 加载更多 */
.load-more {
    text-align: center;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 8px 50px;
    font-size: 16px;
    font-weight: normal;
    text-align: center;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: var(--radius);
    background: #fff;
    color: var(--color-text);
    user-select: none;
    transition: var(--transition);
}

.btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* 专家卡片 */
.expert-list {
    padding-top: 10px;
    overflow: hidden;
	height:760px;
}

.expert-list .swiper-wrapper {
    flex-direction: column !important;
}

.expert-list .swiper-slide {
    width: 100% !important;
    height: 150px; 
    margin-right: 0 !important;
}


.expert-card {
    box-sizing: border-box;
    display: flex;
    gap: 15px;
    padding: 0px 0 20px;
    height: 150px;
}

.expert-card:first-child {
    border-top: none;
}

.expert-card__avatar {
    width: 110px;
    height: 130px;
    flex-shrink: 0;
    overflow: hidden;
    background: #eee;
    border: 1px solid #5ba7c1;
}

.expert-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-card__info {
    flex: 1;
    min-width: 0;
}

.expert-card__name {
    font-size: 17px;
    margin-bottom: 5px;
}

.expert-card__title {
    font-size: 14px;
    font-weight: 400;
    padding-top: 0px;
}

.expert-card__desc {
    font-size: 13px;
    line-height: 22px;
    color: var(--color-text-secondary);
    margin-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 热门排行 */
.hot-rank{padding:10px 0;}

.hot-rank__featured {
    width: 360px;
    height: 200px;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}

.hot-rank__featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-rank__featured figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: var(--color-overlay);
    color: #fff;
    font-size: 14px;
}

.hot-rank__list li {
    line-height: 36px;
    font-size: 16px;
    overflow: hidden;
}

.hot-rank__list li a {
    display: block;
    height: 36px;
}

/* ==================== 友情链接 ==================== */
.links-section {
    margin-bottom: 10px;
}

.links-header {
    margin-top: 40px;
    margin-bottom: 5px;
}

.links-title {
    display: inline-block;
    padding: 0 20px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
}

.links-title.active {
    background: var(--color-primary);
    color: #fff;
}

.links-body {
    padding-top: 10px;
}

.links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.links-list li {
    font-size: 16px;
    line-height: 30px;
}

/* ==================== 页脚 ==================== */
.site-footer {
    width: 100%;
    background: var(--color-primary);
    color: #fff;
    padding: 30px 0 10px;
    text-align: center;
    line-height: 1.8;
    font-size: 15px;
}

.footer__copyright {
    margin-bottom: 10px;
}

.copyright-links {
    margin-bottom: 10px;
}

.copyright-links a {
    margin: 0 10px;
    color: #ffffff;
}

.footer__licenses {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 15px;
    margin-bottom: 10px;
}

.footer__licenses a {
    color: #fff;
    font-size: 14px;
}

.footer__contact {
    color: yellow;
    font-weight: bold;
}

.footer__contact p {
    margin: 5px 0;
}

.footer-icons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.footer-icons ul li{
    float:left;
	margin-right:5px;
}
.footer-icons ul li img{
    height: 30px;
}

/*内容正文*/
.content-main{width: 100%; padding-bottom: 60px; margin: 20px auto;}
.content-main h1 {font-size: 30px;line-height:40px;font-weight: 500; color: #000;text-align:center;}
.content-main #title{padding: 8px 0px;}
.content-main h4 {font-size: 20px;line-height: 30px; color: #333;text-align:center;font-weight: 400;}
.content-main h3 {font-size: 19px;line-height: 30px; color: #000;text-align:center;font-weight: 400;}
.content-main .box{font-size: 14px; color:#555555; line-height: 30px;padding: 10px 0px;border-bottom: 1px solid #ccc;text-align:center;}
.content-main .box span{margin-right: 15px;}


.content-text{width: auto;  margin: 0; font: 17px/32px "Microsoft Yahei";  border-top:0px dotted #ccc; color: #191919; padding:10px 0 30px 0;}
.content-text img{max-width:770px; margin: 20px auto;}
.content-text p{padding: 5px 0; text-indent: 2em}
.content-msg{ margin: 0; font: 12px/32px "Microsoft Yahei";  color: #888; padding-bottom: 20px; clear: both;overflow: hidden; }

.dot-l a::before {
    font-family: "iconfont" !important;
    font-weight: 600;
    content: "\e616";
    font-size: 16px;
    color: var(--color-primary);
    padding-right: 3px;
}
