body.page-template-default {
    background-image: linear-gradient(-88.1713deg, #c5d8ea -15.88542%, #f9fbff 46.3687%, #e2edf6 104.323%);
}

.sec_bg {
    height: 171rem
}

.post_main {
    width: calc(100% - 4rem);
    max-width: 163.7rem;
    margin: 0 auto;
    position: relative;
    padding: 9.3rem 24.1rem 17rem 25.6rem
}

.post_main .post_head .metas {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 1.7rem;
    gap: 1.9rem;
    color: #636363
}

.post_main .post_head .metas .cat {
    font-size: 1.8rem;
    line-height: 3.6rem;
    border-radius: 100px;
    background-color: var(--secondary);
    color: #fff;
    padding: 0 1.8rem
}

.post_main .post_head h1 {
    font-size: 5.6rem;
    line-height: 6.6rem;
    font-weight: 600;
    color: #101010;
    margin-top: 1.5rem;
    letter-spacing: 1.35px
}

.post_main .post_head .img {
    margin-top: 6.8rem;
    width: 100%;
    height: auto;
    border-radius: 1.3rem
}

.post_main .postdetail {
    margin-top: 6.5rem;
    font-size: 1.8rem;
    line-height: 1.6666667;
    color: var(--text)
}

.post_main .postdetail .content {
    padding: 0;
    max-width: unset
}

.post_main .postdetail .content>*:first-child {
    margin-top: 0
}

.post_main .postdetail .content>*:last-child {
    margin-bottom: 0
}

.post_main .postdetail h2 {
    font-size: 2.6rem;
    font-weight: 600;
    color: #0f0f0f;
    margin: 4.3rem 0 2rem;
    letter-spacing: .38px
}

.post_main .postdetail h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #0f0f0f;
    margin: 2rem 0
}

.post_main .postdetail p {
    margin: 1rem 0
}

.post_main .postdetail a {
    color: #1e120d;
    font-weight: 500;
    transition: all 0.3s
}

.post_main .postdetail a:hover {
    color: var(--secondary);
    text-decoration: underline
}

.post_main .postdetail img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.3rem;
    object-fit: cover;
    margin: 4rem 0
}

.post_main .postdetail ul {
    margin: 3rem 0
}

.post_main .postdetail ul li {
    position: relative;
    padding-left: 2.9rem
}

.post_main .postdetail ul li::before {
    width: .8rem;
    height: .8rem;
    position: absolute;
    left: 0;
    top: 1rem;
    content: '';
    border-radius: 50%;
    background-color: var(--secondary)
}

.post_main .postdetail ul li+li {
    margin-top: 1px
}

.post_main .postdetail ul.links {
    font-size: 2.2rem
}

.post_main .postdetail ul.links li::before {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 0;
    background: url(../../../../../../../../themes/sytech/assets/img/post-nav.svg) no-repeat center left / contain
}

