/* ============================================================
   杰康富官网 - 首页视觉统一覆盖样式 (theme-unify.css)
   ------------------------------------------------------------
   用途：统一字体、按钮颜色，收敛多套蓝色为单一品牌主色
   使用：在页面 </head> 前、所有其他样式之后引入：
         <link href="/porlay/css/theme-unify.css" rel="stylesheet">
   主色规范：
     主色   #1eadf4（按钮 / 链接悬停 / 强调）
     深色   #0f9bd0（悬停加深）
     重色   #0369a5（渐变端点，衔接研发实力板块）
     浅底   #e6f7fd（选中背景）
   ============================================================ */

/* ---------- 0. 导航右上角按钮（覆盖 nav.css 旧主色） ---------- */
.top_right_padding,
.top_language { background: #1eadf4; }
.top_language .layui-form-select dl dd.layui-this { background: #1eadf4; }

/* ---------- 1. 字体统一 ---------- */
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC",
                 "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.title b, .rd_title, .company_intro_txt h2 {
    font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC",
                 "Helvetica Neue", Arial, sans-serif;
}

/* 标题层级：模块标题 28px / 板块大标题 26px / 卡片标题 15px */
.home_content .title { font-size: 28px; }
.company_intro_txt h2 { font-size: 26px; color: #1a1a1a; letter-spacing: .5px; }
.company_intro_txt p { font-size: 15px; color: #666; }
.title_txt { font-size: 15px; color: #999; }
.product_card_txt h3 { font-size: 15px; color: #333; }
.product_card_txt p { font-size: 13px; color: #888; }
.news_li_title a { font-size: 15px; color: #333; }
.news_li_title a:hover { color: #1eadf4; }

/* ---------- 2. 按钮统一（but_class 家族） ---------- */
/* 基础款：描边胶囊按钮，主色描边 + 主色文字，悬停实心 */
.but_class {
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 32px;
    background: none;
    border: 1px solid #1eadf4;
    border-radius: 90px;
    color: #1eadf4;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.but_class:hover {
    background: #1eadf4;
    border-color: #1eadf4;
    color: #fff;
}
.but_class i { font-size: 12px; margin-left: 4px; }

/* "查看全部" 文字链接款：统一悬停主色 */
.home_brand_title .title_more .but_class {
    border: none;
    background: none;
    padding: 10px 4px;
    color: #555;
    font-weight: 500;
}
.home_brand_title .title_more .but_class:hover {
    color: #0f9bd0;
    background: none;
}

/* 公司简介 "了解更多"：与基础款同规格 */
.company_intro_txt .but_class {
    padding: 12px 36px;
    border-radius: 90px;
    border: 1px solid #1eadf4;
    color: #1eadf4;
}
.company_intro_txt .but_class:hover {
    background: #1eadf4;
    color: #fff;
    border-color: #1eadf4;
}

/* ---------- 3. 导航统一：悬停下划线与文字统一主色 ---------- */
.top_nav > li > a::after { background: #1eadf4; }
.top_nav > li:hover > a,
.top_nav > li.active > a { color: #1eadf4 !important; }
.navbarbox_ul_li a:hover { color: #1eadf4; background: #e6f7fd; }
.top_right_padding:hover { background: #0f9bd0; }

/* ---------- 4. 询盘按钮统一：主色渐变（衔接研发板块深蓝） ---------- */
.inquiry_fab {
    background: linear-gradient(135deg, #1eadf4, #0369a5);
    box-shadow: 0 4px 20px rgba(30, 173, 244, .35);
}
.inquiry_fab:hover { box-shadow: 0 8px 30px rgba(30, 173, 244, .45); }

.inquiry_submit {
    background: linear-gradient(135deg, #1eadf4, #0369a5);
    border-radius: 90px;
    font-weight: 600;
    letter-spacing: 2px;
}
.inquiry_submit:hover { opacity: .92; }

/* ---------- 5. 清理遗留金色 #C39F58 的按钮残留 ---------- */
.but_class:hover { background: #1eadf4; border-color: #1eadf4; color: #fff; }
.but_class_zx { background: #f5f5f5; border-color: #f5f5f5; }
.but_class_zx:hover { background: #1eadf4; border-color: #1eadf4; }

/* ---------- 6. 侧栏分类：统一主色（原有 #1eadf4，保持不变） ---------- */
.sidebar_nav_item:hover { color: #1eadf4; border-left-color: #1eadf4; background: #e6f7fd; }
.sidebar_nav_item.active { color: #1eadf4; border-left-color: #1eadf4; background: #e6f7fd; }

/* ---------- 7. 表单控件字体统一 ---------- */
.inquiry_form input,
.inquiry_form textarea,
.inquiry_form label {
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
.inquiry_form input:focus,
.inquiry_form textarea:focus {
    border-color: #1eadf4;
    box-shadow: 0 0 0 3px rgba(30, 173, 244, .12);
    outline: none;
}

/* ============================================================
   布局优化：公司简介 / 最新动态
   ============================================================ */

/* ---------- 8. 公司简介板块 ---------- */
/* 板块标题：居中改为轻装饰（短杠 + 间距收紧） */
.company_intro_bg { padding-top: 72px; padding-bottom: 72px; }
.company_intro_bg .title { padding-bottom: 44px; }
.company_intro_bg .title b::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    border-radius: 2px;
    background: #1eadf4;
    margin: 14px auto 0;
}

/* 左图：圆角 + 投影 + 右下角主色衬角，形成"相框"层次 */
.company_intro_img {
    border-radius: 14px;
    position: relative;
}
.company_intro_img img {
    display: block;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 16px 40px rgba(15, 37, 65, .14);
    position: relative;
    z-index: 1;
}
.company_intro_img::after {
    content: '';
    position: absolute;
    right: -14px;
    bottom: -14px;
    width: 55%;
    height: 55%;
    border-radius: 14px;
    background: #e6f7fd;
    z-index: 0;
}

/* 右文：小标签 + 标题 + 收敛后的正文 + 按钮，垂直居中 */
.company_intro_txt { padding-left: 8px; }
.company_intro_txt h2 {
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.company_intro_txt h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: #1eadf4;
}
.company_intro_txt h2::before {
    content: 'COMPANY PROFILE';
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #1eadf4;
    opacity: .75;
    margin-bottom: 10px;
}

/* 正文收敛为 6 行，板块更紧凑，"了解更多"承接被省略的内容 */
.company_intro_content {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.company_intro_txt .but_class { align-self: flex-start; }

/* ---------- 9. 最新动态板块 ---------- */
/* 卡片：统一圆角与悬停反馈（主色），图片缓放 */
.news_padding .about_tab { grid-gap: 24px; }
.news_padding .about_tab .news_li {
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    background: #fff;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.news_padding .about_tab .news_li:hover {
    transform: translateY(-5px);
    border-color: #1eadf4;
    box-shadow: 0 12px 28px rgba(30, 173, 244, .16);
}
.news_padding .about_tab .news_li_img {
    height: 190px;
    border-radius: 0;
    overflow: hidden;
}
.news_padding .about_tab .news_li_img img {
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.news_padding .about_tab .news_li:hover .news_li_img img {
    transform: scale(1.06);
}

/* 标题：统一两行截断 + 悬停主色 */
.news_padding .about_tab .news_li_title {
    font-size: 15px;
    line-height: 1.5;
    padding: 14px 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 60px;
}
.news_padding .about_tab .news_li:hover .news_li_title a { color: #1eadf4; }
.about_tab .news_li:hover .news_li_title a,
.home_news .news_li:hover .news_li_title a,
.case_tab .news_li:hover .news_li_title a,
.case_ct .news_li:hover .news_li_title a { color: #1eadf4; }
.news_li:hover .news_li_title a { color: #1eadf4; }

/* 日期行：分类标签改为主色胶囊，日期弱化，上下留白统一 */
.news_padding .about_tab .news_date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 0 16px 16px;
    font-size: 13px;
    color: #999;
}
.news_padding .about_tab .news_date span {
    float: none;
    color: #1eadf4;
    background: #e6f7fd;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 12px;
    transition: background .3s ease, color .3s ease;
}
.news_padding .about_tab .news_li:hover .news_date span {
    background: #1eadf4;
    color: #fff;
}

/* ---------- 10. 研发实力板块：宽度对齐全站 1600px ---------- */
/* 原限宽 1320px，窄于其他板块；放宽后左右六边形列表自动变宽，中央奖杯区不变 */
.home_rd_section .rd_container {
    max-width: 1600px;
    width: 96%;
    padding: 50px 24px 70px;
}
/* 大屏下中央奖杯区稍放大，比例更协调 */
@media (min-width: 1400px) {
    .home_rd_section .rd_stage { grid-template-columns: 1fr 420px 1fr; gap: 36px; }
    .home_rd_section .rd_center { min-height: 580px; }
    .home_rd_section .rd_ring.rd_r3 { width: 420px; height: 420px; }
}
