﻿/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    color: var(--white);
	padding: 15px 0;
	position: sticky;
	top: 0;
	z-index: 1000;
    box-shadow: var(--shadow);
	background-color: #03793e;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}
.active a{
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 5px 15px;
}

.search-box input {
    background: none;
    border: none;
    color: var(--white);
    padding: 5px;
    outline: none;
    width: 150px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-btn {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 14px;
}

.login-btn {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.login-btn:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* 轮播图 */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 80px 50px 40px;
    color: var(--white);
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* 快讯栏 */
.breaking-news {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.breaking-news .container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.news-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--secondary-color);
    white-space: nowrap;
}

.label-icon {
    font-size: 20px;
}

.news-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-item {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 15s linear infinite;
    padding-right: 50px;
    color: var(--text-light);
}
.page a{display:inline-block;list-style:none;text-decoration:none;color:#03793e;font-family:"微软雅黑";font-size: 14px;}
.page a:hover,.spage a:hover{border-color:#f71323}
.page span.current{background:#00afc7;color:#FFF;font-weight:200;font-size:12px;border-color:#17316f}
.page{height:30px;font-family:"微软雅黑";font-size:0px;}
.page b{font-size: 14px;}
.page a,.page span{
    display:inline-block;
    padding:2px 3px;
    margin:0 1px;
    border:1px solid #e4e4e4;
    -webkit-border-radius:2px;
    -moz-border-radius:2px;
    border-radius:5px;
    }
@keyframes ticker {
    0%, 20% { transform: translateX(100%); }
    80%, 100% { transform: translateX(-100%); }
}

/* 主内容区 */
.main-content {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 30px;
    padding: 30px 20px;
}

/* 卡片通用样式 */
.section-card {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.section-header h2 {
    font-size: 22px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    font-size: 24px;
}

.more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.more-link:hover {
    color: var(--secondary-color);
}

/* 热门推荐 */
.hot-news {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.hot-item.featured {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.hot-item.featured img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.hot-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 20px;
    color: var(--white);
}

.tag {
    display: inline-block;
    background: var(--primary-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hot-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.hot-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    opacity: 0.8;
}

.hot-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hot-item-small {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.hot-item-small:hover {
    background: #e6ebf5;
    transform: translateX(5px);
}

.rank {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.hot-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.meta-small {
    font-size: 12px;
    color: var(--text-light);
}

/* 新闻卡片 */
.category-tabs {
    display: flex;
    gap: 10px;
}

.tab-btn {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-card {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-body {
    padding: 15px;
}

.category-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.category-badge.policy {
    background: #e6f7ff;
    color: #1890ff;
}

.category-badge.school {
    background: #f6ffed;
    color: #52c41a;
}

.category-badge.exam {
    background: #fff7e6;
    color: #fa8c16;
}

.news-body h3 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-body p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

.load-more-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s;
}

.load-more-btn:hover {
    background: var(--secondary-color);
}

/* 资源卡片 */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.resource-card {
    background: linear-gradient(135deg, #667eea10, #764ba210);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.resource-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.resource-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.resource-card p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.resource-count {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

/* 就业创业 */
.career-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.career-item {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}
.career-item a{text-decoration: none;color: #2d3748;}
.career-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.career-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.career-content {
    padding: 15px;
}

.job-type {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
}

.career-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.career-content p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.career-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: #999;
}

/* 校园生活 */
.life-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.life-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.life-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.life-item:hover img {
    transform: scale(1.1);
}

.life-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 15px 15px;
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.3s;
}

.life-item:hover .life-overlay {
    transform: translateY(0);
}

.life-overlay h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.life-overlay p {
    font-size: 12px;
    opacity: 0.9;
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.user-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    color: var(--white);
}

.user-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
}

.user-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.user-info p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.login-card-btn {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 8px 25px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.login-card-btn:hover {
    transform: scale(1.05);
}

.sidebar-card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-icon {
    font-size: 18px;
}

/* 热门话题 */
.topic-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.topic-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: var(--bg-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
}

.topic-item:hover {
    background: #e6ebf5;
    transform: translateX(5px);
}

.topic-tag {
    font-size: 14px;
    color: var(--primary-color);
}

.topic-count {
    font-size: 12px;
    color: #999;
}

/* 每日推荐 */
.daily-recommend {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.daily-recommend a{text-decoration: none;color: #2d3748;}
.recommend-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.recommend-item:hover {
    background: #e6ebf5;
}

.recommend-item img {
    width: 60px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
}

.recommend-item h4 {
    font-size: 13px;
    line-height: 1.4;
    margin: auto 0;
}

/* 招聘日历 */
.calendar-events {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s;
}

.event-item:hover {
    background: #e6ebf5;
    transform: translateX(5px);
}

.event-date {
    text-align: center;
    min-width: 50px;
}

.event-date .day {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.event-date .month {
    font-size: 11px;
    color: var(--text-light);
}

.event-info h4 {
    font-size: 13px;
    margin-bottom: 5px;
}

.event-info p {
    font-size: 11px;
    color: #999;
}

/* 友情链接 */
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.friend-links a {
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
    transition: all 0.3s;
}

.friend-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* 页脚 */
.footer {
	background: linear-gradient(135deg, #1a202c, #2d3748);
    color: var(--white);
	padding: 10px 0 10px;
	margin-top: 10px;
	font-size: 14px;
	text-align: center;
}
.footer a{text-decoration:none;color: #fff;}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    font-size: 24px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }

    .hot-news {
        grid-template-columns: 1fr;
    }

    .news-grid,
    .resource-grid,
    .career-grid,
    .life-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }
   .sidebar-card,.nav-actions{display:none}
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
 .nav-menu a {padding: 8px 6px;}
    .search-box {
        width: 100%;
    }

    .search-box input {
        width: 100%;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
    }

    .search-box {
        width: 100%;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .news-grid,
    .resource-grid,
    .career-grid,
    .life-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .category-tabs {
        flex-wrap: wrap;
    }
}
