/* ==========================================================================
   鱼骨定制：新闻正文顶部【Summary 摘要栏】美化 (100% 契合截图效果)
   ========================================================================== */
.content .article-summary {
    background-color: #f4f8ff;       /* 精准对齐：与标题2右侧完全一致的清爽科技蓝底色 */
    border: 1px solid #d0e2ff;       /* 精细的全面保护色边框 */
    border-left: 5px solid #1671ff;  /* 左侧加粗主线条：对齐标题2数字块的品牌科技蓝 */
    border-radius: 4px;              /* 微圆角修饰 */
    padding: 18px 24px;              /* 内部充足、紧凑的留白 */
    margin: 35px 0;                  /* 核心：前后段落自适应预留黄金间距，防止内容拥挤 */
    box-shadow: 0 2px 4px rgba(22, 113, 255, 0.02); /* 极为轻微的淡蓝质感阴影 */
}

/* 摘要栏内部标题：【Summary】 */
.content .article-summary .summary-title {
    margin: 0 0 10px 0;
    font-weight: 700;
    color: #1671ff;                  /* 标题文字直接使用品牌蓝，呼应整体视觉平衡 */
    font-size: 16px;
    letter-spacing: 0.5px;
    text-align: left;
}

/* 摘要栏内部纯文本 */
.content .article-summary .summary-text {
    margin: 0;
    color: #475569;                  /* 高级国际化 B2B 深灰，兼顾视觉高档感与易读性 */
    line-height: 1.8;
    font-size: 14.5px;
    text-align: left;
}


/* ==========================================================================
   定制：新闻正文 H2 标题商务美化（斜切块数字 + 渐变/科技蓝）
   ========================================================================== */
.content h2 {
    display: flex;
    align-items: stretch;
    background-color: #f4f8ff;       /* 底色：与 Summary 完美保持完全一致 */
    border: 1px solid #d0e2ff;       /* 边框：与 Summary 完美保持完全一致 */
    border-radius: 4px;
    overflow: hidden;
    margin: 40px 0 20px 0;           /* 上下间距自适应 */
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

/* 左侧数字块容器 */
.content h2 .h2-num {
    position: relative;
    background: #1671ff;             /* 核心品牌蓝 */
    color: #ffffff;
    padding: 10px 22px 10px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Arial', sans-serif;
    flex-shrink: 0;
    min-width: 45px;
    z-index: 1;
}

/* 核心：平行四边形斜切效果 */
.content h2 .h2-num::after {
    content: "";
    position: absolute;
    right: -12px;
    top: 0;
    width: 24px;
    height: 100%;
    background: #1671ff;
    transform: skewX(-20deg);        /* 向左斜切 20 度 */
    transform-origin: top;
    z-index: -1;
}

/* 右侧文本内容 */
.content h2 .h2-text {
    padding: 10px 15px 10px 25px;
    color: #1671ff;                  /* 标题文字颜色 */
    display: flex;
    align-items: center;
    flex-grow: 1;
}

/* 正文图片自适应 + 防模糊（PC+手机通用） */
.content h1 img {
    /* 宽度自适应，不会超出正文容器 */
    max-width: 100%;
    height: auto !important;
    /* 去除图片底部空白边距 */
    display: block;
    /* 高清锐化，解决缩放后文字发虚模糊 */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* 保持原图比例不变形 */
    object-fit: contain;
    /* 上下边距优化排版 */
    margin: 15px 0;
}

/* 移动端自动适配 */
@media (max-width: 768px) {
    .content h1 img {
        margin: 10px 0;
    }
}

/* 清除h1自带默认间距，避免挤压图片 */
.content h1 {
    margin: 0 0 20px 0;
    padding: 0;
}

/* ==========================
   Article Cover，封面图格式
========================== */

.article-cover{
    margin:30px 0;
    border-radius:12px;
    overflow:hidden;
    background:#f5f7fa;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.article-cover img{
    width:100%;
    display:block;
    aspect-ratio:16/9;
    object-fit:cover;
    transition:.3s;
}

.article-cover img:hover{
    transform:scale(1.02);
}

/* Mobile */

@media (max-width:768px){

.article-cover{
    margin:20px 0;
    border-radius:8px;
}

.article-cover img{
    aspect-ratio:16/9;
}
}

/* ==========================
   Code Box
========================== */

.code-box{
    margin:25px 0;
    padding:18px 22px;
    background:#1e293b;
    color:#f8fafc;
    border-radius:8px;
    overflow:auto;
    font-family:Consolas, Monaco, monospace;
    font-size:14px;
    line-height:1.8;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.code-box code{
    white-space:pre-wrap;
}

/* ==========================
   Responsive Table
========================== */

.content table{
    width:100%;
    border-collapse:collapse;
    margin:30px 0;
    overflow:hidden;
    border-radius:8px;
    font-size:15px;
}

.content table th{
    background:#1671ff;
    color:#fff;
    padding:12px;
    text-align:left;
}

.content table td{
    border:1px solid #e5e7eb;
    padding:12px;
    line-height:1.8;
}

.content table tr:nth-child(even){
    background:#f8fafc;
}

.table-responsive{
    overflow-x:auto;
}

/* ==========================
   Image Zoom
========================== */

.article-cover img,
.article-image img{

    cursor:zoom-in;

}

#lightbox{

display:none;

position:fixed;

left:0;

top:0;

width:100%;

height:100%;

background:rgba(0,0,0,.88);

z-index:99999;

text-align:center;

}

#lightbox img{

max-width:90%;

max-height:90%;

margin-top:3%;

box-shadow:0 15px 50px rgba(0,0,0,.3);

border-radius:10px;

cursor:zoom-out;

}