        @charset "utf-8";

        .cooperation {
            font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
            line-height: 1.5;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
        }

        /* 大容器 —— 完全符合要求：一个大div，内含标题 + 两排6列内容 */
        .home-cooperation {
            padding: 2.5rem 5rem;
            transition: all 0.2s ease;
			width: 100%;
			height: 580px;
        }
		
		/*背景图片*/
		.home-cooperation::before {
			content: "";
			position: absolute;
			/* top: 0; */
			left: 0;
			width: 100%;
			min-height: 580px;
		    background: url(https://www.rhtdtech.com/uploadfile/file/20260303/1772530117103282.jpg) 50% no-repeat;
		    background-size: cover;
			opacity: 0.9;  /* 设置透明度 0-1 */
			z-index: -1;   /* 放在内容后面 */
		}

        /* 标题样式 */
        .home-cooperation h2 {
            font-size: 2.2rem;
            font-weight: 600;
            letter-spacing: -0.01em;
            color: #ffffff;
            margin: 1.75rem 0 4.75rem 0;
            position: relative;
            display: inline-block;
            left: 50%;
            transform: translateX(-50%);
            white-space: nowrap;
            border-bottom: 4px solid #3b82f6;
            padding-bottom: 0.3rem;
        }

        /* 两排6列网格容器 (原类名不变，但改为6列) */
        .grid-cooperation {
            display: grid;
            grid-template-columns: repeat(6, 1fr);  /* 修改为6列 */
            gap: 1.8rem;                             /* 行列间隔 */
            margin-top: 2.5rem;
        }

        /* 卡片样式：每个卡片包含图片和一段文字 */
        .cooperationcard {
            background-color: #fff;
            overflow: hidden;
            box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.08);
            transition: transform 0.25s ease, box-shadow 0.3s ease;
			border-radius: 8px;
            display: flex;
			justify-content: center;
			min-height: 80px;
            border: 1px solid rgba(0, 0, 0, 0.02);
        }

        .cooperationcard:hover {
            transform: translateY(-6px);
            box-shadow: 0 24px 36px -12px rgba(59, 130, 246, 0.25);
        }

        /* 图片区域——固定高度，铺满宽度，保证整齐 */
        .cooperationcard img {
			max-height: 117px;
            max-width: 177px;
            display: block;
            background-color: #d1d9e6;   /* 加载中的占位色 */
            transition: transform 0.6s ease;
        }

        .cooperationcard:hover img {
            transform: scale(1.03);
        }

        /* 移动端适配：小屏幕自动变为单列 (一列排列) */
        @media (max-width: 640px) {
            .home-cooperation {
                padding: 1.8rem 1rem;
            }
            .home-cooperation h2 {
                font-size: 1.9rem;
                white-space: normal;
                left: 0;
                transform: none;
                display: block;
                text-align: center;
            }
            .grid-cooperation {
                grid-template-columns: repeat(2, 1fr);  /* 改为2列 */
                gap: 1.5rem;
				max-height: 423px;           /* 限制最大高度，只显示约4个卡片的高度 */
				overflow-y: auto;             /* 启用垂直滚动条 */
				padding-right: 8px;           /* 为滚动条预留空间，防止内容被遮挡 */
				scrollbar-width: thin;        /* 细滚动条（Firefox） */
				scrollbar-color: #3b82f6 #e0e7ff; /* 滚动条颜色（Firefox） */
            }
			
			/* 自定义滚动条样式（WebKit浏览器：Chrome、Safari、Edge） */
			    .grid-cooperation::-webkit-scrollbar {
			        width: 6px;                   /* 滚动条宽度 */
			    }
			    
			    .grid-cooperation::-webkit-scrollbar-track {
			        background: #e0e7ff;           /* 滚动条轨道颜色 */
			        border-radius: 10px;
			    }
			    
			    .grid-cooperation::-webkit-scrollbar-thumb {
			        background: #3b82f6;           /* 滚动条滑块颜色 */
			        border-radius: 10px;
			    }
			    
			    .grid-cooperation::-webkit-scrollbar-thumb:hover {
			        background: #2563eb;           /* 悬停时颜色加深 */
			    }
        }

        /* 中等屏幕调整 (例如平板，三列可能太挤，改为两列) */
        @media (min-width: 641px) and (max-width: 900px) {
            .grid-cooperation {
                grid-template-columns: repeat(4, 1fr);  /* 中屏变为4列*/
                gap: 1.5rem;
            }
			.home-cooperation {
			    padding: 2.5rem 1rem;
			}
			
			.home-cooperation h2 {
			    margin: 1.75rem 0 1.75rem 0;
			}
        }
		
		@media (min-width: 901px) and (max-width: 1400px) {
			.home-cooperation {
			    padding: 2.5rem 1rem;
			}
			
			.home-cooperation h2 {
			    margin: 1.75rem 0 1.75rem 0;
			}
		}

        /* 极小屏以下已经由 media (max-width:640) 处理，大屏保持三列 */