@charset "utf-8";
/* CSS Document */
        * {
            margin: 0;
        }
        a {
        text-decoration: none;
        }
        
        /* 左侧导航样式 */
        .sidebar {
            position: fixed;
            width: 180px;
            height: 100%;
            background: linear-gradient(135deg, #F7F8FD, #CECFDD);
            display: flex;
            flex-direction: column;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
            z-index: 100;
        }
        .sidebar2 {
            position: fixed;
            width: 180px;
            height: 100%;
            background: linear-gradient(135deg, #F7F8FD, #CECFDD);
            display: flex;
            flex-direction: column;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
            z-index: 100;
            right: 0; 
        }        
        .disc {
            background-color: #ffffff;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            margin: 5px 0px;
            padding: 3px;
            border-radius: 8px;
        }
        .sidebar-header {
            padding: 5px 20px 5px 10px;
            border-bottom: 3px solid rgba(47, 63, 127, 0.1);
        }
        
        .sidebar-header h1 {
            font-size: 1.5rem;
            font-weight: 600;
            letter-spacing: 1px;
        }
        
        .sidebar-nav {
            flex: 1;
            padding: 5px 0;
			overflow-y:auto;
        }
        
        .nav-item {
            display: flex;
            align-items: center;
            /*padding: 0px 6px;*/
            margin: 0px 3px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .nav-item:hover {
            background: linear-gradient(135deg, #efd1e9 0%, #b185f7 100%);
            transform: translateY(3px);
            color: BLUE;
        }
        
        .nav-item.active {
            background: linear-gradient(135deg, #f1bce8 0%, #965df1 100%);
            color: BLUE;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        
        .nav-icon {
            margin-right: 1px;
            font-size: 1.3rem;
			    width: 24px;
            text-align: center;
        }
        
        .content-footer {
			position: sticky;
            top: 100px;
            padding: 10px;
            text-align: center;
            border-top: 3px solid rgba(47, 63, 127, 0.3);
            font-size: 0.85rem;
        }
        /* 左侧导航样式 */
        /* 右侧内容样式 */
        .content {
            margin:0px 180px;
            flex: 1;
            padding: 0px 10px 10px 10px;
            overflow-y: auto;
            background-color: #f3eeee;
            min-width: 270px;
        }
        
        .content-section {
            margin-bottom: 6px;
            padding: 3px 9px 6px 9px;
            background-color: #ffffff85;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            border-left: 4px solid #2a3a7c;
        }
        
        .section-title {
            margin-bottom: 4px;
            color: #2a3a7c;
            border-bottom: 1px solid #eee;
        }
		    /* 右侧顶部图片搜索 */
   .top-bg {
      background-image: url('/template/pc/skin/images/banner.jpg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      display: grid;
      place-items: center; /* 同时水平和垂直居中 */
      width: 100%;
      min-height: 78px;
      height: 10vh;
      transition: all 0.3s ease;
      border-radius: 10px;
	   margin-bottom: 5px;
      }
		    /* 右侧顶部图片搜索 */
   .top-bg1 {
      height: 75px;
      }
        .search-container {
            max-width: 400px;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }        
        .search-form {
            display: flex;
            width: 100%;
            position: relative;
        }        
        .search-input {
            background-color: rgba(220, 220, 200, .6); 
            flex: 1;
            padding: 10px 120px 10px 20px;
            border-color: rgba(0, 120, 212, 0.7);
            border-radius: 50px;
            font-size: 16px;
            outline: none;
            transition: all 0.3s ease;
        }        
        .search-input:focus {
            box-shadow: 0 0 10px rgba(0, 120, 212, 0.3);
        }        
        .search-button {
            position: absolute;
            right: 7px;
            top: 7px;
            bottom: 7px;
            padding: 0 20px;
            background-color: rgba(0, 120, 212, 0.7);
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 18px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }        
        .search-button:hover {
            background-color: #106ebe;
        }        
        .search-button:active {
            background-color: #005a9e;
        }
    /* 右侧顶部图片搜索 */
    /* 右侧中间卡片容器：关键修改 - 使用grid布局 */
/*      .cardall {
      margin-top:17vh;
      }*/
    .card-container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      grid-auto-rows: minmax(76px, auto); /* 自动行高，最小100px */
      gap: 6px;
      width: 100%;
    }

    /* 链接卡片样式 - 关键优化 */
    .card-link {
      color: inherit;
      display: block;
      width: 100%;
      height: 60px;
    }

    /* 单个卡片样式 */
    .card {
      background-color: #fff;
      border-radius: 15px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
      height: 112%;
      padding: 3px 6px;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      cursor: pointer;
      border: 1px solid rgba(255, 255, 255, 0.2);
      display: flex;
    }

    /* 鼠标悬停时的浮动效果 */
    .card-link:hover .card {
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
      background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    }

    /* 卡片内图标 */
    .card-logo {
      float: left;
      width: 40px;
      height: 40px;
      margin-right: 5px;
      margin-bottom: 2px;
      border-radius: 12px;
      transition: transform 0.3s ease;
    }
    .card-img {
      height: 25px;
      border-radius: 6px;
    }
    .card-link:hover .card-logo {
      transform: scale(1.1);
    }
    /* 卡片内容区域 */
    .card-content {
      display: -webkit-box;
      -webkit-line-clamp: 4; 
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
/*    .card h3 {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 5px;
      color: #333;
      transition: color 0.3s ease;
    }*/

    .card-link:hover h3 {
      color: #007bff;
    }

    .card p {
      font-size: 12px;
      color: #666;
      transition: color 0.3s ease;
    }

    .card-link:hover p {
      color: #555;
    }

    /* 添加微妙的边框光效 */
    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      border-radius: 15px;
      background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, transparent 50%);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .card-link:hover .card::before {
      opacity: 1;
    }
    /* 右侧中间卡片容器：关键修改 - 使用grid布局 */
        /* 右侧内容样式 */
        /* 左侧响应式设计 */
        @media (max-width: 220px) {
            body {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
                min-width: 80%;
            }
            
            .sidebar-nav {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .nav-item {
                flex: 1;
                min-width: 150px;
                margin: 5px;
                justify-content: center;
            }
            
            .content {
                min-width: 100%;
            }
        }
		/* 左侧响应式设计 */