/* 基础样式 */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1 0 auto;
}

/* 继承基础样式 */
.container {
  width: 1200px;
  margin: 0 auto;
}

.nav {
  height: 60px;
  background: #8B0000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 20px;
  font-size: 18px;
}

/* 历史文化页面特有样式 */
.history-content {
  padding: 30px 0;
}

.section {
  margin-bottom: 50px;
}

.section-title {
  font-size: 28px;
  color: #8B0000;
  text-align: center;
  margin-bottom: 30px;
}

.history-item {
  display: flex;
  margin-bottom: 30px;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 10px;
}

.history-img {
  width: 300px;
  height: 200px;
  margin-right: 20px;
}

.history-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.history-text {
  flex: 1;
}

.history-text h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 15px;
}

.history-text p {
  line-height: 1.8;
  color: #666;
  text-indent: 2em;
}

/* 页脚样式 */
.footer {
  flex-shrink: 0;
  background: #8B0000;
  color: #fff;
  padding: 20px 0;
  width: 100%;
}

.footer-content {
  width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}

.footer-content p {
  margin: 5px 0;
}

.footer-content a {
  color: #fff;
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
} 