:root {
    --green: #06aa54;
    --ink: #25364a;
    --muted: #8592a0;
    --line: #d7e0e9
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px
}

body {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: var(--ink);
    background: #fff
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit;
    cursor: pointer
}

button,
a {
    -webkit-tap-highlight-color: transparent
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid #1385fa;
    outline-offset: 5px
}

button:disabled {
    opacity: .35;
    cursor: not-allowed
}

.container {
    width: min(1320px, 95%);
    margin: auto
}



.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 2px
}

.brand small {
    display: block;
    margin-top: 5px;
    font-size: 8px;
    letter-spacing: 1.7px;
    color: #8c9baa
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: var(--green);
    color: white;
    font-size: 29px;
    font-style: italic
}

.header-nav {
    display: flex;
    align-items: stretch;
    gap: 38px;
    height: 100%;
    margin-left: auto
}

.header-nav a {
    display: flex;
    align-items: center;
    border-bottom: 3px solid transparent;
    font-size: 14px
}

.header-nav a[aria-current] {
    border-color: var(--green);
    color: var(--green)
}

.template-label {
    font-size: 11px;
    color: #8b98a5;
    border: 1px solid #e1e7ec;
    padding: 5px 10px
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(110deg, #e7f1fa, #f4f8fc 58%, #dceaf9);
    min-height: 350px
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 64px 0 38px
}

.eyebrow {
    font-size: 10px;
    color: var(--green);
    letter-spacing: 2.2px;
    font-weight: 600;
    margin: 0 0 15px
}

h1 {
    font-size: 46px;
    font-weight: 500;
    letter-spacing: 5px;
    margin: 0 0 20px
}

.hero-description {
    font-size: 15px;
    color: #7d8e9f;
    letter-spacing: 2px
}

.hero-line {
    display: block;
    width: 40px;
    height: 3px;
    background: var(--green);
    margin-top: 26px
}

.breadcrumb {
    position: relative;
    font-size: 11px;
    color: #91a1b1;
    padding-bottom: 22px
}

.breadcrumb span {
    padding: 0 16px;
    color: #bac5cf
}

.breadcrumb strong {
    font-weight: 400;
    color: #5c7187
}

.hero-art {
    position: absolute;
    right: 7%;
    top: -60px;
    transform: rotate(-22deg);
    display: flex;
    gap: 26px
}

.hero-art div {
    height: 470px;
    width: 100px;
    border: 1px solid #ffffffb0;
    box-shadow: 25px 15px 45px #6d9dcb1c;
    background: linear-gradient(100deg, #ffffff80, #d5e5f050);
    border-radius: 100px
}

.hero-art div:nth-child(2) {
    margin-top: 80px
}

.hero-art div:nth-child(3) {
    margin-top: 160px
}

.honors-section {
    padding: 68px 0 62px;
    background: linear-gradient(125deg, #f1f7fc, #f8fbfd 70%, #eef6fc)
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 38px
}

h2 {
    margin: 0;
    font-size: 27px;
    font-weight: 500;
    letter-spacing: 1px
}

.section-heading>p {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px
}

.honors-layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 65px
}

.tabs {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.tab {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border: 0;
    min-height: 60px;
    background: #fff;
    padding: 19px 24px;
    color: #78838e;
    font-size: 16px;
    transition: background .2s, color .2s
}

.tab .tab-arrow {
    font-size: 20px;
    opacity: 0
}

.tab:hover {
    background: #e2edfa
}

.tab[aria-selected=true] {
    background: var(--green);
    color: #fff
}

.tab[aria-selected=true] .tab-arrow {
    opacity: 1
}

.honor-panel {
    min-width: 0
}

.list-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #94a3b3;
    padding-bottom: 8px;
    letter-spacing: 1px
}

.honor-list {
    padding: 0;
    margin: 0;
    list-style: none;
    min-height: 568px
}

.honor-item {
    display: flex;
    gap: 19px;
    align-items: center;
    min-height: 71px;
    padding: 19px 0;
    border-bottom: 1px solid #ccd6df;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom:0 !important;
}

.honor-item:last-child {
    border-bottom: 0
}

.item-order {
    font: 11px Arial, sans-serif;
    color: #9faebd;
    flex: 0 0 23px
}

.item-text {
    overflow-wrap: anywhere
}

.pagination {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 26px;
    color: #ccc;
}
.pagination a,.pagination span{
    height: 32px;
    min-width: 32px;
    padding: 0 10px;
    border: 1px solid #dce4ec;
    background: transparent;
    color: #83909c;
    font-size: 12px;
    line-height: 32px;
    text-align: center;
}
.pagination span{
    background: #06aa54;
    color: #fff;
}


.pagination[hidden] {
    display: none
}


.page-button[aria-current=page] {
    background: var(--green);
    color: white;
    border-color: var(--green)
}

.page-info {
    font-size: 11px;
    color: #93a1af;
    margin-left: auto
}

.certificate-section {
    padding: 70px 0 60px
}

.certificate-swiper {
    padding: 5px 0 10px
}

.certificate-card {
    margin: 0
}

.certificate-open {
    width: 100%;
    display: block;
    padding: 26px;
    border: 1px solid #e7ebee;
    background: #f6f8fa;
    transition: background .2s
}

.certificate-open:hover {
    background: #eef4fb
}

.certificate-open img {
    display: block;
    width: 100%;
    height: 255px;
    object-fit: contain;
    filter: drop-shadow(0 8px 7px #24395115)
}

.certificate-card figcaption {
    padding: 19px 0 10px;
    font-size: 15px
}

.certificate-card figcaption span {
    display: block;
    font-size: 10px;
    color: #97a4b1;
    letter-spacing: 1px;
    margin-top: 8px
}

.gallery-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 26px;
    border-top: 1px solid #edf0f4;
    padding-top: 22px
}

.gallery-counter {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 80px
}

.gallery-counter strong {
    font-size: 27px;
    font-weight: 400;
    color: var(--green)
}

.gallery-counter>span {
    font-size: 12px;
    color: #a5aeb8
}

.certificate-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex: 1;
    width: auto !important
}

.certificate-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: #b9c5d2;
    opacity: 1;
    margin: 0 !important
}

