/* =========================================================
   ABS 资产证券化详情页
   abs.css

   对应当前 HTML：
   .abs-page
   .abs-banner
   .abs-intro
   .abs-service-section
   .abs-advantage-section
   .abs-container
   .abs-section-title
   .abs-advantage-content
   .abs-advantage-label
   .abs-advantage-list
   .abs-advantage-item
   ========================================================= */


/* =========================================================
   1. 页面基础
   ========================================================= */

.abs-page {
    width: 100%;
    min-height: 100vh;

    background: #ffffff;
    color: #222222;

    overflow-x: hidden;
}

.abs-main {
    width: 100%;

    background: #ffffff;
}


/* =========================================================
   2. ABS 页面统一内容宽度
   ========================================================= */

.abs-container {
    width: 1100px;
    max-width: calc(100% - 40px);

    margin: 0 auto;
}


/* =========================================================
   3. Banner
   ========================================================= */

.abs-banner {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #f5f7fa;
}


/*
 * Banner 容器
 */

.abs-banner-wrapper {
    position: relative;

    width: 100%;

    overflow: hidden;
}


/*
 * Banner 每一张
 */

.abs-banner-slide {
    position: absolute;

    left: 0;
    top: 0;

    width: 100%;

    opacity: 0;
    visibility: hidden;

    z-index: 1;

    transition:
        opacity .6s ease,
        visibility .6s ease;
}


/*
 * 第一张负责撑开 Banner 高度
 */

.abs-banner-slide:first-child {
    position: relative;
}


/*
 * 当前 Banner
 */

.abs-banner-slide.active {
    opacity: 1;
    visibility: visible;

    z-index: 2;
}


/*
 * Banner 图片

 * 不强制固定高度。
 * 直接按照原图比例显示，避免变形。
 */

.abs-banner-slide img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;

    object-fit: cover;
}


/* =========================================================
   4. Banner 左右按钮
   ========================================================= */

.abs-banner-prev,
.abs-banner-next {
    position: absolute;

    top: 50%;

    width: 48px;
    height: 72px;

    margin-top: -36px;

    padding: 0;

    border: 0;
    outline: none;

    background: rgba(0, 0, 0, .18);

    color: #ffffff;

    font-size: 42px;
    font-weight: 300;

    line-height: 72px;

    text-align: center;

    cursor: pointer;

    opacity: 0;

    z-index: 20;

    transition:
        opacity .25s ease,
        background .25s ease;
}

.abs-banner-prev {
    left: 20px;
}

.abs-banner-next {
    right: 20px;
}

.abs-banner:hover .abs-banner-prev,
.abs-banner:hover .abs-banner-next {
    opacity: 1;
}

.abs-banner-prev:hover,
.abs-banner-next:hover {
    background: rgba(0, 91, 158, .65);
}

.abs-banner-prev span,
.abs-banner-next span {
    display: block;

    height: 100%;

    line-height: 66px;
}


/* =========================================================
   5. Banner 圆点
   ========================================================= */

.abs-banner-dots {
    position: absolute;

    left: 50%;
    bottom: 18px;

    display: flex;
    align-items: center;

    gap: 8px;

    transform: translateX(-50%);

    z-index: 30;
}

.abs-banner-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, .7);

    cursor: pointer;

    transition:
        width .25s ease,
        background .25s ease;
}

.abs-banner-dot.active {
    width: 24px;

    border-radius: 5px;

    background: #ffffff;
}


/* =========================================================
   6. 通用 Section 标题
   ========================================================= */

.abs-section-title {
    display: flex;
    align-items: center;

    margin: 0 0 34px;
}

.abs-section-title h2 {
    position: relative;

    margin: 0;

    padding: 0;

    color: #202020;

    font-size: 28px;
    font-weight: 600;

    line-height: 1.4;

    letter-spacing: 0;
}


/*
 * 标题右侧蓝色短线
 */

.abs-section-title > span {
    display: block;

    width: 32px;
    height: 3px;

    margin-left: 13px;

    border-radius: 2px;

    background: #1768b4;
}


/* =========================================================
   7. 资产证券化介绍
   ========================================================= */

.abs-intro {
    padding: 72px 0 68px;

    background: #ffffff;
}

.abs-intro-inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        500px;

    align-items: center;

    gap: 72px;
}


/* =========================================================
   左侧文字
   ========================================================= */

.abs-intro-content {
    min-width: 0;
}

