﻿@charset "utf-8";

/* =========================================================
   Product Articles / Technical Knowledge Hub
========================================================= */

.jx-posts-hub,
.jx-posts-library {
    width: 100%;
}

.jx-posts-hub *,
.jx-posts-hub *::before,
.jx-posts-hub *::after,
.jx-posts-library *,
.jx-posts-library *::before,
.jx-posts-library *::after {
    box-sizing: border-box;
}

.jx-posts-hub {
    padding: 52px 0 72px;
}

.jx-posts-library {
    padding: 46px 0 70px;
}


/* Shared headings */

.jx-posts-heading,
.jx-posts-library-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.jx-posts-heading > div,
.jx-posts-library-head > div {
    flex: 1;
    min-width: 0;
}

.jx-posts-heading > div > span,
.jx-posts-library-head > div > span,
.jx-posts-library-nav > div > span {
    display: block;
    margin-bottom: 6px;
    color: #0a5ef3;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    letter-spacing: .8px;
}

.jx-posts-heading h2,
.jx-posts-library-head h2,
.jx-posts-library-nav h2 {
    margin: 0;
    color: #111827;
    font-size: 29px;
    line-height: 39px;
    font-weight: 600;
}

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


/* =========================================================
   Topic directory
========================================================= */

.jx-posts-topic-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #e1e7ef;
    border-left: 1px solid #e1e7ef;
}

.jx-posts-topic-card {
    min-width: 0;
    min-height: 94px;
    padding: 17px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border-right: 1px solid #e1e7ef;
    border-bottom: 1px solid #e1e7ef;
    background: #fff;
    color: #172033;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.jx-posts-topic-card:hover {
    background: #f2f6ff;
}

.jx-posts-topic-index {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf4ff;
    color: #0a5ef3;
    font-size: 15px;
}

.jx-posts-topic-copy {
    min-width: 0;
}

.jx-posts-topic-copy strong {
    display: block;
    overflow: hidden;
    color: #172033;
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jx-posts-topic-copy em {
    display: block;
    margin-top: 3px;
    color: #8590a2;
    font-size: 14px;
    line-height: 20px;
    font-style: normal;
}

.jx-posts-topic-card > i {
    color: #0a5ef3;
    font-size: 15px;
}


/* =========================================================
   Latest square guide cards
========================================================= */

.jx-posts-latest-heading {
    margin-top: 48px;
}

.jx-posts-guide-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.jx-posts-guide-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e1e7ef;
    background: #fff;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.jx-posts-guide-card:hover {
    border-color: #b8cff9;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(10, 94, 243, .08);
}

.jx-posts-guide-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    overflow: hidden;
    background: #f6f8fb;
}

.jx-posts-guide-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s ease;
}

.jx-posts-guide-card:hover .jx-posts-guide-image img {
    transform: scale(1.035);
}

.jx-posts-guide-copy {
    padding: 16px;
}

.jx-posts-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #8792a4;
    font-size: 14px;
    line-height: 20px;
}

.jx-posts-meta i {
    margin-right: 5px;
    color: #0a5ef3;
}

