/* 校（院）概况页面样式 */
main .container {
    width: 1440px;
    margin: 0 auto;
    overflow: hidden;
}

/* 页面标题 */
.page-title {
    background-color: #f0f0f0;
    padding: 15px 0;
    margin-bottom: 20px;
}

.page-title h2 {
    color: #c00;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0;
}

/* 内容布局 */
.content-wrapper {
    display: flex;
    margin-bottom: 30px;
}

/* 侧边菜单 */
.sidebar-menu {
    width: 240px;
    flex-shrink: 0;
    margin-right: 20px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
    background-color: #c00;
    color: #fff;
    padding: 15px;
    font-weight: bold;
    border-radius: 4px 4px 0 0;
}

.sidebar-list {
    padding: 0;
    margin: 10px 30px;
    text-align: center;
}

.sidebar-list li {
    height: 35px;
    border-bottom: 1px solid #eee;
    margin-top: 13px;
    margin-bottom: 13px;
    display: block;
    overflow: hidden;
    line-height: 35px;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list li a {
    display: block;
    color: #B80E15;
    border-radius: 6px;
    background-color: #FEF0E3;
    font-size: 16px;
}

.sidebar-list li a:hover {
    background-color: #f9f9f9;
    color: #c00;
}

.sidebar-list li a.active {
    background-color: #B80E15;
    color: #fff;
}

/* 主要内容区域 */
.main-content {
    flex: 1;
    border-radius: 4px;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.section-header {
    background-color: white;
    line-height: 24px;
    padding: 15px;
}

.section-header h3::before {
    content: '';
    display: inline-block;
    float: left;
    width: 6px;
    border-radius: 3px;
    height: 24px;
    background-color: #af1015;
    margin-right: 10px;
}

.section-header h3 {
    color: #B80E15;
    font-size: 24px;
    position: relative;
    margin: 0;
}

.section-content {
    background-color: white;
    margin-top: 2px;
    line-height: 1.8;
    padding: 20px;
}

.section-content .title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 8px;
    display: block;
    text-align: center;
    color: #333333;
    line-height: 30px;
}

.section-content .sub_title {
    font-size: 16px;
    margin-top: 10px;
    display: block;   
     text-align: center;
    color: #999999;
    line-height: 30px;
}


.section-content p {
    margin-bottom: 15px;
    text-indent: 2em;
}
.section-content .tool{
    display: block;
    overflow: hidden;
    margin-top: 8px;
    width: 100%;
    text-align: center;
}


.section-content .tool>* {
 margin-left: 10px;
 margin-right: 10px;
 display: inline-block;
}
.section-content .rich-text{
 margin-top: 20px;
}

/* 校园映像 - 照片墙 */
.campus-gallery {
    margin: 20px 0;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    row-gap: 20px;
    padding-left: 25px;
    column-gap: 20px;
}

.gallery-grid  a {
    width: calc(33% - 20px);
    height: 240px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    height: 40px;
    background-color: #FEF0E3;
    color: #333333;
    font-size: 16px;
    text-align: left;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    background-color: #B80E15;
    color: #FFFFFF;
}

/* 分页器样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    font-size: 16px;
}

.pagination a, .pagination span {
    margin: 0 5px;
    padding: 5px 10px;
}

.page-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    padding: 0 !important;
    color: #333;
}

.page-number.active {
    background-color: #B80E15;
    color: #fff;
    border-color: #B80E15;
}

.prev-page, .next-page {
    color: #333;
}

.ellipsis {
    color: #333;
}

.jump-to {
    color: #333;
    margin-left: 15px;
}

.page-input {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    margin: 0 5px;
}

.page-text {
    color: #333;
}

/* 历史沿革 */
.history-timeline {
    position: relative;
    padding-left: 30px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #eee;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    position: absolute;
    left: -30px;
    width: 20px;
    height: 20px;
    background-color: #c00;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
}

.timeline-year::before {
    content: attr(data-year);
    position: absolute;
    left: -60px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.timeline-content {
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 15px;
    margin-left: 10px;
}

.timeline-content h4 {
    margin-top: 0;
    color: #c00;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.timeline-content p {
    margin: 0;
    text-indent: 0;
}

/* 领导信息 */
.leadership-list {
    margin: 0 -10px;
}

.leadership-item {
    display: flex;
    margin-bottom: 20px;
    padding: 0 10px;
}

.leadership-photo {
    width: 120px;
    height: 160px;
    margin-right: 20px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.leadership-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leadership-info h4 {
    margin-top: 0;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.leadership-info p {
    margin-bottom: 10px;
    text-indent: 0;
}

.leadership-info p:first-of-type {
    color: #666;
    font-style: italic;
}

/* 组织机构 */
.org-structure h4 {
    color: #c00;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.org-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.org-list li {
    width: 25%;
    padding: 10px;
    position: relative;
}

.org-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #c00;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 16px;
}

/* 校园风光 */
.campus-gallery {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}


.gallery-caption {
    background-color: #f5f5f5;
    padding: 8px;
    border-radius: 0 0 4px 4px;
    font-size: 0.9rem;
}

/* 联系方式 */
.contact-info p {
    margin-bottom: 10px;
    text-indent: 0;
}

.contact-map {
    margin: 20px 0;
    border-radius: 4px;
    overflow: hidden;
}

.contact-map img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.transportation h4 {
    color: #c00;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}


/* 调整页面标题 */
.page-title {
    margin-top: 50px;
    background: url(/images/xugk.png) no-repeat center center;
    background-size: cover;
    height: 50px;
    margin: 0 auto;
    width: 223px;
    text-align: center;
    font-size: 18px;
    color: #B80E15;
    line-height: 10px;
}


.top_ad_img{
    width: 100%;
    height: 400px;
    position: absolute;
    z-index: 1;
}

.top-name{
    font-size: 60px;
    color: #CF0A0A;
    margin-left: 50%;
    top: 120px;
    position: absolute;
    z-index: 10;
}
.top_ad{
    position: relative;
    overflow: hidden;
    height: 400px;
}


/* 响应式布局 */
@media screen and (max-width: 768px) {

    /* 隐藏侧边栏 */
    .sidebar-menu {
        display: none;
    }

    /* 调整内容布局 */
    .content-wrapper {
        flex-direction: column;
    }

    .main-content {
        margin-top: 20px;
    }

    /* 调整照片墙 */
    .photo-item {
        width: 50%;
    }

    /* 调整组织机构列表 */
    .org-list li {
        width: 50%;
    }

    /* 调整校园风光 */
    .gallery-item {
        width: 50%;
    }

    /* 调整领导信息 */
    .leadership-item {
        flex-direction: column;
    }

    .leadership-photo {
        margin-right: 0;
        margin-bottom: 10px;
    }

    /* 移动端显示当前内容标题 */
    .mobile-section-title {
        display: block;
        background-color: #f5f5f5;
        padding: 10px 15px;
        margin-bottom: 15px;
        font-weight: bold;
        color: #c00;
        border-left: 3px solid #c00;
    }
}

/* 分享菜单样式 */
.share-menu {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    width: 100px;
    top: 100%;
    left: 0;
    margin-top: 5px;
}

.share-item {
    padding: 5px 10px;
    margin: 2px 0;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.share-item:hover {
    background-color: #f5f5f5;
    color: #CF0A0A;
}

.tool {
    position: relative;
    display: flex;
    align-items: center;
}

.tool > a {
    position: relative;
    margin-right: 15px;
}

.fujian{
    width: 110px;
    height: 35px;
    background-color: #B80E15;
    display: block;
    color: #fff;
    text-align: center;
    line-height: 35px;
    margin-top: 30px;
}

.fujian_list{
    font-size: 16px;
    color: #666666;
    margin-top: 10px;
}
.fujian_list li{
    display: flex;
    align-items: center;
}
.fujian_list li a{
    color: #666666;
}
.fujian_list li::before{
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #666666;
    margin-right: 10px;
}

.down_nav{
    display: block;
    font-size: 16px;
}

.down_nav span:first-of-type{
    color: #333333;
}

.down_nav span:last-of-type{
    color: #666666;
}