/* 资讯侧边栏 */
.news-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 热门资讯 */
.hot-news {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.hot-news-list {
    display: flex;
    flex-direction: column;
}

.hot-news-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e6ed;
}

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

.hot-news-rank {
    display: flex;
    align-items: center;
    justify-content: center;
	padding: 5px 10px;
    background-color: #e0e6ed;
    color: #555;
    border-radius: 4px;
    margin-right: 12px;
    font-size: 14px;
    font-weight: bold;
}

.hot-news-item:nth-child(1) .hot-news-rank {
    background-color: #e74c3c;
    color: #fff;
}

.hot-news-item:nth-child(2) .hot-news-rank {
    background-color: #f39c12;
    color: #fff;
}

.hot-news-item:nth-child(3) .hot-news-rank {
    background-color: #2ecc71;
    color: #fff;
}

.hot-news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.hot-news-title a:hover {
    color: #2057a0;
}

/* 专题专栏 */
.special-topics {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.special-topics-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.special-topic-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f5f7fa;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.special-topic-item:hover {
    background-color: #2057a0;
    color: #fff;
}

.special-topic-item i {
    margin-right: 8px;
    font-size: 16px;
}

.special-topic-item span {
    font-size: 14px;
}

/* 资讯分类 */
.news-archive {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.archive-list {
    display: flex;
    flex-direction: column;
}

.archive-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e6ed;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

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

.archive-item:hover {
    color: #2057a0;
}

.archive-date {
    font-size: 16px;
}

.archive-count {
    background-color: #f5f7fa;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
}

/* 带图标的栏目分类样式 */
.news-categories-icon .categories-list {
    display: flex;
    flex-direction: column;
    /* border: 1px solid #eaeef1;
    border-radius: 6px; */
    overflow: hidden;
}

.news-categories-icon .category-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eaeef1;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.news-categories-icon .category-item:last-child {
    border-bottom: none;
}

.news-categories-icon .category-item:hover {
    background-color: #f5f8fa;
    color: #2057a0;
}

.news-categories-icon .category-item.active {
    background-color: #2057a0;
    color: #fff;
}

.news-categories-icon .category-name {
    position: relative;
    padding-left: 25px;
    display: flex;
    align-items: center;
    width: 100%;
}

.news-categories-icon .category-name::before {
    content: "\ea1c"; /* 右向箭头图标 */
    font-family: "font_icons";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}

.news-categories-icon .category-item.active .category-name::before {
    color: #fff;
}   

/* 推荐专题模块样式 */
.recommended-topics .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #2057a0;
    margin-bottom: 15px;
}

.recommended-topics .section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2057a0;
    margin: 0;
}

.recommended-topics .section-header .more-link {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recommended-topics .section-header .more-link:hover {
    color: #2057a0;
}

.recommended-topics .section-header .more-link i {
    font-size: 12px;
    margin-left: 3px;
}

.recommended-topics-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recommended-topic-item {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.recommended-topic-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.recommended-topic-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 比例 */
    overflow: hidden;
}

.recommended-topic-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.5s ease;
}

.recommended-topic-item:hover .recommended-topic-image img {
    transform: scale(1.05);
}

.topic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    padding: 15px 12px;
    transition: all 0.3s ease;
}

.topic-title {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    display: block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.recommended-topic-item:hover .topic-overlay {
    background: linear-gradient(to top, rgba(32, 87, 160, 0.9), rgba(32, 87, 160, 0.5), rgba(0, 0, 0, 0));
}
/* 推荐专题模块样式 - 添加文章数量显示 */
.topic-article-count {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: normal;
    display: block;
    margin-top: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.recommended-topic-item:hover .topic-article-count {
    color: rgba(255, 255, 255, 0.95);
}

/* 调整覆盖层内边距，确保有足够空间显示文章数量 */
.topic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    padding: 18px 12px;
    transition: all 0.3s ease;
}


/* 最新通知模块样式 */
.latest-notices .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #2057a0;
    margin-bottom: 5px;
}

.latest-notices .section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2057a0;
    margin: 0;
}

.latest-notices .section-header .more-link {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-notices .section-header .more-link:hover {
    color: #2057a0;
}

.latest-notices .section-header .more-link i {
    font-size: 12px;
    margin-left: 3px;
}

.latest-notices-list {
    padding: 10px 0;
}

.latest-notice-item {
    padding: 12px 0;
    border-bottom: 1px dashed #eaeef1;
    transition: all 0.3s ease;
}

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

.latest-notice-content {
    display: flex;
    flex-direction: column;
}

.latest-notice-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 500;
}

.latest-notice-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.latest-notice-title a:hover {
    color: #2057a0;
}

.latest-notice-meta {
    font-size: 13px;
    color: #888;
}

.latest-notice-date {
    display: inline-block;
}

.latest-notice-date i {
    margin-right: 4px;
}


/* 联系我们模块样式 */
.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px dashed #eaeef1;
}

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

.contact-item i {
    font-size: 18px;
    color: #2057a0;
    margin-top: 3px;
    width: 25px;
    text-align: center;
}

.contact-text {
    flex: 1;
    padding-left: 15px;
}

.contact-text h4 {
    margin: 0 0 5px 0;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.contact-text p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.contact-qrcode {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eaeef1;
}

.contact-qrcode img {
    width: 120px;
    height: 120px;
    border: 1px solid #eaeef1;
    padding: 5px;
    background-color: #fff;
}

.contact-qrcode p {
    margin: 8px 0 0 0;
    font-size: 14px;
    color: #666;
}

/* 栏目分类样式带统计数字 */
.news-categories .categories-list {
    display: flex;
    flex-direction: column;
}

.news-categories .category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eaeef1;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-categories .category-item:last-child {
    border-bottom: none;
}

.news-categories .category-item:hover {
    background-color: #f5f8fa;
    color: #2057a0;
    padding-left: 20px;
}

.news-categories .category-name {
    position: relative;
    padding-left: 18px;
}

.news-categories .category-name::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #2057a0;
    border-radius: 50%;
}

.news-categories .category-count {
    background-color: #eaeef1;
    color: #666;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.news-categories .category-item:hover .category-count {
    background-color: #2057a0;
    color: #fff;
}

@media (max-width: 768px) {
	.news-sidebar-column{
		display: none;
	}
}