.jx-posts-guide-copy h3 {
    height: 48px;
    margin: 8px 0 0;
    overflow: hidden;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.jx-posts-guide-copy h3 a {
    color: #172033;
    text-decoration: none;
}

.jx-posts-guide-copy h3 a:hover {
    color: #0a5ef3;
}

.jx-posts-guide-copy p {
    height: 44px;
    margin: 8px 0 0;
    overflow: hidden;
    color: #748094;
    font-size: 14px;
    line-height: 22px;
}

.jx-posts-read-more {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0a5ef3;
    font-size: 14px;
    line-height: 21px;
    font-weight: 500;
    text-decoration: none;
}

.jx-posts-read-more:hover {
    color: #084bc4;
}


/* =========================================================
   Popular guides - horizontal with square thumbs
========================================================= */

.jx-posts-popular-heading {
    margin-top: 48px;
}

.jx-posts-popular-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.jx-posts-popular-card {
    min-width: 0;
    min-height: 150px;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    border: 1px solid #e1e7ef;
    background: #fff;
}

.jx-posts-popular-image {
    width: 150px;
    aspect-ratio: 1 / 1;
    display: block;
    overflow: hidden;
    background: #f6f8fb;
}

.jx-posts-popular-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.jx-posts-popular-copy {
    min-width: 0;
    padding: 18px;
}

.jx-posts-popular-copy h3 {
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.jx-posts-popular-copy h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: #172033;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.jx-posts-popular-copy h3 a:hover {
    color: #0a5ef3;
}

.jx-posts-popular-copy p {
    height: 44px;
    margin: 8px 0 0;
    overflow: hidden;
    color: #748094;
    font-size: 14px;
    line-height: 22px;
}


/* =========================================================
   Library category navigation
========================================================= */

.jx-posts-library-nav {
    margin-bottom: 28px;
    padding-bottom: 20px;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 26px;
    align-items: end;
    border-bottom: 1px solid #e2e8f0;
}

.jx-posts-library-nav h2 {
    font-size: 23px;
    line-height: 32px;
}

.jx-posts-library-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.jx-posts-library-categories a {
    padding: 7px 11px;
    border: 1px solid #dfe6ef;
    background: #fff;
    color: #536174;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
}

.jx-posts-library-categories a:hover {
    border-color: #0a5ef3;
    color: #0a5ef3;
}

.jx-posts-library-categories a.jx-active {
    border-color: #0a5ef3;
    background: #0a5ef3;
    color: #fff;
    font-weight: 600;
}


/* =========================================================
   Library two-column cards
========================================================= */

.jx-posts-library-head {
    margin-bottom: 20px;
}

.jx-posts-library-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.jx-posts-library-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #e1e7ef;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.jx-posts-library-card:hover {
    border-color: #b8cff9;
    box-shadow: 0 10px 24px rgba(10, 94, 243, .07);
}

.jx-posts-library-image {
    width: 190px;
    aspect-ratio: 1 / 1;
    display: block;
    overflow: hidden;
    background: #f6f8fb;
}

.jx-posts-library-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s ease;
}

.jx-posts-library-card:hover .jx-posts-library-image img {
    transform: scale(1.035);
}

.jx-posts-library-copy {
    min-width: 0;
    padding: 17px 18px;
}

.jx-posts-library-copy h2 {
    margin: 8px 0 0;
    font-size: 17px;
    line-height: 25px;
    font-weight: 600;
}

.jx-posts-library-copy h2 a {
    display: -webkit-box;
    overflow: hidden;
    color: #172033;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.jx-posts-library-copy h2 a:hover {
    color: #0a5ef3;
}

.jx-posts-library-copy p {
    height: 44px;
    margin: 9px 0 0;
    overflow: hidden;
    color: #748094;
    font-size: 14px;
    line-height: 22px;
}


/* =========================================================
   Recommended
========================================================= */

.jx-posts-recommended-head {
    margin-top: 44px;
}

.jx-posts-recommended-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.jx-posts-recommended-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    border: 1px solid #e1e7ef;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.jx-posts-recommended-image {
    width: 90px;
    aspect-ratio: 1 / 1;
    display: block;
    overflow: hidden;
    background: #f6f8fb;
}

.jx-posts-recommended-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.jx-posts-recommended-copy {
    min-width: 0;
    padding: 11px 12px;
}

