* {
    box-sizing:border-box
}
body {
    margin:0;
    font-family:"Inter", "Roboto", "Poppins",Helvetica Neue, Helvetica, PingFang SC, Tahoma, Arial, sans-serif;
    color:#071a3a;
    background:#f7fbff;
    font-size: 16px;
}

/* 大标题、Banner 标题 */
h1, h2, .hero-title, .section-title {
  font-family: Arial;
  font-weight: 700;
  letter-spacing: 0.5px;
  /* text-transform: uppercase; */
}

.title-w{
    max-width:800px;
}
.title-w-m{
    /* 允许正常换行 */
    white-space: normal;
    /* 超长单词强制截断换行（兼容现代浏览器） */
    overflow-wrap: break-word;
    /* 兼容旧浏览器，任意字符都能断开换行 */
    word-break: break-all;
}

/* 普通正文 */
p, li, input, button {
  font-family: "Inter";
}

a {
    text-decoration:none;
    color:inherit
}
.topbar {
    height:78px;
    background:#020b1f;
    color:#fff;
    display:flex;
    align-items:center;
    gap:36px;
    padding:0 7%;
    position:sticky;
    top:0;
    z-index:20;
    box-shadow:0 2px 15px #001b4d66
}
.logo {
    font-size:30px;
    font-weight:900;
    font-style:italic;
    line-height:.75
}
.logo span {
    color:#f52322
}
.logo small {
    display:block;
    font-size:14px;
    font-style:normal;
    font-weight:600;
    margin-top:12px
}
nav {
    display:flex;
    gap:36px;
    margin-left:auto
}
nav a {
    font-weight:700;
    padding:30px 0;
    border-bottom:3px solid transparent
}
nav a.active, nav a:hover {
    border-color:#e72422
}
nav a:hover {
    color: #777;
}

.header-actions {
    display:flex;
    align-items:center;
    gap:22px
}
.btn {
    display:inline-block;
    border:0;
    border-radius:6px;
    padding:13px 25px;
    color:#fff;
    font-weight:800;
    cursor:pointer;
    margin-top:10px;
}