.abs-intro-content h1 {
    position: relative;

    margin: 0 0 28px;

    padding-bottom: 15px;

    color: #202020;

    font-size: 30px;
    font-weight: 600;

    line-height: 1.35;
}


/*
 * 标题下方蓝色短线
 */

.abs-intro-content h1::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 40px;
    height: 3px;

    border-radius: 2px;

    background: #1768b4;
}


/*
 * 介绍文字
 */

.abs-intro-content p {
    margin: 0;

    color: #555555;

    font-size: 14px;

    line-height: 2.05;
}


/*
 * 第一段与后续内容稍微拉开
 */

.abs-intro-content p:first-of-type {
    margin-bottom: 8px;

    color: #333333;

    font-weight: 500;
}


/* =========================================================
   右侧图片
   ========================================================= */

.abs-intro-image {
    width: 100%;

    overflow: hidden;

    background: #f2f5f8;
}

.abs-intro-image img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;

    object-fit: cover;

    transition:
        transform .4s ease;
}

.abs-intro-image:hover img {
    transform: scale(1.02);
}


/* =========================================================
   8. 服务内容
   ========================================================= */

.abs-service-section {
    padding: 5px 0 72px;

    background: #ffffff;
}


/*
 * 服务内容标题
 */

.abs-service-section .abs-section-title {
    margin-bottom: 25px;
}


/*
 * 服务内容图片区域
 *
 * service.png 本身就是完整的六边形流程图，
 * 因此这里不再对图片中的元素重新排版。
 */

.abs-service-image {
    width: 760px;
    max-width: 100%;

    margin: 0 auto;

    text-align: center;
}

.abs-service-image img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0 auto;

    object-fit: contain;
}


/* =========================================================
   9. 服务优势
   ========================================================= */

.abs-advantage-section {
    padding: 0 0 76px;

    background: #ffffff;
}


/*
 * 标题与下面内容距离
 */

.abs-advantage-section .abs-section-title {
    margin-bottom: 30px;
}


/* =========================================================
   10. 服务优势整体布局
   ========================================================= */


/*
 * 当前 HTML：
 *
 * .abs-advantage-content
 *     ├── .abs-advantage-label
 *     └── .abs-advantage-list
 *
 *
 * 新布局：
 *
 * ┌────────────┬─────────────────────────────┐
 * │            │ 01        02        03     │
 * │  统筹优势  │                             │
 * │            │ 04        05        06     │
 * └────────────┴─────────────────────────────┘
 *
 *
 * 左侧作为视觉锚点
 * 右侧六项采用 3 × 2
 */

.abs-advantage-content {
    display: grid;

    grid-template-columns: 150px minmax(0, 1fr);

    gap: 38px;

    align-items: stretch;
}


/* =========================================================
   11. 左侧「统筹优势」
   ========================================================= */

.abs-advantage-label {
    position: relative;

    min-height: 210px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #ae9478 0%,
            #c3a686 48%,
            #d2b899 100%
        );
}


/*
 * 左边装饰线
 */

.abs-advantage-label::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 4px;
    height: 100%;

    background: #977955;
}


/*
 * 右侧装饰线
 */

.abs-advantage-label::after {
    content: "";

    position: absolute;

    right: 0;
    top: 0;

    width: 1px;
    height: 100%;

    background: rgba(255, 255, 255, .45);
}


/*
 * HTML 中是四个 span：
 *
 * <span>统</span>
 * <span>筹</span>
 * <span>优</span>
 * <span>势</span>
 *
 * 直接排列。
 */

.abs-advantage-label span {
    position: relative;

    color: #ffffff;

    font-size: 23px;
    font-weight: 600;

    line-height: 1.15;

    letter-spacing: 0;

    writing-mode: vertical-rl;

    text-orientation: upright;
}


/* =========================================================
   12. 服务优势列表
   ========================================================= */

.abs-advantage-list {
    min-width: 0;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    column-gap: 30px;
    row-gap: 0;
}


/* =========================================================
   13. 服务优势单项
   ========================================================= */

.abs-advantage-item {
    position: relative;

    min-height: 96px;

    display: flex;
    align-items: center;

    padding: 10px 4px;

    border-bottom: 1px solid #dfcbb8;
}


/*
 * 最后一行取消下边框
 */

.abs-advantage-item:nth-child(n + 4) {
    border-bottom: 0;
}


/* =========================================================
   14. 服务优势图标
   ========================================================= */

.abs-advantage-icon {
    flex-shrink: 0;

    width: 34px;
    height: 34px;

    margin-right: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d8bda0;

    border-radius: 50%;

    background: #ffffff;

    color: #b58c62;

    font-size: 15px;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}


