/*
 * 首页视觉精修（home-polish.css）
 * 原则：只改「观感」，不改「尺寸」——
 *       不调整任何容器的宽高、外边距与浮动位置，仅统一配色、圆角、描边、阴影与交互反馈，
 *       因此页面各部分的大小和排列位置与原来保持一致（边框带来的 1~2px 差异不计）。
 * 回滚方式：删掉 Default.aspx.cs 与 partner.aspx 中对本文件的引用即可。
 */

/* ============ 基调 ============ */
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

body a { -webkit-transition: color .16s ease, opacity .16s ease; transition: color .16s ease, opacity .16s ease; }

/* ============ 顶部热线标签、导航 ============ */
/* 相关规则已拆分至 nav-polish.css（全站前台同步引用），此处不再重复，避免出现两份 */

/* ============ 左栏 / 中区：区块标题 ============ */
body .divrtop,
body .divpricetop2 {
    background: linear-gradient(90deg, #0d59af, #1e7ad4) !important;
    border-radius: 3px 3px 0 0;
    color: #fff;
    font-size: 14px;
    letter-spacing: .5px;
}

/* 卡片化：只加描边与阴影，不改盒模型尺寸 */
body .div_boxlogin,
body .leftmenu,
body .div_price,
body .divzygg,
body .div_trcak,
body .div_pay {
    background: #fff;
    border: 1px solid #e6ecf4;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(20, 50, 100, .06);
}

body .div_boxlogints {
    background: #fff;
    border: 1px solid #e6ecf4;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(20, 50, 100, .06);
}

body .trackborder,
body .trackborder2 {
    border: 1px solid #e6ecf4 !important;
    border-radius: 0 0 6px 6px;
}

/* ============ 首页新闻列表（公司新闻）：固定行高，可容纳 5 条 ============ */
/* 说明：原 .divnewsl 高度固定 170px，行高偏大放不下 5 条。
   现改为每行固定 33px、顶部对齐：5 条正好占满，不足 5 条时从上往下排列。卡片外尺寸不变。 */
body .divnewsl {
    display: flex;
    height: 170px;
    overflow: hidden;
}

body .divnewsl ul {
    width: 100%;
    margin: 0;
    padding: 2px 12px;
    box-sizing: border-box;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

body .divnewsl ul li {
    float: none;
    width: 100%;
    height: 33px;
    flex: 0 0 33px;
    border: 0;
    border-bottom: 1px dashed #eef2f7;
    padding: 0 4px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    -webkit-transition: background .16s ease;
    transition: background .16s ease;
}

body .divnewsl ul li:last-child { border-bottom: 0; }
body .divnewsl ul li:hover { background: #f6f9fd; }

/* 标题行：图片箭头换成蓝色圆点，文字不再写死 330px 宽 */
body .divnewsl ul li::before {
    content: '';
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1a76d6;
    margin-right: 8px;
}

body .divnewsl .div_rebtds {
    display: flex;
    align-items:left;
    width: auto;
    max-width: 72%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

body .divnewsl .div_rebtds img { display: none; }
body .divnewsl .div_rebtds a { color: #333; font-size: 14px; }
body .divnewsl .div_rebtds a:hover { color: #0d59af; }
body .divnewsl .date_right { color: #98a4b3; font-size: 12px; margin-left: auto; padding-left: 10px; }

/* ============ 表单控件：仅改描边与圆角，保持原高度 ============ */
body .div_input_l,
body .track_tex1,
body .weight,
body .postcode {
    outline: none;
    border: 1px solid #ccd7e5;
    border-radius: 3px;
    -webkit-transition: border-color .16s ease, box-shadow .16s ease;
    transition: border-color .16s ease, box-shadow .16s ease;
}

body .div_input_l:focus,
body .track_tex1:focus,
body .weight:focus,
body .postcode:focus {
    border-color: #4a90d9;
    box-shadow: 0 0 0 2px rgba(13, 89, 175, .12);
}

body .div_input,
body .div_input_finput,
body .input_tp {
    border: 0;
    border-radius: 3px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(13, 89, 175, .3);
    -webkit-transition: filter .16s ease, box-shadow .16s ease;
    transition: filter .16s ease, box-shadow .16s ease;
}

body .div_input:hover,
body .div_input_finput:hover,
body .input_tp:hover {
    filter: brightness(1.07);
    box-shadow: 0 3px 8px rgba(13, 89, 175, .38);
}

body .div600 { color: #666; }
body .divtbao { color: #8b95a1; }

/* ============ 列表：加悬停反馈与细分隔线 ============ */
body .leftmenu ul li a { color: #444; }
body .leftmenu ul li a:hover { color: #0d59af; }

body .trackborder li,
body .bordert li { border-bottom: 1px dashed #eef2f7; }
body .trackborder li:last-child,
body .bordert li:last-child { border-bottom: 0; }
body .trackborder li a,
body .bordert li a { color: #444; }
body .trackborder li a:hover,
body .bordert li a:hover { color: #0d59af; }

/* ============ Banner 与合作伙伴 ============ */
body .div_banner_h img { border-radius: 6px; box-shadow: 0 3px 10px rgba(20, 50, 100, .14); }

body .content_pn {
    border: 1px solid #e6ecf4;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(20, 50, 100, .06);
}

body .partner_img { -webkit-transition: opacity .18s ease; transition: opacity .18s ease; }
body .partner_img:hover { opacity: .82; }

/* ============ 页脚 ============ */
body #footer { background: linear-gradient(180deg, #123a72, #0f3160); }
body #footer .footBox { background: none !important; }
body ul.footerNav li a { color: #c9d9ef !important; }
body ul.footerNav li a:hover { color: #fff !important; }
body #footer .cpyright a,
body #footer .div_cyight_a { color: #9db8dc !important; }
