/* css/style.css */
body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    background-color: #ffffff;
    color: #222;
  }
  
  /* 顶部横幅 */
  .site-header {
    background: linear-gradient(90deg,#08153a 0%, #0b1940 60%);
    color: #fff;
    border-bottom: 4px solid #0d6efd;
  }
  .site-header h1 {
    font-size: 42px;
    margin: 0;
    letter-spacing: 2px;
  }
  .theme-badge {
    display: inline-block;
    margin-top: 6px;
    background: #ff6a00;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
  }
  
  /* 左侧列表块小间距 */
  aside .list-group-item {
    border-radius: 0;
  }
  .header-images img {
    width: 45%;       /* 宽度占父容器的45% */
    height: auto;     /* 高度自动，保持比例 */
    object-fit: cover;
    margin-right: 10px;
  }
  
/* ===== 左侧菜单样式 ===== */



.sidebar-title {
    font-size: 1.1rem;   /* 标题字体大小 */
    font-weight: bold;   /* 加粗 */
    color: #333;         /* 深灰色 */
    border-bottom: 2px solid #ccc; /* 标题下划线 */
    padding-bottom: 5px; /* 标题与下划线间距 */
    margin-bottom: 10px; /* 标题和下面内容的间距 */
  }
  
  .sidebar-link {
    font-size: 0.95rem;   /* 正文字体稍微小一点 */
    color: #555;          /* 普通文字灰色 */
    text-decoration: none; /* 去掉下划线 */
  }
  
  .sidebar-link:hover {
    color: #d9534f;      /* 鼠标移上去变红 */
  }
  
/* ===== 轮播图片 ===== */
  .carousel-item img {
    width: 100%;
    height: 300px;       /* 限制纵向高度，比如 400px，可改 */
    object-fit: cover;   /* 自动填充，超出部分裁切 */
  }
  



  /* 右侧重要日期 */
  .card .card-title { color: #dc3545; }
  
  /* footer */
  footer {
    margin-top: 30px;
  }
  