/* ==========================================================================
   舸匠官网主题 · 清爽海事蓝白
   品牌锚点：Logo 蓝 #0561AA
   本文件在 layout 中最后加载，用于统一覆盖原站 app.css / main.css 与各组件补丁。
   ========================================================================== */

:root {
    --brand: #0561AA;
    --brand-600: #044E8A;
    --brand-700: #073E75;
    --brand-800: #062E57;
    --sky: #2F8FD8;
    --tint: #EAF3FB;
    --tint-2: #F4F8FC;
    --ink: #102A43;
    --ink-2: #153A5B;
    --muted: #5B6B7A;
    --muted-2: #7B8FA3;
    --line: #DCE7F2;
    --white: #FFFFFF;
    --radius-sm: 8px;
    --radius: 10px;
    --radius-lg: 14px;
    --shadow-sm: 0 2px 8px rgba(7, 62, 117, .06);
    --shadow: 0 10px 30px rgba(7, 62, 117, .10);
    --shadow-lg: 0 18px 50px rgba(7, 62, 117, .16);
    --container: 1200px;
}

/* --------------------------------------------------------------------------
   基础
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

/* 字体沿用原站 main.css 的 body 规则（Microsoft YaHei / 12px / 1.5），
   主题层不再覆盖字体栈与基准字号，避免中文排版与行高被放大。 */

a {
    color: var(--brand);
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: var(--brand-600);
}

h1, h2, h3, h4, h5 {
    color: var(--ink);
}

img {
    max-width: 100%;
}

::selection {
    background: var(--brand);
    color: #fff;
}

.container {
    max-width: var(--container);
}

/* 通用按钮 */
.btn-primary,
.footer-btn.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    border: 1px solid var(--brand);
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .02em;
    box-shadow: 0 8px 20px rgba(5, 97, 170, .22);
    transition: background .2s, transform .2s, box-shadow .2s;
}

.btn-primary:hover,
.footer-btn.primary:hover {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(5, 97, 170, .28);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 26px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    transition: background .2s, border-color .2s;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .16);
    border-color: #fff;
    color: #fff;
}

/* 白页头改为常规文档流，避免原站为通栏 Banner 预留的空白 */
.x-header {
    position: relative;
    top: auto;
    left: auto;
}

@media (min-width: 992px) {
    body {
        padding-top: 0 !important;
    }
}

/* --------------------------------------------------------------------------
   页头：白底 + 品牌蓝
   -------------------------------------------------------------------------- */
.x-header {
    background: #fff;
    box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(7, 62, 117, .05);
    padding: 14px 0 4px;
}

.x-header .x-logo img {
    max-height: 56px;
}

.x-header .top-brand p {
    color: var(--ink);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .02em;
}

.x-header .top-brand,
.x-header .top-brand a {
    color: var(--muted);
    font-size: 22px;
    letter-spacing: .02em;
}

.x-header .hotline {
    color: var(--brand-700);
    font-weight: 700;
}

.x-header .hotline p {
    font-size: 20px;
}

.x-menu > li > a {
    position: relative;
    color: var(--ink);
    font-size: 17px;
    font-weight: 500;
    padding-bottom: 8px;
    transition: color .2s;
}

.x-menu > li > a::after {
    content: '';
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
    transform: none;
    transition: left .22s ease, right .22s ease;
}

.x-menu > li > a:hover,
.x-menu > li.active > a {
    color: var(--brand);
}

.x-menu > li > a:hover::after,
.x-menu > li.active > a::after,
.x-menu > li:hover > a::after {
    left: 0;
    right: 0;
}

.x-menu .x-sub-menu {
    border-top: 2px solid var(--brand);
    box-shadow: var(--shadow);
}

.x-menu .x-sub-menu > li > a:hover {
    color: var(--brand);
    background: var(--tint);
}

.lang-switch a {
    color: var(--brand);
    border: 1px solid #CFE0F0;
    background: #fff;
    font-weight: 600;
}

.lang-switch a:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

/* --------------------------------------------------------------------------
   首页 Hero
   -------------------------------------------------------------------------- */
.x-banner {
    position: relative;
    overflow: hidden;
    background: var(--brand-800);
}

.x-banner .banner-item img {
    display: block;
    width: 100%;
    height: 620px;
    object-fit: cover;
}

/* 首页 Hero：文字层与轮播由 banner4.css 提供，这里只统一高度与裁切 */