/*
 * 图标内部
 */

.abs-advantage-icon span {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
}


/*
 * 空图标仍然保持占位，
 * 保证第五项与其他项目视觉对齐。
 */

.abs-empty-icon {
    color: transparent;

    background: #ffffff;
}


/* =========================================================
   15. 服务优势文字
   ========================================================= */

.abs-advantage-text {
    min-width: 0;

    color: #333333;

    font-size: 14px;
    font-weight: 400;

    line-height: 1.65;
}


/* =========================================================
   16. 服务优势 Hover
   ========================================================= */

.abs-advantage-item {
    transition:
        background .25s ease;
}

.abs-advantage-item:hover {
    background: linear-gradient(
        90deg,
        rgba(23, 104, 180, .035),
        rgba(23, 104, 180, 0)
    );
}

.abs-advantage-item:hover .abs-advantage-icon {
    color: #1768b4;

    border-color: #1768b4;

    background: #f5f9fd;
}

.abs-advantage-item:hover .abs-advantage-text {
    color: #1768b4;
}


/* =========================================================
   17. Footer 前后的页面衔接
   ========================================================= */

.abs-page > footer,
.abs-page .site-footer,
.abs-page .footer {
    margin-top: 0;
}


/* =========================================================
   18. 防止图片造成横向溢出
   ========================================================= */

.abs-page img {
    max-width: 100%;
}


/* =========================================================
   19. 防止公共 CSS 对 ABS 布局产生干扰
   ========================================================= */

.abs-page .abs-container {
    position: relative;

    float: none;

    left: auto;
    right: auto;
}

.abs-page .abs-intro-inner,
.abs-page .abs-advantage-content,
.abs-page .abs-advantage-list {
    float: none;

    position: relative;

    left: auto;
    right: auto;
    top: auto;
    bottom: auto;

    transform: none;
}


/* =========================================================
   20. 中等屏幕
   ========================================================= */

@media (max-width: 1100px) {

    .abs-container {
        width: calc(100% - 40px);
    }


    /* -----------------------------------------
       资产证券化
       ----------------------------------------- */

    .abs-intro-inner {
        grid-template-columns:
            minmax(0, 1fr)
            430px;

        gap: 45px;
    }


    /* -----------------------------------------
       服务内容
       ----------------------------------------- */

    .abs-service-image {
        width: 700px;
    }


    /* -----------------------------------------
       服务优势
       ----------------------------------------- */

    .abs-advantage-content {
        grid-template-columns: 130px minmax(0, 1fr);

        gap: 28px;
    }

    .abs-advantage-list {
        column-gap: 20px;
    }

    .abs-advantage-text {
        font-size: 13px;
    }
}


/* =========================================================
   21. 平板
   ========================================================= */

@media (max-width: 900px) {

    .abs-container {
        width: calc(100% - 32px);
    }


    /* -----------------------------------------
       资产证券化
       ----------------------------------------- */

    .abs-intro {
        padding: 55px 0;
    }

    .abs-intro-inner {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .abs-intro-image {
        width: 650px;
        max-width: 100%;

        margin: 0 auto;
    }


    /* -----------------------------------------
       服务内容
       ----------------------------------------- */

    .abs-service-section {
        padding-bottom: 55px;
    }

    .abs-service-image {
        width: 650px;
    }


    /* -----------------------------------------
       服务优势
       ----------------------------------------- */

    .abs-advantage-content {
        grid-template-columns: 110px minmax(0, 1fr);

        gap: 24px;
    }

    .abs-advantage-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 25px;
    }

    .abs-advantage-item:nth-child(n + 5) {
        border-bottom: 0;
    }

    .abs-advantage-item:nth-child(3),
    .abs-advantage-item:nth-child(4) {
        border-bottom: 1px solid #dfcbb8;
    }

    .abs-advantage-label {
        min-height: 200px;
    }

    .abs-advantage-label span {
        font-size: 21px;
    }
}


/* =========================================================
   22. 手机端
   ========================================================= */

