/* =========================================================
   复刻版补充样式
   仅用于可读性、响应式与少量缺失样式的补齐，不改变原站版式
   ========================================================= */

/* 分页当前页（原站模板输出 span.current，补上与 a 一致的样式） */
.page .current {
    display: inline-block;
    padding: 0 10px;
    margin: 0 5px;
    border: 1px solid #94070a;
    background: #94070a;
    color: #fff;
    font-size: 16px;
}

/* 联系我们：地图自适应，避免横向溢出 */
.about3_sec #dituContent img {
    width: 100%;
    height: auto;
    display: block;
}

/* 企业文化：让装饰边框自适应文字宽度，避免背景图偏移 */
.qywh_box1 .qywh_box1_02 dl dt {
    background-size: 100% 100%;
}
.section2_a1_b p {
    white-space: nowrap;
}

/* 首页新闻选项卡（原站内联样式） */
.developer-solution .solution-detail .solution-detail-ul { display: none; }
.developer-solution .solution-detail .solution-detail-ul.active { display: block; }
.developer-solution .solution-tab .laa.active { font-weight: 600; color: #94070a; font-size: 16px; }

/* 首页横幅缩放动画（原站内联 keyframes） */
@keyframes scale-animation {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 相关链接无 LOGO 时的文字占位 */
.index-partner-text {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 10px;
    font-size: 15px;
    color: #666;
    text-align: center;
    line-height: 1.6;
}

/* 仅供屏幕阅读器/搜索引擎的标题 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 无障碍跳转链接 */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    padding: 10px 18px;
    background: #94070a;
    color: #fff;
    font-size: 14px;
}
.skip-link:focus {
    left: 12px;
    color: #fff;
}

/* 详情页正文可读性 */
.newshow img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 12px auto;
}
.newshow table {
    width: 100% !important;
    margin: 18px 0;
    border-collapse: collapse;
}
.newshow td,
.newshow th {
    border: 1px solid #ddd;
    padding: 8px 10px;
    line-height: 1.8;
}
.newshow h2,
.newshow h3,
.newshow h4 {
    margin: 20px 0 10px;
    line-height: 1.6;
}
.newshow a {
    color: #94070a;
    text-decoration: underline;
    word-break: break-all;
}
.newshow video {
    max-width: 100%;
    height: auto;
}
.newshow p[style*="text-align:center"],
.newshow p[style*="text-align: center"] {
    text-indent: 0;
}
.newshow p[style*="text-align:right"],
.newshow p[style*="text-align: right"] {
    text-indent: 0;
}
.newshow p[style*="text-align:left"],
.newshow p[style*="text-align: left"] {
    text-indent: 0;
}

/* 列表/详情标题与元信息 */
.newslist h1.title {
    font-size: 26px;
    line-height: 1.6;
    color: #000;
    font-weight: bold;
}
.newslist .info {
    color: #999;
    font-size: 14px;
}
.news-list-b h3,
.news-list-b span {
    word-break: break-word;
}
.newslist ul li {
    overflow: hidden;
}

/* 页脚分隔 */
.foot-space {
    margin: 0 8px;
    color: #999;
}

/* 搜索页 */
.searchbox {
    padding: 10px 0 30px;
}
.searchbox form {
    overflow: hidden;
    max-width: 760px;
    margin: 0 auto;
    border: 1px solid #ddd;
    background: #fff;
    display: flex;
}
.searchbox input[type="search"] {
    flex: 1;
    height: 48px;
    padding: 0 16px;
    border: 0;
    outline: 0;
    font-size: 15px;
    color: #333;
    background: #fff;
}
.searchbox button {
    width: 110px;
    height: 48px;
    border: 0;
    background: #94070a;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}
.searchbox .tip {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding: 20px 0 0;
}
.search-result-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.search-result-item h3 {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 6px;
}
.search-result-item h3 a {
    color: #222;
}
.search-result-item h3 a:hover {
    color: #94070a;
}
.search-result-item p {
    color: #777;
    font-size: 14px;
    line-height: 1.8;
}
.search-result-item .meta {
    margin-top: 6px;
    color: #aaa;
    font-size: 12px;
}

/* 404 / 提示页 */
.notice-page {
    padding: 90px 0 110px;
    text-align: center;
}
.notice-page .code {
    font-size: 96px;
    line-height: 1;
    color: #e9d7d7;
    font-family: Arial, sans-serif;
}
.notice-page h1 {
    font-size: 26px;
    margin: 6px 0 12px;
    color: #222;
}
.notice-page p {
    color: #888;
    font-size: 15px;
    line-height: 1.9;
}
.notice-page .links {
    margin-top: 26px;
}
.notice-page .links a {
    display: inline-block;
    margin: 0 6px;
    padding: 10px 22px;
    border: 1px solid #ddd;
    color: #333;
    font-size: 14px;
}
.notice-page .links a.primary {
    background: #94070a;
    border-color: #94070a;
    color: #fff;
}

/* 单页（网站声明） */
.page-single {
    padding: 40px 0 70px;
}
.page-single .newshow {
    font-size: 15px;
    line-height: 30px;
    color: #333;
}

/* 移动端细节修补 */
@media (max-width: 768px) {
    .searchbox form {
        display: block;
    }
    .searchbox input[type="search"] {
        width: 100%;
    }
    .searchbox button {
        width: 100%;
    }
}

/* 首页新闻卡片：移动端图片自适应高度，避免过高 */
@media (max-width: 480px) {
    .in_sec1 .main3 ul li .pic img {
        height: auto !important;
    }
}
