/* Xingda single-post reading layout. Kept strictly scoped away from Blog archives. */
.single-post .hj-blog-article {
    color: #2d3540;
    font-family: "Lato", sans-serif;
    font-size: 17px;
    line-height: 1.78;
    overflow-wrap: anywhere;
}

.single-post .hj-blog-article > :first-child {
    margin-top: 0;
}

.single-post .hj-blog-article p {
    margin: 0 0 1.35em;
}

.single-post .hj-blog-article .hj-blog-lead {
    background: #f3f8fc;
    border-left: 4px solid #66ccff;
    border-radius: 0 8px 8px 0;
    color: #24374a;
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 42px;
    padding: 24px 28px;
}

.single-post .hj-blog-article h2,
.single-post .hj-blog-article h3,
.single-post .hj-blog-article h4 {
    color: #003366;
    font-family: "Montserrat", sans-serif;
    text-transform: none;
}

.single-post .hj-blog-article h2 {
    border-top: 1px solid #e3ebf1;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    margin: 52px 0 20px;
    padding-top: 34px;
}

.single-post .hj-blog-article h2:first-of-type {
    border-top: 0;
    margin-top: 34px;
    padding-top: 0;
}

.single-post .hj-blog-article h3 {
    font-size: 21px;
    font-weight: 650;
    line-height: 1.45;
    margin: 32px 0 14px;
}

.single-post .hj-blog-article h4 {
    font-size: 18px;
    font-weight: 650;
    line-height: 1.5;
    margin: 26px 0 12px;
}

.single-post .hj-blog-article ul,
.single-post .hj-blog-article ol {
    margin: 0 0 1.7em;
    padding-left: 1.45em;
}

.single-post .hj-blog-article li {
    margin-bottom: 0.55em;
    padding-left: 0.25em;
}

.single-post .hj-blog-article li::marker {
    color: #1488bd;
    font-weight: 700;
}

.single-post .hj-blog-article a {
    color: #0879ae;
    font-weight: 600;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.single-post .hj-blog-article a:hover,
.single-post .hj-blog-article a:focus {
    color: #003366;
}

.single-post .hj-blog-article blockquote,
.single-post .hj-blog-article .hj-blog-note {
    background: #fbfcfd;
    border: 1px solid #dce7ee;
    border-radius: 8px;
    color: #34495e;
    margin: 30px 0;
    padding: 22px 26px;
}

.single-post .hj-blog-article .hj-blog-figure {
    margin: 38px auto 44px;
    max-width: 720px;
    text-align: center;
}

.single-post .hj-blog-article .hj-blog-figure img {
    border-radius: 10px;
    box-shadow: 0 14px 35px rgba(0, 51, 102, 0.12);
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
    width: auto;
}

.single-post .hj-blog-article .hj-blog-figure figcaption {
    color: #6b7785;
    font-size: 13px;
    line-height: 1.55;
    margin-top: 12px;
}

.single-post .hj-blog-article .hj-blog-table-wrap {
    border: 1px solid #d9e4eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 51, 102, 0.07);
    margin: 30px 0 38px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.single-post .hj-blog-article table {
    border: 0;
    border-collapse: collapse;
    margin: 0;
    min-width: 620px;
    width: 100%;
}

.single-post .hj-blog-article th,
.single-post .hj-blog-article td {
    border: 0;
    border-bottom: 1px solid #e2e9ee;
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}

.single-post .hj-blog-article th {
    background: #003366;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 650;
}

.single-post .hj-blog-article tbody tr:nth-child(even) td {
    background: #f6f9fb;
}

.single-post .hj-blog-article tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 1024px) {
    .single-post .hj-blog-article {
        font-size: 16px;
    }

    .single-post .hj-blog-article h2 {
        font-size: 27px;
    }
}

@media (max-width: 767px) {
    .single-post .hj-blog-article {
        font-size: 16px;
        line-height: 1.72;
    }

    .single-post .hj-blog-article .hj-blog-lead {
        font-size: 17px;
        margin-bottom: 32px;
        padding: 20px;
    }

    .single-post .hj-blog-article h2 {
        font-size: 23px;
        margin-top: 40px;
        padding-top: 28px;
    }

    .single-post .hj-blog-article h3 {
        font-size: 19px;
    }

    .single-post .hj-blog-article h4 {
        font-size: 17px;
    }

    .single-post .hj-blog-article .hj-blog-figure {
        margin: 30px auto 34px;
    }

    .single-post .hj-blog-article th,
    .single-post .hj-blog-article td {
        padding: 12px 14px;
    }
}
