/* ===== Featured Case Studies 首页板块（英文站） ===== */
.fcs-wrap {
    position: relative;
    overflow: hidden;
    background: #e9edf0;
    width: var(--mainwidth);
    margin: 1.6rem auto 0;
    border-radius: 10px;
}
.fcs-bg {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: opacity .3s ease;
}
/* 白色遮罩：左侧浓、向右逐渐透出背景照片 */
.fcs-veil {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, .97) 0%,
        rgba(255, 255, 255, .94) 30%,
        rgba(255, 255, 255, .88) 46%,
        rgba(255, 255, 255, .56) 58%,
        rgba(255, 255, 255, .16) 68%,
        rgba(255, 255, 255, 0) 78%);
}

/* 顶部导航条：通栏深色条，四周留一点空隙浮在照片上；圆角与缩略图/模块背景一致 */
.fcs-navbar {
    position: absolute;
    left: .8rem;
    right: .8rem;
    top: .8rem;
    z-index: 3;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    background: rgba(18, 32, 45, .70);
    border-radius: 8px;
    padding: .45rem .6rem;
}
.fcs-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
/* 每个标签都是独立胶囊：靠自身左右内边距撑开间距，彼此分离开 */
.fcs-nav-item {
    display: inline-flex;
    align-items: center;
    height: 1.55rem;
    padding: 0 .85rem;
    margin-right: .5rem;
    border-radius: 1.55rem;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}
.fcs-nav-item:hover {
    background: rgba(255, 255, 255, .18);
}
/* 选中态：金色胶囊 + 白字 */
.fcs-nav-item.active {
    background: #b88b5e;
    color: #ffffff;
}

.fcs-content {
    position: relative;
    z-index: 2;
    /* 顶部留白 .8rem + 悬浮导航条高度 ~2.45rem + 与列表间距 1.2rem */
    padding: 4.45rem 1.5rem 1.5rem;
}
/* 副标题：与上方标题左边缘对齐 */
.fcs-sub {
    color: #8d8d8d;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: -0.4rem 0 0;
}

/* 左侧案例列表 */
.fcs-list {
    max-width: 55rem;
}
.fcs-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    /* 固定行高：标题一行/两行时模块总高保持一致，切换分类不跳动 */
    height: 7.7rem;
    padding: 1rem 0;
    box-sizing: border-box;
    text-decoration: none;
    -webkit-transition: background .25s;
    transition: background .25s;
}
/* 分割线从缩略图右侧开始，不压在图片下方 */
.fcs-item::after {
    content: '';
    position: absolute;
    left: calc(8.6rem + 1.6rem);
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(184, 139, 94, .62);
}
.fcs-item:last-child::after {
    display: none;
}
.fcs-item:hover {
    background: rgba(255, 255, 255, .45);
}
.fcs-item-thumb {
    width: 8.6rem;
    height: 5rem;
    object-fit: cover;
    border-radius: 4px;
    flex: none;
    background: #dfe3e6;
}
.fcs-item-main {
    flex: 1;
    min-width: 0;
}
.fcs-item-title {
    display: block;
    color: #16283c;
    font-size: 1.45rem;
    line-height: 1.35;
    font-weight: 400;
    margin: 0 0 .45rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.fcs-item-tag {
    display: block;
    color: #b1815d;
    font-size: .95rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/* 红色小方块箭头：与站内 .dl_id_app_item_btn 同色同形 */
.fcs-item-arrow {
    flex: none;
    width: 2.3rem;
    height: 2.3rem;
    margin-right: 1.8rem;
    border-radius: 5px;
    background: var(--OneColor, #C5252C);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-transition: all .4s;
    transition: all .4s;
}
.fcs-item-arrow svg {
    width: 58%;
    height: 58%;
    fill: #ffffff;
}
.fcs-item:hover .fcs-item-arrow {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(197, 37, 44, .35);
}

/* 模块右下角：查看全部案例 */
.fcs-more {
    position: absolute;
    right: 3.3rem;
    bottom: 1.4rem;
    z-index: 3;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 6px;
    background: var(--OneColor, #C5252C);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-transition: all .4s;
    transition: all .4s;
}
.fcs-more svg {
    width: 58%;
    height: 58%;
    fill: #ffffff;
}
.fcs-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(197, 37, 44, .35);
}

@media (max-width: 1023px) {
    .fcs-wrap {
        width: 94%;
        margin-top: 1.2rem;
        background: #ffffff;
    }
    /* 移动端：照片收成导航条下方的一条横幅，列表落到白色面板上 */
    .fcs-bg,
    .fcs-veil {
        bottom: auto;
        height: 21rem;
    }
    /* 照片与下方列表之间硬切，不做渐变过渡 */
    .fcs-veil {
        background: none;
    }
    /* 导航悬浮在照片横幅上，标签多行换行排列（不再横滑） */
    .fcs-navbar {
        left: .7rem;
        right: .7rem;
        top: .7rem;
        max-width: none;
        padding: .5rem .6rem;
    }
    .fcs-nav {
        flex-wrap: wrap;
        width: auto;
        gap: .35rem .45rem;
    }
    .fcs-nav-item {
        height: 1.75rem;
        font-size: 1.05rem;
        padding: 0 .8rem;
        margin-right: 0;
    }
    /* 照片横幅 21rem + 与列表间距 1.2rem */
    .fcs-content {
        padding: 22.2rem .9rem 1rem;
    }
    .fcs-sub {
        font-size: .88rem;
        text-align: center;
        margin: -.4rem 0 0;
    }
    .fcs-list {
        max-width: none;
    }
    .fcs-item {
        gap: .9rem;
        height: auto;
        padding: .85rem 0;
    }
    /* 手机端分割线通栏到底，且加深更明显 */
    .fcs-item::after {
        left: 0;
        background: rgba(184, 139, 94, .92);
    }
    .fcs-item-thumb {
        width: 4.4rem;
        height: 4.4rem;
        border-radius: 6px;
    }
    .fcs-item-title {
        font-size: 1.15rem;
        line-height: 1.35;
        margin-bottom: .4rem;
    }
    .fcs-item-tag {
        font-size: .82rem;
    }
    .fcs-item-arrow {
        width: 2rem;
        height: 2rem;
        margin-right: .2rem;
        /* 不垂直居中，落到行底部（对齐标签行） */
        align-self: flex-end;
        margin-bottom: .35rem;
    }
    /* 照片上按钮与下方案例按钮右边缘对齐：.9rem(内容内边距) + .2rem(案例按钮外边距) */
    .fcs-more {
        top: 18.2rem;
        bottom: auto;
        right: 1.1rem;
        width: 2rem;
        height: 2rem;
    }
}
