/* banner-section */
.banner-section {
    background-color: rgba(29, 45, 94, 0.9);
    padding: 97px 0 0 0;
}

.banner-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 70px 0;
}

.blog-thumb ul {
    display: flex;
    align-items: center;
    gap: 15px;
}

.blog-thumb ul li {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    position: relative;
    padding: 0 20px 0 0;
    opacity: 0.6;
    text-decoration: underline;
    font-family: var(--family-font-secondary);
}

.blog-thumb ul li:last-child {
    opacity: 0.9;
    text-decoration: none;
}

.blog-thumb ul li::before {
    content: '/';
    font-size: 16px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.blog-thumb ul li:last-child::before {
    display: none;
}

.banner-content h1 {
    font-weight: 600;
    font-size: 36px;
    color: #fff;
    text-transform: uppercase;
}

.banner-content>p {
    font-size: 17px;
    color: #fff;
    font-family: var(--family-font-secondary);
    font-weight: 400;
    opacity: 0.8;
}

.banner-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}

.box-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avator span svg {
    width: 50px;
    height: 50px;
}

.avator-txt p {
    font-family: var(--family-font-secondary);
    color: #fff;
    font-size: 18px;
}

.avator-txt span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-family: var(--family-font-secondary);
}

.avator-txt time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-family: var(--family-font-secondary);
}

.box-right ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.box-right ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.box-right ul li span {
    color: #fff;
    font-size: 17px;
}

.box-right ul li svg {
    width: 22px;
    height: 22px;
    margin-bottom: 2px;
}

.box-right ul li:last-child svg {
    width: 20px;
    height: 20px;
}




/* detail-section */
body {
    overflow-x: unset;
}

.detail-section {
    padding: 80px 0;
}

.detail-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: flex-start;
}

.detail-left {
    width: 65%;
    margin-top: -110px;
}

.left-top {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 60px 30px;
    border-radius: 20px;
}

.detail-right {
    width: 35%;
    align-self: flex-start;
    position: sticky;
    top: 100px;
    /* height: fit-content; */
    transition: all 0.3s ease;
}

/* .detail-right-content {
    position: sticky;
    top: 100px;
    height: fit-content;
    transition: all 0.3s ease;
} */

.detail-img {
    width: 100%;
}

.contxt-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.detail-img-2 {
    margin-top: 30px;
}

.detail-contxt {
    margin-top: 40px;
}