@media (max-width: 700px) {

    .abs-container {
        width: calc(100% - 28px);
    }


    /* -----------------------------------------
       Banner
       ----------------------------------------- */

    .abs-banner-prev,
    .abs-banner-next {
        width: 34px;
        height: 54px;

        margin-top: -27px;

        font-size: 30px;

        line-height: 54px;
    }

    .abs-banner-prev {
        left: 8px;
    }

    .abs-banner-next {
        right: 8px;
    }

    .abs-banner-dots {
        bottom: 10px;

        gap: 6px;
    }

    .abs-banner-dot {
        width: 6px;
        height: 6px;
    }

    .abs-banner-dot.active {
        width: 18px;
    }


    /* -----------------------------------------
       Section 标题
       ----------------------------------------- */

    .abs-section-title {
        margin-bottom: 24px;
    }

    .abs-section-title h2 {
        font-size: 23px;
    }

    .abs-section-title > span {
        width: 26px;
        height: 3px;

        margin-left: 10px;
    }


    /* -----------------------------------------
       资产证券化
       ----------------------------------------- */

    .abs-intro {
        padding: 45px 0;
    }

    .abs-intro-content h1 {
        margin-bottom: 22px;

        font-size: 26px;
    }

    .abs-intro-content p {
        font-size: 13px;

        line-height: 1.9;
    }

    .abs-intro-image {
        width: 100%;
    }


    /* -----------------------------------------
       服务内容
       ----------------------------------------- */

    .abs-service-section {
        padding: 0 0 50px;
    }

    .abs-service-image {
        width: 100%;

        margin: 0 auto;
    }


    /* -----------------------------------------
       服务优势
       ----------------------------------------- */

    .abs-advantage-section {
        padding-bottom: 55px;
    }

    .abs-advantage-content {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    /*
     * 手机端把左侧竖条
     * 改成顶部横向标题。
     */

    .abs-advantage-label {
        width: 100%;
        min-height: 64px;

        display: flex;
        flex-direction: row;

        gap: 0;

        justify-content: center;
    }

    .abs-advantage-label span {
        writing-mode: horizontal-tb;

        font-size: 20px;

        letter-spacing: 5px;
    }


    /*
     * 手机端优势改为单列
     */

    .abs-advantage-list {
        grid-template-columns: 1fr;

        column-gap: 0;
    }

    .abs-advantage-item {
        min-height: 64px;

        padding: 10px 4px;

        border-bottom: 1px solid #dfcbb8;
    }

    .abs-advantage-item:nth-child(n) {
        border-bottom: 1px solid #dfcbb8;
    }

    .abs-advantage-item:last-child {
        border-bottom: 0;
    }

    .abs-advantage-text {
        font-size: 14px;

        line-height: 1.6;
    }
}


/* =========================================================
   23. 小屏手机
   ========================================================= */

@media (max-width: 480px) {

    .abs-container {
        width: calc(100% - 24px);
    }


    /* -----------------------------------------
       Banner
       ----------------------------------------- */

    .abs-banner-prev,
    .abs-banner-next {
        opacity: .7;
    }


    /* -----------------------------------------
       标题
       ----------------------------------------- */

    .abs-section-title h2 {
        font-size: 21px;
    }


    /* -----------------------------------------
       介绍
       ----------------------------------------- */

    .abs-intro {
        padding: 38px 0;
    }

    .abs-intro-content h1 {
        font-size: 24px;
    }

    .abs-intro-content p {
        font-size: 13px;
    }


    /* -----------------------------------------
       服务内容
       ----------------------------------------- */

    .abs-service-section {
        padding-bottom: 40px;
    }


    /* -----------------------------------------
       服务优势
       ----------------------------------------- */

    .abs-advantage-section {
        padding-bottom: 45px;
    }

    .abs-advantage-label {
        min-height: 58px;
    }

    .abs-advantage-label span {
        font-size: 18px;

        letter-spacing: 4px;
    }

    .abs-advantage-icon {
        width: 30px;
        height: 30px;

        margin-right: 11px;

        font-size: 13px;
    }

    .abs-advantage-text {
        font-size: 13px;
    }
}


/* =========================================================
   24. 超小屏
   ========================================================= */

@media (max-width: 360px) {

    .abs-container {
        width: calc(100% - 20px);
    }

    .abs-section-title h2 {
        font-size: 20px;
    }

    .abs-intro-content h1 {
        font-size: 22px;
    }

    .abs-advantage-label span {
        font-size: 17px;
    }

    .abs-advantage-text {
        font-size: 12px;
    }
}


/* =========================================================
   25. 无动画 / 减少动画
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .abs-banner-slide,
    .abs-banner-prev,
    .abs-banner-next,
    .abs-banner-dot,
    .abs-intro-image img,
    .abs-advantage-item,
    .abs-advantage-icon {
        transition: none;
    }
}


/* =========================================================
   END
   ========================================================= */