.pro-btn{
    display: inline-block;
    border: 0;
    border-radius: 6px;
    padding: 8px 8px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.red {
    background:#ef241f
}
.bluebtn {
    background:#0865e8
}
.bluebtn:hover {
    background: rgba(22, 119, 255, 0.8);
    color: #fff;
}

.pro-detail-btn {
    color:#0865e8;
    background:#F3F7FD
}
.pro-detail-btn:hover {
    color:#4889e5;
    background:#c1cde0
}

.green {
    background:#18ba51
}
.wa {
    white-space:nowrap
}
.menu {
    display:none;
    background:none;
    border:0;
    color:#fff;
    font-size:28px
}
.hero, .about-hero, .contact-hero {
    background:radial-gradient(circle at 70% 45%, #0755b9 0, #031a44 38%, #02091b 76%);
    color:#fff;
    min-height:385px;
    padding:60px 8%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    overflow:hidden
}

.dis-hero {
    background:radial-gradient(circle at 70% 45%, #0755b9 0, #031a44 38%, #02091b 76%);
    color:#fff;
    min-height:385px;
    padding:60px 8%;
    /* display:flex; */
    align-items:center;
    justify-content:space-between;
    overflow:hidden
}

.page-hero {
    background:radial-gradient(circle at 70% 45%, #0755b9 0, #031a44 38%, #02091b 76%);
    /* background-image: url(/website/images/pro-bannera.png);
    background-repeat: no-repeat;
    background-size: 100% 100%; */
    color:#fff;
    min-height:385px;
    padding:10px 8%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    /* overflow:hidden */
}
.home-hero {
    padding:0;
    /* min-height:520px; */
    height:800px;
    /* background-image: url(/website/images/gsn.png);
    background-repeat: no-repeat;
    background-size: 100% 100%; */
}
.home-hero-carousel-item-img{
    width: 100%;
    height: 100%;
    -moz-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    transition: all 0.5s;
    opacity: .8;
}
.home-hero-carousel-item-img-m{
    width: 100%;
    height: 100%;
    -moz-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    transition: all 0.5s;
    opacity: .8;
    object-fit: cover;
    object-position: center;
}

.home-hero-carousel-item-img:hover{
    /* transform: scale(1.1); */
    opacity: 1;
}
.hero-text{
    position: absolute;
    top: 0;
    left: 0;
    padding:60px 8%;
}

.hero-text-m{
    position: absolute;
    bottom: 45px;
    padding: 0px 5%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.home-banner-right-img {
    /* position: absolute;
    right: 155px;
    top: 0; */
    height: 340px;
    /* max-height: 300px; */
    object-fit: contain;
    border-radius: 8px;
    /* 核心：线性渐变遮罩，边缘透明过渡 */
    -webkit-mask-image: linear-gradient(to center, transparent 1%, black 15%);
    mask-image: linear-gradient(to center, transparent 1%, black 15%);
    /* 调整 15% 控制透明区域大小 */
    /* 旋转30° */
    transform: rotate(8deg);
}
.hero h1 {
    font-size:58px;
    line-height:1.05;
    margin:8px 0 20px
}
.hero h2 {
    font-size:32px;
    margin:0
}
.blue {
    color:#1684ff;
    font-size:26px;
    font-weight:900
}
.checks {
    list-style:none;
    padding:0;
    line-height:2
}

.checks li:before {
    content: '✓';
    display: inline-flex;           /* 使元素可以设置宽高并让内容居中 */
    align-items: center;
    justify-content: center;
    width: 17px;                    /* 圆形直径 */
    height: 17px;
    border: 2px solid #0b86ff;      /* 蓝色边框形成圆形外圈 */
    border-radius: 50%;             /* 圆形 */
    color: #0b86ff;                 /* 打勾颜色与原一致 */
    margin-right: 9px;              /* 保留原有间距 */
    font-size: 12px;                /* 适当缩小勾的大小，避免撑满圆形 */
    line-height: 1;                 /* 避免文字额外高度影响垂直居中 */
    font-weight: bold;   /* 加粗 */
}

.hero-buttons {
    /* display:flex; */
    gap:18px;
    margin-top:20px
}
.phone-stage {
    position:relative;
    width:520px;
    height:340px
}
.phone {
    position:absolute;
    width:125px;
    height:245px;
    border:4px solid #111;
    border-radius:18px;
    background:linear-gradient(135deg, #050505, #1d2632);
    box-shadow:0 20px 35px #0008
}

/* 语言切换下拉菜单 (现代风格) */
.lang-switcher {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.45rem 1.8rem 0.45rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1f2a44;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1rem;
}
.lang-switcher:hover {
    border-color: #e53e3e;
    background-color: #ffffff;
}

/* 可选极简焦点效果，提升可访问性 */
.fac-card:focus-visible {
    outline: 2px solid #2c7a8c;
    outline-offset: 2px;
    border-radius: 1.2rem;
}


.top-phone-icon{
    width: 20px;
    height: 20px;
    align-content: center;
    vertical-align: middle;
    display: inline-block;
}

.hero-phone-icon{
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
.hero-phone-span{
    vertical-align: middle;
}

.p1 {
    left:40px;
    top:65px
}
.p2 {
    left:180px;
    top:45px;
    background:linear-gradient(140deg, #333, #ddd)
}
.p3 {
    left:320px;
    top:25px;
    background:linear-gradient(160deg, #111, #777)
}
.section {
    padding:45px 7%;
    text-align:center
}
.light {
    background:#f8fbff
}
.section h2, .process h2, .agent h2, .network h2 {
    font-size:30px;
    margin:0 0 8px
}
/* 主页产品展示 */
.home-pro-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-size: 32px;
    font-weight: bold;
    color: #1e2a3a;
    /* white-space: nowrap; */
    font-family: sans-serif;
}

.home-pro-title::before,
.home-pro-title::after {
  content: "";
  width: 40px;
  height: 4px;
  background-color: #0b86ff;
}

.home-pro-title::before {
  clip-path: polygon(0% 25%, 100% 0%, 100% 100%, 0% 75%);
}

.home-pro-title::after {
  clip-path: polygon(0% 0%, 100% 25%, 100% 75%, 0% 100%);
}

.category-grid, .cards, .factory-grid {
    display:grid;
    gap:18px
}
.category-grid {
    grid-template-columns:repeat(6, 1fr);
    /* display: flex; */
    flex-wrap: wrap;
    justify-content: center; /* 核心：剩余空间左右均分，整体居中 */
    margin-top:22px
}


.view-more-btn{
    height:40px;
    line-height: 40px;
    color:black;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #cfe0f6;
    border-radius: 9px;
    box-shadow: 0 6px 20px #0a4a9020;
}
.view-more-btn:hover{
    border: 1px solid #65a2f1;
    border-radius: 9px;
    box-shadow: 0 6px 20px #0a4a9020;
}

.cat, .card, .product-card, aside, .contact-info div, .metrics div {
    background:#fff;
    border:1px solid #cfe0f6;
    border-radius:9px;
    box-shadow:0 6px 20px #0a4a9020
}

.hot-pro-cat {
    background:#fff;
    border:1px solid #EDF1F8;
    border-radius:9px;
    box-shadow:0 6px 20px #0a4a9020;
     min-width: 0;
    /* 垂直排布，内部元素不会横向溢出卡片 */
    display: flex;
    flex-direction: column;
}

.cat {
    padding:18px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;
    overflow: hidden;          /* 防止图片溢出卡片范围（仍可能覆盖内部文字） */
    text-align: center;
}

.cat img {
    transition: transform 0.3s ease-in-out;
    width: 60%;
    display: inline-block;
}

.cat:hover img {
    transform: scale(1.1);
}

.mini-phone {
    width:62px;
    height:100px;
    border-radius:8px;
    background:#111;
    border:3px solid #222
}
.gradient1 {
    background:linear-gradient(135deg, #35008a, #ff6298, #111)
}
.gradient2 {
    background:linear-gradient(135deg, #001c5d, #00b8ff)
}
.gradient3 {
    background:linear-gradient(135deg, #063, #08ddc4)
}
.gradient4 {
    background:linear-gradient(135deg, #f60, #ffd147)
}
.gradient5 {
    background:linear-gradient(135deg, #013, #0ed)
}
.cards.four {
    grid-template-columns:repeat(4, 1fr)
}
.cards.six {
    grid-template-columns:repeat(6, 1fr)
}
.card {
    padding:30px 18px;
    min-height:150px
}
.icon {
    font-size:38px
}
.card h3 {
    font-size:17px
}
.card p {
    font-size:13px;
    color:#34445e
}
.factory-grid {
    grid-template-columns:repeat(4, 1fr);
    margin-top:22px
}
.factory-grid.five {
    grid-template-columns:repeat(5, 1fr)
}
.factory-grid div {
    height:145px;
    border-radius:8px;
    background:linear-gradient(135deg, #b8d4ed, #144276);
    display:flex;
    align-items:flex-end;
    justify-content:center;
    color:#fff;
    font-weight:800;
    padding:15px
}
.network, .agent, .process, .reward,.cta {
    background:#021634;
    color:#fff;
    padding:45px 7%;
}
.network {
    display:grid;
    grid-template-columns:250px 1fr;
    gap:55px;
    align-items:center;
}
.stats {
    border:1px solid #1e5b9e;
    border-radius:12px;
    padding:30px 20px 20px 20px
}
.stats b {
    font-size:24px;
    color:#45a1ff
}
.worldmap {
    height:300px;
    border-radius:20px;
    /* background:radial-gradient(circle, #1a84ff, #01122d 60%); */
    opacity:.95;
    background-image: url(/website/images/gsn1.png);
    background-repeat: no-repeat;
    background-size:  100% 100%;
    /* border: 1px solid #1e5b9e; */
    margin-top:10px;
}

.list-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
 /* 右侧文字区域 (标题+内容上下排列) */
.list-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 标题：大号、加粗，主视觉 (支持数字和单词) */
.stat-title {
    font-size: 24px;
    color: #45a1ff;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin-bottom: 0.2rem;
}

/* 描述内容：副文本，颜色柔和 */
.stat-desc {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.agent {
    /* border-top:1px solid #174b88 */
}
.agent-row, .reward-flow {
    display:grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap:18px;
    text-align:center;
    align-items:center
}
.reward-flow div{
    background:#08234c;
    /* border:1px solid #1c5fae; */
    border-radius:13px;
    padding:22px
}

.agent-row>div {
    background:#08234c;
    /* border:1px solid #1c5fae; */
    border-radius:13px;
    padding:22px;
}

.agent-row b, .reward-flow b {
    display:block;
    margin:8px
}
.agent-row span {
    display:block;
    color:#cbe0ff;
    font-size:13px
}
/* .process {
    padding-top:30px
} */
.steps {
    margin-top:15px;
    display:flex;
    /* grid-template-columns:repeat(7, 1fr); */
    gap:18px;
    text-align:center;
    align-items:center;
}
.steps div {
    /* background:#08234c; */
    /* border:1px solid #1c5fae; */
    border-radius:13px;
    padding:10px
}
.steps b {
    background:#0b72ef;
    border-radius:50%;
    padding:8px 13px
}
.steps-arrow {
    width: auto;
    height: 32px;  /* 高度设为32px以清晰显示16px头部 */
}
.cta {
    text-align:center;
    background:#021634;
    color:#fff;
}
.cta .btn {
    margin:8px 18px
}
.page-hero {
    min-height:350px
}
.page-hero h1, .about-hero h1, .contact-hero h1 {
    font-size:48px
}
.phone-stage.small {
    transform:scale(.65);
    height:180px
}
.product-layout {
    display:grid;
    grid-template-columns:280px 1fr;
    gap:30px;
    padding:20px 7%
}
aside {
    padding:18px;
    height:max-content
}
aside a {
    display:flex;
    justify-content:space-between;
    padding:13px;
    border-radius:5px
}
aside a.active {
    background:#0865e8;
    color:#fff
}
.filter {
    margin-top:25px
}
.filter label {
    display:block;
    margin:12px 0
}
.tabs {
    display:flex;
    gap:14px;
    margin-bottom:22px;
    flex-wrap:wrap
}
.tabs button {
    background:#fff;
    border:1px solid #cfe0f6;
    padding:12px 25px;
    border-radius:7px
}
.tabs button:first-child {
    background:#0865e8;
    color:#fff
}

/* 图片样式：保持原图比例，禁止拉伸 */
.grid-pro-img {
    width: 100%;
    height: auto;
    max-height: 260px; /* 限制图片最大高度，避免超长图撑爆卡片，按需调大/缩小 */
    object-fit: contain; /* 关键：完整保留原图宽高比，不裁剪、不拉伸 */
    display: block;
    margin: 0 auto 16px; /* 图片下方统一间距 */
}

/* 产品标题：固定在底部、单行省略、统一间距 */
.text-ellipsis {
    margin-top: auto; /* 核心！自动把标题+按钮推到卡片最底部 */
    margin-bottom: 12px;
    white-space: nowrap; /* 强制单行，不换行撑高卡片 */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* .product-card {
    text-align:center;
    padding:20px
} */
.product-card .mini-phone {
    margin:auto;
    width:78px;
    height:128px
}
.product-card .btn {
    padding:9px 22px;
    font-size:13px
}
.contact-hero {
    display:block;
    min-height:320px;
    padding-top:90px;
    background:linear-gradient(90deg, #02112b 0, #05306a88 55%, #02112b), radial-gradient(circle at 80%, #277bd7, #02112b 45%)
}
.about-hero{
    display:block;
    min-height:320px;
    padding-top:90px;
    padding-bottom: 30px;
    background:linear-gradient(90deg, #02112b 0, #05306a88 55%, #02112b), radial-gradient(circle at 80%, #277bd7, #02112b 45%)
}
.about-hero p, .contact-hero p {
    max-width:620px;
    font-size:18px;
    line-height:1.7
}
.about-main, .apply {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    padding:50px 8%;
    background:#fff
}
.contact-wrap {
    /* display:grid; */
    grid-template-columns:1fr 1fr;
    gap:50px;
    padding:50px 8%;
    background:#fff
}
.about-main h2 {
    font-size:36px
}
.redline {
    color:#ef241f;
    font-weight:900
}
.metrics {
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:18px
}
.metrics div {
    text-align:center;
    padding:35px
}
.metrics b {
    display:block;
    color:#0865e8;
    font-size:38px
}
.darksec {
    background:#021634;
    color:#fff
}
.reward {
    text-align:center
}
.reward-flow div {
    font-size:42px
}
.form {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px
}
.form h2, .form textarea, .form button, .form .wide {
    grid-column:1/-1
}
.form input, .form select, .form textarea {
    padding:16px;
    border:1px solid #cfe0f6;
    border-radius:6px;
    font:inherit
}
.form textarea {
    height:130px
}
.contact-info {
    display:flex;
    flex-direction:column;
    gap:14px
}
.contact-info div {
    padding:22px
}
.contact-info b {
    display:block;
    font-size:18px
}
.map {
    padding:0 8% 50px;
    background:#fff
}
.fake-map {
    height:360px;
    border-radius:10px;
    background:linear-gradient(135deg, #d9efff, #fff, #a8d6f0);
    position:relative;
    overflow:hidden
}
.fake-map:before {
    content:'';
    position:absolute;
    inset:0;
    background:repeating-linear-gradient(30deg, transparent 0 35px, #b6d1e866 36px 38px), repeating-linear-gradient(120deg, transparent 0 55px, #9fc3dd66 56px 58px)
}
.fake-map span {
    position:absolute;
    left:42%;
    top:35%;
    background:#fff;
    padding:25px;
    border-radius:8px;
    box-shadow:0 8px 30px #0002
}
/* footer {
    background:#021634;
    color:#fff;
    padding:0 7% 25px
}
footer:before {
    content:'EMODI Mobile LCD Screen';
    display:block;
    font-size:24px;
    font-weight:900;
    padding-top:35px;
    color:#fff
}
footer:after {
    content:'© 2024 EMODI LCD. All Rights Reserved.   |   Privacy Policy   |   Terms of Service';
    display:block;
    border-top:1px solid #1a3f70;
    margin-top:22px;
    padding-top:22px;
    color:#c8d8f0
} */
@media(max-width:900px) {
    .worldmap-ct{
       display: none;
       width:100%;
    }
    .stats{
        width:100%;
    }
    .topbar {
        padding:0 18px
    }
    .menu {
        display:block;
        margin-left:auto
    }
    nav {
        display:none;
        position:absolute;
        top:78px;
        left:0;
        right:0;
        background:#020b1f;
        flex-direction:column;
        padding:15px 28px;
        gap:0
    }
    nav.show {
        display:flex
    }
    nav a {
        padding:15px 0
    }
    .header-actions {
        display:none
    }
    .hero, .page-hero {
        display:block;
        padding:35px 20px
    }
    .home-hero {
        min-height:auto;
    }
    .hero h1 {
        font-size:36px
    }
    .phone-stage {
        width:100%;
        height:230px;
        transform:scale(.75);
        transform-origin:left top
    }
    .category-grid, .cards.four, .cards.six, .factory-grid, .factory-grid.five {
        grid-template-columns:repeat(2, 1fr)
    }
    .network, .product-layout, .about-main, .apply, .contact-wrap {
        grid-template-columns:1fr;
        padding:28px 20px
    }
    .agent-row, .reward-flow, .steps {
        grid-template-columns:1fr
    }
    .steps {
        display: grid;
    }
    .form {
        grid-template-columns:1fr
    }
    .section {
        padding:32px 20px
    }
    .wa {
        display:none
    }
    .page-hero h1, .about-hero h1, .contact-hero h1 {
        font-size:34px
    }
}

/* 给每一列内部div统一布局，强制填满网格高度 */
.agent-row > div,
.reward-flow > div {
    height: 100%; /* 占满整个网格单元格，所有格子物理高度完全相同 */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 三种垂直排布任选一种 */
    /* 方案1：整体内容垂直居中（推荐，视觉整齐） */
    justify-content: center;
    /* 方案2：上下均匀留白，图标在上、文字分散开
    justify-content: space-around; */
    /* 方案3：内容靠顶部对齐，间距自然撑开
    justify-content: flex-start; */
}

.agent-item-div,.steps-item-div,.stats-item-div{
    transition: transform 0.3s ease;
}
.agent-item-div:hover{
    filter: brightness(1.15);
}
.steps-item-div:hover,.stats-item-div:hover{
    filter: brightness(1.15);
    transform: scale(1.03);
}

.banner-text-li{
    transition: transform 0.3s ease;
}
.banner-text-li:hover{
    filter: brightness(1.2);
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 21px;
    margin-bottom: 32px;
    margin-top: 10px;
    height:385px;
}
.home-product-card {
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    padding: 16px;
    text-align: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    box-shadow: 0 6px 20px #0a4a9020;
}

.home-product-card img {
    transition: transform 0.3s ease-in-out;
    display: inline-block;
}

.home-product-card:hover img {
    transform: scale(1.1);
}

/* 屏幕宽度小于1600px → 4列 */
@media (max-width: 1600px) {
  .home-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/* 平板 → 3列 */
@media (max-width: 1200px) {
  .home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* 大屏手机 → 2列 */
@media (max-width: 768px) {
  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* 小手机 → 1列铺满 */
@media (max-width: 480px) {
  .home-product-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* 外层总容器：桌面左右分栏，移动端自动换行 */
.factory-wrap {
  display: flex;
  flex-wrap: wrap; /* 小屏幕自动换行 */
  gap: 10px;
  margin: 2rem 0 1rem;
}

/* 左侧视频盒子 + 右侧卡片盒子 桌面各占50%宽度 */
.factory-video-box,
.cards-grid {
  flex: 1 1 calc(50% - 1rem);
}

/* 视频容器美化，和卡片统一圆角阴影风格 */
.factory-video-box {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.1);
}

/* 右侧卡片改为 2列网格（上下各两张） */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* 原有卡片样式保留不变 */
.fac-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.fac-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px -12px rgba(0, 0, 0, 0.15);
}

.fac-card-image {
  position: relative;
  width: 100%;
  /* 固定图片高度防止卡片高度不一致，可选删除 */
  aspect-ratio: 16 / 10;
  background-color: #d9e2e8;
  overflow: hidden;
}
.fac-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 25, 35, 0.72);
  backdrop-filter: blur(5px);
  padding: 0.8rem 0.6rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s;
  color: #fff;
}

/* 移动端适配：768px以下 左右模块铺满整行、卡片改为单列 */
@media screen and (max-width: 768px) {
  .factory-video-box,
  .cards-grid {
    flex: 1 1 100%;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