.contxt-title h3 {
    font-size: 23px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contxt-content p {
    font-size: 18px;
    color: #666;
    font-family: var(--family-font-secondary);
    line-height: 1.6;
}

.contxt-content h2 {
    font-size: 30px;
    text-transform: uppercase;
}

.contxt-content h3 {
    font-size: 24px;
}

.contxt-content i {
    background: linear-gradient(90deg, #cdffd8 0%, #94b9ff 100%);
    padding: 2px 10px;
    border-radius: 5px;
    /* font-weight: 500; */
    color: var(--primary-color);
	font-style:normal;
    font-size: 19px;
    line-height: 1.8;
}

/* 文章内容中<u>标签的样式 ,字体加粗，下划线*/
.contxt-content u {
    font-weight: bold;
    text-decoration: underline;
}

/* 文章内容中的日期样式 */
.contxt-content .date,
.contxt-content time {
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    color: #c7c7c7;
    margin-top: 10px;
    margin-left: 20px;
    display: block;
}

/* 文章内容中的表格样式 */
.contxt-content table {
    border: 1px solid #027AFF;
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}

.contxt-content table td,
.contxt-content table th {
    border: 1px solid #027AFF;
    padding: 8px 12px;
    text-align: left;
}

/* 第一列默认底色为蓝色 */
.contxt-content table td:first-child,
.contxt-content table th:first-child {
    background-color: #027AFF;
    color: #fff;
}

/* 确保第一行第一列可以对齐，但允许通过内联样式覆盖 */
.contxt-content table tr:first-child td:first-child,
.contxt-content table tr:first-child th:first-child {
    text-align: left;
}

/* 允许通过内联样式覆盖对齐方式 */
.contxt-content table tr:first-child td:first-child[style*="text-align"],
.contxt-content table tr:first-child th:first-child[style*="text-align"] {
    text-align: inherit !important;
}


.detail-right {
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 20px;
    align-self: flex-start;
}

.top-box {
    background-color: #f8fafc;
    padding: 40px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
}

.top-box-btn {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    border-radius: 0 12px;
    padding: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.top-box-btn svg {
    color: #fff;
}

.top-box p {
    font-size: 16px;
    color: #1a1a1a;
    font-family: var(--family-font-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.top-box ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.top-box ul li {
    background-color: #fff;
    color: #1a1a1a;
    border-radius: 30px;
    padding: 10px;
    font-family: var(--family-font-secondary);
}

.top-box ul li span {
    color: var(--primary-color);
}

.table-box {
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 10px;
}

.table-box h5 {
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.table-box ul {
    display: flex;
    flex-direction: column;
    padding-left: 30px;
    gap: 10px;
}

.table-box ul li {
    list-style: decimal;
    font-size: 16px;
    color: #666;
    font-family: var(--family-font-secondary);
    line-height: 1.6;
}

.table-box ul li:hover {
    color: #1a1a1a;
}


.classifi-box {
    margin-top: 30px;
}

.classifi-box h5 {
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.classifi-content {
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.classifi-content svg {
    width: 30px;
    height: 30px;
}

.classifi-content p {
    font-size: 16px;
    color: #666;
    font-family: var(--family-font-secondary);
}

.classifi-content span {
    font-size: 14px;
    color: #666;
    font-family: var(--family-font-secondary);
    opacity: 0.8;
}


.popular-box {
    margin-top: 30px;
}

.popular-box h5 {
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.popular-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.popular-img {
    width: 22%;
    min-width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
}

.popular-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.popular-txt p {
    font-size: 16px;
    color: #1a1a1a;
    font-family: var(--family-font-secondary);
    font-weight: 400;
    margin-bottom: 10px;
}

.popular-txt span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    color: #666;
}

.popular-txt span svg {
    width: 20px;
    height: 20px;
    color: #666;
}

.popular-item:hover p {
    color: var(--primary-color);
}


.related-tags {
    margin-top: 50px;
}

.related-tags h5 {
    font-size: 18px;
    color: #1a1a1a;
    font-family: var(--family-font-secondary);
    font-weight: 500;
}

.tags-list {
    margin-top: 15px;
}

.tags-list ul {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tags-list ul li {
    padding: 5px 30px;
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 20px;
    font-family: var(--family-font-secondary);
}

.share-box {
    margin-top: 50px;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 40px;
    border-radius: 20px;
    flex-direction: column;
}

.share-title h5 {
    font-size: 22px;
    color: #1a1a1a;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.share-list ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.share-list ul li {
    padding: 10px 30px;
    background-color: #0a66c2;
    border-radius: 8px;
}

.share-list ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    color: #fff;
    font-family: var(--family-font-secondary);
    font-size: 18px;
}

.share-list ul li a svg {
    width: 18px;
    height: 18px;
    margin-bottom: 2px;
}

.share-list ul li.link-1 {
    background-color: #1877f2;
    border: 1px solid #1877f2;
}

.share-list ul li.link-2 {
    background-color: #000;
    border: 1px solid #000;
}

.share-list ul li.link-3 {
    background-color: #0a66c2;
    border: 1px solid #0a66c2;
}

.share-list ul li.link-4 {
    background-color: #fff;
    border: 1px solid #999;
    color: #333;
}

.share-list ul li.link-4 a {
    color: #333;
}

.copy-popup {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.copy-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.copy-popup-content {
    background-color: var(--family-font-secondary);
    color: #fff;
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 500;
}


.left-bottom {
    margin-top: 40px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 20px;
}

.related-title h5 {
    font-size: 23px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
}

.related-article-list {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
    gap: 20px;
}

.related-article-list .item-content h5 {
    font-size: 18px;
}

.related-article-list .item-content p {
    font-size: 15px;
}

.contxt-content table th p{
    font-weight: 600;
    font-family: var(--family-font);
}

.contxt-content table td p{
    font-weight: 500;
    text-transform: lowercase;
}

.contxt-content table td:first-child p{
    text-transform: uppercase;
}


@media (min-width: 993px) and (max-width: 1200px){
    .alt-logo-menu-mobile .navi-trigger,
    .alt-logo-menu-mobile .portfolio-icon {
        fill: #fff !important;
    }

    body.show_mobile_menu .navi-trigger-out .navi-trigger {
        fill: var(--primary-color) !important;
    }

    .nav-logo img {
        filter: brightness(0) invert(1);
    }

    body.show_mobile_menu .nav-logo img {
        filter: none;
    }

    .header.scroll .navi-trigger-out .navi-trigger {
        fill: var(--primary-color) !important;
    }

    .header.scroll .nav-logo img {
        filter: none;
    }

    .banner-section{
        padding: 80px 0 0 0;
    }

    .banner-content{
        padding: 20px 0 40px 0;
    }

    .share-list ul li{
        width: 45%;
    }
}


@media screen and (max-width: 992px) {
    .header {
        background-color: #fff;
    }

    .banner-section {
        padding: 90px 0 0 0;
    }

    .banner-content {
        padding-top: 0;
    }

    .blog-thumb ul {
        flex-wrap: wrap;
    }

    .blog-thumb ul li {
        font-size: 14px;
    }

    .banner-content h1 {
        font-size: 25px;
    }

    .banner-content>p {
        font-size: 14px;
    }

    .banner-box {
        margin-top: 10px;
        padding: 10px;
        border-radius: 10px;
    }

    .avator span svg {
        width: 40px;
        height: 40px;
    }

    .avator-txt p {
        font-size: 16px;
    }

    .avator-txt span {
        font-size: 13px;
    }

    .box-right ul li span {
        font-size: 15px;
    }

    .box-right ul li:last-child svg {
        width: 18px;
        height: 18px;
    }

    .box-right ul li {
        gap: 5px;
    }

    .detail-content {
        flex-direction: column;
        gap: 30px;
    }

    .detail-left {
        margin-top: -100px;
        width: 100%;
    }

    .left-top {
        padding: 20px;
    }

    .contxt-content img {
        height: auto;
    }

    .contxt-title h3 {
        font-size: 19px;
        margin-bottom: 15px;
    }

    .contxt-content p {
        font-size: 18px;
    }

    .contxt-content h2 {
        font-size: 30px;
    }

    .contxt-content h3 {
        font-size: 24px;
    }
    /* 文章内容中<b>标签的样式 ,颜色为蓝色*/


    .detail-contxt {
        margin-top: 20px;
    }

    .related-tags {
        margin-top: 30px;
    }

    .detail-section {
        padding-bottom: 10px;
    }

    .share-box {
        margin-top: 30px;
        padding: 20px;
    }

    .share-title h5 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .share-list {
        width: 100%;
    }

    .share-list ul {
        gap: 10px;
        width: 100%;
    }

    .share-list ul li {
        width: 25%;
        padding: 10px;
        border-radius: 5px;
        flex: 1;
    }

    .share-list ul li a span {
        display: none;
    }

    .left-bottom {
        padding: 20px;
    }

    .related-article-list {
        grid-template-columns: 1fr;
        margin-top: 15px;
    }

    .list-item {
        border-radius: 10px;
    }

    .item-content {
        padding: 15px;
    }

    .detail-right {
        width: 100%;
        padding: 20px;
    }
    
    .popular-list{
        gap: 10px;
    }

    .popular-item{
        gap: 10px;
    }

    .popular-txt p {
        font-size: 13px;
    }

    .popular-img {
        width: 28%;
        min-width: 70px;
        height: 70px;
        flex-shrink: 0;
        overflow: hidden;
        border-radius: 10px;
    }

    .popular-txt {
        flex: 1;
    }


    .detail-right-content .table-box{
        display: none;
    }
    .detail-right-content .classifi-box{
        display: none;
    }

    body {
        overflow-x: hidden;
    }

    .banner-content h1{
        font-size: 22px;
    }

    .contxt-content h2{
        font-size: 20px;
        text-transform: uppercase;
    }

    .contxt-content i{
        font-size: 16px;
    }

    .contxt-content p{
        font-size: 16px;
    }

    .contxt-content h3{
        font-size: 18px;
    }

    .contxt-content table th p{
        font-size: 16px;
    }
    
    .contxt-content table td p{
        font-size: 14px;
    }
    
    .contxt-content table td:first-child p{
        font-size: 15px;
    }

    #vc8sd{
        overflow-x: scroll;
    }
    
}