/* 保持与原网站相似的布局样式 - 1:3比例 */
.column-left {
  float: left !important;
  width: 25% !important;
  text-align: center !important;
  padding-right: 10px !important;
}

.column-right {
  float: right !important;
  width: 75% !important;
  text-align: center !important;
  padding-left: 10px !important;
}

/* 深蓝色导航栏样式 - 使用更强的选择器 */
.navbar[data-bs-theme="dark"] {
  background-color: #1e3a8a !important; /* 深蓝色 */
}

.navbar[data-bs-theme="dark"] .navbar-brand,
.navbar[data-bs-theme="dark"] .navbar-nav .nav-link {
  color: white !important;
}

.navbar[data-bs-theme="dark"] .navbar-nav .nav-link:hover {
  color: #93c5fd !important; /* 浅蓝色悬停效果 */
}

/* 额外的导航栏样式覆盖 */
.navbar {
  background-color: #1e3a8a !important;
}

.navbar-brand {
  color: white !important;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-nav .nav-link:hover {
  color: #93c5fd !important;
}

/* 清除浮动 */
.clearfix::after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}

.column-center {
  float: center;
  width: 66%;
  text-align: left;
}

/* 改善图片显示 */
img {
  max-width: 100%;
  height: auto;
}

/* 头像照片大小控制 */
.about-entity .about-image {
  max-width: 200px !important;  /* 调整头像最大宽度为200px */
  width: 200px !important;
  height: auto;
}

/* 或者使用更具体的选择器 */
.about-entity img {
  max-width: 200px;
  width: 200px;
  height: auto;
  border-radius: 8px;  /* 添加圆角效果 */
}

/* 新闻部分样式 */
.news-section {
  margin-top: 2rem;
}

.news-item {
  margin-bottom: 1.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .column-left, .column-right {
    float: none;
    width: 100%;
    text-align: left;
  }
  
  /* 移动端头像更小 */
  .about-entity .about-image,
  .about-entity img {
    max-width: 150px !important;
    width: 150px !important;
  }
}

/* 字体大小调整 */
.large-text {
  font-size: 1.1rem;
}

/* 分隔线样式 */
hr {
  margin: 2rem 0;
  border: none;
  height: 1px;
  background-color: #dee2e6;
}

/* 中文字体优化 */
.chinese-text {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
} 