﻿:root {
    --main: #FF9A00;
    --dark: #353535;
    --light: #f8f8f8;
    --text: #999999;
    --excerpt: #8e8e8e;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.content {
    max-width: 1220px;
    margin: 0 auto;
    position: relative;
}
.largecontent {
    max-width: 100%;
    padding: 0 4rem;
}
html {
    scroll-behavior: smooth;
}
.flex {
    display: flex;
}
.wrap {
    flex-wrap: wrap;
}
.flex1 {
    flex: 1;
}
.flex2 {
    flex: 2;
}
.flex3 {
    flex: 3;
}
.between {
    justify-content: space-between;
}
.center {
    text-align: center;
}
.boxshadow {
    box-shadow: 0 0 15px rgba(0,0,0,.1);
    background: #fff;
}
.vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ml-35{
    margin-left: 35px;
}
.mb-50{
    margin-bottom: 50px;
}

.mb-100{
    margin-bottom: 100px;
}

.float_btns{
    position: fixed;
    right: 20px;
    bottom: calc(60px + env(safe-area-inset-bottom));
    z-index: 9999;
}

.float_btns .btn{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color:#fff;
    font-size:20px;
    margin-top:12px;
    box-shadow:0 4px 10px rgba(0,0,0,0.15);
    cursor: pointer;
}

.whatsapp{
    background:#25D366;
}

.back_top{
    background:#1e66d0;
}



.post-bar {
    display: flex;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 30px;
}

/* 每一半 */
.post-item {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;

    min-width: 0; /* 关键：防止溢出 */
}

/* 分割线 */
.post-item.prev {
    border-right: 1px solid #e5e5e5;
}

/* 左右布局 */
.prev {
    justify-content: flex-start;
    gap: 10px;
}

.next {
    justify-content: flex-end;
    gap: 10px;
    text-align: right;
}

/* 圆形按钮 */
.circle {
    width: 30px;
    height: 30px;
    background: #1e3a5f;
    color: #fff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

/* 标题 */
.text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* hover效果 */
.post-item:hover {
    background: #eeeeee;
}

/* 点击反馈（移动端） */
.post-item:active .circle {
    transform: scale(0.9);
}










/* 只选中：content 里“直接包 table 的 div” */
.blog_detail .content div:has(> table) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 12px 0;
    position: relative;
}

/* 表格本体（完全不破坏结构） */
.blog_detail .content table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    font-size: 14px;
}

/* 单元格 */
.blog_detail .content td,
.blog_detail .content th {
    padding: 12px 16px;
    border: 1px solid #ececec;
    color: #555;
    white-space: nowrap;
}

/* 左列 */
.blog_detail .content td:first-child {
    background: #f7f8fa;
    color: #666;
    font-weight: 500;
}

/* hover */
.blog_detail .content tr:hover td {
    background: #f5f7fa;
}

/* 渐变提示（高级感） */
.blog_detail .content div:has(> table)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    /*background: linear-gradient(to left, #fff, transparent);*/
    pointer-events: none;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* PC两列 */
    gap: 30px;
    margin-bottom: 80px;
}

/* 视频容器比例控制（16:9） */
.video-item {
    position: relative;
    width: 100%;
    /*padding-bottom: 56.25%; !* 16:9比例 *!*/
    background: #000;
    overflow: hidden;
}

.video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* ===== 移动端 ===== */

@media (max-width:768px){

    .float_btns{
        right:12px;
        bottom: calc(80px + env(safe-area-inset-bottom));
    }

    .float_btns .btn{
        width:44px;
        height:44px;
        font-size:18px;
        margin-top:10px;
    }

    .video-grid {
        grid-template-columns: 1fr; /* 变1列 */
        gap: 15px;
        margin: 1rem 0;
    }

    .mm{
        padding: 0 0.7rem!important;
    }

}

.thank_details{
    padding: 30px 0 30px;
    background-image: linear-gradient(to bottom, #ecf1f7, #fff);
    background-size: 100% 200px;
    background-repeat: no-repeat;
}
.thanks-dialog-box {
    background: #FFF;
    padding: 20px 60px;
    border-radius: 5px;
    z-index: 2;
    box-sizing: border-box;
    margin: 60px auto 70px auto;
    max-width: 400px;
    box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
}

.thanks-dialog-box .thanks-title {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    text-align: center;
}

.thanks-dialog-box .thanks-con > img {
    display: block;
    margin: 20px auto;
    max-width: 100px;
    height: auto;
}

.dialog-box .con p, .thanks-dialog-box .thanks-con p {
    max-width: 440px;
    font-size: 13px;
    text-align: center;
    margin-bottom: 10px;
    color: #666;
}

.thanks-dialog-box .thanks-con a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-align: center;
    color: #037edc;
}


.blog_details .lefts{
    width: 100%;
}

.footer_bg{
    background-color: #005bab08;
}




.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
    padding: 40px 20px;
    margin-top: 30px;
    background: #005aaa08;
}

/* 单个模块 */
.stat-item {
    flex: 1 1 25%;
    min-width: 200px;
    margin-bottom: 20px;
}

/* 大数字 */
.stat-item span {
    font-size: 42px;
    color: #2f4ea2; /* 蓝色 */
    margin-bottom: 10px;
    font-weight: bold;
}

/* 说明文字 */
.stat-item p {
    font-size: 16px;
    color: #333;
}