  /* 基本样式 */
  *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  a {
    color: #0f243a;
    text-decoration: none;
  }
  body {
    font-family: Arial, sans-serif;
    background-color: #eff2f6;
    margin: 0;
    padding: 0;
    min-height: 100vh; /* 设置最小高度为视口高度，确保内容撑开 */
    position: relative; /* 设置相对定位，以便固定底部元素 */
  }
  header {
    position: fixed;
    width: 100%;
    z-index: 100;
    background-color: var(--white);
    backdrop-filter: blur(10.5px);
    -webkit-backdrop-filter: blur(10.5px);
    border: 0 solid rgba(255,255,255,.07);
    box-shadow: rgba(142,142,142,.07) 0 6px 15px 0;
    -webkit-box-shadow: rgba(142,142,142,.07) 0 6px 15px 0;
    border-radius: 0;
    -webkit-border-radius: 0;
    background: rgba(255,255,255,0.8) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    height: 70px;
    padding: 0 10%;
  }
  header h1 {
    width: 150px;
    display: flex;
    align-items: center;
  }
  header h1 a {
    font-size: 20px;
  }
  header p {
    flex: auto;
    display: flex;
    justify-content: space-between;
  }
  header p a:hover {
    color: #0056b3;
  }
  .body {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 60px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
  }
  .body-left {
    flex: 1 1;
  }
  .body-right {
    width: 25%;
    margin-left: 20px;
  }
  .body-right-det {
    border-radius: 5px;
    border: none;
    box-shadow: 0 0 0 0 rgba(0,0,0,.08)!important;
    background-color: #ffffff;
    margin-bottom: 10px;
  }
  .body-right-det-bj {
    background: repeating-linear-gradient(#05a9e5, #009cd5 10%, #24b9ee 20%);
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .body-right-det-con {
    padding: 20px;
    font-size: 14px;
    text-indent: 2em;
  }
  .add-resource-form {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
  }
  .add-resource-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
  }
  .add-resource-form input[type="text"], 
  .add-resource-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
  }
  .add-resource-form input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
  }
  .add-resource-form input[type="submit"]:hover {
    background-color: #0056b3;
  }
  .resource-list {
    list-style: none;
    margin-bottom: 50px;
    padding: 0;
  }
  .resource-list li {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
  }
  .resource-list li:hover {
    transform: translateY(-5px);
  }
  .resource-list li h2 {
    font-size: 1.2rem;
    margin-top: 0;
  }
  .resource-list li p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
        word-break: break-word;
  }
  .body-right .resource-list li h2 a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  } 
  .body-right .resource-list li p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 0px 0;
    bottom: 0;
    width: 100%;
    height: 90px;
    align-items: center;
    justify-content: center;
  }
@media(max-width: 992px) {
  header {
    padding: 10px;
  }
  header span {
    display: none;
  }
  .body {
    padding-top: 95px;
    max-width:100%;
    flex-direction: column-reverse;
  }
  .body-right {
    margin-left: 0;
    width: 100%;
  }
  .body-right .resource-list {
    display: none;
  }
}
@media(max-width: 1200px) {
  header {
    padding: 30px;
  }
  .body {
    padding-top: 95px;
    max-width: 100%;
  }
}
@media(min-width: 1200px) {
  .body {
    padding-top: 95px;
    max-width: 1140px;
  }
}
