 body {
      font-family: 'Arial', sans-serif;
      line-height: 1.6;
      margin: 0;
      padding: 0;
      background-color: #f9f9f9;
    }

    .custom-header {
      background-color: #ff9624;
      padding: 10px 20px;
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .layui-logo {
      color: #fff;
      font-size: 24px;
      font-weight: bold;
    }
   .layui-logo a{
      color: #fff!important;
    text-decoration: dashed;
    }
    .menu-icon {
      display: none; 
      font-size: 24px;
      cursor: pointer;
      color: #fff;
    }

    .layui-nav {
      display: flex;
      align-items: center;
      margin: 0;
      padding: 0;
    }

    .layui-nav-item {
      list-style: none;
    }

    .layui-nav-item a {
      color: #fff;
      font-size: 16px;
      padding: 10px 15px;
      text-decoration: none;
      display: block;
      transition: background-color 0.3s ease;
    }

    .layui-nav-item a:hover {
      background-color: #004d40;
    }

    .layui-container {
      padding: 20px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      margin-top: 20px;
    }

    h1 {
      font-size: 32px;
      font-weight: bold;
      color: #333;
      margin-bottom: 10px;
    }

    .meta-info {
      color: #666;
      font-size: 14px;
      margin-bottom: 20px;
    }

    .meta-info span {
      margin-right: 10px;
    }

    .content {
      font-size: 16px;
      color: #333;
      line-height: 1.8;
    }



.content img {
    display: block;           /* 确保图片是块级元素 */
    width:650px;
    height: auto;
    border-radius: 8px;
    margin: 20px auto;        /* 上下边距20px，左右自动（居中） */
    text-align: center;       /* 这个对img本身无效，可以去掉 */
}

    .content p {
      margin-bottom: 20px;
    }

    .content ul {
      margin-bottom: 20px;
      padding-left: 20px;
    }

    .content ul li {
      margin-bottom: 10px;
    }

    .related-articles {
      margin-top: 40px;
    }

    .related-articles h3 {
      font-size: 24px;
      font-weight: bold;
      color: #333;
      margin-bottom: 20px;
    }

    .related-articles .layui-card {
      margin-bottom: 20px;
    }

    .related-articles .image-container {
      position: relative;
      height: 200px;
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .related-articles .image-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .related-articles .layui-card-body {
      padding: 15px;
    }

    .related-articles .layui-card-body h4 {
      font-size: 18px;
      font-weight: bold;
      color: #333;
      margin-bottom: 10px;
    }

    .related-articles .layui-card-body p {
      font-size: 14px;
      color: #666;
    }

    @media screen and (max-width: 768px) {
      .menu-icon {
        display: block; 
      }


.content img {
    display: block;           /* 确保图片是块级元素 */
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px auto;        /* 上下边距20px，左右自动（居中） */
    text-align: center;       /* 这个对img本身无效，可以去掉 */
}


      .layui-nav {
        display: none;
        position: absolute;
        top: 78px;
        right: 0px;
        background-color: #00796b;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        flex-direction: column;
        width: 190px;
        padding: 10px 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
      }

      .layui-nav.active {
        display: flex; 
        opacity: 1;
        transform: translateY(0);
      }

      .layui-nav-item a {
        font-size: 16px;
        padding: 12px 20px;
        border-radius: 4px;
        margin: 4px 10px;
      }

      .layui-nav-item a:hover {
        background-color: #004d40;
      }
    }

    @media screen and (min-width: 768px) {
      .layui-nav {
        display: flex; 
      }

      .menu-icon {
        display: none;
      }
    }
.layui-favorite-btn {
            position: fixed;
            bottom: 40px;
            right: 20px;
            width: 50px;
            height: 50px;
            line-height: 50px;
            text-align: center;
            background-color: #fff;
            border: 1px solid #ccc;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
            transition: all 0.3s;
        }

.layui-favorite-btn a{
text-decoration: none;
}
.layui-favorite-btn i{color: #ff4500;}
.layui-favorite-top a{
text-decoration: none;
}

.layui-favorite-top {
            position: fixed;
            bottom:100px;
            right: 20px;
            width: 50px;
            height: 50px;
            line-height: 50px;
            text-align: center;
            background-color: #fff;
            border: 1px solid #ccc;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
            transition: all 0.3s;
        }

        .layui-favorite-btn:hover {
            background-color: #f2f2f2;
        }

        .layui-favorite-btn.favorited {
            color: #ff4500;
        }

.footer {
   border-top: 1px solid #ccc;
    padding: 10px 0;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
margin-top:20px;
}
a{text-decoration: none;}
 .flex{display:flex;align-items: center;}
.layui-nav .layui-nav-item {
    line-height: 38px;
}


.ssbt{
    background: none;
    border: 0;
    padding: 0;
    margin: 10px 0;
}

a:active {
    color: inherit; /* 保持原有的颜色 */
    background-color: transparent; /* 背景色透明 */
    outline: none; /* 移除点击时的轮廓线 */
    text-decoration: none; /* 移除下划线 */
}