/* ============================================================
 * 热门解决方案区块 - 纯 HTML 文字 + 响应式卡片
 * 独立命名空间 .sol-*，不依赖也不影响原有 css.min.css
 * 兼容 PC 端与手机端（单模板响应式）
 * 使用渐变色背景（非图片）
 * ============================================================ */

/* 栅格布局 */
.sol-grid {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
.sol-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}
/* 一行放两个小卡片 */
.sol-row {
    display: flex;
    gap: 20px;
}

/* 卡片通用样式 */
.sol-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 22px 24px;
    border-radius: 8px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: #2b3a5c;
    box-shadow: 0 6px 18px rgba(20, 40, 80, .12);
    transition: transform .4s ease, box-shadow .4s ease;
}
.sol-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(20, 40, 80, .28);
}
/* 大卡片（游戏 / 小程序·云开发） */
.sol-card--lg {
    min-height: 164px;
}
/* 小卡片（金融/教育/大数据/通用视频），一行两个 */
.sol-card--sm {
    flex: 1;
    min-height: 164px;
    min-width: 0;
}

/* 右侧装饰性图标水印 */
.sol-card .sol-icon {
    position: absolute;
    right: 18px;
    bottom: 12px;
    width: 72px;
    height: 72px;
    opacity: .22;
    transition: transform .4s ease, opacity .4s ease;
    pointer-events: none;
}
.sol-card .sol-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #fff;
    stroke-width: 1.6;
}
.sol-card:hover .sol-icon {
    transform: scale(1.12);
    opacity: .32;
}

/* 文字 */
.sol-card .sol-tit {
    position: relative;
    z-index: 1;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
    line-height: 1.2;
}
.sol-card .sol-des {
    position: relative;
    z-index: 1;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .9);
    max-width: 62%;
}
.sol-card--sm .sol-tit {
    font-size: 18px;
    margin-bottom: 10px;
}
.sol-card--sm .sol-des {
    max-width: 80%;
    font-size: 13px;
    line-height: 1.6;
}

/* ---- 各主题配色（蓝色系，贴近原图片色调） ---- */
.sol-theme-game   { background: linear-gradient(135deg, #4a5a7d 0%, #2b3a5c 100%); }
.sol-theme-finance{ background: linear-gradient(135deg, #2c86e6 0%, #0b52a8 100%); }
.sol-theme-edu    { background: linear-gradient(135deg, #26a8c4 0%, #1877b0 100%); }
.sol-theme-data   { background: linear-gradient(135deg, #3360a8 0%, #1c3a6e 100%); }
.sol-theme-video  { background: linear-gradient(135deg, #16aecf 0%, #0e7cb2 100%); }
.sol-theme-cloud  { background: linear-gradient(135deg, #46567a 0%, #26406b 100%); }

/* ============================================================
 * 响应式：平板
 * ============================================================ */
@media screen and (max-width: 992px) {
    .sol-card .sol-des { max-width: 100%; }
    .sol-card--sm .sol-des { max-width: 100%; }
}

/* ============================================================
 * 响应式：手机（两列变单列堆叠，小卡片仍并排两个）
 * ============================================================ */
@media screen and (max-width: 768px) {
    .sol-grid {
        flex-direction: column;
        gap: 14px;
        margin-top: 20px;
    }
    .sol-col { gap: 14px; }
    .sol-row { gap: 14px; }
    .sol-card {
        padding: 18px 16px;
        border-radius: 6px;
    }
    .sol-card--lg { min-height: 120px; }
    .sol-card--sm { min-height: 120px; }
    .sol-card .sol-tit { font-size: 19px; margin-bottom: 10px; }
    .sol-card--sm .sol-tit { font-size: 16px; margin-bottom: 8px; }
    .sol-card .sol-des { font-size: 13px; line-height: 1.6; }
    .sol-card--sm .sol-des { font-size: 12px; }
    .sol-card .sol-icon { width: 54px; height: 54px; right: 12px; bottom: 10px; }
}

/* ============================================================
 * 响应式：超小屏（小卡片也竖排）
 * ============================================================ */
@media screen and (max-width: 480px) {
    .sol-row { flex-direction: column; }
    .sol-card--sm .sol-des { max-width: 80%; }
}

/* clamp long CMS descriptions */
.sol-card .sol-des{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
.sol-card--sm .sol-des{-webkit-line-clamp:3;}