/* --------------------------------------------------------------------------
   分区标题
   -------------------------------------------------------------------------- */
h2.sec-title,
.x-product h2.sec-title,
.x-case h2.sec-title,
.service h2.sec-title,
.x-news h2.sec-title,
.x-about h2.sec-title {
    margin: 0;
    color: var(--ink);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.sec-title span {
    display: block;
    margin-bottom: 10px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .32em;
    text-transform: uppercase;
}

h2.sec-title::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand), var(--sky));
}

/* --------------------------------------------------------------------------
   首页 · 产品中心
   -------------------------------------------------------------------------- */
.x-product {
    padding: 84px 0 72px !important;
    background: var(--tint-2) !important;
    background-image: none !important;
}

.pro-cate {
    margin: 34px 0 0;
    gap: 10px;
}

.pro-cate li {
    width: 12.5%;
}

.pro-cate li a {
    width: 100%;
    max-width: 118px;
    height: auto;
    min-height: 104px;
    padding: 14px 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.pro-cate li .img {
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-cate li .img img {
    width: 46px;
    height: 46px;
    transform: none !important;
}

.pro-cate li h3 {
    margin-top: 8px;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.pro-cate li.on a {
    background: var(--tint) !important;
    border-color: var(--brand) !important;
    box-shadow: 0 10px 22px rgba(5, 97, 170, .14);
}

.pro-cate li.on h3 {
    color: var(--brand) !important;
    font-weight: 600;
}

.pro-cate li a:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow);
}

.pro-box {
    margin-top: 40px;
}

.pro-list li a {
    display: block;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.pro-list li a::before {
    display: none;
}

.pro-list li img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #F8FBFE;
    border-radius: var(--radius);
}

.pro-list li h3 {
    position: static;
    margin: 12px 2px 2px;
    opacity: 1;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    transform: none;
}

.pro-list li h3 span {
    display: block;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.5;
    white-space: normal;
}

.pro-list li h3 span::before,
.pro-list li h3 span::after {
    display: none;
}

.pro-list li:hover a {
    transform: translateY(-4px);
    border-color: var(--brand);
    box-shadow: var(--shadow);
}

.pro-list li:hover h3 span {
    color: var(--brand);
}

.x-product .more,
.case-more {
    margin-top: 44px;
}

.in-more a {
    width: auto;
    min-width: 200px;
    padding: 0 30px;
    border: 1px solid var(--brand);
    border-radius: 999px;
    background: #fff;
    color: var(--brand);
    line-height: 46px;
    font-size: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.in-more a::before,
.in-more a::after {
    display: none;
}

.in-more a b {
    font-size: 15px;
}

.in-more a:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    box-shadow: 0 10px 24px rgba(5, 97, 170, .22);
}

/* --------------------------------------------------------------------------
   首页 · 关于四宫格
   -------------------------------------------------------------------------- */
.p2 {
    background: #fff;
}

.p2a .img::after {
    background: linear-gradient(90deg,
        rgba(6, 46, 87, .84) 0%,
        rgba(6, 46, 87, .46) 48%,
        rgba(5, 97, 170, .08) 100%) !important;
}

.p2a .cont h3 {
    margin-bottom: 20px;
    padding-bottom: 0;
    background: none !important;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: .04em;
    position: relative;
}

.p2a .cont h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    margin-top: 14px;
    border-radius: 2px;
    background: var(--sky);
}

.p2c {
    background: #fff;
    padding: 0 0 18px;
}

