/* public.css gives both html and body overflow-x:hidden, which makes both
   elements vertical scroll containers once this page becomes long. */
html {
    overflow-x: clip;
    overflow-y: auto;
}

html body {
    overflow: visible;
}

.banner {
    position: relative;
    width: 100%;
    height: 738px;
    overflow: hidden;
    color: #fff
}

/* .banner::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(18, 82, 145, .48), rgba(12, 64, 116, .78) 58%, rgba(16, 57, 99, .9))
} */

.banner>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.banner .title {
    position: absolute;
    z-index: 2;
    top: 160px;
    left: 50%;
    width: min(90%, 760px);
    text-align: center;
    transform: translateX(-50%)
}

.banner .title h3 {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 1);
    font-family: OPPOSans;
    font-weight: 500;
    font-size: 46px;
    line-height: 61px;
}

.banner .title p {
    margin: 0;
    color: rgba(255, 255, 255, 1);
    font-family: OPPOSans;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
}

.box-item {
    position: absolute;
    z-index: 2;
    top: 322px;
    left: 50%;
    display: flex;
    justify-content: center;
    gap: 30px;
    transform: translateX(-50%)
}

.box-item .item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 319px;
    border-radius: 10px;
    background: rgba(238, 243, 248, .62);
    color: rgba(22, 85, 157, .58);
    border: 1px solid #f1f5f9;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.box-item .item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.box-item .item svg {
    width: 68px;
    height: 68px;
    margin-bottom: 20px
}

.box-item .item p {
    margin: 0;
    color: rgba(22, 85, 157, 1);
    font-family: OPPOSans;
    font-weight: 500;
    font-size: 26px;
    line-height: 42px;
}

.box-item .item.active,
.box-item .item:nth-child(4) {
    background: rgba(255, 255, 255, .9);
    color: #16559d
}

.box-item .item.active::before,
.box-item .item:nth-child(4)::before {
    position: absolute;
    bottom: 31px;
    left: 50%;
    width: 48px;
    height: 2px;
    content: "";
    background: #d41826;
    transform: translateX(-50%)
}

    .box-item .item:not(:nth-child(4)) {
        opacity: 0.6;
    }
.box-item .item.active::after,
.box-item .item:nth-child(4)::after {
    position: absolute;
    bottom: -11px;
    left: 50%;
    width: 0;
    height: 0;
    content: "";
    /* 下三角：透明左、透明右、底部填充色 */
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 11px solid rgba(255, 255, 255, .9);
    transform: translateX(-50%);
}


.page1 {
    position: relative;
    height: 147px;
    overflow: hidden;
    background: #fff;
}

.page1::before,
.page1::after {
    position: absolute;
    content: "";
}

.page1::before {
    z-index: 0;
    top: 80px;
    left: -2%;
    width: 104%;
    height: 67px;
    background: #c7e3fe;
    transform: skewY(-2.15deg);
    transform-origin: top left;
}

.page1::after {
    z-index: 1;
    inset: 0 0 auto;
    height: 80px;
    background: #205b9e;
}

.page1-inner.inner {
    position: relative;
    z-index: 2;
    height: 80px;
}

.page1 .nav {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    gap: 98px;
    background: transparent;
}

.page1 .nav-item {
    position: relative;
    height: 100%;
}

.page1 .nav-item a {
    display: flex;
    align-items: center;
    height: 100%;
    color: rgba(255, 255, 255, .57);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
}

.page1 .nav-item:first-child a {
    color: #fff;
    font-weight: 600;
}

.page2 {}

.page2-num {
    width: fit-content;
    height: 28px;
    display: inline-flex;
    place-content: center;
    place-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 0px 12px;
    border-radius: 4px;
    background: rgba(241, 245, 249, 1);

    color: rgba(98, 116, 142, 1);
    font-family: OPPOSans;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 5%;
    margin: 70px 0 50px;
}

.page2-num span {
    color: rgba(212, 24, 38, 1);
}


.page2-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    row-gap: 150px;
    column-gap: 30px;
    /* 卡片说明层使用 bottom 负偏移，不会参与父级高度计算；
       预留空间，避免最后一排覆盖后面的 contacti 区块。 */
    padding-bottom: 100px;
    margin-bottom: 50px;
}

.page2-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    color: inherit;
    text-decoration: none;
    /* width: 480px; */
    border-radius: 8px;
    overflow: visible;
    background: #fff;
    box-shadow: 0 8px 22px rgba(35, 65, 95, .08);
}

