* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft Yahei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    width: 100%;
}

/* 容器：居中+响应式宽度 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.container-img{
     
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 30px;
}
.post-excerpt img{
    width: 100%;
}
.container .phone{
    font-size: 1.8rem;
    line-height:80px;
    margin-left: auto;
    font-weight: bold;
    color: red;
}
/* 头部样式 */
.site-header {
    width: 100%;
    background-color: #f8f8f8;
    color: #ff9c00;
    padding: 20px 0;
    text-align: center;
}

.site-title {
    font-size: 2rem;
    line-height:80px;
    margin-right: 10px;
    font-weight: bold;
}

.site-description {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height:85px
}

/* 导航栏样式：粘性定位+自适应 */
.site-nav {
    display: block;
    background-color: #0c3778;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    padding: 15px 0;
    display: block;
    font-weight: 500;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: #ffd700;
}

.menu-toggle {
    display: none; /* 桌面端隐藏汉堡菜单 */
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    padding: 15px;
    cursor: pointer;
}

/* 主内容区：弹性布局+响应式列 */
.site-main {
    padding: 30px 0;
}

.container {
    display: flex;
    flex-wrap: wrap;
}

.content-area {
    width: 100%;
    flex: 1 1 700px;
    padding-right: 30px;
}

.sidebar {
    flex: 1 1 300px;
    min-width: 250px;
}

/* 博客文章样式 */
.post {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.post-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
}

.post-title a {
    color: #333;
    text-decoration: none;
}

.post-title a:hover {
    color: #0c3778;
}

.post-meta {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.post-meta i {
    margin-right: 5px;
}

.post-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.post-excerpt p {
    margin-bottom: 15px;
    text-indent: 2rem;
}

.read-more {
    display: inline-block;
    background-color: #0c3778;
    color: #fff;
    padding: 8px 15px;
    border-radius: 3px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #286090;
}

/* 分页样式 */
.pagination {
    text-align: center;
    margin-top: 30px;
}

.page-number,
.prev-page,
.next-page {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
}

.page-number.active {
    background-color: #0c3778;
    color: #fff;
    border-color: #0c3778;
}

.page-number:hover,
.prev-page:hover,
.next-page:hover {
    background-color: #f5f5f5;
}

/* 侧边栏小部件样式 */
.widget {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0c3778;
}

.search-form {
    display: flex;
}

.search-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px 0 0 3px;
}

.search-submit {
    background-color: #0c3778;
    color: #fff;
    border: none;
    padding: 0 15px;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
}

.category-list,
.recent-posts {
    list-style: none;
}

.category-list li,
.recent-posts li {
    margin-bottom: 10px;
}

.category-list a,
.recent-posts a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    border-bottom: 1px solid #f5f5f5;
}

.category-list a:hover,
.recent-posts a:hover {
    color: #0c3778;
}

.count {
    background-color: #eee;
    padding: 2px 5px;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-left: 5px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    background-color: #f0f0f0;
    color: #333;
    padding: 5px 10px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.tag-cloud a:hover {
    background-color: #0c3778;
    color: #fff;
}

/* 页脚样式 */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.copyright {
    margin-bottom: 15px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ffd700;
}
.banner img{
   width: 100%; 
}
/* 导航容器样式 */
        .nav-wrapper {
            display: none;
        }
        /* 单个导航项样式 */
        .nav-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: #333;
        }
        /* 图标样式 */
        .nav-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: #f89828; /* 橙色背景 */
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 5px;
            color: white; /* 图标颜色为白色 */
            font-size: 24px;
        }
        /* 文字样式 */
        .nav-text {
            font-size: 14px;
        }
        /* 下拉箭头样式 */
        .dropdown-arrow {
            margin-top: 10px;
            font-size: 12px;
            color: #999;
        }
        .onphone{
            display: none;
        }
    
/* 媒体查询：移动端适配（768px 以下） */
@media (max-width: 768px) {
    .onphone{
            display: block;
           width: 90%;
           margin: 0 5%;
           padding: 15px 0;
           border-radius: 10px;
           background: #f90;
           position: fixed;
           bottom: 10px;
           color: #fff;
           text-align: center;
           font-size: 18px;
        }
    .banner{
        width: 100%;
    }
    .container-img{
        margin-left: 20px;
    }
    .banner img{
        height: 130px;
    }
    .container .phone{
        margin: 0;
        width: 100%;
        text-align: center;
    }
    .site-description{
        display: none;
    }
    .container{
        max-width: 480px;
        padding: 0;
        text-align: center;
    }
    .site-title {
        font-size: 22px;
    }

    .menu-toggle {
        display: block; /* 移动端显示汉堡菜单 */
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        display: none; /* 初始隐藏移动端菜单 */
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .phone{
        display: none;
    }
    .site-main{
        padding: 30px 10px;
    }
    .content-area {
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .post-title {
        font-size: 1.5rem;
        text-align: center;
    }
    .copyright{
        width: 100%;
        text-align: center;
    }
    .nav-container{
       padding: 10px 20px; 
    }
    .nav-wrapper {
        display: block;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px 0;
    }
    .site-nav{
        display: none;
    }
}

/* 媒体查询：小屏手机适配（480px 以下） */
@media (max-width: 480px) {
    .onphone{
            display: block;
           width: 90%;
           margin: 0 5%;
           padding: 15px 0;
           border-radius: 10px;
           background: #f90;
           position: fixed;
           bottom: 10px;
           color: #fff;
           text-align: center;
           font-size: 18px;
        }
    .banner img{
        height: 130px;
    }
    .nav-wrapper {
        display: block;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px 0;
    }
    .site-nav{
        display: none;
    }
    .copyright{
        width: 100%;
        text-align: center;
    }
    .site-main{
        padding: 30px 10px;
    }
    .phone{
        display: none;
    }
    .content-area {
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }
    .site-title {
        font-size: 22px;
    }
    .container{
        width: 100%;
        padding: 0;
    }
    .post-meta {
        flex-wrap: wrap;
    }
    .site-description{
        display: none;
    }
    .container .phone{
        margin: 0;
        width: 100%;
        text-align: center;
    }
    .post-meta span {
        display: block;
        margin-bottom: 5px;
    }
    .container-img{
        margin-left: 20px;
    }
}

/* 面包屑导航样式 */
.breadcrumb {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #007bff;
}

/* 学校简介板块样式 */
.intro-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee; /* 底部分割线（可选） */
}

.intro-section h2 {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.intro-section .icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #ffb74d; /* 橙色图标模拟 */
    border-radius: 50%;
    margin-right: 5px;
}

.intro-section .more {
    font-size: 14px;
    color: #f90; /* 橙色链接 */
    text-decoration: none;
    font-weight: bold;
}

.intro-section .more:hover {
    text-decoration: underline;
}
.fontsize{
    font-size: 26px;
    color: #000;
    font-weight: bold;
}
.text-ellipsis {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 100%;
    }
    .text-sm{
        white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 200px;
    }
.animate-slide-up p{
    text-indent: 2rem;
}
.leading-relaxed a{
    text-decoration: underline;
  color: #2c3e50; 
}
.fontsize{
        text-indent: 0 !important;
}