.p2c li a {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.p2c li a:hover,
.p2c li.on a {
    border-color: var(--brand);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.p2c li a .cont img {
    width: 54px;
    height: 54px;
}

/* --------------------------------------------------------------------------
   首页 · 服务案例
   -------------------------------------------------------------------------- */
.x-case {
    padding: 76px 0 28px !important;
    background: #fff !important;
    background-image: none !important;
}

.case-cate {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

.case-cate a {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.5;
    transition: all .2s;
}

.case-cate a + a::before {
    display: none;
}

.case-cate a:hover {
    border-color: var(--brand);
    background: var(--tint);
    color: var(--brand);
}

.x-case-list {
    padding: 18px 0 0;
    background: #fff;
}

.x-case-item .img {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.x-case-item .img img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .5s ease;
}

.x-case-item:hover .img img {
    transform: scale(1.04);
}

.x-case-item a::before {
    display: none;
}

.x-case-item h3 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: auto;
    margin: 0;
    padding: 48px 18px 14px;
    background: linear-gradient(180deg, transparent, rgba(6, 46, 87, .82));
    opacity: 1;
    text-align: left;
    font-size: 0;
}

.x-case-item h3 span {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
}

.x-case-item h3 span::before,
.x-case-item h3 span::after {
    display: none;
}

/* --------------------------------------------------------------------------
   首页 · 资讯中心
   -------------------------------------------------------------------------- */
.x-about {
    padding: 64px 0 !important;
    background: var(--tint-2) !important;
}

.x-about .x-news {
    margin-top: 0;
}

.x-news .tit {
    position: relative;
}

.x-news .tit .more {
    position: absolute;
    right: 0;
    bottom: 26px;
    width: auto;
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    background-image: none;
    color: var(--brand);
    font-size: 13px;
    line-height: 1.6;
    overflow: visible;
}

.x-news .tit .more::before,
.x-news .tit .more::after {
    display: none;
}

.x-news .tit .more:hover {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}

.news-cate li {
    color: var(--muted);
}

.newsbox {
    margin-top: 32px;
}

.news-cate {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    float: none;
    margin-top: 14px;
}

.news-cate li {
    float: none;
    margin: 0 !important;
    padding-right: 0;
    background: none !important;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.news-cate li.on {
    color: var(--brand);
    font-weight: 600;
}

.pro-cate::before,
.pro-cate::after {
    content: none;
    display: none;
}

.news-list::before,
.news-list::after,
.service .ser-list::before,
.service .ser-list::after {
    content: none;
    display: none;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
}

.news-list li {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.news-list li:hover {
    transform: translateY(-4px);
    border-color: #C9DCEE;
    box-shadow: var(--shadow);
}

.news-list li > a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-list li .date {
    order: 0;
    align-self: flex-start;
    margin: 2px 0 10px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--tint);
    color: var(--brand);
    font-size: 12px;
    line-height: 1.6;
}

.news-list li .img {
    order: 1;
    overflow: hidden;
    margin-bottom: 12px;
    border-radius: var(--radius);
}

.news-list li img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-list li h3 {
    order: 2;
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    white-space: normal;
}

.news-list li .intro {
    order: 3;
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
    -webkit-line-clamp: 2;
}

.news-list li .more {
    display: none;
}

/* --------------------------------------------------------------------------
   首页 · 合作网络
   -------------------------------------------------------------------------- */
.service {
    padding: 84px 0 !important;
    background: #fff !important;
}

.service .ser-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px;
    margin: 38px 0 0;
    padding: 0 !important;
}

.ser-list li {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 26px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.ser-list li .bimg,
.ser-list li .bimg::after {
    display: none;
}

.ser-list li .img {
    height: 54px;
    margin-bottom: 12px;
}

.ser-list .img img {
    width: 54px;
    height: 54px;
}

.ser-list li h3 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.ser-list li .intro {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.ser-list li:hover {
    transform: translateY(-3px);
    border-color: var(--brand);
    box-shadow: var(--shadow);
}

.ser-list li:hover h3 {
    color: var(--ink);
}

.ser-list li:hover .intro {
    color: var(--muted);
}

.ser-list li:hover img {
    transform: none;
}

/* --------------------------------------------------------------------------
   页脚：深海军蓝
   -------------------------------------------------------------------------- */
.x-layout {
    padding: 64px 0 0;
    background: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-700) 55%, var(--brand) 100%);
    color: #fff;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.05fr 1.45fr .85fr;
    gap: 48px;
    padding-bottom: 44px;
}

.footer-brand-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-brand .x-layout-logo {
    display: inline-block;
    margin: 0;
    padding: 6px 9px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

.footer-brand .x-layout-logo img {
    max-height: 34px;
}

.footer-company {
    margin: 0;
    max-width: 220px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.footer-slogan {
    max-width: 300px;
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    line-height: 1.8;
}

.footer-label {
    margin: 0 0 6px;
    color: rgba(255, 255, 255, .52);
    font-size: 12px;
    letter-spacing: .12em;
}

.footer-phone {
    display: inline-block;
    margin-bottom: 18px;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .02em;
}

.footer-phone:hover {
    color: #fff;
}

.footer-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-list li {
    display: flex;
    gap: 10px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 1.7;
}

.footer-list li span {
    flex: 0 0 82px;
    color: rgba(255, 255, 255, .48);
}

.footer-list a {
    color: rgba(255, 255, 255, .9);
}

.footer-list a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-cta {
    padding: 26px 24px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .06);
}

.footer-cta-title {
    margin: 0 0 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.footer-cta p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    line-height: 1.8;
}

.footer-btn {
    display: block;
    height: 44px;
    line-height: 42px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.footer-btn.primary {
    border: 1px solid #fff;
    background: #fff;
    color: var(--brand);
    box-shadow: none;
}

.footer-btn.primary:hover {
    background: var(--tint);
    color: var(--brand-600);
    transform: none;
}

.footer-btn.ghost {
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, .42);
    color: #fff;
}

.footer-btn.ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .10);
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 18px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, .72);
}

