﻿/* Support resource page */

.jx-support-resource {
    width: 100%;
    padding: 52px 0 72px;
}

.jx-support-resource *,
.jx-support-resource *::before,
.jx-support-resource *::after {
    box-sizing: border-box;
}

.jx-support-topic-bar {
    margin-bottom: 28px;
    padding: 30px;
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 10px;
}

.jx-support-topic-head {
    margin-bottom: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.jx-support-topic-head > div {
    flex: 1;
    min-width: 0;
}

.jx-support-topic-head > div > span {
    display: block;
    margin-bottom: 7px;
    color: #0a5ef3;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    letter-spacing: .8px;
}

.jx-support-topic-head h2 {
    margin: 0;
    color: #111827;
    font-size: 28px;
    line-height: 38px;
    font-weight: 600;
}

.jx-support-topic-head > p {
    width: 44%;
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 23px;
}

.jx-support-topic-list {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
}

.jx-support-topic-list li {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.jx-support-topic-list li a {
    min-height: 52px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #e4eaf3;
    border-radius: 7px;
    background: #f8faff;
    color: #263244;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.jx-support-topic-list li a span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jx-support-topic-list li a i {
    flex-shrink: 0;
    color: #8ca1bd;
    font-size: 13px;
    transition: color .2s ease, transform .2s ease;
}

.jx-support-topic-list li a:hover {
    border-color: #bcd3ff;
    background: #eef5ff;
    color: #0a5ef3;
    transform: translateY(-2px);
}

.jx-support-topic-list li a:hover i {
    color: #0a5ef3;
    transform: translateX(2px);
}

.jx-support-topic-list li a.jx-active {
    border-color: #0a5ef3;
    background: #0a5ef3;
    color: #fff;
}

.jx-support-topic-list li a.jx-active i {
    color: #fff;
}


.jx-support-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
    align-items: start;
}

.jx-support-article {
    min-width: 0;
    padding: 38px 42px 44px;
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 10px;
}

.jx-support-article-head {
    margin-bottom: 30px;
    padding-bottom: 26px;
    border-bottom: 1px solid #e9edf4;
}

.jx-support-article-head > span {
    display: block;
    margin-bottom: 8px;
    color: #0a5ef3;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    letter-spacing: .8px;
}

.jx-support-article-head h2 {
    margin: 0;
    color: #111827;
    font-size: 32px;
    line-height: 42px;
    font-weight: 600;
}

.jx-support-article-head p {
    max-width: 780px;
    margin: 12px 0 0;
    color: #667085;
    font-size: 15px;
    line-height: 25px;
}

.jx-support-article-body {
    color: #4b5565;
    font-size: 15px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.jx-support-article-body > *:first-child {
    margin-top: 0 !important;
}

.jx-support-article-body > *:last-child {
    margin-bottom: 0 !important;
}

.jx-support-article-body h1,
.jx-support-article-body h2,
.jx-support-article-body h3,
.jx-support-article-body h4 {
    color: #172033;
    font-weight: 600;
}

.jx-support-article-body h2 {
    margin: 32px 0 14px;
    padding-left: 15px;
    position: relative;
    font-size: 24px;
    line-height: 34px;
}

.jx-support-article-body h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 22px;
    border-radius: 4px;
    background: #0a5ef3;
}

.jx-support-article-body h3 {
    margin: 26px 0 12px;
    font-size: 19px;
    line-height: 29px;
}

.jx-support-article-body h4 {
    margin: 22px 0 10px;
    font-size: 16px;
    line-height: 26px;
}

.jx-support-article-body p {
    margin: 0 0 16px;
    color: #4b5565;
    font-size: 15px;
    line-height: 1.85;
}

.jx-support-article-body a {
    color: #0a5ef3;
    text-decoration: none;
}

.jx-support-article-body a:hover {
    text-decoration: underline;
}

.jx-support-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.jx-support-article-body ul,
.jx-support-article-body ol {
    margin: 16px 0 20px;
    padding-left: 24px;
}

.jx-support-article-body li {
    margin-bottom: 7px;
}

.jx-support-article-body blockquote {
    margin: 22px 0;
    padding: 18px 20px;
    border-left: 4px solid #0a5ef3;
    background: #f5f8ff;
    color: #44516a;
}

.jx-support-article-body table {
    width: 100%;
    margin: 22px 0;
    border-collapse: collapse;
    border-spacing: 0;
}

.jx-support-article-body table th,
.jx-support-article-body table td {
    padding: 11px 13px;
    border: 1px solid #dfe6f0;
    color: #4b5565;
    font-size: 14px;
    line-height: 22px;
    text-align: left;
}

.jx-support-article-body table th {
    background: #f5f8ff;
    color: #172033;
    font-weight: 600;
}


.jx-support-assist {
    position: sticky;
    top: 68px;
}

.jx-support-assist-card {
    padding: 28px 24px;
    overflow: hidden;
    position: relative;
    background: #0a5ef3;
    border-radius: 10px;
    color: #fff;
}

.jx-support-assist-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 135px;
    height: 135px;
    border: 22px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.jx-support-assist-label {
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    letter-spacing: .7px;
}

.jx-support-assist-card h2 {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #fff;
    font-size: 24px;
    line-height: 33px;
    font-weight: 600;
}

.jx-support-assist-card p {
    position: relative;
    z-index: 2;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 14px;
    line-height: 23px;
}

.jx-support-assist-btn {
    position: relative;
    z-index: 2;
    min-height: 44px;
    margin-top: 22px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 6px;
    background: #fff;
    color: #0a5ef3 !important;
    font-size: 14px;
    line-height: 44px;
    font-weight: 600;
    text-decoration: none !important;
}

.jx-support-assist-btn i {
    transition: transform .2s ease;
}

.jx-support-assist-btn:hover i {
    transform: translateX(3px);
}

.jx-support-assist-points {
    margin-top: 14px;
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 10px;
    overflow: hidden;
}

.jx-support-assist-point {
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    border-bottom: 1px solid #edf0f5;
}

.jx-support-assist-point:last-child {
    border-bottom: 0;
}

.jx-support-assist-point > i {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #edf4ff;
    color: #0a5ef3;
    font-size: 15px;
}

.jx-support-assist-point > div {
    min-width: 0;
}

.jx-support-assist-point strong {
    display: block;
    margin-bottom: 4px;
    color: #172033;
    font-size: 14px;
    line-height: 21px;
    font-weight: 600;
}

.jx-support-assist-point span {
    display: block;
    color: #758094;
    font-size: 14px;
    line-height: 21px;
}


@media screen and (max-width: 767px) {

    .jx-support-resource {
        padding: 30px 0 38px;
    }

    .jx-support-topic-bar {
        margin-bottom: 18px;
        padding: 20px 15px;
        border-radius: 8px;
    }

    .jx-support-topic-head {
        margin-bottom: 16px;
        display: block;
    }

    .jx-support-topic-head > div > span {
        margin-bottom: 5px;
        font-size: 14px;
    }

    .jx-support-topic-head h2 {
        font-size: 22px;
        line-height: 31px;
    }

    .jx-support-topic-head > p {
        width: 100%;
        margin-top: 10px;
        font-size: 14px;
        line-height: 22px;
    }

    .jx-support-topic-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .jx-support-topic-list li a {
        min-height: 48px;
        padding: 8px 11px;
        font-size: 14px;
    }

    .jx-support-content-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .jx-support-article {
        padding: 24px 18px 28px;
        border-radius: 8px;
    }

    .jx-support-article-head {
        margin-bottom: 22px;
        padding-bottom: 20px;
    }

    .jx-support-article-head > span {
        font-size: 14px;
    }

    .jx-support-article-head h2 {
        font-size: 24px;
        line-height: 33px;
    }

    .jx-support-article-head p {
        margin-top: 9px;
        font-size: 14px;
        line-height: 23px;
    }

    .jx-support-article-body,
    .jx-support-article-body p {
        font-size: 14px;
        line-height: 1.75;
    }

    .jx-support-article-body h2 {
        margin-top: 26px;
        font-size: 20px;
        line-height: 29px;
    }

    .jx-support-article-body h3 {
        margin-top: 22px;
        font-size: 17px;
        line-height: 26px;
    }

    .jx-support-article-body table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .jx-support-assist {
        position: static;
    }

    .jx-support-assist-card {
        padding: 24px 20px;
        border-radius: 8px;
    }

    .jx-support-assist-card h2 {
        font-size: 21px;
        line-height: 30px;
    }

}
/* =========================================================
   JIEXIN orange accent
========================================================= */

.jx-support-topic-head > div > span,
.jx-support-article-head > span,
.jx-support-assist-label {
    color: #ff5733;
}

.jx-support-article-body h2::before {
    background: #ff5733;
}

.jx-support-article-body blockquote {
    border-left-color: #ff5733;
    background: #fff7f5;
}

.jx-support-topic-list li a:hover i {
    color: #ff5733;
}

.jx-support-assist-btn {
    background: #ff5733;
    color: #ffffff !important;
}

.jx-support-assist-btn:hover {
    background: #e94726;
}

.jx-support-assist-point > i {
    color: #ff5733;
}
