/* ==========================================================================
   AntCMS web_1 主题 - 应用方案列表页专属样式 (solution-list.css)
   以 H:\gemini\web_1\solutions.html 为参照物，解耦自包含独立维护
   ========================================================================== */

/* 页面通用布局容器 */
.c {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
}

/* 面包屑导航 */
.bc {
    padding: 18px 0;
    font-size: 13px;
    color: #667085;
}
.bc a {
    color: #475467;
    text-decoration: none;
    transition: color .15s;
}
.bc a:hover {
    color: #0f62fe;
}
.bc .crumb-sep {
    margin: 0 8px;
    color: #98a2b3;
}
.bc .crumb-cur {
    color: #101828;
    font-weight: 600;
}

/* 顶部大幅 Hero 区域 */
.hero {
    padding: 12px 0 32px;
    border-bottom: 1px solid #eef2f6;
    background: linear-gradient(180deg, #fff, #f8fbff);
}
.hero small,
.sh small {
    display: block;
    color: #0f62fe;
    font-weight: 900;
    letter-spacing: 1.15px;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.hero h1 {
    font-size: 42px;
    line-height: 1.15;
    margin: 6px 0 12px;
    color: #101828;
    font-weight: 800;
}
.hero p {
    max-width: 820px;
    color: #667085;
    margin: 0;
    font-size: 15.5px;
    line-height: 1.68;
}

/* 主体分栏布局：左侧方案类型 + 右侧方案网格 */
.main {
    padding: 38px 0 70px;
}
.layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

/* 左侧粘性分类侧栏 */
.side {
    position: sticky;
    top: 94px;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    padding-bottom: 12px;
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.03);
}
.sidehead {
    padding: 20px 18px 16px;
    border-bottom: 1px solid #e4e7ec;
}
.sidehead small {
    color: #0f62fe;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.sidehead h2 {
    font-size: 19px;
    margin: 0;
    color: #101828;
    font-weight: 800;
}
.sg {
    margin: 12px 10px;
    border: 1px solid #eef1f5;
    border-radius: 14px;
    overflow: hidden;
}
.sg h3 {
    margin: 0;
    padding: 12px 14px;
    background: linear-gradient(180deg, #f8fbff, #f3f7fd);
    font-size: 13px;
    color: #344054;
    font-weight: 700;
}
.sg a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 14px 11px 22px;
    font-size: 13px;
    color: #475467;
    border-top: 1px dashed #f0f2f5;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.sg a:hover,
.sg a.active {
    background: #f8fbff;
    color: #0f62fe;
    font-weight: 600;
}
.sg a:after {
    content: "›";
    color: #98a2b3;
    font-size: 15px;
}

/* 列表顶部标题栏与胶囊过滤器 */
.head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}
.head h2 {
    font-size: 28px;
    margin: 0;
    color: #101828;
    font-weight: 800;
}
.head p {
    font-size: 13.5px;
    color: #667085;
    margin: 4px 0 0;
}
.filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 12px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    margin-bottom: 22px;
    scrollbar-width: none;
    background: #fff;
}
.filters::-webkit-scrollbar {
    display: none;
}
.fb {
    flex: 0 0 auto;
    border: 0;
    background: #f8fafc;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    color: #475467;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.fb:hover {
    background: #eef4ff;
    color: #0f62fe;
}
.fb.on {
    background: #0f62fe;
    color: #fff;
}

/* 方案卡片 3 列网格 */
.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.card {
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
    border-color: #d0d5dd;
}
.card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.pic {
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #edf1f5, #c9d1da);
}
.pic:before {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 14%;
    height: 42%;
    border-radius: 14px;
    background: linear-gradient(145deg, #d8dee5, #818d9b);
}
.pic:after {
    content: "";
    position: absolute;
    right: 15%;
    top: 18%;
    width: 26%;
    height: 45%;
    border-radius: 10px;
    background: linear-gradient(145deg, #e4e9ef, #8793a1);
}
.pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
    transition: transform .3s ease;
}
.card:hover .pic img {
    transform: scale(1.04);
}
.body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.cat {
    font-size: 11px;
    color: #0f62fe;
    font-weight: 900;
    letter-spacing: .5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.body h3 {
    font-size: 17px;
    line-height: 1.45;
    margin: 4px 0 8px;
    color: #101828;
    font-weight: 700;
}
.body p {
    font-size: 12.5px;
    color: #667085;
    margin: 0 0 12px;
    line-height: 1.55;
    flex: 1;
}
.tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: auto;
}
.tags span {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #475467;
}
.more {
    display: inline-block;
    margin-top: 12px;
    font-size: 12.5px;
    color: #0f62fe;
    font-weight: 800;
    transition: transform .15s;
}
.card:hover .more {
    transform: translateX(3px);
}

/* 分页导航 */
.pg {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}
.pg a,
.pg span {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    text-decoration: none;
    color: #475467;
    background: #fff;
    transition: all .15s;
}
.pg a:hover {
    border-color: #0f62fe;
    color: #0f62fe;
}
.pg .on {
    background: #0f62fe;
    color: #fff;
    border-color: #0f62fe;
    font-weight: 800;
}

/* 下方选型建议与常见问题 */
.sec {
    padding: 64px 0;
}
.soft {
    background: #f7f9fc;
}
.sh {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}
.sh h2 {
    font-size: 32px;
    margin: 4px 0 0;
    color: #101828;
    font-weight: 800;
}
.links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.lc {
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    padding: 22px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.02);
}
.lc small {
    color: #0f62fe;
    font-weight: 900;
    font-size: 13px;
    display: block;
    margin-bottom: 6px;
}
.lc h3 {
    font-size: 17px;
    margin: 0 0 8px;
    color: #101828;
    font-weight: 700;
}
.lc p {
    font-size: 13px;
    color: #667085;
    margin: 0;
    line-height: 1.6;
}

/* 常见问题 FAQ */
.faq details {
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    padding: 16px 18px;
    background: #fff;
    margin-bottom: 10px;
}
.faq summary {
    font-weight: 800;
    color: #101828;
    cursor: pointer;
    font-size: 15px;
}
.faq p {
    font-size: 13.5px;
    color: #667085;
    margin: 10px 0 0;
    line-height: 1.65;
}

/* 响应式断点适配 */
@media(max-width: 1000px) {
    .layout {
        display: block;
    }
    .side {
        display: none;
    }
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .links {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 720px) {
    .c {
        width: calc(100% - 28px);
    }
    .hero h1 {
        font-size: 30px;
    }
    .main {
        padding: 26px 0 52px;
    }
    .head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
    .head h2 {
        font-size: 24px;
    }
    .grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .body {
        padding: 12px;
    }
    .body h3 {
        font-size: 14px;
        min-height: 40px;
    }
    .body p {
        display: none;
    }
    .tags span {
        display: none;
    }
    .tags span:first-child {
        display: inline-block;
    }
    .sec {
        padding: 48px 0;
    }
    .sh {
        align-items: flex-start;
        flex-direction: column;
    }
    .sh h2 {
        font-size: 26px;
    }
}