.footer-bottom a:hover {
    color: #fff;
}

/* --------------------------------------------------------------------------
   内页 Banner
   -------------------------------------------------------------------------- */
.page-banner::after {
    background: linear-gradient(90deg,
        rgba(6, 46, 87, .86) 0%,
        rgba(6, 46, 87, .48) 50%,
        rgba(5, 97, 170, .10) 100%) !important;
}

.page-banner .nybt-kicker {
    color: var(--sky) !important;
}

.page-banner .nybt h3 {
    color: #fff;
}

.page-banner .nybt-sub {
    color: rgba(255, 255, 255, .92);
}

.page-banner .nybt-desc {
    color: rgba(255, 255, 255, .74);
}

/* --------------------------------------------------------------------------
   内页 · 侧栏
   -------------------------------------------------------------------------- */
.xypg-left-box {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 18px;
}

.xypg-left-title {
    background: var(--brand);
}

.xypg-left-title h3,
.xypg-left-title h3 span {
    color: #fff;
}

.xypg-left-nav > li > a {
    color: var(--ink-2);
    font-size: 15px;
}

.xypg-left-nav > li > a:hover,
.xypg-left-nav > li.clicked > a,
.xypg-left-nav > li.on > a {
    background: var(--tint);
    color: var(--brand);
}

.xypg-left-nav .sub-menu > li > a {
    color: var(--muted);
}

.xypg-left-nav .sub-menu > li > a:hover {
    color: var(--brand);
    background: var(--tint-2);
}

.xypg-left-contact .page-wrap-contact h4,
.xypg-left-contact .page-wrap-contact p {
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   内页 · 列表与卡片
   -------------------------------------------------------------------------- */
.xypg-product-list li,
.xypg-case-list li {
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.xypg-product-list li:hover,
.xypg-case-list li:hover {
    transform: translateY(-3px);
    border-color: var(--brand);
    box-shadow: var(--shadow);
}

.xypg-product-list li .img,
.xypg-case-list li .img {
    border-radius: var(--radius);
    overflow: hidden;
}

.xypg-product-list li .img {
    height: 190px;
    background: #F5F9FD;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xypg-product-list li .img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.page-product-inquiry a {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: background .2s;
}

.page-product-inquiry a:hover {
    background: var(--brand-600);
    color: #fff;
}

.xypg-product-list li h3 a,
.xypg-case-list li h3 a {
    color: var(--ink);
    font-size: 15px;
}

.xypg-case-list li h3 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    line-height: 1.55;
    min-height: 3.1em;
}

.xypg-product-list li:hover h3 a,
.xypg-case-list li:hover h3 a {
    color: var(--brand);
}

.xypg-news-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    transition: background .2s;
}

.xypg-news-list li:hover {
    background: var(--tint-2);
}

.xypg-news-list li .tit h3 {
    color: var(--ink);
    font-size: 17px;
}

.xypg-news-list li .tit .date {
    color: var(--brand);
    background: var(--tint);
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 12px;
}

.xypg-news-list li .info {
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   内页 · 详情
   -------------------------------------------------------------------------- */
.page-product-detail-right h1,
.xypg-right-content h1 {
    color: var(--ink);
    font-size: 28px;
    line-height: 1.4;
}

.product-detail-item li {
    color: var(--muted);
}

.product-detail-item li span,
.product-detail-item li a {
    color: var(--ink-2);
}

.product-detail-tab .product-detail-tabli li.on,
.product-detail-tab .product-detail-tabli li.active {
    color: var(--brand);
    border-color: var(--brand);
}

.product-detail-tab .product-detail-tabli li.on::before,
.product-detail-tab .product-detail-tabli li.active::before {
    background: var(--brand);
}

.product-detail-tab .product-detail-tabcon {
    color: var(--ink-2);
    line-height: 1.9;
}

.xypg-detail-pn div a {
    color: var(--brand);
}

.xypg-detail-pn div span {
    color: var(--muted-2);
}

.page-product-detail-effect .big-img,
.product-detail-slick .slick-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}

