@charset "utf-8";
/* FBW 资料下载 — 对齐设计稿：横幅背景图、无标题字、搜索居中、面包屑黑色 */

/* 横幅：高 320；有后台图则 cover；无图浅灰竖纹兜底；搜索居中 */
body.fbw-download-list .fbw-dl-hero {
    position: relative;
    height: 320px;
    background-color: #eeeeee;
    background-image:
        radial-gradient(ellipse 70% 55% at 50% 48%, rgba(160, 160, 160, 0.14), transparent 72%),
        repeating-linear-gradient(
            90deg,
            #e4e4e4 0,
            #e4e4e4 2px,
            #eeeeee 2px,
            #eeeeee 7px
        );
    background-position: center;
    background-size: auto, auto;
    background-repeat: no-repeat, repeat;
    overflow: hidden;
}

/* 后台横幅图：用 inline url；此处清掉竖纹兜底并 cover */
body.fbw-download-list.has-dl-banner .fbw-dl-hero {
    background-color: #e8e8e8;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

body.fbw-download-list .fbw-dl-hero::before {
    display: none;
}

body.fbw-download-list .fbw-dl-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 28px 40px 0;
    box-sizing: border-box;
}

/* 面包屑 / 标题类文字：保持站点原黑色（勿改白） */
body.fbw-download-list .fbw-dl-hero .location {
    position: relative;
    z-index: 2;
    margin: 0 !important;
    padding: 0 !important;
}

body.fbw-download-list .fbw-dl-hero .location,
body.fbw-download-list .fbw-dl-hero .location li,
body.fbw-download-list .fbw-dl-hero .location a,
body.fbw-download-list .fbw-dl-hero .location li + li::before {
    color: #222222 !important;
}

body.fbw-download-list .fbw-dl-hero .location a:hover {
    color: #000 !important;
}

body.fbw-download-list .fbw-page-title,
body.fbw-download-list .fbw-page-title h1 {
    color: #232323 !important;
}

/* 搜索：白底圆角条，居中；放大镜图标 */
body.fbw-download-list .fbw-dl-search {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 520px;
    height: 48px;
    margin: 0;
    padding: 0 20px 0 8px;
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

body.fbw-download-list .fbw-dl-search input {
    flex: 1;
    border: 0;
    padding: 0;
    font-size: 15px;
    color: #232323;
    outline: none;
    background: transparent;
}

body.fbw-download-list .fbw-dl-search input::placeholder {
    color: #999;
}

body.fbw-download-list .fbw-dl-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #86868b;
    cursor: pointer;
}

body.fbw-download-list .fbw-dl-search button svg {
    display: block;
}

/* 分类胶囊：横幅下方间距 ≥25px（须 !important，盖过 fbw-inner .main padding:0） */
body.fbw-download-list .fbw-wrap > .main {
    padding-top: 0;
}

body.fbw-download-list .fbw-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    margin: 32px 0 28px !important; /* ≥25px 距横幅 */
}

body.fbw-download-list .fbw-filters a {
    box-sizing: border-box;
    min-height: 30px;
    height: 30px;
    padding: 0 18px;
    border-radius: 15px;
    border: 1px solid transparent;
    background: #f1f1f1;
    color: #3e3e3e !important;
    font-size: 14px;
    line-height: 1;
}

body.fbw-download-list .fbw-filters a.active,
body.fbw-download-list .fbw-filters a:hover {
    background: #222222;
    border-color: #222222;
    color: #fff !important;
}

body.fbw-download-list .fbw-dl-rows ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.fbw-download-list .fbw-dl-rows li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 400px 90px;
    align-items: center;
    column-gap: 12px;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    margin: 0 !important;
    float: none !important;
    width: 100% !important;
}

body.fbw-download-list .fbw-dl-rows li.no-data {
    display: block;
    grid-template-columns: none;
    color: #999;
}

body.fbw-download-list .fbw-dl-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 26px;
    background: none;
    border: 0;
    overflow: hidden;
}

body.fbw-download-list .fbw-dl-icon svg,
body.fbw-download-list .fbw-dl-icon img {
    display: block;
    flex: none;
    width: 18px;
    height: 20px;
    object-fit: contain;
}

body.fbw-download-list .fbw-dl-icon::after {
    display: none;
}

body.fbw-download-list .fbw-dl-name {
    font-size: 15px;
    color: #232323;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 后缀：设计稿浅灰 */
body.fbw-download-list .fbw-dl-ext {
    color: #aaaaaa;
    font-size: 14px;
    justify-self: start;
}

/* 下载：黑色文字 + 下载箭头图标（无灰底胶囊） */
body.fbw-download-list .fbw-dl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 6px;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #222222 !important;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

body.fbw-download-list .fbw-dl-btn .fbw-dl-arrow {
    display: block;
    flex: none;
}

body.fbw-download-list .fbw-dl-btn:hover {
    background: transparent;
    color: #000 !important;
    opacity: 0.75;
}

@media (max-width: 900px) {
    body.fbw-download-list .fbw-dl-hero {
        height: auto;
        min-height: 220px;
    }

    body.fbw-download-list .fbw-dl-hero-inner {
        padding: 20px 20px 72px;
    }

    body.fbw-download-list .fbw-dl-search {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 48px auto 0;
        max-width: 100%;
    }

    body.fbw-download-list .fbw-dl-rows li {
        grid-template-columns: 24px minmax(0, 1fr) minmax(48px, 1fr) 72px;
        column-gap: 8px;
    }
}
