

/* 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(3) {
    background: rgba(255, 255, 255, .9);
    color: #16559d
}

    .box-item .item:not(:nth-child(3)) {
        opacity: 0.6;
    }
.box-item .item.active::before,.box-item .item:nth-child(3)::before {
    position: absolute;
    bottom: 31px;
    left: 50%;
    width: 48px;
    height: 2px;
    content: "";
    background: #d41826;
    transform: translateX(-50%)
}

.box-item .item.active::after,.box-item .item:nth-child(3)::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%);
}




.page2 {}

.page2-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    margin: 70px 0 0px;
}

.page2-title .page2-num {
    margin: 0;
}

.serch {
    position: relative;
    width: 444px;
    height: 54px;
}

.serch input {
    width: 100%;
    height: 100%;
    padding: 0 90px 0 17px;
    border: 1px solid #c7d9ee;
    border-radius: 4px;
    outline: none;
    color: #506b8d;
    background: #fff;
    font-size: 16px;
    box-sizing: border-box;
}

.serch input::placeholder {
    color: #aabbd0;
}

.serch input {
    transition: border-color .25s ease, box-shadow .25s ease;
}

.serch input:hover,
.serch input:focus {
    border-color: #165ca7;
    box-shadow: 0 0 0 3px rgba(22, 92, 167, .12);
}

.serch .search-icon {
    position: absolute;
    top: 16px;
    right: 19px;
    width: 24px;
    height: 24px;
    color: #8da5c2;
    cursor: pointer;
}

.serch .search-clear {
    position: absolute;
    top: 15px;
    right: 54px;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #4378b5;
    font-size: 25px;
    line-height: 24px;
    cursor: pointer;
}

.serch .search-clear[hidden] { display: none; }

.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 {
    margin-top: 0;
}

.page2-box > .box-item {
    position: static;
    display: block;
    transform: none;
}

.box-item-t {
    margin-top: 50px;
    margin-bottom: 20px;
    color: #111;
    font-size: 18px;
    line-height: 1.4;
}

.box-item-b {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.item-b-i {
    position: relative;
    width: auto;
    min-height: 176px;
    padding: 20px;
    border: 1px solid #dce3eb;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
}

.item-b-i:hover {
    background: #edf2f6;
    border-color: #edf2f6;
}

.fiel-icon {
    position: relative;
    width: 55px;
    height: 55px;
    margin-bottom: 15px;
    border-radius: 6px;
    background: #00a516;
}

.fiel-icon::after {
    position: absolute;
    inset: 0;
    content: "PDF";
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 55px;
    text-align: center;
}

.fiel-name {
    overflow: hidden;
    color: #111;
    font-size: 16px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: #a3a7ab;
    font-size: 13px;
}

.fileDwon {
    position: absolute;
    top: 12px;
    right: 14px;
    cursor: pointer;
}

.fileDwon svg {
    width: 22px;
    height: 22px;
}





.pagination { margin: 70px 0; display: flex; align-items: center; justify-content: center; gap: 42px; height: 68px; }
.pagination .next, .pagination .prev { width: 68px; height: 68px; border: 0; border-radius: 4px; background: #fff; box-shadow: 0px 10px 40px #d8d8d880; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pagination svg { width: 24px; height: 16px; }
.pagination .page { display: flex; align-items: center; gap: 15px; }
.pagination .page button, .pagination .page span { width: 52px; height: 52px; padding: 0; border: 0; display: flex; align-items: center; justify-content: center; color: #292929; background: transparent; font-size: 25px; cursor: pointer; }
.pagination .page button:hover, .pagination .page button.active { border-radius: 8px; color: #fff; background: #165ca7; }
.pagination .page span { width: 28px; color: #2781c3; cursor: default; }

@media (max-width: 1440px) {
    .banner { height: 650px; }
    .banner .title { top: 110px; }
    .banner > .box-item { top: 270px; gap: 20px; }
    .banner > .box-item .item { width: 220px; height: 270px; }
    .banner > .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; }
    .banner > .box-item { top: 235px; width: 92%; gap: 14px; }
    .banner > .box-item .item { flex: 1 1 0; width: auto; max-width: 220px; height: 250px; }
    .banner > .box-item .item svg { width: 60px; height: 60px; }
    .banner > .box-item .item p { font-size: 24px; line-height: 32px; }
    .banner > .box-item .item.active::before,
    .banner > .box-item .item:nth-child(3)::before { bottom: 25px; }
    .page1 { height: 126px; }
    .box-item-b { gap: 16px; }
}

@media (max-width: 992px) {
    .banner { height: 690px; }
    .banner .title { top: 78px; width: min(88%, 680px); }
    .banner > .box-item { top: 205px; display: grid; grid-template-columns: repeat(2, minmax(0, 250px)); width: calc(100% - 48px); gap: 16px; }
    .banner > .box-item .item { width: 100%; max-width: none; height: 205px; }
    .banner > .box-item .item svg { margin-bottom: 0; }
    .banner > .box-item .item p { font-size: 22px; line-height: 30px; }
    .page1 { height: 112px; }
    .page1-inner.inner, .page1 .nav, .page1::after { height: 70px; }
    .page1::before { top: 70px; height: 42px; }
    .page1 .nav { gap: 72px; }
    .page2-title { margin-top: 44px; }
    .serch { width: 320px; }
    .box-item-b { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .item-b-i { width: auto; }
}

@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; }
    .banner > .box-item { top: 160px; grid-template-columns: repeat(2, minmax(0, 1fr)); width: calc(100% - 32px); gap: 12px; }
    .banner > .box-item .item { height: 170px; border-radius: 8px; }
    .banner > .box-item .item svg { width: 50px; height: 50px; }
    .banner > .box-item .item p { font-size: 18px; line-height: 26px; }
    .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-title { display: block; margin-top: 36px; }
    .page2-title .page2-num { margin: 0 0 18px; }
    .serch { width: 100%; height: 48px; }
    .serch .search-icon { top: 13px; }
    .serch .search-clear { top: 11px; }
    .box-item-t { margin-top: 34px; }
    .box-item-b { grid-template-columns: 1fr; gap: 12px; }
    .item-b-i { min-height: 142px; padding: 16px; }
    .fiel-icon { width: 46px; height: 46px; margin-bottom: 11px; }
    .fiel-icon::after { line-height: 46px; }
    .file-size { font-size: 12px; }
    .pagination { height: 46px; margin: 42px 0; gap: 10px; }
    .pagination .next, .pagination .prev { width: 46px; height: 46px; }
    .pagination svg { width: 24px; height: 16px; }
    .pagination .page { gap: 3px; }
    .pagination .page button, .pagination .page span { width: 38px; height: 38px; font-size: 17px; }
    .pagination .page span { width: 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; }
    .banner > .box-item { top: 146px; width: calc(100% - 24px); gap: 8px; }
    .banner > .box-item .item { height: 80px; }
    .banner > .box-item .item a { flex-direction: row; gap: 10px; }
    .banner > .box-item .item svg { width: 44px; height: 44px; margin-bottom: 0; }
    .banner > .box-item .item p { font-size: 16px; line-height: 23px; }
    .box-item .item:nth-child(3)::before{ display: none; }
    .page1 .nav { gap: 38px; }
    .page2-title .page2-num { height: 26px; font-size: 13px; }
    .box-item-t { margin-top: 28px; margin-bottom: 14px; font-size: 16px; }
    .item-b-i { min-height: 128px; padding: 14px; }
    .fiel-name { font-size: 14px; }
    .pagination { margin: 34px 0 40px; gap: 6px; }
    .pagination .next, .pagination .prev { width: 40px; height: 40px; }
    .pagination .page button, .pagination .page span { width: 32px; height: 32px; font-size: 15px; }
    .pagination .page span { width: 17px; }
}

/* File center: extension-aware cards */
.file-center {
    padding: 0 0 88px;
    background: #f7f9fc;
}