/* --------------------------------------------------------------------------
   表单 / 表格 / 分页 / CTA
   -------------------------------------------------------------------------- */
.form-control {
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: none;
    color: var(--ink-2);
    font-size: 14px;
}

textarea.form-control {
    height: auto;
}

.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(5, 97, 170, .10);
}

.contact-submit,
button.contact-submit {
    height: 46px;
    border: 1px solid var(--brand);
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .04em;
}

.contact-submit:hover {
    background: var(--brand-600);
    border-color: var(--brand-600);
}

.about-table th,
.about-table td {
    border-color: var(--line);
}

.about-table th {
    background: var(--tint);
    color: var(--ink);
}

.about-table td:first-child {
    background: var(--tint-2);
    color: var(--ink);
}

.about-kicker,
.about-num,
.about-flow li b,
.about-check li::before {
    color: var(--brand);
}

.about-rich h3 {
    border-left-color: var(--brand);
    color: var(--ink);
}

.about-cta {
    background: linear-gradient(135deg, var(--brand-700), var(--brand));
}

.about-cta a {
    color: var(--brand);
}

.pagination > li > a,
.pagination > li > span {
    border-color: var(--line);
    color: var(--ink-2);
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.pagination > li > a:hover,
.pagination > li > span:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--tint);
}

/* 侧栏在线留言 CTA */
.page-message-img.cta-box {
    background: linear-gradient(135deg, var(--brand), var(--brand-700)) !important;
    border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   移动端
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-cta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .x-banner .banner-item img {
        height: 420px;
    }

    .x-banner .banner-text {
        left: 20px !important;
        right: 20px !important;
        top: 13% !important;
        width: auto !important;
        max-width: none !important;
        transform: none !important;
    }

    .x-banner .banner-text h2 {
        font-size: 24px;
        line-height: 1.35;
    }

    .x-banner .banner-text p {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.75;
    }

    .pro-cate {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        padding: 0 8px !important;
    }

    .pro-cate li {
        width: auto !important;
    }

    .pro-cate li a {
        max-width: 100%;
        min-height: 86px;
        padding: 9px 4px;
    }

    .pro-cate li h3 {
        font-size: 11px;
    }

    .btn-primary,
    .btn-ghost {
        height: 40px;
        padding: 0 18px;
        font-size: 13px;
    }

    h2.sec-title,
    .x-product h2.sec-title,
    .x-case h2.sec-title,
    .service h2.sec-title,
    .x-news h2.sec-title,
    .x-about h2.sec-title {
        font-size: 26px;
    }

    .sec-title span {
        font-size: 11px;
        letter-spacing: .24em;
    }

    .x-product {
        padding: 54px 0 48px !important;
    }

    .pro-cate {
        gap: 8px;
    }

    .pro-cate li {
        width: 25%;
    }

    .pro-cate li a {
        min-height: 92px;
        padding: 10px 6px;
    }

    .pro-cate li h3 {
        font-size: 12px;
        white-space: normal;
    }

    .pro-list li {
        width: calc(50% - 20px);
        margin: 0 10px 16px;
    }

    .pro-list li h3 span {
        font-size: 13px;
    }

    .x-case {
        padding: 54px 0 20px !important;
    }

    .x-case-item .img img {
        height: 200px;
    }

    .x-about {
        padding: 54px 0 !important;
    }

    .news-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin: 0;
    }

    .news-list li {
        width: auto !important;
        margin: 0 !important;
        padding: 10px;
    }

    .news-list li img {
        height: 120px;
    }

    .news-list li h3 {
        font-size: 14px;
    }

    .news-list li .intro {
        display: none;
    }

    .service {
        padding: 54px 0 !important;
    }

    .service .ser-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ser-list li {
        padding: 20px 18px;
    }

    .x-layout {
        padding: 44px 0 0;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 30px;
        text-align: center;
    }

    .footer-brand .x-layout-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-brand-top {
        justify-content: center;
    }

    .footer-slogan {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-list li {
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    .footer-list li span {
        flex: 0 0 auto;
    }

    .footer-phone {
        font-size: 22px;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .news-list {
        grid-template-columns: 1fr;
    }

    .news-list li img {
        height: 160px;
    }

    .news-list li .intro {
        display: -webkit-box;
    }
}
