@charset "UTF-8";

/* 页面初始化 */
* {
    box-sizing: border-box;
    font-family: Poppins;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Poppins;
}

/* banner */
.glossary-page .top {
    background: #fff url(/static/swift_proxy/images/use_cases/glossary/g_banner_bg.webp) no-repeat 0px 31px;
    background-size: 100% 100%;
}

.glossary-banner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 104px;
    padding-bottom: 60px;
}

.glossary-banner .breadcrumbtext {
    display: flex;
    justify-content: center;
    padding-top: 42px;
    margin-bottom: 60px;
}

.glossary-banner-card {
    position: relative;
    padding: 50px 0 0px 50px;
    background: #FFFFFF33;

    border: 1px solid #fff;
    border-radius: 20px;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px); */

    box-shadow: 0px 4px 20px 0px #0000000D;

    backdrop-filter: blur(4px);

    /* 最小高度：文案较长的语言（如法语）会把卡片撑高，而不是溢出 */
    min-height: 476px;

}

.glossary-banner-content {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    /* gap: 40px; */
}

.glossary-banner-left {
    max-width: 560px;

    margin-left: 50px;
    /* 给搜索框留位置：搜索框压在卡片底部 34px，文字比插图高时不会被它盖住 */
    padding-bottom: 50px;
}

.glossary-tag {
    display: inline-block;
    padding: 4px 16px;
    margin-bottom: 12px;
    font-family: Poppins;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    color: #2DCAFF;
    
    background: rgba(99, 214, 253, 0.11);
    border: 1px solid rgba(99, 214, 253, 0.23);
    border-radius: 15px;
}

.glossary-title {
    margin: 0 0 18px;
    font-weight: 600;
    font-size: 46px;
    line-height: 69px;
    color: #000;
}

.glossary-desc {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #333;

    max-width: 530px;
}

.glossary-banner-right {
    flex-shrink: 0;
    width: 581px;
    height: 350px;
    height: 452px;

    margin-top: -30px;

    overflow: hidden;
}

.glossary-banner-right img {
    display: block;
    width: 100%;
}

/* 固定骑在卡片底边上（露出 28px），不随左侧文案长短上下移动 */
.glossary-search {
    position: absolute;
    left: 50px;
    right: 0;
    bottom: -28px;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 1020px;
    height: 60px;
    margin: 0 auto;
    padding: 0 20px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.glossary-search img {
    width: 18px;
    height: 18px;

    cursor: pointer;
}

.glossary-search input {
    flex: 1;
    height: 100%;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    border: none;
    outline: none;
    background: transparent;
}

.glossary-search input::placeholder {
    color: #A1A9AB;
}

/* Contents */
.glossary-contents {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 0 100px;
}

.glossary-contents-title {
    margin: 3px 0 50px;
    font-weight: 600;
    font-size: 30px;
    line-height: 45px;
    color: #000;
}

.glossary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    row-gap: 40px;
    padding: 0 90px;
}

.glossary-letter {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    color: #333;
}

.glossary-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.glossary-list li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.glossary-list li:last-child {
    margin-bottom: 0;
}

.glossary-list a {
    color: #009DD2;
    text-decoration: none;
}

.glossary-list a.is-underline,
.glossary-list a:hover {
    text-decoration: underline;
}

.glossary-empty {
    padding: 0 90px;
    font-size: 16px;
    line-height: 24px;
    color: #7D8588;
}

.glossary-updated {
    margin: 20px 90px 0;
    padding-top: 20px;
    font-weight: 600;
    font-size: 16px;
    color: #555;
    border-top: 1px solid #eee;
}

.glossary-updated span {
    font-weight: 500;
    color: #7D8588;
}

/* 详情页 */
.glossary-detail-page .top {
    background: #fff;
}

.glossary-detail {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 146px 0 100px;
}

.glossary-detail .breadcrumbtext {
    margin-bottom: 40px;
}

.glossary-detail-title {
    margin: 0 0 30px;
    font-weight: 600;
    font-size: 40px;
    line-height: 56px;
    color: #000;
    word-break: break-word;
}

.glossary-detail-content.vditor-reset {
    color: #333;
}

@media (max-width: 1200px) {
    .glossary-banner,
    .glossary-detail,
    .glossary-contents {
        padding-left: 16px;
        padding-right: 16px;
    }
    .glossary-grid,
    .glossary-empty {
        padding: 0;
    }
    .glossary-updated {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 600px) {
    .glossary-banner {
        padding-top: 20px;
        padding-bottom: 50px;
    }
    .glossary-banner .breadcrumbtext {
        padding-top: 10px;
        margin-bottom: 20px;
    }
    .glossary-banner-card {
        padding: 24px 16px 0;
    }
    .glossary-banner-right {
        display: none;
    }
    .glossary-banner-left {
        padding-bottom: 40px;
    }
    .glossary-title {
        font-size: 28px;
        line-height: 40px;
        margin-bottom: 16px;
    }
    .glossary-desc {
        font-size: 14px;
        line-height: 22px;
    }
    .glossary-search {
        left: 16px;
        right: 16px;
        height: 50px;
    }
    .glossary-contents {
        padding-top: 40px;
        padding-bottom: 60px;
    }
    .glossary-contents-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .glossary-grid {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }
    .glossary-detail {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    .glossary-detail .breadcrumbtext {
        margin-bottom: 24px;
    }
    .glossary-detail-title {
        font-size: 28px;
        line-height: 40px;
        margin-bottom: 20px;
    }
}