.jx-posts-recommended-copy strong {
    display: -webkit-box;
    overflow: hidden;
    color: #172033;
    font-size: 14px;
    line-height: 21px;
    font-weight: 600;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.jx-posts-recommended-copy em {
    margin-top: 6px;
    display: block;
    color: #8792a4;
    font-size: 14px;
    line-height: 20px;
    font-style: normal;
}

.jx-posts-recommended-card:hover strong {
    color: #0a5ef3;
}


/* =========================================================
   Pagination
========================================================= */

.jx-posts-pagination {
    width: 100%;
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.jx-posts-pagination:empty {
    display: none;
}

.jx-posts-pagination a,
.jx-posts-pagination span {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe5ec;
    background: #fff;
    color: #536174;
    font-size: 14px;
    line-height: 34px;
    text-decoration: none;
}

.jx-posts-pagination a:hover,
.jx-posts-pagination span {
    border-color: #0a5ef3;
    background: #0a5ef3;
    color: #fff;
}


/* =========================================================
   CTA
========================================================= */

.jx-posts-cta {
    margin-top: 46px;
    padding: 28px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-left: 4px solid #0a5ef3;
    background: #f1f6ff;
}

.jx-posts-cta > div {
    flex: 1;
    min-width: 0;
}

.jx-posts-cta > div > span {
    display: block;
    margin-bottom: 4px;
    color: #0a5ef3;
    font-size: 14px;
    line-height: 21px;
    font-weight: 600;
    letter-spacing: .6px;
}

.jx-posts-cta h2 {
    margin: 0;
    color: #172033;
    font-size: 23px;
    line-height: 32px;
    font-weight: 600;
}

.jx-posts-cta p {
    margin: 7px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 22px;
}

.jx-posts-cta > a {
    min-width: 142px;
    height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #0a5ef3;
    color: #fff;
    font-size: 14px;
    line-height: 42px;
    font-weight: 600;
    text-decoration: none;
}

.jx-posts-cta > a:hover {
    background: #084bc4;
}


/* =========================================================
   Mobile
========================================================= */

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

    .jx-posts-hub {
        padding: 30px 0 42px;
    }

    .jx-posts-library {
        padding: 30px 0 42px;
    }

    .jx-posts-heading,
    .jx-posts-library-head {
        display: block;
    }

    .jx-posts-heading h2,
    .jx-posts-library-head h2 {
        font-size: 22px;
        line-height: 31px;
    }

    .jx-posts-heading > p,
    .jx-posts-library-head > p {
        width: 100%;
        margin-top: 8px;
        font-size: 14px;
        line-height: 22px;
    }


    .jx-posts-topic-grid {
        margin-top: 16px;
        grid-template-columns: 1fr;
    }

    .jx-posts-topic-card {
        min-height: 72px;
        padding: 13px;
    }


    .jx-posts-latest-heading,
    .jx-posts-popular-heading {
        margin-top: 32px;
    }

    .jx-posts-guide-grid {
        margin-top: 16px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .jx-posts-guide-copy {
        padding: 11px;
    }

    .jx-posts-guide-copy h3 {
        height: 42px;
        font-size: 14px;
        line-height: 21px;
    }

    .jx-posts-guide-copy p {
        display: none;
    }

    .jx-posts-read-more {
        margin-top: 9px;
    }


    .jx-posts-popular-grid {
        margin-top: 16px;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .jx-posts-popular-card {
        min-height: 112px;
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .jx-posts-popular-image {
        width: 112px;
    }

    .jx-posts-popular-copy {
        padding: 12px;
    }

    .jx-posts-popular-copy h3 {
        font-size: 14px;
        line-height: 21px;
    }

    .jx-posts-popular-copy p {
        height: 42px;
        font-size: 14px;
        line-height: 21px;
    }


    .jx-posts-library-nav {
        margin-bottom: 20px;
        padding-bottom: 16px;
        display: block;
    }

    .jx-posts-library-nav h2 {
        font-size: 21px;
        line-height: 30px;
    }

    .jx-posts-library-categories {
        margin-top: 12px;
        justify-content: flex-start;
    }

    .jx-posts-library-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .jx-posts-library-card {
        grid-template-columns: 125px minmax(0, 1fr);
    }

    .jx-posts-library-image {
        width: 125px;
    }

    .jx-posts-library-copy {
        padding: 12px;
    }

    .jx-posts-library-copy h2 {
        font-size: 15px;
        line-height: 22px;
    }

    .jx-posts-library-copy p {
        height: 42px;
        font-size: 14px;
        line-height: 21px;
    }


    .jx-posts-recommended-head {
        margin-top: 32px;
    }

    .jx-posts-recommended-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .jx-posts-recommended-card {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .jx-posts-recommended-image {
        width: 84px;
    }


    .jx-posts-cta {
        margin-top: 32px;
        padding: 22px 18px;
        display: block;
    }

    .jx-posts-cta h2 {
        font-size: 20px;
        line-height: 29px;
    }

    .jx-posts-cta > a {
        width: 100%;
        margin-top: 16px;
    }

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

.jx-posts-heading > div > span,
.jx-posts-library-head > div > span,
.jx-posts-library-nav > div > span,
.jx-posts-cta > div > span {
    color: #ff5733;
}

.jx-posts-topic-index {
    background: #fff1ed;
    color: #ff5733;
}

.jx-posts-meta i {
    color: #ff5733;
}

.jx-posts-guide-card:hover,
.jx-posts-library-card:hover {
    border-color: #ffc2b5;
}

.jx-posts-cta {
    border-left-color: #ff5733;
    background: #fff7f5;
}

.jx-posts-cta > a {
    background: #ff5733;
}

.jx-posts-cta > a:hover {
    background: #e94726;
}