.certificate-pagination .swiper-pagination-bullet-active {
    background: var(--green);
    width: 22px;
    border-radius: 8px
}

.gallery-actions {
    display: flex;
    gap: 8px;
    align-items: center
}

.gallery-actions button {
    height: 38px;
    border: 1px solid #dbe3ed;
    background: white;
    color: var(--green);
    min-width: 38px
}

.gallery-actions .autoplay-toggle {
    font-size: 11px;
    padding: 0 12px;
    color: #788797
}

.gallery-hint {
    color: #99a5b0;
    text-align: center;
    font-size: 11px;
    margin: 25px 0
}

.demo-note {
    font-size: 11px;
    color: #a2adb8;
    text-align: center;
    margin: 30px 0 0
}

footer {
    background: #f5f8fb;
    border-top: 1px solid #eaf0f5;
    padding: 26px 0;
    color: #8c9bab;
    font-size: 11px
}

footer .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center
}

.footer-brand {
    font-size: 15px;
    color: #536a81
}

.footer-brand small {
    font-size: 8px;
    margin-left: 10px
}

.image-dialog {
    border: 0;
    border-radius: 4px;
    padding: 36px 30px 18px;
    max-width: min(800px, 92vw);
    background: #f7f9fc
}

.image-dialog::backdrop {
    background: #0a1c32c9
}

.image-dialog img {
    display: block;
    max-width: 100%;
    width: 560px;
    height: 70vh;
    object-fit: contain
}

.image-dialog p {
    text-align: center;
    font-size: 14px
}

