﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}
a{color:inherit;text-decoration: none;transition: color 0.3s;}
a:hover {color: #3498db;}
/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    font-weight: bold;
    font-size: 1.2rem;
    color: #2c3e50;
}

.nav-links a {
    margin-left: 20px;
    color: #7f8c8d;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    right: 0;
    width: 200px;
    background: #fff;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-menu a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.mobile-menu a:hover {
    background: #f8f9fa;
}

/* 主体内容 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 页面主体结构 */
body {
    padding-top: 70px; /* 为导航栏留出空间 */
}

.page-header {
    text-align: center;
    margin-bottom: 30px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.banner {
    width: 100%;
    height: 300px;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/int/static/picture/bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.banner-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 1.2rem;
}

/* 筛选区域 */
.filter-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.filter-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.province-list {
    margin-bottom: 20px;
}

.province-list-title, .city-list-title {
    font-weight: bold;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.province-tags, .city-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.province-tag, .city-tag {
    padding: 8px 15px;
    background: #f1f1f1;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.province-tag:hover, .city-tag:hover {
    background: #e0e0e0;
}

.province-tag.active {
    background: #3498db;
    color: white;
}

.city-tag a {
    color: inherit;
    text-decoration: none;
}

/* 学校列表 */
.schools-section {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.schools-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.schools-section-header .filter-title {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.schools-section-header .more-link {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
}
.ftitle{font-size:15px;color:#505050;font-weight:300}
.org-item {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.org-item:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.org-logo {
    width: 120px;
    height: 120px;
    float: left;
    margin-right: 15px;
    object-fit: contain;
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 10px;
}

.org-title {
    display: block;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #2c3e50;
	height: 1.8rem;
    overflow: hidden;
}

.org-overview {
    display: block;
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 5px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 校园环境板块 */
.campus-section {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.campus-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.campus-section-header .section-title {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
    font-size: 1.3rem;
}

.campus-section-header .more-link {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
}

.campus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.campus-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.campus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.campus-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.campus-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.campus-info {
    padding: 20px;
    text-align: center;
}

.campus-name {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
    height: 1.6rem;
    line-height: 1.6rem;
    overflow: hidden;
}

.campus-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.campus-name a:hover {
    color: #3498db;
}

.campus-location {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* 资讯列表板块 */
.news-section {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.news-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.news-section-header .section-title {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
    font-size: 1.3rem;
}

.news-section-header .more-link {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.news-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.news-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.news-date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* 底部 */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
}
.hidden{display:none;}
/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
	/*.public-tools{display:none;}*/
	.wxicobut{display:none !important;}
    .mobile-menu-btn {
        display: block;
    }

    .banner {
        height: 200px;
    }

    .banner-content h1 {
        font-size: 1.8rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .schools-grid, .campus-grid, .news-grid {
        grid-template-columns: 1fr;
    }

    body {
        padding-top: 60px;
    }
    
    .org-logo {
        width: 100%;
        height: 150px;
        float: none;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
	/*.public-tools{display:none;}*/
	.wxicobut{display:none !important;}
    .school-info, .campus-info {
        padding: 15px;
    }

    .school-name, .campus-name {
        font-size: 1.1rem;
    }

    .mobile-menu {
        width: 100%;
        right: 0;
        left: 0;
    }
}