.post_main .postdetail .wp-block-quote {
    position: relative;
    border-radius: 1.6rem;
    background-image: linear-gradient(to right,#70b3e5,#aad6f2);
    min-height: 27.2rem;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    margin: 4.2rem 0 6rem
}

.post_main .postdetail .wp-block-quote::after {
    width: 6.579%;
    padding-bottom: 6.579%;
    position: absolute;
    right: 3.51%;
    top: 0;
    transform: translateY(-24%);
    content: '';
    background: url(../../../../../../../../themes/sytech/assets/img/douhao.svg) no-repeat center / contain
}

.post_main .postdetail .wp-block-quote p {
    font-size: 2.6rem;
    line-height: 3.8rem;
    color: #fff;
    flex: 1;
    margin: 1.6% auto 0;
    max-width: 96.4rem
}

.post_main .postdetail .wp-block-columns {
    gap: 16px
}

.post_main .postdetail table {
    border-radius: 10px 10px 0 0;
    overflow: hidden
}

.post_main .postdetail thead {
    color: #fff;
    background-color: var(--primary)
}

.post_main .postdetail th {
    padding: 12px 20px;
    text-align: left;
    border: 1px solid var(--primary)
}

.post_main .postdetail td {
    padding: 12px 20px;
    vertical-align: top;
    border: 1px solid rgba(0,0,0,.1)
}

.post_main .tags-box {
    border-top: 1px solid rgba(25,25,30,.15);
    padding-top: 2rem;
    margin-top: 5.1rem
}

.post_main .tags-box .tags {
    flex: 1;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem
}

.post_main .tags-box .tags span {
    font-size: 1.8rem;
    color: #000;
    font-weight: 600;
    margin-right: 2.6rem;
    margin-top: .7rem
}

.post_main .tags-box .tags p {
    line-height: 3.4rem;
    transition: all 0.3s;
    color: #4c4c4c;
    font-weight: 500;
    border-radius: 100px;
    background-color: #fafbfb;
    text-align: center;
    padding: 0 2rem;
    min-width: 14.4rem
}

.post_main .tags-box .tags p:hover {
    background-color: var(--secondary);
    color: #fff
}

.post_main .share {
    position: absolute;
    top: 33.8rem;
    bottom: 0;
    right: 0;
    display: none
}

.post_main .share ul {
    position: sticky;
    top: 12rem;
    display: grid;
    gap: 2.4rem
}

.post_main .share ul .active a {
    background-color: var(--secondary)
}

.post_main .share ul .active a::after {
    filter: contrast(0) brightness(2)
}

.post_main .share ul a {
    opacity: 1;
    display: block;
    width: 6rem;
    height: 6rem;
    overflow: hidden;
    text-indent: -999px;
    position: relative;
    transition: all 0.3s;
    border-radius: 50%;
    background-color: #fff
}

.post_main .share ul a::after {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    background: no-repeat center / contain;
    transition: all 0.3s
}

.post_main .share ul .facebook a::after {
    background-image: url(../../../../../../../../themes/sytech/assets/img/facebook2.svg)
}

.post_main .share ul .twitter a::after {
    background-image: url(../../../../../../../../themes/sytech/assets/img/twitter2.svg)
}

.post_main .share ul .pinterest a::after {
    background-image: url(../../../../../../../../themes/sytech/assets/img/pinterest2.svg)
}

.blog_related {
    background-color: var(--bg);
    border-radius: 4rem;
    padding: 11.9rem 0 13rem
}

.blog_related .blog_related_swiper {
    overflow: hidden;
    border-radius: .8rem;
    margin-top: 7.8rem
}

.blog_related .blog_related_swiper .swiper-slide {
    max-width: 44rem
}

.blog_related .swiper_btns {
    top: 48.5%
}

@media screen and (min-width: 769px) and (max-width:1220px) {
    .post_main {
        padding:9.3rem 10rem 17rem
    }
}

@media screen and (max-width: 768px) {
    .post_main {
        padding:32px 20px 50px;
        width: 100%
    }

    .post_main .post_head .metas {
        margin-top: 16px;
        font-size: 14px;
        gap: 12px
    }

    .post_main .post_head .metas .cat {
        font-size: 14px;
        line-height: 30px;
        padding: 0 12px
    }

    .post_main .post_head h1 {
        font-size: 22px;
        line-height: 1.3;
        margin-top: 16px;
        max-width: unset;
        letter-spacing: unset
    }

    .post_main .post_head .img {
        border-radius: 10px;
        margin-top: 30px
    }

    .post_main .postdetail {
        font-size: 14px;
        line-height: 1.5;
        margin-top: 30px
    }

    .post_main .postdetail h2 {
        font-size: 18px;
        margin: 30px 0 16px;
        letter-spacing: unset
    }

    .post_main .postdetail h3 {
        font-size: 16px;
        margin: 14px 0
    }

    .post_main .postdetail p {
        margin: 10px 0
    }

    .post_main .postdetail img {
        border-radius: 10px;
        margin: 50px 0
    }

    .post_main .postdetail ul {
        margin: 14px 0
    }

    .post_main .postdetail ul li {
        padding-left: 25px
    }

    .post_main .postdetail ul li::before {
        width: 7px;
        height: 7px;
        top: 7px
    }

    .post_main .postdetail ul li+li {
        margin-top: 10px
    }

    .post_main .postdetail ul.links {
        font-size: 14px
    }

    .post_main .postdetail ul.links li::before {
        width: 12px;
        height: 12px;
        top: 5px
    }

    .post_main .postdetail .wp-block-quote {
        padding: 40px 20px;
        margin: 50px 0;
        border-radius: 10px;
        min-height: 150px
    }

    .post_main .postdetail .wp-block-quote::after {
        width: 40px;
        height: 40px;
        padding: 0
    }

    .post_main .postdetail .wp-block-quote p {
        font-size: 14px;
        line-height: 1.5;
        margin: 0 auto;
        max-width: unset
    }

    .post_main .postdetail table {
        display: block;
        overflow: auto
    }

    .post_main .postdetail th {
        padding: 8px 15px
    }

    .post_main .postdetail td {
        padding: 8px 15px
    }

    .post_main .tags-box {
        margin-top: 50px;
        padding-top: 20px
    }

    .post_main .tags-box .tags {
        gap: 12px;
        margin: 0
    }

    .post_main .tags-box .tags span {
        font-size: 16px;
        margin-right: 0;
        margin-top: 8px
    }

    .post_main .tags-box .tags p {
        line-height: 32px;
        padding: 0 20px;
        min-width: 100px
    }

    .post_main .share {
        position: static;
        margin-top: 30px
    }

    .post_main .share ul {
        position: unset;
        display: flex;
        flex-wrap: wrap;
        gap: 20px
    }

    .post_main .share ul a {
        width: 40px;
        height: 40px
    }

    .blog_related {
        padding: 50px 0;
        border-radius: 0;
        overflow: hidden
    }

    .blog_related .blog_related_swiper {
        overflow: unset;
        margin-top: 30px
    }

    .blog_related .blog_related_swiper .swiper-slide {
        max-width: 322px
    }

    .blog_related .swiper_btns.middle {
        position: static;
        width: 100%;
        max-width: unset;
        padding: 0 20px;
        justify-content: flex-end;
        transform: translate(0);
        margin-top: 30px
    }
}