.page2-item>img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
}

.play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-sizing: border-box;
    background: linear-gradient(273.63deg, rgba(255, 255, 255, 0.2) 7.25%, rgba(255, 255, 255, 0.2) 108.47%);
    backdrop-filter: blur(39px);
}

.play::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    content: "";
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 15px solid #fff;
    transform: translate(-35%, -50%);
}

.page2-item-text {
    position: absolute;
    z-index: 3;
    right: 20px;
    bottom: -135px;
    left: 20px;
    /* height: 186px; */
    padding: 18px 22px;
    box-sizing: border-box;
    border-radius: 8px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 4px 14px rgba(45, 65, 85, .08);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.page2-item-text span {
    display: inline-block;
    padding: 3px 11px;
    border-radius: 3px;
    color: #fff;
    background: rgba(108, 113, 119, .5);
    font-size: 12px;
    line-height: 15px;
}

.page2-item-text h4 {
    margin: 12px 0;
    color: rgba(0, 0, 0, 1);
    font-family: OPPOSans;
    font-weight: 500;
    font-size: 20px;
    line-height: 38px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.page2-item-text p {
    margin: 0;
    display: -webkit-box;
    overflow: hidden;
    color: #64748b;
    font-family: OPPOSans;
    font-weight: 400;
    font-size: 15px;
    line-height: 24.4px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

[v-cloak] {
    display: none;
}

.el-dialog.asset-video-dialog {
    max-width: 1200px;
    margin-bottom: 0;
    transform: translateY(-50%);
    background: #000;
}

.asset-video-dialog .el-dialog__header {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    padding: 0;
}

.asset-video-dialog .el-dialog__headerbtn {
    top: 3px;
    right: 3px;
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .62);
}

.asset-video-dialog .el-dialog__headerbtn .el-dialog__close {
    color: #fff;
    font-size: 24px;
}

.asset-video-player-wrap {
    position: relative;
}

.asset-video-dialog .el-dialog__body {
    padding: 0;
    background: #000;
}

.asset-video-dialog video {
    display: block;
    width: 100%;
    max-height: calc(100vh - 48px);
    background: #000;
}

@media (max-width: 767px) {
    .el-dialog.asset-video-dialog {
        width: calc(100% - 24px) !important;
    }

    .asset-video-dialog video {
        max-height: calc(100vh - 24px);
    }

    .asset-video-dialog .el-dialog__headerbtn {
        top: 4px;
        right: 4px;
        width: 40px;
        height: 40px;
    }
}

/* 响应式区域 */

@media (max-width: 1440px) {
    .banner { height: 650px; }
    .banner .title { top: 110px; }
    .box-item { top: 270px; gap: 20px; }
    .box-item .item { width: 220px; height: 270px; }
    .box-item .item p { font-size: 27px; line-height: 36px; }
}

@media (max-width: 1200px) {
    .banner { height: 590px; }
    .banner .title { top: 100px; }
    .banner .title h3 { margin-bottom: 14px; font-size: 40px; line-height: 52px; }
    .banner .title p { font-size: 18px; line-height: 28px; }
    .box-item { top: 235px; width: 92%; gap: 14px; }
    .box-item .item { flex: 1 1 0; width: auto; max-width: 220px; height: 250px; }
    .box-item .item svg { width: 60px; height: 60px; }
    .box-item .item p { font-size: 24px; line-height: 32px; }
    .box-item .item.active::before,
    .box-item .item:nth-child(4)::before { bottom: 25px; }
    .page1 { height: 126px; }
    .page2-box { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 160px; column-gap: 24px; }
    .page2-item-text { right: 14px; left: 14px; padding: 15px 18px; }
    .page2-item-text h4 { margin: 10px 0; font-size: 18px; line-height: 30px; }
}

@media (max-width: 992px) {
    .banner { height: 690px; }
    .banner .title { top: 78px; width: min(88%, 680px); }
    .box-item { top: 205px; display: grid; grid-template-columns: repeat(2, minmax(0, 250px)); width: calc(100% - 48px); gap: 16px; }
    .box-item .item { width: 100%; max-width: none; height: 205px; }
    .box-item .item a { gap: 8px; }
    .box-item .item svg { margin-bottom: 0; }
    .box-item .item p { font-size: 22px; line-height: 30px; }
    .box-item .item.active::before,
    .box-item .item:nth-child(4)::before { bottom: 18px; width: 42px; }
    .page1 { height: 112px; }
    .page1-inner.inner,
    .page1 .nav,
    .page1::after { height: 70px; }
    .page1::before { top: 70px; height: 42px; }
    .page1 .nav { gap: 72px; }
    .page2-box { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 112px; column-gap: 18px; }
    .page2-box { padding-bottom: 88px; margin-bottom: 40px; }
    .page2-item-text { right: 10px; bottom: -88px; left: 10px; padding: 13px 15px; }
    .page2-item-text h4 { margin: 8px 0; font-size: 17px; line-height: 27px; }
    .page2-item-text p { font-size: 14px; line-height: 21px; }
    .play { width: 48px; height: 48px; }
    .play::after { border-top-width: 9px; border-bottom-width: 9px; border-left-width: 12px; }
}

@media (max-width: 767px) {
    .banner { height: 570px; }
    .banner .title { top: 25px; width: calc(100% - 28px); }
    .banner .title h3 { margin-bottom: 10px; font-size: 32px; line-height: 42px; }
    .banner .title p { font-size: 15px; line-height: 23px; }
    .box-item { top: 160px; grid-template-columns: repeat(2, minmax(0, 1fr)); width: calc(100% - 32px); gap: 12px; }
    .box-item .item { height: 170px; border-radius: 8px; }
    .box-item .item svg { width: 50px; height: 50px; }
    .box-item .item p { font-size: 18px; line-height: 26px; }
    .box-item .item.active::before,
    .box-item .item:nth-child(4)::before { bottom: 14px; width: 36px; }
    .box-item .item.active::after,
    .box-item .item:nth-child(4)::after { bottom: -9px; border-right-width: 9px; border-left-width: 9px; border-top-width: 9px; }
    .page1 { height: 92px; }
    .page1-inner.inner,
    .page1 .nav,
    .page1::after { height: 58px; }
    .page1::before { top: 58px; height: 34px; }
    .page1 .nav { gap: 48px; }
    .page1 .nav-item a { font-size: 17px; }
    .page2-box { grid-template-columns: 1fr; row-gap: 108px; }
    .page2-num { margin: 36px 0 24px; }
    .page2-box { padding-bottom: 88px; margin-bottom: 40px; }
    .page2-item-text { right: 16px; bottom: -88px; left: 16px; }
    .page2-item-text h4 { font-size: 18px; line-height: 29px; }
    .page2-item-text p { font-size: 14px; line-height: 22px; }
}

@media (max-width: 480px) {
    .banner { height: 360px; }
    .banner .title { top: 38px; width: calc(100% - 28px); }
    .banner .title h3 { font-size: 27px; line-height: 36px; }
    .banner .title p { font-size: 14px; line-height: 21px; }
    .box-item { top: 146px; width: calc(100% - 24px); gap: 8px; }
    .box-item .item { height: 80px; }
    .box-item .item a { flex-direction: row; gap: 10px; }
    .box-item .item svg { width: 44px; height: 44px; margin-bottom: 0; }
    .box-item .item p { font-size: 16px; line-height: 23px; }
    .box-item .item.active::before,
    .box-item .item:nth-child(4)::before { display: none; bottom: 12px; width: 32px; }
    .page1 .nav { gap: 38px; }
    .page2-box { row-gap: 112px; }
    .page2-num { height: 26px; margin: 30px 0 20px; font-size: 13px; }
    .page2-box { padding-bottom: 88px; margin-bottom: 40px; }
    .page2-item-text { right: 10px; bottom: -88px; left: 10px; padding: 12px 14px; }
    .page2-item-text h4 { margin: 8px 0; font-size: 16px; line-height: 25px; }
    .page2-item-text p { font-size: 13px; line-height: 20px; }
    .play { width: 44px; height: 44px; }
    .play::after { border-top-width: 8px; border-bottom-width: 8px; border-left-width: 11px; }
}

/* Hover interactions */
.box-item .item { transition: background-color .3s ease, color .3s ease, opacity .3s ease, transform .3s ease; }
.box-item .item:hover { background: rgba(255,255,255,.9); color: #16559d; opacity: 1; transform: translateY(-4px); }
.page1 .nav-item a { transition: color .25s ease; }
.page1 .nav-item a:hover { color: #fff; }
.page2-item-text h4 { transition: color .25s ease; }
.page2-item:hover .page2-item-text h4 { color: #165ca7; }

/* Lift the whole video card on hover */
.page2-item { transition: transform .25s ease; }
.page2-item:hover { transform: translateY(-4px); }

