* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}


/* 顶部横幅 */
.top-banner {
    color: white;
    padding: 8px 0;
    height: 180px;
    min-width: 1400px;
}

.top-banner-container {
    width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.school-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {}

.logo a {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 35px;
    color: #c00000;
    font-family: 宋体;
    font-weight: bold;
}

.logo img {
    display: block;
    height: 85px;
}

.search-box {
    display: flex;
    align-items: center;
    display: none;
}

.search-box input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    width: 250px;
}

.search-box input:focus {
    outline: none;
}

.search-box button {
    background-color: #0b6cb8;
    color: white;
    font-size: 14px;
    border: none;
    padding: 8px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}


/* ============ 桌面端导航样式 ============ */
.navbar {
    min-width: 1400px;
    background-color: #0b6cb8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    width: 1400px;
    margin: 0 auto;
}

.desktop-nav {
    display: flex;
    list-style: none;
    justify-content: space-between;
}

.desktop-nav li {
    position: relative;
}

.desktop-nav>li>a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    background-color: #0a5ca3;
}

/* 桌面端下拉菜单 */
.desktop-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

.desktop-nav li:hover .desktop-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.desktop-dropdown li {
    width: 100%;
}

.desktop-dropdown a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 16px;
    transition: all 0.3s;
    border-bottom: 1px solid #f0f0f0;
}

.desktop-dropdown a:hover {
    background-color: #f5f5f5;
    color: #0b6cb8;
}

/* 主要内容区域 */
.main-container {
    width: 1400px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* 左侧轮播 */
.work-dynamics {
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.slick-slider {
    height: calc(100% - 63px);
    padding: 16px 24px;
}

.slick-list {
    height: 100%;
}

.slick-track {
    height: 100%;
}

.slider-item {
    position: relative;
    height: 100%;
}

.slider-item a {
    height: 100%;
}

.item-pic {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.item-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-tit {
    margin-top: 15px;
    text-align: left;
    font-size: 20px;
    width: 100%;
    height: 45px;
    line-height: 45px;
    background-color: #00000060;
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    padding-left: 15px;
}

.slick-dots {
    width: auto;
    height: 45px;
    right: 30px;
    bottom: 16px;
    display: flex;
    align-items: center;
}

.slick-dots li {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid#fff;
    box-sizing: border-box;
}

.slick-dots li.slick-active {
    background: #fff;
}

.slick-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* background: rgba(128, 0, 128, .5) url(./ba-left.png) no-repeat; */
    background-size: 100% 100%;
}

.slick-arrow:hover {
    background-color: rgba(128, 0, 128, 1);
}

.slick-arrow.slick-prev {
    left: -50px;
}

.slick-arrow.slick-next {
    right: -50px;
}

/* 右侧工作动态 */
.work-board {
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-banner {
    background-color: #0b6cb8;
    color: white;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-banner.other {
    background-color: transparent;
    color: #0b6cb8;
    border-bottom: 1px solid #eee;
    padding: 16px 0;
    margin: 0 24px;
}

.banner-title {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.more-link {
    font-size: 15px;
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.more-link.other {
    color: #666;
}

.more-link:hover {
    opacity: 0.85;
}

.more-link.other:hover {
    color: #0b6cb8;
    opacity: 1;
}

.more-link::after {
    content: " >";
    font-weight: bold;
}

/* 动态列表 */
.dynamics-list {
    list-style: none;
    padding: 0;
}

.dynamic-item {
    display: flex;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.dynamic-item:last-child {
    border-bottom: none;
}

.dynamic-item:hover {
    background-color: #f9f9f9;
}

/* 左侧数字日期区域 */
.date-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
    min-width: 80px;
}

.day-number {
    color: #0b6cb8;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.month-year {
    color: #666;
    font-size: 13px;
    margin-top: 4px;
}

/* 右侧内容区域 */
.content-section {
    flex: 1;
    display: flex;
    align-items: center;
}

.content-text {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dynamic-item:hover .content-text {
    color: #0b6cb8;
}


/* 底部区域 */
.bottom-sections {
    width: 1400px;
    margin: 30px auto 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bottom-section {
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bottom-section .section-header {
    background-color: #c00;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-section .section-header h2 {
    font-size: 18px;
    font-weight: normal;
}

/* 新增：底部新闻列表样式 */
.bottom-section .news-list {
    padding: 20px;
}

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-item:hover {}

.news-title {
    flex: 1;
    font-size: 16px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
    transition: color 0.2s;
}

.news-title:hover {
    color: #0b6cb8;
}

.news-date {
    font-size: 14px;
    color: #999;
    white-space: nowrap;
}

/* 新增：友情链接样式 */
.friendly-links {
    width: 1400px;
    margin: 30px auto;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px 24px;
}

.friendly-links-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.friendly-links-title {
    font-size: 18px;
    font-weight: bold;
    color: #0b6cb8;
    margin-right: 20px;
}

.friendly-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
}

.friendly-link {
    display: inline-block;
    font-size: 16px;
    color: #333;
    padding: 8px 0;
    transition: all 0.3s;
}

.friendly-link:hover {
    color: #0b6cb8;
    transform: translateY(-2px);
}

.friendly-link::before {
    content: "•";
    color: #0b6cb8;
    margin-right: 8px;
    font-weight: bold;
}


/* 页脚 */
footer {
    min-width: 1400px;
    background-color: #0b6cb8;
    color: #fff;
    margin-top: 40px;
    padding-top: 15px;
}

.footer-container {
    width: 1400px;
    margin: 0 auto;
    padding: 0 0 15px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 45px;
}

.contact-info p {
    font-size: 16px;
}

.copyright {
    background-color: #0a5ca3;
    text-align: center;
    padding: 15px;
    font-size: 16px;
    color: #fff;
}