/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", sans-serif;
}

.container {
  width: 1200px;
  margin: 0 auto;
}

/* 顶部导航条 */
.top-bar {
  background-color: #00478F;
  height: 60px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* Logo区域 */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.school-name {
  color: #FFF;
  font-size: 24px;
}

/* 右侧菜单 */
.right-menu {
  display: flex;
  align-items: center;
}

.right-menu a {
  color: #FFF;
  text-decoration: none;
  margin-left: 20px;
}

.search-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(search.png) no-repeat center;
  background-size: contain;
}

/* 主导航 */
.main-nav {
  background-color: #F5F5F5;
  border-bottom: 1px solid #E5E5E5;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-list li {
  border-right: 1px solid #E5E5E5;
}

.nav-list li:first-child {
  border-left: 1px solid #E5E5E5;
}

.nav-list a {
  display: block;
  padding: 15px 25px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
}

.nav-list a:hover {
  background-color: #E5E5E5;
}

/* 轮播图样式 */
.banner {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.banner-container {
  width: 100%;
  max-width: 100%;
  height: 100%;
  position: relative;
}

.banner-list {
  width: 100%;
  height: 100%;
  position: relative;
}

.banner-item {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

.banner-item.active {
  opacity: 1;
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-text {
  position: absolute;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  text-align: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 50px;
}

.banner-text h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.banner-text p {
  font-size: 16px;
}

/* 箭头按钮 */
.banner-arrows {
  position: absolute;
  width: 100%;
  max-width: 1400px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.arrow {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.arrow:hover {
  background: rgba(0,0,0,0.8);
}

.arrow-left {
  left: 20px;
}

.arrow-right {
  right: 20px;
}

/* 指示器 */
.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.dot:hover,
.dot.active {
  background: #fff;
}

/* 新闻列表样式 */
.news {
  padding: 30px 0;
  background: #fff;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 2px solid #00478F;
  margin-bottom: 20px;
}

.news-title {
  font-size: 20px;
  color: #00478F;
  font-weight: bold;
}

.news-more {
  color: #666;
  text-decoration: none;
  font-size: 14px;
}

.news-more:hover {
  color: #00478F;
}

.news-list {
  list-style: none;
}

.news-item {
  margin-bottom: 15px;
}

.news-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  padding: 5px 0;
}

.news-item a:hover {
  color: #00478F;
}

.news-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-date {
  color: #999;
  font-size: 14px;
  margin-left: 20px;
}

.news-tag {
  background: #f00;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 3px;
  margin: 0 10px;
}

/* 三栏新闻列表 */
.news-columns {
  padding: 30px 0;
  background: #f5f5f5;
}

.news-columns .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.column {
  flex: 1;
  background: #fff;
  padding: 20px;
}

.column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #8B4513;
  margin-bottom: 15px;
}

.column-title {
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

.column-more {
  color: #666;
  text-decoration: none;
  font-size: 14px;
}

.column-more:hover {
  color: #00478F;
}

.column-list {
  list-style: none;
}

.column-item {
  margin-bottom: 12px;
}

.column-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #333;
  padding: 5px 0;
}

.column-item a:hover {
  color: #00478F;
}

.column-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 15px;
}

.column-date {
  color: #999;
  font-size: 14px;
}

/* 校园服务样式 */
.campus-service {
  padding: 30px 0;
  background: #f5f5f5;
}

.section-title {
  font-size: 20px;
  color: #333;
  font-weight: bold;
  margin-bottom: 20px;
  padding-left: 10px;
  border-left: 4px solid #8B4513;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
  background: #fff;
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  padding: 15px 10px;
  transition: all 0.3s;
}

.service-item:hover {
  transform: translateY(-5px);
  color: #00478F;
}

.service-item i {
  font-size: 32px;
  color: #00478F;
  margin-bottom: 10px;
}

.service-item span {
  font-size: 14px;
  text-align: center;
}

/* 专题网站样式 */
.special-sites {
  padding: 30px 0;
  background: #fff;
}

.sites-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.site-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  text-align: center;
  border-radius: 4px;
  transition: all 0.3s;
}

.site-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  opacity: 0.9;
}

/* 页脚样式 */
.footer {
  background-color: #00478F;
  color: #fff;
  padding: 30px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

.footer-logo span {
  font-size: 20px;
}

.footer-info {
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
}

/* 面包屑导航 */
.breadcrumb {
  padding: 15px 0;
  background: #f5f5f5;
  color: #666;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #00478F;
}

.breadcrumb span {
  margin: 0 5px;
}

/* 页面内容区域 */
.page-content {
  padding: 30px 0;
  background: #fff;
}

.content-wrapper {
  display: flex;
  gap: 30px;
}

/* 左侧菜单 */
.side-menu {
  width: 240px;
  flex-shrink: 0;
}

.side-title {
  font-size: 20px;
  color: #fff;
  background: #00478F;
  padding: 15px 20px;
  margin: 0;
}

.side-list {
  list-style: none;
  border: 1px solid #e5e5e5;
}

.side-list li {
  border-bottom: 1px solid #e5e5e5;
}

.side-list li:last-child {
  border-bottom: none;
}

.side-list a {
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s;
}

.side-list a:hover,
.side-list .active a {
  background: #f5f5f5;
  color: #00478F;
}

/* 右侧内容区域 */
.main-content {
  flex: 1;
  min-width: 0;
}

.page-title {
  font-size: 24px;
  color: #333;
  padding-bottom: 15px;
  border-bottom: 2px solid #00478F;
  margin-bottom: 20px;
}

.article {
  line-height: 1.8;
  color: #333;
}

.article p {
  margin-bottom: 1em;
  text-indent: 2em;
} 