.file-center-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.file-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 64px 0 42px;
}

.file-total {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 4px;
    color: #62748e;
    background: #edf2f8;
    font-size: 14px;
}

.file-total span {
    color: #d41826;
    font-weight: 700;
}

.file-search {
    position: relative;
    display: block;
    width: min(100%, 390px);
    height: 48px;
}

.file-search input {
    width: 100%;
    height: 100%;
    padding: 0 48px 0 16px;
    border: 1px solid #d4dfec;
    border-radius: 4px;
    outline: 0;
    color: #1b3557;
    background: #fff;
    font-size: 15px;
    box-sizing: border-box;
}

.file-search input:focus { border-color: #16559d; box-shadow: 0 0 0 3px rgba(22, 85, 157, .1); }
.file-search input::placeholder { color: #9aaec5; }
.file-search .search-icon { position: absolute; top: 12px; right: 15px; width: 24px; height: 24px; color: #7f9aba; pointer-events: none; }

.file-section { margin: 0 0 44px; }
.file-section[hidden], .file-card[hidden], .file-empty[hidden] { display: none; }

.file-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #dce5ef;
}

.file-section-heading > div { display: flex; align-items: center; gap: 14px; }
.file-section-heading h2 { margin: 0; color: #1b3557; font-size: 21px; line-height: 1.4; font-weight: 600; }
.file-section-index { color: #d41826; font: 600 13px/1 OPPOSans; letter-spacing: .08em; }
.file-section-count { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 12px; color: #7187a2; background: #e8eff7; font-size: 12px; }

.file-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.file-card { width: 100%; position: relative; min-width: 0; min-height: 150px !important; padding: 20px; border: 1px solid #dce5ef; border-radius: 10px; background: #fff; box-sizing: border-box; box-shadow: 0 12px 28px rgba(32, 63, 91, .06); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.file-card:hover { border-color: #9cb8d6; box-shadow: 0 14px 30px rgba(33, 71, 111, .12); transform: translateY(-2px); }
.file-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.file-type { display: inline-flex; align-items: center; justify-content: center; width: 55px; height: 55px; border-radius: 7px; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.file-type span { max-width: 44px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-type-image { background: #2e8b9d; }
.file-type-document { background: #3272bb; }
.file-type-archive { background: #d58a2d; }
.file-type-other { background: #71849d; }
.file-kind { padding-top: 4px; color: #8ba0b9; font-size: 12px; }
.file-card h3 { overflow: hidden; margin: 20px 42px 11px 0; color: #203a5a; font-size: 16px; line-height: 1.45; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.file-card-meta { display: flex; justify-content: space-between; gap: 8px; color: #91a2b7; font-size: 12px; line-height: 1.4; }
.file-download { position: absolute; top: 20px; right: 20px; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 0; border-radius: 4px; color: #16559d; background: transparent; text-decoration: none; transition: color .2s ease, background .2s ease; }
.file-download:hover, .file-download:focus-visible { color: #fff; background: #16559d; outline: 0; }
.file-download svg { width: 18px; height: 18px; }
.file-empty { padding: 54px 0; color: #91a2b7; text-align: center; font-size: 15px; }
.fiel-icon::after { content: none; }
.item-b-i .fiel-icon::after { display: none !important; content: none !important; }
.item-b-i .fiel-icon { display: block; }
.item-b-i .fiel-icon span { display: block; color: #fff; font-size: 12px; font-weight: 700; line-height: 55px; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1100px) {
    .file-center-inner { width: 92%; }
    .file-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .file-center { padding-bottom: 48px; }
    .file-toolbar { display: block; padding: 36px 0 28px; }
    .file-search { width: 100%; margin-top: 18px; }
    .file-section { margin-bottom: 34px; }
    .file-section-heading h2 { font-size: 18px; }
    .file-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .file-card { min-height: 150px; padding: 16px; }
    .file-type { width: 46px; height: 46px; }
    .item-b-i .fiel-icon span { line-height: 46px; }
    .file-card h3 { margin-top: 15px; font-size: 14px; }
    .file-download { top: 20px; right: 20px; }
}

@media (max-width: 480px) {
    .file-center-inner { width: calc(100% - 28px); }
    .file-toolbar { padding-top: 28px; }
    .file-grid { grid-template-columns: 1fr; }
    .file-card { min-height: 150px; }
}

/* Match the file-list treatment used by the supplied page design. */
.file-center { background: #fff; }
.page2 { padding-bottom: 88px; }
.file-toolbar { min-height: 54px; margin: 70px 0 0; padding: 0; }
.file-total { height: 28px; min-height: 28px; margin: 0; padding: 0 12px; border-radius: 4px; gap: 10px; background: #f1f5f9; font-size: 14px; line-height: 18px; }
.file-search { width: 444px; height: 54px; }
.file-search input { padding-left: 17px; font-size: 16px; }
.file-search .search-icon { top: 15px; right: 19px; }
.file-section { margin: 0; }
.file-section-heading { display: block; margin: 0; padding: 0; border: 0; }
.file-section-heading > div { display: block; }
.file-section-index, .file-section-count { display: none; }
.file-section-heading h2 { margin: 50px 0 20px; color: #111; font-size: 18px; line-height: 1.4; font-weight: 400; }
.file-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.file-card { min-height: 176px; padding: 20px; border-radius: 12px; border-color: #dce3eb; transition: background .2s ease, border-color .2s ease; }
.file-card:hover { border-color: #edf2f6; background: #edf2f6; box-shadow: none; transform: none; }
.file-card[data-preview-url]:not([data-preview-url=""]) { cursor: pointer; }
.file-card[data-preview-url]:not([data-preview-url=""]):focus-visible { outline: 2px solid #16559d; outline-offset: 3px; }
.file-card-top { display: block; }
.file-type { width: 55px; height: 55px; margin-bottom: 15px; border-radius: 6px; font-size: 12px; }
.file-type-image { background: #00a516; }
.file-type-document { background: #00a516; }
.file-type-archive { background: #d58a2d; }
.file-type-other { background: #71849d; }
.file-kind { display: none; }
.file-card h3 { margin: 0; color: #111; font-size: 16px; line-height: 1.4; font-weight: 400; }
.file-card-meta { margin-top: 8px; color: #a3a7ab; font-size: 13px; }
.file-download { position: absolute; top: 20px; right: 20px; width: 22px; height: 22px; margin: 0; padding: 0; border: 0; border-radius: 0; color: #111; background: transparent; }
.file-download:hover, .file-download:focus-visible { border: 0; color: #16559d; background: transparent; }
.file-download svg { width: 22px; height: 22px; }

@media (max-width: 1200px) {
    .page2 { padding-bottom: 72px; }
    .file-grid { gap: 16px; }
}

@media (max-width: 767px) {
    .page2 { padding-bottom: 48px; }
    .file-toolbar { min-height: 0; margin-top: 36px; padding: 0; }
    .file-search { width: 100%; height: 48px; margin-top: 18px; }
    .file-search .search-icon { top: 12px; }
    .file-section-heading h2 { margin-top: 34px; margin-bottom: 14px; font-size: 16px; }
    .file-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .file-card { min-height: 142px; padding: 16px; }
    .file-type { width: 46px; height: 46px; margin-bottom: 11px; }
    .file-card h3 { font-size: 14px; }
    .file-card-meta { font-size: 12px; }
}

@media (max-width: 480px) {
    .page2 { padding-bottom: 36px; }
    .file-center-inner { width: calc(100% - 28px); }
    .file-toolbar { margin-top: 28px; }
    .file-grid { grid-template-columns: 1fr; }
    .file-card { min-height: 128px; padding: 14px; }
}

/* Use the supplied file-type artwork for the three supported categories. */
.item-b-i .fiel-icon.file-type-image,
.item-b-i .fiel-icon.file-type-document,
.item-b-i .fiel-icon.file-type-archive {
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.item-b-i .fiel-icon.file-type-image { background-image: url('https://file.ziiynn.com/test/img/hubcenter/img.png'); }
.item-b-i .fiel-icon.file-type-document { background-image: url('https://file.ziiynn.com/test/img/hubcenter/pdf.png'); }
.item-b-i .fiel-icon.file-type-archive { background-image: url('https://file.ziiynn.com/test/img/hubcenter/zip.png'); }
.item-b-i .fiel-icon.file-type-image span,
.item-b-i .fiel-icon.file-type-document span,
.item-b-i .fiel-icon.file-type-archive span { display: none; }

/* 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; }