.dialog-close {
    position: absolute;
    right: 8px;
    top: 4px;
    border: 0;
    background: transparent;
    font-size: 28px;
    color: #536a81
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 20px;
    background: white;
    z-index: 100;
    padding: 10px
}

.skip-link:focus {
    top: 8px
}

.swiper-unavailable .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px
}

.swiper-unavailable .gallery-controls {
    display: none
}

/* 弹窗居中，并限制在屏幕范围内 */
dialog.image-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
    max-width: 92vw;
    max-height: 90vh;
    padding: 44px 20px 20px;
    overflow: auto;
    box-sizing: border-box;
}

/* 大图容器 */
.image-dialog .certificate-preview {
    margin: 0;
    text-align: center;
}

/* 按图片原始比例显示 */
.image-dialog .certificate-preview img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(800px, calc(92vw - 40px));
    max-height: calc(90vh - 110px);
    margin: 0 auto;
    object-fit: contain;
}

/* 标题 */
.image-dialog .certificate-preview figcaption {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* 关闭按钮 */
.image-dialog .dialog-close {
    top: 8px;
    right: 10px;
}


@media(min-width:1700px) {
    .hero {
        min-height: 400px
    }

    .hero-content {
        padding-top: 80px
    }
}

@media(max-width:1000px) {
    .honors-layout {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 30px
    }

    .honor-item {
        font-size: 16px
    }

    .section-heading>p {
        display: none
    }

    .certificate-open {
        padding: 20px
    }

    .certificate-open img {
        height: 235px
    }
}

@media(max-width:640px) {
    .header {
        height: 70px;
        gap: 12px
    }

    .brand {
        font-size: 17px
    }

    .brand small {
        font-size: 6px
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        font-size: 24px
    }

    .header-nav {
        gap: 18px
    }

    .header-nav a {
        font-size: 12px
    }

    .template-label {
        display: none
    }

    .hero {
        min-height: 290px
    }

    .hero-content {
        padding-top: 48px
    }

    h1 {
        font-size: 36px
    }

    .hero-description {
        font-size: 12px;
        letter-spacing: 1px
    }

    .hero-art {
        right: -130px;
        opacity: .45
    }

    .hero-art div {
        width: 70px
    }

    .breadcrumb {
        font-size: 10px
    }

    .honors-section,
    .certificate-section {
        padding: 42px 0
    }

    h2 {
        font-size: 22px;
        line-height: 1.5
    }

    .section-heading {
        margin-bottom: 25px
    }

    .honors-layout {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .tabs {
        flex-direction: row;
        overflow: auto;
        padding: 4px;
        margin: -4px;
        gap: 8px
    }

    .tab {
        flex: 0 0 auto;
        width: auto;
        min-height: 44px;
        padding: 12px 18px;
        font-size: 14px
    }

    .tab-arrow {
        display: none
    }

    .honor-item {
        font-size: 15px;
        gap: 9px;
        padding: 17px 0;
        min-height: 71px
    }

    .page-info {
        width: 100%;
        margin-top: 8px
    }

    .certificate-open img {
        height: 280px
    }

    .gallery-controls {
        gap: 10px
    }

    .gallery-counter {
        min-width: 65px
    }

    .gallery-actions {
        gap: 5px
    }

    .gallery-actions .autoplay-toggle {
        padding: 0 7px
    }

    .gallery-actions button {
        min-width: 30px
    }

    .certificate-pagination {
        gap: 5px
    }

    .gallery-counter strong {
        font-size: 23px
    }

    .demo-note {
        line-height: 1.8
    }

    footer .container {
        flex-wrap: wrap
    }

    footer .container>span:nth-child(2) {
        display: none
    }

    .footer-brand small {
        display: none
    }

    .swiper-unavailable .swiper-wrapper {
        grid-template-columns: 1fr
    }

    .image-dialog {
        padding: 32px 15px 10px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}